2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status
=$1; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL
=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec
; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo
; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo
; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset
; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
593 for dir
in $PATH /usr
/ucb
; do
595 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho
; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL
=/bin
/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
634 SHELL
="$CONFIG_SHELL"
636 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string
=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
682 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix
=/usr
/local
691 ac_config_libobj_dir
=.
698 # Identity of this package.
706 # Factoring default headers for most tests.
707 ac_includes_default
="\
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
719 # ifdef HAVE_STDLIB_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
742 ac_subst_vars
='am__EXEEXT_FALSE
832 INSTALL_STRIP_PROGRAM
850 MAINTAINER_MODE_FALSE
902 program_transform_name
915 enable_option_checking
916 enable_maintainer_mode
918 enable_dependency_tracking
933 enable_debug_kmem_tracking
934 enable_atomic_spinlocks
936 ac_precious_vars
='build_alias
947 # Initialize some variables set by options.
949 ac_init_version
=false
950 ac_unrecognized_opts
=
952 # The variables have the same names as the options, with
953 # dashes changed to underlines.
961 program_transform_name
=s
,x
,x
,
969 # Installation directory options.
970 # These are left unexpanded so users can "make install exec_prefix=/foo"
971 # and all the variables that are supposed to be based on exec_prefix
972 # by default will actually change.
973 # Use braces instead of parens because sh, perl, etc. also accept them.
974 # (The list follows the same order as the GNU Coding Standards.)
975 bindir
='${exec_prefix}/bin'
976 sbindir
='${exec_prefix}/sbin'
977 libexecdir
='${exec_prefix}/libexec'
978 datarootdir
='${prefix}/share'
979 datadir
='${datarootdir}'
980 sysconfdir
='${prefix}/etc'
981 sharedstatedir
='${prefix}/com'
982 localstatedir
='${prefix}/var'
983 includedir
='${prefix}/include'
984 oldincludedir
='/usr/include'
985 docdir
='${datarootdir}/doc/${PACKAGE}'
986 infodir
='${datarootdir}/info'
991 libdir
='${exec_prefix}/lib'
992 localedir
='${datarootdir}/locale'
993 mandir
='${datarootdir}/man'
999 # If the previous option needs an argument, assign it.
1000 if test -n "$ac_prev"; then
1001 eval $ac_prev=\
$ac_option
1007 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1012 # Accept the important Cygnus configure options, so we can diagnose typos.
1014 case $ac_dashdash$ac_option in
1018 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1020 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1021 bindir
=$ac_optarg ;;
1023 -build |
--build |
--buil |
--bui |
--bu)
1024 ac_prev
=build_alias
;;
1025 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1026 build_alias
=$ac_optarg ;;
1028 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1029 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1030 ac_prev
=cache_file
;;
1031 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1032 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1033 cache_file
=$ac_optarg ;;
1035 --config-cache |
-C)
1036 cache_file
=config.cache
;;
1038 -datadir |
--datadir |
--datadi |
--datad)
1040 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1041 datadir
=$ac_optarg ;;
1043 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1044 |
--dataroo |
--dataro |
--datar)
1045 ac_prev
=datarootdir
;;
1046 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1047 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1048 datarootdir
=$ac_optarg ;;
1050 -disable-* |
--disable-*)
1051 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1054 as_fn_error $?
"invalid feature name: $ac_useropt"
1055 ac_useropt_orig
=$ac_useropt
1056 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1059 "enable_
$ac_useropt"
1061 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1062 ac_unrecognized_sep
=', ';;
1064 eval enable_
$ac_useropt=no
;;
1066 -docdir |
--docdir |
--docdi |
--doc |
--do)
1068 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1069 docdir
=$ac_optarg ;;
1071 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1073 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1074 dvidir
=$ac_optarg ;;
1076 -enable-* |
--enable-*)
1077 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1080 as_fn_error $?
"invalid feature name: $ac_useropt"
1081 ac_useropt_orig
=$ac_useropt
1082 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1085 "enable_
$ac_useropt"
1087 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1088 ac_unrecognized_sep
=', ';;
1090 eval enable_
$ac_useropt=\
$ac_optarg ;;
1092 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1093 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1094 |
--exec |
--exe |
--ex)
1095 ac_prev
=exec_prefix
;;
1096 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1097 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1098 |
--exec=* |
--exe=* |
--ex=*)
1099 exec_prefix
=$ac_optarg ;;
1101 -gas |
--gas |
--ga |
--g)
1102 # Obsolete; use --with-gas.
1105 -help |
--help |
--hel |
--he |
-h)
1106 ac_init_help
=long
;;
1107 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1108 ac_init_help
=recursive
;;
1109 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1110 ac_init_help
=short
;;
1112 -host |
--host |
--hos |
--ho)
1113 ac_prev
=host_alias
;;
1114 -host=* |
--host=* |
--hos=* |
--ho=*)
1115 host_alias
=$ac_optarg ;;
1117 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1119 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1121 htmldir
=$ac_optarg ;;
1123 -includedir |
--includedir |
--includedi |
--included |
--include \
1124 |
--includ |
--inclu |
--incl |
--inc)
1125 ac_prev
=includedir
;;
1126 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1127 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1128 includedir
=$ac_optarg ;;
1130 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1132 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1133 infodir
=$ac_optarg ;;
1135 -libdir |
--libdir |
--libdi |
--libd)
1137 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1138 libdir
=$ac_optarg ;;
1140 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1141 |
--libexe |
--libex |
--libe)
1142 ac_prev
=libexecdir
;;
1143 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1144 |
--libexe=* |
--libex=* |
--libe=*)
1145 libexecdir
=$ac_optarg ;;
1147 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1148 ac_prev
=localedir
;;
1149 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1150 localedir
=$ac_optarg ;;
1152 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1153 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1154 ac_prev
=localstatedir
;;
1155 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1156 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1157 localstatedir
=$ac_optarg ;;
1159 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1161 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1162 mandir
=$ac_optarg ;;
1164 -nfp |
--nfp |
--nf)
1165 # Obsolete; use --without-fp.
1168 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1169 |
--no-cr |
--no-c |
-n)
1172 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1173 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1176 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1177 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1178 |
--oldin |
--oldi |
--old |
--ol |
--o)
1179 ac_prev
=oldincludedir
;;
1180 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1181 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1182 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1183 oldincludedir
=$ac_optarg ;;
1185 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1187 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1188 prefix
=$ac_optarg ;;
1190 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1191 |
--program-pre |
--program-pr |
--program-p)
1192 ac_prev
=program_prefix
;;
1193 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1194 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1195 program_prefix
=$ac_optarg ;;
1197 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1198 |
--program-suf |
--program-su |
--program-s)
1199 ac_prev
=program_suffix
;;
1200 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1201 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1202 program_suffix
=$ac_optarg ;;
1204 -program-transform-name |
--program-transform-name \
1205 |
--program-transform-nam |
--program-transform-na \
1206 |
--program-transform-n |
--program-transform- \
1207 |
--program-transform |
--program-transfor \
1208 |
--program-transfo |
--program-transf \
1209 |
--program-trans |
--program-tran \
1210 |
--progr-tra |
--program-tr |
--program-t)
1211 ac_prev
=program_transform_name
;;
1212 -program-transform-name=* |
--program-transform-name=* \
1213 |
--program-transform-nam=* |
--program-transform-na=* \
1214 |
--program-transform-n=* |
--program-transform-=* \
1215 |
--program-transform=* |
--program-transfor=* \
1216 |
--program-transfo=* |
--program-transf=* \
1217 |
--program-trans=* |
--program-tran=* \
1218 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1219 program_transform_name
=$ac_optarg ;;
1221 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1223 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1224 pdfdir
=$ac_optarg ;;
1226 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1228 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1231 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1232 |
-silent |
--silent |
--silen |
--sile |
--sil)
1235 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1237 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1239 sbindir
=$ac_optarg ;;
1241 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1242 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1243 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1245 ac_prev
=sharedstatedir
;;
1246 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1247 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1248 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1250 sharedstatedir
=$ac_optarg ;;
1252 -site |
--site |
--sit)
1254 -site=* |
--site=* |
--sit=*)
1257 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1259 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1260 srcdir
=$ac_optarg ;;
1262 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1263 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1264 ac_prev
=sysconfdir
;;
1265 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1266 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1267 sysconfdir
=$ac_optarg ;;
1269 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1270 ac_prev
=target_alias
;;
1271 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1272 target_alias
=$ac_optarg ;;
1274 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1277 -version |
--version |
--versio |
--versi |
--vers |
-V)
1278 ac_init_version
=: ;;
1281 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1284 as_fn_error $?
"invalid package name: $ac_useropt"
1285 ac_useropt_orig
=$ac_useropt
1286 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1291 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1292 ac_unrecognized_sep
=', ';;
1294 eval with_
$ac_useropt=\
$ac_optarg ;;
1296 -without-* |
--without-*)
1297 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1298 # Reject names that are not valid shell variable names.
1299 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1300 as_fn_error $?
"invalid package name: $ac_useropt"
1301 ac_useropt_orig
=$ac_useropt
1302 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303 case $ac_user_opts in
1307 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1308 ac_unrecognized_sep
=', ';;
1310 eval with_
$ac_useropt=no
;;
1313 # Obsolete; use --with-x.
1316 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1317 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1318 ac_prev
=x_includes
;;
1319 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1320 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1321 x_includes
=$ac_optarg ;;
1323 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1324 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1325 ac_prev
=x_libraries
;;
1326 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1327 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1328 x_libraries
=$ac_optarg ;;
1330 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1331 Try \`$0 --help' for more information"
1335 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1336 # Reject names that are not valid shell variable names.
1337 case $ac_envvar in #(
1338 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1339 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1341 eval $ac_envvar=\
$ac_optarg
1342 export $ac_envvar ;;
1345 # FIXME: should be removed in autoconf 3.0.
1346 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1347 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1348 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1349 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1355 if test -n "$ac_prev"; then
1356 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1357 as_fn_error $?
"missing argument to $ac_option"
1360 if test -n "$ac_unrecognized_opts"; then
1361 case $enable_option_checking in
1363 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1364 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1368 # Check all directory arguments for consistency.
1369 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1370 datadir sysconfdir sharedstatedir localstatedir includedir \
1371 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1372 libdir localedir mandir
1374 eval ac_val
=\$
$ac_var
1375 # Remove trailing slashes.
1378 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1379 eval $ac_var=\
$ac_val;;
1381 # Be sure to have absolute directory names.
1383 [\\/$
]* | ?
:[\\/]* ) continue;;
1384 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1386 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1389 # There might be people who depend on the old broken behavior: `$host'
1390 # used to hold the argument of --host etc.
1391 # FIXME: To remove some day.
1394 target
=$target_alias
1396 # FIXME: To remove some day.
1397 if test "x$host_alias" != x
; then
1398 if test "x$build_alias" = x
; then
1399 cross_compiling
=maybe
1400 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1401 If a cross compiler is detected then cross compile mode will be used" >&2
1402 elif test "x$build_alias" != "x$host_alias"; then
1408 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1410 test "$silent" = yes && exec 6>/dev
/null
1413 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1414 ac_ls_di
=`ls -di .` &&
1415 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1416 as_fn_error $?
"working directory cannot be determined"
1417 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1418 as_fn_error $?
"pwd does not report name of working directory"
1421 # Find the source files, if location was not specified.
1422 if test -z "$srcdir"; then
1423 ac_srcdir_defaulted
=yes
1424 # Try the directory containing this script, then the parent directory.
1425 ac_confdir
=`$as_dirname -- "$as_myself" ||
1426 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1427 X"$as_myself" : 'X\(//\)[^/]' \| \
1428 X"$as_myself" : 'X\(//\)$' \| \
1429 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1430 $as_echo X"$as_myself" |
1431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1453 ac_srcdir_defaulted
=no
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1456 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1457 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1459 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1461 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1463 # When building in place, set srcdir=.
1464 if test "$ac_abs_confdir" = "$ac_pwd"; then
1467 # Remove unnecessary trailing slashes from srcdir.
1468 # Double slashes in file names in object file debugging info
1469 # mess up M-x gdb in Emacs.
1471 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1473 for ac_var
in $ac_precious_vars; do
1474 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1475 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1476 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1477 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1481 # Report the --help message.
1483 if test "$ac_init_help" = "long"; then
1484 # Omit some internal or obsolete options to make the list less imposing.
1485 # This message is too long to be a string in the A/UX 3.1 sh.
1487 \`configure' configures this package to adapt to many kinds of systems.
1489 Usage: $0 [OPTION]... [VAR=VALUE]...
1491 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1492 VAR=VALUE. See below for descriptions of some of the useful variables.
1494 Defaults for the options are specified in brackets.
1497 -h, --help display this help and exit
1498 --help=short display options specific to this package
1499 --help=recursive display the short help of all the included packages
1500 -V, --version display version information and exit
1501 -q, --quiet, --silent do not print \`checking ...' messages
1502 --cache-file=FILE cache test results in FILE [disabled]
1503 -C, --config-cache alias for \`--cache-file=config.cache'
1504 -n, --no-create do not create output files
1505 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1507 Installation directories:
1508 --prefix=PREFIX install architecture-independent files in PREFIX
1509 [$ac_default_prefix]
1510 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1513 By default, \`make install' will install all the files in
1514 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1515 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1516 for instance \`--prefix=\$HOME'.
1518 For better control, use the options below.
1520 Fine tuning of the installation directories:
1521 --bindir=DIR user executables [EPREFIX/bin]
1522 --sbindir=DIR system admin executables [EPREFIX/sbin]
1523 --libexecdir=DIR program executables [EPREFIX/libexec]
1524 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1525 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1526 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1527 --libdir=DIR object code libraries [EPREFIX/lib]
1528 --includedir=DIR C header files [PREFIX/include]
1529 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1530 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1531 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1532 --infodir=DIR info documentation [DATAROOTDIR/info]
1533 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1534 --mandir=DIR man documentation [DATAROOTDIR/man]
1535 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1536 --htmldir=DIR html documentation [DOCDIR]
1537 --dvidir=DIR dvi documentation [DOCDIR]
1538 --pdfdir=DIR pdf documentation [DOCDIR]
1539 --psdir=DIR ps documentation [DOCDIR]
1545 --program-prefix=PREFIX prepend PREFIX to installed program names
1546 --program-suffix=SUFFIX append SUFFIX to installed program names
1547 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1550 --build=BUILD configure
for building on BUILD
[guessed
]
1551 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1552 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1556 if test -n "$ac_init_help"; then
1561 --disable-option-checking ignore unrecognized
--enable/--with options
1562 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1563 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1564 --enable-maintainer-mode enable make rules and dependencies not useful
1565 (and sometimes confusing
) to the casual installer
1566 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1567 --disable-silent-rules verbose build output (undo: `make V
=0')
1568 --disable-dependency-tracking speeds up one-time build
1569 --enable-dependency-tracking do not reject slow dependency extractors
1570 --enable-shared[=PKGS] build shared libraries [default=yes]
1571 --enable-static[=PKGS] build static libraries [default=yes]
1572 --enable-fast-install[=PKGS]
1573 optimize for fast installation [default=yes]
1574 --disable-libtool-lock avoid locking (might break parallel builds)
1575 --enable-linux-builtin Configure for builtin in-tree kernel modules
1577 --enable-debug Enable generic debug support [default=no]
1578 --enable-debug-log Enable basic debug logging [default=yes]
1579 --enable-debug-kmem Enable basic kmem accounting [default=yes]
1580 --enable-debug-kmem-tracking
1581 Enable detailed kmem tracking [default=no]
1582 --enable-atomic-spinlocks
1583 Atomic types use spinlocks [default=check]
1586 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1587 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1588 --with-pic try to use only PIC/non-PIC objects [default=use
1590 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1591 --with-spec=SPEC Spec files 'generic|fedora
'
1592 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1593 --with-linux=PATH Path to kernel source
1594 --with-linux-obj=PATH Path to kernel build objects
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1606 Use these variables to override the choices made by `configure' or to
help
1607 it to
find libraries and programs with nonstandard names
/locations.
1609 Report bugs to the package provider.
1614 if test "$ac_init_help" = "recursive"; then
1615 # If there are subdirs, report their specific --help.
1616 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1617 test -d "$ac_dir" ||
1618 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1623 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1625 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1626 # A ".." for each directory in $ac_dir_suffix.
1627 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1628 case $ac_top_builddir_sub in
1629 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1630 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1633 ac_abs_top_builddir
=$ac_pwd
1634 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1635 # for backward compatibility:
1636 ac_top_builddir
=$ac_top_build_prefix
1639 .
) # We are building in place.
1641 ac_top_srcdir
=$ac_top_builddir_sub
1642 ac_abs_top_srcdir
=$ac_pwd ;;
1643 [\\/]* | ?
:[\\/]* ) # Absolute name.
1644 ac_srcdir
=$srcdir$ac_dir_suffix;
1645 ac_top_srcdir
=$srcdir
1646 ac_abs_top_srcdir
=$srcdir ;;
1648 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1649 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1650 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1652 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1654 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1655 # Check for guested configure.
1656 if test -f "$ac_srcdir/configure.gnu"; then
1658 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1659 elif test -f "$ac_srcdir/configure"; then
1661 $SHELL "$ac_srcdir/configure" --help=recursive
1663 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1665 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1669 test -n "$ac_init_help" && exit $ac_status
1670 if $ac_init_version; then
1673 generated by GNU Autoconf
2.67
1675 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1676 This configure
script is free software
; the Free Software Foundation
1677 gives unlimited permission to copy
, distribute and modify it.
1682 ## ------------------------ ##
1683 ## Autoconf initialization. ##
1684 ## ------------------------ ##
1686 # ac_fn_c_try_compile LINENO
1687 # --------------------------
1688 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1689 ac_fn_c_try_compile
()
1691 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1692 rm -f conftest.
$ac_objext
1693 if { { ac_try
="$ac_compile"
1695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_compile") 2>conftest.err
1702 if test -s conftest.err; then
1703 grep -v '^ *+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && {
1709 test -z "$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1711 } && test -s conftest.$ac_objext; then :
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720 as_fn_set_status $ac_retval
1722 } # ac_fn_c_try_compile
1724 # ac_fn_c_try_link LINENO
1725 # -----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded.
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext conftest$ac_exeext
1731 if { { ac_try="$ac_link"
1733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1734 *) ac_try_echo
=$ac_try;;
1736 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>conftest.err
1740 if test -s conftest.err
; then
1741 grep -v '^ *+' conftest.err
>conftest.er1
1742 cat conftest.er1
>&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest
$ac_exeext && {
1750 test "$cross_compiling" = yes ||
1751 $as_test_x conftest
$ac_exeext
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.
$ac_ext >&5
1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1762 # interfere with the next link command; also delete a directory that is
1763 # left behind by Apple's compiler. We do this before executing the actions.
1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1766 as_fn_set_status
$ac_retval
1768 } # ac_fn_c_try_link
1770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1771 # -------------------------------------------------------
1772 # Tests whether HEADER exists and can be compiled using the include files in
1773 # INCLUDES, setting the cache variable VAR accordingly.
1774 ac_fn_c_check_header_compile
()
1776 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval "test \"\${$3+set}\"" = set; then :
1780 $as_echo_n "(cached) " >&6
1782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1787 if ac_fn_c_try_compile
"$LINENO"; then :
1792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796 $as_echo "$ac_res" >&6; }
1797 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1799 } # ac_fn_c_check_header_compile
1801 # ac_fn_c_try_cpp LINENO
1802 # ----------------------
1803 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1806 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1807 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } > conftest.i && {
1823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 as_fn_set_status $ac_retval
1838 # ac_fn_c_try_run LINENO
1839 # ----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1841 # that executables *can* be run.
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 if { { ac_try="$ac_link"
1847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1848 *) ac_try_echo
=$ac_try;;
1850 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>&5
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1856 { { case "(($ac_try" in
1857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1858 *) ac_try_echo=$ac_try;;
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862 (eval "$ac_try") 2>&5
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; }; }; then :
1868 $as_echo "$as_me: program exited with status $ac_status" >&5
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1872 ac_retval=$ac_status
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1876 as_fn_set_status $ac_retval
1880 # ac_fn_c_check_func LINENO FUNC VAR
1881 # ----------------------------------
1882 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1883 ac_fn_c_check_func ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval "test \"\${$3+set}\"" = set; then :
1889 $as_echo_n "(cached) " >&6
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1893 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1895 #define $2 innocuous_$2
1897 /* System header to define __stub macros and hopefully few prototypes,
1898 which can conflict with char $2 (); below.
1899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1900 <limits.h> exists even on freestanding compilers. */
1903 # include <limits.h>
1905 # include <assert.h>
1910 /* Override any GCC internal prototype to avoid an error.
1911 Use char because int might match the return type of a GCC
1912 builtin and then its argument prototype would still apply. */
1917 /* The GNU C library defines this for functions which it implements
1918 to always fail with ENOSYS. Some functions are actually named
1919 something starting with __ and the normal name is an alias. */
1920 #if defined __stub_$2 || defined __stub___$2
1932 if ac_fn_c_try_link "$LINENO"; then :
1937 rm -f core conftest.err conftest.$ac_objext \
1938 conftest$ac_exeext conftest.$ac_ext
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1943 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1945 } # ac_fn_c_check_func
1946 cat >config.log <<_ACEOF
1947 This file contains any messages produced by compilers while
1948 running configure, to aid debugging if configure makes a mistake.
1950 It was created by $as_me, which was
1951 generated by GNU Autoconf 2.67. Invocation command line was
1963 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1964 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1965 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1966 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1967 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1969 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1970 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1972 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1973 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1974 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1975 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1976 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1977 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1978 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir=.
1987 $as_echo "PATH: $as_dir"
2003 # Keep a trace of the command line.
2004 # Strip out --no-create and --no-recursion so they do not pile up.
2005 # Strip out --silent because we don't want to record it for future runs.
2006 # Also quote any args containing shell meta-characters.
2007 # Make two passes to allow for proper duplicate-argument suppression.
2011 ac_must_keep_next=false
2017 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2019 | -silent | --silent | --silen | --sile | --sil)
2022 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2025 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2027 as_fn_append ac_configure_args1 " '$ac_arg'"
2028 if test $ac_must_keep_next = true; then
2029 ac_must_keep_next=false # Got value, back to normal.
2032 *=* | --config-cache | -C | -disable-* | --disable-* \
2033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2035 | -with-* | --with-* | -without-* | --without-* | --x)
2036 case "$ac_configure_args0 " in
2037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2040 -* ) ac_must_keep_next=true ;;
2043 as_fn_append ac_configure_args " '$ac_arg'"
2048 { ac_configure_args0=; unset ac_configure_args0;}
2049 { ac_configure_args1=; unset ac_configure_args1;}
2051 # When interrupted or exit'd, cleanup temporary files, and complete
2052 # config.log. We remove comments because anyway the quotes in there
2053 # would cause problems or look ugly.
2054 # WARNING: Use '\'' to represent an apostrophe within the trap.
2055 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2056 trap 'exit_status=$?
2057 # Save into config.log some information that might help in debugging.
2061 $as_echo "## ---------------- ##
2062 ## Cache variables. ##
2063 ## ---------------- ##"
2065 # The following way of writing the cache mishandles newlines in values,
2067 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2068 eval ac_val=\$$ac_var
2072 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2076 _ | IFS | as_nl) ;; #(
2077 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2078 *) { eval $ac_var=; unset $ac_var;} ;;
2083 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2084 *${as_nl}ac_space=\ *)
2086 "s/'\''/'\''\\\\'\'''\''/g;
2087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2090 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2097 $as_echo "## ----------------- ##
2098 ## Output variables. ##
2099 ## ----------------- ##"
2101 for ac_var in $ac_subst_vars
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2111 if test -n "$ac_subst_files"; then
2112 $as_echo "## ------------------- ##
2113 ## File substitutions. ##
2114 ## ------------------- ##"
2116 for ac_var in $ac_subst_files
2118 eval ac_val=\$$ac_var
2120 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122 $as_echo "$ac_var='\''$ac_val'\''"
2127 if test -s confdefs.h; then
2128 $as_echo "## ----------- ##
2135 test "$ac_signal" != 0 &&
2136 $as_echo "$as_me: caught signal $ac_signal"
2137 $as_echo "$as_me: exit $exit_status"
2139 rm -f core *.core core.conftest.* &&
2140 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2143 for ac_signal in 1 2 13 15; do
2144 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2148 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2149 rm -f -r conftest* confdefs.h
2151 $as_echo "/* confdefs.h */" > confdefs.h
2153 # Predefined preprocessor variables.
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_NAME "$PACKAGE_NAME"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_STRING "$PACKAGE_STRING"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_URL "$PACKAGE_URL"
2180 # Let the site file select an alternate cache file if it wants to.
2181 # Prefer an explicitly selected file to automatically selected ones.
2184 if test -n "$CONFIG_SITE"; then
2185 # We do not want a PATH search for config.site.
2186 case $CONFIG_SITE in #((
2187 -*) ac_site_file1=./$CONFIG_SITE;;
2188 */*) ac_site_file1=$CONFIG_SITE;;
2189 *) ac_site_file1=./$CONFIG_SITE;;
2191 elif test "x$prefix" != xNONE; then
2192 ac_site_file1=$prefix/share/config.site
2193 ac_site_file2=$prefix/etc/config.site
2195 ac_site_file1=$ac_default_prefix/share/config.site
2196 ac_site_file2=$ac_default_prefix/etc/config.site
2198 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2200 test "x$ac_site_file" = xNONE && continue
2201 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2203 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2204 sed 's/^/| /' "$ac_site_file" >&5
2206 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208 as_fn_error $? "failed to load site
script $ac_site_file
2209 See \
`config.log' for more details" "$LINENO" 5 ; }
2213 if test -r "$cache_file"; then
2214 # Some versions of bash will fail to source /dev/null (special files
2215 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2216 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2218 $as_echo "$as_me: loading cache $cache_file" >&6;}
2220 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2221 *) . "./$cache_file";;
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2226 $as_echo "$as_me: creating cache $cache_file" >&6;}
2230 # Check that the precious variables saved in the cache have kept the same
2232 ac_cache_corrupted=false
2233 for ac_var in $ac_precious_vars; do
2234 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2235 eval ac_new_set=\$ac_env_${ac_var}_set
2236 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2237 eval ac_new_val=\$ac_env_${ac_var}_value
2238 case $ac_old_set,$ac_new_set in
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2241 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2242 ac_cache_corrupted=: ;;
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2245 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2246 ac_cache_corrupted=: ;;
2249 if test "x$ac_old_val" != "x$ac_new_val"; then
2250 # differences in whitespace do not lead to failure.
2251 ac_old_val_w=`echo x
$ac_old_val`
2252 ac_new_val_w=`echo x
$ac_new_val`
2253 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2255 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2256 ac_cache_corrupted=:
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2259 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2260 eval $ac_var=\$ac_old_val
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2263 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2265 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2268 # Pass precious variables to config.status.
2269 if test "$ac_new_set" = set; then
2271 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2272 *) ac_arg=$ac_var=$ac_new_val ;;
2274 case " $ac_configure_args " in
2275 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2276 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2280 if $ac_cache_corrupted; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2284 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2285 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2287 ## -------------------- ##
2288 ## Main body of script. ##
2289 ## -------------------- ##
2292 ac_cpp='$CPP $CPPFLAGS'
2293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2299 ac_cpp='$CPP $CPPFLAGS'
2300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2305 for ac_prog in gawk mawk nawk awk
2307 # Extract the first word of "$ac_prog", so it can be a program name with args.
2308 set dummy $ac_prog; ac_word=$2
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2310 $as_echo_n "checking for $ac_word... " >&6; }
2311 if test "${ac_cv_prog_AWK+set}" = set; then :
2312 $as_echo_n "(cached) " >&6
2314 if test -n "$AWK"; then
2315 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_AWK="$ac_prog"
2325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 if test -n "$AWK"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2337 $as_echo "$AWK" >&6; }
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2340 $as_echo "no" >&6; }
2344 test -n "$AWK" && break
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking metadata" >&5
2348 $as_echo_n "checking metadata... " >&6; }
2351 _spl_ac_meta_type="none"
2352 if test -f "$META"; then
2353 _spl_ac_meta_type="META file"
2355 SPL_META_NAME=`$AWK -F ':[ \t]+' '$1 ~ /^ *(Name|Project|Package)$/ { print $2; exit }' $META`;
2356 if test -n "$SPL_META_NAME"; then
2358 cat >>confdefs.h <<_ACEOF
2359 #define SPL_META_NAME "$SPL_META_NAME"
2365 SPL_META_VERSION=`$AWK -F ':[ \t]+' '$1 ~ /^ *Version$/ { print $2; exit }' $META`;
2366 if test -n "$SPL_META_VERSION"; then
2368 cat >>confdefs.h <<_ACEOF
2369 #define SPL_META_VERSION "$SPL_META_VERSION"
2375 SPL_META_RELEASE=`$AWK -F ':[ \t]+' '$1 ~ /^ *Release$/ { print $2; exit }' $META`;
2376 if test ! -f ".nogitrelease" && git rev-parse --git-dir > /dev/null 2>&1; then
2377 _match="${SPL_META_NAME}-${SPL_META_VERSION}*"
2378 _alias=$(git describe --match=${_match} 2>/dev/null)
2379 _release=$(echo ${_alias}|cut -f3- -d'-'|sed 's/-/_/g')
2380 if test -n "${_release}"; then
2381 SPL_META_RELEASE=${_release}
2382 _spl_ac_meta_type="git describe"
2386 if test -n "$SPL_META_RELEASE"; then
2388 cat >>confdefs.h <<_ACEOF
2389 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2394 RELEASE="$SPL_META_RELEASE"
2398 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2399 SPL_META_ALIAS="$SPL_META_NAME-$SPL_META_VERSION"
2400 test -n "$SPL_META_RELEASE" &&
2401 SPL_META_ALIAS="$SPL_META_ALIAS-$SPL_META_RELEASE"
2403 cat >>confdefs.h <<_ACEOF
2404 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2410 SPL_META_DATA=`$AWK -F ':[ \t]+' '$1 ~ /^ *Date$/ { print $2; exit }' $META`;
2411 if test -n "$SPL_META_DATA"; then
2413 cat >>confdefs.h <<_ACEOF
2414 #define SPL_META_DATA "$SPL_META_DATA"
2420 SPL_META_AUTHOR=`$AWK -F ':[ \t]+' '$1 ~ /^ *Author$/ { print $2; exit }' $META`;
2421 if test -n "$SPL_META_AUTHOR"; then
2423 cat >>confdefs.h <<_ACEOF
2424 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2431 SPL_META_LT_CURRENT=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Current$/ { print $2; exit }' $META`;
2432 SPL_META_LT_REVISION=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Revision$/ { print $2; exit }' $META`;
2433 SPL_META_LT_AGE=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Age$/ { print $2; exit }' $META`;
2434 if test -n "$SPL_META_LT_CURRENT" \
2435 -o -n "$SPL_META_LT_REVISION" \
2436 -o -n "$SPL_META_LT_AGE"; then
2437 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT="0"
2438 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION="0"
2439 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE="0"
2441 cat >>confdefs.h <<_ACEOF
2442 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2446 cat >>confdefs.h <<_ACEOF
2447 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2451 cat >>confdefs.h <<_ACEOF
2452 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_spl_ac_meta_type" >&5
2462 $as_echo "$_spl_ac_meta_type" >&6; }
2466 for ac_dir in config "$srcdir"/config; do
2467 if test -f "$ac_dir/install-sh"; then
2469 ac_install_sh="$ac_aux_dir/install-sh -c"
2471 elif test -f "$ac_dir/install.sh"; then
2473 ac_install_sh="$ac_aux_dir/install.sh -c"
2475 elif test -f "$ac_dir/shtool"; then
2477 ac_install_sh="$ac_aux_dir/shtool install -c"
2481 if test -z "$ac_aux_dir"; then
2482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2485 # These three variables are undocumented and unsupported,
2486 # and are intended to be withdrawn in a future Autoconf release.
2487 # They can cause serious problems if a builder's source tree is in a directory
2488 # whose full name contains unusual characters.
2489 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2490 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2491 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2495 # Make sure we can run config.sub.
2496 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2497 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2500 $as_echo_n "checking build system type... " >&6; }
2501 if test "${ac_cv_build+set}" = set; then :
2502 $as_echo_n "(cached) " >&6
2504 ac_build_alias=$build_alias
2505 test "x$ac_build_alias" = x &&
2506 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2507 test "x$ac_build_alias" = x &&
2508 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2509 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2510 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2514 $as_echo "$ac_cv_build" >&6; }
2515 case $ac_cv_build in
2517 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2520 ac_save_IFS=$IFS; IFS='-'
2526 # Remember, the first character of IFS is used to create $*,
2527 # except with old shells:
2530 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2534 $as_echo_n "checking host system type... " >&6; }
2535 if test "${ac_cv_host+set}" = set; then :
2536 $as_echo_n "(cached) " >&6
2538 if test "x$host_alias" = x; then
2539 ac_cv_host=$ac_cv_build
2541 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2542 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2547 $as_echo "$ac_cv_host" >&6; }
2550 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2553 ac_save_IFS=$IFS; IFS='-'
2559 # Remember, the first character of IFS is used to create $*,
2560 # except with old shells:
2563 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2567 $as_echo_n "checking target system type... " >&6; }
2568 if test "${ac_cv_target+set}" = set; then :
2569 $as_echo_n "(cached) " >&6
2571 if test "x$target_alias" = x; then
2572 ac_cv_target=$ac_cv_host
2574 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2575 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2580 $as_echo "$ac_cv_target" >&6; }
2581 case $ac_cv_target in
2583 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
2585 target=$ac_cv_target
2586 ac_save_IFS=$IFS; IFS='-'
2592 # Remember, the first character of IFS is used to create $*,
2593 # except with old shells:
2596 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2599 # The aliases save the names the user supplied, while $host etc.
2600 # will get canonicalized.
2601 test -n "$target_alias" &&
2602 test "$program_prefix$program_suffix$program_transform_name" = \
2604 program_prefix=${target_alias}-
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2608 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2609 # Check whether --enable-maintainer-mode was given.
2610 if test "${enable_maintainer_mode+set}" = set; then :
2611 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2613 USE_MAINTAINER_MODE=no
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2617 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2618 if test $USE_MAINTAINER_MODE = yes; then
2619 MAINTAINER_MODE_TRUE=
2620 MAINTAINER_MODE_FALSE='#'
2622 MAINTAINER_MODE_TRUE='#'
2623 MAINTAINER_MODE_FALSE=
2626 MAINT=$MAINTAINER_MODE_TRUE
2629 # Check whether --enable-silent-rules was given.
2630 if test "${enable_silent_rules+set}" = set; then :
2631 enableval=$enable_silent_rules;
2634 case $enable_silent_rules in
2635 yes) AM_DEFAULT_VERBOSITY=0;;
2636 no) AM_DEFAULT_VERBOSITY=1;;
2637 *) AM_DEFAULT_VERBOSITY=0;;
2641 am__api_version='1.11'
2643 # Find a good install program. We prefer a C program (faster),
2644 # so one script is as good as another. But avoid the broken or
2645 # incompatible versions:
2646 # SysV /etc/install, /usr/sbin/install
2647 # SunOS /usr/etc/install
2648 # IRIX /sbin/install
2650 # AmigaOS /C/install, which installs bootblocks on floppy discs
2651 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2652 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2653 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2654 # OS/2's system install, which has a completely different semantic
2655 # ./install, which can be erroneously created by make from ./install.sh.
2656 # Reject install programs that cannot install multiple files.
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2658 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2659 if test -z "$INSTALL"; then
2660 if test "${ac_cv_path_install+set}" = set; then :
2661 $as_echo_n "(cached) " >&6
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 # Account for people who put trailing slashes in PATH elements.
2669 case $as_dir/ in #((
2670 ./ | .// | /[cC]/* | \
2671 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2672 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2675 # OSF1 and SCO ODT 3.0 have their own names for install.
2676 # Don't use installbsd from OSF since it installs stuff as root
2678 for ac_prog in ginstall scoinst install; do
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2681 if test $ac_prog = install &&
2682 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2683 # AIX install. It has an incompatible calling convention.
2685 elif test $ac_prog = install &&
2686 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2687 # program-specific install script used by HP pwplus--don't use.
2690 rm -rf conftest.one conftest.two conftest.dir
2691 echo one > conftest.one
2692 echo two > conftest.two
2694 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2695 test -s conftest.one && test -s conftest.two &&
2696 test -s conftest.dir/conftest.one &&
2697 test -s conftest.dir/conftest.two
2699 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2712 rm -rf conftest.one conftest.two conftest.dir
2715 if test "${ac_cv_path_install+set}" = set; then
2716 INSTALL=$ac_cv_path_install
2718 # As a last resort, use the slow shell script. Don't cache a
2719 # value for INSTALL within a source directory, because that will
2720 # break other packages using the cache if that directory is
2721 # removed, or if the value is a relative name.
2722 INSTALL=$ac_install_sh
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2726 $as_echo "$INSTALL" >&6; }
2728 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2729 # It thinks the first close brace ends the variable substitution.
2730 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2732 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2734 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2737 $as_echo_n "checking whether build environment is sane... " >&6; }
2740 echo timestamp > conftest.file
2741 # Reject unsafe characters in $srcdir or the absolute working directory
2742 # name. Accept space and tab only in the latter.
2746 *[\\\"\#\$\&\'\`$am_lf]*)
2747 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5 ;;
2750 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2751 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2754 # Do `set' in a subshell so we don't clobber the current shell's
2755 # arguments. Must try -L first in case configure is actually a
2756 # symlink; some systems play weird games with the mod time of symlinks
2757 # (eg FreeBSD returns the mod time of the symlink's containing
2760 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2761 if test "$*" = "X"; then
2763 set X
`ls -t "$srcdir/configure" conftest.file`
2766 if test "$*" != "X $srcdir/configure conftest.file" \
2767 && test "$*" != "X conftest.file $srcdir/configure"; then
2769 # If neither matched, then we have a broken ls. This can happen
2770 # if, for instance, CONFIG_SHELL is bash and it inherits a
2771 # broken ls alias from the environment. This has actually
2772 # happened. Such a system could not be considered "sane".
2773 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2774 alias in your environment" "$LINENO" 5
2777 test "$2" = conftest.
file
2783 as_fn_error $?
"newly created file is older than distributed files!
2784 Check your system clock" "$LINENO" 5
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2787 $as_echo "yes" >&6; }
2788 test "$program_prefix" != NONE
&&
2789 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2790 # Use a double $ so make ignores it.
2791 test "$program_suffix" != NONE
&&
2792 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2793 # Double any \ or $.
2794 # By default was `s,x,x', remove it if useless.
2795 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2796 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2798 # expand $ac_aux_dir to an absolute path
2799 am_aux_dir
=`cd $ac_aux_dir && pwd`
2801 if test x
"${MISSING+set}" != xset
; then
2804 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2806 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2809 # Use eval to expand $SHELL
2810 if eval "$MISSING --run true"; then
2811 am_missing_run
="$MISSING --run "
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2815 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2818 if test x
"${install_sh}" != xset
; then
2821 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2823 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2827 # Installed binaries are usually stripped using `strip' when the user
2828 # run `make install-strip'. However `strip' might not be the right
2829 # tool to use in cross-compilation environments, therefore Automake
2830 # will honor the `STRIP' environment variable to overrule this program.
2831 if test "$cross_compiling" != no
; then
2832 if test -n "$ac_tool_prefix"; then
2833 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2834 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if test "${ac_cv_prog_STRIP+set}" = set; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$STRIP"; then
2841 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir
=.
2848 for ac_exec_ext
in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 STRIP
=$ac_cv_prog_STRIP
2861 if test -n "$STRIP"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2863 $as_echo "$STRIP" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2871 if test -z "$ac_cv_prog_STRIP"; then
2873 # Extract the first word of "strip", so it can be a program name with args.
2874 set dummy strip
; ac_word
=$2
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876 $as_echo_n "checking for $ac_word... " >&6; }
2877 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2878 $as_echo_n "(cached) " >&6
2880 if test -n "$ac_ct_STRIP"; then
2881 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir
=.
2888 for ac_exec_ext
in '' $ac_executable_extensions; do
2889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890 ac_cv_prog_ac_ct_STRIP
="strip"
2891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2901 if test -n "$ac_ct_STRIP"; then
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2903 $as_echo "$ac_ct_STRIP" >&6; }
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2909 if test "x$ac_ct_STRIP" = x
; then
2912 case $cross_compiling:$ac_tool_warned in
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2916 ac_tool_warned
=yes ;;
2921 STRIP
="$ac_cv_prog_STRIP"
2925 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2928 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2929 if test -z "$MKDIR_P"; then
2930 if test "${ac_cv_path_mkdir+set}" = set; then :
2931 $as_echo_n "(cached) " >&6
2933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2934 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2937 test -z "$as_dir" && as_dir
=.
2938 for ac_prog
in mkdir gmkdir
; do
2939 for ac_exec_ext
in '' $ac_executable_extensions; do
2940 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2941 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2942 'mkdir (GNU coreutils) '* | \
2943 'mkdir (coreutils) '* | \
2944 'mkdir (fileutils) '4.1*)
2945 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2955 test -d .
/--version && rmdir .
/--version
2956 if test "${ac_cv_path_mkdir+set}" = set; then
2957 MKDIR_P
="$ac_cv_path_mkdir -p"
2959 # As a last resort, use the slow shell script. Don't cache a
2960 # value for MKDIR_P within a source directory, because that will
2961 # break other packages using the cache if that directory is
2962 # removed, or if the value is a relative name.
2963 MKDIR_P
="$ac_install_sh -d"
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2967 $as_echo "$MKDIR_P" >&6; }
2971 [\\/$
]* | ?
:[\\/]*) ;;
2972 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2976 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2978 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2979 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2980 $as_echo_n "(cached) " >&6
2982 cat >conftest.
make <<\_ACEOF
2985 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2987 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2988 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2990 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2992 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2996 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2998 $as_echo "yes" >&6; }
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3003 SET_MAKE
="MAKE=${MAKE-make}"
3006 rm -rf .tst
2>/dev
/null
3007 mkdir .tst
2>/dev
/null
3008 if test -d .tst
; then
3013 rmdir .tst
2>/dev
/null
3015 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3016 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3017 # is not polluted with repeated "-I."
3018 am__isrc
=' -I$(srcdir)'
3019 # test to see if srcdir already configured
3020 if test -f $srcdir/config.status
; then
3021 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3025 # test whether we have cygpath
3026 if test -z "$CYGPATH_W"; then
3027 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3028 CYGPATH_W
='cygpath -w'
3035 # Define the identity of the package.
3036 PACKAGE
=$SPL_META_NAME
3037 VERSION
=$SPL_META_VERSION
3040 cat >>confdefs.h
<<_ACEOF
3041 #define PACKAGE "$PACKAGE"
3045 cat >>confdefs.h
<<_ACEOF
3046 #define VERSION "$VERSION"
3049 # Some tools Automake needs.
3051 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3054 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3057 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3060 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3063 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3065 # We need awk for the "check" target. The system "awk" is bad on
3067 # Always define AMTAR for backward compatibility.
3069 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3071 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3077 ac_config_headers
="$ac_config_headers spl_config.h"
3082 ac_cpp
='$CPP $CPPFLAGS'
3083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3086 if test -n "$ac_tool_prefix"; then
3087 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3088 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if test "${ac_cv_prog_CC+set}" = set; then :
3092 $as_echo_n "(cached) " >&6
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC
="$CC" # Let the user override the test.
3097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3101 test -z "$as_dir" && as_dir
=.
3102 for ac_exec_ext
in '' $ac_executable_extensions; do
3103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3104 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 if test -n "$CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117 $as_echo "$CC" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3125 if test -z "$ac_cv_prog_CC"; then
3127 # Extract the first word of "gcc", so it can be a program name with args.
3128 set dummy gcc
; ac_word
=$2
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 $as_echo_n "checking for $ac_word... " >&6; }
3131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3132 $as_echo_n "(cached) " >&6
3134 if test -n "$ac_ct_CC"; then
3135 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3144 ac_cv_prog_ac_ct_CC
="gcc"
3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3155 if test -n "$ac_ct_CC"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3157 $as_echo "$ac_ct_CC" >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3163 if test "x$ac_ct_CC" = x
; then
3166 case $cross_compiling:$ac_tool_warned in
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3170 ac_tool_warned
=yes ;;
3178 if test -z "$CC"; then
3179 if test -n "$ac_tool_prefix"; then
3180 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3181 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if test "${ac_cv_prog_CC+set}" = set; then :
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$CC"; then
3188 ac_cv_prog_CC
="$CC" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 if test -n "$CC"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3210 $as_echo "$CC" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3219 if test -z "$CC"; then
3220 # Extract the first word of "cc", so it can be a program name with args.
3221 set dummy cc
; ac_word
=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if test "${ac_cv_prog_CC+set}" = set; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$CC"; then
3228 ac_cv_prog_CC
="$CC" # Let the user override the test.
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir
=.
3236 for ac_exec_ext
in '' $ac_executable_extensions; do
3237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3238 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3239 ac_prog_rejected
=yes
3243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 if test $ac_prog_rejected = yes; then
3251 # We found a bogon in the path, so make sure we never use it.
3252 set dummy
$ac_cv_prog_CC
3254 if test $# != 0; then
3255 # We chose a different compiler from the bogus one.
3256 # However, it has the same basename, so the bogon will be chosen
3257 # first if we set CC to just the basename; use the full file name.
3259 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3265 if test -n "$CC"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3267 $as_echo "$CC" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3275 if test -z "$CC"; then
3276 if test -n "$ac_tool_prefix"; then
3277 for ac_prog
in cl.exe
3279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3280 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3282 $as_echo_n "checking for $ac_word... " >&6; }
3283 if test "${ac_cv_prog_CC+set}" = set; then :
3284 $as_echo_n "(cached) " >&6
3286 if test -n "$CC"; then
3287 ac_cv_prog_CC
="$CC" # Let the user override the test.
3289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3293 test -z "$as_dir" && as_dir
=.
3294 for ac_exec_ext
in '' $ac_executable_extensions; do
3295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3296 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 if test -n "$CC"; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3309 $as_echo "$CC" >&6; }
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312 $as_echo "no" >&6; }
3316 test -n "$CC" && break
3319 if test -z "$CC"; then
3321 for ac_prog
in cl.exe
3323 # Extract the first word of "$ac_prog", so it can be a program name with args.
3324 set dummy
$ac_prog; ac_word
=$2
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3326 $as_echo_n "checking for $ac_word... " >&6; }
3327 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3328 $as_echo_n "(cached) " >&6
3330 if test -n "$ac_ct_CC"; then
3331 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3337 test -z "$as_dir" && as_dir
=.
3338 for ac_exec_ext
in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_ac_ct_CC
="$ac_prog"
3341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3350 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3351 if test -n "$ac_ct_CC"; then
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3353 $as_echo "$ac_ct_CC" >&6; }
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
3360 test -n "$ac_ct_CC" && break
3363 if test "x$ac_ct_CC" = x
; then
3366 case $cross_compiling:$ac_tool_warned in
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3370 ac_tool_warned
=yes ;;
3379 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3381 as_fn_error $?
"no acceptable C compiler found in \$PATH
3382 See \`config.log' for more details" "$LINENO" 5 ; }
3384 # Provide some information about the compiler.
3385 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3388 for ac_option
in --version -v -V -qversion; do
3389 { { ac_try
="$ac_compiler $ac_option >&5"
3391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3398 if test -s conftest.err; then
3400 ... rest of stderr output deleted ...
3401 10q' conftest.err >conftest.er1
3402 cat conftest.er1 >&5
3404 rm -f conftest.er1 conftest.err
3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406 test $ac_status = 0; }
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3420 ac_clean_files_save=$ac_clean_files
3421 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3422 # Try to create an executable without -o first, disregard a.out.
3423 # It will help us diagnose broken compilers, and finding out an intuition
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3426 $as_echo_n "checking whether the C compiler works... " >&6; }
3427 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3429 # The possible output files:
3430 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3433 for ac_file in $ac_files
3436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3437 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3442 if { { ac_try="$ac_link_default"
3444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3445 *) ac_try_echo
=$ac_try;;
3447 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448 $as_echo "$ac_try_echo"; } >&5
3449 (eval "$ac_link_default") 2>&5
3451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452 test $ac_status = 0; }; then :
3453 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3454 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3455 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3456 # so that the user can short-circuit this test for compilers unknown to
3458 for ac_file
in $ac_files ''
3460 test -f "$ac_file" ||
continue
3462 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3465 # We found the default executable, but exeext='' is most
3469 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3471 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3473 # We set ac_cv_exeext here because the later test for it is not
3474 # safe: cross compilers may not add the suffix if given an `-o'
3475 # argument, so we may need to know it at that point already.
3476 # Even if this section looks crufty: it has the advantage of
3483 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3488 if test -z "$ac_file"; then :
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3490 $as_echo "no" >&6; }
3491 $as_echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.
$ac_ext >&5
3494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3496 as_fn_error
77 "C compiler cannot create executables
3497 See \`config.log' for more details" "$LINENO" 5 ; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3500 $as_echo "yes" >&6; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3503 $as_echo_n "checking for C compiler default output file name... " >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3505 $as_echo "$ac_file" >&6; }
3506 ac_exeext
=$ac_cv_exeext
3508 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3509 ac_clean_files
=$ac_clean_files_save
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3511 $as_echo_n "checking for suffix of executables... " >&6; }
3512 if { { ac_try
="$ac_link"
3514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;;
3517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3518 $as_echo "$ac_try_echo"; } >&5
3519 (eval "$ac_link") 2>&5
3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 test $ac_status = 0; }; then :
3523 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3524 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3525 # work properly (i.e., refer to `conftest.exe'), while it won't with
3527 for ac_file
in conftest.exe conftest conftest.
*; do
3528 test -f "$ac_file" ||
continue
3530 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3531 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3539 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3540 See \`config.log' for more details" "$LINENO" 5 ; }
3542 rm -f conftest conftest
$ac_cv_exeext
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3544 $as_echo "$ac_cv_exeext" >&6; }
3546 rm -f conftest.
$ac_ext
3547 EXEEXT
=$ac_cv_exeext
3549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3555 FILE *f = fopen ("conftest.out", "w");
3556 return ferror (f) || fclose (f) != 0;
3562 ac_clean_files
="$ac_clean_files conftest.out"
3563 # Check that the compiler produces executables we can run. If not, either
3564 # the compiler is broken, or we cross compile.
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3566 $as_echo_n "checking whether we are cross compiling... " >&6; }
3567 if test "$cross_compiling" != yes; then
3568 { { ac_try
="$ac_link"
3570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3574 $as_echo "$ac_try_echo"; } >&5
3575 (eval "$ac_link") 2>&5
3577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578 test $ac_status = 0; }
3579 if { ac_try='./conftest$ac_cv_exeext'
3580 { { case "(($ac_try" in
3581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3582 *) ac_try_echo
=$ac_try;;
3584 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3585 $as_echo "$ac_try_echo"; } >&5
3586 (eval "$ac_try") 2>&5
3588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3589 test $ac_status = 0; }; }; then
3592 if test "$cross_compiling" = maybe
; then
3595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3597 as_fn_error $?
"cannot run C compiled programs.
3598 If you meant to cross compile, use \`--host'.
3599 See \`config.log' for more details" "$LINENO" 5 ; }
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3604 $as_echo "$cross_compiling" >&6; }
3606 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3607 ac_clean_files
=$ac_clean_files_save
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3609 $as_echo_n "checking for suffix of object files... " >&6; }
3610 if test "${ac_cv_objext+set}" = set; then :
3611 $as_echo_n "(cached) " >&6
3613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3624 rm -f conftest.o conftest.obj
3625 if { { ac_try
="$ac_compile"
3627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631 $as_echo "$ac_try_echo"; } >&5
3632 (eval "$ac_compile") 2>&5
3634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635 test $ac_status = 0; }; then :
3636 for ac_file in conftest.o conftest.obj conftest.*; do
3637 test -f "$ac_file" || continue;
3639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3640 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3645 $as_echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.$ac_ext >&5
3648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3650 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3651 See \
`config.log' for more details" "$LINENO" 5 ; }
3653 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3656 $as_echo "$ac_cv_objext" >&6; }
3657 OBJEXT=$ac_cv_objext
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3660 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3661 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3678 if ac_fn_c_try_compile "$LINENO"; then :
3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3684 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3688 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3689 if test $ac_compiler_gnu = yes; then
3694 ac_test_CFLAGS=${CFLAGS+set}
3695 ac_save_CFLAGS=$CFLAGS
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3697 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3698 if test "${ac_cv_prog_cc_g+set}" = set; then :
3699 $as_echo_n "(cached) " >&6
3701 ac_save_c_werror_flag=$ac_c_werror_flag
3702 ac_c_werror_flag=yes
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3716 if ac_fn_c_try_compile "$LINENO"; then :
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3731 if ac_fn_c_try_compile "$LINENO"; then :
3734 ac_c_werror_flag=$ac_save_c_werror_flag
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3747 if ac_fn_c_try_compile "$LINENO"; then :
3750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755 ac_c_werror_flag=$ac_save_c_werror_flag
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3758 $as_echo "$ac_cv_prog_cc_g" >&6; }
3759 if test "$ac_test_CFLAGS" = set; then
3760 CFLAGS=$ac_save_CFLAGS
3761 elif test $ac_cv_prog_cc_g = yes; then
3762 if test "$GCC" = yes; then
3768 if test "$GCC" = yes; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3775 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3776 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3777 $as_echo_n "(cached) " >&6
3779 ac_cv_prog_cc_c89=no
3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782 /* end confdefs.h. */
3785 #include <sys/types.h>
3786 #include <sys/stat.h>
3787 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3788 struct buf { int x; };
3789 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3790 static char *e (p, i)
3796 static char *f (char * (*g) (char **, int), char **p, ...)
3801 s = g (p, va_arg (v,int));
3806 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3807 function prototypes and stuff, but not '\xHH' hex character constants.
3808 These don't provoke an error unfortunately, instead are silently treated
3809 as 'x'. The following induces an error, until -std is added to get
3810 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3811 array size at least. It's necessary to write '\x00'==0 to get something
3812 that's true only with -std. */
3813 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3815 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3816 inside strings and character constants. */
3818 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3820 int test (int i, double x);
3821 struct s1 {int (*f) (int a);};
3822 struct s2 {int (*f) (double a);};
3823 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3829 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3834 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3835 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3837 CC="$ac_save_CC $ac_arg"
3838 if ac_fn_c_try_compile "$LINENO"; then :
3839 ac_cv_prog_cc_c89=$ac_arg
3841 rm -f core conftest.err conftest.$ac_objext
3842 test "x$ac_cv_prog_cc_c89" != "xno" && break
3844 rm -f conftest.$ac_ext
3849 case "x$ac_cv_prog_cc_c89" in
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3852 $as_echo "none needed" >&6; } ;;
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3855 $as_echo "unsupported" >&6; } ;;
3857 CC="$CC $ac_cv_prog_cc_c89"
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3859 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3861 if test "x$ac_cv_prog_cc_c89" != xno; then :
3866 ac_cpp='$CPP $CPPFLAGS'
3867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3870 DEPDIR="${am__leading_dot}deps"
3872 ac_config_commands="$ac_config_commands depfiles"
3875 am_make=${MAKE-make}
3876 cat > confinc << 'END'
3878 @echo this is the am__doit target
3881 # If we don't find an include directive, just comment out the code.
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3883 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3887 # First try GNU make style include.
3888 echo "include confinc" > confmf
3889 # Ignore all kinds of additional output from `make'.
3890 case `$am_make -s -f confmf 2> /dev/null` in #(
3891 *the\ am__doit\ target*)
3897 # Now try BSD make style include.
3898 if test "$am__include" = "#"; then
3899 echo '.include
"confinc"' > confmf
3900 case `$am_make -s -f confmf 2> /dev/null` in #(
3901 *the\ am__doit\ target*)
3902 am__include=.include
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3911 $as_echo "$_am_result" >&6; }
3912 rm -f confinc confmf
3914 # Check whether --enable-dependency-tracking was given.
3915 if test "${enable_dependency_tracking+set}" = set; then :
3916 enableval=$enable_dependency_tracking;
3919 if test "x$enable_dependency_tracking" != xno; then
3920 am_depcomp="$ac_aux_dir/depcomp"
3923 if test "x$enable_dependency_tracking" != xno
; then
3933 depcc
="$CC" am_compiler_list
=
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3936 $as_echo_n "checking dependency style of $depcc... " >&6; }
3937 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3938 $as_echo_n "(cached) " >&6
3940 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3941 # We make a subdir and do the tests there. Otherwise we can end up
3942 # making bogus files that we don't know about and never remove. For
3943 # instance it was reported that on HP-UX the gcc test will end up
3944 # making a dummy file named `D' -- because `-MD' means `put the output
3947 # Copy depcomp to subdir because otherwise we won't find it if we're
3948 # using a relative directory.
3949 cp "$am_depcomp" conftest.dir
3951 # We will build objects and dependencies in a subdirectory because
3952 # it helps to detect inapplicable dependency modes. For instance
3953 # both Tru64's cc and ICC support -MD to output dependencies as a
3954 # side effect of compilation, but ICC will put the dependencies in
3955 # the current directory while Tru64 will put them in the object
3959 am_cv_CC_dependencies_compiler_type
=none
3960 if test "$am_compiler_list" = ""; then
3961 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3964 case " $depcc " in #(
3965 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3968 for depmode
in $am_compiler_list; do
3969 # Setup a source with many dependencies, because some compilers
3970 # like to wrap large dependency lists on column 80 (with \), and
3971 # we should not choose a depcomp mode which is confused by this.
3973 # We need to recreate these files for each test, as the compiler may
3974 # overwrite some of them when testing with obscure command lines.
3975 # This happens at least with the AIX C compiler.
3977 for i
in 1 2 3 4 5 6; do
3978 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3979 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3980 # Solaris 8's {/usr,}/bin/sh.
3981 touch sub
/conftst
$i.h
3983 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3985 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3986 # mode. It turns out that the SunPro C++ compiler does not properly
3987 # handle `-M -o', and we need to detect this. Also, some Intel
3988 # versions had trouble with output in subdirs
3989 am__obj
=sub
/conftest.
${OBJEXT-o}
3990 am__minus_obj
="-o $am__obj"
3993 # This depmode causes a compiler race in universal mode.
3994 test "$am__universal" = false ||
continue
3997 # after this tag, mechanisms are not by side-effect, so they'll
3998 # only be used when explicitly requested
3999 if test "x$enable_dependency_tracking" = xyes
; then
4005 msvisualcpp | msvcmsys
)
4006 # This compiler won't grok `-c -o', but also, the minuso test has
4007 # not run yet. These depmodes are late enough in the game, and
4008 # so weak that their functioning should not be impacted.
4009 am__obj
=conftest.
${OBJEXT-o}
4014 if depmode
=$depmode \
4015 source=sub
/conftest.c object
=$am__obj \
4016 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4017 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4018 >/dev
/null
2>conftest.err
&&
4019 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4020 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4021 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4022 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4023 # icc doesn't choke on unknown options, it will just issue warnings
4024 # or remarks (even with -Werror). So we grep stderr for any message
4025 # that says an option was ignored or not supported.
4026 # When given -MP, icc 7.0 and 7.1 complain thusly:
4027 # icc: Command line warning: ignoring option '-M'; no argument required
4028 # The diagnosis changed in icc 8.0:
4029 # icc: Command line remark: option '-MP' not supported
4030 if (grep 'ignoring option' conftest.err ||
4031 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4032 am_cv_CC_dependencies_compiler_type
=$depmode
4041 am_cv_CC_dependencies_compiler_type
=none
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4046 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4047 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4050 test "x$enable_dependency_tracking" != xno \
4051 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4053 am__fastdepCC_FALSE
='#'
4055 am__fastdepCC_TRUE
='#'
4056 am__fastdepCC_FALSE
=
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4063 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4068 macro_version
='2.2.6b'
4069 macro_revision
='1.3017'
4083 ltmain
="$ac_aux_dir/ltmain.sh"
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4086 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4087 if test "${ac_cv_path_SED+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4091 for ac_i
in 1 2 3 4 5 6 7; do
4092 ac_script
="$ac_script$as_nl$ac_script"
4094 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4095 { ac_script
=; unset ac_script
;}
4096 if test -z "$SED"; then
4097 ac_path_SED_found
=false
4098 # Loop through the user's path and test for each of PROGNAME-LIST
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir
=.
4104 for ac_prog
in sed gsed
; do
4105 for ac_exec_ext
in '' $ac_executable_extensions; do
4106 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4107 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4108 # Check for GNU ac_path_SED and select it if it is found.
4109 # Check for GNU $ac_path_SED
4110 case `"$ac_path_SED" --version 2>&1` in
4112 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4115 $as_echo_n 0123456789 >"conftest.in"
4118 cat "conftest.in" "conftest.in" >"conftest.tmp"
4119 mv "conftest.tmp" "conftest.in"
4120 cp "conftest.in" "conftest.nl"
4121 $as_echo '' >> "conftest.nl"
4122 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4123 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4124 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4125 if test $ac_count -gt ${ac_path_SED_max-0}; then
4126 # Best one so far, save it but keep looking for a better one
4127 ac_cv_path_SED
="$ac_path_SED"
4128 ac_path_SED_max
=$ac_count
4130 # 10*(2^10) chars as input seems more than enough
4131 test $ac_count -gt 10 && break
4133 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4136 $ac_path_SED_found && break 3
4141 if test -z "$ac_cv_path_SED"; then
4142 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4150 $as_echo "$ac_cv_path_SED" >&6; }
4151 SED
="$ac_cv_path_SED"
4154 test -z "$SED" && SED
=sed
4155 Xsed
="$SED -e 1s/^X//"
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4168 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4169 if test "${ac_cv_path_GREP+set}" = set; then :
4170 $as_echo_n "(cached) " >&6
4172 if test -z "$GREP"; then
4173 ac_path_GREP_found
=false
4174 # Loop through the user's path and test for each of PROGNAME-LIST
4175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4176 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4179 test -z "$as_dir" && as_dir
=.
4180 for ac_prog
in grep ggrep
; do
4181 for ac_exec_ext
in '' $ac_executable_extensions; do
4182 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4183 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4184 # Check for GNU ac_path_GREP and select it if it is found.
4185 # Check for GNU $ac_path_GREP
4186 case `"$ac_path_GREP" --version 2>&1` in
4188 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4191 $as_echo_n 0123456789 >"conftest.in"
4194 cat "conftest.in" "conftest.in" >"conftest.tmp"
4195 mv "conftest.tmp" "conftest.in"
4196 cp "conftest.in" "conftest.nl"
4197 $as_echo 'GREP' >> "conftest.nl"
4198 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4199 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4200 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4201 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4202 # Best one so far, save it but keep looking for a better one
4203 ac_cv_path_GREP
="$ac_path_GREP"
4204 ac_path_GREP_max
=$ac_count
4206 # 10*(2^10) chars as input seems more than enough
4207 test $ac_count -gt 10 && break
4209 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4212 $ac_path_GREP_found && break 3
4217 if test -z "$ac_cv_path_GREP"; then
4218 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4221 ac_cv_path_GREP
=$GREP
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4226 $as_echo "$ac_cv_path_GREP" >&6; }
4227 GREP
="$ac_cv_path_GREP"
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4231 $as_echo_n "checking for egrep... " >&6; }
4232 if test "${ac_cv_path_EGREP+set}" = set; then :
4233 $as_echo_n "(cached) " >&6
4235 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4236 then ac_cv_path_EGREP
="$GREP -E"
4238 if test -z "$EGREP"; then
4239 ac_path_EGREP_found
=false
4240 # Loop through the user's path and test for each of PROGNAME-LIST
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4242 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_prog
in egrep; do
4247 for ac_exec_ext
in '' $ac_executable_extensions; do
4248 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4249 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4250 # Check for GNU ac_path_EGREP and select it if it is found.
4251 # Check for GNU $ac_path_EGREP
4252 case `"$ac_path_EGREP" --version 2>&1` in
4254 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4257 $as_echo_n 0123456789 >"conftest.in"
4260 cat "conftest.in" "conftest.in" >"conftest.tmp"
4261 mv "conftest.tmp" "conftest.in"
4262 cp "conftest.in" "conftest.nl"
4263 $as_echo 'EGREP' >> "conftest.nl"
4264 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4265 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4266 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4267 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4268 # Best one so far, save it but keep looking for a better one
4269 ac_cv_path_EGREP
="$ac_path_EGREP"
4270 ac_path_EGREP_max
=$ac_count
4272 # 10*(2^10) chars as input seems more than enough
4273 test $ac_count -gt 10 && break
4275 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4278 $ac_path_EGREP_found && break 3
4283 if test -z "$ac_cv_path_EGREP"; then
4284 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4287 ac_cv_path_EGREP
=$EGREP
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4293 $as_echo "$ac_cv_path_EGREP" >&6; }
4294 EGREP
="$ac_cv_path_EGREP"
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4298 $as_echo_n "checking for fgrep... " >&6; }
4299 if test "${ac_cv_path_FGREP+set}" = set; then :
4300 $as_echo_n "(cached) " >&6
4302 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4303 then ac_cv_path_FGREP
="$GREP -F"
4305 if test -z "$FGREP"; then
4306 ac_path_FGREP_found
=false
4307 # Loop through the user's path and test for each of PROGNAME-LIST
4308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4309 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4312 test -z "$as_dir" && as_dir
=.
4313 for ac_prog
in fgrep
; do
4314 for ac_exec_ext
in '' $ac_executable_extensions; do
4315 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4316 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4317 # Check for GNU ac_path_FGREP and select it if it is found.
4318 # Check for GNU $ac_path_FGREP
4319 case `"$ac_path_FGREP" --version 2>&1` in
4321 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4324 $as_echo_n 0123456789 >"conftest.in"
4327 cat "conftest.in" "conftest.in" >"conftest.tmp"
4328 mv "conftest.tmp" "conftest.in"
4329 cp "conftest.in" "conftest.nl"
4330 $as_echo 'FGREP' >> "conftest.nl"
4331 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4332 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4333 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4334 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4335 # Best one so far, save it but keep looking for a better one
4336 ac_cv_path_FGREP
="$ac_path_FGREP"
4337 ac_path_FGREP_max
=$ac_count
4339 # 10*(2^10) chars as input seems more than enough
4340 test $ac_count -gt 10 && break
4342 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4345 $ac_path_FGREP_found && break 3
4350 if test -z "$ac_cv_path_FGREP"; then
4351 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4354 ac_cv_path_FGREP
=$FGREP
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4360 $as_echo "$ac_cv_path_FGREP" >&6; }
4361 FGREP
="$ac_cv_path_FGREP"
4364 test -z "$GREP" && GREP
=grep
4384 # Check whether --with-gnu-ld was given.
4385 if test "${with_gnu_ld+set}" = set; then :
4386 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4392 if test "$GCC" = yes; then
4393 # Check if gcc -print-prog-name=ld gives a path.
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4395 $as_echo_n "checking for ld used by $CC... " >&6; }
4398 # gcc leaves a trailing carriage return which upsets mingw
4399 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4401 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4404 # Accept absolute paths.
4406 re_direlt
='/[^/][^/]*/\.\./'
4407 # Canonicalize the pathname of ld
4408 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4409 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4410 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4412 test -z "$LD" && LD
="$ac_prog"
4415 # If it fails, then pretend we aren't using GCC.
4419 # If it is relative, then search for the first ld in PATH.
4423 elif test "$with_gnu_ld" = yes; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4425 $as_echo_n "checking for GNU ld... " >&6; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4428 $as_echo_n "checking for non-GNU ld... " >&6; }
4430 if test "${lt_cv_path_LD+set}" = set; then :
4431 $as_echo_n "(cached) " >&6
4433 if test -z "$LD"; then
4434 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4435 for ac_dir
in $PATH; do
4437 test -z "$ac_dir" && ac_dir
=.
4438 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4439 lt_cv_path_LD
="$ac_dir/$ac_prog"
4440 # Check to see if the program is GNU ld. I'd rather use --version,
4441 # but apparently some variants of GNU ld only accept -v.
4442 # Break only if it was the GNU/non-GNU ld that we prefer.
4443 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4444 *GNU
* |
*'with BFD'*)
4445 test "$with_gnu_ld" != no
&& break
4448 test "$with_gnu_ld" != yes && break
4455 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4460 if test -n "$LD"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4462 $as_echo "$LD" >&6; }
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4467 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4469 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4470 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4473 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4474 case `$LD -v 2>&1 </dev/null` in
4475 *GNU
* |
*'with BFD'*)
4476 lt_cv_prog_gnu_ld
=yes
4479 lt_cv_prog_gnu_ld
=no
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4484 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4485 with_gnu_ld
=$lt_cv_prog_gnu_ld
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4496 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4497 if test "${lt_cv_path_NM+set}" = set; then :
4498 $as_echo_n "(cached) " >&6
4500 if test -n "$NM"; then
4501 # Let the user override the test.
4504 lt_nm_to_check
="${ac_tool_prefix}nm"
4505 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4506 lt_nm_to_check
="$lt_nm_to_check nm"
4508 for lt_tmp_nm
in $lt_nm_to_check; do
4509 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4510 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4512 test -z "$ac_dir" && ac_dir
=.
4513 tmp_nm
="$ac_dir/$lt_tmp_nm"
4514 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4515 # Check to see if the nm accepts a BSD-compat flag.
4516 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4517 # nm: unknown option "B" ignored
4518 # Tru64's nm complains that /dev/null is an invalid object file
4519 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4520 */dev
/null
* |
*'Invalid file or object type'*)
4521 lt_cv_path_NM
="$tmp_nm -B"
4525 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4527 lt_cv_path_NM
="$tmp_nm -p"
4531 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4532 continue # so that we can try to find one that supports BSD flags
4541 : ${lt_cv_path_NM=no}
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4545 $as_echo "$lt_cv_path_NM" >&6; }
4546 if test "$lt_cv_path_NM" != "no"; then
4549 # Didn't find any BSD compatible name lister, look for dumpbin.
4550 if test -n "$ac_tool_prefix"; then
4551 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4554 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4556 $as_echo_n "checking for $ac_word... " >&6; }
4557 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4560 if test -n "$DUMPBIN"; then
4561 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir
=.
4568 for ac_exec_ext
in '' $ac_executable_extensions; do
4569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4570 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 DUMPBIN
=$ac_cv_prog_DUMPBIN
4581 if test -n "$DUMPBIN"; then
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4583 $as_echo "$DUMPBIN" >&6; }
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 $as_echo "no" >&6; }
4590 test -n "$DUMPBIN" && break
4593 if test -z "$DUMPBIN"; then
4594 ac_ct_DUMPBIN
=$DUMPBIN
4595 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4597 # Extract the first word of "$ac_prog", so it can be a program name with args.
4598 set dummy
$ac_prog; ac_word
=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$ac_ct_DUMPBIN"; then
4605 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4625 if test -n "$ac_ct_DUMPBIN"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4627 $as_echo "$ac_ct_DUMPBIN" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4634 test -n "$ac_ct_DUMPBIN" && break
4637 if test "x$ac_ct_DUMPBIN" = x
; then
4640 case $cross_compiling:$ac_tool_warned in
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4644 ac_tool_warned
=yes ;;
4646 DUMPBIN
=$ac_ct_DUMPBIN
4651 if test "$DUMPBIN" != ":"; then
4655 test -z "$NM" && NM
=nm
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4663 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4664 if test "${lt_cv_nm_interface+set}" = set; then :
4665 $as_echo_n "(cached) " >&6
4667 lt_cv_nm_interface
="BSD nm"
4668 echo "int some_variable = 0;" > conftest.
$ac_ext
4669 (eval echo "\"\$as_me:4669: $ac_compile\"" >&5)
4670 (eval "$ac_compile" 2>conftest.err
)
4671 cat conftest.err
>&5
4672 (eval echo "\"\$as_me:4672: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4673 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4674 cat conftest.err
>&5
4675 (eval echo "\"\$as_me:4675: output\"" >&5)
4676 cat conftest.out
>&5
4677 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4678 lt_cv_nm_interface
="MS dumpbin"
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4683 $as_echo "$lt_cv_nm_interface" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4686 $as_echo_n "checking whether ln -s works... " >&6; }
4688 if test "$LN_S" = "ln -s"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4690 $as_echo "yes" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4693 $as_echo "no, using $LN_S" >&6; }
4696 # find the maximum length of command line arguments
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4698 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4699 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4700 $as_echo_n "(cached) " >&6
4707 # On DJGPP, this test can blow up pretty badly due to problems in libc
4708 # (any single argument exceeding 2000 bytes causes a buffer overrun
4709 # during glob expansion). Even if it were fixed, the result of this
4710 # check would be larger than it should be.
4711 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4715 # Under GNU Hurd, this test is not required because there is
4716 # no limit to the length of command line arguments.
4717 # Libtool will interpret -1 as no limit whatsoever
4718 lt_cv_sys_max_cmd_len
=-1;
4721 cygwin
* | mingw
* | cegcc
*)
4722 # On Win9x/ME, this test blows up -- it succeeds, but takes
4723 # about 5 minutes as the teststring grows exponentially.
4724 # Worse, since 9x/ME are not pre-emptively multitasking,
4725 # you end up with a "frozen" computer, even though with patience
4726 # the test eventually succeeds (with a max line length of 256k).
4727 # Instead, let's just punt: use the minimum linelength reported by
4728 # all of the supported platforms: 8192 (on NT/2K/XP).
4729 lt_cv_sys_max_cmd_len
=8192;
4733 # On AmigaOS with pdksh, this test takes hours, literally.
4734 # So we just punt and use a minimum line length of 8192.
4735 lt_cv_sys_max_cmd_len
=8192;
4738 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4739 # This has been around since 386BSD, at least. Likely further.
4740 if test -x /sbin
/sysctl
; then
4741 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4742 elif test -x /usr
/sbin
/sysctl
; then
4743 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4745 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4747 # And add a safety zone
4748 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4749 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4753 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4754 lt_cv_sys_max_cmd_len
=196608
4758 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4759 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4760 # nice to cause kernel panics so lets avoid the loop below.
4761 # First set a reasonable default.
4762 lt_cv_sys_max_cmd_len
=16384
4764 if test -x /sbin
/sysconfig
; then
4765 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4766 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4771 lt_cv_sys_max_cmd_len
=102400
4773 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4774 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4775 if test -n "$kargmax"; then
4776 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4778 lt_cv_sys_max_cmd_len
=32768
4782 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4783 if test -n "$lt_cv_sys_max_cmd_len"; then
4784 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4785 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4787 # Make teststring a little bigger before we do anything with it.
4788 # a 1K string should be a reasonable start.
4789 for i
in 1 2 3 4 5 6 7 8 ; do
4790 teststring
=$teststring$teststring
4792 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4793 # If test is not a shell built-in, we'll probably end up computing a
4794 # maximum length that is only half of the actual maximum length, but
4796 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4797 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4798 test $i != 17 # 1/2 MB should be enough
4801 teststring
=$teststring$teststring
4803 # Only check the string length outside the loop.
4804 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4806 # Add a significant safety factor because C++ compilers can tack on
4807 # massive amounts of additional arguments before passing them to the
4808 # linker. It appears as though 1/2 is a usable value.
4809 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4816 if test -n $lt_cv_sys_max_cmd_len ; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4818 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4821 $as_echo "none" >&6; }
4823 max_cmd_len
=$lt_cv_sys_max_cmd_len
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4835 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4836 # Try some XSI features
4839 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4841 && eval 'test $(( 1 + 1 )) -eq 2 \
4842 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4845 $as_echo "$xsi_shell" >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4849 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4851 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4853 && lt_shell_append=yes
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4855 $as_echo "$lt_shell_append" >&6; }
4858 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4868 # test EBCDIC or ASCII
4869 case `echo X|tr X '\101'` in
4870 A) # ASCII based system
4871 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4872 lt_SP2NL='tr \040 \012'
4873 lt_NL2SP='tr \015\012 \040\040'
4875 *) # EBCDIC based system
4876 lt_SP2NL='tr \100 \n'
4877 lt_NL2SP='tr \r\n \100\100'
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4890 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4891 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4892 $as_echo_n "(cached
) " >&6
4894 lt_cv_ld_reload_flag='-r'
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4897 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4898 reload_flag=$lt_cv_ld_reload_flag
4899 case $reload_flag in
4901 *) reload_flag=" $reload_flag" ;;
4903 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4906 if test "$GCC" = yes; then
4907 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4909 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4922 if test -n "$ac_tool_prefix"; then
4923 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4924 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4926 $as_echo_n "checking
for $ac_word...
" >&6; }
4927 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4928 $as_echo_n "(cached
) " >&6
4930 if test -n "$OBJDUMP"; then
4931 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4940 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4950 OBJDUMP=$ac_cv_prog_OBJDUMP
4951 if test -n "$OBJDUMP"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4953 $as_echo "$OBJDUMP" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4956 $as_echo "no
" >&6; }
4961 if test -z "$ac_cv_prog_OBJDUMP"; then
4962 ac_ct_OBJDUMP=$OBJDUMP
4963 # Extract the first word of "objdump
", so it can be a program name with args.
4964 set dummy objdump; ac_word=$2
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4966 $as_echo_n "checking
for $ac_word...
" >&6; }
4967 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4968 $as_echo_n "(cached
) " >&6
4970 if test -n "$ac_ct_OBJDUMP"; then
4971 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 test -z "$as_dir" && as_dir=.
4978 for ac_exec_ext in '' $ac_executable_extensions; do
4979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4980 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4990 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4991 if test -n "$ac_ct_OBJDUMP"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4993 $as_echo "$ac_ct_OBJDUMP" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4996 $as_echo "no
" >&6; }
4999 if test "x
$ac_ct_OBJDUMP" = x; then
5002 case $cross_compiling:$ac_tool_warned in
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5005 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5006 ac_tool_warned=yes ;;
5008 OBJDUMP=$ac_ct_OBJDUMP
5011 OBJDUMP="$ac_cv_prog_OBJDUMP"
5014 test -z "$OBJDUMP" && OBJDUMP=objdump
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5025 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5026 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5027 $as_echo_n "(cached
) " >&6
5029 lt_cv_file_magic_cmd='$MAGIC_CMD'
5030 lt_cv_file_magic_test_file=
5031 lt_cv_deplibs_check_method='unknown'
5032 # Need to set the preceding variable on all platforms that support
5033 # interlibrary dependencies.
5034 # 'none' -- dependencies not supported.
5035 # `unknown' -- same as none, but documents that we really don't know.
5036 # 'pass_all' -- all dependencies passed with no checks.
5037 # 'test_compile' -- check by making test program.
5038 # 'file_magic [[regex]]' -- check by looking for files in library path
5039 # which responds to the $file_magic_cmd with a given extended regex.
5040 # If you have `file' or equivalent on your system and you're not sure
5041 # whether `pass_all' will *always* work, you probably want this one.
5045 lt_cv_deplibs_check_method=pass_all
5049 lt_cv_deplibs_check_method=pass_all
5053 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5054 lt_cv_file_magic_cmd='/usr/bin/file -L'
5055 lt_cv_file_magic_test_file=/shlib/libc.so
5059 # func_win32_libid is a shell function defined in ltmain.sh
5060 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5061 lt_cv_file_magic_cmd='func_win32_libid'
5065 # Base MSYS/MinGW do not provide the 'file' command needed by
5066 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5067 # unless we find 'file', for example because we are cross-compiling.
5068 if ( file / ) >/dev/null 2>&1; then
5069 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5070 lt_cv_file_magic_cmd='func_win32_libid'
5072 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5073 lt_cv_file_magic_cmd='$OBJDUMP -f'
5078 # use the weaker test based on 'objdump'. See mingw*.
5079 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5080 lt_cv_file_magic_cmd='$OBJDUMP -f'
5083 darwin* | rhapsody*)
5084 lt_cv_deplibs_check_method=pass_all
5087 freebsd* | dragonfly*)
5088 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5091 # Not sure whether the presence of OpenBSD here was a mistake.
5092 # Let's accept both of them until this is cleared up.
5093 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5094 lt_cv_file_magic_cmd=/usr/bin/file
5095 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5099 lt_cv_deplibs_check_method=pass_all
5104 lt_cv_deplibs_check_method=pass_all
5107 hpux10.20* | hpux11*)
5108 lt_cv_file_magic_cmd=/usr/bin/file
5111 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5112 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5115 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]'
5116 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5119 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5120 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5126 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5127 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5130 irix5* | irix6* | nonstopux*)
5132 *-32|*"-32 ") libmagic=32-bit;;
5133 *-n32|*"-n32 ") libmagic=N32;;
5134 *-64|*"-64 ") libmagic=64-bit;;
5135 *) libmagic=never-match;;
5137 lt_cv_deplibs_check_method=pass_all
5140 # This must be Linux ELF.
5141 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5142 lt_cv_deplibs_check_method=pass_all
5145 netbsd* | netbsdelf*-gnu)
5146 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5147 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5149 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5154 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5155 lt_cv_file_magic_cmd=/usr/bin/file
5156 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5160 lt_cv_deplibs_check_method=pass_all
5164 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5165 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5167 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5171 osf3* | osf4* | osf5*)
5172 lt_cv_deplibs_check_method=pass_all
5176 lt_cv_deplibs_check_method=pass_all
5180 lt_cv_deplibs_check_method=pass_all
5183 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5184 lt_cv_deplibs_check_method=pass_all
5188 case $host_vendor in
5190 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]'
5191 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5194 lt_cv_deplibs_check_method=pass_all
5197 lt_cv_file_magic_cmd='/bin/file'
5198 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5201 lt_cv_file_magic_cmd='/bin/file'
5202 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5203 lt_cv_file_magic_test_file=/lib/libc.so
5206 lt_cv_deplibs_check_method=pass_all
5209 lt_cv_deplibs_check_method=pass_all
5215 lt_cv_deplibs_check_method=pass_all
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5221 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5222 file_magic_cmd=$lt_cv_file_magic_cmd
5223 deplibs_check_method=$lt_cv_deplibs_check_method
5224 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5237 if test -n "$ac_tool_prefix"; then
5238 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5239 set dummy ${ac_tool_prefix}ar; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5241 $as_echo_n "checking
for $ac_word...
" >&6; }
5242 if test "${ac_cv_prog_AR+set}" = set; then :
5243 $as_echo_n "(cached
) " >&6
5245 if test -n "$AR"; then
5246 ac_cv_prog_AR="$AR" # Let the user override the test.
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255 ac_cv_prog_AR="${ac_tool_prefix}ar"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5266 if test -n "$AR"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5268 $as_echo "$AR" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5271 $as_echo "no
" >&6; }
5276 if test -z "$ac_cv_prog_AR"; then
5278 # Extract the first word of "ar", so it can be a program name with args.
5279 set dummy ar; ac_word=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5281 $as_echo_n "checking
for $ac_word...
" >&6; }
5282 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5283 $as_echo_n "(cached
) " >&6
5285 if test -n "$ac_ct_AR"; then
5286 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_prog_ac_ct_AR="ar"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5305 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5306 if test -n "$ac_ct_AR"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5308 $as_echo "$ac_ct_AR" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5311 $as_echo "no
" >&6; }
5314 if test "x
$ac_ct_AR" = x; then
5317 case $cross_compiling:$ac_tool_warned in
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5320 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5321 ac_tool_warned=yes ;;
5329 test -z "$AR" && AR=ar
5330 test -z "$AR_FLAGS" && AR_FLAGS=cru
5342 if test -n "$ac_tool_prefix"; then
5343 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5344 set dummy ${ac_tool_prefix}strip; ac_word=$2
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5346 $as_echo_n "checking
for $ac_word...
" >&6; }
5347 if test "${ac_cv_prog_STRIP+set}" = set; then :
5348 $as_echo_n "(cached
) " >&6
5350 if test -n "$STRIP"; then
5351 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir=.
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5360 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5370 STRIP=$ac_cv_prog_STRIP
5371 if test -n "$STRIP"; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5373 $as_echo "$STRIP" >&6; }
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5376 $as_echo "no
" >&6; }
5381 if test -z "$ac_cv_prog_STRIP"; then
5383 # Extract the first word of "strip
", so it can be a program name with args.
5384 set dummy strip; ac_word=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5386 $as_echo_n "checking
for $ac_word...
" >&6; }
5387 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5388 $as_echo_n "(cached
) " >&6
5390 if test -n "$ac_ct_STRIP"; then
5391 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 test -z "$as_dir" && as_dir=.
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5400 ac_cv_prog_ac_ct_STRIP="strip
"
5401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5410 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5411 if test -n "$ac_ct_STRIP"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5413 $as_echo "$ac_ct_STRIP" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5416 $as_echo "no
" >&6; }
5419 if test "x
$ac_ct_STRIP" = x; then
5422 case $cross_compiling:$ac_tool_warned in
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5425 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5426 ac_tool_warned=yes ;;
5431 STRIP="$ac_cv_prog_STRIP"
5434 test -z "$STRIP" && STRIP=:
5441 if test -n "$ac_tool_prefix"; then
5442 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5443 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5445 $as_echo_n "checking
for $ac_word...
" >&6; }
5446 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5447 $as_echo_n "(cached
) " >&6
5449 if test -n "$RANLIB"; then
5450 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5459 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5469 RANLIB=$ac_cv_prog_RANLIB
5470 if test -n "$RANLIB"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5472 $as_echo "$RANLIB" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5475 $as_echo "no
" >&6; }
5480 if test -z "$ac_cv_prog_RANLIB"; then
5481 ac_ct_RANLIB=$RANLIB
5482 # Extract the first word of "ranlib
", so it can be a program name with args.
5483 set dummy ranlib; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5485 $as_echo_n "checking
for $ac_word...
" >&6; }
5486 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5487 $as_echo_n "(cached
) " >&6
5489 if test -n "$ac_ct_RANLIB"; then
5490 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 test -z "$as_dir" && as_dir=.
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5499 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5509 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5510 if test -n "$ac_ct_RANLIB"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5512 $as_echo "$ac_ct_RANLIB" >&6; }
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5515 $as_echo "no
" >&6; }
5518 if test "x
$ac_ct_RANLIB" = x; then
5521 case $cross_compiling:$ac_tool_warned in
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5524 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5525 ac_tool_warned=yes ;;
5527 RANLIB=$ac_ct_RANLIB
5530 RANLIB="$ac_cv_prog_RANLIB"
5533 test -z "$RANLIB" && RANLIB=:
5540 # Determine commands to create old-style static archives.
5541 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5542 old_postinstall_cmds='chmod 644 $oldlib'
5543 old_postuninstall_cmds=
5545 if test -n "$RANLIB"; then
5548 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5551 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5554 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5590 # If no C compiler was specified, use CC.
5593 # If no C compiler flags were specified, use CFLAGS.
5594 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5596 # Allow CC to be a program name with arguments.
5600 # Check for command to grab the raw symbol name followed by C symbol from nm.
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5602 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5603 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5604 $as_echo_n "(cached
) " >&6
5607 # These are sane defaults that work on at least a few old systems.
5608 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5610 # Character class describing NM global symbol codes.
5611 symcode='[BCDEGRST]'
5613 # Regexp to match symbols that can be accessed directly from C.
5614 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5616 # Define system-specific variables.
5621 cygwin* | mingw* | pw32* | cegcc*)
5622 symcode='[ABCDGISTW]'
5625 if test "$host_cpu" = ia64; then
5626 symcode='[ABCDEGRST]'
5630 symcode='[BCDEGRST]'
5633 symcode='[BCDEGQRST]'
5644 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5652 # If we're using GNU nm, then use its standard symbol codes.
5653 case `$NM -V 2>&1` in
5654 *GNU* | *'with BFD'*)
5655 symcode='[ABCDGIRSTW]' ;;
5658 # Transform an extracted symbol line into a proper C declaration.
5659 # Some systems (esp. on ia64) link data and code symbols differently,
5660 # so use this general approach.
5661 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5663 # Transform an extracted symbol line into symbol name and symbol address
5664 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5665 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'"
5667 # Handle CRLF in mingw tool chain
5671 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5675 # Try without a prefix underscore, then with it.
5676 for ac_symprfx in "" "_
"; do
5678 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5679 symxfrm="\\1 $ac_symprfx\\2 \\2"
5681 # Write the raw and C identifiers.
5682 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5683 # Fake it for dumpbin and say T for any non-static function
5684 # and D for any global variable.
5685 # Also find C++ and __fastcall symbols from MSVC++,
5686 # which start with @ or ?.
5687 lt_cv_sys_global_symbol_pipe="$AWK '"\
5688 " {last_section=section; section=\$ 3};"\
5689 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5690 " \$ 0!~/External *\|/{next};"\
5691 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5692 " {if(hide[section]) next};"\
5693 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5694 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5695 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5696 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5697 " ' prfx
=^
$ac_symprfx"
5699 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5702 # Check to see that the pipe works correctly.
5706 cat > conftest.$ac_ext <<_LT_EOF
5711 void nm_test_func(void);
5712 void nm_test_func(void){}
5716 int main(){nm_test_var='a';nm_test_func();return(0);}
5719 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5720 (eval $ac_compile) 2>&5
5722 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5723 test $ac_status = 0; }; then
5724 # Now try to grab the symbols.
5726 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
5727 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5729 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5730 test $ac_status = 0; } && test -s "$nlist"; then
5731 # Try sorting and uniquifying the output.
5732 if sort "$nlist" | uniq > "$nlist"T; then
5733 mv -f "$nlist"T "$nlist"
5738 # Make sure that we snagged all the symbols we need.
5739 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5740 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5741 cat <<_LT_EOF > conftest.$ac_ext
5747 # Now generate the symbol file.
5748 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5750 cat <<_LT_EOF >> conftest.$ac_ext
5752 /* The mapping between symbol names and symbols. */
5757 lt__PROGRAM__LTX_preloaded_symbols[] =
5759 { "@PROGRAM@
", (void *) 0 },
5761 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5762 cat <<\_LT_EOF >> conftest.$ac_ext
5766 /* This works around a problem in FreeBSD linker */
5767 #ifdef FREEBSD_WORKAROUND
5768 static const void *lt_preloaded_setup() {
5769 return lt__PROGRAM__LTX_preloaded_symbols;
5777 # Now try linking the two files.
5778 mv conftest.$ac_objext conftstm.$ac_objext
5779 lt_save_LIBS="$LIBS"
5780 lt_save_CFLAGS="$CFLAGS"
5781 LIBS="conftstm.
$ac_objext"
5782 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5783 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5784 (eval $ac_link) 2>&5
5786 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5787 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5790 LIBS="$lt_save_LIBS"
5791 CFLAGS="$lt_save_CFLAGS"
5793 echo "cannot
find nm_test_func
in $nlist" >&5
5796 echo "cannot
find nm_test_var
in $nlist" >&5
5799 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5802 echo "$progname: failed program was
:" >&5
5803 cat conftest.$ac_ext >&5
5805 rm -rf conftest* conftst*
5807 # Do not use the global_symbol_pipe unless it works.
5808 if test "$pipe_works" = yes; then
5811 lt_cv_sys_global_symbol_pipe=
5817 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5818 lt_cv_sys_global_symbol_to_cdecl=
5820 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5822 $as_echo "failed
" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5825 $as_echo "ok
" >&6; }
5850 # Check whether --enable-libtool-lock was given.
5851 if test "${enable_libtool_lock+set}" = set; then :
5852 enableval=$enable_libtool_lock;
5855 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5857 # Some flags need to be propagated to the compiler or linker for good
5861 # Find out which ABI we are using.
5862 echo 'int i;' > conftest.$ac_ext
5863 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5864 (eval $ac_compile) 2>&5
5866 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5867 test $ac_status = 0; }; then
5868 case `/usr/bin/file conftest.$ac_objext` in
5880 # Find out which ABI we are using.
5881 echo '#line 5881 "configure
"' > conftest.$ac_ext
5882 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5883 (eval $ac_compile) 2>&5
5885 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5886 test $ac_status = 0; }; then
5887 if test "$lt_cv_prog_gnu_ld" = yes; then
5888 case `/usr/bin/file conftest.$ac_objext` in
5890 LD="${LD-ld} -melf32bsmip"
5893 LD="${LD-ld} -melf32bmipn32"
5896 LD="${LD-ld} -melf64bmip"
5900 case `/usr/bin/file conftest.$ac_objext` in
5916 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5917 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5918 # Find out which ABI we are using.
5919 echo 'int i;' > conftest.$ac_ext
5920 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5921 (eval $ac_compile) 2>&5
5923 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5924 test $ac_status = 0; }; then
5925 case `/usr/bin/file conftest.o` in
5928 x86_64-*kfreebsd*-gnu)
5929 LD="${LD-ld} -m elf_i386_fbsd
"
5932 LD="${LD-ld} -m elf_i386
"
5934 ppc64-*linux*|powerpc64-*linux*)
5935 LD="${LD-ld} -m elf32ppclinux
"
5938 LD="${LD-ld} -m elf_s390
"
5941 LD="${LD-ld} -m elf32_sparc
"
5947 x86_64-*kfreebsd*-gnu)
5948 LD="${LD-ld} -m elf_x86_64_fbsd
"
5951 LD="${LD-ld} -m elf_x86_64
"
5953 ppc*-*linux*|powerpc*-*linux*)
5954 LD="${LD-ld} -m elf64ppc
"
5956 s390*-*linux*|s390*-*tpf*)
5957 LD="${LD-ld} -m elf64_s390
"
5960 LD="${LD-ld} -m elf64_sparc
"
5970 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5971 SAVE_CFLAGS="$CFLAGS"
5972 CFLAGS="$CFLAGS -belf"
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5974 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5975 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5976 $as_echo_n "(cached
) " >&6
5979 ac_cpp='$CPP $CPPFLAGS'
5980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5985 /* end confdefs.h. */
5995 if ac_fn_c_try_link "$LINENO"; then :
5996 lt_cv_cc_needs_belf=yes
5998 lt_cv_cc_needs_belf=no
6000 rm -f core conftest.err conftest.$ac_objext \
6001 conftest$ac_exeext conftest.$ac_ext
6003 ac_cpp='$CPP $CPPFLAGS'
6004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6010 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6011 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6012 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6013 CFLAGS="$SAVE_CFLAGS"
6017 # Find out which ABI we are using.
6018 echo 'int i;' > conftest.$ac_ext
6019 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6020 (eval $ac_compile) 2>&5
6022 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6023 test $ac_status = 0; }; then
6024 case `/usr/bin/file conftest.o` in
6026 case $lt_cv_prog_gnu_ld in
6027 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6029 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6041 need_locks="$enable_libtool_lock"
6045 rhapsody* | darwin*)
6046 if test -n "$ac_tool_prefix"; then
6047 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6048 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6050 $as_echo_n "checking
for $ac_word...
" >&6; }
6051 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6052 $as_echo_n "(cached
) " >&6
6054 if test -n "$DSYMUTIL"; then
6055 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6074 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6075 if test -n "$DSYMUTIL"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6077 $as_echo "$DSYMUTIL" >&6; }
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6080 $as_echo "no
" >&6; }
6085 if test -z "$ac_cv_prog_DSYMUTIL"; then
6086 ac_ct_DSYMUTIL=$DSYMUTIL
6087 # Extract the first word of "dsymutil
", so it can be a program name with args.
6088 set dummy dsymutil; ac_word=$2
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6090 $as_echo_n "checking
for $ac_word...
" >&6; }
6091 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6092 $as_echo_n "(cached
) " >&6
6094 if test -n "$ac_ct_DSYMUTIL"; then
6095 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6114 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6115 if test -n "$ac_ct_DSYMUTIL"; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6117 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6120 $as_echo "no
" >&6; }
6123 if test "x
$ac_ct_DSYMUTIL" = x; then
6126 case $cross_compiling:$ac_tool_warned in
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6129 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6130 ac_tool_warned=yes ;;
6132 DSYMUTIL=$ac_ct_DSYMUTIL
6135 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6138 if test -n "$ac_tool_prefix"; then
6139 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6140 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6142 $as_echo_n "checking
for $ac_word...
" >&6; }
6143 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6144 $as_echo_n "(cached
) " >&6
6146 if test -n "$NMEDIT"; then
6147 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6156 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6166 NMEDIT=$ac_cv_prog_NMEDIT
6167 if test -n "$NMEDIT"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6169 $as_echo "$NMEDIT" >&6; }
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6172 $as_echo "no
" >&6; }
6177 if test -z "$ac_cv_prog_NMEDIT"; then
6178 ac_ct_NMEDIT=$NMEDIT
6179 # Extract the first word of "nmedit
", so it can be a program name with args.
6180 set dummy nmedit; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6182 $as_echo_n "checking
for $ac_word...
" >&6; }
6183 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6184 $as_echo_n "(cached
) " >&6
6186 if test -n "$ac_ct_NMEDIT"; then
6187 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 test -z "$as_dir" && as_dir=.
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6196 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6206 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6207 if test -n "$ac_ct_NMEDIT"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6209 $as_echo "$ac_ct_NMEDIT" >&6; }
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6212 $as_echo "no
" >&6; }
6215 if test "x
$ac_ct_NMEDIT" = x; then
6218 case $cross_compiling:$ac_tool_warned in
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6221 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6222 ac_tool_warned=yes ;;
6224 NMEDIT=$ac_ct_NMEDIT
6227 NMEDIT="$ac_cv_prog_NMEDIT"
6230 if test -n "$ac_tool_prefix"; then
6231 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6232 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6234 $as_echo_n "checking
for $ac_word...
" >&6; }
6235 if test "${ac_cv_prog_LIPO+set}" = set; then :
6236 $as_echo_n "(cached
) " >&6
6238 if test -n "$LIPO"; then
6239 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6248 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6258 LIPO=$ac_cv_prog_LIPO
6259 if test -n "$LIPO"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6261 $as_echo "$LIPO" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6264 $as_echo "no
" >&6; }
6269 if test -z "$ac_cv_prog_LIPO"; then
6271 # Extract the first word of "lipo
", so it can be a program name with args.
6272 set dummy lipo; ac_word=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6274 $as_echo_n "checking
for $ac_word...
" >&6; }
6275 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6276 $as_echo_n "(cached
) " >&6
6278 if test -n "$ac_ct_LIPO"; then
6279 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 ac_cv_prog_ac_ct_LIPO="lipo
"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6298 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6299 if test -n "$ac_ct_LIPO"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6301 $as_echo "$ac_ct_LIPO" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6304 $as_echo "no
" >&6; }
6307 if test "x
$ac_ct_LIPO" = x; then
6310 case $cross_compiling:$ac_tool_warned in
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6313 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6314 ac_tool_warned=yes ;;
6319 LIPO="$ac_cv_prog_LIPO"
6322 if test -n "$ac_tool_prefix"; then
6323 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6324 set dummy ${ac_tool_prefix}otool; ac_word=$2
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6326 $as_echo_n "checking
for $ac_word...
" >&6; }
6327 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6328 $as_echo_n "(cached
) " >&6
6330 if test -n "$OTOOL"; then
6331 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 test -z "$as_dir" && as_dir=.
6338 for ac_exec_ext in '' $ac_executable_extensions; do
6339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6341 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6350 OTOOL=$ac_cv_prog_OTOOL
6351 if test -n "$OTOOL"; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6353 $as_echo "$OTOOL" >&6; }
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6356 $as_echo "no
" >&6; }
6361 if test -z "$ac_cv_prog_OTOOL"; then
6363 # Extract the first word of "otool
", so it can be a program name with args.
6364 set dummy otool; ac_word=$2
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6366 $as_echo_n "checking
for $ac_word...
" >&6; }
6367 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6368 $as_echo_n "(cached
) " >&6
6370 if test -n "$ac_ct_OTOOL"; then
6371 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 test -z "$as_dir" && as_dir=.
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380 ac_cv_prog_ac_ct_OTOOL="otool
"
6381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6390 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6391 if test -n "$ac_ct_OTOOL"; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6393 $as_echo "$ac_ct_OTOOL" >&6; }
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6396 $as_echo "no
" >&6; }
6399 if test "x
$ac_ct_OTOOL" = x; then
6402 case $cross_compiling:$ac_tool_warned in
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6405 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6406 ac_tool_warned=yes ;;
6411 OTOOL="$ac_cv_prog_OTOOL"
6414 if test -n "$ac_tool_prefix"; then
6415 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6416 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6418 $as_echo_n "checking
for $ac_word...
" >&6; }
6419 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6420 $as_echo_n "(cached
) " >&6
6422 if test -n "$OTOOL64"; then
6423 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429 test -z "$as_dir" && as_dir=.
6430 for ac_exec_ext in '' $ac_executable_extensions; do
6431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6432 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6442 OTOOL64=$ac_cv_prog_OTOOL64
6443 if test -n "$OTOOL64"; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6445 $as_echo "$OTOOL64" >&6; }
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6448 $as_echo "no
" >&6; }
6453 if test -z "$ac_cv_prog_OTOOL64"; then
6454 ac_ct_OTOOL64=$OTOOL64
6455 # Extract the first word of "otool64
", so it can be a program name with args.
6456 set dummy otool64; ac_word=$2
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6458 $as_echo_n "checking
for $ac_word...
" >&6; }
6459 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6460 $as_echo_n "(cached
) " >&6
6462 if test -n "$ac_ct_OTOOL64"; then
6463 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6482 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6483 if test -n "$ac_ct_OTOOL64"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6485 $as_echo "$ac_ct_OTOOL64" >&6; }
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6488 $as_echo "no
" >&6; }
6491 if test "x
$ac_ct_OTOOL64" = x; then
6494 case $cross_compiling:$ac_tool_warned in
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6497 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6498 ac_tool_warned=yes ;;
6500 OTOOL64=$ac_ct_OTOOL64
6503 OTOOL64="$ac_cv_prog_OTOOL64"
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6533 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6534 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6535 $as_echo_n "(cached
) " >&6
6537 lt_cv_apple_cc_single_mod=no
6538 if test -z "${LT_MULTI_MODULE}"; then
6539 # By default we will add the -single_module flag. You can override
6540 # by either setting the environment variable LT_MULTI_MODULE
6541 # non-empty at configure time, or by adding -multi_module to the
6543 rm -rf libconftest.dylib*
6544 echo "int foo
(void
){return 1;}" > conftest.c
6545 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6546 -dynamiclib -Wl,-single_module conftest.c
" >&5
6547 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6548 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6550 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6551 lt_cv_apple_cc_single_mod=yes
6553 cat conftest.err >&5
6555 rm -rf libconftest.dylib*
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6560 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6562 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6563 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6564 $as_echo_n "(cached
) " >&6
6566 lt_cv_ld_exported_symbols_list=no
6567 save_LDFLAGS=$LDFLAGS
6568 echo "_main
" > conftest.sym
6569 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6581 if ac_fn_c_try_link "$LINENO"; then :
6582 lt_cv_ld_exported_symbols_list=yes
6584 lt_cv_ld_exported_symbols_list=no
6586 rm -f core conftest.err conftest.$ac_objext \
6587 conftest$ac_exeext conftest.$ac_ext
6588 LDFLAGS="$save_LDFLAGS"
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6592 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6594 rhapsody* | darwin1.[012])
6595 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6597 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6598 darwin*) # darwin 5.x on
6599 # if running on 10.5 or later, the deployment target defaults
6600 # to the OS version, if on x86, and 10.4, the deployment
6601 # target defaults to 10.4. Don't you love it?
6602 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6603 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6604 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6606 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6608 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6612 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6613 _lt_dar_single_mod='$single_module'
6615 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6616 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6618 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6620 if test "$DSYMUTIL" != ":"; then
6621 _lt_dsymutil='~$DSYMUTIL $lib || :'
6629 ac_cpp='$CPP $CPPFLAGS'
6630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6634 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6635 # On Suns, sometimes $CPP names a directory.
6636 if test -n "$CPP" && test -d "$CPP"; then
6639 if test -z "$CPP"; then
6640 if test "${ac_cv_prog_CPP+set}" = set; then :
6641 $as_echo_n "(cached
) " >&6
6643 # Double quotes because CPP needs to be expanded
6644 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6647 for ac_c_preproc_warn_flag in '' yes
6649 # Use a header file that comes with gcc, so configuring glibc
6650 # with a fresh cross-compiler works.
6651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6652 # <limits.h> exists even on freestanding compilers.
6653 # On the NeXT, cc -E runs the code through the compiler's parser,
6654 # not just through cpp. "Syntax error
" is here to catch this case.
6655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6656 /* end confdefs.h. */
6658 # include <limits.h>
6660 # include <assert.h>
6664 if ac_fn_c_try_cpp "$LINENO"; then :
6667 # Broken: fails on valid input.
6670 rm -f conftest.err conftest.i conftest.$ac_ext
6672 # OK, works on sane cases. Now check whether nonexistent headers
6673 # can be detected and how.
6674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6675 /* end confdefs.h. */
6676 #include <ac_nonexistent.h>
6678 if ac_fn_c_try_cpp "$LINENO"; then :
6679 # Broken: success on invalid input.
6682 # Passes both tests.
6686 rm -f conftest.err conftest.i conftest.$ac_ext
6689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6690 rm -f conftest.i conftest.err conftest.$ac_ext
6691 if $ac_preproc_ok; then :
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6704 $as_echo "$CPP" >&6; }
6706 for ac_c_preproc_warn_flag in '' yes
6708 # Use a header file that comes with gcc, so configuring glibc
6709 # with a fresh cross-compiler works.
6710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6711 # <limits.h> exists even on freestanding compilers.
6712 # On the NeXT, cc -E runs the code through the compiler's parser,
6713 # not just through cpp. "Syntax error
" is here to catch this case.
6714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6717 # include <limits.h>
6719 # include <assert.h>
6723 if ac_fn_c_try_cpp "$LINENO"; then :
6726 # Broken: fails on valid input.
6729 rm -f conftest.err conftest.i conftest.$ac_ext
6731 # OK, works on sane cases. Now check whether nonexistent headers
6732 # can be detected and how.
6733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6734 /* end confdefs.h. */
6735 #include <ac_nonexistent.h>
6737 if ac_fn_c_try_cpp "$LINENO"; then :
6738 # Broken: success on invalid input.
6741 # Passes both tests.
6745 rm -f conftest.err conftest.i conftest.$ac_ext
6748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6749 rm -f conftest.i conftest.err conftest.$ac_ext
6750 if $ac_preproc_ok; then :
6753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6755 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6756 See \`config.log' for more details
" "$LINENO" 5 ; }
6760 ac_cpp='$CPP $CPPFLAGS'
6761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6767 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6768 if test "${ac_cv_header_stdc+set}" = set; then :
6769 $as_echo_n "(cached
) " >&6
6771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6772 /* end confdefs.h. */
6786 if ac_fn_c_try_compile "$LINENO"; then :
6787 ac_cv_header_stdc=yes
6789 ac_cv_header_stdc=no
6791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6793 if test $ac_cv_header_stdc = yes; then
6794 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6796 /* end confdefs.h. */
6800 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6801 $EGREP "memchr
" >/dev/null 2>&1; then :
6804 ac_cv_header_stdc=no
6810 if test $ac_cv_header_stdc = yes; then
6811 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6813 /* end confdefs.h. */
6817 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6818 $EGREP "free
" >/dev/null 2>&1; then :
6821 ac_cv_header_stdc=no
6827 if test $ac_cv_header_stdc = yes; then
6828 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6829 if test "$cross_compiling" = yes; then :
6832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6836 #if ((' ' & 0x0FF) == 0x020)
6837 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6838 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6840 # define ISLOWER(c) \
6841 (('a' <= (c) && (c) <= 'i') \
6842 || ('j' <= (c) && (c) <= 'r') \
6843 || ('s' <= (c) && (c) <= 'z'))
6844 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6847 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6852 for (i = 0; i < 256; i++)
6853 if (XOR (islower (i), ISLOWER (i))
6854 || toupper (i) != TOUPPER (i))
6859 if ac_fn_c_try_run "$LINENO"; then :
6862 ac_cv_header_stdc=no
6864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6865 conftest.$ac_objext conftest.beam conftest.$ac_ext
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6871 $as_echo "$ac_cv_header_stdc" >&6; }
6872 if test $ac_cv_header_stdc = yes; then
6874 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6878 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6879 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6880 inttypes.h stdint.h unistd.h
6882 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6883 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6885 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6886 cat >>confdefs.h
<<_ACEOF
6887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6895 for ac_header
in dlfcn.h
6897 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6899 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6900 cat >>confdefs.h
<<_ACEOF
6901 #define HAVE_DLFCN_H 1
6920 # Check whether --enable-shared was given.
6921 if test "${enable_shared+set}" = set; then :
6922 enableval
=$enable_shared; p
=${PACKAGE-default}
6924 yes) enable_shared
=yes ;;
6925 no
) enable_shared
=no
;;
6928 # Look at the argument we got. We use all the common list separators.
6929 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6930 for pkg
in $enableval; do
6932 if test "X$pkg" = "X$p"; then
6951 # Check whether --enable-static was given.
6952 if test "${enable_static+set}" = set; then :
6953 enableval
=$enable_static; p
=${PACKAGE-default}
6955 yes) enable_static
=yes ;;
6956 no
) enable_static
=no
;;
6959 # Look at the argument we got. We use all the common list separators.
6960 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6961 for pkg
in $enableval; do
6963 if test "X$pkg" = "X$p"; then
6983 # Check whether --with-pic was given.
6984 if test "${with_pic+set}" = set; then :
6985 withval
=$with_pic; pic_mode
="$withval"
6991 test -z "$pic_mode" && pic_mode
=default
6999 # Check whether --enable-fast-install was given.
7000 if test "${enable_fast_install+set}" = set; then :
7001 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7003 yes) enable_fast_install
=yes ;;
7004 no
) enable_fast_install
=no
;;
7006 enable_fast_install
=no
7007 # Look at the argument we got. We use all the common list separators.
7008 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7009 for pkg
in $enableval; do
7011 if test "X$pkg" = "X$p"; then
7012 enable_fast_install
=yes
7019 enable_fast_install
=yes
7032 # This can be used to rebuild libtool when needed
7033 LIBTOOL_DEPS
="$ltmain"
7035 # Always use our own libtool.
7036 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7062 test -z "$LN_S" && LN_S
="ln -s"
7077 if test -n "${ZSH_VERSION+set}" ; then
7078 setopt NO_GLOB_SUBST
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7082 $as_echo_n "checking for objdir... " >&6; }
7083 if test "${lt_cv_objdir+set}" = set; then :
7084 $as_echo_n "(cached) " >&6
7086 rm -f .libs
2>/dev
/null
7087 mkdir .libs
2>/dev
/null
7088 if test -d .libs
; then
7091 # MS-DOS does not allow filenames that begin with a dot.
7094 rmdir .libs
2>/dev
/null
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7097 $as_echo "$lt_cv_objdir" >&6; }
7098 objdir
=$lt_cv_objdir
7104 cat >>confdefs.h
<<_ACEOF
7105 #define LT_OBJDIR "$lt_cv_objdir/"
7126 # AIX sometimes has problems with the GCC collect2 program. For some
7127 # reason, if we set the COLLECT_NAMES environment variable, the problems
7128 # vanish in a puff of smoke.
7129 if test "X${COLLECT_NAMES+set}" != Xset
; then
7131 export COLLECT_NAMES
7136 # Sed substitution that helps us do robust quoting. It backslashifies
7137 # metacharacters that are still active within double-quoted strings.
7138 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7140 # Same as above, but do not quote variable references.
7141 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7143 # Sed substitution to delay expansion of an escaped shell variable in a
7144 # double_quote_subst'ed string.
7145 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7147 # Sed substitution to delay expansion of an escaped single quote.
7148 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7150 # Sed substitution to avoid accidental globbing in evaled expressions
7151 no_glob_subst
='s/\*/\\\*/g'
7155 can_build_shared
=yes
7157 # All known linkers require a `.a' archive for static linking (except MSVC,
7158 # which needs '.lib').
7161 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7164 old_CFLAGS
="$CFLAGS"
7166 # Set sane defaults for various variables
7167 test -z "$CC" && CC
=cc
7168 test -z "$LTCC" && LTCC
=$CC
7169 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7170 test -z "$LD" && LD
=ld
7171 test -z "$ac_objext" && ac_objext
=o
7173 for cc_temp
in $compiler""; do
7175 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7176 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7181 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7184 # Only perform the check for file, if the check method requires it
7185 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7186 case $deplibs_check_method in
7188 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7190 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7191 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7192 $as_echo_n "(cached) " >&6
7196 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7199 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7200 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7201 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7202 for ac_dir
in $ac_dummy; do
7204 test -z "$ac_dir" && ac_dir
=.
7205 if test -f $ac_dir/${ac_tool_prefix}file; then
7206 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7207 if test -n "$file_magic_test_file"; then
7208 case $deplibs_check_method in
7210 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7211 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7212 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7213 $EGREP "$file_magic_regex" > /dev
/null
; then
7218 *** Warning: the command libtool uses to detect shared libraries,
7219 *** $file_magic_cmd, produces output that libtool cannot recognize.
7220 *** The result is that libtool may fail to recognize shared libraries
7221 *** as such. This will affect the creation of libtool libraries that
7222 *** depend on shared libraries, but programs linked with such libtool
7223 *** libraries will work regardless of this problem. Nevertheless, you
7224 *** may want to report the problem to your system manager and/or to
7225 *** bug-libtool@gnu.org
7235 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7240 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7241 if test -n "$MAGIC_CMD"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7243 $as_echo "$MAGIC_CMD" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7253 if test -z "$lt_cv_path_MAGIC_CMD"; then
7254 if test -n "$ac_tool_prefix"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7256 $as_echo_n "checking for file... " >&6; }
7257 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7258 $as_echo_n "(cached) " >&6
7262 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7265 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7266 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7267 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7268 for ac_dir
in $ac_dummy; do
7270 test -z "$ac_dir" && ac_dir
=.
7271 if test -f $ac_dir/file; then
7272 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7273 if test -n "$file_magic_test_file"; then
7274 case $deplibs_check_method in
7276 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7277 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7278 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7279 $EGREP "$file_magic_regex" > /dev
/null
; then
7284 *** Warning: the command libtool uses to detect shared libraries,
7285 *** $file_magic_cmd, produces output that libtool cannot recognize.
7286 *** The result is that libtool may fail to recognize shared libraries
7287 *** as such. This will affect the creation of libtool libraries that
7288 *** depend on shared libraries, but programs linked with such libtool
7289 *** libraries will work regardless of this problem. Nevertheless, you
7290 *** may want to report the problem to your system manager and/or to
7291 *** bug-libtool@gnu.org
7301 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7306 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7307 if test -n "$MAGIC_CMD"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7309 $as_echo "$MAGIC_CMD" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7325 # Use C for the default configuration in the libtool script
7329 ac_cpp
='$CPP $CPPFLAGS'
7330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7335 # Source file extension for C test sources.
7338 # Object file extension for compiled C test sources.
7342 # Code to be used in simple compile tests
7343 lt_simple_compile_test_code
="int some_variable = 0;"
7345 # Code to be used in simple link tests
7346 lt_simple_link_test_code
='int main(){return(0);}'
7354 # If no C compiler was specified, use CC.
7357 # If no C compiler flags were specified, use CFLAGS.
7358 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7360 # Allow CC to be a program name with arguments.
7363 # Save the default compiler, since it gets overwritten when the other
7364 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7365 compiler_DEFAULT
=$CC
7367 # save warnings/boilerplate of simple test code
7368 ac_outfile
=conftest.
$ac_objext
7369 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7370 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7371 _lt_compiler_boilerplate
=`cat conftest.err`
7374 ac_outfile
=conftest.
$ac_objext
7375 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7376 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7377 _lt_linker_boilerplate
=`cat conftest.err`
7382 ## There is no encapsulation within the following macros, do not change
7383 ## the running order or otherwise move them around unless you know exactly
7384 ## what you are doing...
7385 if test -n "$compiler"; then
7387 lt_prog_compiler_no_builtin_flag
=
7389 if test "$GCC" = yes; then
7390 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7393 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7394 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7395 $as_echo_n "(cached) " >&6
7397 lt_cv_prog_compiler_rtti_exceptions
=no
7398 ac_outfile
=conftest.
$ac_objext
7399 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7400 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7401 # Insert the option either (1) after the last *FLAGS variable, or
7402 # (2) before a word containing "conftest.", or (3) at the end.
7403 # Note that $ac_compile itself does not contain backslashes and begins
7404 # with a dollar sign (not a hyphen), so the echo should work correctly.
7405 # The option is referenced via a variable to avoid confusing sed.
7406 lt_compile
=`echo "$ac_compile" | $SED \
7407 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7409 -e 's:$: $lt_compiler_flag:'`
7410 (eval echo "\"\$as_me:7410: $lt_compile\"" >&5)
7411 (eval "$lt_compile" 2>conftest.err
)
7413 cat conftest.err
>&5
7414 echo "$as_me:7414: \$? = $ac_status" >&5
7415 if (exit $ac_status) && test -s "$ac_outfile"; then
7416 # The compiler can only warn and ignore the option if not recognized
7417 # So say no if there are warnings other than the usual output.
7418 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7419 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7420 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7421 lt_cv_prog_compiler_rtti_exceptions
=yes
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7428 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7430 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7431 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7443 lt_prog_compiler_wl
=
7444 lt_prog_compiler_pic
=
7445 lt_prog_compiler_static
=
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7448 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7450 if test "$GCC" = yes; then
7451 lt_prog_compiler_wl
='-Wl,'
7452 lt_prog_compiler_static
='-static'
7456 # All AIX code is PIC.
7457 if test "$host_cpu" = ia64
; then
7458 # AIX 5 now supports IA64 processor
7459 lt_prog_compiler_static
='-Bstatic'
7466 # see comment about AmigaOS4 .so support
7467 lt_prog_compiler_pic
='-fPIC'
7470 # FIXME: we need at least 68020 code to build shared libraries, but
7471 # adding the `-m68020' flag to GCC prevents building anything better,
7473 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7478 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7479 # PIC is the default for these OSes.
7482 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7483 # This hack is so that the source file can tell whether it is being
7484 # built for inclusion in a dll (and should export symbols for example).
7485 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7486 # (--disable-auto-import) libraries
7487 lt_prog_compiler_pic
='-DDLL_EXPORT'
7490 darwin
* | rhapsody
*)
7491 # PIC is the default on this platform
7492 # Common symbols not allowed in MH_DYLIB files
7493 lt_prog_compiler_pic
='-fno-common'
7497 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7498 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7499 # sets the default TLS model and affects inlining.
7505 lt_prog_compiler_pic
='-fPIC'
7511 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7512 # Instead, we relocate shared libraries at runtime.
7516 # Just because we use GCC doesn't mean we suddenly get shared libraries
7517 # on systems that don't support them.
7518 lt_prog_compiler_can_build_shared
=no
7523 # QNX uses GNU C++, but need to define -shared option too, otherwise
7525 lt_prog_compiler_pic
='-fPIC -shared'
7529 if test -d /usr
/nec
; then
7530 lt_prog_compiler_pic
=-Kconform_pic
7535 lt_prog_compiler_pic
='-fPIC'
7539 # PORTME Check for flag to pass linker flags through the system compiler.
7542 lt_prog_compiler_wl
='-Wl,'
7543 if test "$host_cpu" = ia64
; then
7544 # AIX 5 now supports IA64 processor
7545 lt_prog_compiler_static
='-Bstatic'
7547 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7551 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7552 # This hack is so that the source file can tell whether it is being
7553 # built for inclusion in a dll (and should export symbols for example).
7554 lt_prog_compiler_pic
='-DDLL_EXPORT'
7557 hpux9
* | hpux10
* | hpux11
*)
7558 lt_prog_compiler_wl
='-Wl,'
7559 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7566 lt_prog_compiler_pic
='+Z'
7569 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7570 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7573 irix5
* | irix6
* | nonstopux
*)
7574 lt_prog_compiler_wl
='-Wl,'
7575 # PIC (with -KPIC) is the default.
7576 lt_prog_compiler_static
='-non_shared'
7579 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7580 case $cc_basename in
7581 # old Intel for x86_64 which still supported -KPIC.
7583 lt_prog_compiler_wl
='-Wl,'
7584 lt_prog_compiler_pic
='-KPIC'
7585 lt_prog_compiler_static
='-static'
7587 # icc used to be incompatible with GCC.
7588 # ICC 10 doesn't accept -KPIC any more.
7590 lt_prog_compiler_wl
='-Wl,'
7591 lt_prog_compiler_pic
='-fPIC'
7592 lt_prog_compiler_static
='-static'
7594 # Lahey Fortran 8.1.
7596 lt_prog_compiler_wl
='-Wl,'
7597 lt_prog_compiler_pic
='--shared'
7598 lt_prog_compiler_static
='--static'
7600 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7601 # Portland Group compilers (*not* the Pentium gcc compiler,
7602 # which looks to be a dead project)
7603 lt_prog_compiler_wl
='-Wl,'
7604 lt_prog_compiler_pic
='-fpic'
7605 lt_prog_compiler_static
='-Bstatic'
7608 lt_prog_compiler_wl
='-Wl,'
7609 # All Alpha code is PIC.
7610 lt_prog_compiler_static
='-non_shared'
7613 # IBM XL C 8.0/Fortran 10.1 on PPC
7614 lt_prog_compiler_wl
='-Wl,'
7615 lt_prog_compiler_pic
='-qpic'
7616 lt_prog_compiler_static
='-qstaticlink'
7619 case `$CC -V 2>&1 | sed 5q` in
7622 lt_prog_compiler_pic
='-KPIC'
7623 lt_prog_compiler_static
='-Bstatic'
7624 lt_prog_compiler_wl
='-Wl,'
7627 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7628 lt_prog_compiler_pic
='-KPIC'
7629 lt_prog_compiler_static
='-Bstatic'
7630 lt_prog_compiler_wl
=''
7638 lt_prog_compiler_pic
='-KPIC'
7639 lt_prog_compiler_static
='-Bstatic'
7643 # QNX uses GNU C++, but need to define -shared option too, otherwise
7645 lt_prog_compiler_pic
='-fPIC -shared'
7648 osf3
* | osf4
* | osf5
*)
7649 lt_prog_compiler_wl
='-Wl,'
7650 # All OSF/1 code is PIC.
7651 lt_prog_compiler_static
='-non_shared'
7655 lt_prog_compiler_static
='-non_shared'
7659 lt_prog_compiler_pic
='-KPIC'
7660 lt_prog_compiler_static
='-Bstatic'
7661 case $cc_basename in
7663 lt_prog_compiler_wl
='-Qoption ld ';;
7665 lt_prog_compiler_wl
='-Wl,';;
7670 lt_prog_compiler_wl
='-Qoption ld '
7671 lt_prog_compiler_pic
='-PIC'
7672 lt_prog_compiler_static
='-Bstatic'
7675 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7676 lt_prog_compiler_wl
='-Wl,'
7677 lt_prog_compiler_pic
='-KPIC'
7678 lt_prog_compiler_static
='-Bstatic'
7682 if test -d /usr
/nec
;then
7683 lt_prog_compiler_pic
='-Kconform_pic'
7684 lt_prog_compiler_static
='-Bstatic'
7688 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7689 lt_prog_compiler_wl
='-Wl,'
7690 lt_prog_compiler_pic
='-KPIC'
7691 lt_prog_compiler_static
='-Bstatic'
7695 lt_prog_compiler_wl
='-Wl,'
7696 lt_prog_compiler_can_build_shared
=no
7700 lt_prog_compiler_pic
='-pic'
7701 lt_prog_compiler_static
='-Bstatic'
7705 lt_prog_compiler_can_build_shared
=no
7711 # For platforms which do not support PIC, -DPIC is meaningless:
7713 lt_prog_compiler_pic
=
7716 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7720 $as_echo "$lt_prog_compiler_pic" >&6; }
7728 # Check to make sure the PIC flag actually works.
7730 if test -n "$lt_prog_compiler_pic"; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7732 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7733 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7734 $as_echo_n "(cached) " >&6
7736 lt_cv_prog_compiler_pic_works
=no
7737 ac_outfile
=conftest.
$ac_objext
7738 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7739 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7740 # Insert the option either (1) after the last *FLAGS variable, or
7741 # (2) before a word containing "conftest.", or (3) at the end.
7742 # Note that $ac_compile itself does not contain backslashes and begins
7743 # with a dollar sign (not a hyphen), so the echo should work correctly.
7744 # The option is referenced via a variable to avoid confusing sed.
7745 lt_compile
=`echo "$ac_compile" | $SED \
7746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7748 -e 's:$: $lt_compiler_flag:'`
7749 (eval echo "\"\$as_me:7749: $lt_compile\"" >&5)
7750 (eval "$lt_compile" 2>conftest.err
)
7752 cat conftest.err
>&5
7753 echo "$as_me:7753: \$? = $ac_status" >&5
7754 if (exit $ac_status) && test -s "$ac_outfile"; then
7755 # The compiler can only warn and ignore the option if not recognized
7756 # So say no if there are warnings other than the usual output.
7757 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7758 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7759 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7760 lt_cv_prog_compiler_pic_works
=yes
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7767 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7769 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7770 case $lt_prog_compiler_pic in
7772 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7775 lt_prog_compiler_pic
=
7776 lt_prog_compiler_can_build_shared
=no
7787 # Check to make sure the static flag actually works.
7789 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7791 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7792 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7793 $as_echo_n "(cached) " >&6
7795 lt_cv_prog_compiler_static_works
=no
7796 save_LDFLAGS
="$LDFLAGS"
7797 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7798 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7799 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7800 # The linker can only warn and ignore the option if not recognized
7801 # So say no if there are warnings
7802 if test -s conftest.err
; then
7803 # Append any errors to the config.log.
7804 cat conftest.err
1>&5
7805 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7806 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7807 if diff conftest.exp conftest.er2
>/dev
/null
; then
7808 lt_cv_prog_compiler_static_works
=yes
7811 lt_cv_prog_compiler_static_works
=yes
7815 LDFLAGS
="$save_LDFLAGS"
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7819 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7821 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7824 lt_prog_compiler_static
=
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7834 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7835 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7836 $as_echo_n "(cached) " >&6
7838 lt_cv_prog_compiler_c_o
=no
7839 $RM -r conftest
2>/dev
/null
7843 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7845 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7846 # Insert the option either (1) after the last *FLAGS variable, or
7847 # (2) before a word containing "conftest.", or (3) at the end.
7848 # Note that $ac_compile itself does not contain backslashes and begins
7849 # with a dollar sign (not a hyphen), so the echo should work correctly.
7850 lt_compile
=`echo "$ac_compile" | $SED \
7851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7853 -e 's:$: $lt_compiler_flag:'`
7854 (eval echo "\"\$as_me:7854: $lt_compile\"" >&5)
7855 (eval "$lt_compile" 2>out
/conftest.err
)
7857 cat out
/conftest.err
>&5
7858 echo "$as_me:7858: \$? = $ac_status" >&5
7859 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7861 # The compiler can only warn and ignore the option if not recognized
7862 # So say no if there are warnings
7863 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7864 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7865 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7866 lt_cv_prog_compiler_c_o
=yes
7871 # SGI C++ compiler will create directory out/ii_files/ for
7872 # template instantiation
7873 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7874 $RM out
/* && rmdir out
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7881 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7889 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7890 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7893 lt_cv_prog_compiler_c_o
=no
7894 $RM -r conftest
2>/dev
/null
7898 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7900 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7901 # Insert the option either (1) after the last *FLAGS variable, or
7902 # (2) before a word containing "conftest.", or (3) at the end.
7903 # Note that $ac_compile itself does not contain backslashes and begins
7904 # with a dollar sign (not a hyphen), so the echo should work correctly.
7905 lt_compile
=`echo "$ac_compile" | $SED \
7906 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7907 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7908 -e 's:$: $lt_compiler_flag:'`
7909 (eval echo "\"\$as_me:7909: $lt_compile\"" >&5)
7910 (eval "$lt_compile" 2>out
/conftest.err
)
7912 cat out
/conftest.err
>&5
7913 echo "$as_me:7913: \$? = $ac_status" >&5
7914 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7916 # The compiler can only warn and ignore the option if not recognized
7917 # So say no if there are warnings
7918 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7919 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7920 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7921 lt_cv_prog_compiler_c_o
=yes
7926 # SGI C++ compiler will create directory out/ii_files/ for
7927 # template instantiation
7928 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7929 $RM out
/* && rmdir out
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7936 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7941 hard_links
="nottested"
7942 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7943 # do not overwrite the value of need_locks provided by the user
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7945 $as_echo_n "checking if we can lock with hard links... " >&6; }
7948 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7950 ln conftest.a conftest.b
2>&5 || hard_links
=no
7951 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7953 $as_echo "$hard_links" >&6; }
7954 if test "$hard_links" = no
; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7956 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7969 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7972 allow_undefined_flag
=
7973 always_export_symbols
=no
7975 archive_expsym_cmds
=
7976 compiler_needs_object
=no
7977 enable_shared_with_static_runtimes
=no
7978 export_dynamic_flag_spec
=
7979 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7980 hardcode_automatic
=no
7982 hardcode_direct_absolute
=no
7983 hardcode_libdir_flag_spec
=
7984 hardcode_libdir_flag_spec_ld
=
7985 hardcode_libdir_separator
=
7987 hardcode_shlibpath_var
=unsupported
7989 link_all_deplibs
=unknown
7992 old_archive_from_new_cmds
=
7993 old_archive_from_expsyms_cmds
=
7994 thread_safe_flag_spec
=
7995 whole_archive_flag_spec
=
7996 # include_expsyms should be a list of space-separated symbols to be *always*
7997 # included in the symbol list
7999 # exclude_expsyms can be an extended regexp of symbols to exclude
8000 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8001 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8002 # as well as any symbol that contains `d'.
8003 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8004 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8005 # platforms (ab)use it in PIC code, but their linkers get confused if
8006 # the symbol is explicitly referenced. Since portable code cannot
8007 # rely on this symbol name, it's probably fine to never include it in
8008 # preloaded symbol tables.
8009 # Exclude shared library initialization/finalization symbols.
8010 extract_expsyms_cmds
=
8013 cygwin
* | mingw
* | pw32
* | cegcc
*)
8014 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8015 # When not using gcc, we currently assume that we are using
8016 # Microsoft Visual C++.
8017 if test "$GCC" != yes; then
8022 # we just hope/assume this is gcc and not c89 (= MSVC++)
8028 linux
* | k
*bsd
*-gnu)
8034 if test "$with_gnu_ld" = yes; then
8035 # If archive_cmds runs LD, not CC, wlarc should be empty
8038 # Set some defaults for GNU ld with shared library support. These
8039 # are reset later if shared libraries are not supported. Putting them
8040 # here allows them to be overridden if necessary.
8041 runpath_var
=LD_RUN_PATH
8042 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8043 export_dynamic_flag_spec
='${wl}--export-dynamic'
8044 # ancient GNU ld didn't support --whole-archive et. al.
8045 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8046 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8048 whole_archive_flag_spec
=
8050 supports_anon_versioning
=no
8051 case `$LD -v 2>&1` in
8052 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8053 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8054 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8055 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8056 *\
2.11.
*) ;; # other 2.11 versions
8057 *) supports_anon_versioning
=yes ;;
8060 # See if GNU ld supports shared libraries.
8063 # On AIX/PPC, the GNU linker is very broken
8064 if test "$host_cpu" != ia64
; then
8068 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8069 *** to be unable to reliably create shared libraries on AIX.
8070 *** Therefore, libtool is disabling shared libraries support. If you
8071 *** really care for shared libraries, you may want to modify your PATH
8072 *** so that a non-GNU linker is found, and then restart.
8081 # see comment about AmigaOS4 .so support
8082 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8083 archive_expsym_cmds
=''
8086 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)'
8087 hardcode_libdir_flag_spec
='-L$libdir'
8088 hardcode_minus_L
=yes
8094 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8095 allow_undefined_flag
=unsupported
8096 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8097 # support --undefined. This deserves some investigation. FIXME
8098 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8104 cygwin
* | mingw
* | pw32
* | cegcc
*)
8105 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8106 # as there is no search path for DLLs.
8107 hardcode_libdir_flag_spec
='-L$libdir'
8108 allow_undefined_flag
=unsupported
8109 always_export_symbols
=no
8110 enable_shared_with_static_runtimes
=yes
8111 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8113 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8114 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8115 # If the export-symbols file already is a .def file (1st line
8116 # is EXPORTS), use it as is; otherwise, prepend...
8117 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8118 cp $export_symbols $output_objdir/$soname.def;
8120 echo EXPORTS > $output_objdir/$soname.def;
8121 cat $export_symbols >> $output_objdir/$soname.def;
8123 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8131 hardcode_shlibpath_var
=no
8132 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8133 export_dynamic_flag_spec
='${wl}-E'
8134 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8135 # Instead, shared libraries are loaded at an image base (0x10000000 by
8136 # default) and relocated if they conflict, which is a slow very memory
8137 # consuming and fragmenting process. To avoid this, we pick a random,
8138 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8139 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8140 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8141 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'
8144 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8146 if test "$host_os" = linux-dietlibc
; then
8147 case $cc_basename in
8148 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8151 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8152 && test "$tmp_diet" = no
8155 tmp_sharedflag
='-shared'
8156 case $cc_basename,$host_cpu in
8157 pgcc
*) # Portland Group C compiler
8158 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'
8159 tmp_addflag
=' $pic_flag'
8161 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8162 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'
8163 tmp_addflag
=' $pic_flag -Mnomain' ;;
8164 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8165 tmp_addflag
=' -i_dynamic' ;;
8166 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8167 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8168 ifc
* | ifort
*) # Intel Fortran compiler
8169 tmp_addflag
=' -nofor_main' ;;
8170 lf95
*) # Lahey Fortran 8.1
8171 whole_archive_flag_spec
=
8172 tmp_sharedflag
='--shared' ;;
8173 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8174 tmp_sharedflag
='-qmkshrobj'
8177 case `$CC -V 2>&1 | sed 5q` in
8178 *Sun\ C
*) # Sun C 5.9
8179 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'
8180 compiler_needs_object
=yes
8181 tmp_sharedflag
='-G' ;;
8182 *Sun\ F
*) # Sun Fortran 8.3
8183 tmp_sharedflag
='-G' ;;
8185 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8187 if test "x$supports_anon_versioning" = xyes
; then
8188 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8189 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8190 echo "local: *; };" >> $output_objdir/$libname.ver~
8191 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8194 case $cc_basename in
8196 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8197 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8198 hardcode_libdir_flag_spec
=
8199 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8200 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8201 if test "x$supports_anon_versioning" = xyes
; then
8202 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8203 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8204 echo "local: *; };" >> $output_objdir/$libname.ver~
8205 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8214 netbsd
* | netbsdelf
*-gnu)
8215 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8216 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8219 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8220 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8225 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8229 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8230 *** create shared libraries on Solaris systems. Therefore, libtool
8231 *** is disabling shared libraries support. We urge you to upgrade GNU
8232 *** binutils to release 2.9.1 or newer. Another option is to modify
8233 *** your PATH or compiler configuration so that the native linker is
8234 *** used, and then restart.
8237 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8238 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8239 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8245 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8246 case `$LD -v 2>&1` in
8247 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8251 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8252 *** reliably create shared libraries on SCO systems. Therefore, libtool
8253 *** is disabling shared libraries support. We urge you to upgrade GNU
8254 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8255 *** your PATH or compiler configuration so that the native linker is
8256 *** used, and then restart.
8261 # For security reasons, it is highly recommended that you always
8262 # use absolute paths for naming shared libraries, and exclude the
8263 # DT_RUNPATH tag from executables and libraries. But doing so
8264 # requires that you compile everything twice, which is a pain.
8265 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8266 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8267 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8268 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8277 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8280 hardcode_shlibpath_var
=no
8284 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8285 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8286 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8293 if test "$ld_shlibs" = no
; then
8295 hardcode_libdir_flag_spec
=
8296 export_dynamic_flag_spec
=
8297 whole_archive_flag_spec
=
8300 # PORTME fill in a description of your system's linker (not GNU ld)
8303 allow_undefined_flag
=unsupported
8304 always_export_symbols
=yes
8305 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'
8306 # Note: this linker hardcodes the directories in LIBPATH if there
8307 # are no directories specified by -L.
8308 hardcode_minus_L
=yes
8309 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8310 # Neither direct hardcoding nor static linking is supported with a
8312 hardcode_direct
=unsupported
8317 if test "$host_cpu" = ia64
; then
8318 # On IA64, the linker does run time linking by default, so we don't
8319 # have to do anything special.
8320 aix_use_runtimelinking
=no
8321 exp_sym_flag
='-Bexport'
8324 # If we're using GNU nm, then we don't want the "-C" option.
8325 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8326 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8327 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'
8329 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'
8331 aix_use_runtimelinking
=no
8333 # Test if we are trying to use run time linking or normal
8334 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8335 # need to do runtime linking.
8336 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8337 for ld_flag
in $LDFLAGS; do
8338 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8339 aix_use_runtimelinking
=yes
8346 exp_sym_flag
='-bexport'
8347 no_entry_flag
='-bnoentry'
8350 # When large executables or shared objects are built, AIX ld can
8351 # have problems creating the table of contents. If linking a library
8352 # or program results in "error TOC overflow" add -mminimal-toc to
8353 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8354 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8358 hardcode_direct_absolute
=yes
8359 hardcode_libdir_separator
=':'
8360 link_all_deplibs
=yes
8361 file_list_spec
='${wl}-f,'
8363 if test "$GCC" = yes; then
8364 case $host_os in aix4.
[012]|aix4.
[012].
*)
8365 # We only want to do this on AIX 4.2 and lower, the check
8366 # below for broken collect2 doesn't work under 4.3+
8367 collect2name
=`${CC} -print-prog-name=collect2`
8368 if test -f "$collect2name" &&
8369 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8371 # We have reworked collect2
8374 # We have old collect2
8375 hardcode_direct
=unsupported
8376 # It fails to find uninstalled libraries when the uninstalled
8377 # path is not listed in the libpath. Setting hardcode_minus_L
8378 # to unsupported forces relinking
8379 hardcode_minus_L
=yes
8380 hardcode_libdir_flag_spec
='-L$libdir'
8381 hardcode_libdir_separator
=
8385 shared_flag
='-shared'
8386 if test "$aix_use_runtimelinking" = yes; then
8387 shared_flag
="$shared_flag "'${wl}-G'
8392 if test "$host_cpu" = ia64
; then
8393 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8394 # chokes on -Wl,-G. The following line is correct:
8397 if test "$aix_use_runtimelinking" = yes; then
8398 shared_flag
='${wl}-G'
8400 shared_flag
='${wl}-bM:SRE'
8405 export_dynamic_flag_spec
='${wl}-bexpall'
8406 # It seems that -bexpall does not export symbols beginning with
8407 # underscore (_), so it is better to generate a list of symbols to export.
8408 always_export_symbols
=yes
8409 if test "$aix_use_runtimelinking" = yes; then
8410 # Warning - without using the other runtime loading flags (-brtl),
8411 # -berok will link without error, but may produce a broken library.
8412 allow_undefined_flag
='-berok'
8413 # Determine the default libpath from the value encoded in an
8415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8426 if ac_fn_c_try_link
"$LINENO"; then :
8428 lt_aix_libpath_sed
='
8429 /Import File Strings/,/^$/ {
8435 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8436 # Check for a 64-bit object if we didn't find anything.
8437 if test -z "$aix_libpath"; then
8438 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8441 rm -f core conftest.err conftest.
$ac_objext \
8442 conftest
$ac_exeext conftest.
$ac_ext
8443 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8445 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8446 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"
8448 if test "$host_cpu" = ia64
; then
8449 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8450 allow_undefined_flag
="-z nodefs"
8451 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"
8453 # Determine the default libpath from the value encoded in an
8455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8466 if ac_fn_c_try_link
"$LINENO"; then :
8468 lt_aix_libpath_sed
='
8469 /Import File Strings/,/^$/ {
8475 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8476 # Check for a 64-bit object if we didn't find anything.
8477 if test -z "$aix_libpath"; then
8478 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8481 rm -f core conftest.err conftest.
$ac_objext \
8482 conftest
$ac_exeext conftest.
$ac_ext
8483 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8485 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8486 # Warning - without using the other run time loading flags,
8487 # -berok will link without error, but may produce a broken library.
8488 no_undefined_flag
=' ${wl}-bernotok'
8489 allow_undefined_flag
=' ${wl}-berok'
8490 # Exported symbols can be pulled into shared objects from archives
8491 whole_archive_flag_spec
='$convenience'
8492 archive_cmds_need_lc
=yes
8493 # This is similar to how AIX traditionally builds its shared libraries.
8494 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'
8502 # see comment about AmigaOS4 .so support
8503 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8504 archive_expsym_cmds
=''
8507 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)'
8508 hardcode_libdir_flag_spec
='-L$libdir'
8509 hardcode_minus_L
=yes
8515 export_dynamic_flag_spec
=-rdynamic
8518 cygwin
* | mingw
* | pw32
* | cegcc
*)
8519 # When not using gcc, we currently assume that we are using
8520 # Microsoft Visual C++.
8521 # hardcode_libdir_flag_spec is actually meaningless, as there is
8522 # no search path for DLLs.
8523 hardcode_libdir_flag_spec
=' '
8524 allow_undefined_flag
=unsupported
8525 # Tell ltmain to make .lib files, not .a files.
8527 # Tell ltmain to make .dll files, not .so files.
8529 # FIXME: Setting linknames here is a bad hack.
8530 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8531 # The linker will automatically build a .lib file if we build a DLL.
8532 old_archive_from_new_cmds
='true'
8533 # FIXME: Should let the user specify the lib program.
8534 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8535 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8536 enable_shared_with_static_runtimes
=yes
8539 darwin
* | rhapsody
*)
8542 archive_cmds_need_lc
=no
8544 hardcode_automatic
=yes
8545 hardcode_shlibpath_var
=unsupported
8546 whole_archive_flag_spec
=''
8547 link_all_deplibs
=yes
8548 allow_undefined_flag
="$_lt_dar_allow_undefined"
8549 case $cc_basename in
8550 ifort
*) _lt_dar_can_shared
=yes ;;
8551 *) _lt_dar_can_shared
=$GCC ;;
8553 if test "$_lt_dar_can_shared" = "yes"; then
8554 output_verbose_link_cmd
=echo
8555 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8556 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8557 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}"
8558 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}"
8567 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8568 hardcode_libdir_flag_spec
='-L$libdir'
8569 hardcode_shlibpath_var
=no
8576 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8577 # support. Future versions do this automatically, but an explicit c++rt0.o
8578 # does not break anything, and helps significantly (at the cost of a little
8581 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8582 hardcode_libdir_flag_spec
='-R$libdir'
8584 hardcode_shlibpath_var
=no
8587 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8589 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8591 hardcode_minus_L
=yes
8592 hardcode_shlibpath_var
=no
8595 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8596 freebsd
* | dragonfly
*)
8597 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8598 hardcode_libdir_flag_spec
='-R$libdir'
8600 hardcode_shlibpath_var
=no
8604 if test "$GCC" = yes; then
8605 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'
8607 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'
8609 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8610 hardcode_libdir_separator
=:
8613 # hardcode_minus_L: Not really in the search PATH,
8614 # but as the default location of the library.
8615 hardcode_minus_L
=yes
8616 export_dynamic_flag_spec
='${wl}-E'
8620 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8621 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8623 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8625 if test "$with_gnu_ld" = no
; then
8626 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8627 hardcode_libdir_flag_spec_ld
='+b $libdir'
8628 hardcode_libdir_separator
=:
8630 hardcode_direct_absolute
=yes
8631 export_dynamic_flag_spec
='${wl}-E'
8632 # hardcode_minus_L: Not really in the search PATH,
8633 # but as the default location of the library.
8634 hardcode_minus_L
=yes
8639 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8642 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8645 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8648 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8654 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8657 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8660 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8664 if test "$with_gnu_ld" = no
; then
8665 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8666 hardcode_libdir_separator
=:
8671 hardcode_shlibpath_var
=no
8675 hardcode_direct_absolute
=yes
8676 export_dynamic_flag_spec
='${wl}-E'
8678 # hardcode_minus_L: Not really in the search PATH,
8679 # but as the default location of the library.
8680 hardcode_minus_L
=yes
8686 irix5
* | irix6
* | nonstopux
*)
8687 if test "$GCC" = yes; then
8688 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'
8689 # Try to use the -exported_symbol ld option, if it does not
8690 # work, assume that -exports_file does not work either and
8691 # implicitly export all symbols.
8692 save_LDFLAGS
="$LDFLAGS"
8693 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8698 if ac_fn_c_try_link
"$LINENO"; then :
8699 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'
8702 rm -f core conftest.err conftest.
$ac_objext \
8703 conftest
$ac_exeext conftest.
$ac_ext
8704 LDFLAGS
="$save_LDFLAGS"
8706 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'
8707 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'
8709 archive_cmds_need_lc
='no'
8710 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8711 hardcode_libdir_separator
=:
8713 link_all_deplibs
=yes
8716 netbsd
* | netbsdelf
*-gnu)
8717 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8718 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8720 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8722 hardcode_libdir_flag_spec
='-R$libdir'
8724 hardcode_shlibpath_var
=no
8728 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8730 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8731 hardcode_libdir_separator
=:
8732 hardcode_shlibpath_var
=no
8739 if test -f /usr
/libexec
/ld.so
; then
8741 hardcode_shlibpath_var
=no
8742 hardcode_direct_absolute
=yes
8743 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8744 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8745 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8746 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8747 export_dynamic_flag_spec
='${wl}-E'
8750 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8751 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8752 hardcode_libdir_flag_spec
='-R$libdir'
8755 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8756 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8766 hardcode_libdir_flag_spec
='-L$libdir'
8767 hardcode_minus_L
=yes
8768 allow_undefined_flag
=unsupported
8769 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'
8770 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8774 if test "$GCC" = yes; then
8775 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8776 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'
8778 allow_undefined_flag
=' -expect_unresolved \*'
8779 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'
8781 archive_cmds_need_lc
='no'
8782 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8783 hardcode_libdir_separator
=:
8786 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8787 if test "$GCC" = yes; then
8788 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8789 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'
8790 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8792 allow_undefined_flag
=' -expect_unresolved \*'
8793 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'
8794 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~
8795 $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'
8797 # Both c and cxx compiler support -rpath directly
8798 hardcode_libdir_flag_spec
='-rpath $libdir'
8800 archive_cmds_need_lc
='no'
8801 hardcode_libdir_separator
=:
8805 no_undefined_flag
=' -z defs'
8806 if test "$GCC" = yes; then
8808 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8809 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8810 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8812 case `$CC -V 2>&1` in
8815 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8816 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8817 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8821 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8822 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8823 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8827 hardcode_libdir_flag_spec
='-R$libdir'
8828 hardcode_shlibpath_var
=no
8830 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8832 # The compiler driver will combine and reorder linker options,
8833 # but understands `-z linker_flag'. GCC discards it without `$wl',
8834 # but is careful enough not to reorder.
8835 # Supported since Solaris 2.6 (maybe 2.5.1?)
8836 if test "$GCC" = yes; then
8837 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8839 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8843 link_all_deplibs
=yes
8847 if test "x$host_vendor" = xsequent
; then
8848 # Use $CC to link under sequent, because it throws in some extra .o
8849 # files that make .init and .fini sections work.
8850 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8852 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8854 hardcode_libdir_flag_spec
='-L$libdir'
8856 hardcode_minus_L
=yes
8857 hardcode_shlibpath_var
=no
8861 case $host_vendor in
8863 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8864 hardcode_direct
=yes # is this really true???
8867 ## LD is ld it makes a PLAMLIB
8868 ## CC just makes a GrossModule.
8869 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8870 reload_cmds
='$CC -r -o $output$reload_objs'
8874 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8875 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8878 runpath_var
='LD_RUN_PATH'
8879 hardcode_shlibpath_var
=no
8883 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8884 hardcode_shlibpath_var
=no
8885 export_dynamic_flag_spec
='-Bexport'
8889 if test -d /usr
/nec
; then
8890 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8891 hardcode_shlibpath_var
=no
8892 runpath_var
=LD_RUN_PATH
8893 hardcode_runpath_var
=yes
8898 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8899 no_undefined_flag
='${wl}-z,text'
8900 archive_cmds_need_lc
=no
8901 hardcode_shlibpath_var
=no
8902 runpath_var
='LD_RUN_PATH'
8904 if test "$GCC" = yes; then
8905 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8906 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8908 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8909 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8913 sysv5
* | sco3.2v5
* | sco5v6
*)
8914 # Note: We can NOT use -z defs as we might desire, because we do not
8915 # link with -lc, and that would cause any symbols used from libc to
8916 # always be unresolved, which means just about no library would
8917 # ever link correctly. If we're not using GNU ld we use -z text
8918 # though, which does catch some bad symbols but isn't as heavy-handed
8920 no_undefined_flag
='${wl}-z,text'
8921 allow_undefined_flag
='${wl}-z,nodefs'
8922 archive_cmds_need_lc
=no
8923 hardcode_shlibpath_var
=no
8924 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8925 hardcode_libdir_separator
=':'
8926 link_all_deplibs
=yes
8927 export_dynamic_flag_spec
='${wl}-Bexport'
8928 runpath_var
='LD_RUN_PATH'
8930 if test "$GCC" = yes; then
8931 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8932 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8934 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8935 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8940 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8941 hardcode_libdir_flag_spec
='-L$libdir'
8942 hardcode_shlibpath_var
=no
8950 if test x
$host_vendor = xsni
; then
8952 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8953 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8960 $as_echo "$ld_shlibs" >&6; }
8961 test "$ld_shlibs" = no
&& can_build_shared
=no
8963 with_gnu_ld
=$with_gnu_ld
8980 # Do we need to explicitly link libc?
8982 case "x$archive_cmds_need_lc" in
8984 # Assume -lc should be added
8985 archive_cmds_need_lc
=yes
8987 if test "$enable_shared" = yes && test "$GCC" = yes; then
8988 case $archive_cmds in
8990 # FIXME: we may have to deal with multi-command sequences.
8993 # Test whether the compiler implicitly links with -lc since on some
8994 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8995 # to ld, don't add -lc before -lgcc.
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8997 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8999 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9002 (eval $ac_compile) 2>&5
9004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9005 test $ac_status = 0; } 2>conftest.err
; then
9008 libobjs
=conftest.
$ac_objext
9010 wl
=$lt_prog_compiler_wl
9011 pic_flag
=$lt_prog_compiler_pic
9017 lt_save_allow_undefined_flag
=$allow_undefined_flag
9018 allow_undefined_flag
=
9019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9020 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9023 test $ac_status = 0; }
9025 archive_cmds_need_lc
=no
9027 archive_cmds_need_lc
=yes
9029 allow_undefined_flag
=$lt_save_allow_undefined_flag
9031 cat conftest.err
1>&5
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9035 $as_echo "$archive_cmds_need_lc" >&6; }
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9199 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9201 if test "$GCC" = yes; then
9203 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9204 *) lt_awk_arg
="/^libraries:/" ;;
9206 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9207 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9208 # if the path contains ";" then we assume it to be the separator
9209 # otherwise default to the standard path separator (i.e. ":") - it is
9210 # assumed that no part of a normal pathname contains ";" but that should
9211 # okay in the real world where ";" in dirpaths is itself problematic.
9212 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9214 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9216 # Ok, now we have the path, separated by spaces, we can step through it
9217 # and add multilib dir if necessary.
9218 lt_tmp_lt_search_path_spec
=
9219 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9220 for lt_sys_path
in $lt_search_path_spec; do
9221 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9222 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9224 test -d "$lt_sys_path" && \
9225 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9228 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9229 BEGIN {RS=" "; FS="/|\n";} {
9232 for (lt_i = NF; lt_i > 0; lt_i--) {
9233 if ($lt_i != "" && $lt_i != ".") {
9234 if ($lt_i == "..") {
9237 if (lt_count == 0) {
9238 lt_foo="/" $lt_i lt_foo;
9245 if (lt_foo != "") { lt_freq[lt_foo]++; }
9246 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9248 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9250 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9253 libname_spec
='lib$name'
9261 shlibpath_overrides_runpath
=unknown
9263 dynamic_linker
="$host_os ld.so"
9264 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9265 need_lib_prefix
=unknown
9266 hardcode_into_libs
=no
9268 # when you set need_version to no, make sure it does not cause -set_version
9269 # flags to be left without arguments
9270 need_version
=unknown
9275 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9276 shlibpath_var
=LIBPATH
9278 # AIX 3 has no versioning support, so we append a major version to the name.
9279 soname_spec
='${libname}${release}${shared_ext}$major'
9286 hardcode_into_libs
=yes
9287 if test "$host_cpu" = ia64
; then
9288 # AIX 5 supports IA64
9289 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9290 shlibpath_var
=LD_LIBRARY_PATH
9292 # With GCC up to 2.95.x, collect2 would create an import file
9293 # for dependence libraries. The import file would start with
9294 # the line `#! .'. This would cause the generated library to
9295 # depend on `.', always an invalid library. This was fixed in
9296 # development snapshots of GCC prior to 3.0.
9298 aix4 | aix4.
[01] | aix4.
[01].
*)
9299 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9301 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9308 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9309 # soname into executable. Probably we can add versioning support to
9310 # collect2, so additional links can be useful in future.
9311 if test "$aix_use_runtimelinking" = yes; then
9312 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9313 # instead of lib<name>.a to let people know that these are not
9314 # typical AIX shared libraries.
9315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9317 # We preserve .a as extension for shared libraries through AIX4.2
9318 # and later when we are not doing run time linking.
9319 library_names_spec
='${libname}${release}.a $libname.a'
9320 soname_spec
='${libname}${release}${shared_ext}$major'
9322 shlibpath_var
=LIBPATH
9329 # Since July 2007 AmigaOS4 officially supports .so libraries.
9330 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9334 library_names_spec
='$libname.ixlibrary $libname.a'
9335 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9336 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'
9342 library_names_spec
='${libname}${shared_ext}'
9343 dynamic_linker
="$host_os ld.so"
9344 shlibpath_var
=LIBRARY_PATH
9350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9351 soname_spec
='${libname}${release}${shared_ext}$major'
9352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9353 shlibpath_var
=LD_LIBRARY_PATH
9354 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9355 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9356 # the default ld.so.conf also contains /usr/contrib/lib and
9357 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9358 # libtool to hard-code these into programs
9361 cygwin
* | mingw
* | pw32
* | cegcc
*)
9362 version_type
=windows
9367 case $GCC,$host_os in
9368 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9369 library_names_spec
='$libname.dll.a'
9370 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9371 postinstall_cmds
='base_file=`basename \${file}`~
9372 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9373 dldir=$destdir/`dirname \$dlpath`~
9374 test -d \$dldir || mkdir -p \$dldir~
9375 $install_prog $dir/$dlname \$dldir/$dlname~
9376 chmod a+x \$dldir/$dlname~
9377 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9378 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9380 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9381 dlpath=$dir/\$dldll~
9383 shlibpath_overrides_runpath
=yes
9387 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9388 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9389 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9392 # MinGW DLLs use traditional 'lib' prefix
9393 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9394 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9395 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9396 # It is most probably a Windows format PATH printed by
9397 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9398 # path with ; separators, and with drive letters. We can handle the
9399 # drive letters (cygwin fileutils understands them), so leave them,
9400 # especially as we might pass files found there to a mingw objdump,
9401 # which wouldn't understand a cygwinified path. Ahh.
9402 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9404 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9408 # pw32 DLLs use 'pw' prefix rather than 'lib'
9409 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9415 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9418 dynamic_linker
='Win32 ld.exe'
9419 # FIXME: first we should search . and the directory the executable is in
9423 darwin
* | rhapsody
*)
9424 dynamic_linker
="$host_os dyld"
9428 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9429 soname_spec
='${libname}${release}${major}$shared_ext'
9430 shlibpath_overrides_runpath
=yes
9431 shlibpath_var
=DYLD_LIBRARY_PATH
9432 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9434 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9435 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9443 soname_spec
='${libname}${release}${shared_ext}$major'
9444 shlibpath_var
=LD_LIBRARY_PATH
9451 freebsd
* | dragonfly
*)
9452 # DragonFly does not have aout. When/if they implement a new
9453 # versioning mechanism, adjust this.
9454 if test -x /usr
/bin
/objformat
; then
9455 objformat
=`/usr/bin/objformat`
9458 freebsd
[123]*) objformat
=aout
;;
9462 version_type
=freebsd-
$objformat
9463 case $version_type in
9465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9470 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9474 shlibpath_var
=LD_LIBRARY_PATH
9477 shlibpath_overrides_runpath
=yes
9479 freebsd3.
[01]* | freebsdelf3.
[01]*)
9480 shlibpath_overrides_runpath
=yes
9481 hardcode_into_libs
=yes
9483 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9484 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9485 shlibpath_overrides_runpath
=no
9486 hardcode_into_libs
=yes
9488 *) # from 4.6 on, and DragonFly
9489 shlibpath_overrides_runpath
=yes
9490 hardcode_into_libs
=yes
9499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9500 soname_spec
='${libname}${release}${shared_ext}$major'
9501 shlibpath_var
=LD_LIBRARY_PATH
9502 hardcode_into_libs
=yes
9505 hpux9
* | hpux10
* | hpux11
*)
9506 # Give a soname corresponding to the major version so that dld.sl refuses to
9507 # link against other versions.
9514 hardcode_into_libs
=yes
9515 dynamic_linker
="$host_os dld.so"
9516 shlibpath_var
=LD_LIBRARY_PATH
9517 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9519 soname_spec
='${libname}${release}${shared_ext}$major'
9520 if test "X$HPUX_IA64_MODE" = X32
; then
9521 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9523 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9525 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9529 hardcode_into_libs
=yes
9530 dynamic_linker
="$host_os dld.sl"
9531 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9532 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9534 soname_spec
='${libname}${release}${shared_ext}$major'
9535 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9536 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9540 dynamic_linker
="$host_os dld.sl"
9541 shlibpath_var
=SHLIB_PATH
9542 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9544 soname_spec
='${libname}${release}${shared_ext}$major'
9547 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9548 postinstall_cmds
='chmod 555 $lib'
9555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9556 soname_spec
='${libname}${release}${shared_ext}$major'
9557 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9558 shlibpath_var
=LD_LIBRARY_PATH
9559 shlibpath_overrides_runpath
=no
9560 hardcode_into_libs
=yes
9563 irix5
* | irix6
* | nonstopux
*)
9565 nonstopux
*) version_type
=nonstopux
;;
9567 if test "$lt_cv_prog_gnu_ld" = yes; then
9575 soname_spec
='${libname}${release}${shared_ext}$major'
9576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9578 irix5
* | nonstopux
*)
9582 case $LD in # libtool.m4 will add one of these switches to LD
9583 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9584 libsuff
= shlibsuff
= libmagic
=32-bit;;
9585 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9586 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9587 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9588 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9589 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9593 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9594 shlibpath_overrides_runpath
=no
9595 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9596 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9597 hardcode_into_libs
=yes
9600 # No shared lib support for Linux oldld, aout, or coff.
9601 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9605 # This must be Linux ELF.
9606 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9611 soname_spec
='${libname}${release}${shared_ext}$major'
9612 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9613 shlibpath_var
=LD_LIBRARY_PATH
9614 shlibpath_overrides_runpath
=no
9615 # Some binutils ld are patched to set DT_RUNPATH
9616 save_LDFLAGS
=$LDFLAGS
9618 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9619 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9631 if ac_fn_c_try_link
"$LINENO"; then :
9632 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9633 shlibpath_overrides_runpath
=yes
9636 rm -f core conftest.err conftest.
$ac_objext \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LDFLAGS
=$save_LDFLAGS
9641 # This implies no fast_install, which is unacceptable.
9642 # Some rework will be needed to allow for fast_install
9643 # before this can be enabled.
9644 hardcode_into_libs
=yes
9646 # Append ld.so.conf contents to the search path
9647 if test -f /etc
/ld.so.conf
; then
9648 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' ' '`
9649 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9652 # We used to test for /lib/ld.so.1 and disable shared libraries on
9653 # powerpc, because MkLinux only supported shared libraries with the
9654 # GNU dynamic linker. Since this was broken with cross compilers,
9655 # most powerpc-linux boxes support dynamic linking these days and
9656 # people can always --disable-shared, the test was removed, and we
9657 # assume the GNU/Linux dynamic linker is in use.
9658 dynamic_linker
='GNU/Linux ld.so'
9665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9666 soname_spec
='${libname}${release}${shared_ext}$major'
9667 shlibpath_var
=LD_LIBRARY_PATH
9668 shlibpath_overrides_runpath
=no
9669 hardcode_into_libs
=yes
9670 dynamic_linker
='NetBSD ld.elf_so'
9677 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9679 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9680 dynamic_linker
='NetBSD (a.out) ld.so'
9682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9683 soname_spec
='${libname}${release}${shared_ext}$major'
9684 dynamic_linker
='NetBSD ld.elf_so'
9686 shlibpath_var
=LD_LIBRARY_PATH
9687 shlibpath_overrides_runpath
=yes
9688 hardcode_into_libs
=yes
9693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9694 shlibpath_var
=LD_LIBRARY_PATH
9695 shlibpath_overrides_runpath
=yes
9702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9703 soname_spec
='${libname}${release}${shared_ext}$major'
9704 shlibpath_var
=LD_LIBRARY_PATH
9705 shlibpath_overrides_runpath
=no
9706 hardcode_into_libs
=yes
9707 dynamic_linker
='ldqnx.so'
9712 sys_lib_dlsearch_path_spec
="/usr/lib"
9714 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9716 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9717 *) need_version
=no
;;
9719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9720 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9721 shlibpath_var
=LD_LIBRARY_PATH
9722 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9724 openbsd2.
[89] | openbsd2.
[89].
*)
9725 shlibpath_overrides_runpath
=no
9728 shlibpath_overrides_runpath
=yes
9732 shlibpath_overrides_runpath
=yes
9737 libname_spec
='$name'
9740 library_names_spec
='$libname${shared_ext} $libname.a'
9741 dynamic_linker
='OS/2 ld.exe'
9742 shlibpath_var
=LIBPATH
9745 osf3
* | osf4
* | osf5
*)
9749 soname_spec
='${libname}${release}${shared_ext}$major'
9750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9751 shlibpath_var
=LD_LIBRARY_PATH
9752 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9753 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9765 soname_spec
='${libname}${release}${shared_ext}$major'
9766 shlibpath_var
=LD_LIBRARY_PATH
9767 shlibpath_overrides_runpath
=yes
9768 hardcode_into_libs
=yes
9769 # ldd complains unless libraries are executable
9770 postinstall_cmds
='chmod +x $lib'
9775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9776 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9777 shlibpath_var
=LD_LIBRARY_PATH
9778 shlibpath_overrides_runpath
=yes
9779 if test "$with_gnu_ld" = yes; then
9787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9788 soname_spec
='${libname}${release}${shared_ext}$major'
9789 shlibpath_var
=LD_LIBRARY_PATH
9790 case $host_vendor in
9792 shlibpath_overrides_runpath
=no
9794 runpath_var
=LD_RUN_PATH
9802 shlibpath_overrides_runpath
=no
9803 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9809 if test -d /usr
/nec
;then
9811 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9812 soname_spec
='$libname${shared_ext}.$major'
9813 shlibpath_var
=LD_LIBRARY_PATH
9817 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9818 version_type
=freebsd-elf
9821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9822 soname_spec
='${libname}${release}${shared_ext}$major'
9823 shlibpath_var
=LD_LIBRARY_PATH
9824 shlibpath_overrides_runpath
=yes
9825 hardcode_into_libs
=yes
9826 if test "$with_gnu_ld" = yes; then
9827 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9829 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9832 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9836 sys_lib_dlsearch_path_spec
='/usr/lib'
9840 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9845 shlibpath_var
=LD_LIBRARY_PATH
9846 shlibpath_overrides_runpath
=no
9847 hardcode_into_libs
=yes
9852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9853 soname_spec
='${libname}${release}${shared_ext}$major'
9854 shlibpath_var
=LD_LIBRARY_PATH
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9862 $as_echo "$dynamic_linker" >&6; }
9863 test "$dynamic_linker" = no
&& can_build_shared
=no
9865 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9866 if test "$GCC" = yes; then
9867 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9870 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9871 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9873 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9874 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9964 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9966 if test -n "$hardcode_libdir_flag_spec" ||
9967 test -n "$runpath_var" ||
9968 test "X$hardcode_automatic" = "Xyes" ; then
9970 # We can hardcode non-existent directories.
9971 if test "$hardcode_direct" != no
&&
9972 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9973 # have to relink, otherwise we might link with an installed library
9974 # when we should be linking with a yet-to-be-installed one
9975 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9976 test "$hardcode_minus_L" != no
; then
9977 # Linking always hardcodes the temporary library directory.
9978 hardcode_action
=relink
9980 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9981 hardcode_action
=immediate
9984 # We cannot hardcode anything, or else we can only hardcode existing
9986 hardcode_action
=unsupported
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9989 $as_echo "$hardcode_action" >&6; }
9991 if test "$hardcode_action" = relink ||
9992 test "$inherit_rpath" = yes; then
9993 # Fast installation is not supported
9994 enable_fast_install
=no
9995 elif test "$shlibpath_overrides_runpath" = yes ||
9996 test "$enable_shared" = no
; then
9997 # Fast installation is not necessary
9998 enable_fast_install
=needless
10006 if test "x$enable_dlopen" != xyes
; then
10007 enable_dlopen
=unknown
10008 enable_dlopen_self
=unknown
10009 enable_dlopen_self_static
=unknown
10016 lt_cv_dlopen
="load_add_on"
10018 lt_cv_dlopen_self
=yes
10021 mingw
* | pw32
* | cegcc
*)
10022 lt_cv_dlopen
="LoadLibrary"
10027 lt_cv_dlopen
="dlopen"
10032 # if libdl is installed we need to link against it
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10034 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10035 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10036 $as_echo_n "(cached) " >&6
10038 ac_check_lib_save_LIBS
=$LIBS
10040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10058 if ac_fn_c_try_link
"$LINENO"; then :
10059 ac_cv_lib_dl_dlopen
=yes
10061 ac_cv_lib_dl_dlopen
=no
10063 rm -f core conftest.err conftest.
$ac_objext \
10064 conftest
$ac_exeext conftest.
$ac_ext
10065 LIBS
=$ac_check_lib_save_LIBS
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10068 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10069 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10070 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10073 lt_cv_dlopen
="dyld"
10075 lt_cv_dlopen_self
=yes
10082 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10083 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10084 lt_cv_dlopen
="shl_load"
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10087 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10088 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10089 $as_echo_n "(cached) " >&6
10091 ac_check_lib_save_LIBS
=$LIBS
10093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10096 /* Override any GCC internal prototype to avoid an error.
10097 Use char because int might match the return type of a GCC
10098 builtin and then its argument prototype would still apply. */
10106 return shl_load ();
10111 if ac_fn_c_try_link
"$LINENO"; then :
10112 ac_cv_lib_dld_shl_load
=yes
10114 ac_cv_lib_dld_shl_load
=no
10116 rm -f core conftest.err conftest.
$ac_objext \
10117 conftest
$ac_exeext conftest.
$ac_ext
10118 LIBS
=$ac_check_lib_save_LIBS
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10121 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10122 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10123 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10125 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10126 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10127 lt_cv_dlopen
="dlopen"
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10130 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10131 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10132 $as_echo_n "(cached) " >&6
10134 ac_check_lib_save_LIBS
=$LIBS
10136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10154 if ac_fn_c_try_link
"$LINENO"; then :
10155 ac_cv_lib_dl_dlopen
=yes
10157 ac_cv_lib_dl_dlopen
=no
10159 rm -f core conftest.err conftest.
$ac_objext \
10160 conftest
$ac_exeext conftest.
$ac_ext
10161 LIBS
=$ac_check_lib_save_LIBS
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10164 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10165 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10166 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10169 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10170 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10171 $as_echo_n "(cached) " >&6
10173 ac_check_lib_save_LIBS
=$LIBS
10174 LIBS
="-lsvld $LIBS"
10175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10193 if ac_fn_c_try_link
"$LINENO"; then :
10194 ac_cv_lib_svld_dlopen
=yes
10196 ac_cv_lib_svld_dlopen
=no
10198 rm -f core conftest.err conftest.
$ac_objext \
10199 conftest
$ac_exeext conftest.
$ac_ext
10200 LIBS
=$ac_check_lib_save_LIBS
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10203 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10204 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10205 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10208 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10209 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10210 $as_echo_n "(cached) " >&6
10212 ac_check_lib_save_LIBS
=$LIBS
10214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10217 /* Override any GCC internal prototype to avoid an error.
10218 Use char because int might match the return type of a GCC
10219 builtin and then its argument prototype would still apply. */
10227 return dld_link ();
10232 if ac_fn_c_try_link
"$LINENO"; then :
10233 ac_cv_lib_dld_dld_link
=yes
10235 ac_cv_lib_dld_dld_link
=no
10237 rm -f core conftest.err conftest.
$ac_objext \
10238 conftest
$ac_exeext conftest.
$ac_ext
10239 LIBS
=$ac_check_lib_save_LIBS
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10242 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10243 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10244 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10265 if test "x$lt_cv_dlopen" != xno
; then
10271 case $lt_cv_dlopen in
10273 save_CPPFLAGS
="$CPPFLAGS"
10274 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10276 save_LDFLAGS
="$LDFLAGS"
10277 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10280 LIBS
="$lt_cv_dlopen_libs $LIBS"
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10283 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10284 if test "${lt_cv_dlopen_self+set}" = set; then :
10285 $as_echo_n "(cached) " >&6
10287 if test "$cross_compiling" = yes; then :
10288 lt_cv_dlopen_self
=cross
10290 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10291 lt_status
=$lt_dlunknown
10292 cat > conftest.
$ac_ext <<_LT_EOF
10293 #line 10293 "configure"
10294 #include "confdefs.h"
10303 # define LT_DLGLOBAL RTLD_GLOBAL
10306 # define LT_DLGLOBAL DL_GLOBAL
10308 # define LT_DLGLOBAL 0
10312 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10313 find out it does not work in some platform. */
10314 #ifndef LT_DLLAZY_OR_NOW
10316 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10319 # define LT_DLLAZY_OR_NOW DL_LAZY
10322 # define LT_DLLAZY_OR_NOW RTLD_NOW
10325 # define LT_DLLAZY_OR_NOW DL_NOW
10327 # define LT_DLLAZY_OR_NOW 0
10334 void fnord() { int i=42;}
10337 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10338 int status = $lt_dlunknown;
10342 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10343 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10344 /* dlclose (self); */
10352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10353 (eval $ac_link) 2>&5
10355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10356 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10357 (.
/conftest
; exit; ) >&5 2>/dev
/null
10359 case x
$lt_status in
10360 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10361 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10362 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10365 # compilation failed
10366 lt_cv_dlopen_self
=no
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10374 $as_echo "$lt_cv_dlopen_self" >&6; }
10376 if test "x$lt_cv_dlopen_self" = xyes
; then
10377 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10379 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10380 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10381 $as_echo_n "(cached) " >&6
10383 if test "$cross_compiling" = yes; then :
10384 lt_cv_dlopen_self_static
=cross
10386 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10387 lt_status
=$lt_dlunknown
10388 cat > conftest.
$ac_ext <<_LT_EOF
10389 #line 10389 "configure"
10390 #include "confdefs.h"
10399 # define LT_DLGLOBAL RTLD_GLOBAL
10402 # define LT_DLGLOBAL DL_GLOBAL
10404 # define LT_DLGLOBAL 0
10408 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10409 find out it does not work in some platform. */
10410 #ifndef LT_DLLAZY_OR_NOW
10412 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10415 # define LT_DLLAZY_OR_NOW DL_LAZY
10418 # define LT_DLLAZY_OR_NOW RTLD_NOW
10421 # define LT_DLLAZY_OR_NOW DL_NOW
10423 # define LT_DLLAZY_OR_NOW 0
10430 void fnord() { int i=42;}
10433 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10434 int status = $lt_dlunknown;
10438 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10439 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10440 /* dlclose (self); */
10448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10449 (eval $ac_link) 2>&5
10451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10452 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10453 (.
/conftest
; exit; ) >&5 2>/dev
/null
10455 case x
$lt_status in
10456 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10457 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10458 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10461 # compilation failed
10462 lt_cv_dlopen_self_static
=no
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10470 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10473 CPPFLAGS
="$save_CPPFLAGS"
10474 LDFLAGS
="$save_LDFLAGS"
10479 case $lt_cv_dlopen_self in
10480 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10481 *) enable_dlopen_self
=unknown
;;
10484 case $lt_cv_dlopen_self_static in
10485 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10486 *) enable_dlopen_self_static
=unknown
;;
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10509 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10510 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10511 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10512 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10514 $as_echo "yes" >&6; }
10516 # FIXME - insert some real tests, host_os isn't really good enough
10519 if test -n "$STRIP" ; then
10520 striplib
="$STRIP -x"
10521 old_striplib
="$STRIP -S"
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10523 $as_echo "yes" >&6; }
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10526 $as_echo "no" >&6; }
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10531 $as_echo "no" >&6; }
10547 # Report which library types will actually be built
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10549 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10551 $as_echo "$can_build_shared" >&6; }
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10554 $as_echo_n "checking whether to build shared libraries... " >&6; }
10555 test "$can_build_shared" = "no" && enable_shared
=no
10557 # On AIX, shared libraries and static libraries use the same namespace, and
10558 # are all built from PIC.
10561 test "$enable_shared" = yes && enable_static
=no
10562 if test -n "$RANLIB"; then
10563 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10564 postinstall_cmds
='$RANLIB $lib'
10569 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10570 test "$enable_shared" = yes && enable_static
=no
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10575 $as_echo "$enable_shared" >&6; }
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10578 $as_echo_n "checking whether to build static libraries... " >&6; }
10579 # Make sure either enable_shared or enable_static is yes.
10580 test "$enable_shared" = yes || enable_static
=yes
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10582 $as_echo "$enable_static" >&6; }
10589 ac_cpp
='$CPP $CPPFLAGS'
10590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10608 ac_config_commands
="$ac_config_commands libtool"
10613 # Only expand once:
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl license" >&5
10619 $as_echo_n "checking spl license... " >&6; }
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LICENSE" >&5
10622 $as_echo "$LICENSE" >&6; }
10623 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DHAVE_GPL_ONLY_SYMBOLS"
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linux distribution" >&5
10629 $as_echo_n "checking linux distribution... " >&6; }
10630 if test -f /etc
/toss-release
; then
10632 elif test -f /etc
/fedora-release
; then
10634 elif test -f /etc
/redhat-release
; then
10636 elif test -f /etc
/gentoo-release
; then
10638 elif test -f /etc
/arch-release
; then
10640 elif test -f /etc
/SuSE-release
; then
10642 elif test -f /etc
/slackware-version
; then
10644 elif test -f /etc
/lunar.release
; then
10646 elif test -f /etc
/lsb-release
; then
10648 elif test -f /etc
/debian_version
; then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VENDOR" >&5
10654 $as_echo "$VENDOR" >&6; }
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default package type" >&5
10658 $as_echo_n "checking default package type... " >&6; }
10660 toss
) DEFAULT_PACKAGE
=rpm
;;
10661 redhat
) DEFAULT_PACKAGE
=rpm
;;
10662 fedora
) DEFAULT_PACKAGE
=rpm
;;
10663 gentoo
) DEFAULT_PACKAGE
=tgz
;;
10664 arch
) DEFAULT_PACKAGE
=tgz
;;
10665 sles
) DEFAULT_PACKAGE
=rpm
;;
10666 slackware
) DEFAULT_PACKAGE
=tgz
;;
10667 lunar
) DEFAULT_PACKAGE
=tgz
;;
10668 ubuntu
) DEFAULT_PACKAGE
=deb
;;
10669 debian
) DEFAULT_PACKAGE
=deb
;;
10670 *) DEFAULT_PACKAGE
=rpm
;;
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_PACKAGE" >&5
10674 $as_echo "$DEFAULT_PACKAGE" >&6; }
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPM is available" >&5
10682 $as_echo_n "checking whether $RPM is available... " >&6; }
10683 if tmp
=$
($RPM --version 2>/dev
/null
); then :
10685 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM ($RPM_VERSION)" >&5
10688 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM" >&5
10694 $as_echo "$HAVE_RPM" >&6; }
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPMBUILD is available" >&5
10699 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
10700 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then :
10702 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
10705 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD" >&5
10711 $as_echo "$HAVE_RPMBUILD" >&6; }
10715 RPM_DEFINE_COMMON
='--define "$(DEBUG_SPL) 1" --define "$(DEBUG_LOG) 1" --define "$(DEBUG_KMEM) 1" --define "$(DEBUG_KMEM_TRACKING) 1"'
10717 RPM_DEFINE_KMOD
='--define "kernels $(LINUX_VERSION)"'
10720 SRPM_DEFINE_COMMON
='--define "build_src_rpm 1"'
10725 RPM_SPEC_DIR
="rpm/generic"
10727 # Check whether --with-spec was given.
10728 if test "${with_spec+set}" = set; then :
10729 withval
=$with_spec; RPM_SPEC_DIR
="rpm/$withval"
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether spec files are available" >&5
10734 $as_echo_n "checking whether spec files are available... " >&6; }
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($RPM_SPEC_DIR/*.spec.in)" >&5
10736 $as_echo "yes ($RPM_SPEC_DIR/*.spec.in)" >&6; }
10758 DPKGBUILD
=dpkg-buildpackage
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKG is available" >&5
10761 $as_echo_n "checking whether $DPKG is available... " >&6; }
10762 if tmp
=$
($DPKG --version 2>/dev
/null
); then :
10764 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
10767 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG" >&5
10773 $as_echo "$HAVE_DPKG" >&6; }
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKGBUILD is available" >&5
10778 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
10779 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then :
10781 DPKGBUILD_VERSION
=$
(echo $tmp | \
10782 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
10785 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD" >&5
10791 $as_echo "$HAVE_DPKGBUILD" >&6; }
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ALIEN is available" >&5
10807 $as_echo_n "checking whether $ALIEN is available... " >&6; }
10808 if tmp
=$
($ALIEN --version 2>/dev
/null
); then :
10810 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
10813 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN" >&5
10819 $as_echo "$HAVE_ALIEN" >&6; }
10831 # Check whether --with-config was given.
10832 if test "${with_config+set}" = set; then :
10833 withval
=$with_config; SPL_CONFIG
="$withval"
10836 # Check whether --enable-linux-builtin was given.
10837 if test "${enable_linux_builtin+set}" = set; then :
10838 enableval
=$enable_linux_builtin;
10840 enable_linux_builtin
=no
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl config" >&5
10845 $as_echo_n "checking spl config... " >&6; }
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_CONFIG" >&5
10847 $as_echo "$SPL_CONFIG" >&6; };
10850 case "$SPL_CONFIG" in
10854 # Check whether --with-linux was given.
10855 if test "${with_linux+set}" = set; then :
10856 withval
=$with_linux; kernelsrc
="$withval"
10861 # Check whether --with-linux-obj was given.
10862 if test "${with_linux_obj+set}" = set; then :
10863 withval
=$with_linux_obj; kernelbuild
="$withval"
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
10868 $as_echo_n "checking kernel source directory... " >&6; }
10869 if test -z "$kernelsrc"; then
10870 if test -e "/lib/modules/$(uname -r)/source"; then
10871 headersdir
="/lib/modules/$(uname -r)/source"
10872 sourcelink
=$
(readlink
-f "$headersdir")
10873 elif test -e "/lib/modules/$(uname -r)/build"; then
10874 headersdir
="/lib/modules/$(uname -r)/build"
10875 sourcelink
=$
(readlink
-f "$headersdir")
10877 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
10879 2>/dev
/null |
grep -v obj |
tail -1)
10882 if test -n "$sourcelink" && test -e ${sourcelink}; then
10883 kernelsrc
=`readlink -f ${sourcelink}`
10885 kernelsrc
="Not found"
10888 if test "$kernelsrc" = "NONE"; then
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
10894 $as_echo "$kernelsrc" >&6; }
10895 if test ! -d "$kernelsrc"; then
10897 *** Please make sure the kernel devel package for your distribution
10898 *** is installed and then try again. If that fails, you can specify the
10899 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
10903 $as_echo_n "checking kernel build directory... " >&6; }
10904 if test -z "$kernelbuild"; then
10905 if test -e "/lib/modules/$(uname -r)/build"; then
10906 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
10907 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
10908 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
10909 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
10910 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
10911 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
10912 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
10914 kernelbuild
=${kernelsrc}
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
10918 $as_echo "$kernelbuild" >&6; }
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
10921 $as_echo_n "checking kernel source version... " >&6; }
10922 utsrelease1
=$kernelbuild/include
/linux
/version.h
10923 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
10924 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
10925 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
10926 utsrelease
=linux
/version.h
10927 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
10928 utsrelease
=linux
/utsrelease.h
10929 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
10930 utsrelease
=generated
/utsrelease.h
10933 if test "$utsrelease"; then
10934 kernsrcver
=`(echo "#include <$utsrelease>";
10935 echo "kernsrcver=UTS_RELEASE") |
10936 cpp -I $kernelbuild/include |
10937 grep "^kernsrcver=" | cut -d \" -f 2`
10939 if test -z "$kernsrcver"; then
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
10941 $as_echo "Not found" >&6; }
10942 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
10946 $as_echo "Not found" >&6; }
10947 if test "x$enable_linux_builtin" != xyes
; then
10948 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
10951 *** Cannot find UTS_RELEASE definition.
10952 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
10957 $as_echo "$kernsrcver" >&6; }
10960 LINUX_OBJ
=${kernelbuild}
10961 LINUX_VERSION
=${kernsrcver}
10968 modpost
=$LINUX/scripts
/Makefile.modpost
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
10970 $as_echo_n "checking kernel file name for module symbols... " >&6; }
10971 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
10972 if grep -q Modules.symvers
$modpost; then
10973 LINUX_SYMBOLS
=Modules.symvers
10975 LINUX_SYMBOLS
=Module.symvers
10978 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
10980 *** Please make sure the kernel devel package for your distribution
10981 *** is installed. If you are building with a custom kernel, make sure the
10982 *** kernel is configured, built, and the '--with-linux=PATH' configure
10983 *** option refers to the location of the kernel source." "$LINENO" 5
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
10989 $as_echo "$LINUX_SYMBOLS" >&6; }
10994 if test "${LINUX_OBJ}" != "${LINUX}"; then
10995 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
10999 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
11004 $as_echo_n "checking whether debugging is enabled... " >&6; }
11005 # Check whether --enable-debug was given.
11006 if test "${enable_debug+set}" = set; then :
11007 enableval
=$enable_debug;
11013 if test "x$enable_debug" = xyes
; then :
11015 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
11016 DEBUG_CFLAGS
="-DDEBUG -Werror"
11017 DEBUG_SPL
="_with_debug"
11021 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
11022 DEBUG_CFLAGS
="-DNDEBUG"
11023 DEBUG_SPL
="_without_debug"
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
11030 $as_echo "$enable_debug" >&6; }
11033 # Check whether --enable-debug-log was given.
11034 if test "${enable_debug_log+set}" = set; then :
11035 enableval
=$enable_debug_log;
11037 enable_debug_log
=yes
11041 if test "x$enable_debug_log" = xyes
; then :
11043 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_LOG"
11044 DEBUG_LOG
="_with_debug_log"
11046 $as_echo "#define DEBUG_LOG 1" >>confdefs.h
11051 DEBUG_LOG
="_without_debug_log"
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic debug logging is enabled" >&5
11057 $as_echo_n "checking whether basic debug logging is enabled... " >&6; }
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_log" >&5
11059 $as_echo "$enable_debug_log" >&6; }
11062 # Check whether --enable-debug-kmem was given.
11063 if test "${enable_debug_kmem+set}" = set; then :
11064 enableval
=$enable_debug_kmem;
11066 enable_debug_kmem
=yes
11070 if test "x$enable_debug_kmem" = xyes
; then :
11072 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
11073 DEBUG_KMEM
="_with_debug_kmem"
11075 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
11080 DEBUG_KMEM
="_without_debug_kmem"
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
11086 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
11088 $as_echo "$enable_debug_kmem" >&6; }
11091 # Check whether --enable-debug-kmem-tracking was given.
11092 if test "${enable_debug_kmem_tracking+set}" = set; then :
11093 enableval
=$enable_debug_kmem_tracking;
11095 enable_debug_kmem_tracking
=no
11099 if test "x$enable_debug_kmem_tracking" = xyes
; then :
11101 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
11102 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
11104 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
11109 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
11115 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
11117 $as_echo "$enable_debug_kmem_tracking" >&6; }
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
11120 $as_echo_n "checking whether modules can be built... " >&6; }
11123 cat confdefs.h
- <<_ACEOF >conftest.c
11137 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11138 echo "obj-m := conftest.o" >build
/Makefile
11140 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11141 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11142 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11143 (eval $ac_try) 2>&5
11145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11146 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11147 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11148 (eval $ac_try) 2>&5
11150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11151 test $ac_status = 0; }; }; then :
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11154 $as_echo "yes" >&6; }
11157 $as_echo "$as_me: failed program was:" >&5
11158 sed 's/^/| /' conftest.
$ac_ext >&5
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11161 $as_echo "no" >&6; }
11162 if test "x$enable_linux_builtin" != xyes
; then
11163 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
11166 *** Unable to build an empty module.
11167 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
11178 # Check whether --enable-atomic-spinlocks was given.
11179 if test "${enable_atomic_spinlocks+set}" = set; then :
11180 enableval
=$enable_atomic_spinlocks;
11182 enable_atomic_spinlocks
=check
11188 cat confdefs.h
- <<_ACEOF >conftest.c
11191 #include <linux/fs.h>
11197 atomic64_t *ptr __attribute__ ((unused));
11206 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11207 echo "obj-m := conftest.o" >build
/Makefile
11209 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11210 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11211 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11212 (eval $ac_try) 2>&5
11214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11215 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11216 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11217 (eval $ac_try) 2>&5
11219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11220 test $ac_status = 0; }; }; then :
11222 have_atomic64_t
=yes
11224 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
11228 $as_echo "$as_me: failed program was:" >&5
11229 sed 's/^/| /' conftest.
$ac_ext >&5
11240 if test "x$enable_atomic_spinlocks" = xcheck
; then :
11242 if test "x$have_atomic64_t" = xyes
; then :
11244 enable_atomic_spinlocks
=no
11248 enable_atomic_spinlocks
=yes
11254 if test "x$enable_atomic_spinlocks" = xyes
; then :
11257 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
11262 if test "x$have_atomic64_t" = xno
; then :
11264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11266 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
11267 See \`config.log' for more details" "$LINENO" 5 ; }
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
11274 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
11276 $as_echo "$enable_atomic_spinlocks" >&6; }
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
11279 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
11281 $as_echo "$have_atomic64_t" >&6; }
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_cmpxchg" >&5
11284 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
11287 cat confdefs.h
- <<_ACEOF >conftest.c
11290 #include <linux/fs.h>
11296 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
11305 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11306 echo "obj-m := conftest.o" >build
/Makefile
11308 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11309 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11310 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11311 (eval $ac_try) 2>&5
11313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11314 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11315 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11316 (eval $ac_try) 2>&5
11318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11319 test $ac_status = 0; }; }; then :
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11322 $as_echo "yes" >&6; }
11324 $as_echo "#define HAVE_ATOMIC64_CMPXCHG 1" >>confdefs.h
11328 $as_echo "$as_me: failed program was:" >&5
11329 sed 's/^/| /' conftest.
$ac_ext >&5
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11332 $as_echo "no" >&6; }
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_xchg" >&5
11342 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
11345 cat confdefs.h
- <<_ACEOF >conftest.c
11348 #include <linux/fs.h>
11354 atomic64_xchg((atomic64_t *)NULL, 0);
11363 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11364 echo "obj-m := conftest.o" >build
/Makefile
11366 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11367 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11368 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11369 (eval $ac_try) 2>&5
11371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11372 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11373 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11374 (eval $ac_try) 2>&5
11376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11377 test $ac_status = 0; }; }; then :
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11380 $as_echo "yes" >&6; }
11382 $as_echo "#define HAVE_ATOMIC64_XCHG 1" >>confdefs.h
11386 $as_echo "$as_me: failed program was:" >&5
11387 sed 's/^/| /' conftest.
$ac_ext >&5
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11390 $as_echo "no" >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines uintptr_t" >&5
11400 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
11403 cat confdefs.h
- <<_ACEOF >conftest.c
11406 #include <linux/types.h>
11412 uintptr_t *ptr __attribute__ ((unused));
11421 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11422 echo "obj-m := conftest.o" >build
/Makefile
11424 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11425 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11426 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11427 (eval $ac_try) 2>&5
11429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11430 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11431 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11432 (eval $ac_try) 2>&5
11434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11435 test $ac_status = 0; }; }; then :
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11438 $as_echo "yes" >&6; }
11440 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
11444 $as_echo "$as_me: failed program was:" >&5
11445 sed 's/^/| /' conftest.
$ac_ext >&5
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11448 $as_echo "no" >&6; }
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether register_sysctl_table() wants 2 args" >&5
11458 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
11461 cat confdefs.h
- <<_ACEOF >conftest.c
11464 #include <linux/sysctl.h>
11470 (void) register_sysctl_table(NULL, 0);
11479 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11480 echo "obj-m := conftest.o" >build
/Makefile
11482 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11483 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11484 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11485 (eval $ac_try) 2>&5
11487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11488 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11489 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11490 (eval $ac_try) 2>&5
11492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11493 test $ac_status = 0; }; }; then :
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11496 $as_echo "yes" >&6; }
11498 $as_echo "#define HAVE_2ARGS_REGISTER_SYSCTL 1" >>confdefs.h
11502 $as_echo "$as_me: failed program was:" >&5
11503 sed 's/^/| /' conftest.
$ac_ext >&5
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11506 $as_echo "no" >&6; }
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_shrinker() available" >&5
11517 $as_echo_n "checking whether set_shrinker() available... " >&6; }
11520 cat confdefs.h
- <<_ACEOF >conftest.c
11523 #include <linux/mm.h>
11529 return set_shrinker(DEFAULT_SEEKS, NULL);
11538 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11539 echo "obj-m := conftest.o" >build
/Makefile
11541 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11542 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11543 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11544 (eval $ac_try) 2>&5
11546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11547 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11548 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11549 (eval $ac_try) 2>&5
11551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11552 test $ac_status = 0; }; }; then :
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11555 $as_echo "yes" >&6; }
11557 $as_echo "#define HAVE_SET_SHRINKER 1" >>confdefs.h
11561 $as_echo "$as_me: failed program was:" >&5
11562 sed 's/^/| /' conftest.
$ac_ext >&5
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11565 $as_echo "no" >&6; }
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrinker callback wants 3 args" >&5
11575 $as_echo_n "checking whether shrinker callback wants 3 args... " >&6; }
11576 tmp_flags
="$EXTRA_KCFLAGS"
11577 EXTRA_KCFLAGS
="-Werror"
11580 cat confdefs.h
- <<_ACEOF >conftest.c
11583 #include <linux/mm.h>
11585 int shrinker_cb(struct shrinker *, int, unsigned int);
11591 struct shrinker cache_shrinker = {
11592 .shrink = shrinker_cb,
11593 .seeks = DEFAULT_SEEKS,
11595 register_shrinker(&cache_shrinker);
11604 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11605 echo "obj-m := conftest.o" >build
/Makefile
11607 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11608 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11609 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11610 (eval $ac_try) 2>&5
11612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11613 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11614 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11615 (eval $ac_try) 2>&5
11617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11618 test $ac_status = 0; }; }; then :
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11621 $as_echo "yes" >&6; }
11623 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
11627 $as_echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.
$ac_ext >&5
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11639 EXTRA_KCFLAGS
="$tmp_flags"
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct path used in struct nameidata" >&5
11642 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
11645 cat confdefs.h
- <<_ACEOF >conftest.c
11648 #include <linux/namei.h>
11654 struct nameidata nd __attribute__ ((unused));
11656 nd.path.mnt = NULL;
11657 nd.path.dentry = NULL;
11666 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11667 echo "obj-m := conftest.o" >build
/Makefile
11669 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11670 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11671 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11672 (eval $ac_try) 2>&5
11674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11675 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11676 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11677 (eval $ac_try) 2>&5
11679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11680 test $ac_status = 0; }; }; then :
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11683 $as_echo "yes" >&6; }
11685 $as_echo "#define HAVE_PATH_IN_NAMEIDATA 1" >>confdefs.h
11689 $as_echo "$as_me: failed program was:" >&5
11690 sed 's/^/| /' conftest.
$ac_ext >&5
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11693 $as_echo "no" >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether task_curr() is available" >&5
11703 $as_echo_n "checking whether task_curr() is available... " >&6; }
11707 cat confdefs.h
- <<_ACEOF >conftest.c
11710 #include <linux/sched.h>
11725 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11726 echo "obj-m := conftest.o" >build
/Makefile
11728 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11729 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11730 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11731 (eval $ac_try) 2>&5
11733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11734 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11735 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11736 (eval $ac_try) 2>&5
11738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11739 test $ac_status = 0; }; }; then :
11742 $as_echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.
$ac_ext >&5
11751 if test $rc -ne 0; then :
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754 $as_echo "no" >&6; }
11757 if test "x$enable_linux_builtin" != xyes
; then
11759 grep -q -E '[[:space:]]task_curr[[:space:]]' \
11760 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
11762 if test $rc -ne 0; then
11764 for file in kernel
/sched.c
; do
11765 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
11766 "$LINUX_OBJ/$file" 2>/dev
/null
11768 if test $rc -eq 0; then
11773 if test $export -eq 0; then :
11783 if test $rc -ne 0; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11786 $as_echo "no" >&6; }
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11791 $as_echo "yes" >&6; }
11793 $as_echo "#define HAVE_TASK_CURR 1" >>confdefs.h
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unnumbered sysctl support exists" >&5
11801 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
11804 cat confdefs.h
- <<_ACEOF >conftest.c
11807 #include <linux/sysctl.h>
11813 #ifndef CTL_UNNUMBERED
11814 #error CTL_UNNUMBERED undefined
11824 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11825 echo "obj-m := conftest.o" >build
/Makefile
11827 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11828 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11829 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11830 (eval $ac_try) 2>&5
11832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11833 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11834 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11835 (eval $ac_try) 2>&5
11837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11838 test $ac_status = 0; }; }; then :
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11841 $as_echo "yes" >&6; }
11843 $as_echo "#define HAVE_CTL_UNNUMBERED 1" >>confdefs.h
11847 $as_echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.
$ac_ext >&5
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851 $as_echo "no" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
11862 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
11865 cat confdefs.h
- <<_ACEOF >conftest.c
11868 #include <linux/sysctl.h>
11874 struct ctl_table ctl __attribute__ ((unused));
11884 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11885 echo "obj-m := conftest.o" >build
/Makefile
11887 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11888 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11889 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11890 (eval $ac_try) 2>&5
11892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11893 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11894 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11895 (eval $ac_try) 2>&5
11897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11898 test $ac_status = 0; }; }; then :
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11901 $as_echo "yes" >&6; }
11903 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
11907 $as_echo "$as_me: failed program was:" >&5
11908 sed 's/^/| /' conftest.
$ac_ext >&5
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11911 $as_echo "no" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct vmalloc_info is declared" >&5
11922 $as_echo_n "checking whether struct vmalloc_info is declared... " >&6; }
11925 cat confdefs.h
- <<_ACEOF >conftest.c
11928 #include <linux/vmalloc.h>
11929 struct vmalloc_info { void *a; };
11944 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11945 echo "obj-m := conftest.o" >build
/Makefile
11947 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11948 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
11949 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11950 (eval $ac_try) 2>&5
11952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11953 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11954 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11955 (eval $ac_try) 2>&5
11957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11958 test $ac_status = 0; }; }; then :
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11961 $as_echo "no" >&6; }
11964 $as_echo "$as_me: failed program was:" >&5
11965 sed 's/^/| /' conftest.
$ac_ext >&5
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11968 $as_echo "yes" >&6; }
11970 $as_echo "#define HAVE_VMALLOC_INFO 1" >>confdefs.h
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
11982 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
11986 cat confdefs.h
- <<_ACEOF >conftest.c
11989 #include <linux/proc_fs.h>
12004 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12005 echo "obj-m := conftest.o" >build
/Makefile
12007 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12008 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12009 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12010 (eval $ac_try) 2>&5
12012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12013 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12014 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12015 (eval $ac_try) 2>&5
12017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12018 test $ac_status = 0; }; }; then :
12021 $as_echo "$as_me: failed program was:" >&5
12022 sed 's/^/| /' conftest.
$ac_ext >&5
12030 if test $rc -ne 0; then :
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12033 $as_echo "no" >&6; }
12036 if test "x$enable_linux_builtin" != xyes
; then
12038 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
12039 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12041 if test $rc -ne 0; then
12044 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
12045 "$LINUX_OBJ/$file" 2>/dev
/null
12047 if test $rc -eq 0; then
12052 if test $export -eq 0; then :
12062 if test $rc -ne 0; then :
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12070 $as_echo "yes" >&6; }
12072 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fls64() is available" >&5
12080 $as_echo_n "checking whether fls64() is available... " >&6; }
12083 cat confdefs.h
- <<_ACEOF >conftest.c
12086 #include <linux/bitops.h>
12101 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12102 echo "obj-m := conftest.o" >build
/Makefile
12104 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12105 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12106 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12107 (eval $ac_try) 2>&5
12109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12110 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12111 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12112 (eval $ac_try) 2>&5
12114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12115 test $ac_status = 0; }; }; then :
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12118 $as_echo "yes" >&6; }
12120 $as_echo "#define HAVE_FLS64 1" >>confdefs.h
12124 $as_echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.
$ac_ext >&5
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12128 $as_echo "no" >&6; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether device_create() is available" >&5
12138 $as_echo_n "checking whether device_create() is available... " >&6; }
12140 grep -q -E '[[:space:]]device_create[[:space:]]' \
12141 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12143 if test $rc -ne 0; then
12145 for file in drivers
/base
/core.c
; do
12146 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
12147 "$LINUX_OBJ/$file" 2>/dev
/null
12149 if test $rc -eq 0; then
12154 if test $export -eq 0; then :
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12157 $as_echo "no" >&6; }
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12162 $as_echo "yes" >&6; }
12164 $as_echo "#define HAVE_DEVICE_CREATE 1" >>confdefs.h
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12171 $as_echo "yes" >&6; }
12173 $as_echo "#define HAVE_DEVICE_CREATE 1" >>confdefs.h
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether device_create() wants 5 args" >&5
12181 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
12182 tmp_flags
="$EXTRA_KCFLAGS"
12183 EXTRA_KCFLAGS
="-Werror"
12186 cat confdefs.h
- <<_ACEOF >conftest.c
12189 #include <linux/device.h>
12195 device_create(NULL, NULL, 0, NULL, "%d", 1);
12204 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12205 echo "obj-m := conftest.o" >build
/Makefile
12207 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12208 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12209 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12210 (eval $ac_try) 2>&5
12212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12213 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12214 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12215 (eval $ac_try) 2>&5
12217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12218 test $ac_status = 0; }; }; then :
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12221 $as_echo "yes" >&6; }
12223 $as_echo "#define HAVE_5ARGS_DEVICE_CREATE 1" >>confdefs.h
12227 $as_echo "$as_me: failed program was:" >&5
12228 sed 's/^/| /' conftest.
$ac_ext >&5
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231 $as_echo "no" >&6; }
12239 EXTRA_KCFLAGS
="$tmp_flags"
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether class_device_create() is available" >&5
12242 $as_echo_n "checking whether class_device_create() is available... " >&6; }
12246 cat confdefs.h
- <<_ACEOF >conftest.c
12249 #include <linux/device.h>
12255 class_device_create(NULL, NULL, 0, NULL, NULL);
12264 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12265 echo "obj-m := conftest.o" >build
/Makefile
12267 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12268 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12269 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12270 (eval $ac_try) 2>&5
12272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12273 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12274 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12275 (eval $ac_try) 2>&5
12277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12278 test $ac_status = 0; }; }; then :
12281 $as_echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.
$ac_ext >&5
12290 if test $rc -ne 0; then :
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293 $as_echo "no" >&6; }
12296 if test "x$enable_linux_builtin" != xyes
; then
12298 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
12299 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12301 if test $rc -ne 0; then
12303 for file in drivers
/base
/class.c
; do
12304 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
12305 "$LINUX_OBJ/$file" 2>/dev
/null
12307 if test $rc -eq 0; then
12312 if test $export -eq 0; then :
12322 if test $rc -ne 0; then :
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12325 $as_echo "no" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12330 $as_echo "yes" >&6; }
12332 $as_echo "#define HAVE_CLASS_DEVICE_CREATE 1" >>confdefs.h
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_normalized_timespec() is available as export" >&5
12340 $as_echo_n "checking whether set_normalized_timespec() is available as export... " >&6; }
12344 cat confdefs.h
- <<_ACEOF >conftest.c
12347 #include <linux/time.h>
12353 set_normalized_timespec(NULL, 0, 0);
12362 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12363 echo "obj-m := conftest.o" >build
/Makefile
12365 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
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 $modpost_flag'
12367 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12368 (eval $ac_try) 2>&5
12370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12371 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12372 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12373 (eval $ac_try) 2>&5
12375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12376 test $ac_status = 0; }; }; then :
12379 $as_echo "$as_me: failed program was:" >&5
12380 sed 's/^/| /' conftest.
$ac_ext >&5
12388 if test $rc -ne 0; then :
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12391 $as_echo "no" >&6; }
12394 if test "x$enable_linux_builtin" != xyes
; then
12396 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
12397 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12399 if test $rc -ne 0; then
12401 for file in kernel
/time.c
; do
12402 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
12403 "$LINUX_OBJ/$file" 2>/dev
/null
12405 if test $rc -eq 0; then
12410 if test $export -eq 0; then :
12420 if test $rc -ne 0; then :
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12423 $as_echo "no" >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12428 $as_echo "yes" >&6; }
12430 $as_echo "#define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1" >>confdefs.h
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_normalized_timespec() is an inline" >&5
12439 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
12442 cat confdefs.h
- <<_ACEOF >conftest.c
12445 #include <linux/time.h>
12446 void set_normalized_timespec(struct timespec *ts,
12447 time_t sec, long nsec) { }
12460 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12461 echo "obj-m := conftest.o" >build
/Makefile
12463 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12464 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12465 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12466 (eval $ac_try) 2>&5
12468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12469 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12470 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12471 (eval $ac_try) 2>&5
12473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12474 test $ac_status = 0; }; }; then :
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12477 $as_echo "no" >&6; }
12480 $as_echo "$as_me: failed program was:" >&5
12481 sed 's/^/| /' conftest.
$ac_ext >&5
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12484 $as_echo "yes" >&6; }
12486 $as_echo "#define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1" >>confdefs.h
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether timespec_sub() is available" >&5
12498 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
12501 cat confdefs.h
- <<_ACEOF >conftest.c
12504 #include <linux/time.h>
12510 struct timespec a = { 0 };
12511 struct timespec b = { 0 };
12512 struct timespec c __attribute__ ((unused));
12513 c = timespec_sub(a, b);
12522 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12523 echo "obj-m := conftest.o" >build
/Makefile
12525 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12526 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12527 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12528 (eval $ac_try) 2>&5
12530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12531 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12532 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12533 (eval $ac_try) 2>&5
12535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12536 test $ac_status = 0; }; }; then :
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12539 $as_echo "yes" >&6; }
12541 $as_echo "#define HAVE_TIMESPEC_SUB 1" >>confdefs.h
12545 $as_echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.
$ac_ext >&5
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12549 $as_echo "no" >&6; }
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether init_utsname() is available" >&5
12560 $as_echo_n "checking whether init_utsname() is available... " >&6; }
12563 cat confdefs.h
- <<_ACEOF >conftest.c
12566 #include <linux/utsname.h>
12572 struct new_utsname *a __attribute__ ((unused));
12573 a = init_utsname();
12582 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12583 echo "obj-m := conftest.o" >build
/Makefile
12585 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12586 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12587 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12588 (eval $ac_try) 2>&5
12590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12591 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12592 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12593 (eval $ac_try) 2>&5
12595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12596 test $ac_status = 0; }; }; then :
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12599 $as_echo "yes" >&6; }
12601 $as_echo "#define HAVE_INIT_UTSNAME 1" >>confdefs.h
12605 $as_echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.
$ac_ext >&5
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12609 $as_echo "no" >&6; }
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/uaccess.h exists" >&5
12620 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
12623 cat confdefs.h
- <<_ACEOF >conftest.c
12626 #include <linux/uaccess.h>
12641 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12642 echo "obj-m := conftest.o" >build
/Makefile
12644 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12645 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12646 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12647 (eval $ac_try) 2>&5
12649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12650 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12651 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12652 (eval $ac_try) 2>&5
12654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12655 test $ac_status = 0; }; }; then :
12658 $as_echo "#define HAVE_UACCESS_HEADER 1" >>confdefs.h
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12661 $as_echo "yes" >&6; }
12665 $as_echo "$as_me: failed program was:" >&5
12666 sed 's/^/| /' conftest.
$ac_ext >&5
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12669 $as_echo "no" >&6; }
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kmalloc_node() is available" >&5
12682 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
12685 cat confdefs.h
- <<_ACEOF >conftest.c
12688 #include <linux/slab.h>
12694 void *a __attribute__ ((unused));
12695 a = kmalloc_node(1, GFP_KERNEL, 0);
12704 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12705 echo "obj-m := conftest.o" >build
/Makefile
12707 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12708 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12709 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12710 (eval $ac_try) 2>&5
12712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12713 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12714 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12715 (eval $ac_try) 2>&5
12717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12718 test $ac_status = 0; }; }; then :
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12721 $as_echo "yes" >&6; }
12723 $as_echo "#define HAVE_KMALLOC_NODE 1" >>confdefs.h
12727 $as_echo "$as_me: failed program was:" >&5
12728 sed 's/^/| /' conftest.
$ac_ext >&5
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12731 $as_echo "no" >&6; }
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether monotonic_clock() is available" >&5
12741 $as_echo_n "checking whether monotonic_clock() is available... " >&6; }
12745 cat confdefs.h
- <<_ACEOF >conftest.c
12748 #include <linux/timex.h>
12763 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12764 echo "obj-m := conftest.o" >build
/Makefile
12766 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12767 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12769 (eval $ac_try) 2>&5
12771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12772 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12773 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12774 (eval $ac_try) 2>&5
12776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12777 test $ac_status = 0; }; }; then :
12780 $as_echo "$as_me: failed program was:" >&5
12781 sed 's/^/| /' conftest.
$ac_ext >&5
12789 if test $rc -ne 0; then :
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12792 $as_echo "no" >&6; }
12795 if test "x$enable_linux_builtin" != xyes
; then
12797 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
12798 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12800 if test $rc -ne 0; then
12803 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
12804 "$LINUX_OBJ/$file" 2>/dev
/null
12806 if test $rc -eq 0; then
12811 if test $export -eq 0; then :
12821 if test $rc -ne 0; then :
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12824 $as_echo "no" >&6; }
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12829 $as_echo "yes" >&6; }
12831 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct inode has i_mutex" >&5
12840 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
12843 cat confdefs.h
- <<_ACEOF >conftest.c
12846 #include <linux/fs.h>
12847 #include <linux/mutex.h>
12854 mutex_init(&i.i_mutex);
12863 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12864 echo "obj-m := conftest.o" >build
/Makefile
12866 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12867 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12868 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12869 (eval $ac_try) 2>&5
12871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12872 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12873 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12874 (eval $ac_try) 2>&5
12876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12877 test $ac_status = 0; }; }; then :
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12880 $as_echo "yes" >&6; }
12882 $as_echo "#define HAVE_INODE_I_MUTEX 1" >>confdefs.h
12886 $as_echo "$as_me: failed program was:" >&5
12887 sed 's/^/| /' conftest.
$ac_ext >&5
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12890 $as_echo "no" >&6; }
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct mutex has owner" >&5
12901 $as_echo_n "checking whether struct mutex has owner... " >&6; }
12904 cat confdefs.h
- <<_ACEOF >conftest.c
12907 #include <linux/mutex.h>
12913 struct mutex mtx __attribute__ ((unused));
12923 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12924 echo "obj-m := conftest.o" >build
/Makefile
12926 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12927 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12928 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12929 (eval $ac_try) 2>&5
12931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12932 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12933 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12934 (eval $ac_try) 2>&5
12936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12937 test $ac_status = 0; }; }; then :
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12940 $as_echo "yes" >&6; }
12942 $as_echo "#define HAVE_MUTEX_OWNER 1" >>confdefs.h
12946 $as_echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.
$ac_ext >&5
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12950 $as_echo "no" >&6; }
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct mutex owner is a task_struct" >&5
12961 $as_echo_n "checking whether struct mutex owner is a task_struct... " >&6; }
12962 tmp_flags
="$EXTRA_KCFLAGS"
12963 EXTRA_KCFLAGS
="-Werror"
12966 cat confdefs.h
- <<_ACEOF >conftest.c
12969 #include <linux/mutex.h>
12970 #include <linux/sched.h>
12976 struct mutex mtx __attribute__ ((unused));
12977 mtx.owner = current;
12986 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12987 echo "obj-m := conftest.o" >build
/Makefile
12989 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12990 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12991 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12992 (eval $ac_try) 2>&5
12994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12995 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12996 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12997 (eval $ac_try) 2>&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13000 test $ac_status = 0; }; }; then :
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13003 $as_echo "yes" >&6; }
13005 $as_echo "#define HAVE_MUTEX_OWNER_TASK_STRUCT 1" >>confdefs.h
13009 $as_echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.
$ac_ext >&5
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13013 $as_echo "no" >&6; }
13021 EXTRA_KCFLAGS
="$tmp_flags"
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mutex_lock_nested() is available" >&5
13025 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
13028 cat confdefs.h
- <<_ACEOF >conftest.c
13031 #include <linux/mutex.h>
13037 struct mutex mutex;
13038 mutex_init(&mutex);
13039 mutex_lock_nested(&mutex, 0);
13048 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13049 echo "obj-m := conftest.o" >build
/Makefile
13051 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13052 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13053 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13054 (eval $ac_try) 2>&5
13056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13057 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13058 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13059 (eval $ac_try) 2>&5
13061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13062 test $ac_status = 0; }; }; then :
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13065 $as_echo "yes" >&6; }
13067 $as_echo "#define HAVE_MUTEX_LOCK_NESTED 1" >>confdefs.h
13071 $as_echo "$as_me: failed program was:" >&5
13072 sed 's/^/| /' conftest.
$ac_ext >&5
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13075 $as_echo "no" >&6; }
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether on_each_cpu() wants 3 args" >&5
13086 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
13089 cat confdefs.h
- <<_ACEOF >conftest.c
13092 #include <linux/interrupt.h>
13093 #include <linux/smp.h>
13095 void on_each_cpu_func(void *data) { return; }
13101 on_each_cpu(on_each_cpu_func, NULL, 0);
13110 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13111 echo "obj-m := conftest.o" >build
/Makefile
13113 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13114 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13115 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13116 (eval $ac_try) 2>&5
13118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13119 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13120 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13121 (eval $ac_try) 2>&5
13123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13124 test $ac_status = 0; }; }; then :
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13127 $as_echo "yes" >&6; }
13129 $as_echo "#define HAVE_3ARGS_ON_EACH_CPU 1" >>confdefs.h
13133 $as_echo "$as_me: failed program was:" >&5
13134 sed 's/^/| /' conftest.
$ac_ext >&5
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13137 $as_echo "no" >&6; }
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kallsyms_lookup_name() is available" >&5
13147 $as_echo_n "checking whether kallsyms_lookup_name() is available... " >&6; }
13151 cat confdefs.h
- <<_ACEOF >conftest.c
13154 #include <linux/kallsyms.h>
13160 kallsyms_lookup_name(NULL);
13169 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13170 echo "obj-m := conftest.o" >build
/Makefile
13172 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13173 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13174 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13175 (eval $ac_try) 2>&5
13177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13178 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13179 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13180 (eval $ac_try) 2>&5
13182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13183 test $ac_status = 0; }; }; then :
13186 $as_echo "$as_me: failed program was:" >&5
13187 sed 's/^/| /' conftest.
$ac_ext >&5
13195 if test $rc -ne 0; then :
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13198 $as_echo "no" >&6; }
13201 if test "x$enable_linux_builtin" != xyes
; then
13203 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
13204 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13206 if test $rc -ne 0; then
13209 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
13210 "$LINUX_OBJ/$file" 2>/dev
/null
13212 if test $rc -eq 0; then
13217 if test $export -eq 0; then :
13227 if test $rc -ne 0; then :
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13230 $as_echo "no" >&6; }
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13235 $as_echo "yes" >&6; }
13237 $as_echo "#define HAVE_KALLSYMS_LOOKUP_NAME 1" >>confdefs.h
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether get_vmalloc_info() is available" >&5
13245 $as_echo_n "checking whether get_vmalloc_info() is available... " >&6; }
13247 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
13248 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13250 if test $rc -ne 0; then
13253 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
13254 "$LINUX_OBJ/$file" 2>/dev
/null
13256 if test $rc -eq 0; then
13261 if test $export -eq 0; then :
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13264 $as_echo "no" >&6; }
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13269 $as_echo "yes" >&6; }
13271 $as_echo "#define HAVE_GET_VMALLOC_INFO 1" >>confdefs.h
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13278 $as_echo "yes" >&6; }
13280 $as_echo "#define HAVE_GET_VMALLOC_INFO 1" >>confdefs.h
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol *_pgdat exist" >&5
13288 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
13289 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
13291 if test $rc -eq 0; then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13293 $as_echo "yes" >&6; }
13295 $as_echo "#define HAVE_PGDAT_HELPERS 1" >>confdefs.h
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13299 $as_echo "no" >&6; }
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether first_online_pgdat() is available" >&5
13303 $as_echo_n "checking whether first_online_pgdat() is available... " >&6; }
13307 cat confdefs.h
- <<_ACEOF >conftest.c
13310 #include <linux/mmzone.h>
13316 first_online_pgdat();
13325 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13326 echo "obj-m := conftest.o" >build
/Makefile
13328 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13329 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13330 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13331 (eval $ac_try) 2>&5
13333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13334 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13335 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13336 (eval $ac_try) 2>&5
13338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13339 test $ac_status = 0; }; }; then :
13342 $as_echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.
$ac_ext >&5
13351 if test $rc -ne 0; then :
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13354 $as_echo "no" >&6; }
13357 if test "x$enable_linux_builtin" != xyes
; then
13359 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
13360 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13362 if test $rc -ne 0; then
13365 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
13366 "$LINUX_OBJ/$file" 2>/dev
/null
13368 if test $rc -eq 0; then
13373 if test $export -eq 0; then :
13383 if test $rc -ne 0; then :
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13386 $as_echo "no" >&6; }
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13391 $as_echo "yes" >&6; }
13393 $as_echo "#define HAVE_FIRST_ONLINE_PGDAT 1" >>confdefs.h
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether next_online_pgdat() is available" >&5
13401 $as_echo_n "checking whether next_online_pgdat() is available... " >&6; }
13405 cat confdefs.h
- <<_ACEOF >conftest.c
13408 #include <linux/mmzone.h>
13414 next_online_pgdat(NULL);
13423 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13424 echo "obj-m := conftest.o" >build
/Makefile
13426 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13427 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13428 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13429 (eval $ac_try) 2>&5
13431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13432 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13433 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13434 (eval $ac_try) 2>&5
13436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13437 test $ac_status = 0; }; }; then :
13440 $as_echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.
$ac_ext >&5
13449 if test $rc -ne 0; then :
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13452 $as_echo "no" >&6; }
13455 if test "x$enable_linux_builtin" != xyes
; then
13457 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
13458 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13460 if test $rc -ne 0; then
13463 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
13464 "$LINUX_OBJ/$file" 2>/dev
/null
13466 if test $rc -eq 0; then
13471 if test $export -eq 0; then :
13481 if test $rc -ne 0; then :
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13484 $as_echo "no" >&6; }
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13489 $as_echo "yes" >&6; }
13491 $as_echo "#define HAVE_NEXT_ONLINE_PGDAT 1" >>confdefs.h
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether next_zone() is available" >&5
13499 $as_echo_n "checking whether next_zone() is available... " >&6; }
13503 cat confdefs.h
- <<_ACEOF >conftest.c
13506 #include <linux/mmzone.h>
13521 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13522 echo "obj-m := conftest.o" >build
/Makefile
13524 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13525 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13526 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13527 (eval $ac_try) 2>&5
13529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13530 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13531 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13532 (eval $ac_try) 2>&5
13534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13535 test $ac_status = 0; }; }; then :
13538 $as_echo "$as_me: failed program was:" >&5
13539 sed 's/^/| /' conftest.
$ac_ext >&5
13547 if test $rc -ne 0; then :
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13550 $as_echo "no" >&6; }
13553 if test "x$enable_linux_builtin" != xyes
; then
13555 grep -q -E '[[:space:]]next_zone[[:space:]]' \
13556 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13558 if test $rc -ne 0; then
13561 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
13562 "$LINUX_OBJ/$file" 2>/dev
/null
13564 if test $rc -eq 0; then
13569 if test $export -eq 0; then :
13579 if test $rc -ne 0; then :
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13582 $as_echo "no" >&6; }
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13587 $as_echo "yes" >&6; }
13589 $as_echo "#define HAVE_NEXT_ZONE 1" >>confdefs.h
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pgdat_list is available" >&5
13597 $as_echo_n "checking whether pgdat_list is available... " >&6; }
13601 cat confdefs.h
- <<_ACEOF >conftest.c
13604 #include <linux/topology.h>
13605 pg_data_t *tmp = pgdat_list;
13618 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13619 echo "obj-m := conftest.o" >build
/Makefile
13621 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13622 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13623 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13624 (eval $ac_try) 2>&5
13626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13627 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13628 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13629 (eval $ac_try) 2>&5
13631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13632 test $ac_status = 0; }; }; then :
13635 $as_echo "$as_me: failed program was:" >&5
13636 sed 's/^/| /' conftest.
$ac_ext >&5
13644 if test $rc -ne 0; then :
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13647 $as_echo "no" >&6; }
13650 if test "x$enable_linux_builtin" != xyes
; then
13652 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
13653 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13655 if test $rc -ne 0; then
13658 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
13659 "$LINUX_OBJ/$file" 2>/dev
/null
13661 if test $rc -eq 0; then
13666 if test $export -eq 0; then :
13676 if test $rc -ne 0; then :
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13679 $as_echo "no" >&6; }
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13684 $as_echo "yes" >&6; }
13686 $as_echo "#define HAVE_PGDAT_LIST 1" >>confdefs.h
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether global_page_state() is available" >&5
13695 $as_echo_n "checking whether global_page_state() is available... " >&6; }
13698 cat confdefs.h
- <<_ACEOF >conftest.c
13701 #include <linux/mm.h>
13707 unsigned long state __attribute__ ((unused));
13708 state = global_page_state(0);
13717 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13718 echo "obj-m := conftest.o" >build
/Makefile
13720 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13721 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13722 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13723 (eval $ac_try) 2>&5
13725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13726 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13727 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13728 (eval $ac_try) 2>&5
13730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13731 test $ac_status = 0; }; }; then :
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13734 $as_echo "yes" >&6; }
13736 $as_echo "#define HAVE_GLOBAL_PAGE_STATE 1" >>confdefs.h
13740 $as_echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.
$ac_ext >&5
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13744 $as_echo "no" >&6; }
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_FREE_PAGES is available" >&5
13755 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
13758 cat confdefs.h
- <<_ACEOF >conftest.c
13761 #include <linux/mm.h>
13767 enum zone_stat_item zsi __attribute__ ((unused));
13768 zsi = NR_FREE_PAGES;
13777 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13778 echo "obj-m := conftest.o" >build
/Makefile
13780 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13781 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13782 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13783 (eval $ac_try) 2>&5
13785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13786 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13787 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13788 (eval $ac_try) 2>&5
13790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13791 test $ac_status = 0; }; }; then :
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13794 $as_echo "yes" >&6; }
13796 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1" >>confdefs.h
13800 $as_echo "$as_me: failed program was:" >&5
13801 sed 's/^/| /' conftest.
$ac_ext >&5
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13804 $as_echo "no" >&6; }
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE is available" >&5
13815 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
13818 cat confdefs.h
- <<_ACEOF >conftest.c
13821 #include <linux/mm.h>
13827 enum zone_stat_item zsi __attribute__ ((unused));
13837 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13838 echo "obj-m := conftest.o" >build
/Makefile
13840 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13841 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13842 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13843 (eval $ac_try) 2>&5
13845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13846 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13847 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13848 (eval $ac_try) 2>&5
13850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13851 test $ac_status = 0; }; }; then :
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13854 $as_echo "yes" >&6; }
13856 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1" >>confdefs.h
13860 $as_echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.
$ac_ext >&5
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13864 $as_echo "no" >&6; }
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE_ANON is available" >&5
13874 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
13877 cat confdefs.h
- <<_ACEOF >conftest.c
13880 #include <linux/mm.h>
13886 enum zone_stat_item zsi __attribute__ ((unused));
13887 zsi = NR_INACTIVE_ANON;
13896 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13897 echo "obj-m := conftest.o" >build
/Makefile
13899 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13900 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13901 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13902 (eval $ac_try) 2>&5
13904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13905 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13906 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13907 (eval $ac_try) 2>&5
13909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13910 test $ac_status = 0; }; }; then :
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13913 $as_echo "yes" >&6; }
13915 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1" >>confdefs.h
13919 $as_echo "$as_me: failed program was:" >&5
13920 sed 's/^/| /' conftest.
$ac_ext >&5
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13923 $as_echo "no" >&6; }
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE_FILE is available" >&5
13933 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
13936 cat confdefs.h
- <<_ACEOF >conftest.c
13939 #include <linux/mm.h>
13945 enum zone_stat_item zsi __attribute__ ((unused));
13946 zsi = NR_INACTIVE_FILE;
13955 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13956 echo "obj-m := conftest.o" >build
/Makefile
13958 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13959 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13961 (eval $ac_try) 2>&5
13963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13964 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13965 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13966 (eval $ac_try) 2>&5
13968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13969 test $ac_status = 0; }; }; then :
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13972 $as_echo "yes" >&6; }
13974 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1" >>confdefs.h
13978 $as_echo "$as_me: failed program was:" >&5
13979 sed 's/^/| /' conftest.
$ac_ext >&5
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13982 $as_echo "no" >&6; }
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE is available" >&5
13993 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
13996 cat confdefs.h
- <<_ACEOF >conftest.c
13999 #include <linux/mm.h>
14005 enum zone_stat_item zsi __attribute__ ((unused));
14015 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14016 echo "obj-m := conftest.o" >build
/Makefile
14018 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14019 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14021 (eval $ac_try) 2>&5
14023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14025 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14026 (eval $ac_try) 2>&5
14028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14029 test $ac_status = 0; }; }; then :
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14032 $as_echo "yes" >&6; }
14034 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1" >>confdefs.h
14038 $as_echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.
$ac_ext >&5
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14042 $as_echo "no" >&6; }
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE_ANON is available" >&5
14052 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
14055 cat confdefs.h
- <<_ACEOF >conftest.c
14058 #include <linux/mm.h>
14064 enum zone_stat_item zsi __attribute__ ((unused));
14065 zsi = NR_ACTIVE_ANON;
14074 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14075 echo "obj-m := conftest.o" >build
/Makefile
14077 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14078 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14079 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14080 (eval $ac_try) 2>&5
14082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14083 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14084 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14085 (eval $ac_try) 2>&5
14087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14088 test $ac_status = 0; }; }; then :
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14091 $as_echo "yes" >&6; }
14093 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1" >>confdefs.h
14097 $as_echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.
$ac_ext >&5
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14101 $as_echo "no" >&6; }
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE_FILE is available" >&5
14111 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
14114 cat confdefs.h
- <<_ACEOF >conftest.c
14117 #include <linux/mm.h>
14123 enum zone_stat_item zsi __attribute__ ((unused));
14124 zsi = NR_ACTIVE_FILE;
14133 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14134 echo "obj-m := conftest.o" >build
/Makefile
14136 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14137 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14138 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14139 (eval $ac_try) 2>&5
14141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14142 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14143 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14144 (eval $ac_try) 2>&5
14146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147 test $ac_status = 0; }; }; then :
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14150 $as_echo "yes" >&6; }
14152 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1" >>confdefs.h
14156 $as_echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.
$ac_ext >&5
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14160 $as_echo "no" >&6; }
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol get_zone_counts is needed" >&5
14171 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
14174 cat confdefs.h
- <<_ACEOF >conftest.c
14182 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
14183 #error "global_page_state needs NR_FREE_PAGES"
14186 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
14187 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
14188 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
14189 #error "global_page_state needs NR_ACTIVE*"
14192 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
14193 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
14194 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
14195 #error "global_page_state needs NR_INACTIVE*"
14205 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14206 echo "obj-m := conftest.o" >build
/Makefile
14208 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14209 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14210 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14211 (eval $ac_try) 2>&5
14213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14214 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14215 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14216 (eval $ac_try) 2>&5
14218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14219 test $ac_status = 0; }; }; then :
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14222 $as_echo "no" >&6; }
14225 $as_echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.
$ac_ext >&5
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14229 $as_echo "yes" >&6; }
14231 $as_echo "#define NEED_GET_ZONE_COUNTS 1" >>confdefs.h
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether get_zone_counts() is available" >&5
14235 $as_echo_n "checking whether get_zone_counts() is available... " >&6; }
14239 cat confdefs.h
- <<_ACEOF >conftest.c
14242 #include <linux/mmzone.h>
14248 get_zone_counts(NULL, NULL, NULL);
14257 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14258 echo "obj-m := conftest.o" >build
/Makefile
14260 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14261 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14262 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14263 (eval $ac_try) 2>&5
14265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14266 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14267 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14268 (eval $ac_try) 2>&5
14270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14271 test $ac_status = 0; }; }; then :
14274 $as_echo "$as_me: failed program was:" >&5
14275 sed 's/^/| /' conftest.
$ac_ext >&5
14283 if test $rc -ne 0; then :
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14286 $as_echo "no" >&6; }
14289 if test "x$enable_linux_builtin" != xyes
; then
14291 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
14292 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14294 if test $rc -ne 0; then
14297 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
14298 "$LINUX_OBJ/$file" 2>/dev
/null
14300 if test $rc -eq 0; then
14305 if test $export -eq 0; then :
14315 if test $rc -ne 0; then :
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14318 $as_echo "no" >&6; }
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14323 $as_echo "yes" >&6; }
14325 $as_echo "#define HAVE_GET_ZONE_COUNTS 1" >>confdefs.h
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether user_path_dir() is available" >&5
14340 $as_echo_n "checking whether user_path_dir() is available... " >&6; }
14344 cat confdefs.h
- <<_ACEOF >conftest.c
14347 #include <linux/fcntl.h>
14348 #include <linux/namei.h>
14354 user_path_dir(NULL, NULL);
14363 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14364 echo "obj-m := conftest.o" >build
/Makefile
14366 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14367 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14368 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14369 (eval $ac_try) 2>&5
14371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14372 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14373 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14374 (eval $ac_try) 2>&5
14376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377 test $ac_status = 0; }; }; then :
14380 $as_echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.
$ac_ext >&5
14389 if test $rc -ne 0; then :
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14392 $as_echo "no" >&6; }
14395 if test "x$enable_linux_builtin" != xyes
; then
14397 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
14398 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14400 if test $rc -ne 0; then
14403 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
14404 "$LINUX_OBJ/$file" 2>/dev
/null
14406 if test $rc -eq 0; then
14411 if test $export -eq 0; then :
14421 if test $rc -ne 0; then :
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14424 $as_echo "no" >&6; }
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14429 $as_echo "yes" >&6; }
14431 $as_echo "#define HAVE_USER_PATH_DIR 1" >>confdefs.h
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() is available" >&5
14439 $as_echo_n "checking whether set_fs_pwd() is available... " >&6; }
14443 cat confdefs.h
- <<_ACEOF >conftest.c
14446 #include <linux/spinlock.h>
14447 #include <linux/fs_struct.h>
14462 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14463 echo "obj-m := conftest.o" >build
/Makefile
14465 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14466 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14467 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14468 (eval $ac_try) 2>&5
14470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14471 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14472 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14473 (eval $ac_try) 2>&5
14475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14476 test $ac_status = 0; }; }; then :
14479 $as_echo "$as_me: failed program was:" >&5
14480 sed 's/^/| /' conftest.
$ac_ext >&5
14488 if test $rc -ne 0; then :
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14491 $as_echo "no" >&6; }
14494 if test "x$enable_linux_builtin" != xyes
; then
14496 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
14497 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14499 if test $rc -ne 0; then
14502 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
14503 "$LINUX_OBJ/$file" 2>/dev
/null
14505 if test $rc -eq 0; then
14510 if test $export -eq 0; then :
14520 if test $rc -ne 0; then :
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14523 $as_echo "no" >&6; }
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14528 $as_echo "yes" >&6; }
14530 $as_echo "#define HAVE_SET_FS_PWD 1" >>confdefs.h
14537 tmp_flags
="$EXTRA_KCFLAGS"
14538 EXTRA_KCFLAGS
="-Werror"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
14540 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
14543 cat confdefs.h
- <<_ACEOF >conftest.c
14546 #include <linux/spinlock.h>
14547 #include <linux/fs_struct.h>
14548 #include <linux/path.h>
14549 void (*const set_fs_pwd_func)
14550 (struct fs_struct *, const struct path *)
14566 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14567 echo "obj-m := conftest.o" >build
/Makefile
14569 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14570 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14571 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14572 (eval $ac_try) 2>&5
14574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14575 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14576 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14577 (eval $ac_try) 2>&5
14579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14580 test $ac_status = 0; }; }; then :
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14583 $as_echo "yes" >&6; }
14585 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
14589 $as_echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.
$ac_ext >&5
14594 cat confdefs.h
- <<_ACEOF >conftest.c
14597 #include <linux/spinlock.h>
14598 #include <linux/fs_struct.h>
14599 #include <linux/path.h>
14600 void (*const set_fs_pwd_func)
14601 (struct fs_struct *, struct path *)
14617 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14618 echo "obj-m := conftest.o" >build
/Makefile
14620 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14621 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14622 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14623 (eval $ac_try) 2>&5
14625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14626 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14627 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14628 (eval $ac_try) 2>&5
14630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14631 test $ac_status = 0; }; }; then :
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14634 $as_echo "no" >&6; }
14637 $as_echo "$as_me: failed program was:" >&5
14638 sed 's/^/| /' conftest.
$ac_ext >&5
14640 as_fn_error $?
"unknown" "$LINENO" 5
14655 EXTRA_KCFLAGS
="$tmp_flags"
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
14658 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
14661 cat confdefs.h
- <<_ACEOF >conftest.c
14664 #include <linux/fs.h>
14670 vfs_unlink(NULL, NULL);
14679 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14680 echo "obj-m := conftest.o" >build
/Makefile
14682 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14683 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14684 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14685 (eval $ac_try) 2>&5
14687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14688 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14689 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14690 (eval $ac_try) 2>&5
14692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14693 test $ac_status = 0; }; }; then :
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14696 $as_echo "yes" >&6; }
14698 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
14702 $as_echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.
$ac_ext >&5
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14706 $as_echo "no" >&6; }
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
14716 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
14719 cat confdefs.h
- <<_ACEOF >conftest.c
14722 #include <linux/fs.h>
14728 vfs_rename(NULL, NULL, NULL, NULL);
14737 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14738 echo "obj-m := conftest.o" >build
/Makefile
14740 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14741 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14742 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14743 (eval $ac_try) 2>&5
14745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14746 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14747 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14748 (eval $ac_try) 2>&5
14750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14751 test $ac_status = 0; }; }; then :
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14754 $as_echo "yes" >&6; }
14756 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
14760 $as_echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.
$ac_ext >&5
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14764 $as_echo "no" >&6; }
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() is available" >&5
14774 $as_echo_n "checking whether vfs_fsync() is available... " >&6; }
14778 cat confdefs.h
- <<_ACEOF >conftest.c
14781 #include <linux/fs.h>
14796 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14797 echo "obj-m := conftest.o" >build
/Makefile
14799 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14800 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14801 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14802 (eval $ac_try) 2>&5
14804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14805 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14806 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14807 (eval $ac_try) 2>&5
14809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14810 test $ac_status = 0; }; }; then :
14813 $as_echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.
$ac_ext >&5
14822 if test $rc -ne 0; then :
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14825 $as_echo "no" >&6; }
14828 if test "x$enable_linux_builtin" != xyes
; then
14830 grep -q -E '[[:space:]]vfs_fsync[[:space:]]' \
14831 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14833 if test $rc -ne 0; then
14835 for file in fs
/sync.c
; do
14836 grep -q -E "EXPORT_SYMBOL.*(vfs_fsync)" \
14837 "$LINUX_OBJ/$file" 2>/dev
/null
14839 if test $rc -eq 0; then
14844 if test $export -eq 0; then :
14854 if test $rc -ne 0; then :
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14857 $as_echo "no" >&6; }
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14862 $as_echo "yes" >&6; }
14864 $as_echo "#define HAVE_VFS_FSYNC 1" >>confdefs.h
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
14873 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
14876 cat confdefs.h
- <<_ACEOF >conftest.c
14879 #include <linux/fs.h>
14885 vfs_fsync(NULL, 0);
14894 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14895 echo "obj-m := conftest.o" >build
/Makefile
14897 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14898 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14899 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14900 (eval $ac_try) 2>&5
14902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14903 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14904 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14905 (eval $ac_try) 2>&5
14907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14908 test $ac_status = 0; }; }; then :
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14911 $as_echo "yes" >&6; }
14913 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
14917 $as_echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.
$ac_ext >&5
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14921 $as_echo "no" >&6; }
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
14932 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
14935 cat confdefs.h
- <<_ACEOF >conftest.c
14938 #include <linux/fs.h>
14944 struct inode_operations ops;
14945 ops.truncate_range = NULL;
14954 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14955 echo "obj-m := conftest.o" >build
/Makefile
14957 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14958 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14959 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14960 (eval $ac_try) 2>&5
14962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14963 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14964 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14965 (eval $ac_try) 2>&5
14967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14968 test $ac_status = 0; }; }; then :
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14971 $as_echo "yes" >&6; }
14973 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
14977 $as_echo "$as_me: failed program was:" >&5
14978 sed 's/^/| /' conftest.
$ac_ext >&5
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14981 $as_echo "no" >&6; }
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
14992 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
14993 tmp_flags
="$EXTRA_KCFLAGS"
14994 EXTRA_KCFLAGS
="-Werror"
14997 cat confdefs.h
- <<_ACEOF >conftest.c
15000 #include <linux/sched.h>
15001 #include <linux/fs_struct.h>
15007 struct fs_struct fs;
15008 spin_lock_init(&fs.lock);
15017 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15018 echo "obj-m := conftest.o" >build
/Makefile
15020 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15021 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15022 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15023 (eval $ac_try) 2>&5
15025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15026 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15027 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15028 (eval $ac_try) 2>&5
15030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15031 test $ac_status = 0; }; }; then :
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15034 $as_echo "yes" >&6; }
15036 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
15040 $as_echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.
$ac_ext >&5
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15044 $as_echo "no" >&6; }
15052 EXTRA_KCFLAGS
="$tmp_flags"
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct cred exists" >&5
15056 $as_echo_n "checking whether struct cred exists... " >&6; }
15059 cat confdefs.h
- <<_ACEOF >conftest.c
15062 #include <linux/cred.h>
15068 struct cred *cr __attribute__ ((unused));
15078 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15079 echo "obj-m := conftest.o" >build
/Makefile
15081 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15082 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15083 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15084 (eval $ac_try) 2>&5
15086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15087 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15088 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15089 (eval $ac_try) 2>&5
15091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15092 test $ac_status = 0; }; }; then :
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15095 $as_echo "yes" >&6; }
15097 $as_echo "#define HAVE_CRED_STRUCT 1" >>confdefs.h
15101 $as_echo "$as_me: failed program was:" >&5
15102 sed 's/^/| /' conftest.
$ac_ext >&5
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15105 $as_echo "no" >&6; }
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
15116 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
15119 cat confdefs.h
- <<_ACEOF >conftest.c
15122 #include <linux/uidgid.h>
15128 kuid_t userid = KUIDT_INIT(0);
15129 kgid_t groupid = KGIDT_INIT(0);
15138 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15139 echo "obj-m := conftest.o" >build
/Makefile
15141 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15142 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15143 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15144 (eval $ac_try) 2>&5
15146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15147 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15148 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15149 (eval $ac_try) 2>&5
15151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15152 test $ac_status = 0; }; }; then :
15156 cat confdefs.h
- <<_ACEOF >conftest.c
15159 #include <linux/uidgid.h>
15166 kgid_t groupid = 0;
15175 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15176 echo "obj-m := conftest.o" >build
/Makefile
15178 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15179 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15180 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15181 (eval $ac_try) 2>&5
15183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15184 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15185 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15186 (eval $ac_try) 2>&5
15188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15189 test $ac_status = 0; }; }; then :
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
15192 $as_echo "yes; optional" >&6; }
15195 $as_echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.
$ac_ext >&5
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
15199 $as_echo "yes; mandatory" >&6; }
15201 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
15212 $as_echo "$as_me: failed program was:" >&5
15213 sed 's/^/| /' conftest.
$ac_ext >&5
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15216 $as_echo "no" >&6; }
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether groups_search() is available" >&5
15226 $as_echo_n "checking whether groups_search() is available... " >&6; }
15230 cat confdefs.h
- <<_ACEOF >conftest.c
15233 #include <linux/cred.h>
15234 #ifdef HAVE_KUIDGID_T
15235 #include <linux/uidgid.h>
15242 #ifdef HAVE_KUIDGID_T
15243 groups_search(NULL, KGIDT_INIT(0));
15245 groups_search(NULL, 0);
15255 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15256 echo "obj-m := conftest.o" >build
/Makefile
15258 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15259 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15260 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15261 (eval $ac_try) 2>&5
15263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15264 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15265 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15266 (eval $ac_try) 2>&5
15268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15269 test $ac_status = 0; }; }; then :
15272 $as_echo "$as_me: failed program was:" >&5
15273 sed 's/^/| /' conftest.
$ac_ext >&5
15281 if test $rc -ne 0; then :
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15284 $as_echo "no" >&6; }
15287 if test "x$enable_linux_builtin" != xyes
; then
15289 grep -q -E '[[:space:]]groups_search[[:space:]]' \
15290 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15292 if test $rc -ne 0; then
15295 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
15296 "$LINUX_OBJ/$file" 2>/dev
/null
15298 if test $rc -eq 0; then
15303 if test $export -eq 0; then :
15313 if test $rc -ne 0; then :
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15316 $as_echo "no" >&6; }
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15321 $as_echo "yes" >&6; }
15323 $as_echo "#define HAVE_GROUPS_SEARCH 1" >>confdefs.h
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __put_task_struct() is available" >&5
15331 $as_echo_n "checking whether __put_task_struct() is available... " >&6; }
15335 cat confdefs.h
- <<_ACEOF >conftest.c
15338 #include <linux/sched.h>
15344 __put_task_struct(NULL);
15353 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15354 echo "obj-m := conftest.o" >build
/Makefile
15356 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15357 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15358 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15359 (eval $ac_try) 2>&5
15361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15362 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15363 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15364 (eval $ac_try) 2>&5
15366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15367 test $ac_status = 0; }; }; then :
15370 $as_echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.
$ac_ext >&5
15379 if test $rc -ne 0; then :
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15382 $as_echo "no" >&6; }
15385 if test "x$enable_linux_builtin" != xyes
; then
15387 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
15388 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15390 if test $rc -ne 0; then
15393 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
15394 "$LINUX_OBJ/$file" 2>/dev
/null
15396 if test $rc -eq 0; then
15401 if test $export -eq 0; then :
15411 if test $rc -ne 0; then :
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15414 $as_echo "no" >&6; }
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15419 $as_echo "yes" >&6; }
15421 $as_echo "#define HAVE_PUT_TASK_STRUCT 1" >>confdefs.h
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether proc_handler() wants 5 args" >&5
15430 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
15433 cat confdefs.h
- <<_ACEOF >conftest.c
15436 #include <linux/sysctl.h>
15442 proc_dostring(NULL, 0, NULL, NULL, NULL);
15451 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15452 echo "obj-m := conftest.o" >build
/Makefile
15454 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15455 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15456 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15457 (eval $ac_try) 2>&5
15459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15460 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15461 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15462 (eval $ac_try) 2>&5
15464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 test $ac_status = 0; }; }; then :
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15468 $as_echo "yes" >&6; }
15470 $as_echo "#define HAVE_5ARGS_PROC_HANDLER 1" >>confdefs.h
15474 $as_echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.
$ac_ext >&5
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15478 $as_echo "no" >&6; }
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kvasprintf() is available" >&5
15488 $as_echo_n "checking whether kvasprintf() is available... " >&6; }
15492 cat confdefs.h
- <<_ACEOF >conftest.c
15495 #include <linux/kernel.h>
15501 kvasprintf(0, NULL, *((va_list*)NULL));
15510 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15511 echo "obj-m := conftest.o" >build
/Makefile
15513 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15514 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15515 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15516 (eval $ac_try) 2>&5
15518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15519 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15520 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15521 (eval $ac_try) 2>&5
15523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524 test $ac_status = 0; }; }; then :
15527 $as_echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.
$ac_ext >&5
15536 if test $rc -ne 0; then :
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15539 $as_echo "no" >&6; }
15542 if test "x$enable_linux_builtin" != xyes
; then
15544 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
15545 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15547 if test $rc -ne 0; then
15550 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
15551 "$LINUX_OBJ/$file" 2>/dev
/null
15553 if test $rc -eq 0; then
15558 if test $export -eq 0; then :
15568 if test $rc -ne 0; then :
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15571 $as_echo "no" >&6; }
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15576 $as_echo "yes" >&6; }
15578 $as_echo "#define HAVE_KVASPRINTF 1" >>confdefs.h
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rwsem_is_locked() acquires sem->wait_lock" >&5
15586 $as_echo_n "checking whether rwsem_is_locked() acquires sem->wait_lock... " >&6; }
15590 cat confdefs.h
- <<_ACEOF >conftest.c
15593 #include <linux/rwsem.h>
15594 int rwsem_is_locked(struct rw_semaphore *sem) { return 0; }
15607 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15608 echo "obj-m := conftest.o" >build
/Makefile
15610 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15611 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15612 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15613 (eval $ac_try) 2>&5
15615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15616 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15617 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15618 (eval $ac_try) 2>&5
15620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15621 test $ac_status = 0; }; }; then :
15624 $as_echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.
$ac_ext >&5
15633 if test $rc -ne 0; then :
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15636 $as_echo "no" >&6; }
15639 if test "x$enable_linux_builtin" != xyes
; then
15641 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
15642 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15644 if test $rc -ne 0; then
15646 for file in lib
/rwsem-spinlock.c
; do
15647 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
15648 "$LINUX_OBJ/$file" 2>/dev
/null
15650 if test $rc -eq 0; then
15655 if test $export -eq 0; then :
15665 if test $rc -ne 0; then :
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15668 $as_echo "no" >&6; }
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15673 $as_echo "yes" >&6; }
15675 $as_echo "#define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1" >>confdefs.h
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
15685 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
15688 cat confdefs.h
- <<_ACEOF >conftest.c
15691 #include <linux/fs.h>
15697 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
15698 struct file_operations fops __attribute__ ((unused)) = {
15699 .fallocate = fallocate,
15709 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15710 echo "obj-m := conftest.o" >build
/Makefile
15712 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15713 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15714 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15715 (eval $ac_try) 2>&5
15717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15718 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15719 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15720 (eval $ac_try) 2>&5
15722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15723 test $ac_status = 0; }; }; then :
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15726 $as_echo "yes" >&6; }
15728 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
15732 $as_echo "$as_me: failed program was:" >&5
15733 sed 's/^/| /' conftest.
$ac_ext >&5
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15736 $as_echo "no" >&6; }
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
15747 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
15750 cat confdefs.h
- <<_ACEOF >conftest.c
15753 #include <linux/fs.h>
15759 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
15760 struct inode_operations fops __attribute__ ((unused)) = {
15761 .fallocate = fallocate,
15771 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15772 echo "obj-m := conftest.o" >build
/Makefile
15774 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15775 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15777 (eval $ac_try) 2>&5
15779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15780 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15781 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15782 (eval $ac_try) 2>&5
15784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15785 test $ac_status = 0; }; }; then :
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15788 $as_echo "yes" >&6; }
15790 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
15794 $as_echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.
$ac_ext >&5
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15798 $as_echo "no" >&6; }
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
15809 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
15812 cat confdefs.h
- <<_ACEOF >conftest.c
15815 #include <linux/fs.h>
15821 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
15822 struct file_operations_no_const fops __attribute__ ((unused)) = {
15823 .fallocate = fallocate,
15833 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15834 echo "obj-m := conftest.o" >build
/Makefile
15836 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15837 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15838 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15839 (eval $ac_try) 2>&5
15841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15842 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15843 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15844 (eval $ac_try) 2>&5
15846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15847 test $ac_status = 0; }; }; then :
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15850 $as_echo "yes" >&6; }
15852 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
15856 $as_echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.
$ac_ext >&5
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15860 $as_echo "no" >&6; }
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrink_dcache_memory() is available" >&5
15871 $as_echo_n "checking whether shrink_dcache_memory() is available... " >&6; }
15875 cat confdefs.h
- <<_ACEOF >conftest.c
15878 #include <linux/dcache.h>
15884 shrink_dcache_memory(0, 0);
15893 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15894 echo "obj-m := conftest.o" >build
/Makefile
15896 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15897 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15898 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15899 (eval $ac_try) 2>&5
15901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15902 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15903 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15904 (eval $ac_try) 2>&5
15906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15907 test $ac_status = 0; }; }; then :
15910 $as_echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.
$ac_ext >&5
15919 if test $rc -ne 0; then :
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15922 $as_echo "no" >&6; }
15925 if test "x$enable_linux_builtin" != xyes
; then
15927 grep -q -E '[[:space:]]shrink_dcache_memory[[:space:]]' \
15928 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15930 if test $rc -ne 0; then
15932 for file in fs
/dcache.c
; do
15933 grep -q -E "EXPORT_SYMBOL.*(shrink_dcache_memory)" \
15934 "$LINUX_OBJ/$file" 2>/dev
/null
15936 if test $rc -eq 0; then
15941 if test $export -eq 0; then :
15951 if test $rc -ne 0; then :
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15954 $as_echo "no" >&6; }
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15959 $as_echo "yes" >&6; }
15961 $as_echo "#define HAVE_SHRINK_DCACHE_MEMORY 1" >>confdefs.h
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrink_icache_memory() is available" >&5
15969 $as_echo_n "checking whether shrink_icache_memory() is available... " >&6; }
15973 cat confdefs.h
- <<_ACEOF >conftest.c
15976 #include <linux/dcache.h>
15982 shrink_icache_memory(0, 0);
15991 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15992 echo "obj-m := conftest.o" >build
/Makefile
15994 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15995 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15996 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15997 (eval $ac_try) 2>&5
15999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16000 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16001 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16002 (eval $ac_try) 2>&5
16004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16005 test $ac_status = 0; }; }; then :
16008 $as_echo "$as_me: failed program was:" >&5
16009 sed 's/^/| /' conftest.
$ac_ext >&5
16017 if test $rc -ne 0; then :
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16023 if test "x$enable_linux_builtin" != xyes
; then
16025 grep -q -E '[[:space:]]shrink_icache_memory[[:space:]]' \
16026 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16028 if test $rc -ne 0; then
16030 for file in fs
/inode.c
; do
16031 grep -q -E "EXPORT_SYMBOL.*(shrink_icache_memory)" \
16032 "$LINUX_OBJ/$file" 2>/dev
/null
16034 if test $rc -eq 0; then
16039 if test $export -eq 0; then :
16049 if test $rc -ne 0; then :
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16057 $as_echo "yes" >&6; }
16059 $as_echo "#define HAVE_SHRINK_ICACHE_MEMORY 1" >>confdefs.h
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol kern_path_parent exists in header" >&5
16069 $as_echo_n "checking whether symbol kern_path_parent exists in header... " >&6; }
16071 for file in include
/linux
/namei.h
; do
16072 grep -q "int kern_path_parent(const char \*, struct nameidata \*)" "$LINUX/$file" 2>/dev
/null
16074 if test $rc -eq 0; then
16079 if test $header -eq 0; then
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16081 $as_echo "no" >&6; }
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16085 $as_echo "yes" >&6; }
16087 $as_echo "#define HAVE_KERN_PATH_PARENT_HEADER 1" >>confdefs.h
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kern_path_parent() is available" >&5
16093 $as_echo_n "checking whether kern_path_parent() is available... " >&6; }
16097 cat confdefs.h
- <<_ACEOF >conftest.c
16100 #include <linux/namei.h>
16106 kern_path_parent(NULL, NULL);
16115 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16116 echo "obj-m := conftest.o" >build
/Makefile
16118 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16119 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16120 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16121 (eval $ac_try) 2>&5
16123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16124 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16125 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16126 (eval $ac_try) 2>&5
16128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16129 test $ac_status = 0; }; }; then :
16132 $as_echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.
$ac_ext >&5
16141 if test $rc -ne 0; then :
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16144 $as_echo "no" >&6; }
16147 if test "x$enable_linux_builtin" != xyes
; then
16149 grep -q -E '[[:space:]]kern_path_parent[[:space:]]' \
16150 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16152 if test $rc -ne 0; then
16154 for file in fs
/namei.c
; do
16155 grep -q -E "EXPORT_SYMBOL.*(kern_path_parent)" \
16156 "$LINUX_OBJ/$file" 2>/dev
/null
16158 if test $rc -eq 0; then
16163 if test $export -eq 0; then :
16173 if test $rc -ne 0; then :
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16176 $as_echo "no" >&6; }
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16181 $as_echo "yes" >&6; }
16183 $as_echo "#define HAVE_KERN_PATH_PARENT_SYMBOL 1" >>confdefs.h
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol kern_path_locked exists in header" >&5
16193 $as_echo_n "checking whether symbol kern_path_locked exists in header... " >&6; }
16195 for file in include
/linux
/namei.h
; do
16196 grep -q "struct dentry \*kern_path_locked(const char \*, struct path \*)" "$LINUX/$file" 2>/dev
/null
16198 if test $rc -eq 0; then
16203 if test $header -eq 0; then
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16205 $as_echo "no" >&6; }
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16209 $as_echo "yes" >&6; }
16211 $as_echo "#define HAVE_KERN_PATH_LOCKED 1" >>confdefs.h
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_KALLSYMS is defined" >&5
16218 $as_echo_n "checking whether CONFIG_KALLSYMS is defined... " >&6; }
16221 cat confdefs.h
- <<_ACEOF >conftest.c
16224 #if !defined(CONFIG_KALLSYMS)
16225 #error CONFIG_KALLSYMS not defined
16239 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16240 echo "obj-m := conftest.o" >build
/Makefile
16242 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16243 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16244 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16245 (eval $ac_try) 2>&5
16247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16248 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16249 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16250 (eval $ac_try) 2>&5
16252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16253 test $ac_status = 0; }; }; then :
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16256 $as_echo "yes" >&6; }
16259 $as_echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.
$ac_ext >&5
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16263 $as_echo "no" >&6; }
16265 *** This kernel does not include the required kallsyms support.
16266 *** Rebuild the kernel with CONFIG_KALLSYMS=y set." "$LINENO" 5
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
16277 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
16280 cat confdefs.h
- <<_ACEOF >conftest.c
16283 #if !defined(CONFIG_ZLIB_INFLATE) && \
16284 !defined(CONFIG_ZLIB_INFLATE_MODULE)
16285 #error CONFIG_ZLIB_INFLATE not defined
16299 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16300 echo "obj-m := conftest.o" >build
/Makefile
16302 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16303 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16304 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16305 (eval $ac_try) 2>&5
16307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16308 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16309 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16310 (eval $ac_try) 2>&5
16312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16313 test $ac_status = 0; }; }; then :
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16316 $as_echo "yes" >&6; }
16319 $as_echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.
$ac_ext >&5
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16323 $as_echo "no" >&6; }
16325 *** This kernel does not include the required zlib inflate support.
16326 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
16337 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
16340 cat confdefs.h
- <<_ACEOF >conftest.c
16343 #if !defined(CONFIG_ZLIB_DEFLATE) && \
16344 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
16345 #error CONFIG_ZLIB_DEFLATE not defined
16359 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16360 echo "obj-m := conftest.o" >build
/Makefile
16362 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16363 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16364 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16365 (eval $ac_try) 2>&5
16367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16368 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16369 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16370 (eval $ac_try) 2>&5
16372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16373 test $ac_status = 0; }; }; then :
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16376 $as_echo "yes" >&6; }
16379 $as_echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.
$ac_ext >&5
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16383 $as_echo "no" >&6; }
16385 *** This kernel does not include the required zlib deflate support.
16386 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
16396 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
16399 cat confdefs.h
- <<_ACEOF >conftest.c
16402 #include <linux/zlib.h>
16408 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
16417 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16418 echo "obj-m := conftest.o" >build
/Makefile
16420 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16421 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16422 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16423 (eval $ac_try) 2>&5
16425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16426 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16427 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16428 (eval $ac_try) 2>&5
16430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16431 test $ac_status = 0; }; }; then :
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16434 $as_echo "yes" >&6; }
16436 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
16440 $as_echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.
$ac_ext >&5
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16444 $as_echo "no" >&6; }
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
16455 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
16458 cat confdefs.h
- <<_ACEOF >conftest.c
16461 #include <linux/mm.h>
16467 struct shrink_control sc __attribute__ ((unused));
16470 sc.gfp_mask = GFP_KERNEL;
16479 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16480 echo "obj-m := conftest.o" >build
/Makefile
16482 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16483 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16484 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16485 (eval $ac_try) 2>&5
16487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16488 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16489 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16490 (eval $ac_try) 2>&5
16492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16493 test $ac_status = 0; }; }; then :
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16496 $as_echo "yes" >&6; }
16498 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
16502 $as_echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.
$ac_ext >&5
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16506 $as_echo "no" >&6; }
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
16517 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
16518 tmp_flags
="$EXTRA_KCFLAGS"
16519 EXTRA_KCFLAGS
="-Werror"
16522 cat confdefs.h
- <<_ACEOF >conftest.c
16525 #include <linux/rwsem.h>
16531 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
16532 raw_spinlock_t dummy_lock __attribute__ ((unused));
16533 dummy_semaphore.wait_lock = dummy_lock;
16542 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16543 echo "obj-m := conftest.o" >build
/Makefile
16545 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16546 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16547 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16548 (eval $ac_try) 2>&5
16550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16551 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16552 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16553 (eval $ac_try) 2>&5
16555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16556 test $ac_status = 0; }; }; then :
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16559 $as_echo "yes" >&6; }
16561 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
16565 $as_echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.
$ac_ext >&5
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16569 $as_echo "no" >&6; }
16577 EXTRA_KCFLAGS
="$tmp_flags"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
16580 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
16583 cat confdefs.h
- <<_ACEOF >conftest.c
16586 #include <linux/sched.h>
16587 #include <linux/sched/rt.h>
16602 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16603 echo "obj-m := conftest.o" >build
/Makefile
16605 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16606 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16607 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16608 (eval $ac_try) 2>&5
16610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16611 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16612 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16613 (eval $ac_try) 2>&5
16615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16616 test $ac_status = 0; }; }; then :
16619 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16622 $as_echo "yes" >&6; }
16625 $as_echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.
$ac_ext >&5
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16629 $as_echo "no" >&6; }
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants" >&5
16640 $as_echo_n "checking whether vfs_getattr() wants... " >&6; }
16643 cat confdefs.h
- <<_ACEOF >conftest.c
16646 #include <linux/fs.h>
16652 vfs_getattr((struct path *) NULL,
16653 (struct kstat *)NULL);
16662 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16663 echo "obj-m := conftest.o" >build
/Makefile
16665 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16666 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16667 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16668 (eval $ac_try) 2>&5
16670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16671 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16672 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16673 (eval $ac_try) 2>&5
16675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16676 test $ac_status = 0; }; }; then :
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2 args" >&5
16679 $as_echo "2 args" >&6; }
16681 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
16685 $as_echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.
$ac_ext >&5
16690 cat confdefs.h
- <<_ACEOF >conftest.c
16693 #include <linux/fs.h>
16699 vfs_getattr((struct vfsmount *)NULL,
16700 (struct dentry *)NULL,
16701 (struct kstat *)NULL);
16710 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16711 echo "obj-m := conftest.o" >build
/Makefile
16713 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16714 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16715 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16716 (eval $ac_try) 2>&5
16718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16719 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16720 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16721 (eval $ac_try) 2>&5
16723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16724 test $ac_status = 0; }; }; then :
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3 args" >&5
16727 $as_echo "3 args" >&6; }
16730 $as_echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.
$ac_ext >&5
16733 as_fn_error $?
"unknown" "$LINENO" 5
16754 # Check whether --with-linux was given.
16755 if test "${with_linux+set}" = set; then :
16756 withval
=$with_linux; kernelsrc
="$withval"
16761 # Check whether --with-linux-obj was given.
16762 if test "${with_linux_obj+set}" = set; then :
16763 withval
=$with_linux_obj; kernelbuild
="$withval"
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
16768 $as_echo_n "checking kernel source directory... " >&6; }
16769 if test -z "$kernelsrc"; then
16770 if test -e "/lib/modules/$(uname -r)/source"; then
16771 headersdir
="/lib/modules/$(uname -r)/source"
16772 sourcelink
=$
(readlink
-f "$headersdir")
16773 elif test -e "/lib/modules/$(uname -r)/build"; then
16774 headersdir
="/lib/modules/$(uname -r)/build"
16775 sourcelink
=$
(readlink
-f "$headersdir")
16777 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
16779 2>/dev
/null |
grep -v obj |
tail -1)
16782 if test -n "$sourcelink" && test -e ${sourcelink}; then
16783 kernelsrc
=`readlink -f ${sourcelink}`
16785 kernelsrc
="Not found"
16788 if test "$kernelsrc" = "NONE"; then
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
16794 $as_echo "$kernelsrc" >&6; }
16795 if test ! -d "$kernelsrc"; then
16797 *** Please make sure the kernel devel package for your distribution
16798 *** is installed and then try again. If that fails, you can specify the
16799 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
16803 $as_echo_n "checking kernel build directory... " >&6; }
16804 if test -z "$kernelbuild"; then
16805 if test -e "/lib/modules/$(uname -r)/build"; then
16806 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
16807 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
16808 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
16809 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
16810 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
16811 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
16812 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
16814 kernelbuild
=${kernelsrc}
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
16818 $as_echo "$kernelbuild" >&6; }
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
16821 $as_echo_n "checking kernel source version... " >&6; }
16822 utsrelease1
=$kernelbuild/include
/linux
/version.h
16823 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
16824 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
16825 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
16826 utsrelease
=linux
/version.h
16827 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
16828 utsrelease
=linux
/utsrelease.h
16829 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
16830 utsrelease
=generated
/utsrelease.h
16833 if test "$utsrelease"; then
16834 kernsrcver
=`(echo "#include <$utsrelease>";
16835 echo "kernsrcver=UTS_RELEASE") |
16836 cpp -I $kernelbuild/include |
16837 grep "^kernsrcver=" | cut -d \" -f 2`
16839 if test -z "$kernsrcver"; then
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
16841 $as_echo "Not found" >&6; }
16842 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
16846 $as_echo "Not found" >&6; }
16847 if test "x$enable_linux_builtin" != xyes
; then
16848 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
16851 *** Cannot find UTS_RELEASE definition.
16852 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
16857 $as_echo "$kernsrcver" >&6; }
16860 LINUX_OBJ
=${kernelbuild}
16861 LINUX_VERSION
=${kernsrcver}
16868 modpost
=$LINUX/scripts
/Makefile.modpost
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
16870 $as_echo_n "checking kernel file name for module symbols... " >&6; }
16871 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
16872 if grep -q Modules.symvers
$modpost; then
16873 LINUX_SYMBOLS
=Modules.symvers
16875 LINUX_SYMBOLS
=Module.symvers
16878 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
16880 *** Please make sure the kernel devel package for your distribution
16881 *** is installed. If you are building with a custom kernel, make sure the
16882 *** kernel is configured, built, and the '--with-linux=PATH' configure
16883 *** option refers to the location of the kernel source." "$LINENO" 5
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
16889 $as_echo "$LINUX_SYMBOLS" >&6; }
16894 if test "${LINUX_OBJ}" != "${LINUX}"; then
16895 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
16899 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
16904 $as_echo_n "checking whether debugging is enabled... " >&6; }
16905 # Check whether --enable-debug was given.
16906 if test "${enable_debug+set}" = set; then :
16907 enableval
=$enable_debug;
16913 if test "x$enable_debug" = xyes
; then :
16915 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
16916 DEBUG_CFLAGS
="-DDEBUG -Werror"
16917 DEBUG_SPL
="_with_debug"
16921 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
16922 DEBUG_CFLAGS
="-DNDEBUG"
16923 DEBUG_SPL
="_without_debug"
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
16930 $as_echo "$enable_debug" >&6; }
16933 # Check whether --enable-debug-log was given.
16934 if test "${enable_debug_log+set}" = set; then :
16935 enableval
=$enable_debug_log;
16937 enable_debug_log
=yes
16941 if test "x$enable_debug_log" = xyes
; then :
16943 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_LOG"
16944 DEBUG_LOG
="_with_debug_log"
16946 $as_echo "#define DEBUG_LOG 1" >>confdefs.h
16951 DEBUG_LOG
="_without_debug_log"
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic debug logging is enabled" >&5
16957 $as_echo_n "checking whether basic debug logging is enabled... " >&6; }
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_log" >&5
16959 $as_echo "$enable_debug_log" >&6; }
16962 # Check whether --enable-debug-kmem was given.
16963 if test "${enable_debug_kmem+set}" = set; then :
16964 enableval
=$enable_debug_kmem;
16966 enable_debug_kmem
=yes
16970 if test "x$enable_debug_kmem" = xyes
; then :
16972 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
16973 DEBUG_KMEM
="_with_debug_kmem"
16975 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
16980 DEBUG_KMEM
="_without_debug_kmem"
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
16986 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
16988 $as_echo "$enable_debug_kmem" >&6; }
16991 # Check whether --enable-debug-kmem-tracking was given.
16992 if test "${enable_debug_kmem_tracking+set}" = set; then :
16993 enableval
=$enable_debug_kmem_tracking;
16995 enable_debug_kmem_tracking
=no
16999 if test "x$enable_debug_kmem_tracking" = xyes
; then :
17001 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
17002 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
17004 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
17009 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
17015 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
17017 $as_echo "$enable_debug_kmem_tracking" >&6; }
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
17020 $as_echo_n "checking whether modules can be built... " >&6; }
17023 cat confdefs.h
- <<_ACEOF >conftest.c
17037 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17038 echo "obj-m := conftest.o" >build
/Makefile
17040 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17041 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17042 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17043 (eval $ac_try) 2>&5
17045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17046 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17047 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17048 (eval $ac_try) 2>&5
17050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17051 test $ac_status = 0; }; }; then :
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17054 $as_echo "yes" >&6; }
17057 $as_echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.
$ac_ext >&5
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17061 $as_echo "no" >&6; }
17062 if test "x$enable_linux_builtin" != xyes
; then
17063 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
17066 *** Unable to build an empty module.
17067 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
17078 # Check whether --enable-atomic-spinlocks was given.
17079 if test "${enable_atomic_spinlocks+set}" = set; then :
17080 enableval
=$enable_atomic_spinlocks;
17082 enable_atomic_spinlocks
=check
17088 cat confdefs.h
- <<_ACEOF >conftest.c
17091 #include <linux/fs.h>
17097 atomic64_t *ptr __attribute__ ((unused));
17106 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17107 echo "obj-m := conftest.o" >build
/Makefile
17109 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17110 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17111 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17112 (eval $ac_try) 2>&5
17114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17115 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17116 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17117 (eval $ac_try) 2>&5
17119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17120 test $ac_status = 0; }; }; then :
17122 have_atomic64_t
=yes
17124 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
17128 $as_echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.
$ac_ext >&5
17140 if test "x$enable_atomic_spinlocks" = xcheck
; then :
17142 if test "x$have_atomic64_t" = xyes
; then :
17144 enable_atomic_spinlocks
=no
17148 enable_atomic_spinlocks
=yes
17154 if test "x$enable_atomic_spinlocks" = xyes
; then :
17157 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
17162 if test "x$have_atomic64_t" = xno
; then :
17164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17166 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
17167 See \`config.log' for more details" "$LINENO" 5 ; }
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
17174 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
17176 $as_echo "$enable_atomic_spinlocks" >&6; }
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
17179 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
17181 $as_echo "$have_atomic64_t" >&6; }
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_cmpxchg" >&5
17184 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
17187 cat confdefs.h
- <<_ACEOF >conftest.c
17190 #include <linux/fs.h>
17196 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
17205 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17206 echo "obj-m := conftest.o" >build
/Makefile
17208 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17209 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17210 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17211 (eval $ac_try) 2>&5
17213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17214 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17215 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17216 (eval $ac_try) 2>&5
17218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17219 test $ac_status = 0; }; }; then :
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17222 $as_echo "yes" >&6; }
17224 $as_echo "#define HAVE_ATOMIC64_CMPXCHG 1" >>confdefs.h
17228 $as_echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.
$ac_ext >&5
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17232 $as_echo "no" >&6; }
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_xchg" >&5
17242 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
17245 cat confdefs.h
- <<_ACEOF >conftest.c
17248 #include <linux/fs.h>
17254 atomic64_xchg((atomic64_t *)NULL, 0);
17263 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17264 echo "obj-m := conftest.o" >build
/Makefile
17266 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17267 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17268 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17269 (eval $ac_try) 2>&5
17271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17272 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17273 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17274 (eval $ac_try) 2>&5
17276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17277 test $ac_status = 0; }; }; then :
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17280 $as_echo "yes" >&6; }
17282 $as_echo "#define HAVE_ATOMIC64_XCHG 1" >>confdefs.h
17286 $as_echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.
$ac_ext >&5
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17290 $as_echo "no" >&6; }
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines uintptr_t" >&5
17300 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
17303 cat confdefs.h
- <<_ACEOF >conftest.c
17306 #include <linux/types.h>
17312 uintptr_t *ptr __attribute__ ((unused));
17321 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17322 echo "obj-m := conftest.o" >build
/Makefile
17324 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17325 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17326 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17327 (eval $ac_try) 2>&5
17329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17330 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17331 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17332 (eval $ac_try) 2>&5
17334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17335 test $ac_status = 0; }; }; then :
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17338 $as_echo "yes" >&6; }
17340 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
17344 $as_echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.
$ac_ext >&5
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17348 $as_echo "no" >&6; }
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether register_sysctl_table() wants 2 args" >&5
17358 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
17361 cat confdefs.h
- <<_ACEOF >conftest.c
17364 #include <linux/sysctl.h>
17370 (void) register_sysctl_table(NULL, 0);
17379 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17380 echo "obj-m := conftest.o" >build
/Makefile
17382 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17383 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17384 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17385 (eval $ac_try) 2>&5
17387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17388 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17389 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17390 (eval $ac_try) 2>&5
17392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17393 test $ac_status = 0; }; }; then :
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17396 $as_echo "yes" >&6; }
17398 $as_echo "#define HAVE_2ARGS_REGISTER_SYSCTL 1" >>confdefs.h
17402 $as_echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.
$ac_ext >&5
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17406 $as_echo "no" >&6; }
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_shrinker() available" >&5
17417 $as_echo_n "checking whether set_shrinker() available... " >&6; }
17420 cat confdefs.h
- <<_ACEOF >conftest.c
17423 #include <linux/mm.h>
17429 return set_shrinker(DEFAULT_SEEKS, NULL);
17438 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17439 echo "obj-m := conftest.o" >build
/Makefile
17441 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17442 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17443 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17444 (eval $ac_try) 2>&5
17446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17447 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17448 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17449 (eval $ac_try) 2>&5
17451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17452 test $ac_status = 0; }; }; then :
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17455 $as_echo "yes" >&6; }
17457 $as_echo "#define HAVE_SET_SHRINKER 1" >>confdefs.h
17461 $as_echo "$as_me: failed program was:" >&5
17462 sed 's/^/| /' conftest.
$ac_ext >&5
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17465 $as_echo "no" >&6; }
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrinker callback wants 3 args" >&5
17475 $as_echo_n "checking whether shrinker callback wants 3 args... " >&6; }
17476 tmp_flags
="$EXTRA_KCFLAGS"
17477 EXTRA_KCFLAGS
="-Werror"
17480 cat confdefs.h
- <<_ACEOF >conftest.c
17483 #include <linux/mm.h>
17485 int shrinker_cb(struct shrinker *, int, unsigned int);
17491 struct shrinker cache_shrinker = {
17492 .shrink = shrinker_cb,
17493 .seeks = DEFAULT_SEEKS,
17495 register_shrinker(&cache_shrinker);
17504 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17505 echo "obj-m := conftest.o" >build
/Makefile
17507 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17508 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17509 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17510 (eval $ac_try) 2>&5
17512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17513 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17514 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17515 (eval $ac_try) 2>&5
17517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17518 test $ac_status = 0; }; }; then :
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17521 $as_echo "yes" >&6; }
17523 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
17527 $as_echo "$as_me: failed program was:" >&5
17528 sed 's/^/| /' conftest.
$ac_ext >&5
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17531 $as_echo "no" >&6; }
17539 EXTRA_KCFLAGS
="$tmp_flags"
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct path used in struct nameidata" >&5
17542 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
17545 cat confdefs.h
- <<_ACEOF >conftest.c
17548 #include <linux/namei.h>
17554 struct nameidata nd __attribute__ ((unused));
17556 nd.path.mnt = NULL;
17557 nd.path.dentry = NULL;
17566 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17567 echo "obj-m := conftest.o" >build
/Makefile
17569 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17570 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17571 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17572 (eval $ac_try) 2>&5
17574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17575 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17576 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17577 (eval $ac_try) 2>&5
17579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17580 test $ac_status = 0; }; }; then :
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17583 $as_echo "yes" >&6; }
17585 $as_echo "#define HAVE_PATH_IN_NAMEIDATA 1" >>confdefs.h
17589 $as_echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17593 $as_echo "no" >&6; }
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether task_curr() is available" >&5
17603 $as_echo_n "checking whether task_curr() is available... " >&6; }
17607 cat confdefs.h
- <<_ACEOF >conftest.c
17610 #include <linux/sched.h>
17625 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17626 echo "obj-m := conftest.o" >build
/Makefile
17628 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17629 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17630 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17631 (eval $ac_try) 2>&5
17633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17634 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17635 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17636 (eval $ac_try) 2>&5
17638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17639 test $ac_status = 0; }; }; then :
17642 $as_echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.
$ac_ext >&5
17651 if test $rc -ne 0; then :
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17654 $as_echo "no" >&6; }
17657 if test "x$enable_linux_builtin" != xyes
; then
17659 grep -q -E '[[:space:]]task_curr[[:space:]]' \
17660 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17662 if test $rc -ne 0; then
17664 for file in kernel
/sched.c
; do
17665 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
17666 "$LINUX_OBJ/$file" 2>/dev
/null
17668 if test $rc -eq 0; then
17673 if test $export -eq 0; then :
17683 if test $rc -ne 0; then :
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17686 $as_echo "no" >&6; }
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17691 $as_echo "yes" >&6; }
17693 $as_echo "#define HAVE_TASK_CURR 1" >>confdefs.h
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unnumbered sysctl support exists" >&5
17701 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
17704 cat confdefs.h
- <<_ACEOF >conftest.c
17707 #include <linux/sysctl.h>
17713 #ifndef CTL_UNNUMBERED
17714 #error CTL_UNNUMBERED undefined
17724 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17725 echo "obj-m := conftest.o" >build
/Makefile
17727 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17728 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17729 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17730 (eval $ac_try) 2>&5
17732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17733 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17734 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17735 (eval $ac_try) 2>&5
17737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17738 test $ac_status = 0; }; }; then :
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17741 $as_echo "yes" >&6; }
17743 $as_echo "#define HAVE_CTL_UNNUMBERED 1" >>confdefs.h
17747 $as_echo "$as_me: failed program was:" >&5
17748 sed 's/^/| /' conftest.
$ac_ext >&5
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17751 $as_echo "no" >&6; }
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
17762 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
17765 cat confdefs.h
- <<_ACEOF >conftest.c
17768 #include <linux/sysctl.h>
17774 struct ctl_table ctl __attribute__ ((unused));
17784 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17785 echo "obj-m := conftest.o" >build
/Makefile
17787 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17788 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17789 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17790 (eval $ac_try) 2>&5
17792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17793 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17794 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17795 (eval $ac_try) 2>&5
17797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17798 test $ac_status = 0; }; }; then :
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17801 $as_echo "yes" >&6; }
17803 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
17807 $as_echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.
$ac_ext >&5
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17811 $as_echo "no" >&6; }
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct vmalloc_info is declared" >&5
17822 $as_echo_n "checking whether struct vmalloc_info is declared... " >&6; }
17825 cat confdefs.h
- <<_ACEOF >conftest.c
17828 #include <linux/vmalloc.h>
17829 struct vmalloc_info { void *a; };
17844 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17845 echo "obj-m := conftest.o" >build
/Makefile
17847 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17848 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17849 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17850 (eval $ac_try) 2>&5
17852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17853 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17854 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17855 (eval $ac_try) 2>&5
17857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17858 test $ac_status = 0; }; }; then :
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17861 $as_echo "no" >&6; }
17864 $as_echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.
$ac_ext >&5
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17868 $as_echo "yes" >&6; }
17870 $as_echo "#define HAVE_VMALLOC_INFO 1" >>confdefs.h
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
17882 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
17886 cat confdefs.h
- <<_ACEOF >conftest.c
17889 #include <linux/proc_fs.h>
17904 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17905 echo "obj-m := conftest.o" >build
/Makefile
17907 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17908 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17909 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17910 (eval $ac_try) 2>&5
17912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17913 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17914 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17915 (eval $ac_try) 2>&5
17917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17918 test $ac_status = 0; }; }; then :
17921 $as_echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.
$ac_ext >&5
17930 if test $rc -ne 0; then :
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17933 $as_echo "no" >&6; }
17936 if test "x$enable_linux_builtin" != xyes
; then
17938 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
17939 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17941 if test $rc -ne 0; then
17944 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
17945 "$LINUX_OBJ/$file" 2>/dev
/null
17947 if test $rc -eq 0; then
17952 if test $export -eq 0; then :
17962 if test $rc -ne 0; then :
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17965 $as_echo "no" >&6; }
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17970 $as_echo "yes" >&6; }
17972 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fls64() is available" >&5
17980 $as_echo_n "checking whether fls64() is available... " >&6; }
17983 cat confdefs.h
- <<_ACEOF >conftest.c
17986 #include <linux/bitops.h>
18001 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18002 echo "obj-m := conftest.o" >build
/Makefile
18004 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18005 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18006 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18007 (eval $ac_try) 2>&5
18009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18010 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18011 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18012 (eval $ac_try) 2>&5
18014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18015 test $ac_status = 0; }; }; then :
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18018 $as_echo "yes" >&6; }
18020 $as_echo "#define HAVE_FLS64 1" >>confdefs.h
18024 $as_echo "$as_me: failed program was:" >&5
18025 sed 's/^/| /' conftest.
$ac_ext >&5
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18028 $as_echo "no" >&6; }
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether device_create() is available" >&5
18038 $as_echo_n "checking whether device_create() is available... " >&6; }
18040 grep -q -E '[[:space:]]device_create[[:space:]]' \
18041 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18043 if test $rc -ne 0; then
18045 for file in drivers
/base
/core.c
; do
18046 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
18047 "$LINUX_OBJ/$file" 2>/dev
/null
18049 if test $rc -eq 0; then
18054 if test $export -eq 0; then :
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18057 $as_echo "no" >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18062 $as_echo "yes" >&6; }
18064 $as_echo "#define HAVE_DEVICE_CREATE 1" >>confdefs.h
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18071 $as_echo "yes" >&6; }
18073 $as_echo "#define HAVE_DEVICE_CREATE 1" >>confdefs.h
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether device_create() wants 5 args" >&5
18081 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
18082 tmp_flags
="$EXTRA_KCFLAGS"
18083 EXTRA_KCFLAGS
="-Werror"
18086 cat confdefs.h
- <<_ACEOF >conftest.c
18089 #include <linux/device.h>
18095 device_create(NULL, NULL, 0, NULL, "%d", 1);
18104 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18105 echo "obj-m := conftest.o" >build
/Makefile
18107 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18108 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18109 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18110 (eval $ac_try) 2>&5
18112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18113 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18114 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18115 (eval $ac_try) 2>&5
18117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18118 test $ac_status = 0; }; }; then :
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18121 $as_echo "yes" >&6; }
18123 $as_echo "#define HAVE_5ARGS_DEVICE_CREATE 1" >>confdefs.h
18127 $as_echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.
$ac_ext >&5
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18131 $as_echo "no" >&6; }
18139 EXTRA_KCFLAGS
="$tmp_flags"
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether class_device_create() is available" >&5
18142 $as_echo_n "checking whether class_device_create() is available... " >&6; }
18146 cat confdefs.h
- <<_ACEOF >conftest.c
18149 #include <linux/device.h>
18155 class_device_create(NULL, NULL, 0, NULL, NULL);
18164 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18165 echo "obj-m := conftest.o" >build
/Makefile
18167 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18168 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18169 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18170 (eval $ac_try) 2>&5
18172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18173 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18174 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18175 (eval $ac_try) 2>&5
18177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18178 test $ac_status = 0; }; }; then :
18181 $as_echo "$as_me: failed program was:" >&5
18182 sed 's/^/| /' conftest.
$ac_ext >&5
18190 if test $rc -ne 0; then :
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18193 $as_echo "no" >&6; }
18196 if test "x$enable_linux_builtin" != xyes
; then
18198 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
18199 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18201 if test $rc -ne 0; then
18203 for file in drivers
/base
/class.c
; do
18204 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
18205 "$LINUX_OBJ/$file" 2>/dev
/null
18207 if test $rc -eq 0; then
18212 if test $export -eq 0; then :
18222 if test $rc -ne 0; then :
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18225 $as_echo "no" >&6; }
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18230 $as_echo "yes" >&6; }
18232 $as_echo "#define HAVE_CLASS_DEVICE_CREATE 1" >>confdefs.h
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_normalized_timespec() is available as export" >&5
18240 $as_echo_n "checking whether set_normalized_timespec() is available as export... " >&6; }
18244 cat confdefs.h
- <<_ACEOF >conftest.c
18247 #include <linux/time.h>
18253 set_normalized_timespec(NULL, 0, 0);
18262 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18263 echo "obj-m := conftest.o" >build
/Makefile
18265 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18266 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18267 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18268 (eval $ac_try) 2>&5
18270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18271 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18272 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18273 (eval $ac_try) 2>&5
18275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18276 test $ac_status = 0; }; }; then :
18279 $as_echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.
$ac_ext >&5
18288 if test $rc -ne 0; then :
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18291 $as_echo "no" >&6; }
18294 if test "x$enable_linux_builtin" != xyes
; then
18296 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
18297 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18299 if test $rc -ne 0; then
18301 for file in kernel
/time.c
; do
18302 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
18303 "$LINUX_OBJ/$file" 2>/dev
/null
18305 if test $rc -eq 0; then
18310 if test $export -eq 0; then :
18320 if test $rc -ne 0; then :
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18323 $as_echo "no" >&6; }
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18328 $as_echo "yes" >&6; }
18330 $as_echo "#define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1" >>confdefs.h
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_normalized_timespec() is an inline" >&5
18339 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
18342 cat confdefs.h
- <<_ACEOF >conftest.c
18345 #include <linux/time.h>
18346 void set_normalized_timespec(struct timespec *ts,
18347 time_t sec, long nsec) { }
18360 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18361 echo "obj-m := conftest.o" >build
/Makefile
18363 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18364 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18365 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18366 (eval $ac_try) 2>&5
18368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18369 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18370 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18371 (eval $ac_try) 2>&5
18373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18374 test $ac_status = 0; }; }; then :
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18377 $as_echo "no" >&6; }
18380 $as_echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.
$ac_ext >&5
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18384 $as_echo "yes" >&6; }
18386 $as_echo "#define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1" >>confdefs.h
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether timespec_sub() is available" >&5
18398 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
18401 cat confdefs.h
- <<_ACEOF >conftest.c
18404 #include <linux/time.h>
18410 struct timespec a = { 0 };
18411 struct timespec b = { 0 };
18412 struct timespec c __attribute__ ((unused));
18413 c = timespec_sub(a, b);
18422 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18423 echo "obj-m := conftest.o" >build
/Makefile
18425 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18426 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18427 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18428 (eval $ac_try) 2>&5
18430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18431 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18432 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18433 (eval $ac_try) 2>&5
18435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18436 test $ac_status = 0; }; }; then :
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18439 $as_echo "yes" >&6; }
18441 $as_echo "#define HAVE_TIMESPEC_SUB 1" >>confdefs.h
18445 $as_echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.
$ac_ext >&5
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18449 $as_echo "no" >&6; }
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether init_utsname() is available" >&5
18460 $as_echo_n "checking whether init_utsname() is available... " >&6; }
18463 cat confdefs.h
- <<_ACEOF >conftest.c
18466 #include <linux/utsname.h>
18472 struct new_utsname *a __attribute__ ((unused));
18473 a = init_utsname();
18482 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18483 echo "obj-m := conftest.o" >build
/Makefile
18485 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18486 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18487 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18488 (eval $ac_try) 2>&5
18490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18491 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18492 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18493 (eval $ac_try) 2>&5
18495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18496 test $ac_status = 0; }; }; then :
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18499 $as_echo "yes" >&6; }
18501 $as_echo "#define HAVE_INIT_UTSNAME 1" >>confdefs.h
18505 $as_echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.
$ac_ext >&5
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18509 $as_echo "no" >&6; }
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/uaccess.h exists" >&5
18520 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
18523 cat confdefs.h
- <<_ACEOF >conftest.c
18526 #include <linux/uaccess.h>
18541 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18542 echo "obj-m := conftest.o" >build
/Makefile
18544 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18545 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18546 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18547 (eval $ac_try) 2>&5
18549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18550 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18551 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18552 (eval $ac_try) 2>&5
18554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18555 test $ac_status = 0; }; }; then :
18558 $as_echo "#define HAVE_UACCESS_HEADER 1" >>confdefs.h
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18561 $as_echo "yes" >&6; }
18565 $as_echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.
$ac_ext >&5
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18569 $as_echo "no" >&6; }
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kmalloc_node() is available" >&5
18582 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
18585 cat confdefs.h
- <<_ACEOF >conftest.c
18588 #include <linux/slab.h>
18594 void *a __attribute__ ((unused));
18595 a = kmalloc_node(1, GFP_KERNEL, 0);
18604 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18605 echo "obj-m := conftest.o" >build
/Makefile
18607 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18608 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18609 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18610 (eval $ac_try) 2>&5
18612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18613 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18614 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18615 (eval $ac_try) 2>&5
18617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18618 test $ac_status = 0; }; }; then :
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18621 $as_echo "yes" >&6; }
18623 $as_echo "#define HAVE_KMALLOC_NODE 1" >>confdefs.h
18627 $as_echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.
$ac_ext >&5
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18631 $as_echo "no" >&6; }
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether monotonic_clock() is available" >&5
18641 $as_echo_n "checking whether monotonic_clock() is available... " >&6; }
18645 cat confdefs.h
- <<_ACEOF >conftest.c
18648 #include <linux/timex.h>
18663 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18664 echo "obj-m := conftest.o" >build
/Makefile
18666 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18667 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18668 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18669 (eval $ac_try) 2>&5
18671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18672 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18673 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18674 (eval $ac_try) 2>&5
18676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18677 test $ac_status = 0; }; }; then :
18680 $as_echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.
$ac_ext >&5
18689 if test $rc -ne 0; then :
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18692 $as_echo "no" >&6; }
18695 if test "x$enable_linux_builtin" != xyes
; then
18697 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
18698 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18700 if test $rc -ne 0; then
18703 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
18704 "$LINUX_OBJ/$file" 2>/dev
/null
18706 if test $rc -eq 0; then
18711 if test $export -eq 0; then :
18721 if test $rc -ne 0; then :
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18724 $as_echo "no" >&6; }
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18729 $as_echo "yes" >&6; }
18731 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct inode has i_mutex" >&5
18740 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
18743 cat confdefs.h
- <<_ACEOF >conftest.c
18746 #include <linux/fs.h>
18747 #include <linux/mutex.h>
18754 mutex_init(&i.i_mutex);
18763 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18764 echo "obj-m := conftest.o" >build
/Makefile
18766 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18767 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18769 (eval $ac_try) 2>&5
18771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18772 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18773 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18774 (eval $ac_try) 2>&5
18776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18777 test $ac_status = 0; }; }; then :
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18780 $as_echo "yes" >&6; }
18782 $as_echo "#define HAVE_INODE_I_MUTEX 1" >>confdefs.h
18786 $as_echo "$as_me: failed program was:" >&5
18787 sed 's/^/| /' conftest.
$ac_ext >&5
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18790 $as_echo "no" >&6; }
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct mutex has owner" >&5
18801 $as_echo_n "checking whether struct mutex has owner... " >&6; }
18804 cat confdefs.h
- <<_ACEOF >conftest.c
18807 #include <linux/mutex.h>
18813 struct mutex mtx __attribute__ ((unused));
18823 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18824 echo "obj-m := conftest.o" >build
/Makefile
18826 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18827 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18828 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18829 (eval $ac_try) 2>&5
18831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18832 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18833 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18834 (eval $ac_try) 2>&5
18836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18837 test $ac_status = 0; }; }; then :
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18840 $as_echo "yes" >&6; }
18842 $as_echo "#define HAVE_MUTEX_OWNER 1" >>confdefs.h
18846 $as_echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.
$ac_ext >&5
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18850 $as_echo "no" >&6; }
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct mutex owner is a task_struct" >&5
18861 $as_echo_n "checking whether struct mutex owner is a task_struct... " >&6; }
18862 tmp_flags
="$EXTRA_KCFLAGS"
18863 EXTRA_KCFLAGS
="-Werror"
18866 cat confdefs.h
- <<_ACEOF >conftest.c
18869 #include <linux/mutex.h>
18870 #include <linux/sched.h>
18876 struct mutex mtx __attribute__ ((unused));
18877 mtx.owner = current;
18886 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18887 echo "obj-m := conftest.o" >build
/Makefile
18889 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18890 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18891 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18892 (eval $ac_try) 2>&5
18894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18895 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18896 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18897 (eval $ac_try) 2>&5
18899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18900 test $ac_status = 0; }; }; then :
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18903 $as_echo "yes" >&6; }
18905 $as_echo "#define HAVE_MUTEX_OWNER_TASK_STRUCT 1" >>confdefs.h
18909 $as_echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.
$ac_ext >&5
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18913 $as_echo "no" >&6; }
18921 EXTRA_KCFLAGS
="$tmp_flags"
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mutex_lock_nested() is available" >&5
18925 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
18928 cat confdefs.h
- <<_ACEOF >conftest.c
18931 #include <linux/mutex.h>
18937 struct mutex mutex;
18938 mutex_init(&mutex);
18939 mutex_lock_nested(&mutex, 0);
18948 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18949 echo "obj-m := conftest.o" >build
/Makefile
18951 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18952 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18953 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18954 (eval $ac_try) 2>&5
18956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18957 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18958 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18959 (eval $ac_try) 2>&5
18961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18962 test $ac_status = 0; }; }; then :
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18965 $as_echo "yes" >&6; }
18967 $as_echo "#define HAVE_MUTEX_LOCK_NESTED 1" >>confdefs.h
18971 $as_echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.
$ac_ext >&5
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18975 $as_echo "no" >&6; }
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether on_each_cpu() wants 3 args" >&5
18986 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
18989 cat confdefs.h
- <<_ACEOF >conftest.c
18992 #include <linux/interrupt.h>
18993 #include <linux/smp.h>
18995 void on_each_cpu_func(void *data) { return; }
19001 on_each_cpu(on_each_cpu_func, NULL, 0);
19010 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19011 echo "obj-m := conftest.o" >build
/Makefile
19013 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19014 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19015 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19016 (eval $ac_try) 2>&5
19018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19019 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19021 (eval $ac_try) 2>&5
19023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19024 test $ac_status = 0; }; }; then :
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19027 $as_echo "yes" >&6; }
19029 $as_echo "#define HAVE_3ARGS_ON_EACH_CPU 1" >>confdefs.h
19033 $as_echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.
$ac_ext >&5
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19037 $as_echo "no" >&6; }
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kallsyms_lookup_name() is available" >&5
19047 $as_echo_n "checking whether kallsyms_lookup_name() is available... " >&6; }
19051 cat confdefs.h
- <<_ACEOF >conftest.c
19054 #include <linux/kallsyms.h>
19060 kallsyms_lookup_name(NULL);
19069 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19070 echo "obj-m := conftest.o" >build
/Makefile
19072 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19073 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19074 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19075 (eval $ac_try) 2>&5
19077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19078 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19079 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19080 (eval $ac_try) 2>&5
19082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19083 test $ac_status = 0; }; }; then :
19086 $as_echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.
$ac_ext >&5
19095 if test $rc -ne 0; then :
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19098 $as_echo "no" >&6; }
19101 if test "x$enable_linux_builtin" != xyes
; then
19103 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
19104 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19106 if test $rc -ne 0; then
19109 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
19110 "$LINUX_OBJ/$file" 2>/dev
/null
19112 if test $rc -eq 0; then
19117 if test $export -eq 0; then :
19127 if test $rc -ne 0; then :
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19130 $as_echo "no" >&6; }
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19135 $as_echo "yes" >&6; }
19137 $as_echo "#define HAVE_KALLSYMS_LOOKUP_NAME 1" >>confdefs.h
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether get_vmalloc_info() is available" >&5
19145 $as_echo_n "checking whether get_vmalloc_info() is available... " >&6; }
19147 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
19148 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19150 if test $rc -ne 0; then
19153 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
19154 "$LINUX_OBJ/$file" 2>/dev
/null
19156 if test $rc -eq 0; then
19161 if test $export -eq 0; then :
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19164 $as_echo "no" >&6; }
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19169 $as_echo "yes" >&6; }
19171 $as_echo "#define HAVE_GET_VMALLOC_INFO 1" >>confdefs.h
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19178 $as_echo "yes" >&6; }
19180 $as_echo "#define HAVE_GET_VMALLOC_INFO 1" >>confdefs.h
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol *_pgdat exist" >&5
19188 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
19189 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
19191 if test $rc -eq 0; then
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19193 $as_echo "yes" >&6; }
19195 $as_echo "#define HAVE_PGDAT_HELPERS 1" >>confdefs.h
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19199 $as_echo "no" >&6; }
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether first_online_pgdat() is available" >&5
19203 $as_echo_n "checking whether first_online_pgdat() is available... " >&6; }
19207 cat confdefs.h
- <<_ACEOF >conftest.c
19210 #include <linux/mmzone.h>
19216 first_online_pgdat();
19225 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19226 echo "obj-m := conftest.o" >build
/Makefile
19228 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19229 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19230 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19231 (eval $ac_try) 2>&5
19233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19234 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19235 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19236 (eval $ac_try) 2>&5
19238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19239 test $ac_status = 0; }; }; then :
19242 $as_echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.
$ac_ext >&5
19251 if test $rc -ne 0; then :
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19254 $as_echo "no" >&6; }
19257 if test "x$enable_linux_builtin" != xyes
; then
19259 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
19260 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19262 if test $rc -ne 0; then
19265 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
19266 "$LINUX_OBJ/$file" 2>/dev
/null
19268 if test $rc -eq 0; then
19273 if test $export -eq 0; then :
19283 if test $rc -ne 0; then :
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19286 $as_echo "no" >&6; }
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19291 $as_echo "yes" >&6; }
19293 $as_echo "#define HAVE_FIRST_ONLINE_PGDAT 1" >>confdefs.h
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether next_online_pgdat() is available" >&5
19301 $as_echo_n "checking whether next_online_pgdat() is available... " >&6; }
19305 cat confdefs.h
- <<_ACEOF >conftest.c
19308 #include <linux/mmzone.h>
19314 next_online_pgdat(NULL);
19323 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19324 echo "obj-m := conftest.o" >build
/Makefile
19326 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19327 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19328 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19329 (eval $ac_try) 2>&5
19331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19332 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19333 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19334 (eval $ac_try) 2>&5
19336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19337 test $ac_status = 0; }; }; then :
19340 $as_echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.
$ac_ext >&5
19349 if test $rc -ne 0; then :
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19352 $as_echo "no" >&6; }
19355 if test "x$enable_linux_builtin" != xyes
; then
19357 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
19358 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19360 if test $rc -ne 0; then
19363 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
19364 "$LINUX_OBJ/$file" 2>/dev
/null
19366 if test $rc -eq 0; then
19371 if test $export -eq 0; then :
19381 if test $rc -ne 0; then :
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19384 $as_echo "no" >&6; }
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19389 $as_echo "yes" >&6; }
19391 $as_echo "#define HAVE_NEXT_ONLINE_PGDAT 1" >>confdefs.h
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether next_zone() is available" >&5
19399 $as_echo_n "checking whether next_zone() is available... " >&6; }
19403 cat confdefs.h
- <<_ACEOF >conftest.c
19406 #include <linux/mmzone.h>
19421 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19422 echo "obj-m := conftest.o" >build
/Makefile
19424 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19425 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19426 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19427 (eval $ac_try) 2>&5
19429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19430 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19431 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19432 (eval $ac_try) 2>&5
19434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19435 test $ac_status = 0; }; }; then :
19438 $as_echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.
$ac_ext >&5
19447 if test $rc -ne 0; then :
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19450 $as_echo "no" >&6; }
19453 if test "x$enable_linux_builtin" != xyes
; then
19455 grep -q -E '[[:space:]]next_zone[[:space:]]' \
19456 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19458 if test $rc -ne 0; then
19461 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
19462 "$LINUX_OBJ/$file" 2>/dev
/null
19464 if test $rc -eq 0; then
19469 if test $export -eq 0; then :
19479 if test $rc -ne 0; then :
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19482 $as_echo "no" >&6; }
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19487 $as_echo "yes" >&6; }
19489 $as_echo "#define HAVE_NEXT_ZONE 1" >>confdefs.h
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pgdat_list is available" >&5
19497 $as_echo_n "checking whether pgdat_list is available... " >&6; }
19501 cat confdefs.h
- <<_ACEOF >conftest.c
19504 #include <linux/topology.h>
19505 pg_data_t *tmp = pgdat_list;
19518 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19519 echo "obj-m := conftest.o" >build
/Makefile
19521 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
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 $modpost_flag'
19523 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19524 (eval $ac_try) 2>&5
19526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19527 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19528 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19529 (eval $ac_try) 2>&5
19531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19532 test $ac_status = 0; }; }; then :
19535 $as_echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.
$ac_ext >&5
19544 if test $rc -ne 0; then :
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19547 $as_echo "no" >&6; }
19550 if test "x$enable_linux_builtin" != xyes
; then
19552 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
19553 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19555 if test $rc -ne 0; then
19558 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
19559 "$LINUX_OBJ/$file" 2>/dev
/null
19561 if test $rc -eq 0; then
19566 if test $export -eq 0; then :
19576 if test $rc -ne 0; then :
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19579 $as_echo "no" >&6; }
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19584 $as_echo "yes" >&6; }
19586 $as_echo "#define HAVE_PGDAT_LIST 1" >>confdefs.h
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether global_page_state() is available" >&5
19595 $as_echo_n "checking whether global_page_state() is available... " >&6; }
19598 cat confdefs.h
- <<_ACEOF >conftest.c
19601 #include <linux/mm.h>
19607 unsigned long state __attribute__ ((unused));
19608 state = global_page_state(0);
19617 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19618 echo "obj-m := conftest.o" >build
/Makefile
19620 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19621 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19622 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19623 (eval $ac_try) 2>&5
19625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19626 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19627 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19628 (eval $ac_try) 2>&5
19630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19631 test $ac_status = 0; }; }; then :
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19634 $as_echo "yes" >&6; }
19636 $as_echo "#define HAVE_GLOBAL_PAGE_STATE 1" >>confdefs.h
19640 $as_echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.
$ac_ext >&5
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19644 $as_echo "no" >&6; }
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_FREE_PAGES is available" >&5
19655 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
19658 cat confdefs.h
- <<_ACEOF >conftest.c
19661 #include <linux/mm.h>
19667 enum zone_stat_item zsi __attribute__ ((unused));
19668 zsi = NR_FREE_PAGES;
19677 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19678 echo "obj-m := conftest.o" >build
/Makefile
19680 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19681 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19682 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19683 (eval $ac_try) 2>&5
19685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19686 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19687 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19688 (eval $ac_try) 2>&5
19690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19691 test $ac_status = 0; }; }; then :
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19694 $as_echo "yes" >&6; }
19696 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1" >>confdefs.h
19700 $as_echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.
$ac_ext >&5
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19704 $as_echo "no" >&6; }
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE is available" >&5
19715 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
19718 cat confdefs.h
- <<_ACEOF >conftest.c
19721 #include <linux/mm.h>
19727 enum zone_stat_item zsi __attribute__ ((unused));
19737 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19738 echo "obj-m := conftest.o" >build
/Makefile
19740 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19741 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19742 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19743 (eval $ac_try) 2>&5
19745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19746 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19747 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19748 (eval $ac_try) 2>&5
19750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19751 test $ac_status = 0; }; }; then :
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19754 $as_echo "yes" >&6; }
19756 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1" >>confdefs.h
19760 $as_echo "$as_me: failed program was:" >&5
19761 sed 's/^/| /' conftest.
$ac_ext >&5
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19764 $as_echo "no" >&6; }
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE_ANON is available" >&5
19774 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
19777 cat confdefs.h
- <<_ACEOF >conftest.c
19780 #include <linux/mm.h>
19786 enum zone_stat_item zsi __attribute__ ((unused));
19787 zsi = NR_INACTIVE_ANON;
19796 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19797 echo "obj-m := conftest.o" >build
/Makefile
19799 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19800 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19801 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19802 (eval $ac_try) 2>&5
19804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19805 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19806 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19807 (eval $ac_try) 2>&5
19809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19810 test $ac_status = 0; }; }; then :
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19813 $as_echo "yes" >&6; }
19815 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1" >>confdefs.h
19819 $as_echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.
$ac_ext >&5
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19823 $as_echo "no" >&6; }
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE_FILE is available" >&5
19833 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
19836 cat confdefs.h
- <<_ACEOF >conftest.c
19839 #include <linux/mm.h>
19845 enum zone_stat_item zsi __attribute__ ((unused));
19846 zsi = NR_INACTIVE_FILE;
19855 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19856 echo "obj-m := conftest.o" >build
/Makefile
19858 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19859 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19860 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19861 (eval $ac_try) 2>&5
19863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19864 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19865 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19866 (eval $ac_try) 2>&5
19868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19869 test $ac_status = 0; }; }; then :
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19872 $as_echo "yes" >&6; }
19874 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1" >>confdefs.h
19878 $as_echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.
$ac_ext >&5
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19882 $as_echo "no" >&6; }
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE is available" >&5
19893 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
19896 cat confdefs.h
- <<_ACEOF >conftest.c
19899 #include <linux/mm.h>
19905 enum zone_stat_item zsi __attribute__ ((unused));
19915 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19916 echo "obj-m := conftest.o" >build
/Makefile
19918 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19919 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19920 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19921 (eval $ac_try) 2>&5
19923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19924 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19925 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19926 (eval $ac_try) 2>&5
19928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19929 test $ac_status = 0; }; }; then :
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19932 $as_echo "yes" >&6; }
19934 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1" >>confdefs.h
19938 $as_echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.
$ac_ext >&5
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19942 $as_echo "no" >&6; }
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE_ANON is available" >&5
19952 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
19955 cat confdefs.h
- <<_ACEOF >conftest.c
19958 #include <linux/mm.h>
19964 enum zone_stat_item zsi __attribute__ ((unused));
19965 zsi = NR_ACTIVE_ANON;
19974 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19975 echo "obj-m := conftest.o" >build
/Makefile
19977 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19978 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
19979 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19980 (eval $ac_try) 2>&5
19982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19983 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19984 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19985 (eval $ac_try) 2>&5
19987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19988 test $ac_status = 0; }; }; then :
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19991 $as_echo "yes" >&6; }
19993 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1" >>confdefs.h
19997 $as_echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.
$ac_ext >&5
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20001 $as_echo "no" >&6; }
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE_FILE is available" >&5
20011 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
20014 cat confdefs.h
- <<_ACEOF >conftest.c
20017 #include <linux/mm.h>
20023 enum zone_stat_item zsi __attribute__ ((unused));
20024 zsi = NR_ACTIVE_FILE;
20033 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20034 echo "obj-m := conftest.o" >build
/Makefile
20036 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20037 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20038 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20039 (eval $ac_try) 2>&5
20041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20042 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20043 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20044 (eval $ac_try) 2>&5
20046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20047 test $ac_status = 0; }; }; then :
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20050 $as_echo "yes" >&6; }
20052 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1" >>confdefs.h
20056 $as_echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.
$ac_ext >&5
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20060 $as_echo "no" >&6; }
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol get_zone_counts is needed" >&5
20071 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
20074 cat confdefs.h
- <<_ACEOF >conftest.c
20082 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
20083 #error "global_page_state needs NR_FREE_PAGES"
20086 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
20087 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
20088 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
20089 #error "global_page_state needs NR_ACTIVE*"
20092 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
20093 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
20094 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
20095 #error "global_page_state needs NR_INACTIVE*"
20105 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20106 echo "obj-m := conftest.o" >build
/Makefile
20108 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20109 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20110 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20111 (eval $ac_try) 2>&5
20113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20114 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20115 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20116 (eval $ac_try) 2>&5
20118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20119 test $ac_status = 0; }; }; then :
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20122 $as_echo "no" >&6; }
20125 $as_echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.
$ac_ext >&5
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20129 $as_echo "yes" >&6; }
20131 $as_echo "#define NEED_GET_ZONE_COUNTS 1" >>confdefs.h
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether get_zone_counts() is available" >&5
20135 $as_echo_n "checking whether get_zone_counts() is available... " >&6; }
20139 cat confdefs.h
- <<_ACEOF >conftest.c
20142 #include <linux/mmzone.h>
20148 get_zone_counts(NULL, NULL, NULL);
20157 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20158 echo "obj-m := conftest.o" >build
/Makefile
20160 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20161 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20162 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20163 (eval $ac_try) 2>&5
20165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20166 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20167 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20168 (eval $ac_try) 2>&5
20170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20171 test $ac_status = 0; }; }; then :
20174 $as_echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.
$ac_ext >&5
20183 if test $rc -ne 0; then :
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20186 $as_echo "no" >&6; }
20189 if test "x$enable_linux_builtin" != xyes
; then
20191 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
20192 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20194 if test $rc -ne 0; then
20197 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
20198 "$LINUX_OBJ/$file" 2>/dev
/null
20200 if test $rc -eq 0; then
20205 if test $export -eq 0; then :
20215 if test $rc -ne 0; then :
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20218 $as_echo "no" >&6; }
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20223 $as_echo "yes" >&6; }
20225 $as_echo "#define HAVE_GET_ZONE_COUNTS 1" >>confdefs.h
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether user_path_dir() is available" >&5
20240 $as_echo_n "checking whether user_path_dir() is available... " >&6; }
20244 cat confdefs.h
- <<_ACEOF >conftest.c
20247 #include <linux/fcntl.h>
20248 #include <linux/namei.h>
20254 user_path_dir(NULL, NULL);
20263 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20264 echo "obj-m := conftest.o" >build
/Makefile
20266 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20267 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20268 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20269 (eval $ac_try) 2>&5
20271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20272 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20273 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20274 (eval $ac_try) 2>&5
20276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20277 test $ac_status = 0; }; }; then :
20280 $as_echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.
$ac_ext >&5
20289 if test $rc -ne 0; then :
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20292 $as_echo "no" >&6; }
20295 if test "x$enable_linux_builtin" != xyes
; then
20297 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
20298 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20300 if test $rc -ne 0; then
20303 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
20304 "$LINUX_OBJ/$file" 2>/dev
/null
20306 if test $rc -eq 0; then
20311 if test $export -eq 0; then :
20321 if test $rc -ne 0; then :
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20324 $as_echo "no" >&6; }
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20329 $as_echo "yes" >&6; }
20331 $as_echo "#define HAVE_USER_PATH_DIR 1" >>confdefs.h
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() is available" >&5
20339 $as_echo_n "checking whether set_fs_pwd() is available... " >&6; }
20343 cat confdefs.h
- <<_ACEOF >conftest.c
20346 #include <linux/spinlock.h>
20347 #include <linux/fs_struct.h>
20362 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20363 echo "obj-m := conftest.o" >build
/Makefile
20365 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20366 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20367 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20368 (eval $ac_try) 2>&5
20370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20371 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20372 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20373 (eval $ac_try) 2>&5
20375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20376 test $ac_status = 0; }; }; then :
20379 $as_echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.
$ac_ext >&5
20388 if test $rc -ne 0; then :
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20391 $as_echo "no" >&6; }
20394 if test "x$enable_linux_builtin" != xyes
; then
20396 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
20397 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20399 if test $rc -ne 0; then
20402 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
20403 "$LINUX_OBJ/$file" 2>/dev
/null
20405 if test $rc -eq 0; then
20410 if test $export -eq 0; then :
20420 if test $rc -ne 0; then :
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20423 $as_echo "no" >&6; }
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20428 $as_echo "yes" >&6; }
20430 $as_echo "#define HAVE_SET_FS_PWD 1" >>confdefs.h
20437 tmp_flags
="$EXTRA_KCFLAGS"
20438 EXTRA_KCFLAGS
="-Werror"
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
20440 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
20443 cat confdefs.h
- <<_ACEOF >conftest.c
20446 #include <linux/spinlock.h>
20447 #include <linux/fs_struct.h>
20448 #include <linux/path.h>
20449 void (*const set_fs_pwd_func)
20450 (struct fs_struct *, const struct path *)
20466 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20467 echo "obj-m := conftest.o" >build
/Makefile
20469 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20470 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20471 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20472 (eval $ac_try) 2>&5
20474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20475 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20476 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20477 (eval $ac_try) 2>&5
20479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20480 test $ac_status = 0; }; }; then :
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20483 $as_echo "yes" >&6; }
20485 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
20489 $as_echo "$as_me: failed program was:" >&5
20490 sed 's/^/| /' conftest.
$ac_ext >&5
20494 cat confdefs.h
- <<_ACEOF >conftest.c
20497 #include <linux/spinlock.h>
20498 #include <linux/fs_struct.h>
20499 #include <linux/path.h>
20500 void (*const set_fs_pwd_func)
20501 (struct fs_struct *, struct path *)
20517 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20518 echo "obj-m := conftest.o" >build
/Makefile
20520 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20521 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20522 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20523 (eval $ac_try) 2>&5
20525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20526 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20527 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20528 (eval $ac_try) 2>&5
20530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20531 test $ac_status = 0; }; }; then :
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20534 $as_echo "no" >&6; }
20537 $as_echo "$as_me: failed program was:" >&5
20538 sed 's/^/| /' conftest.
$ac_ext >&5
20540 as_fn_error $?
"unknown" "$LINENO" 5
20555 EXTRA_KCFLAGS
="$tmp_flags"
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
20558 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
20561 cat confdefs.h
- <<_ACEOF >conftest.c
20564 #include <linux/fs.h>
20570 vfs_unlink(NULL, NULL);
20579 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20580 echo "obj-m := conftest.o" >build
/Makefile
20582 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20583 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20584 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20585 (eval $ac_try) 2>&5
20587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20588 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20589 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20590 (eval $ac_try) 2>&5
20592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20593 test $ac_status = 0; }; }; then :
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20596 $as_echo "yes" >&6; }
20598 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
20602 $as_echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.
$ac_ext >&5
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20606 $as_echo "no" >&6; }
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
20616 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
20619 cat confdefs.h
- <<_ACEOF >conftest.c
20622 #include <linux/fs.h>
20628 vfs_rename(NULL, NULL, NULL, NULL);
20637 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20638 echo "obj-m := conftest.o" >build
/Makefile
20640 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20641 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20642 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20643 (eval $ac_try) 2>&5
20645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20646 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20647 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20648 (eval $ac_try) 2>&5
20650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20651 test $ac_status = 0; }; }; then :
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20654 $as_echo "yes" >&6; }
20656 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
20660 $as_echo "$as_me: failed program was:" >&5
20661 sed 's/^/| /' conftest.
$ac_ext >&5
20663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20664 $as_echo "no" >&6; }
20673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() is available" >&5
20674 $as_echo_n "checking whether vfs_fsync() is available... " >&6; }
20678 cat confdefs.h
- <<_ACEOF >conftest.c
20681 #include <linux/fs.h>
20696 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20697 echo "obj-m := conftest.o" >build
/Makefile
20699 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20700 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20701 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20702 (eval $ac_try) 2>&5
20704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20705 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20706 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20707 (eval $ac_try) 2>&5
20709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20710 test $ac_status = 0; }; }; then :
20713 $as_echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.
$ac_ext >&5
20722 if test $rc -ne 0; then :
20724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20725 $as_echo "no" >&6; }
20728 if test "x$enable_linux_builtin" != xyes
; then
20730 grep -q -E '[[:space:]]vfs_fsync[[:space:]]' \
20731 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20733 if test $rc -ne 0; then
20735 for file in fs
/sync.c
; do
20736 grep -q -E "EXPORT_SYMBOL.*(vfs_fsync)" \
20737 "$LINUX_OBJ/$file" 2>/dev
/null
20739 if test $rc -eq 0; then
20744 if test $export -eq 0; then :
20754 if test $rc -ne 0; then :
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20757 $as_echo "no" >&6; }
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20762 $as_echo "yes" >&6; }
20764 $as_echo "#define HAVE_VFS_FSYNC 1" >>confdefs.h
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
20773 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
20776 cat confdefs.h
- <<_ACEOF >conftest.c
20779 #include <linux/fs.h>
20785 vfs_fsync(NULL, 0);
20794 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20795 echo "obj-m := conftest.o" >build
/Makefile
20797 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20798 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20799 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20800 (eval $ac_try) 2>&5
20802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20803 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20804 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20805 (eval $ac_try) 2>&5
20807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20808 test $ac_status = 0; }; }; then :
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20811 $as_echo "yes" >&6; }
20813 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
20817 $as_echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.
$ac_ext >&5
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20821 $as_echo "no" >&6; }
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
20832 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
20835 cat confdefs.h
- <<_ACEOF >conftest.c
20838 #include <linux/fs.h>
20844 struct inode_operations ops;
20845 ops.truncate_range = NULL;
20854 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20855 echo "obj-m := conftest.o" >build
/Makefile
20857 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20858 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20859 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20860 (eval $ac_try) 2>&5
20862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20863 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20864 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20865 (eval $ac_try) 2>&5
20867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20868 test $ac_status = 0; }; }; then :
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20871 $as_echo "yes" >&6; }
20873 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
20877 $as_echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.
$ac_ext >&5
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20881 $as_echo "no" >&6; }
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
20892 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
20893 tmp_flags
="$EXTRA_KCFLAGS"
20894 EXTRA_KCFLAGS
="-Werror"
20897 cat confdefs.h
- <<_ACEOF >conftest.c
20900 #include <linux/sched.h>
20901 #include <linux/fs_struct.h>
20907 struct fs_struct fs;
20908 spin_lock_init(&fs.lock);
20917 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20918 echo "obj-m := conftest.o" >build
/Makefile
20920 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20921 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20922 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20923 (eval $ac_try) 2>&5
20925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20926 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20927 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20928 (eval $ac_try) 2>&5
20930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20931 test $ac_status = 0; }; }; then :
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20934 $as_echo "yes" >&6; }
20936 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
20940 $as_echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.
$ac_ext >&5
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20944 $as_echo "no" >&6; }
20952 EXTRA_KCFLAGS
="$tmp_flags"
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct cred exists" >&5
20956 $as_echo_n "checking whether struct cred exists... " >&6; }
20959 cat confdefs.h
- <<_ACEOF >conftest.c
20962 #include <linux/cred.h>
20968 struct cred *cr __attribute__ ((unused));
20978 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20979 echo "obj-m := conftest.o" >build
/Makefile
20981 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20982 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
20983 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20984 (eval $ac_try) 2>&5
20986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20987 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20988 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20989 (eval $ac_try) 2>&5
20991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20992 test $ac_status = 0; }; }; then :
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20995 $as_echo "yes" >&6; }
20997 $as_echo "#define HAVE_CRED_STRUCT 1" >>confdefs.h
21001 $as_echo "$as_me: failed program was:" >&5
21002 sed 's/^/| /' conftest.
$ac_ext >&5
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21005 $as_echo "no" >&6; }
21015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
21016 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
21019 cat confdefs.h
- <<_ACEOF >conftest.c
21022 #include <linux/uidgid.h>
21028 kuid_t userid = KUIDT_INIT(0);
21029 kgid_t groupid = KGIDT_INIT(0);
21038 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21039 echo "obj-m := conftest.o" >build
/Makefile
21041 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21042 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21043 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21044 (eval $ac_try) 2>&5
21046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21047 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21048 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21049 (eval $ac_try) 2>&5
21051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21052 test $ac_status = 0; }; }; then :
21056 cat confdefs.h
- <<_ACEOF >conftest.c
21059 #include <linux/uidgid.h>
21066 kgid_t groupid = 0;
21075 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21076 echo "obj-m := conftest.o" >build
/Makefile
21078 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21079 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21080 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21081 (eval $ac_try) 2>&5
21083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21084 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21085 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21086 (eval $ac_try) 2>&5
21088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21089 test $ac_status = 0; }; }; then :
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
21092 $as_echo "yes; optional" >&6; }
21095 $as_echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.
$ac_ext >&5
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
21099 $as_echo "yes; mandatory" >&6; }
21101 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
21112 $as_echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.
$ac_ext >&5
21115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21116 $as_echo "no" >&6; }
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether groups_search() is available" >&5
21126 $as_echo_n "checking whether groups_search() is available... " >&6; }
21130 cat confdefs.h
- <<_ACEOF >conftest.c
21133 #include <linux/cred.h>
21134 #ifdef HAVE_KUIDGID_T
21135 #include <linux/uidgid.h>
21142 #ifdef HAVE_KUIDGID_T
21143 groups_search(NULL, KGIDT_INIT(0));
21145 groups_search(NULL, 0);
21155 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21156 echo "obj-m := conftest.o" >build
/Makefile
21158 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21159 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21160 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21161 (eval $ac_try) 2>&5
21163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21164 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21165 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21166 (eval $ac_try) 2>&5
21168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21169 test $ac_status = 0; }; }; then :
21172 $as_echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.
$ac_ext >&5
21181 if test $rc -ne 0; then :
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21184 $as_echo "no" >&6; }
21187 if test "x$enable_linux_builtin" != xyes
; then
21189 grep -q -E '[[:space:]]groups_search[[:space:]]' \
21190 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21192 if test $rc -ne 0; then
21195 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
21196 "$LINUX_OBJ/$file" 2>/dev
/null
21198 if test $rc -eq 0; then
21203 if test $export -eq 0; then :
21213 if test $rc -ne 0; then :
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21216 $as_echo "no" >&6; }
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21221 $as_echo "yes" >&6; }
21223 $as_echo "#define HAVE_GROUPS_SEARCH 1" >>confdefs.h
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __put_task_struct() is available" >&5
21231 $as_echo_n "checking whether __put_task_struct() is available... " >&6; }
21235 cat confdefs.h
- <<_ACEOF >conftest.c
21238 #include <linux/sched.h>
21244 __put_task_struct(NULL);
21253 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21254 echo "obj-m := conftest.o" >build
/Makefile
21256 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21257 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21258 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21259 (eval $ac_try) 2>&5
21261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21262 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21263 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21264 (eval $ac_try) 2>&5
21266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21267 test $ac_status = 0; }; }; then :
21270 $as_echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.
$ac_ext >&5
21279 if test $rc -ne 0; then :
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21282 $as_echo "no" >&6; }
21285 if test "x$enable_linux_builtin" != xyes
; then
21287 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
21288 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21290 if test $rc -ne 0; then
21293 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
21294 "$LINUX_OBJ/$file" 2>/dev
/null
21296 if test $rc -eq 0; then
21301 if test $export -eq 0; then :
21311 if test $rc -ne 0; then :
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21314 $as_echo "no" >&6; }
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21319 $as_echo "yes" >&6; }
21321 $as_echo "#define HAVE_PUT_TASK_STRUCT 1" >>confdefs.h
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether proc_handler() wants 5 args" >&5
21330 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
21333 cat confdefs.h
- <<_ACEOF >conftest.c
21336 #include <linux/sysctl.h>
21342 proc_dostring(NULL, 0, NULL, NULL, NULL);
21351 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21352 echo "obj-m := conftest.o" >build
/Makefile
21354 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21355 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21356 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21357 (eval $ac_try) 2>&5
21359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21360 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21361 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21362 (eval $ac_try) 2>&5
21364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21365 test $ac_status = 0; }; }; then :
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21368 $as_echo "yes" >&6; }
21370 $as_echo "#define HAVE_5ARGS_PROC_HANDLER 1" >>confdefs.h
21374 $as_echo "$as_me: failed program was:" >&5
21375 sed 's/^/| /' conftest.
$ac_ext >&5
21377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21378 $as_echo "no" >&6; }
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kvasprintf() is available" >&5
21388 $as_echo_n "checking whether kvasprintf() is available... " >&6; }
21392 cat confdefs.h
- <<_ACEOF >conftest.c
21395 #include <linux/kernel.h>
21401 kvasprintf(0, NULL, *((va_list*)NULL));
21410 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21411 echo "obj-m := conftest.o" >build
/Makefile
21413 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21414 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21415 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21416 (eval $ac_try) 2>&5
21418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21419 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21420 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21421 (eval $ac_try) 2>&5
21423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21424 test $ac_status = 0; }; }; then :
21427 $as_echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.
$ac_ext >&5
21436 if test $rc -ne 0; then :
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21439 $as_echo "no" >&6; }
21442 if test "x$enable_linux_builtin" != xyes
; then
21444 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
21445 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21447 if test $rc -ne 0; then
21450 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
21451 "$LINUX_OBJ/$file" 2>/dev
/null
21453 if test $rc -eq 0; then
21458 if test $export -eq 0; then :
21468 if test $rc -ne 0; then :
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21471 $as_echo "no" >&6; }
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21476 $as_echo "yes" >&6; }
21478 $as_echo "#define HAVE_KVASPRINTF 1" >>confdefs.h
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rwsem_is_locked() acquires sem->wait_lock" >&5
21486 $as_echo_n "checking whether rwsem_is_locked() acquires sem->wait_lock... " >&6; }
21490 cat confdefs.h
- <<_ACEOF >conftest.c
21493 #include <linux/rwsem.h>
21494 int rwsem_is_locked(struct rw_semaphore *sem) { return 0; }
21507 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21508 echo "obj-m := conftest.o" >build
/Makefile
21510 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21511 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21512 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21513 (eval $ac_try) 2>&5
21515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21516 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21517 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21518 (eval $ac_try) 2>&5
21520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21521 test $ac_status = 0; }; }; then :
21524 $as_echo "$as_me: failed program was:" >&5
21525 sed 's/^/| /' conftest.
$ac_ext >&5
21533 if test $rc -ne 0; then :
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21536 $as_echo "no" >&6; }
21539 if test "x$enable_linux_builtin" != xyes
; then
21541 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
21542 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21544 if test $rc -ne 0; then
21546 for file in lib
/rwsem-spinlock.c
; do
21547 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
21548 "$LINUX_OBJ/$file" 2>/dev
/null
21550 if test $rc -eq 0; then
21555 if test $export -eq 0; then :
21565 if test $rc -ne 0; then :
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21568 $as_echo "no" >&6; }
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21573 $as_echo "yes" >&6; }
21575 $as_echo "#define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1" >>confdefs.h
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
21585 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
21588 cat confdefs.h
- <<_ACEOF >conftest.c
21591 #include <linux/fs.h>
21597 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
21598 struct file_operations fops __attribute__ ((unused)) = {
21599 .fallocate = fallocate,
21609 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21610 echo "obj-m := conftest.o" >build
/Makefile
21612 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21613 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21614 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21615 (eval $ac_try) 2>&5
21617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21618 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21619 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21620 (eval $ac_try) 2>&5
21622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21623 test $ac_status = 0; }; }; then :
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21626 $as_echo "yes" >&6; }
21628 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
21632 $as_echo "$as_me: failed program was:" >&5
21633 sed 's/^/| /' conftest.
$ac_ext >&5
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21636 $as_echo "no" >&6; }
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
21647 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
21650 cat confdefs.h
- <<_ACEOF >conftest.c
21653 #include <linux/fs.h>
21659 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
21660 struct inode_operations fops __attribute__ ((unused)) = {
21661 .fallocate = fallocate,
21671 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21672 echo "obj-m := conftest.o" >build
/Makefile
21674 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21675 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21676 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21677 (eval $ac_try) 2>&5
21679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21680 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21681 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21682 (eval $ac_try) 2>&5
21684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21685 test $ac_status = 0; }; }; then :
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21688 $as_echo "yes" >&6; }
21690 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
21694 $as_echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.
$ac_ext >&5
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21698 $as_echo "no" >&6; }
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
21709 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
21712 cat confdefs.h
- <<_ACEOF >conftest.c
21715 #include <linux/fs.h>
21721 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
21722 struct file_operations_no_const fops __attribute__ ((unused)) = {
21723 .fallocate = fallocate,
21733 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21734 echo "obj-m := conftest.o" >build
/Makefile
21736 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21737 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21738 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21739 (eval $ac_try) 2>&5
21741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21742 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21743 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21744 (eval $ac_try) 2>&5
21746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21747 test $ac_status = 0; }; }; then :
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21750 $as_echo "yes" >&6; }
21752 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
21756 $as_echo "$as_me: failed program was:" >&5
21757 sed 's/^/| /' conftest.
$ac_ext >&5
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21760 $as_echo "no" >&6; }
21770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrink_dcache_memory() is available" >&5
21771 $as_echo_n "checking whether shrink_dcache_memory() is available... " >&6; }
21775 cat confdefs.h
- <<_ACEOF >conftest.c
21778 #include <linux/dcache.h>
21784 shrink_dcache_memory(0, 0);
21793 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21794 echo "obj-m := conftest.o" >build
/Makefile
21796 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21797 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21798 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21799 (eval $ac_try) 2>&5
21801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21802 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21803 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21804 (eval $ac_try) 2>&5
21806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21807 test $ac_status = 0; }; }; then :
21810 $as_echo "$as_me: failed program was:" >&5
21811 sed 's/^/| /' conftest.
$ac_ext >&5
21819 if test $rc -ne 0; then :
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21822 $as_echo "no" >&6; }
21825 if test "x$enable_linux_builtin" != xyes
; then
21827 grep -q -E '[[:space:]]shrink_dcache_memory[[:space:]]' \
21828 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21830 if test $rc -ne 0; then
21832 for file in fs
/dcache.c
; do
21833 grep -q -E "EXPORT_SYMBOL.*(shrink_dcache_memory)" \
21834 "$LINUX_OBJ/$file" 2>/dev
/null
21836 if test $rc -eq 0; then
21841 if test $export -eq 0; then :
21851 if test $rc -ne 0; then :
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21854 $as_echo "no" >&6; }
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21859 $as_echo "yes" >&6; }
21861 $as_echo "#define HAVE_SHRINK_DCACHE_MEMORY 1" >>confdefs.h
21868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrink_icache_memory() is available" >&5
21869 $as_echo_n "checking whether shrink_icache_memory() is available... " >&6; }
21873 cat confdefs.h
- <<_ACEOF >conftest.c
21876 #include <linux/dcache.h>
21882 shrink_icache_memory(0, 0);
21891 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21892 echo "obj-m := conftest.o" >build
/Makefile
21894 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21895 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
21896 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21897 (eval $ac_try) 2>&5
21899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21900 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21901 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21902 (eval $ac_try) 2>&5
21904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21905 test $ac_status = 0; }; }; then :
21908 $as_echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.
$ac_ext >&5
21917 if test $rc -ne 0; then :
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21920 $as_echo "no" >&6; }
21923 if test "x$enable_linux_builtin" != xyes
; then
21925 grep -q -E '[[:space:]]shrink_icache_memory[[:space:]]' \
21926 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21928 if test $rc -ne 0; then
21930 for file in fs
/inode.c
; do
21931 grep -q -E "EXPORT_SYMBOL.*(shrink_icache_memory)" \
21932 "$LINUX_OBJ/$file" 2>/dev
/null
21934 if test $rc -eq 0; then
21939 if test $export -eq 0; then :
21949 if test $rc -ne 0; then :
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21952 $as_echo "no" >&6; }
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21957 $as_echo "yes" >&6; }
21959 $as_echo "#define HAVE_SHRINK_ICACHE_MEMORY 1" >>confdefs.h
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol kern_path_parent exists in header" >&5
21969 $as_echo_n "checking whether symbol kern_path_parent exists in header... " >&6; }
21971 for file in include
/linux
/namei.h
; do
21972 grep -q "int kern_path_parent(const char \*, struct nameidata \*)" "$LINUX/$file" 2>/dev
/null
21974 if test $rc -eq 0; then
21979 if test $header -eq 0; then
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21981 $as_echo "no" >&6; }
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21985 $as_echo "yes" >&6; }
21987 $as_echo "#define HAVE_KERN_PATH_PARENT_HEADER 1" >>confdefs.h
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kern_path_parent() is available" >&5
21993 $as_echo_n "checking whether kern_path_parent() is available... " >&6; }
21997 cat confdefs.h
- <<_ACEOF >conftest.c
22000 #include <linux/namei.h>
22006 kern_path_parent(NULL, NULL);
22015 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22016 echo "obj-m := conftest.o" >build
/Makefile
22018 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22019 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22021 (eval $ac_try) 2>&5
22023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22024 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22025 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22026 (eval $ac_try) 2>&5
22028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22029 test $ac_status = 0; }; }; then :
22032 $as_echo "$as_me: failed program was:" >&5
22033 sed 's/^/| /' conftest.
$ac_ext >&5
22041 if test $rc -ne 0; then :
22043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22044 $as_echo "no" >&6; }
22047 if test "x$enable_linux_builtin" != xyes
; then
22049 grep -q -E '[[:space:]]kern_path_parent[[:space:]]' \
22050 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
22052 if test $rc -ne 0; then
22054 for file in fs
/namei.c
; do
22055 grep -q -E "EXPORT_SYMBOL.*(kern_path_parent)" \
22056 "$LINUX_OBJ/$file" 2>/dev
/null
22058 if test $rc -eq 0; then
22063 if test $export -eq 0; then :
22073 if test $rc -ne 0; then :
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22076 $as_echo "no" >&6; }
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22081 $as_echo "yes" >&6; }
22083 $as_echo "#define HAVE_KERN_PATH_PARENT_SYMBOL 1" >>confdefs.h
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol kern_path_locked exists in header" >&5
22093 $as_echo_n "checking whether symbol kern_path_locked exists in header... " >&6; }
22095 for file in include
/linux
/namei.h
; do
22096 grep -q "struct dentry \*kern_path_locked(const char \*, struct path \*)" "$LINUX/$file" 2>/dev
/null
22098 if test $rc -eq 0; then
22103 if test $header -eq 0; then
22104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22105 $as_echo "no" >&6; }
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22109 $as_echo "yes" >&6; }
22111 $as_echo "#define HAVE_KERN_PATH_LOCKED 1" >>confdefs.h
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_KALLSYMS is defined" >&5
22118 $as_echo_n "checking whether CONFIG_KALLSYMS is defined... " >&6; }
22121 cat confdefs.h
- <<_ACEOF >conftest.c
22124 #if !defined(CONFIG_KALLSYMS)
22125 #error CONFIG_KALLSYMS not defined
22139 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22140 echo "obj-m := conftest.o" >build
/Makefile
22142 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22143 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22144 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22145 (eval $ac_try) 2>&5
22147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22148 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22149 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22150 (eval $ac_try) 2>&5
22152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22153 test $ac_status = 0; }; }; then :
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22156 $as_echo "yes" >&6; }
22159 $as_echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.
$ac_ext >&5
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22163 $as_echo "no" >&6; }
22165 *** This kernel does not include the required kallsyms support.
22166 *** Rebuild the kernel with CONFIG_KALLSYMS=y set." "$LINENO" 5
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
22177 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
22180 cat confdefs.h
- <<_ACEOF >conftest.c
22183 #if !defined(CONFIG_ZLIB_INFLATE) && \
22184 !defined(CONFIG_ZLIB_INFLATE_MODULE)
22185 #error CONFIG_ZLIB_INFLATE not defined
22199 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22200 echo "obj-m := conftest.o" >build
/Makefile
22202 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22203 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22204 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22205 (eval $ac_try) 2>&5
22207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22208 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22209 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22210 (eval $ac_try) 2>&5
22212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22213 test $ac_status = 0; }; }; then :
22215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22216 $as_echo "yes" >&6; }
22219 $as_echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.
$ac_ext >&5
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22223 $as_echo "no" >&6; }
22225 *** This kernel does not include the required zlib inflate support.
22226 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
22237 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
22240 cat confdefs.h
- <<_ACEOF >conftest.c
22243 #if !defined(CONFIG_ZLIB_DEFLATE) && \
22244 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
22245 #error CONFIG_ZLIB_DEFLATE not defined
22259 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22260 echo "obj-m := conftest.o" >build
/Makefile
22262 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22263 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22264 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22265 (eval $ac_try) 2>&5
22267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22268 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22269 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22270 (eval $ac_try) 2>&5
22272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22273 test $ac_status = 0; }; }; then :
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22276 $as_echo "yes" >&6; }
22279 $as_echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.
$ac_ext >&5
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22283 $as_echo "no" >&6; }
22285 *** This kernel does not include the required zlib deflate support.
22286 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
22296 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
22299 cat confdefs.h
- <<_ACEOF >conftest.c
22302 #include <linux/zlib.h>
22308 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
22317 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22318 echo "obj-m := conftest.o" >build
/Makefile
22320 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22321 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22322 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22323 (eval $ac_try) 2>&5
22325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22326 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22327 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22328 (eval $ac_try) 2>&5
22330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22331 test $ac_status = 0; }; }; then :
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22334 $as_echo "yes" >&6; }
22336 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
22340 $as_echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.
$ac_ext >&5
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22344 $as_echo "no" >&6; }
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
22355 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
22358 cat confdefs.h
- <<_ACEOF >conftest.c
22361 #include <linux/mm.h>
22367 struct shrink_control sc __attribute__ ((unused));
22370 sc.gfp_mask = GFP_KERNEL;
22379 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22380 echo "obj-m := conftest.o" >build
/Makefile
22382 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22383 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22384 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22385 (eval $ac_try) 2>&5
22387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22388 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22389 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22390 (eval $ac_try) 2>&5
22392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22393 test $ac_status = 0; }; }; then :
22395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22396 $as_echo "yes" >&6; }
22398 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
22402 $as_echo "$as_me: failed program was:" >&5
22403 sed 's/^/| /' conftest.
$ac_ext >&5
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22406 $as_echo "no" >&6; }
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
22417 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
22418 tmp_flags
="$EXTRA_KCFLAGS"
22419 EXTRA_KCFLAGS
="-Werror"
22422 cat confdefs.h
- <<_ACEOF >conftest.c
22425 #include <linux/rwsem.h>
22431 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
22432 raw_spinlock_t dummy_lock __attribute__ ((unused));
22433 dummy_semaphore.wait_lock = dummy_lock;
22442 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22443 echo "obj-m := conftest.o" >build
/Makefile
22445 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22446 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22447 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22448 (eval $ac_try) 2>&5
22450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22451 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22452 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22453 (eval $ac_try) 2>&5
22455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22456 test $ac_status = 0; }; }; then :
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22459 $as_echo "yes" >&6; }
22461 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
22465 $as_echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.
$ac_ext >&5
22468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22469 $as_echo "no" >&6; }
22477 EXTRA_KCFLAGS
="$tmp_flags"
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
22480 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
22483 cat confdefs.h
- <<_ACEOF >conftest.c
22486 #include <linux/sched.h>
22487 #include <linux/sched/rt.h>
22502 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22503 echo "obj-m := conftest.o" >build
/Makefile
22505 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22506 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22507 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22508 (eval $ac_try) 2>&5
22510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22511 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22512 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22513 (eval $ac_try) 2>&5
22515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22516 test $ac_status = 0; }; }; then :
22519 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22522 $as_echo "yes" >&6; }
22525 $as_echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.
$ac_ext >&5
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22529 $as_echo "no" >&6; }
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants" >&5
22540 $as_echo_n "checking whether vfs_getattr() wants... " >&6; }
22543 cat confdefs.h
- <<_ACEOF >conftest.c
22546 #include <linux/fs.h>
22552 vfs_getattr((struct path *) NULL,
22553 (struct kstat *)NULL);
22562 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22563 echo "obj-m := conftest.o" >build
/Makefile
22565 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22566 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22567 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22568 (eval $ac_try) 2>&5
22570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22571 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22572 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22573 (eval $ac_try) 2>&5
22575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22576 test $ac_status = 0; }; }; then :
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2 args" >&5
22579 $as_echo "2 args" >&6; }
22581 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
22585 $as_echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.
$ac_ext >&5
22590 cat confdefs.h
- <<_ACEOF >conftest.c
22593 #include <linux/fs.h>
22599 vfs_getattr((struct vfsmount *)NULL,
22600 (struct dentry *)NULL,
22601 (struct kstat *)NULL);
22610 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22611 echo "obj-m := conftest.o" >build
/Makefile
22613 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22614 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
22615 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22616 (eval $ac_try) 2>&5
22618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22619 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22620 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22621 (eval $ac_try) 2>&5
22623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22624 test $ac_status = 0; }; }; then :
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3 args" >&5
22627 $as_echo "3 args" >&6; }
22630 $as_echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.
$ac_ext >&5
22633 as_fn_error $?
"unknown" "$LINENO" 5
22653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Error!" >&5
22654 $as_echo "Error!" >&6; }
22655 as_fn_error $?
"Bad value \"$SPL_CONFIG\" for --with-config,
22656 user kernel|user|all|srpm" "$LINENO" 5 ;;
22659 if test "$SPL_CONFIG" = user
-o "$SPL_CONFIG" = all
; then
22661 CONFIG_USER_FALSE
='#'
22663 CONFIG_USER_TRUE
='#'
22667 if test "$SPL_CONFIG" = kernel
-o "$SPL_CONFIG" = all
&&
22668 test "x$enable_linux_builtin" != xyes
; then
22669 CONFIG_KERNEL_TRUE
=
22670 CONFIG_KERNEL_FALSE
='#'
22672 CONFIG_KERNEL_TRUE
='#'
22673 CONFIG_KERNEL_FALSE
=
22678 ac_config_files
="$ac_config_files Makefile man/Makefile man/man1/Makefile lib/Makefile cmd/Makefile module/Makefile module/spl/Makefile module/splat/Makefile include/Makefile include/fs/Makefile include/linux/Makefile include/rpc/Makefile include/sharefs/Makefile include/sys/Makefile include/sys/fm/Makefile include/sys/fs/Makefile include/sys/sysevent/Makefile include/util/Makefile include/vm/Makefile scripts/Makefile rpm/Makefile rpm/fedora/Makefile rpm/fedora/spl.spec rpm/fedora/spl-kmod.spec rpm/fedora/spl-dkms.spec rpm/generic/Makefile rpm/generic/spl.spec rpm/generic/spl-kmod.spec rpm/generic/spl-dkms.spec spl.release"
22681 cat >confcache
<<\_ACEOF
22682 # This file is a shell script that caches the results of configure
22683 # tests run on this system so they can be shared between configure
22684 # scripts and configure runs, see configure's option --config-cache.
22685 # It is not useful on other systems. If it contains results you don't
22686 # want to keep, you may remove or edit it.
22688 # config.status only pays attention to the cache file if you give it
22689 # the --recheck option to rerun configure.
22691 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22692 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22693 # following values.
22697 # The following way of writing the cache mishandles newlines in values,
22698 # but we know of no workaround that is simple, portable, and efficient.
22699 # So, we kill variables containing newlines.
22700 # Ultrix sh set writes to stderr and can't be redirected directly,
22701 # and sets the high bit in the cache file unless we assign to the vars.
22703 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22704 eval ac_val
=\$
$ac_var
22708 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22709 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22712 _ | IFS | as_nl
) ;; #(
22713 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22714 *) { eval $ac_var=; unset $ac_var;} ;;
22720 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22721 *${as_nl}ac_space
=\
*)
22722 # `set' does not quote correctly, so add quotes: double-quote
22723 # substitution turns \\\\ into \\, and sed turns \\ into \.
22726 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22729 # `set' quotes correctly as required by POSIX, so do not add quotes.
22730 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22739 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22741 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22743 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22744 if test -w "$cache_file"; then
22745 test "x$cache_file" != "x/dev/null" &&
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22747 $as_echo "$as_me: updating cache $cache_file" >&6;}
22748 cat confcache
>$cache_file
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22751 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22756 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22757 # Let make expand exec_prefix.
22758 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22760 DEFS
=-DHAVE_CONFIG_H
22765 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22766 # 1. Remove the extension, and $U if already installed.
22767 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22768 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22769 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22770 # will be set to the directory where LIBOBJS objects are built.
22771 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22772 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22774 LIBOBJS
=$ac_libobjs
22776 LTLIBOBJS
=$ac_ltlibobjs
22779 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22780 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22783 if test -n "$EXEEXT"; then
22785 am__EXEEXT_FALSE
='#'
22787 am__EXEEXT_TRUE
='#'
22791 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22792 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22795 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22796 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22799 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
22800 as_fn_error $?
"conditional \"CONFIG_USER\" was never defined.
22801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22803 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
22804 as_fn_error $?
"conditional \"CONFIG_KERNEL\" was never defined.
22805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22808 : ${CONFIG_STATUS=./config.status}
22810 ac_clean_files_save
=$ac_clean_files
22811 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22813 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22815 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22817 # Generated by $as_me.
22818 # Run this file to recreate the current configuration.
22819 # Compiler output produced by configure, useful for debugging
22820 # configure, is in config.log if it exists.
22823 ac_cs_recheck=false
22826 SHELL=\${CONFIG_SHELL-$SHELL}
22829 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22830 ## -------------------- ##
22831 ## M4sh Initialization. ##
22832 ## -------------------- ##
22834 # Be more Bourne compatible
22835 DUALCASE
=1; export DUALCASE
# for MKS sh
22836 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22839 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22840 # is contrary to our usage. Disable this feature.
22841 alias -g '${1+"$@"}'='"$@"'
22842 setopt NO_GLOB_SUBST
22844 case `(set -o) 2>/dev/null` in #(
22856 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22857 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22858 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22859 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22860 # Prefer a ksh shell builtin over an external printf program on Solaris,
22861 # but without wasting forks for bash or zsh.
22862 if test -z "$BASH_VERSION$ZSH_VERSION" \
22863 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22864 as_echo='print
-r --'
22865 as_echo_n='print
-rn --'
22866 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22867 as_echo='printf %s
\n'
22868 as_echo_n='printf %s
'
22870 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22871 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22872 as_echo_n='/usr
/ucb
/echo -n'
22874 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22875 as_echo_n_body='eval
22879 expr "X$arg" : "X\\(.*\\)$as_nl";
22880 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22882 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22884 export as_echo_n_body
22885 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22887 export as_echo_body
22888 as_echo='sh
-c $as_echo_body as_echo
'
22891 # The user is always right.
22892 if test "${PATH_SEPARATOR+set}" != set; then
22894 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22895 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22902 # We need space, tab and new line, in precisely that order. Quoting is
22903 # there to prevent editors from complaining about space-tab.
22904 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22905 # splitting by setting IFS to empty value.)
22908 # Find who we are. Look in the path if we contain no directory separator.
22910 *[\\/]* ) as_myself=$0 ;;
22911 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22912 for as_dir in $PATH
22915 test -z "$as_dir" && as_dir=.
22916 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22922 # We did not find ourselves, most probably we were run as `sh COMMAND'
22923 # in which case we are not to be found in the path.
22924 if test "x$as_myself" = x
; then
22927 if test ! -f "$as_myself"; then
22928 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22932 # Unset variables that we do not need and which cause bugs (e.g. in
22933 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22934 # suppresses any "Segmentation fault" message there. '((' could
22935 # trigger a bug in pdksh 5.2.14.
22936 for as_var
in BASH_ENV ENV MAIL MAILPATH
22937 do eval test x\
${$as_var+set} = xset \
22938 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22951 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22954 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22955 # ----------------------------------------
22956 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22957 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22958 # script with STATUS, using 1 if that was 0.
22961 as_status
=$1; test $as_status -eq 0 && as_status
=1
22963 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22964 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22966 $as_echo "$as_me: error: $2" >&2
22967 as_fn_exit
$as_status
22971 # as_fn_set_status STATUS
22972 # -----------------------
22973 # Set $? to STATUS, without forking.
22974 as_fn_set_status
()
22977 } # as_fn_set_status
22979 # as_fn_exit STATUS
22980 # -----------------
22981 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22985 as_fn_set_status
$1
22991 # Portably unset VAR.
22994 { eval $1=; unset $1;}
22996 as_unset
=as_fn_unset
22997 # as_fn_append VAR VALUE
22998 # ----------------------
22999 # Append the text in VALUE to the end of the definition contained in VAR. Take
23000 # advantage of any shell optimizations that allow amortized linear growth over
23001 # repeated appends, instead of the typical quadratic growth present in naive
23003 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
23004 eval 'as_fn_append ()
23015 # as_fn_arith ARG...
23016 # ------------------
23017 # Perform arithmetic evaluation on the ARGs, and store the result in the
23018 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23019 # must be portable across $(()) and expr.
23020 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
23021 eval 'as_fn_arith ()
23028 as_val
=`expr "$@" || test $? -eq 1`
23033 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23034 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23040 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23041 as_basename
=basename
23046 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23052 as_me
=`$as_basename -- "$0" ||
23053 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23054 X"$0" : 'X\(//\)$' \| \
23055 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23057 sed '/^.*\/\([^/][^/]*\)\/*$/{
23071 # Avoid depending upon Character Ranges.
23072 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23073 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23074 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23075 as_cr_digits
='0123456789'
23076 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23078 ECHO_C
= ECHO_N
= ECHO_T
=
23079 case `echo -n x` in #(((((
23081 case `echo 'xy\c'` in
23082 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23084 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23091 rm -f conf$$ conf$$.exe conf$$.
file
23092 if test -d conf$$.dir
; then
23093 rm -f conf$$.dir
/conf$$.
file
23096 mkdir conf$$.dir
2>/dev
/null
23098 if (echo >conf$$.
file) 2>/dev
/null
; then
23099 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23101 # ... but there are two gotchas:
23102 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23103 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23104 # In both cases, we have to default to `cp -p'.
23105 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23107 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23115 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23116 rmdir conf$$.dir
2>/dev
/null
23121 # Create "$as_dir" as a directory, including parents if necessary.
23126 -*) as_dir
=.
/$as_dir;;
23128 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23132 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23133 *) as_qdir
=$as_dir;;
23135 as_dirs
="'$as_qdir' $as_dirs"
23136 as_dir
=`$as_dirname -- "$as_dir" ||
23137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23138 X"$as_dir" : 'X\(//\)[^/]' \| \
23139 X"$as_dir" : 'X\(//\)$' \| \
23140 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23141 $as_echo X"$as_dir" |
23142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23146 /^X\(\/\/\)[^/].*/{
23159 test -d "$as_dir" && break
23161 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23162 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23166 if mkdir
-p .
2>/dev
/null
; then
23167 as_mkdir_p
='mkdir -p "$as_dir"'
23169 test -d .
/-p && rmdir .
/-p
23173 if test -x / >/dev
/null
2>&1; then
23174 as_test_x
='test -x'
23176 if ls -dL / >/dev
/null
2>&1; then
23183 if test -d "$1"; then
23189 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
23190 ???[sx]*):;;*)false;;esac;fi
23194 as_executable_p
=$as_test_x
23196 # Sed expression to map a string onto a valid CPP name.
23197 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23199 # Sed expression to map a string onto a valid variable name.
23200 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23204 ## ----------------------------------- ##
23205 ## Main body of $CONFIG_STATUS script. ##
23206 ## ----------------------------------- ##
23208 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23211 # Save the log message, to keep $0 and so on meaningful, and to
23212 # report actual input values of CONFIG_FILES etc. instead of their
23213 # values after options handling.
23215 This file was extended by $as_me, which was
23216 generated by GNU Autoconf 2.67. Invocation command line was
23218 CONFIG_FILES = $CONFIG_FILES
23219 CONFIG_HEADERS = $CONFIG_HEADERS
23220 CONFIG_LINKS = $CONFIG_LINKS
23221 CONFIG_COMMANDS = $CONFIG_COMMANDS
23224 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23229 case $ac_config_files in *"
23230 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
23233 case $ac_config_headers in *"
23234 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23239 # Files that config.status was made for.
23240 config_files="$ac_config_files"
23241 config_headers="$ac_config_headers"
23242 config_commands="$ac_config_commands"
23246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23248 \`$as_me' instantiates files and other configuration actions
23249 from templates according to the current configuration. Unless the files
23250 and actions are specified as TAGs, all are instantiated by default.
23252 Usage: $0 [OPTION]... [TAG]...
23254 -h, --help print this help, then exit
23255 -V, --version print version number and configuration settings, then exit
23256 --config print configuration, then exit
23257 -q, --quiet, --silent
23258 do not print progress messages
23259 -d, --debug don't remove temporary files
23260 --recheck update $as_me by reconfiguring in the same conditions
23261 --file=FILE[:TEMPLATE]
23262 instantiate the configuration file FILE
23263 --header=FILE[:TEMPLATE]
23264 instantiate the configuration header FILE
23266 Configuration files:
23269 Configuration headers:
23272 Configuration commands:
23275 Report bugs to the package provider."
23278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23279 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23282 configured by $0, generated by GNU Autoconf 2.67,
23283 with options \\"\$ac_cs_config\\"
23285 Copyright (C) 2010 Free Software Foundation, Inc.
23286 This config.status script is free software; the Free Software Foundation
23287 gives unlimited permission to copy, distribute and modify it."
23294 test -n "\$AWK" || AWK=awk
23297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23298 # The default lists apply if the user does not specify any file.
23304 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23305 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23309 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23321 # Handling of the options.
23322 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23324 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23325 $as_echo "$ac_cs_version"; exit ;;
23326 --config |
--confi |
--conf |
--con |
--co |
--c )
23327 $as_echo "$ac_cs_config"; exit ;;
23328 --debug |
--debu |
--deb |
--de |
--d |
-d )
23330 --file |
--fil |
--fi |
--f )
23333 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23334 '') as_fn_error $?
"missing file argument" ;;
23336 as_fn_append CONFIG_FILES
" '$ac_optarg'"
23337 ac_need_defaults
=false
;;
23338 --header |
--heade |
--head |
--hea )
23341 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23343 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23344 ac_need_defaults
=false
;;
23346 # Conflict between --help and --header
23347 as_fn_error $?
"ambiguous option: \`$1'
23348 Try \`$0 --help' for more information.";;
23349 --help |
--hel |
-h )
23350 $as_echo "$ac_cs_usage"; exit ;;
23351 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23352 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23355 # This is an error.
23356 -*) as_fn_error $?
"unrecognized option: \`$1'
23357 Try \`$0 --help' for more information." ;;
23359 *) as_fn_append ac_config_targets
" $1"
23360 ac_need_defaults
=false
;;
23366 ac_configure_extra_args
=
23368 if $ac_cs_silent; then
23370 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23375 if \$ac_cs_recheck; then
23376 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23378 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23379 CONFIG_SHELL='$SHELL'
23380 export CONFIG_SHELL
23385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23389 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23390 ## Running $as_me. ##
23396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23400 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23403 # The HP-UX ksh and POSIX shell print the target directory to stdout
23404 # if CDPATH is set.
23405 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23407 sed_quote_subst='$sed_quote_subst'
23408 double_quote_subst='$double_quote_subst'
23409 delay_variable_subst='$delay_variable_subst'
23410 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
23411 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
23412 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
23413 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
23414 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
23415 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
23416 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
23417 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
23418 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
23419 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
23420 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
23421 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
23422 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
23423 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
23424 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
23425 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
23426 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
23427 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
23428 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
23429 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
23430 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
23431 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
23432 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
23433 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
23434 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
23435 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
23436 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
23437 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23438 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
23439 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
23440 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
23441 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
23442 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23443 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
23444 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
23445 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23446 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23447 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23448 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
23449 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23450 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
23451 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
23452 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
23453 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
23454 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"`'
23455 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"`'
23456 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
23457 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
23458 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
23459 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
23460 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
23461 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
23462 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
23463 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
23464 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
23465 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
23466 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
23467 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
23468 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
23469 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
23470 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
23471 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
23472 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23473 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23474 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
23475 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
23476 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23477 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23478 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
23479 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23480 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23481 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23482 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23483 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23484 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23485 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
23486 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23487 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23488 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23489 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
23490 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
23491 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
23492 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
23493 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
23494 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23495 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
23496 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
23497 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
23498 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
23499 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
23500 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23501 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23502 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23503 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23504 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
23505 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
23506 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23507 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
23508 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
23509 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23510 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23511 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
23512 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23513 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
23514 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23515 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23516 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23517 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23518 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
23519 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
23520 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23521 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23522 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
23523 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
23524 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
23525 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
23526 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
23527 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
23530 LTCFLAGS='$LTCFLAGS'
23531 compiler='$compiler_DEFAULT'
23533 # Quote evaled strings.
23545 deplibs_check_method \
23554 lt_cv_sys_global_symbol_pipe \
23555 lt_cv_sys_global_symbol_to_cdecl \
23556 lt_cv_sys_global_symbol_to_c_name_address \
23557 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23560 lt_prog_compiler_no_builtin_flag \
23561 lt_prog_compiler_wl \
23562 lt_prog_compiler_pic \
23563 lt_prog_compiler_static \
23564 lt_cv_prog_compiler_c_o \
23572 export_dynamic_flag_spec \
23573 whole_archive_flag_spec \
23574 compiler_needs_object \
23576 allow_undefined_flag \
23577 no_undefined_flag \
23578 hardcode_libdir_flag_spec \
23579 hardcode_libdir_flag_spec_ld \
23580 hardcode_libdir_separator \
23585 variables_saved_for_relink \
23587 library_names_spec \
23592 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23593 *[\\\\\\\`\\"\\\$]*)
23594 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23597 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23602 # Double-quote double-evaled strings.
23603 for var in reload_cmds \
23604 old_postinstall_cmds \
23605 old_postuninstall_cmds \
23607 extract_expsyms_cmds \
23608 old_archive_from_new_cmds \
23609 old_archive_from_expsyms_cmds \
23611 archive_expsym_cmds \
23613 module_expsym_cmds \
23614 export_symbols_cmds \
23617 postuninstall_cmds \
23619 sys_lib_search_path_spec \
23620 sys_lib_dlsearch_path_spec; do
23621 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23622 *[\\\\\\\`\\"\\\$]*)
23623 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23626 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23631 # Fix-up fallback echo if it was mangled by the above quoting rules.
23633 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
23637 ac_aux_dir='$ac_aux_dir'
23638 xsi_shell='$xsi_shell'
23639 lt_shell_append='$lt_shell_append'
23641 # See if we are running on zsh, and set the options which allow our
23642 # commands through without removal of \ escapes INIT.
23643 if test -n "\${ZSH_VERSION+set}" ; then
23644 setopt NO_GLOB_SUBST
23650 TIMESTAMP='$TIMESTAMP'
23659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23661 # Handling of arguments.
23662 for ac_config_target
in $ac_config_targets
23664 case $ac_config_target in
23665 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
23666 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23667 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23668 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23669 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
23670 "man/man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man1/Makefile" ;;
23671 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
23672 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
23673 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
23674 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
23675 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
23676 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23677 "include/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/fs/Makefile" ;;
23678 "include/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES include/linux/Makefile" ;;
23679 "include/rpc/Makefile") CONFIG_FILES
="$CONFIG_FILES include/rpc/Makefile" ;;
23680 "include/sharefs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sharefs/Makefile" ;;
23681 "include/sys/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/Makefile" ;;
23682 "include/sys/fm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fm/Makefile" ;;
23683 "include/sys/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fs/Makefile" ;;
23684 "include/sys/sysevent/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/sysevent/Makefile" ;;
23685 "include/util/Makefile") CONFIG_FILES
="$CONFIG_FILES include/util/Makefile" ;;
23686 "include/vm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/vm/Makefile" ;;
23687 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
23688 "rpm/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/Makefile" ;;
23689 "rpm/fedora/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/fedora/Makefile" ;;
23690 "rpm/fedora/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/fedora/spl.spec" ;;
23691 "rpm/fedora/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/fedora/spl-kmod.spec" ;;
23692 "rpm/fedora/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/fedora/spl-dkms.spec" ;;
23693 "rpm/generic/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/generic/Makefile" ;;
23694 "rpm/generic/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl.spec" ;;
23695 "rpm/generic/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-kmod.spec" ;;
23696 "rpm/generic/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-dkms.spec" ;;
23697 "spl.release") CONFIG_FILES
="$CONFIG_FILES spl.release" ;;
23699 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
23704 # If the user did not use the arguments to specify the items to instantiate,
23705 # then the envvar interface is used. Set only those that are not.
23706 # We use the long form for the default assignment because of an extremely
23707 # bizarre bug on SunOS 4.1.3.
23708 if $ac_need_defaults; then
23709 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23710 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23711 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23714 # Have a temporary directory for convenience. Make it in the build tree
23715 # simply because there is no reason against having it here, and in addition,
23716 # creating and moving files from /tmp can sometimes cause problems.
23717 # Hook for its removal unless debugging.
23718 # Note that there is a small window in which the directory will not be cleaned:
23719 # after its creation but before its name has been assigned to `$tmp'.
23723 trap 'exit_status=$?
23724 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23726 trap 'as_fn_exit 1' 1 2 13 15
23728 # Create a (secure) tmp directory for tmp files.
23731 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23732 test -n "$tmp" && test -d "$tmp"
23735 tmp
=.
/conf$$
-$RANDOM
23736 (umask 077 && mkdir
"$tmp")
23737 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23739 # Set up the scripts for CONFIG_FILES section.
23740 # No need to generate them if there are no CONFIG_FILES.
23741 # This happens for instance with `./config.status config.h'.
23742 if test -n "$CONFIG_FILES"; then
23745 ac_cr
=`echo X | tr X '\015'`
23746 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23747 # But we know of no other shell where ac_cr would be empty at this
23748 # point, so we can use a bashism as a fallback.
23749 if test "x$ac_cr" = x
; then
23750 eval ac_cr
=\$
\'\\r
\'
23752 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23753 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23756 ac_cs_awk_cr
=$ac_cr
23759 echo 'BEGIN {' >"$tmp/subs1.awk" &&
23764 echo "cat >conf$$subs.awk <<_ACEOF" &&
23765 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23767 } >conf$$subs.sh ||
23768 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23769 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23771 for ac_last_try in false false false false false :; do
23772 . ./conf$$subs.sh ||
23773 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23775 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23776 if test $ac_delim_n = $ac_delim_num; then
23778 elif $ac_last_try; then
23779 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23781 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23784 rm -f conf$$subs.sh
23786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23787 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
23791 s/^/S["/; s
/!.
*/"]=/
23801 s/\(.\{148\}\)..*/\1/
23803 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23808 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23815 s/\(.\{148\}\)..*/\1/
23817 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23821 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23826 ' <conf$$subs.awk | sed '
23831 ' >>$CONFIG_STATUS || ac_write_fail=1
23832 rm -f conf$$subs.awk
23833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23835 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
23836 for (key in S) S_is_set[key] = 1
23842 nfields = split(line, field, "@
")
23844 len = length(field[1])
23845 for (i = 2; i < nfields; i++) {
23847 keylen = length(key)
23848 if (S_is_set[key]) {
23850 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23851 len += length(value) + length(field[++i])
23862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23863 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23864 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23867 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
23868 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23871 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23872 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23873 # trailing colons and then remove the whole line if VPATH becomes empty
23874 # (actually we leave an empty line to preserve line numbers).
23875 if test "x
$srcdir" = x.; then
23876 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23895 fi # test -n "$CONFIG_FILES"
23897 # Set up the scripts for CONFIG_HEADERS section.
23898 # No need to generate them if there are no CONFIG_HEADERS.
23899 # This happens for instance with `./config.status Makefile'.
23900 if test -n "$CONFIG_HEADERS"; then
23901 cat >"$tmp/defines.
awk" <<\_ACAWK ||
23905 # Transform confdefs.h into an awk script `defines.awk', embedded as
23906 # here-document in config.status, that substitutes the proper values into
23907 # config.h.in to produce config.h.
23909 # Create a delimiter string that does not exist in confdefs.h, to ease
23910 # handling of long lines.
23912 for ac_last_try in false false :; do
23913 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
23914 if test -z "$ac_t"; then
23916 elif $ac_last_try; then
23917 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23919 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23923 # For the awk script, D is an array of macro values keyed by name,
23924 # likewise P contains macro parameters if any. Preserve backslash
23925 # newline sequences.
23927 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23929 s/.\{148\}/&'"$ac_delim"'/g
23932 s/^[ ]*#[ ]*define[ ][ ]*/ /
23939 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23941 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23945 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23946 D["\
1"]=" \
3\\\\\\n
"\\/p
23948 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23953 s/.\{148\}/&'"$ac_delim"'/g
23958 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23961 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23963 ' <confdefs.h | sed '
23964 s/'"$ac_delim"'/"\\\
23965 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23968 for (key in D) D_is_set[key] = 1
23971 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23973 split(line, arg, " ")
23974 if (arg[1] == "#") {
23978 defundef
= substr
(arg
[1], 2)
23981 split(mac1
, mac2
, "(") #)
23983 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23984 if (D_is_set
[macro
]) {
23985 # Preserve the white space surrounding the "#".
23986 print prefix
"define", macro P
[macro
] D
[macro
]
23989 # Replace #undef with comments. This is necessary, for example,
23990 # in the case of _POSIX_SOURCE, which is predefined and required
23991 # on some systems where configure will not decide to define it.
23992 if (defundef
== "undef") {
23993 print
"/*", prefix defundef
, macro
, "*/"
24001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24002 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
24003 fi # test -n "$CONFIG_HEADERS"
24006 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
24011 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24013 case $ac_mode$ac_tag in
24015 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
24016 :[FH
]-) ac_tag
=-:-;;
24017 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24034 -) ac_f
="$tmp/stdin";;
24035 *) # Look for the file first in the build tree, then in the source tree
24036 # (if the path is not absolute). The absolute path cannot be DOS-style,
24037 # because $ac_f cannot contain `:'.
24041 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24043 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
24045 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24046 as_fn_append ac_file_inputs
" '$ac_f'"
24049 # Let's still pretend it is `configure' which instantiates (i.e., don't
24050 # use $as_me), people would be surprised to read:
24051 # /* config.h. Generated by config.status. */
24052 configure_input
='Generated from '`
24053 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24055 if test x
"$ac_file" != x-
; then
24056 configure_input
="$ac_file. $configure_input"
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24058 $as_echo "$as_me: creating $ac_file" >&6;}
24060 # Neutralize special characters interpreted by sed in replacement strings.
24061 case $configure_input in #(
24062 *\
&* |
*\|
* |
*\\* )
24063 ac_sed_conf_input
=`$as_echo "$configure_input" |
24064 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24065 *) ac_sed_conf_input
=$configure_input;;
24069 *:-:* |
*:-) cat >"$tmp/stdin" \
24070 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24075 ac_dir
=`$as_dirname -- "$ac_file" ||
24076 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24077 X"$ac_file" : 'X\(//\)[^/]' \| \
24078 X"$ac_file" : 'X\(//\)$' \| \
24079 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24080 $as_echo X"$ac_file" |
24081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24085 /^X\(\/\/\)[^/].*/{
24098 as_dir
="$ac_dir"; as_fn_mkdir_p
24102 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24104 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24105 # A ".." for each directory in $ac_dir_suffix.
24106 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24107 case $ac_top_builddir_sub in
24108 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24109 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24112 ac_abs_top_builddir
=$ac_pwd
24113 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24114 # for backward compatibility:
24115 ac_top_builddir
=$ac_top_build_prefix
24118 .
) # We are building in place.
24120 ac_top_srcdir
=$ac_top_builddir_sub
24121 ac_abs_top_srcdir
=$ac_pwd ;;
24122 [\\/]* | ?
:[\\/]* ) # Absolute name.
24123 ac_srcdir
=$srcdir$ac_dir_suffix;
24124 ac_top_srcdir
=$srcdir
24125 ac_abs_top_srcdir
=$srcdir ;;
24126 *) # Relative name.
24127 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24128 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24129 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24131 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24141 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24142 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24144 ac_MKDIR_P
=$MKDIR_P
24146 [\\/$
]* | ?
:[\\/]* ) ;;
24147 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
24151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24152 # If the template does not know about datarootdir, expand it.
24153 # FIXME: This hack should be removed a few years after 2.60.
24154 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24165 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24166 *datarootdir
*) ac_datarootdir_seen
=yes;;
24167 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24169 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24172 ac_datarootdir_hack='
24173 s&@datadir@&$datadir&g
24174 s&@docdir@&$docdir&g
24175 s&@infodir@&$infodir&g
24176 s&@localedir@&$localedir&g
24177 s&@mandir@&$mandir&g
24178 s&\\\${datarootdir}&$datarootdir&g' ;;
24182 # Neutralize VPATH when `$srcdir' = `.'.
24183 # Shell code in configure.ac might set extrasub.
24184 # FIXME: do we really want to maintain this feature?
24185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24186 ac_sed_extra="$ac_vpsub
24189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24191 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24192 s|@configure_input@|
$ac_sed_conf_input|
;t t
24193 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24194 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
24195 s
&@srcdir@
&$ac_srcdir&;t t
24196 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24197 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24198 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24199 s
&@builddir@
&$ac_builddir&;t t
24200 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24201 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24202 s
&@INSTALL@
&$ac_INSTALL&;t t
24203 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
24204 $ac_datarootdir_hack
24206 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
24207 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
24209 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24210 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24211 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24213 which seems to be undefined. Please make sure it is defined" >&5
24214 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24215 which seems to be undefined. Please make sure it is defined" >&2;}
24219 -) cat "$tmp/out" && rm -f "$tmp/out";;
24220 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
24222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24228 if test x"$ac_file" != x-; then
24230 $as_echo "/* $configure_input */" \
24231 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
24232 } >"$tmp/config.h" \
24233 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24234 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24236 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24239 mv "$tmp/config.h" "$ac_file" \
24240 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24243 $as_echo "/* $configure_input */" \
24244 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
24245 || as_fn_error $? "could not create -" "$LINENO" 5
24247 # Compute "$ac_file"'s index
in $config_headers.
24250 for _am_header
in $config_headers :; do
24251 case $_am_header in
24252 $_am_arg |
$_am_arg:* )
24255 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24258 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24259 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24260 X"$_am_arg" : 'X\(//\)[^/]' \| \
24261 X"$_am_arg" : 'X\(//\)$' \| \
24262 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24263 $as_echo X"$_am_arg" |
24264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24268 /^X\(\/\/\)[^/].*/{
24280 s/.*/./; q'`/stamp-h
$_am_stamp_count
24283 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24284 $as_echo "$as_me: executing $ac_file commands" >&6;}
24289 case $ac_file$ac_mode in
24291 (mv spl_config.h spl_config.h.tmp
&&
24292 awk -f ${ac_srcdir}/config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
24293 rm spl_config.h.tmp
) ||
exit 1 ;;
24294 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
24295 # Autoconf 2.62 quotes --file arguments for eval, but not when files
24296 # are listed without --file. Let's play safe and only enable the eval
24297 # if we detect the quoting.
24298 case $CONFIG_FILES in
24299 *\'*) eval set x
"$CONFIG_FILES" ;;
24300 *) set x
$CONFIG_FILES ;;
24305 # Strip MF so we end up with the name of the file.
24306 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24307 # Check whether this is an Automake generated Makefile or not.
24308 # We used to match only the files named `Makefile.in', but
24309 # some people rename them; so instead we look at the file content.
24310 # Grep'ing the first line is not enough: some people post-process
24311 # each Makefile.in and add a new line on top of each file to say so.
24312 # Grep'ing the whole file is not good either: AIX grep has a line
24313 # limit of 2048, but all sed's we know have understand at least 4000.
24314 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
24315 dirpart
=`$as_dirname -- "$mf" ||
24316 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24317 X"$mf" : 'X\(//\)[^/]' \| \
24318 X"$mf" : 'X\(//\)$' \| \
24319 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24325 /^X\(\/\/\)[^/].*/{
24341 # Extract the definition of DEPDIR, am__include, and am__quote
24342 # from the Makefile without running `make'.
24343 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24344 test -z "$DEPDIR" && continue
24345 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24346 test -z "am__include" && continue
24347 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24348 # When using ansi2knr, U may be empty or an underscore; expand it
24349 U
=`sed -n 's/^U = //p' < "$mf"`
24350 # Find all dependency output files, they are included files with
24351 # $(DEPDIR) in their names. We invoke sed twice because it is the
24352 # simplest approach to changing $(DEPDIR) to its actual value in the
24354 for file in `sed -n "
24355 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24356 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24357 # Make sure the directory exists.
24358 test -f "$dirpart/$file" && continue
24359 fdir
=`$as_dirname -- "$file" ||
24360 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24361 X"$file" : 'X\(//\)[^/]' \| \
24362 X"$file" : 'X\(//\)$' \| \
24363 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24364 $as_echo X"$file" |
24365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24369 /^X\(\/\/\)[^/].*/{
24382 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
24383 # echo "creating $dirpart/$file"
24384 echo '# dummy' > "$dirpart/$file"
24391 # See if we are running on zsh, and set the options which allow our
24392 # commands through without removal of \ escapes.
24393 if test -n "${ZSH_VERSION+set}" ; then
24394 setopt NO_GLOB_SUBST
24397 cfgfile
="${ofile}T"
24398 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24401 cat <<_LT_EOF >> "$cfgfile"
24404 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24405 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
24406 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24407 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24409 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
24410 # 2006, 2007, 2008 Free Software Foundation, Inc.
24411 # Written by Gordon Matzigkeit, 1996
24413 # This file is part of GNU Libtool.
24415 # GNU Libtool is free software; you can redistribute it and/or
24416 # modify it under the terms of the GNU General Public License as
24417 # published by the Free Software Foundation; either version 2 of
24418 # the License, or (at your option) any later version.
24420 # As a special exception to the GNU General Public License,
24421 # if you distribute this file as part of a program or library that
24422 # is built using GNU Libtool, you may include this file under the
24423 # same distribution terms that you use for the rest of that program.
24425 # GNU Libtool is distributed in the hope that it will be useful,
24426 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24427 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24428 # GNU General Public License for more details.
24430 # You should have received a copy of the GNU General Public License
24431 # along with GNU Libtool; see the file COPYING. If not, a copy
24432 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24433 # obtained by writing to the Free Software Foundation, Inc.,
24434 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24437 # The names of the tagged configurations supported by this script.
24440 # ### BEGIN LIBTOOL CONFIG
24442 # Which release of libtool.m4 was used?
24443 macro_version=$macro_version
24444 macro_revision=$macro_revision
24446 # Whether or not to build shared libraries.
24447 build_libtool_libs=$enable_shared
24449 # Whether or not to build static libraries.
24450 build_old_libs=$enable_static
24452 # What type of objects to build.
24455 # Whether or not to optimize for fast installation.
24456 fast_install=$enable_fast_install
24459 host_alias=$host_alias
24463 # The build system.
24464 build_alias=$build_alias
24468 # A sed program that does not truncate output.
24471 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24472 Xsed="\$SED -e 1s/^X//"
24474 # A grep program that handles long lines.
24480 # A literal string matcher.
24483 # A BSD- or MS-compatible name lister.
24486 # Whether we need soft or hard links.
24489 # What is the maximum length of a command?
24490 max_cmd_len=$max_cmd_len
24492 # Object file suffix (normally "o").
24495 # Executable file suffix (normally "").
24498 # whether the shell understands "unset".
24501 # turn spaces into newlines.
24504 # turn newlines into spaces.
24507 # How to create reloadable object files.
24508 reload_flag=$lt_reload_flag
24509 reload_cmds=$lt_reload_cmds
24511 # An object symbol dumper.
24512 OBJDUMP=$lt_OBJDUMP
24514 # Method to check whether dependent libraries are shared objects.
24515 deplibs_check_method=$lt_deplibs_check_method
24517 # Command to use when deplibs_check_method == "file_magic".
24518 file_magic_cmd=$lt_file_magic_cmd
24522 AR_FLAGS=$lt_AR_FLAGS
24524 # A symbol stripping program.
24527 # Commands used to install an old-style archive.
24529 old_postinstall_cmds=$lt_old_postinstall_cmds
24530 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24535 # LTCC compiler flags.
24536 LTCFLAGS=$lt_CFLAGS
24538 # Take the output of nm and produce a listing of raw symbols and C names.
24539 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24541 # Transform the output of nm in a proper C declaration.
24542 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24544 # Transform the output of nm in a C name address pair.
24545 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24547 # Transform the output of nm in a C name address pair when lib prefix is needed.
24548 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24550 # The name of the directory that contains temporary libtool files.
24553 # Shell to use when invoking shell scripts.
24556 # An echo program that does not interpret backslashes.
24559 # Used to examine libraries when file_magic_cmd begins with "file".
24560 MAGIC_CMD=$MAGIC_CMD
24562 # Must we lock files when doing compilation?
24563 need_locks=$lt_need_locks
24565 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24566 DSYMUTIL=$lt_DSYMUTIL
24568 # Tool to change global to local symbols on Mac OS X.
24571 # Tool to manipulate fat objects and archives on Mac OS X.
24574 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24577 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24578 OTOOL64=$lt_OTOOL64
24580 # Old archive suffix (normally "a").
24583 # Shared library suffix (normally ".so").
24584 shrext_cmds=$lt_shrext_cmds
24586 # The commands to extract the exported symbol list from a shared archive.
24587 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24589 # Variables whose values should be saved in libtool wrapper scripts and
24590 # restored at link time.
24591 variables_saved_for_relink=$lt_variables_saved_for_relink
24593 # Do we need the "lib" prefix for modules?
24594 need_lib_prefix=$need_lib_prefix
24596 # Do we need a version for libraries?
24597 need_version=$need_version
24599 # Library versioning type.
24600 version_type=$version_type
24602 # Shared library runtime path variable.
24603 runpath_var=$runpath_var
24605 # Shared library path variable.
24606 shlibpath_var=$shlibpath_var
24608 # Is shlibpath searched before the hard-coded library search path?
24609 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24611 # Format of library name prefix.
24612 libname_spec=$lt_libname_spec
24614 # List of archive names. First name is the real one, the rest are links.
24615 # The last name is the one that the linker finds with -lNAME
24616 library_names_spec=$lt_library_names_spec
24618 # The coded name of the library, if different from the real name.
24619 soname_spec=$lt_soname_spec
24621 # Command to use after installation of a shared archive.
24622 postinstall_cmds=$lt_postinstall_cmds
24624 # Command to use after uninstallation of a shared archive.
24625 postuninstall_cmds=$lt_postuninstall_cmds
24627 # Commands used to finish a libtool library installation in a directory.
24628 finish_cmds=$lt_finish_cmds
24630 # As "finish_cmds", except a single script fragment to be evaled but
24632 finish_eval=$lt_finish_eval
24634 # Whether we should hardcode library paths into libraries.
24635 hardcode_into_libs=$hardcode_into_libs
24637 # Compile-time system search path for libraries.
24638 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24640 # Run-time system search path for libraries.
24641 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24643 # Whether dlopen is supported.
24644 dlopen_support=$enable_dlopen
24646 # Whether dlopen of programs is supported.
24647 dlopen_self=$enable_dlopen_self
24649 # Whether dlopen of statically linked programs is supported.
24650 dlopen_self_static=$enable_dlopen_self_static
24652 # Commands to strip libraries.
24653 old_striplib=$lt_old_striplib
24654 striplib=$lt_striplib
24657 # The linker used to build libraries.
24660 # Commands used to build an old-style archive.
24661 old_archive_cmds=$lt_old_archive_cmds
24663 # A language specific compiler.
24666 # Is the compiler the GNU compiler?
24669 # Compiler flag to turn off builtin functions.
24670 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24672 # How to pass a linker flag through the compiler.
24673 wl=$lt_lt_prog_compiler_wl
24675 # Additional compiler flags for building library objects.
24676 pic_flag=$lt_lt_prog_compiler_pic
24678 # Compiler flag to prevent dynamic linking.
24679 link_static_flag=$lt_lt_prog_compiler_static
24681 # Does compiler simultaneously support -c and -o options?
24682 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24684 # Whether or not to add -lc for building shared libraries.
24685 build_libtool_need_lc=$archive_cmds_need_lc
24687 # Whether or not to disallow shared libs when runtime libs are static.
24688 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24690 # Compiler flag to allow reflexive dlopens.
24691 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24693 # Compiler flag to generate shared objects directly from archives.
24694 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24696 # Whether the compiler copes with passing no objects directly.
24697 compiler_needs_object=$lt_compiler_needs_object
24699 # Create an old-style archive from a shared archive.
24700 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24702 # Create a temporary old-style archive to link instead of a shared archive.
24703 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24705 # Commands used to build a shared archive.
24706 archive_cmds=$lt_archive_cmds
24707 archive_expsym_cmds=$lt_archive_expsym_cmds
24709 # Commands used to build a loadable module if different from building
24710 # a shared archive.
24711 module_cmds=$lt_module_cmds
24712 module_expsym_cmds=$lt_module_expsym_cmds
24714 # Whether we are building with GNU ld or not.
24715 with_gnu_ld=$lt_with_gnu_ld
24717 # Flag that allows shared libraries with undefined symbols to be built.
24718 allow_undefined_flag=$lt_allow_undefined_flag
24720 # Flag that enforces no undefined symbols.
24721 no_undefined_flag=$lt_no_undefined_flag
24723 # Flag to hardcode \$libdir into a binary during linking.
24724 # This must work even if \$libdir does not exist
24725 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24727 # If ld is used when linking, flag to hardcode \$libdir into a binary
24728 # during linking. This must work even if \$libdir does not exist.
24729 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24731 # Whether we need a single "-rpath" flag with a separated argument.
24732 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24734 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24735 # DIR into the resulting binary.
24736 hardcode_direct=$hardcode_direct
24738 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24739 # DIR into the resulting binary and the resulting library dependency is
24740 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24741 # library is relocated.
24742 hardcode_direct_absolute=$hardcode_direct_absolute
24744 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24745 # into the resulting binary.
24746 hardcode_minus_L=$hardcode_minus_L
24748 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24749 # into the resulting binary.
24750 hardcode_shlibpath_var=$hardcode_shlibpath_var
24752 # Set to "yes" if building a shared library automatically hardcodes DIR
24753 # into the library and all subsequent libraries and executables linked
24755 hardcode_automatic=$hardcode_automatic
24757 # Set to yes if linker adds runtime paths of dependent libraries
24758 # to runtime path list.
24759 inherit_rpath=$inherit_rpath
24761 # Whether libtool must link a program against all its dependency libraries.
24762 link_all_deplibs=$link_all_deplibs
24764 # Fix the shell variable \$srcfile for the compiler.
24765 fix_srcfile_path=$lt_fix_srcfile_path
24767 # Set to "yes" if exported symbols are required.
24768 always_export_symbols=$always_export_symbols
24770 # The commands to list exported symbols.
24771 export_symbols_cmds=$lt_export_symbols_cmds
24773 # Symbols that should not be listed in the preloaded symbols.
24774 exclude_expsyms=$lt_exclude_expsyms
24776 # Symbols that must always be exported.
24777 include_expsyms=$lt_include_expsyms
24779 # Commands necessary for linking programs (against libraries) with templates.
24780 prelink_cmds=$lt_prelink_cmds
24782 # Specify filename containing input files.
24783 file_list_spec=$lt_file_list_spec
24785 # How to hardcode a shared library path into an executable.
24786 hardcode_action=$hardcode_action
24788 # ### END LIBTOOL CONFIG
24794 cat <<\_LT_EOF
>> "$cfgfile"
24795 # AIX sometimes has problems with the GCC collect2 program. For some
24796 # reason, if we set the COLLECT_NAMES environment variable, the problems
24797 # vanish in a puff of smoke.
24798 if test "X${COLLECT_NAMES+set}" != Xset
; then
24800 export COLLECT_NAMES
24807 ltmain
="$ac_aux_dir/ltmain.sh"
24810 # We use sed instead of cat because bash on DJGPP gets confused if
24811 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24812 # text mode, it properly converts lines to CR/LF. This bash problem
24813 # is reportedly fixed, but why not run on old versions too?
24814 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24815 ||
(rm -f "$cfgfile"; exit 1)
24819 cat << \_LT_EOF
>> "$cfgfile"
24821 # func_dirname file append nondir_replacement
24822 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24823 # otherwise set result to NONDIR_REPLACEMENT.
24827 */*) func_dirname_result
="${1%/*}${2}" ;;
24828 * ) func_dirname_result
="${3}" ;;
24832 # func_basename file
24835 func_basename_result
="${1##*/}"
24838 # func_dirname_and_basename file append nondir_replacement
24839 # perform func_basename and func_dirname in a single function
24841 # dirname: Compute the dirname of FILE. If nonempty,
24842 # add APPEND to the result, otherwise set result
24843 # to NONDIR_REPLACEMENT.
24844 # value returned in "$func_dirname_result"
24845 # basename: Compute filename of FILE.
24846 # value retuned in "$func_basename_result"
24847 # Implementation must be kept synchronized with func_dirname
24848 # and func_basename. For efficiency, we do not delegate to
24849 # those functions but instead duplicate the functionality here.
24850 func_dirname_and_basename
()
24853 */*) func_dirname_result
="${1%/*}${2}" ;;
24854 * ) func_dirname_result
="${3}" ;;
24856 func_basename_result
="${1##*/}"
24859 # func_stripname prefix suffix name
24860 # strip PREFIX and SUFFIX off of NAME.
24861 # PREFIX and SUFFIX must not contain globbing or regex special
24862 # characters, hashes, percent signs, but SUFFIX may contain a leading
24863 # dot (in which case that matches only a dot).
24866 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24867 # positional parameters, so assign one to ordinary parameter first.
24868 func_stripname_result
=${3}
24869 func_stripname_result
=${func_stripname_result#"${1}"}
24870 func_stripname_result
=${func_stripname_result%"${2}"}
24876 func_opt_split_opt
=${1%%=*}
24877 func_opt_split_arg
=${1#*=}
24884 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
24885 *) func_lo2o_result
=${1} ;;
24889 # func_xform libobj-or-source
24892 func_xform_result
=${1%.*}.lo
24895 # func_arith arithmetic-term...
24898 func_arith_result
=$
(( $
* ))
24902 # STRING may not start with a hyphen.
24905 func_len_result
=${#1}
24910 *) # Bourne compatible functions.
24911 cat << \_LT_EOF
>> "$cfgfile"
24913 # func_dirname file append nondir_replacement
24914 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24915 # otherwise set result to NONDIR_REPLACEMENT.
24918 # Extract subdirectory from the argument.
24919 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24920 if test "X$func_dirname_result" = "X${1}"; then
24921 func_dirname_result
="${3}"
24923 func_dirname_result
="$func_dirname_result${2}"
24927 # func_basename file
24930 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
24934 # func_stripname prefix suffix name
24935 # strip PREFIX and SUFFIX off of NAME.
24936 # PREFIX and SUFFIX must not contain globbing or regex special
24937 # characters, hashes, percent signs, but SUFFIX may contain a leading
24938 # dot (in which case that matches only a dot).
24939 # func_strip_suffix prefix name
24943 .
*) func_stripname_result
=`$ECHO "X${3}" \
24944 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
24945 *) func_stripname_result
=`$ECHO "X${3}" \
24946 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
24951 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
24952 my_sed_long_arg
='1s/^-[^=]*=//'
24957 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
24958 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
24964 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24967 # func_xform libobj-or-source
24970 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24973 # func_arith arithmetic-term...
24976 func_arith_result
=`expr "$@"`
24980 # STRING may not start with a hyphen.
24983 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24989 case $lt_shell_append in
24991 cat << \_LT_EOF
>> "$cfgfile"
24993 # func_append var value
24994 # Append VALUE to the end of shell variable VAR.
25002 cat << \_LT_EOF
>> "$cfgfile"
25004 # func_append var value
25005 # Append VALUE to the end of shell variable VAR.
25016 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
25017 ||
(rm -f "$cfgfile"; exit 1)
25019 mv -f "$cfgfile" "$ofile" ||
25020 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25031 ac_clean_files
=$ac_clean_files_save
25033 test $ac_write_fail = 0 ||
25034 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
25037 # configure is writing to config.log, and then calls config.status.
25038 # config.status does its own redirection, appending to config.log.
25039 # Unfortunately, on DOS this fails, as config.log is still kept open
25040 # by configure, so config.status won't be able to write to it; its
25041 # output is simply discarded. So we exec the FD to /dev/null,
25042 # effectively closing config.log, so it can be properly (re)opened and
25043 # appended to by config.status. When coming back to configure, we
25044 # need to make the FD available again.
25045 if test "$no_create" != yes; then
25047 ac_config_status_args
=
25048 test "$silent" = yes &&
25049 ac_config_status_args
="$ac_config_status_args --quiet"
25051 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25053 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25054 # would make configure fail if this is the last instruction.
25055 $ac_cs_success || as_fn_exit
1
25057 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25059 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}