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
833 INSTALL_STRIP_PROGRAM
851 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking metadata" >&5
2306 $as_echo_n "checking metadata... " >&6; }
2309 _spl_ac_meta_type="none"
2310 if test -f "$META"; then
2311 _spl_ac_meta_type="META file"
2313 SPL_META_NAME=`perl
-n\
2314 -e "BEGIN { \\$key=shift @ARGV; }"\
2315 -e "next unless s/^\s*\\$key[:=]//i;"\
2316 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2319 -e "s/^(['\"])(.*)\1/\\$2/;"\
2321 -e "END { print \\$val if defined \\$val; }"\
2322 '(?:NAME|PROJECT|PACKAGE)' $META`;
2323 if test -n "$SPL_META_NAME"; then
2325 cat >>confdefs.h <<_ACEOF
2326 #define SPL_META_NAME "$SPL_META_NAME"
2332 SPL_META_VERSION=`perl
-n\
2333 -e "BEGIN { \\$key=shift @ARGV; }"\
2334 -e "next unless s/^\s*\\$key[:=]//i;"\
2335 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2338 -e "s/^(['\"])(.*)\1/\\$2/;"\
2340 -e "END { print \\$val if defined \\$val; }"\
2342 if test -n "$SPL_META_VERSION"; then
2344 cat >>confdefs.h <<_ACEOF
2345 #define SPL_META_VERSION "$SPL_META_VERSION"
2351 SPL_META_RELEASE=`perl
-n\
2352 -e "BEGIN { \\$key=shift @ARGV; }"\
2353 -e "next unless s/^\s*\\$key[:=]//i;"\
2354 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2357 -e "s/^(['\"])(.*)\1/\\$2/;"\
2359 -e "END { print \\$val if defined \\$val; }"\
2361 if git rev-parse --git-dir > /dev/null 2>&1; then
2362 _match="${SPL_META_NAME}-${SPL_META_VERSION}*"
2363 _alias=$(git describe --match=${_match} 2>/dev/null)
2364 _release=$(echo ${_alias}|cut -f3- -d'-'|sed 's/-/_/g')
2365 if test -n "${_release}"; then
2366 SPL_META_RELEASE=${_release}
2367 _spl_ac_meta_type="git describe"
2371 if test -n "$SPL_META_RELEASE"; then
2373 cat >>confdefs.h <<_ACEOF
2374 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2379 RELEASE="$SPL_META_RELEASE"
2383 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2384 SPL_META_ALIAS="$SPL_META_NAME-$SPL_META_VERSION"
2385 test -n "$SPL_META_RELEASE" &&
2386 SPL_META_ALIAS="$SPL_META_ALIAS-$SPL_META_RELEASE"
2388 cat >>confdefs.h <<_ACEOF
2389 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2395 SPL_META_DATA=`perl
-n\
2396 -e "BEGIN { \\$key=shift @ARGV; }"\
2397 -e "next unless s/^\s*\\$key[:=]//i;"\
2398 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2401 -e "s/^(['\"])(.*)\1/\\$2/;"\
2403 -e "END { print \\$val if defined \\$val; }"\
2405 if test -n "$SPL_META_DATA"; then
2407 cat >>confdefs.h <<_ACEOF
2408 #define SPL_META_DATA "$SPL_META_DATA"
2414 SPL_META_AUTHOR=`perl
-n\
2415 -e "BEGIN { \\$key=shift @ARGV; }"\
2416 -e "next unless s/^\s*\\$key[:=]//i;"\
2417 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2420 -e "s/^(['\"])(.*)\1/\\$2/;"\
2422 -e "END { print \\$val if defined \\$val; }"\
2424 if test -n "$SPL_META_AUTHOR"; then
2426 cat >>confdefs.h <<_ACEOF
2427 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2434 SPL_META_LT_CURRENT=`perl
-n\
2435 -e "BEGIN { \\$key=shift @ARGV; }"\
2436 -e "next unless s/^\s*\\$key[:=]//i;"\
2437 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2440 -e "s/^(['\"])(.*)\1/\\$2/;"\
2442 -e "END { print \\$val if defined \\$val; }"\
2443 'LT_CURRENT' $META`;
2444 SPL_META_LT_REVISION=`perl
-n\
2445 -e "BEGIN { \\$key=shift @ARGV; }"\
2446 -e "next unless s/^\s*\\$key[:=]//i;"\
2447 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2450 -e "s/^(['\"])(.*)\1/\\$2/;"\
2452 -e "END { print \\$val if defined \\$val; }"\
2453 'LT_REVISION' $META`;
2454 SPL_META_LT_AGE=`perl
-n\
2455 -e "BEGIN { \\$key=shift @ARGV; }"\
2456 -e "next unless s/^\s*\\$key[:=]//i;"\
2457 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2460 -e "s/^(['\"])(.*)\1/\\$2/;"\
2462 -e "END { print \\$val if defined \\$val; }"\
2464 if test -n "$SPL_META_LT_CURRENT" \
2465 -o -n "$SPL_META_LT_REVISION" \
2466 -o -n "$SPL_META_LT_AGE"; then
2467 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT="0"
2468 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION="0"
2469 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE="0"
2471 cat >>confdefs.h <<_ACEOF
2472 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2476 cat >>confdefs.h <<_ACEOF
2477 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2481 cat >>confdefs.h <<_ACEOF
2482 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_spl_ac_meta_type" >&5
2492 $as_echo "$_spl_ac_meta_type" >&6; }
2496 for ac_dir in config "$srcdir"/config; do
2497 if test -f "$ac_dir/install-sh"; then
2499 ac_install_sh="$ac_aux_dir/install-sh -c"
2501 elif test -f "$ac_dir/install.sh"; then
2503 ac_install_sh="$ac_aux_dir/install.sh -c"
2505 elif test -f "$ac_dir/shtool"; then
2507 ac_install_sh="$ac_aux_dir/shtool install -c"
2511 if test -z "$ac_aux_dir"; then
2512 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2515 # These three variables are undocumented and unsupported,
2516 # and are intended to be withdrawn in a future Autoconf release.
2517 # They can cause serious problems if a builder's source tree is in a directory
2518 # whose full name contains unusual characters.
2519 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2520 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2521 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2524 # Make sure we can run config.sub.
2525 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2526 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2529 $as_echo_n "checking build system type... " >&6; }
2530 if test "${ac_cv_build+set}" = set; then :
2531 $as_echo_n "(cached) " >&6
2533 ac_build_alias=$build_alias
2534 test "x$ac_build_alias" = x &&
2535 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2536 test "x$ac_build_alias" = x &&
2537 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2538 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2539 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2543 $as_echo "$ac_cv_build" >&6; }
2544 case $ac_cv_build in
2546 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2549 ac_save_IFS=$IFS; IFS='-'
2555 # Remember, the first character of IFS is used to create $*,
2556 # except with old shells:
2559 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2563 $as_echo_n "checking host system type... " >&6; }
2564 if test "${ac_cv_host+set}" = set; then :
2565 $as_echo_n "(cached) " >&6
2567 if test "x$host_alias" = x; then
2568 ac_cv_host=$ac_cv_build
2570 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2571 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2576 $as_echo "$ac_cv_host" >&6; }
2579 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2582 ac_save_IFS=$IFS; IFS='-'
2588 # Remember, the first character of IFS is used to create $*,
2589 # except with old shells:
2592 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2596 $as_echo_n "checking target system type... " >&6; }
2597 if test "${ac_cv_target+set}" = set; then :
2598 $as_echo_n "(cached) " >&6
2600 if test "x$target_alias" = x; then
2601 ac_cv_target=$ac_cv_host
2603 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2604 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2609 $as_echo "$ac_cv_target" >&6; }
2610 case $ac_cv_target in
2612 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
2614 target=$ac_cv_target
2615 ac_save_IFS=$IFS; IFS='-'
2621 # Remember, the first character of IFS is used to create $*,
2622 # except with old shells:
2625 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2628 # The aliases save the names the user supplied, while $host etc.
2629 # will get canonicalized.
2630 test -n "$target_alias" &&
2631 test "$program_prefix$program_suffix$program_transform_name" = \
2633 program_prefix=${target_alias}-
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2637 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2638 # Check whether --enable-maintainer-mode was given.
2639 if test "${enable_maintainer_mode+set}" = set; then :
2640 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2642 USE_MAINTAINER_MODE=no
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2646 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2647 if test $USE_MAINTAINER_MODE = yes; then
2648 MAINTAINER_MODE_TRUE=
2649 MAINTAINER_MODE_FALSE='#'
2651 MAINTAINER_MODE_TRUE='#'
2652 MAINTAINER_MODE_FALSE=
2655 MAINT=$MAINTAINER_MODE_TRUE
2658 # Check whether --enable-silent-rules was given.
2659 if test "${enable_silent_rules+set}" = set; then :
2660 enableval=$enable_silent_rules;
2663 case $enable_silent_rules in
2664 yes) AM_DEFAULT_VERBOSITY=0;;
2665 no) AM_DEFAULT_VERBOSITY=1;;
2666 *) AM_DEFAULT_VERBOSITY=1;;
2670 am__api_version='1.11'
2672 # Find a good install program. We prefer a C program (faster),
2673 # so one script is as good as another. But avoid the broken or
2674 # incompatible versions:
2675 # SysV /etc/install, /usr/sbin/install
2676 # SunOS /usr/etc/install
2677 # IRIX /sbin/install
2679 # AmigaOS /C/install, which installs bootblocks on floppy discs
2680 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2681 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2682 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2683 # OS/2's system install, which has a completely different semantic
2684 # ./install, which can be erroneously created by make from ./install.sh.
2685 # Reject install programs that cannot install multiple files.
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2687 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2688 if test -z "$INSTALL"; then
2689 if test "${ac_cv_path_install+set}" = set; then :
2690 $as_echo_n "(cached) " >&6
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir=.
2697 # Account for people who put trailing slashes in PATH elements.
2698 case $as_dir/ in #((
2699 ./ | .// | /[cC]/* | \
2700 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2701 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2704 # OSF1 and SCO ODT 3.0 have their own names for install.
2705 # Don't use installbsd from OSF since it installs stuff as root
2707 for ac_prog in ginstall scoinst install; do
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2710 if test $ac_prog = install &&
2711 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2712 # AIX install. It has an incompatible calling convention.
2714 elif test $ac_prog = install &&
2715 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2716 # program-specific install script used by HP pwplus--don't use.
2719 rm -rf conftest.one conftest.two conftest.dir
2720 echo one > conftest.one
2721 echo two > conftest.two
2723 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2724 test -s conftest.one && test -s conftest.two &&
2725 test -s conftest.dir/conftest.one &&
2726 test -s conftest.dir/conftest.two
2728 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2741 rm -rf conftest.one conftest.two conftest.dir
2744 if test "${ac_cv_path_install+set}" = set; then
2745 INSTALL=$ac_cv_path_install
2747 # As a last resort, use the slow shell script. Don't cache a
2748 # value for INSTALL within a source directory, because that will
2749 # break other packages using the cache if that directory is
2750 # removed, or if the value is a relative name.
2751 INSTALL=$ac_install_sh
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2755 $as_echo "$INSTALL" >&6; }
2757 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2758 # It thinks the first close brace ends the variable substitution.
2759 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2761 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2763 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2766 $as_echo_n "checking whether build environment is sane... " >&6; }
2769 echo timestamp > conftest.file
2770 # Reject unsafe characters in $srcdir or the absolute working directory
2771 # name. Accept space and tab only in the latter.
2775 *[\\\"\#\$\&\'\`$am_lf]*)
2776 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5 ;;
2779 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2780 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2783 # Do `set' in a subshell so we don't clobber the current shell's
2784 # arguments. Must try -L first in case configure is actually a
2785 # symlink; some systems play weird games with the mod time of symlinks
2786 # (eg FreeBSD returns the mod time of the symlink's containing
2789 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2790 if test "$*" = "X"; then
2792 set X
`ls -t "$srcdir/configure" conftest.file`
2795 if test "$*" != "X $srcdir/configure conftest.file" \
2796 && test "$*" != "X conftest.file $srcdir/configure"; then
2798 # If neither matched, then we have a broken ls. This can happen
2799 # if, for instance, CONFIG_SHELL is bash and it inherits a
2800 # broken ls alias from the environment. This has actually
2801 # happened. Such a system could not be considered "sane".
2802 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2803 alias in your environment" "$LINENO" 5
2806 test "$2" = conftest.
file
2812 as_fn_error $?
"newly created file is older than distributed files!
2813 Check your system clock" "$LINENO" 5
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2816 $as_echo "yes" >&6; }
2817 test "$program_prefix" != NONE
&&
2818 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2819 # Use a double $ so make ignores it.
2820 test "$program_suffix" != NONE
&&
2821 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2822 # Double any \ or $.
2823 # By default was `s,x,x', remove it if useless.
2824 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2825 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2827 # expand $ac_aux_dir to an absolute path
2828 am_aux_dir
=`cd $ac_aux_dir && pwd`
2830 if test x
"${MISSING+set}" != xset
; then
2833 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2835 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2838 # Use eval to expand $SHELL
2839 if eval "$MISSING --run true"; then
2840 am_missing_run
="$MISSING --run "
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2844 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2847 if test x
"${install_sh}" != xset
; then
2850 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2852 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2856 # Installed binaries are usually stripped using `strip' when the user
2857 # run `make install-strip'. However `strip' might not be the right
2858 # tool to use in cross-compilation environments, therefore Automake
2859 # will honor the `STRIP' environment variable to overrule this program.
2860 if test "$cross_compiling" != no
; then
2861 if test -n "$ac_tool_prefix"; then
2862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2863 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if test "${ac_cv_prog_STRIP+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$STRIP"; then
2870 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 STRIP
=$ac_cv_prog_STRIP
2890 if test -n "$STRIP"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2892 $as_echo "$STRIP" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2900 if test -z "$ac_cv_prog_STRIP"; then
2902 # Extract the first word of "strip", so it can be a program name with args.
2903 set dummy strip
; ac_word
=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$ac_ct_STRIP"; then
2910 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir
=.
2917 for ac_exec_ext
in '' $ac_executable_extensions; do
2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919 ac_cv_prog_ac_ct_STRIP
="strip"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2930 if test -n "$ac_ct_STRIP"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2932 $as_echo "$ac_ct_STRIP" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2938 if test "x$ac_ct_STRIP" = x
; then
2941 case $cross_compiling:$ac_tool_warned in
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2945 ac_tool_warned
=yes ;;
2950 STRIP
="$ac_cv_prog_STRIP"
2954 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2957 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2958 if test -z "$MKDIR_P"; then
2959 if test "${ac_cv_path_mkdir+set}" = set; then :
2960 $as_echo_n "(cached) " >&6
2962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2963 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2966 test -z "$as_dir" && as_dir
=.
2967 for ac_prog
in mkdir gmkdir
; do
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2970 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2971 'mkdir (GNU coreutils) '* | \
2972 'mkdir (coreutils) '* | \
2973 'mkdir (fileutils) '4.1*)
2974 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2984 test -d .
/--version && rmdir .
/--version
2985 if test "${ac_cv_path_mkdir+set}" = set; then
2986 MKDIR_P
="$ac_cv_path_mkdir -p"
2988 # As a last resort, use the slow shell script. Don't cache a
2989 # value for MKDIR_P within a source directory, because that will
2990 # break other packages using the cache if that directory is
2991 # removed, or if the value is a relative name.
2992 MKDIR_P
="$ac_install_sh -d"
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2996 $as_echo "$MKDIR_P" >&6; }
3000 [\\/$
]* | ?
:[\\/]*) ;;
3001 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3004 for ac_prog
in gawk mawk nawk
awk
3006 # Extract the first word of "$ac_prog", so it can be a program name with args.
3007 set dummy
$ac_prog; ac_word
=$2
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 $as_echo_n "checking for $ac_word... " >&6; }
3010 if test "${ac_cv_prog_AWK+set}" = set; then :
3011 $as_echo_n "(cached) " >&6
3013 if test -n "$AWK"; then
3014 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir
=.
3021 for ac_exec_ext
in '' $ac_executable_extensions; do
3022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3023 ac_cv_prog_AWK
="$ac_prog"
3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test -n "$AWK"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3036 $as_echo "$AWK" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3043 test -n "$AWK" && break
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3047 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3049 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3050 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3051 $as_echo_n "(cached) " >&6
3053 cat >conftest.
make <<\_ACEOF
3056 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3058 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3059 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3061 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3063 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3067 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3069 $as_echo "yes" >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3074 SET_MAKE
="MAKE=${MAKE-make}"
3077 rm -rf .tst
2>/dev
/null
3078 mkdir .tst
2>/dev
/null
3079 if test -d .tst
; then
3084 rmdir .tst
2>/dev
/null
3086 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3087 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3088 # is not polluted with repeated "-I."
3089 am__isrc
=' -I$(srcdir)'
3090 # test to see if srcdir already configured
3091 if test -f $srcdir/config.status
; then
3092 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3096 # test whether we have cygpath
3097 if test -z "$CYGPATH_W"; then
3098 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3099 CYGPATH_W
='cygpath -w'
3106 # Define the identity of the package.
3107 PACKAGE
=$SPL_META_NAME
3108 VERSION
=$SPL_META_VERSION
3111 cat >>confdefs.h
<<_ACEOF
3112 #define PACKAGE "$PACKAGE"
3116 cat >>confdefs.h
<<_ACEOF
3117 #define VERSION "$VERSION"
3120 # Some tools Automake needs.
3122 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3125 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3128 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3131 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3134 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3136 # We need awk for the "check" target. The system "awk" is bad on
3138 # Always define AMTAR for backward compatibility.
3140 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3142 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3148 ac_config_headers
="$ac_config_headers spl_config.h"
3153 ac_cpp
='$CPP $CPPFLAGS'
3154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3157 if test -n "$ac_tool_prefix"; then
3158 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3159 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161 $as_echo_n "checking for $ac_word... " >&6; }
3162 if test "${ac_cv_prog_CC+set}" = set; then :
3163 $as_echo_n "(cached) " >&6
3165 if test -n "$CC"; then
3166 ac_cv_prog_CC
="$CC" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 if test -n "$CC"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3188 $as_echo "$CC" >&6; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3196 if test -z "$ac_cv_prog_CC"; then
3198 # Extract the first word of "gcc", so it can be a program name with args.
3199 set dummy gcc
; ac_word
=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3203 $as_echo_n "(cached) " >&6
3205 if test -n "$ac_ct_CC"; then
3206 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir
=.
3213 for ac_exec_ext
in '' $ac_executable_extensions; do
3214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 ac_cv_prog_ac_ct_CC
="gcc"
3216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3226 if test -n "$ac_ct_CC"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3228 $as_echo "$ac_ct_CC" >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3234 if test "x$ac_ct_CC" = x
; then
3237 case $cross_compiling:$ac_tool_warned in
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3241 ac_tool_warned
=yes ;;
3249 if test -z "$CC"; then
3250 if test -n "$ac_tool_prefix"; then
3251 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3252 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254 $as_echo_n "checking for $ac_word... " >&6; }
3255 if test "${ac_cv_prog_CC+set}" = set; then :
3256 $as_echo_n "(cached) " >&6
3258 if test -n "$CC"; then
3259 ac_cv_prog_CC
="$CC" # Let the user override the test.
3261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir
=.
3266 for ac_exec_ext
in '' $ac_executable_extensions; do
3267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 if test -n "$CC"; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3281 $as_echo "$CC" >&6; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 $as_echo "no" >&6; }
3290 if test -z "$CC"; then
3291 # Extract the first word of "cc", so it can be a program name with args.
3292 set dummy cc
; ac_word
=$2
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294 $as_echo_n "checking for $ac_word... " >&6; }
3295 if test "${ac_cv_prog_CC+set}" = set; then :
3296 $as_echo_n "(cached) " >&6
3298 if test -n "$CC"; then
3299 ac_cv_prog_CC
="$CC" # Let the user override the test.
3302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3306 test -z "$as_dir" && as_dir
=.
3307 for ac_exec_ext
in '' $ac_executable_extensions; do
3308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3310 ac_prog_rejected
=yes
3314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 if test $ac_prog_rejected = yes; then
3322 # We found a bogon in the path, so make sure we never use it.
3323 set dummy
$ac_cv_prog_CC
3325 if test $# != 0; then
3326 # We chose a different compiler from the bogus one.
3327 # However, it has the same basename, so the bogon will be chosen
3328 # first if we set CC to just the basename; use the full file name.
3330 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3336 if test -n "$CC"; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3338 $as_echo "$CC" >&6; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341 $as_echo "no" >&6; }
3346 if test -z "$CC"; then
3347 if test -n "$ac_tool_prefix"; then
3348 for ac_prog
in cl.exe
3350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3351 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3353 $as_echo_n "checking for $ac_word... " >&6; }
3354 if test "${ac_cv_prog_CC+set}" = set; then :
3355 $as_echo_n "(cached) " >&6
3357 if test -n "$CC"; then
3358 ac_cv_prog_CC
="$CC" # Let the user override the test.
3360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3364 test -z "$as_dir" && as_dir
=.
3365 for ac_exec_ext
in '' $ac_executable_extensions; do
3366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 if test -n "$CC"; then
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3380 $as_echo "$CC" >&6; }
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3383 $as_echo "no" >&6; }
3387 test -n "$CC" && break
3390 if test -z "$CC"; then
3392 for ac_prog
in cl.exe
3394 # Extract the first word of "$ac_prog", so it can be a program name with args.
3395 set dummy
$ac_prog; ac_word
=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3401 if test -n "$ac_ct_CC"; then
3402 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3408 test -z "$as_dir" && as_dir
=.
3409 for ac_exec_ext
in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_ac_ct_CC
="$ac_prog"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3422 if test -n "$ac_ct_CC"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3424 $as_echo "$ac_ct_CC" >&6; }
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3431 test -n "$ac_ct_CC" && break
3434 if test "x$ac_ct_CC" = x
; then
3437 case $cross_compiling:$ac_tool_warned in
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3441 ac_tool_warned
=yes ;;
3450 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452 as_fn_error $?
"no acceptable C compiler found in \$PATH
3453 See \`config.log' for more details" "$LINENO" 5 ; }
3455 # Provide some information about the compiler.
3456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3459 for ac_option
in --version -v -V -qversion; do
3460 { { ac_try
="$ac_compiler $ac_option >&5"
3462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3466 $as_echo "$ac_try_echo"; } >&5
3467 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3469 if test -s conftest.err; then
3471 ... rest of stderr output deleted ...
3472 10q' conftest.err >conftest.er1
3473 cat conftest.er1 >&5
3475 rm -f conftest.er1 conftest.err
3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477 test $ac_status = 0; }
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3491 ac_clean_files_save=$ac_clean_files
3492 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3493 # Try to create an executable without -o first, disregard a.out.
3494 # It will help us diagnose broken compilers, and finding out an intuition
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3497 $as_echo_n "checking whether the C compiler works... " >&6; }
3498 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3500 # The possible output files:
3501 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3504 for ac_file in $ac_files
3507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3508 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3513 if { { ac_try="$ac_link_default"
3515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3516 *) ac_try_echo
=$ac_try;;
3518 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_link_default") 2>&5
3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }; then :
3524 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3525 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3526 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3527 # so that the user can short-circuit this test for compilers unknown to
3529 for ac_file
in $ac_files ''
3531 test -f "$ac_file" ||
continue
3533 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3536 # We found the default executable, but exeext='' is most
3540 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3542 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3544 # We set ac_cv_exeext here because the later test for it is not
3545 # safe: cross compilers may not add the suffix if given an `-o'
3546 # argument, so we may need to know it at that point already.
3547 # Even if this section looks crufty: it has the advantage of
3554 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3559 if test -z "$ac_file"; then :
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3561 $as_echo "no" >&6; }
3562 $as_echo "$as_me: failed program was:" >&5
3563 sed 's/^/| /' conftest.
$ac_ext >&5
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error
77 "C compiler cannot create executables
3568 See \`config.log' for more details" "$LINENO" 5 ; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3571 $as_echo "yes" >&6; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3574 $as_echo_n "checking for C compiler default output file name... " >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3576 $as_echo "$ac_file" >&6; }
3577 ac_exeext
=$ac_cv_exeext
3579 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3580 ac_clean_files
=$ac_clean_files_save
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3582 $as_echo_n "checking for suffix of executables... " >&6; }
3583 if { { ac_try
="$ac_link"
3585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589 $as_echo "$ac_try_echo"; } >&5
3590 (eval "$ac_link") 2>&5
3592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593 test $ac_status = 0; }; then :
3594 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3595 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3596 # work properly (i.e., refer to `conftest.exe'), while it won't with
3598 for ac_file
in conftest.exe conftest conftest.
*; do
3599 test -f "$ac_file" ||
continue
3601 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3602 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3611 See \`config.log' for more details" "$LINENO" 5 ; }
3613 rm -f conftest conftest
$ac_cv_exeext
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3615 $as_echo "$ac_cv_exeext" >&6; }
3617 rm -f conftest.
$ac_ext
3618 EXEEXT
=$ac_cv_exeext
3620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3626 FILE *f = fopen ("conftest.out", "w");
3627 return ferror (f) || fclose (f) != 0;
3633 ac_clean_files
="$ac_clean_files conftest.out"
3634 # Check that the compiler produces executables we can run. If not, either
3635 # the compiler is broken, or we cross compile.
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3637 $as_echo_n "checking whether we are cross compiling... " >&6; }
3638 if test "$cross_compiling" != yes; then
3639 { { ac_try
="$ac_link"
3641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 $as_echo "$ac_try_echo"; } >&5
3646 (eval "$ac_link") 2>&5
3648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3649 test $ac_status = 0; }
3650 if { ac_try='./conftest$ac_cv_exeext'
3651 { { case "(($ac_try" in
3652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3653 *) ac_try_echo
=$ac_try;;
3655 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657 (eval "$ac_try") 2>&5
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }; }; then
3663 if test "$cross_compiling" = maybe
; then
3666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_error $?
"cannot run C compiled programs.
3669 If you meant to cross compile, use \`--host'.
3670 See \`config.log' for more details" "$LINENO" 5 ; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3675 $as_echo "$cross_compiling" >&6; }
3677 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3678 ac_clean_files
=$ac_clean_files_save
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3680 $as_echo_n "checking for suffix of object files... " >&6; }
3681 if test "${ac_cv_objext+set}" = set; then :
3682 $as_echo_n "(cached) " >&6
3684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3695 rm -f conftest.o conftest.obj
3696 if { { ac_try
="$ac_compile"
3698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3699 *) ac_try_echo=$ac_try;;
3701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3702 $as_echo "$ac_try_echo"; } >&5
3703 (eval "$ac_compile") 2>&5
3705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3706 test $ac_status = 0; }; then :
3707 for ac_file in conftest.o conftest.obj conftest.*; do
3708 test -f "$ac_file" || continue;
3710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3711 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3716 $as_echo "$as_me: failed program was:" >&5
3717 sed 's/^/| /' conftest.$ac_ext >&5
3719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3721 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3722 See \
`config.log' for more details" "$LINENO" 5 ; }
3724 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3727 $as_echo "$ac_cv_objext" >&6; }
3728 OBJEXT=$ac_cv_objext
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3731 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3732 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3749 if ac_fn_c_try_compile "$LINENO"; then :
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3759 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3760 if test $ac_compiler_gnu = yes; then
3765 ac_test_CFLAGS=${CFLAGS+set}
3766 ac_save_CFLAGS=$CFLAGS
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3768 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3769 if test "${ac_cv_prog_cc_g+set}" = set; then :
3770 $as_echo_n "(cached) " >&6
3772 ac_save_c_werror_flag=$ac_c_werror_flag
3773 ac_c_werror_flag=yes
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3787 if ac_fn_c_try_compile "$LINENO"; then :
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3802 if ac_fn_c_try_compile "$LINENO"; then :
3805 ac_c_werror_flag=$ac_save_c_werror_flag
3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3818 if ac_fn_c_try_compile "$LINENO"; then :
3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 ac_c_werror_flag=$ac_save_c_werror_flag
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3829 $as_echo "$ac_cv_prog_cc_g" >&6; }
3830 if test "$ac_test_CFLAGS" = set; then
3831 CFLAGS=$ac_save_CFLAGS
3832 elif test $ac_cv_prog_cc_g = yes; then
3833 if test "$GCC" = yes; then
3839 if test "$GCC" = yes; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3846 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3847 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3848 $as_echo_n "(cached) " >&6
3850 ac_cv_prog_cc_c89=no
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3856 #include <sys/types.h>
3857 #include <sys/stat.h>
3858 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3859 struct buf { int x; };
3860 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3861 static char *e (p, i)
3867 static char *f (char * (*g) (char **, int), char **p, ...)
3872 s = g (p, va_arg (v,int));
3877 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3878 function prototypes and stuff, but not '\xHH' hex character constants.
3879 These don't provoke an error unfortunately, instead are silently treated
3880 as 'x'. The following induces an error, until -std is added to get
3881 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3882 array size at least. It's necessary to write '\x00'==0 to get something
3883 that's true only with -std. */
3884 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3886 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3887 inside strings and character constants. */
3889 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3891 int test (int i, double x);
3892 struct s1 {int (*f) (int a);};
3893 struct s2 {int (*f) (double a);};
3894 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3900 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3905 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3906 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3908 CC="$ac_save_CC $ac_arg"
3909 if ac_fn_c_try_compile "$LINENO"; then :
3910 ac_cv_prog_cc_c89=$ac_arg
3912 rm -f core conftest.err conftest.$ac_objext
3913 test "x$ac_cv_prog_cc_c89" != "xno" && break
3915 rm -f conftest.$ac_ext
3920 case "x$ac_cv_prog_cc_c89" in
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3923 $as_echo "none needed" >&6; } ;;
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3926 $as_echo "unsupported" >&6; } ;;
3928 CC="$CC $ac_cv_prog_cc_c89"
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3930 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3932 if test "x$ac_cv_prog_cc_c89" != xno; then :
3937 ac_cpp='$CPP $CPPFLAGS'
3938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941 DEPDIR="${am__leading_dot}deps"
3943 ac_config_commands="$ac_config_commands depfiles"
3946 am_make=${MAKE-make}
3947 cat > confinc << 'END'
3949 @echo this is the am__doit target
3952 # If we don't find an include directive, just comment out the code.
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3954 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3958 # First try GNU make style include.
3959 echo "include confinc" > confmf
3960 # Ignore all kinds of additional output from `make'.
3961 case `$am_make -s -f confmf 2> /dev/null` in #(
3962 *the\ am__doit\ target*)
3968 # Now try BSD make style include.
3969 if test "$am__include" = "#"; then
3970 echo '.include
"confinc"' > confmf
3971 case `$am_make -s -f confmf 2> /dev/null` in #(
3972 *the\ am__doit\ target*)
3973 am__include=.include
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3982 $as_echo "$_am_result" >&6; }
3983 rm -f confinc confmf
3985 # Check whether --enable-dependency-tracking was given.
3986 if test "${enable_dependency_tracking+set}" = set; then :
3987 enableval=$enable_dependency_tracking;
3990 if test "x$enable_dependency_tracking" != xno; then
3991 am_depcomp="$ac_aux_dir/depcomp"
3994 if test "x$enable_dependency_tracking" != xno
; then
4004 depcc
="$CC" am_compiler_list
=
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4007 $as_echo_n "checking dependency style of $depcc... " >&6; }
4008 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4009 $as_echo_n "(cached) " >&6
4011 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4012 # We make a subdir and do the tests there. Otherwise we can end up
4013 # making bogus files that we don't know about and never remove. For
4014 # instance it was reported that on HP-UX the gcc test will end up
4015 # making a dummy file named `D' -- because `-MD' means `put the output
4018 # Copy depcomp to subdir because otherwise we won't find it if we're
4019 # using a relative directory.
4020 cp "$am_depcomp" conftest.dir
4022 # We will build objects and dependencies in a subdirectory because
4023 # it helps to detect inapplicable dependency modes. For instance
4024 # both Tru64's cc and ICC support -MD to output dependencies as a
4025 # side effect of compilation, but ICC will put the dependencies in
4026 # the current directory while Tru64 will put them in the object
4030 am_cv_CC_dependencies_compiler_type
=none
4031 if test "$am_compiler_list" = ""; then
4032 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4035 case " $depcc " in #(
4036 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4039 for depmode
in $am_compiler_list; do
4040 # Setup a source with many dependencies, because some compilers
4041 # like to wrap large dependency lists on column 80 (with \), and
4042 # we should not choose a depcomp mode which is confused by this.
4044 # We need to recreate these files for each test, as the compiler may
4045 # overwrite some of them when testing with obscure command lines.
4046 # This happens at least with the AIX C compiler.
4048 for i
in 1 2 3 4 5 6; do
4049 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4050 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4051 # Solaris 8's {/usr,}/bin/sh.
4052 touch sub
/conftst
$i.h
4054 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4056 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4057 # mode. It turns out that the SunPro C++ compiler does not properly
4058 # handle `-M -o', and we need to detect this. Also, some Intel
4059 # versions had trouble with output in subdirs
4060 am__obj
=sub
/conftest.
${OBJEXT-o}
4061 am__minus_obj
="-o $am__obj"
4064 # This depmode causes a compiler race in universal mode.
4065 test "$am__universal" = false ||
continue
4068 # after this tag, mechanisms are not by side-effect, so they'll
4069 # only be used when explicitly requested
4070 if test "x$enable_dependency_tracking" = xyes
; then
4076 msvisualcpp | msvcmsys
)
4077 # This compiler won't grok `-c -o', but also, the minuso test has
4078 # not run yet. These depmodes are late enough in the game, and
4079 # so weak that their functioning should not be impacted.
4080 am__obj
=conftest.
${OBJEXT-o}
4085 if depmode
=$depmode \
4086 source=sub
/conftest.c object
=$am__obj \
4087 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4088 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4089 >/dev
/null
2>conftest.err
&&
4090 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4091 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4092 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4093 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4094 # icc doesn't choke on unknown options, it will just issue warnings
4095 # or remarks (even with -Werror). So we grep stderr for any message
4096 # that says an option was ignored or not supported.
4097 # When given -MP, icc 7.0 and 7.1 complain thusly:
4098 # icc: Command line warning: ignoring option '-M'; no argument required
4099 # The diagnosis changed in icc 8.0:
4100 # icc: Command line remark: option '-MP' not supported
4101 if (grep 'ignoring option' conftest.err ||
4102 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4103 am_cv_CC_dependencies_compiler_type
=$depmode
4112 am_cv_CC_dependencies_compiler_type
=none
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4117 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4118 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4121 test "x$enable_dependency_tracking" != xno \
4122 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4124 am__fastdepCC_FALSE
='#'
4126 am__fastdepCC_TRUE
='#'
4127 am__fastdepCC_FALSE
=
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4134 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4139 macro_version
='2.2.6b'
4140 macro_revision
='1.3017'
4154 ltmain
="$ac_aux_dir/ltmain.sh"
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4157 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4158 if test "${ac_cv_path_SED+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4162 for ac_i
in 1 2 3 4 5 6 7; do
4163 ac_script
="$ac_script$as_nl$ac_script"
4165 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4166 { ac_script
=; unset ac_script
;}
4167 if test -z "$SED"; then
4168 ac_path_SED_found
=false
4169 # Loop through the user's path and test for each of PROGNAME-LIST
4170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir
=.
4175 for ac_prog
in sed gsed
; do
4176 for ac_exec_ext
in '' $ac_executable_extensions; do
4177 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4178 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4179 # Check for GNU ac_path_SED and select it if it is found.
4180 # Check for GNU $ac_path_SED
4181 case `"$ac_path_SED" --version 2>&1` in
4183 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4186 $as_echo_n 0123456789 >"conftest.in"
4189 cat "conftest.in" "conftest.in" >"conftest.tmp"
4190 mv "conftest.tmp" "conftest.in"
4191 cp "conftest.in" "conftest.nl"
4192 $as_echo '' >> "conftest.nl"
4193 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4194 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4195 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4196 if test $ac_count -gt ${ac_path_SED_max-0}; then
4197 # Best one so far, save it but keep looking for a better one
4198 ac_cv_path_SED
="$ac_path_SED"
4199 ac_path_SED_max
=$ac_count
4201 # 10*(2^10) chars as input seems more than enough
4202 test $ac_count -gt 10 && break
4204 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4207 $ac_path_SED_found && break 3
4212 if test -z "$ac_cv_path_SED"; then
4213 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4221 $as_echo "$ac_cv_path_SED" >&6; }
4222 SED
="$ac_cv_path_SED"
4225 test -z "$SED" && SED
=sed
4226 Xsed
="$SED -e 1s/^X//"
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4239 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4240 if test "${ac_cv_path_GREP+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4243 if test -z "$GREP"; then
4244 ac_path_GREP_found
=false
4245 # Loop through the user's path and test for each of PROGNAME-LIST
4246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4247 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4250 test -z "$as_dir" && as_dir
=.
4251 for ac_prog
in grep ggrep
; do
4252 for ac_exec_ext
in '' $ac_executable_extensions; do
4253 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4254 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4255 # Check for GNU ac_path_GREP and select it if it is found.
4256 # Check for GNU $ac_path_GREP
4257 case `"$ac_path_GREP" --version 2>&1` in
4259 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4262 $as_echo_n 0123456789 >"conftest.in"
4265 cat "conftest.in" "conftest.in" >"conftest.tmp"
4266 mv "conftest.tmp" "conftest.in"
4267 cp "conftest.in" "conftest.nl"
4268 $as_echo 'GREP' >> "conftest.nl"
4269 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4270 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4271 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4272 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4273 # Best one so far, save it but keep looking for a better one
4274 ac_cv_path_GREP
="$ac_path_GREP"
4275 ac_path_GREP_max
=$ac_count
4277 # 10*(2^10) chars as input seems more than enough
4278 test $ac_count -gt 10 && break
4280 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4283 $ac_path_GREP_found && break 3
4288 if test -z "$ac_cv_path_GREP"; then
4289 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4292 ac_cv_path_GREP
=$GREP
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4297 $as_echo "$ac_cv_path_GREP" >&6; }
4298 GREP
="$ac_cv_path_GREP"
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4302 $as_echo_n "checking for egrep... " >&6; }
4303 if test "${ac_cv_path_EGREP+set}" = set; then :
4304 $as_echo_n "(cached) " >&6
4306 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4307 then ac_cv_path_EGREP
="$GREP -E"
4309 if test -z "$EGREP"; then
4310 ac_path_EGREP_found
=false
4311 # Loop through the user's path and test for each of PROGNAME-LIST
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4313 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_prog
in egrep; do
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4320 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4321 # Check for GNU ac_path_EGREP and select it if it is found.
4322 # Check for GNU $ac_path_EGREP
4323 case `"$ac_path_EGREP" --version 2>&1` in
4325 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4328 $as_echo_n 0123456789 >"conftest.in"
4331 cat "conftest.in" "conftest.in" >"conftest.tmp"
4332 mv "conftest.tmp" "conftest.in"
4333 cp "conftest.in" "conftest.nl"
4334 $as_echo 'EGREP' >> "conftest.nl"
4335 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4336 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4337 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4338 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4339 # Best one so far, save it but keep looking for a better one
4340 ac_cv_path_EGREP
="$ac_path_EGREP"
4341 ac_path_EGREP_max
=$ac_count
4343 # 10*(2^10) chars as input seems more than enough
4344 test $ac_count -gt 10 && break
4346 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4349 $ac_path_EGREP_found && break 3
4354 if test -z "$ac_cv_path_EGREP"; then
4355 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4358 ac_cv_path_EGREP
=$EGREP
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4364 $as_echo "$ac_cv_path_EGREP" >&6; }
4365 EGREP
="$ac_cv_path_EGREP"
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4369 $as_echo_n "checking for fgrep... " >&6; }
4370 if test "${ac_cv_path_FGREP+set}" = set; then :
4371 $as_echo_n "(cached) " >&6
4373 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4374 then ac_cv_path_FGREP
="$GREP -F"
4376 if test -z "$FGREP"; then
4377 ac_path_FGREP_found
=false
4378 # Loop through the user's path and test for each of PROGNAME-LIST
4379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4380 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4383 test -z "$as_dir" && as_dir
=.
4384 for ac_prog
in fgrep
; do
4385 for ac_exec_ext
in '' $ac_executable_extensions; do
4386 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4387 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4388 # Check for GNU ac_path_FGREP and select it if it is found.
4389 # Check for GNU $ac_path_FGREP
4390 case `"$ac_path_FGREP" --version 2>&1` in
4392 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4395 $as_echo_n 0123456789 >"conftest.in"
4398 cat "conftest.in" "conftest.in" >"conftest.tmp"
4399 mv "conftest.tmp" "conftest.in"
4400 cp "conftest.in" "conftest.nl"
4401 $as_echo 'FGREP' >> "conftest.nl"
4402 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4403 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4404 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4405 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4406 # Best one so far, save it but keep looking for a better one
4407 ac_cv_path_FGREP
="$ac_path_FGREP"
4408 ac_path_FGREP_max
=$ac_count
4410 # 10*(2^10) chars as input seems more than enough
4411 test $ac_count -gt 10 && break
4413 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4416 $ac_path_FGREP_found && break 3
4421 if test -z "$ac_cv_path_FGREP"; then
4422 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4425 ac_cv_path_FGREP
=$FGREP
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4431 $as_echo "$ac_cv_path_FGREP" >&6; }
4432 FGREP
="$ac_cv_path_FGREP"
4435 test -z "$GREP" && GREP
=grep
4455 # Check whether --with-gnu-ld was given.
4456 if test "${with_gnu_ld+set}" = set; then :
4457 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4463 if test "$GCC" = yes; then
4464 # Check if gcc -print-prog-name=ld gives a path.
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4466 $as_echo_n "checking for ld used by $CC... " >&6; }
4469 # gcc leaves a trailing carriage return which upsets mingw
4470 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4472 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4475 # Accept absolute paths.
4477 re_direlt
='/[^/][^/]*/\.\./'
4478 # Canonicalize the pathname of ld
4479 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4480 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4481 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4483 test -z "$LD" && LD
="$ac_prog"
4486 # If it fails, then pretend we aren't using GCC.
4490 # If it is relative, then search for the first ld in PATH.
4494 elif test "$with_gnu_ld" = yes; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4496 $as_echo_n "checking for GNU ld... " >&6; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4499 $as_echo_n "checking for non-GNU ld... " >&6; }
4501 if test "${lt_cv_path_LD+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4504 if test -z "$LD"; then
4505 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4506 for ac_dir
in $PATH; do
4508 test -z "$ac_dir" && ac_dir
=.
4509 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4510 lt_cv_path_LD
="$ac_dir/$ac_prog"
4511 # Check to see if the program is GNU ld. I'd rather use --version,
4512 # but apparently some variants of GNU ld only accept -v.
4513 # Break only if it was the GNU/non-GNU ld that we prefer.
4514 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4515 *GNU
* |
*'with BFD'*)
4516 test "$with_gnu_ld" != no
&& break
4519 test "$with_gnu_ld" != yes && break
4526 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4531 if test -n "$LD"; then
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4533 $as_echo "$LD" >&6; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4538 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4540 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4541 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4542 $as_echo_n "(cached) " >&6
4544 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4545 case `$LD -v 2>&1 </dev/null` in
4546 *GNU
* |
*'with BFD'*)
4547 lt_cv_prog_gnu_ld
=yes
4550 lt_cv_prog_gnu_ld
=no
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4555 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4556 with_gnu_ld
=$lt_cv_prog_gnu_ld
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4567 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4568 if test "${lt_cv_path_NM+set}" = set; then :
4569 $as_echo_n "(cached) " >&6
4571 if test -n "$NM"; then
4572 # Let the user override the test.
4575 lt_nm_to_check
="${ac_tool_prefix}nm"
4576 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4577 lt_nm_to_check
="$lt_nm_to_check nm"
4579 for lt_tmp_nm
in $lt_nm_to_check; do
4580 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4581 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4583 test -z "$ac_dir" && ac_dir
=.
4584 tmp_nm
="$ac_dir/$lt_tmp_nm"
4585 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4586 # Check to see if the nm accepts a BSD-compat flag.
4587 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4588 # nm: unknown option "B" ignored
4589 # Tru64's nm complains that /dev/null is an invalid object file
4590 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4591 */dev
/null
* |
*'Invalid file or object type'*)
4592 lt_cv_path_NM
="$tmp_nm -B"
4596 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4598 lt_cv_path_NM
="$tmp_nm -p"
4602 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4603 continue # so that we can try to find one that supports BSD flags
4612 : ${lt_cv_path_NM=no}
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4616 $as_echo "$lt_cv_path_NM" >&6; }
4617 if test "$lt_cv_path_NM" != "no"; then
4620 # Didn't find any BSD compatible name lister, look for dumpbin.
4621 if test -n "$ac_tool_prefix"; then
4622 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4625 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4629 $as_echo_n "(cached) " >&6
4631 if test -n "$DUMPBIN"; then
4632 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir
=.
4639 for ac_exec_ext
in '' $ac_executable_extensions; do
4640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4641 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 DUMPBIN
=$ac_cv_prog_DUMPBIN
4652 if test -n "$DUMPBIN"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4654 $as_echo "$DUMPBIN" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4661 test -n "$DUMPBIN" && break
4664 if test -z "$DUMPBIN"; then
4665 ac_ct_DUMPBIN
=$DUMPBIN
4666 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4668 # Extract the first word of "$ac_prog", so it can be a program name with args.
4669 set dummy
$ac_prog; ac_word
=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -n "$ac_ct_DUMPBIN"; then
4676 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_exec_ext
in '' $ac_executable_extensions; do
4684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4685 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4696 if test -n "$ac_ct_DUMPBIN"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4698 $as_echo "$ac_ct_DUMPBIN" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4705 test -n "$ac_ct_DUMPBIN" && break
4708 if test "x$ac_ct_DUMPBIN" = x
; then
4711 case $cross_compiling:$ac_tool_warned in
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4715 ac_tool_warned
=yes ;;
4717 DUMPBIN
=$ac_ct_DUMPBIN
4722 if test "$DUMPBIN" != ":"; then
4726 test -z "$NM" && NM
=nm
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4734 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4735 if test "${lt_cv_nm_interface+set}" = set; then :
4736 $as_echo_n "(cached) " >&6
4738 lt_cv_nm_interface
="BSD nm"
4739 echo "int some_variable = 0;" > conftest.
$ac_ext
4740 (eval echo "\"\$as_me:4740: $ac_compile\"" >&5)
4741 (eval "$ac_compile" 2>conftest.err
)
4742 cat conftest.err
>&5
4743 (eval echo "\"\$as_me:4743: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4744 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4745 cat conftest.err
>&5
4746 (eval echo "\"\$as_me:4746: output\"" >&5)
4747 cat conftest.out
>&5
4748 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4749 lt_cv_nm_interface
="MS dumpbin"
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4754 $as_echo "$lt_cv_nm_interface" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4757 $as_echo_n "checking whether ln -s works... " >&6; }
4759 if test "$LN_S" = "ln -s"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4761 $as_echo "yes" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4764 $as_echo "no, using $LN_S" >&6; }
4767 # find the maximum length of command line arguments
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4769 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4770 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4771 $as_echo_n "(cached) " >&6
4778 # On DJGPP, this test can blow up pretty badly due to problems in libc
4779 # (any single argument exceeding 2000 bytes causes a buffer overrun
4780 # during glob expansion). Even if it were fixed, the result of this
4781 # check would be larger than it should be.
4782 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4786 # Under GNU Hurd, this test is not required because there is
4787 # no limit to the length of command line arguments.
4788 # Libtool will interpret -1 as no limit whatsoever
4789 lt_cv_sys_max_cmd_len
=-1;
4792 cygwin
* | mingw
* | cegcc
*)
4793 # On Win9x/ME, this test blows up -- it succeeds, but takes
4794 # about 5 minutes as the teststring grows exponentially.
4795 # Worse, since 9x/ME are not pre-emptively multitasking,
4796 # you end up with a "frozen" computer, even though with patience
4797 # the test eventually succeeds (with a max line length of 256k).
4798 # Instead, let's just punt: use the minimum linelength reported by
4799 # all of the supported platforms: 8192 (on NT/2K/XP).
4800 lt_cv_sys_max_cmd_len
=8192;
4804 # On AmigaOS with pdksh, this test takes hours, literally.
4805 # So we just punt and use a minimum line length of 8192.
4806 lt_cv_sys_max_cmd_len
=8192;
4809 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4810 # This has been around since 386BSD, at least. Likely further.
4811 if test -x /sbin
/sysctl
; then
4812 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4813 elif test -x /usr
/sbin
/sysctl
; then
4814 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4816 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4818 # And add a safety zone
4819 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4820 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4824 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4825 lt_cv_sys_max_cmd_len
=196608
4829 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4830 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4831 # nice to cause kernel panics so lets avoid the loop below.
4832 # First set a reasonable default.
4833 lt_cv_sys_max_cmd_len
=16384
4835 if test -x /sbin
/sysconfig
; then
4836 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4837 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4842 lt_cv_sys_max_cmd_len
=102400
4844 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4845 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4846 if test -n "$kargmax"; then
4847 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4849 lt_cv_sys_max_cmd_len
=32768
4853 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4854 if test -n "$lt_cv_sys_max_cmd_len"; then
4855 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4856 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4858 # Make teststring a little bigger before we do anything with it.
4859 # a 1K string should be a reasonable start.
4860 for i
in 1 2 3 4 5 6 7 8 ; do
4861 teststring
=$teststring$teststring
4863 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4864 # If test is not a shell built-in, we'll probably end up computing a
4865 # maximum length that is only half of the actual maximum length, but
4867 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4868 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4869 test $i != 17 # 1/2 MB should be enough
4872 teststring
=$teststring$teststring
4874 # Only check the string length outside the loop.
4875 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4877 # Add a significant safety factor because C++ compilers can tack on
4878 # massive amounts of additional arguments before passing them to the
4879 # linker. It appears as though 1/2 is a usable value.
4880 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4887 if test -n $lt_cv_sys_max_cmd_len ; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4889 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4892 $as_echo "none" >&6; }
4894 max_cmd_len
=$lt_cv_sys_max_cmd_len
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4906 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4907 # Try some XSI features
4910 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4912 && eval 'test $(( 1 + 1 )) -eq 2 \
4913 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4916 $as_echo "$xsi_shell" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4920 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4922 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4924 && lt_shell_append=yes
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4926 $as_echo "$lt_shell_append" >&6; }
4929 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4939 # test EBCDIC or ASCII
4940 case `echo X|tr X '\101'` in
4941 A) # ASCII based system
4942 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4943 lt_SP2NL='tr \040 \012'
4944 lt_NL2SP='tr \015\012 \040\040'
4946 *) # EBCDIC based system
4947 lt_SP2NL='tr \100 \n'
4948 lt_NL2SP='tr \r\n \100\100'
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4961 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4962 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4963 $as_echo_n "(cached
) " >&6
4965 lt_cv_ld_reload_flag='-r'
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4968 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4969 reload_flag=$lt_cv_ld_reload_flag
4970 case $reload_flag in
4972 *) reload_flag=" $reload_flag" ;;
4974 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4977 if test "$GCC" = yes; then
4978 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4980 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4993 if test -n "$ac_tool_prefix"; then
4994 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4995 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4997 $as_echo_n "checking
for $ac_word...
" >&6; }
4998 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4999 $as_echo_n "(cached
) " >&6
5001 if test -n "$OBJDUMP"; then
5002 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5011 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5021 OBJDUMP=$ac_cv_prog_OBJDUMP
5022 if test -n "$OBJDUMP"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5024 $as_echo "$OBJDUMP" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5027 $as_echo "no
" >&6; }
5032 if test -z "$ac_cv_prog_OBJDUMP"; then
5033 ac_ct_OBJDUMP=$OBJDUMP
5034 # Extract the first word of "objdump
", so it can be a program name with args.
5035 set dummy objdump; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5037 $as_echo_n "checking
for $ac_word...
" >&6; }
5038 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5039 $as_echo_n "(cached
) " >&6
5041 if test -n "$ac_ct_OBJDUMP"; then
5042 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5051 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5061 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5062 if test -n "$ac_ct_OBJDUMP"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5064 $as_echo "$ac_ct_OBJDUMP" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5067 $as_echo "no
" >&6; }
5070 if test "x
$ac_ct_OBJDUMP" = x; then
5073 case $cross_compiling:$ac_tool_warned in
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5076 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5077 ac_tool_warned=yes ;;
5079 OBJDUMP=$ac_ct_OBJDUMP
5082 OBJDUMP="$ac_cv_prog_OBJDUMP"
5085 test -z "$OBJDUMP" && OBJDUMP=objdump
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5096 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5097 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5098 $as_echo_n "(cached
) " >&6
5100 lt_cv_file_magic_cmd='$MAGIC_CMD'
5101 lt_cv_file_magic_test_file=
5102 lt_cv_deplibs_check_method='unknown'
5103 # Need to set the preceding variable on all platforms that support
5104 # interlibrary dependencies.
5105 # 'none' -- dependencies not supported.
5106 # `unknown' -- same as none, but documents that we really don't know.
5107 # 'pass_all' -- all dependencies passed with no checks.
5108 # 'test_compile' -- check by making test program.
5109 # 'file_magic [[regex]]' -- check by looking for files in library path
5110 # which responds to the $file_magic_cmd with a given extended regex.
5111 # If you have `file' or equivalent on your system and you're not sure
5112 # whether `pass_all' will *always* work, you probably want this one.
5116 lt_cv_deplibs_check_method=pass_all
5120 lt_cv_deplibs_check_method=pass_all
5124 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5125 lt_cv_file_magic_cmd='/usr/bin/file -L'
5126 lt_cv_file_magic_test_file=/shlib/libc.so
5130 # func_win32_libid is a shell function defined in ltmain.sh
5131 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5132 lt_cv_file_magic_cmd='func_win32_libid'
5136 # Base MSYS/MinGW do not provide the 'file' command needed by
5137 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5138 # unless we find 'file', for example because we are cross-compiling.
5139 if ( file / ) >/dev/null 2>&1; then
5140 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5141 lt_cv_file_magic_cmd='func_win32_libid'
5143 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5144 lt_cv_file_magic_cmd='$OBJDUMP -f'
5149 # use the weaker test based on 'objdump'. See mingw*.
5150 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5151 lt_cv_file_magic_cmd='$OBJDUMP -f'
5154 darwin* | rhapsody*)
5155 lt_cv_deplibs_check_method=pass_all
5158 freebsd* | dragonfly*)
5159 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5162 # Not sure whether the presence of OpenBSD here was a mistake.
5163 # Let's accept both of them until this is cleared up.
5164 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5165 lt_cv_file_magic_cmd=/usr/bin/file
5166 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5170 lt_cv_deplibs_check_method=pass_all
5175 lt_cv_deplibs_check_method=pass_all
5178 hpux10.20* | hpux11*)
5179 lt_cv_file_magic_cmd=/usr/bin/file
5182 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5183 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5186 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]'
5187 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5190 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5191 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5197 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5198 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5201 irix5* | irix6* | nonstopux*)
5203 *-32|*"-32 ") libmagic=32-bit;;
5204 *-n32|*"-n32 ") libmagic=N32;;
5205 *-64|*"-64 ") libmagic=64-bit;;
5206 *) libmagic=never-match;;
5208 lt_cv_deplibs_check_method=pass_all
5211 # This must be Linux ELF.
5212 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5213 lt_cv_deplibs_check_method=pass_all
5216 netbsd* | netbsdelf*-gnu)
5217 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5218 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5220 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5225 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5226 lt_cv_file_magic_cmd=/usr/bin/file
5227 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5231 lt_cv_deplibs_check_method=pass_all
5235 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5236 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5238 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5242 osf3* | osf4* | osf5*)
5243 lt_cv_deplibs_check_method=pass_all
5247 lt_cv_deplibs_check_method=pass_all
5251 lt_cv_deplibs_check_method=pass_all
5254 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5255 lt_cv_deplibs_check_method=pass_all
5259 case $host_vendor in
5261 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]'
5262 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5265 lt_cv_deplibs_check_method=pass_all
5268 lt_cv_file_magic_cmd='/bin/file'
5269 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5272 lt_cv_file_magic_cmd='/bin/file'
5273 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5274 lt_cv_file_magic_test_file=/lib/libc.so
5277 lt_cv_deplibs_check_method=pass_all
5280 lt_cv_deplibs_check_method=pass_all
5286 lt_cv_deplibs_check_method=pass_all
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5292 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5293 file_magic_cmd=$lt_cv_file_magic_cmd
5294 deplibs_check_method=$lt_cv_deplibs_check_method
5295 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5308 if test -n "$ac_tool_prefix"; then
5309 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5310 set dummy ${ac_tool_prefix}ar; ac_word=$2
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5312 $as_echo_n "checking
for $ac_word...
" >&6; }
5313 if test "${ac_cv_prog_AR+set}" = set; then :
5314 $as_echo_n "(cached
) " >&6
5316 if test -n "$AR"; then
5317 ac_cv_prog_AR="$AR" # Let the user override the test.
5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 test -z "$as_dir" && as_dir=.
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5326 ac_cv_prog_AR="${ac_tool_prefix}ar"
5327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5337 if test -n "$AR"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5339 $as_echo "$AR" >&6; }
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5342 $as_echo "no
" >&6; }
5347 if test -z "$ac_cv_prog_AR"; then
5349 # Extract the first word of "ar", so it can be a program name with args.
5350 set dummy ar; ac_word=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5352 $as_echo_n "checking
for $ac_word...
" >&6; }
5353 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5354 $as_echo_n "(cached
) " >&6
5356 if test -n "$ac_ct_AR"; then
5357 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5366 ac_cv_prog_ac_ct_AR="ar"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5377 if test -n "$ac_ct_AR"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5379 $as_echo "$ac_ct_AR" >&6; }
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5382 $as_echo "no
" >&6; }
5385 if test "x
$ac_ct_AR" = x; then
5388 case $cross_compiling:$ac_tool_warned in
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5391 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5392 ac_tool_warned=yes ;;
5400 test -z "$AR" && AR=ar
5401 test -z "$AR_FLAGS" && AR_FLAGS=cru
5413 if test -n "$ac_tool_prefix"; then
5414 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5415 set dummy ${ac_tool_prefix}strip; ac_word=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5417 $as_echo_n "checking
for $ac_word...
" >&6; }
5418 if test "${ac_cv_prog_STRIP+set}" = set; then :
5419 $as_echo_n "(cached
) " >&6
5421 if test -n "$STRIP"; then
5422 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 test -z "$as_dir" && as_dir=.
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5431 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5441 STRIP=$ac_cv_prog_STRIP
5442 if test -n "$STRIP"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5444 $as_echo "$STRIP" >&6; }
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5447 $as_echo "no
" >&6; }
5452 if test -z "$ac_cv_prog_STRIP"; then
5454 # Extract the first word of "strip
", so it can be a program name with args.
5455 set dummy strip; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5457 $as_echo_n "checking
for $ac_word...
" >&6; }
5458 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5459 $as_echo_n "(cached
) " >&6
5461 if test -n "$ac_ct_STRIP"; then
5462 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5471 ac_cv_prog_ac_ct_STRIP="strip
"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5481 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5482 if test -n "$ac_ct_STRIP"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5484 $as_echo "$ac_ct_STRIP" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5487 $as_echo "no
" >&6; }
5490 if test "x
$ac_ct_STRIP" = x; then
5493 case $cross_compiling:$ac_tool_warned in
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5496 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5497 ac_tool_warned=yes ;;
5502 STRIP="$ac_cv_prog_STRIP"
5505 test -z "$STRIP" && STRIP=:
5512 if test -n "$ac_tool_prefix"; then
5513 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5514 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5516 $as_echo_n "checking
for $ac_word...
" >&6; }
5517 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5518 $as_echo_n "(cached
) " >&6
5520 if test -n "$RANLIB"; then
5521 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5530 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5540 RANLIB=$ac_cv_prog_RANLIB
5541 if test -n "$RANLIB"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5543 $as_echo "$RANLIB" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5546 $as_echo "no
" >&6; }
5551 if test -z "$ac_cv_prog_RANLIB"; then
5552 ac_ct_RANLIB=$RANLIB
5553 # Extract the first word of "ranlib
", so it can be a program name with args.
5554 set dummy ranlib; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5556 $as_echo_n "checking
for $ac_word...
" >&6; }
5557 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5558 $as_echo_n "(cached
) " >&6
5560 if test -n "$ac_ct_RANLIB"; then
5561 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5580 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5581 if test -n "$ac_ct_RANLIB"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5583 $as_echo "$ac_ct_RANLIB" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5586 $as_echo "no
" >&6; }
5589 if test "x
$ac_ct_RANLIB" = x; then
5592 case $cross_compiling:$ac_tool_warned in
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5595 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5596 ac_tool_warned=yes ;;
5598 RANLIB=$ac_ct_RANLIB
5601 RANLIB="$ac_cv_prog_RANLIB"
5604 test -z "$RANLIB" && RANLIB=:
5611 # Determine commands to create old-style static archives.
5612 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5613 old_postinstall_cmds='chmod 644 $oldlib'
5614 old_postuninstall_cmds=
5616 if test -n "$RANLIB"; then
5619 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5622 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5625 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5661 # If no C compiler was specified, use CC.
5664 # If no C compiler flags were specified, use CFLAGS.
5665 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5667 # Allow CC to be a program name with arguments.
5671 # Check for command to grab the raw symbol name followed by C symbol from nm.
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5673 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5674 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5675 $as_echo_n "(cached
) " >&6
5678 # These are sane defaults that work on at least a few old systems.
5679 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5681 # Character class describing NM global symbol codes.
5682 symcode='[BCDEGRST]'
5684 # Regexp to match symbols that can be accessed directly from C.
5685 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5687 # Define system-specific variables.
5692 cygwin* | mingw* | pw32* | cegcc*)
5693 symcode='[ABCDGISTW]'
5696 if test "$host_cpu" = ia64; then
5697 symcode='[ABCDEGRST]'
5701 symcode='[BCDEGRST]'
5704 symcode='[BCDEGQRST]'
5715 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5723 # If we're using GNU nm, then use its standard symbol codes.
5724 case `$NM -V 2>&1` in
5725 *GNU* | *'with BFD'*)
5726 symcode='[ABCDGIRSTW]' ;;
5729 # Transform an extracted symbol line into a proper C declaration.
5730 # Some systems (esp. on ia64) link data and code symbols differently,
5731 # so use this general approach.
5732 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5734 # Transform an extracted symbol line into symbol name and symbol address
5735 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5736 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'"
5738 # Handle CRLF in mingw tool chain
5742 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5746 # Try without a prefix underscore, then with it.
5747 for ac_symprfx in "" "_
"; do
5749 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5750 symxfrm="\\1 $ac_symprfx\\2 \\2"
5752 # Write the raw and C identifiers.
5753 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5754 # Fake it for dumpbin and say T for any non-static function
5755 # and D for any global variable.
5756 # Also find C++ and __fastcall symbols from MSVC++,
5757 # which start with @ or ?.
5758 lt_cv_sys_global_symbol_pipe="$AWK '"\
5759 " {last_section=section; section=\$ 3};"\
5760 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5761 " \$ 0!~/External *\|/{next};"\
5762 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5763 " {if(hide[section]) next};"\
5764 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5765 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5766 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5767 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5768 " ' prfx
=^
$ac_symprfx"
5770 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5773 # Check to see that the pipe works correctly.
5777 cat > conftest.$ac_ext <<_LT_EOF
5782 void nm_test_func(void);
5783 void nm_test_func(void){}
5787 int main(){nm_test_var='a';nm_test_func();return(0);}
5790 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5791 (eval $ac_compile) 2>&5
5793 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5794 test $ac_status = 0; }; then
5795 # Now try to grab the symbols.
5797 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
5798 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5800 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5801 test $ac_status = 0; } && test -s "$nlist"; then
5802 # Try sorting and uniquifying the output.
5803 if sort "$nlist" | uniq > "$nlist"T; then
5804 mv -f "$nlist"T "$nlist"
5809 # Make sure that we snagged all the symbols we need.
5810 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5811 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5812 cat <<_LT_EOF > conftest.$ac_ext
5818 # Now generate the symbol file.
5819 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5821 cat <<_LT_EOF >> conftest.$ac_ext
5823 /* The mapping between symbol names and symbols. */
5828 lt__PROGRAM__LTX_preloaded_symbols[] =
5830 { "@PROGRAM@
", (void *) 0 },
5832 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5833 cat <<\_LT_EOF >> conftest.$ac_ext
5837 /* This works around a problem in FreeBSD linker */
5838 #ifdef FREEBSD_WORKAROUND
5839 static const void *lt_preloaded_setup() {
5840 return lt__PROGRAM__LTX_preloaded_symbols;
5848 # Now try linking the two files.
5849 mv conftest.$ac_objext conftstm.$ac_objext
5850 lt_save_LIBS="$LIBS"
5851 lt_save_CFLAGS="$CFLAGS"
5852 LIBS="conftstm.
$ac_objext"
5853 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5854 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5855 (eval $ac_link) 2>&5
5857 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5858 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5861 LIBS="$lt_save_LIBS"
5862 CFLAGS="$lt_save_CFLAGS"
5864 echo "cannot
find nm_test_func
in $nlist" >&5
5867 echo "cannot
find nm_test_var
in $nlist" >&5
5870 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5873 echo "$progname: failed program was
:" >&5
5874 cat conftest.$ac_ext >&5
5876 rm -rf conftest* conftst*
5878 # Do not use the global_symbol_pipe unless it works.
5879 if test "$pipe_works" = yes; then
5882 lt_cv_sys_global_symbol_pipe=
5888 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5889 lt_cv_sys_global_symbol_to_cdecl=
5891 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5893 $as_echo "failed
" >&6; }
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5896 $as_echo "ok
" >&6; }
5921 # Check whether --enable-libtool-lock was given.
5922 if test "${enable_libtool_lock+set}" = set; then :
5923 enableval=$enable_libtool_lock;
5926 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5928 # Some flags need to be propagated to the compiler or linker for good
5932 # Find out which ABI we are using.
5933 echo 'int i;' > conftest.$ac_ext
5934 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5935 (eval $ac_compile) 2>&5
5937 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5938 test $ac_status = 0; }; then
5939 case `/usr/bin/file conftest.$ac_objext` in
5951 # Find out which ABI we are using.
5952 echo '#line 5952 "configure
"' > conftest.$ac_ext
5953 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5954 (eval $ac_compile) 2>&5
5956 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5957 test $ac_status = 0; }; then
5958 if test "$lt_cv_prog_gnu_ld" = yes; then
5959 case `/usr/bin/file conftest.$ac_objext` in
5961 LD="${LD-ld} -melf32bsmip"
5964 LD="${LD-ld} -melf32bmipn32"
5967 LD="${LD-ld} -melf64bmip"
5971 case `/usr/bin/file conftest.$ac_objext` in
5987 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5988 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5989 # Find out which ABI we are using.
5990 echo 'int i;' > conftest.$ac_ext
5991 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5992 (eval $ac_compile) 2>&5
5994 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5995 test $ac_status = 0; }; then
5996 case `/usr/bin/file conftest.o` in
5999 x86_64-*kfreebsd*-gnu)
6000 LD="${LD-ld} -m elf_i386_fbsd
"
6003 LD="${LD-ld} -m elf_i386
"
6005 ppc64-*linux*|powerpc64-*linux*)
6006 LD="${LD-ld} -m elf32ppclinux
"
6009 LD="${LD-ld} -m elf_s390
"
6012 LD="${LD-ld} -m elf32_sparc
"
6018 x86_64-*kfreebsd*-gnu)
6019 LD="${LD-ld} -m elf_x86_64_fbsd
"
6022 LD="${LD-ld} -m elf_x86_64
"
6024 ppc*-*linux*|powerpc*-*linux*)
6025 LD="${LD-ld} -m elf64ppc
"
6027 s390*-*linux*|s390*-*tpf*)
6028 LD="${LD-ld} -m elf64_s390
"
6031 LD="${LD-ld} -m elf64_sparc
"
6041 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6042 SAVE_CFLAGS="$CFLAGS"
6043 CFLAGS="$CFLAGS -belf"
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6045 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6046 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6047 $as_echo_n "(cached
) " >&6
6050 ac_cpp='$CPP $CPPFLAGS'
6051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6056 /* end confdefs.h. */
6066 if ac_fn_c_try_link "$LINENO"; then :
6067 lt_cv_cc_needs_belf=yes
6069 lt_cv_cc_needs_belf=no
6071 rm -f core conftest.err conftest.$ac_objext \
6072 conftest$ac_exeext conftest.$ac_ext
6074 ac_cpp='$CPP $CPPFLAGS'
6075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6081 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6082 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6083 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6084 CFLAGS="$SAVE_CFLAGS"
6088 # Find out which ABI we are using.
6089 echo 'int i;' > conftest.$ac_ext
6090 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6091 (eval $ac_compile) 2>&5
6093 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6094 test $ac_status = 0; }; then
6095 case `/usr/bin/file conftest.o` in
6097 case $lt_cv_prog_gnu_ld in
6098 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6100 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6112 need_locks="$enable_libtool_lock"
6116 rhapsody* | darwin*)
6117 if test -n "$ac_tool_prefix"; then
6118 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6119 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6121 $as_echo_n "checking
for $ac_word...
" >&6; }
6122 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6123 $as_echo_n "(cached
) " >&6
6125 if test -n "$DSYMUTIL"; then
6126 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 test -z "$as_dir" && as_dir=.
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6135 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6145 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6146 if test -n "$DSYMUTIL"; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6148 $as_echo "$DSYMUTIL" >&6; }
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6151 $as_echo "no
" >&6; }
6156 if test -z "$ac_cv_prog_DSYMUTIL"; then
6157 ac_ct_DSYMUTIL=$DSYMUTIL
6158 # Extract the first word of "dsymutil
", so it can be a program name with args.
6159 set dummy dsymutil; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6161 $as_echo_n "checking
for $ac_word...
" >&6; }
6162 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6163 $as_echo_n "(cached
) " >&6
6165 if test -n "$ac_ct_DSYMUTIL"; then
6166 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172 test -z "$as_dir" && as_dir=.
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6175 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6185 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6186 if test -n "$ac_ct_DSYMUTIL"; then
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6188 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6191 $as_echo "no
" >&6; }
6194 if test "x
$ac_ct_DSYMUTIL" = x; then
6197 case $cross_compiling:$ac_tool_warned in
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6200 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6201 ac_tool_warned=yes ;;
6203 DSYMUTIL=$ac_ct_DSYMUTIL
6206 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6209 if test -n "$ac_tool_prefix"; then
6210 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6211 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6213 $as_echo_n "checking
for $ac_word...
" >&6; }
6214 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6215 $as_echo_n "(cached
) " >&6
6217 if test -n "$NMEDIT"; then
6218 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6227 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6237 NMEDIT=$ac_cv_prog_NMEDIT
6238 if test -n "$NMEDIT"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6240 $as_echo "$NMEDIT" >&6; }
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6243 $as_echo "no
" >&6; }
6248 if test -z "$ac_cv_prog_NMEDIT"; then
6249 ac_ct_NMEDIT=$NMEDIT
6250 # Extract the first word of "nmedit
", so it can be a program name with args.
6251 set dummy nmedit; ac_word=$2
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6253 $as_echo_n "checking
for $ac_word...
" >&6; }
6254 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6255 $as_echo_n "(cached
) " >&6
6257 if test -n "$ac_ct_NMEDIT"; then
6258 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 test -z "$as_dir" && as_dir=.
6265 for ac_exec_ext in '' $ac_executable_extensions; do
6266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6267 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6277 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6278 if test -n "$ac_ct_NMEDIT"; then
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6280 $as_echo "$ac_ct_NMEDIT" >&6; }
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6283 $as_echo "no
" >&6; }
6286 if test "x
$ac_ct_NMEDIT" = x; then
6289 case $cross_compiling:$ac_tool_warned in
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6292 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6293 ac_tool_warned=yes ;;
6295 NMEDIT=$ac_ct_NMEDIT
6298 NMEDIT="$ac_cv_prog_NMEDIT"
6301 if test -n "$ac_tool_prefix"; then
6302 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6303 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6305 $as_echo_n "checking
for $ac_word...
" >&6; }
6306 if test "${ac_cv_prog_LIPO+set}" = set; then :
6307 $as_echo_n "(cached
) " >&6
6309 if test -n "$LIPO"; then
6310 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 test -z "$as_dir" && as_dir=.
6317 for ac_exec_ext in '' $ac_executable_extensions; do
6318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6319 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6329 LIPO=$ac_cv_prog_LIPO
6330 if test -n "$LIPO"; then
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6332 $as_echo "$LIPO" >&6; }
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6335 $as_echo "no
" >&6; }
6340 if test -z "$ac_cv_prog_LIPO"; then
6342 # Extract the first word of "lipo
", so it can be a program name with args.
6343 set dummy lipo; ac_word=$2
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6345 $as_echo_n "checking
for $ac_word...
" >&6; }
6346 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6347 $as_echo_n "(cached
) " >&6
6349 if test -n "$ac_ct_LIPO"; then
6350 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 test -z "$as_dir" && as_dir=.
6357 for ac_exec_ext in '' $ac_executable_extensions; do
6358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6359 ac_cv_prog_ac_ct_LIPO="lipo
"
6360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6369 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6370 if test -n "$ac_ct_LIPO"; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6372 $as_echo "$ac_ct_LIPO" >&6; }
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6375 $as_echo "no
" >&6; }
6378 if test "x
$ac_ct_LIPO" = x; then
6381 case $cross_compiling:$ac_tool_warned in
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6384 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6385 ac_tool_warned=yes ;;
6390 LIPO="$ac_cv_prog_LIPO"
6393 if test -n "$ac_tool_prefix"; then
6394 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6395 set dummy ${ac_tool_prefix}otool; ac_word=$2
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6397 $as_echo_n "checking
for $ac_word...
" >&6; }
6398 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6399 $as_echo_n "(cached
) " >&6
6401 if test -n "$OTOOL"; then
6402 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 test -z "$as_dir" && as_dir=.
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6421 OTOOL=$ac_cv_prog_OTOOL
6422 if test -n "$OTOOL"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6424 $as_echo "$OTOOL" >&6; }
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6427 $as_echo "no
" >&6; }
6432 if test -z "$ac_cv_prog_OTOOL"; then
6434 # Extract the first word of "otool
", so it can be a program name with args.
6435 set dummy otool; ac_word=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6437 $as_echo_n "checking
for $ac_word...
" >&6; }
6438 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6439 $as_echo_n "(cached
) " >&6
6441 if test -n "$ac_ct_OTOOL"; then
6442 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6451 ac_cv_prog_ac_ct_OTOOL="otool
"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6461 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6462 if test -n "$ac_ct_OTOOL"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6464 $as_echo "$ac_ct_OTOOL" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6467 $as_echo "no
" >&6; }
6470 if test "x
$ac_ct_OTOOL" = x; then
6473 case $cross_compiling:$ac_tool_warned in
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6476 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6477 ac_tool_warned=yes ;;
6482 OTOOL="$ac_cv_prog_OTOOL"
6485 if test -n "$ac_tool_prefix"; then
6486 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6487 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6489 $as_echo_n "checking
for $ac_word...
" >&6; }
6490 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6491 $as_echo_n "(cached
) " >&6
6493 if test -n "$OTOOL64"; then
6494 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6513 OTOOL64=$ac_cv_prog_OTOOL64
6514 if test -n "$OTOOL64"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6516 $as_echo "$OTOOL64" >&6; }
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6519 $as_echo "no
" >&6; }
6524 if test -z "$ac_cv_prog_OTOOL64"; then
6525 ac_ct_OTOOL64=$OTOOL64
6526 # Extract the first word of "otool64
", so it can be a program name with args.
6527 set dummy otool64; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6529 $as_echo_n "checking
for $ac_word...
" >&6; }
6530 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6531 $as_echo_n "(cached
) " >&6
6533 if test -n "$ac_ct_OTOOL64"; then
6534 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6543 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6553 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6554 if test -n "$ac_ct_OTOOL64"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6556 $as_echo "$ac_ct_OTOOL64" >&6; }
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6559 $as_echo "no
" >&6; }
6562 if test "x
$ac_ct_OTOOL64" = x; then
6565 case $cross_compiling:$ac_tool_warned in
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6568 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6569 ac_tool_warned=yes ;;
6571 OTOOL64=$ac_ct_OTOOL64
6574 OTOOL64="$ac_cv_prog_OTOOL64"
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6604 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6605 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6606 $as_echo_n "(cached
) " >&6
6608 lt_cv_apple_cc_single_mod=no
6609 if test -z "${LT_MULTI_MODULE}"; then
6610 # By default we will add the -single_module flag. You can override
6611 # by either setting the environment variable LT_MULTI_MODULE
6612 # non-empty at configure time, or by adding -multi_module to the
6614 rm -rf libconftest.dylib*
6615 echo "int foo
(void
){return 1;}" > conftest.c
6616 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6617 -dynamiclib -Wl,-single_module conftest.c
" >&5
6618 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6619 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6621 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6622 lt_cv_apple_cc_single_mod=yes
6624 cat conftest.err >&5
6626 rm -rf libconftest.dylib*
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6631 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6633 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6634 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6635 $as_echo_n "(cached
) " >&6
6637 lt_cv_ld_exported_symbols_list=no
6638 save_LDFLAGS=$LDFLAGS
6639 echo "_main
" > conftest.sym
6640 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6652 if ac_fn_c_try_link "$LINENO"; then :
6653 lt_cv_ld_exported_symbols_list=yes
6655 lt_cv_ld_exported_symbols_list=no
6657 rm -f core conftest.err conftest.$ac_objext \
6658 conftest$ac_exeext conftest.$ac_ext
6659 LDFLAGS="$save_LDFLAGS"
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6663 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6665 rhapsody* | darwin1.[012])
6666 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6668 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6669 darwin*) # darwin 5.x on
6670 # if running on 10.5 or later, the deployment target defaults
6671 # to the OS version, if on x86, and 10.4, the deployment
6672 # target defaults to 10.4. Don't you love it?
6673 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6674 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6675 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6677 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6679 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6683 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6684 _lt_dar_single_mod='$single_module'
6686 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6687 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6689 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6691 if test "$DSYMUTIL" != ":"; then
6692 _lt_dsymutil='~$DSYMUTIL $lib || :'
6700 ac_cpp='$CPP $CPPFLAGS'
6701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6705 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6706 # On Suns, sometimes $CPP names a directory.
6707 if test -n "$CPP" && test -d "$CPP"; then
6710 if test -z "$CPP"; then
6711 if test "${ac_cv_prog_CPP+set}" = set; then :
6712 $as_echo_n "(cached
) " >&6
6714 # Double quotes because CPP needs to be expanded
6715 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6718 for ac_c_preproc_warn_flag in '' yes
6720 # Use a header file that comes with gcc, so configuring glibc
6721 # with a fresh cross-compiler works.
6722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6723 # <limits.h> exists even on freestanding compilers.
6724 # On the NeXT, cc -E runs the code through the compiler's parser,
6725 # not just through cpp. "Syntax error
" is here to catch this case.
6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6729 # include <limits.h>
6731 # include <assert.h>
6735 if ac_fn_c_try_cpp "$LINENO"; then :
6738 # Broken: fails on valid input.
6741 rm -f conftest.err conftest.i conftest.$ac_ext
6743 # OK, works on sane cases. Now check whether nonexistent headers
6744 # can be detected and how.
6745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6746 /* end confdefs.h. */
6747 #include <ac_nonexistent.h>
6749 if ac_fn_c_try_cpp "$LINENO"; then :
6750 # Broken: success on invalid input.
6753 # Passes both tests.
6757 rm -f conftest.err conftest.i conftest.$ac_ext
6760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6761 rm -f conftest.i conftest.err conftest.$ac_ext
6762 if $ac_preproc_ok; then :
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6775 $as_echo "$CPP" >&6; }
6777 for ac_c_preproc_warn_flag in '' yes
6779 # Use a header file that comes with gcc, so configuring glibc
6780 # with a fresh cross-compiler works.
6781 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6782 # <limits.h> exists even on freestanding compilers.
6783 # On the NeXT, cc -E runs the code through the compiler's parser,
6784 # not just through cpp. "Syntax error
" is here to catch this case.
6785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6786 /* end confdefs.h. */
6788 # include <limits.h>
6790 # include <assert.h>
6794 if ac_fn_c_try_cpp "$LINENO"; then :
6797 # Broken: fails on valid input.
6800 rm -f conftest.err conftest.i conftest.$ac_ext
6802 # OK, works on sane cases. Now check whether nonexistent headers
6803 # can be detected and how.
6804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6805 /* end confdefs.h. */
6806 #include <ac_nonexistent.h>
6808 if ac_fn_c_try_cpp "$LINENO"; then :
6809 # Broken: success on invalid input.
6812 # Passes both tests.
6816 rm -f conftest.err conftest.i conftest.$ac_ext
6819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6820 rm -f conftest.i conftest.err conftest.$ac_ext
6821 if $ac_preproc_ok; then :
6824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6826 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6827 See \`config.log' for more details
" "$LINENO" 5 ; }
6831 ac_cpp='$CPP $CPPFLAGS'
6832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6838 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6839 if test "${ac_cv_header_stdc+set}" = set; then :
6840 $as_echo_n "(cached
) " >&6
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6857 if ac_fn_c_try_compile "$LINENO"; then :
6858 ac_cv_header_stdc=yes
6860 ac_cv_header_stdc=no
6862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6864 if test $ac_cv_header_stdc = yes; then
6865 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6867 /* end confdefs.h. */
6871 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6872 $EGREP "memchr
" >/dev/null 2>&1; then :
6875 ac_cv_header_stdc=no
6881 if test $ac_cv_header_stdc = yes; then
6882 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6888 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6889 $EGREP "free
" >/dev/null 2>&1; then :
6892 ac_cv_header_stdc=no
6898 if test $ac_cv_header_stdc = yes; then
6899 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6900 if test "$cross_compiling" = yes; then :
6903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6904 /* end confdefs.h. */
6907 #if ((' ' & 0x0FF) == 0x020)
6908 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6909 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6911 # define ISLOWER(c) \
6912 (('a' <= (c) && (c) <= 'i') \
6913 || ('j' <= (c) && (c) <= 'r') \
6914 || ('s' <= (c) && (c) <= 'z'))
6915 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6918 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6923 for (i = 0; i < 256; i++)
6924 if (XOR (islower (i), ISLOWER (i))
6925 || toupper (i) != TOUPPER (i))
6930 if ac_fn_c_try_run "$LINENO"; then :
6933 ac_cv_header_stdc=no
6935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6936 conftest.$ac_objext conftest.beam conftest.$ac_ext
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6942 $as_echo "$ac_cv_header_stdc" >&6; }
6943 if test $ac_cv_header_stdc = yes; then
6945 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6949 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6950 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6951 inttypes.h stdint.h unistd.h
6953 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6954 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6956 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6957 cat >>confdefs.h
<<_ACEOF
6958 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6966 for ac_header
in dlfcn.h
6968 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6970 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6971 cat >>confdefs.h
<<_ACEOF
6972 #define HAVE_DLFCN_H 1
6991 # Check whether --enable-shared was given.
6992 if test "${enable_shared+set}" = set; then :
6993 enableval
=$enable_shared; p
=${PACKAGE-default}
6995 yes) enable_shared
=yes ;;
6996 no
) enable_shared
=no
;;
6999 # Look at the argument we got. We use all the common list separators.
7000 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7001 for pkg
in $enableval; do
7003 if test "X$pkg" = "X$p"; then
7022 # Check whether --enable-static was given.
7023 if test "${enable_static+set}" = set; then :
7024 enableval
=$enable_static; p
=${PACKAGE-default}
7026 yes) enable_static
=yes ;;
7027 no
) enable_static
=no
;;
7030 # Look at the argument we got. We use all the common list separators.
7031 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7032 for pkg
in $enableval; do
7034 if test "X$pkg" = "X$p"; then
7054 # Check whether --with-pic was given.
7055 if test "${with_pic+set}" = set; then :
7056 withval
=$with_pic; pic_mode
="$withval"
7062 test -z "$pic_mode" && pic_mode
=default
7070 # Check whether --enable-fast-install was given.
7071 if test "${enable_fast_install+set}" = set; then :
7072 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7074 yes) enable_fast_install
=yes ;;
7075 no
) enable_fast_install
=no
;;
7077 enable_fast_install
=no
7078 # Look at the argument we got. We use all the common list separators.
7079 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7080 for pkg
in $enableval; do
7082 if test "X$pkg" = "X$p"; then
7083 enable_fast_install
=yes
7090 enable_fast_install
=yes
7103 # This can be used to rebuild libtool when needed
7104 LIBTOOL_DEPS
="$ltmain"
7106 # Always use our own libtool.
7107 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7133 test -z "$LN_S" && LN_S
="ln -s"
7148 if test -n "${ZSH_VERSION+set}" ; then
7149 setopt NO_GLOB_SUBST
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7153 $as_echo_n "checking for objdir... " >&6; }
7154 if test "${lt_cv_objdir+set}" = set; then :
7155 $as_echo_n "(cached) " >&6
7157 rm -f .libs
2>/dev
/null
7158 mkdir .libs
2>/dev
/null
7159 if test -d .libs
; then
7162 # MS-DOS does not allow filenames that begin with a dot.
7165 rmdir .libs
2>/dev
/null
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7168 $as_echo "$lt_cv_objdir" >&6; }
7169 objdir
=$lt_cv_objdir
7175 cat >>confdefs.h
<<_ACEOF
7176 #define LT_OBJDIR "$lt_cv_objdir/"
7197 # AIX sometimes has problems with the GCC collect2 program. For some
7198 # reason, if we set the COLLECT_NAMES environment variable, the problems
7199 # vanish in a puff of smoke.
7200 if test "X${COLLECT_NAMES+set}" != Xset
; then
7202 export COLLECT_NAMES
7207 # Sed substitution that helps us do robust quoting. It backslashifies
7208 # metacharacters that are still active within double-quoted strings.
7209 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7211 # Same as above, but do not quote variable references.
7212 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7214 # Sed substitution to delay expansion of an escaped shell variable in a
7215 # double_quote_subst'ed string.
7216 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7218 # Sed substitution to delay expansion of an escaped single quote.
7219 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7221 # Sed substitution to avoid accidental globbing in evaled expressions
7222 no_glob_subst
='s/\*/\\\*/g'
7226 can_build_shared
=yes
7228 # All known linkers require a `.a' archive for static linking (except MSVC,
7229 # which needs '.lib').
7232 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7235 old_CFLAGS
="$CFLAGS"
7237 # Set sane defaults for various variables
7238 test -z "$CC" && CC
=cc
7239 test -z "$LTCC" && LTCC
=$CC
7240 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7241 test -z "$LD" && LD
=ld
7242 test -z "$ac_objext" && ac_objext
=o
7244 for cc_temp
in $compiler""; do
7246 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7247 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7252 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7255 # Only perform the check for file, if the check method requires it
7256 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7257 case $deplibs_check_method in
7259 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7261 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7262 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7263 $as_echo_n "(cached) " >&6
7267 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7270 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7271 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7272 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7273 for ac_dir
in $ac_dummy; do
7275 test -z "$ac_dir" && ac_dir
=.
7276 if test -f $ac_dir/${ac_tool_prefix}file; then
7277 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7278 if test -n "$file_magic_test_file"; then
7279 case $deplibs_check_method in
7281 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7282 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7283 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7284 $EGREP "$file_magic_regex" > /dev
/null
; then
7289 *** Warning: the command libtool uses to detect shared libraries,
7290 *** $file_magic_cmd, produces output that libtool cannot recognize.
7291 *** The result is that libtool may fail to recognize shared libraries
7292 *** as such. This will affect the creation of libtool libraries that
7293 *** depend on shared libraries, but programs linked with such libtool
7294 *** libraries will work regardless of this problem. Nevertheless, you
7295 *** may want to report the problem to your system manager and/or to
7296 *** bug-libtool@gnu.org
7306 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7311 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7312 if test -n "$MAGIC_CMD"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7314 $as_echo "$MAGIC_CMD" >&6; }
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7324 if test -z "$lt_cv_path_MAGIC_CMD"; then
7325 if test -n "$ac_tool_prefix"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7327 $as_echo_n "checking for file... " >&6; }
7328 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7329 $as_echo_n "(cached) " >&6
7333 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7336 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7337 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7338 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7339 for ac_dir
in $ac_dummy; do
7341 test -z "$ac_dir" && ac_dir
=.
7342 if test -f $ac_dir/file; then
7343 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7344 if test -n "$file_magic_test_file"; then
7345 case $deplibs_check_method in
7347 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7348 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7349 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7350 $EGREP "$file_magic_regex" > /dev
/null
; then
7355 *** Warning: the command libtool uses to detect shared libraries,
7356 *** $file_magic_cmd, produces output that libtool cannot recognize.
7357 *** The result is that libtool may fail to recognize shared libraries
7358 *** as such. This will affect the creation of libtool libraries that
7359 *** depend on shared libraries, but programs linked with such libtool
7360 *** libraries will work regardless of this problem. Nevertheless, you
7361 *** may want to report the problem to your system manager and/or to
7362 *** bug-libtool@gnu.org
7372 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7377 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7378 if test -n "$MAGIC_CMD"; then
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7380 $as_echo "$MAGIC_CMD" >&6; }
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383 $as_echo "no" >&6; }
7396 # Use C for the default configuration in the libtool script
7400 ac_cpp
='$CPP $CPPFLAGS'
7401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7406 # Source file extension for C test sources.
7409 # Object file extension for compiled C test sources.
7413 # Code to be used in simple compile tests
7414 lt_simple_compile_test_code
="int some_variable = 0;"
7416 # Code to be used in simple link tests
7417 lt_simple_link_test_code
='int main(){return(0);}'
7425 # If no C compiler was specified, use CC.
7428 # If no C compiler flags were specified, use CFLAGS.
7429 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7431 # Allow CC to be a program name with arguments.
7434 # Save the default compiler, since it gets overwritten when the other
7435 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7436 compiler_DEFAULT
=$CC
7438 # save warnings/boilerplate of simple test code
7439 ac_outfile
=conftest.
$ac_objext
7440 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7441 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7442 _lt_compiler_boilerplate
=`cat conftest.err`
7445 ac_outfile
=conftest.
$ac_objext
7446 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7447 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7448 _lt_linker_boilerplate
=`cat conftest.err`
7452 if test -n "$compiler"; then
7454 lt_prog_compiler_no_builtin_flag
=
7456 if test "$GCC" = yes; then
7457 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7460 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7461 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7462 $as_echo_n "(cached) " >&6
7464 lt_cv_prog_compiler_rtti_exceptions
=no
7465 ac_outfile
=conftest.
$ac_objext
7466 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7467 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7468 # Insert the option either (1) after the last *FLAGS variable, or
7469 # (2) before a word containing "conftest.", or (3) at the end.
7470 # Note that $ac_compile itself does not contain backslashes and begins
7471 # with a dollar sign (not a hyphen), so the echo should work correctly.
7472 # The option is referenced via a variable to avoid confusing sed.
7473 lt_compile
=`echo "$ac_compile" | $SED \
7474 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7475 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7476 -e 's:$: $lt_compiler_flag:'`
7477 (eval echo "\"\$as_me:7477: $lt_compile\"" >&5)
7478 (eval "$lt_compile" 2>conftest.err
)
7480 cat conftest.err
>&5
7481 echo "$as_me:7481: \$? = $ac_status" >&5
7482 if (exit $ac_status) && test -s "$ac_outfile"; then
7483 # The compiler can only warn and ignore the option if not recognized
7484 # So say no if there are warnings other than the usual output.
7485 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7486 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7487 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7488 lt_cv_prog_compiler_rtti_exceptions
=yes
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7495 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7497 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7498 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7510 lt_prog_compiler_wl
=
7511 lt_prog_compiler_pic
=
7512 lt_prog_compiler_static
=
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7515 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7517 if test "$GCC" = yes; then
7518 lt_prog_compiler_wl
='-Wl,'
7519 lt_prog_compiler_static
='-static'
7523 # All AIX code is PIC.
7524 if test "$host_cpu" = ia64
; then
7525 # AIX 5 now supports IA64 processor
7526 lt_prog_compiler_static
='-Bstatic'
7533 # see comment about AmigaOS4 .so support
7534 lt_prog_compiler_pic
='-fPIC'
7537 # FIXME: we need at least 68020 code to build shared libraries, but
7538 # adding the `-m68020' flag to GCC prevents building anything better,
7540 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7545 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7546 # PIC is the default for these OSes.
7549 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7550 # This hack is so that the source file can tell whether it is being
7551 # built for inclusion in a dll (and should export symbols for example).
7552 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7553 # (--disable-auto-import) libraries
7554 lt_prog_compiler_pic
='-DDLL_EXPORT'
7557 darwin
* | rhapsody
*)
7558 # PIC is the default on this platform
7559 # Common symbols not allowed in MH_DYLIB files
7560 lt_prog_compiler_pic
='-fno-common'
7564 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7565 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7566 # sets the default TLS model and affects inlining.
7572 lt_prog_compiler_pic
='-fPIC'
7578 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7579 # Instead, we relocate shared libraries at runtime.
7583 # Just because we use GCC doesn't mean we suddenly get shared libraries
7584 # on systems that don't support them.
7585 lt_prog_compiler_can_build_shared
=no
7590 # QNX uses GNU C++, but need to define -shared option too, otherwise
7592 lt_prog_compiler_pic
='-fPIC -shared'
7596 if test -d /usr
/nec
; then
7597 lt_prog_compiler_pic
=-Kconform_pic
7602 lt_prog_compiler_pic
='-fPIC'
7606 # PORTME Check for flag to pass linker flags through the system compiler.
7609 lt_prog_compiler_wl
='-Wl,'
7610 if test "$host_cpu" = ia64
; then
7611 # AIX 5 now supports IA64 processor
7612 lt_prog_compiler_static
='-Bstatic'
7614 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7618 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7619 # This hack is so that the source file can tell whether it is being
7620 # built for inclusion in a dll (and should export symbols for example).
7621 lt_prog_compiler_pic
='-DDLL_EXPORT'
7624 hpux9
* | hpux10
* | hpux11
*)
7625 lt_prog_compiler_wl
='-Wl,'
7626 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7633 lt_prog_compiler_pic
='+Z'
7636 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7637 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7640 irix5
* | irix6
* | nonstopux
*)
7641 lt_prog_compiler_wl
='-Wl,'
7642 # PIC (with -KPIC) is the default.
7643 lt_prog_compiler_static
='-non_shared'
7646 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7647 case $cc_basename in
7648 # old Intel for x86_64 which still supported -KPIC.
7650 lt_prog_compiler_wl
='-Wl,'
7651 lt_prog_compiler_pic
='-KPIC'
7652 lt_prog_compiler_static
='-static'
7654 # icc used to be incompatible with GCC.
7655 # ICC 10 doesn't accept -KPIC any more.
7657 lt_prog_compiler_wl
='-Wl,'
7658 lt_prog_compiler_pic
='-fPIC'
7659 lt_prog_compiler_static
='-static'
7661 # Lahey Fortran 8.1.
7663 lt_prog_compiler_wl
='-Wl,'
7664 lt_prog_compiler_pic
='--shared'
7665 lt_prog_compiler_static
='--static'
7667 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7668 # Portland Group compilers (*not* the Pentium gcc compiler,
7669 # which looks to be a dead project)
7670 lt_prog_compiler_wl
='-Wl,'
7671 lt_prog_compiler_pic
='-fpic'
7672 lt_prog_compiler_static
='-Bstatic'
7675 lt_prog_compiler_wl
='-Wl,'
7676 # All Alpha code is PIC.
7677 lt_prog_compiler_static
='-non_shared'
7680 # IBM XL C 8.0/Fortran 10.1 on PPC
7681 lt_prog_compiler_wl
='-Wl,'
7682 lt_prog_compiler_pic
='-qpic'
7683 lt_prog_compiler_static
='-qstaticlink'
7686 case `$CC -V 2>&1 | sed 5q` in
7689 lt_prog_compiler_pic
='-KPIC'
7690 lt_prog_compiler_static
='-Bstatic'
7691 lt_prog_compiler_wl
='-Wl,'
7694 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7695 lt_prog_compiler_pic
='-KPIC'
7696 lt_prog_compiler_static
='-Bstatic'
7697 lt_prog_compiler_wl
=''
7705 lt_prog_compiler_pic
='-KPIC'
7706 lt_prog_compiler_static
='-Bstatic'
7710 # QNX uses GNU C++, but need to define -shared option too, otherwise
7712 lt_prog_compiler_pic
='-fPIC -shared'
7715 osf3
* | osf4
* | osf5
*)
7716 lt_prog_compiler_wl
='-Wl,'
7717 # All OSF/1 code is PIC.
7718 lt_prog_compiler_static
='-non_shared'
7722 lt_prog_compiler_static
='-non_shared'
7726 lt_prog_compiler_pic
='-KPIC'
7727 lt_prog_compiler_static
='-Bstatic'
7728 case $cc_basename in
7730 lt_prog_compiler_wl
='-Qoption ld ';;
7732 lt_prog_compiler_wl
='-Wl,';;
7737 lt_prog_compiler_wl
='-Qoption ld '
7738 lt_prog_compiler_pic
='-PIC'
7739 lt_prog_compiler_static
='-Bstatic'
7742 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7743 lt_prog_compiler_wl
='-Wl,'
7744 lt_prog_compiler_pic
='-KPIC'
7745 lt_prog_compiler_static
='-Bstatic'
7749 if test -d /usr
/nec
;then
7750 lt_prog_compiler_pic
='-Kconform_pic'
7751 lt_prog_compiler_static
='-Bstatic'
7755 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7756 lt_prog_compiler_wl
='-Wl,'
7757 lt_prog_compiler_pic
='-KPIC'
7758 lt_prog_compiler_static
='-Bstatic'
7762 lt_prog_compiler_wl
='-Wl,'
7763 lt_prog_compiler_can_build_shared
=no
7767 lt_prog_compiler_pic
='-pic'
7768 lt_prog_compiler_static
='-Bstatic'
7772 lt_prog_compiler_can_build_shared
=no
7778 # For platforms which do not support PIC, -DPIC is meaningless:
7780 lt_prog_compiler_pic
=
7783 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7787 $as_echo "$lt_prog_compiler_pic" >&6; }
7795 # Check to make sure the PIC flag actually works.
7797 if test -n "$lt_prog_compiler_pic"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7799 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7800 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7801 $as_echo_n "(cached) " >&6
7803 lt_cv_prog_compiler_pic_works
=no
7804 ac_outfile
=conftest.
$ac_objext
7805 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7806 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7807 # Insert the option either (1) after the last *FLAGS variable, or
7808 # (2) before a word containing "conftest.", or (3) at the end.
7809 # Note that $ac_compile itself does not contain backslashes and begins
7810 # with a dollar sign (not a hyphen), so the echo should work correctly.
7811 # The option is referenced via a variable to avoid confusing sed.
7812 lt_compile
=`echo "$ac_compile" | $SED \
7813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7815 -e 's:$: $lt_compiler_flag:'`
7816 (eval echo "\"\$as_me:7816: $lt_compile\"" >&5)
7817 (eval "$lt_compile" 2>conftest.err
)
7819 cat conftest.err
>&5
7820 echo "$as_me:7820: \$? = $ac_status" >&5
7821 if (exit $ac_status) && test -s "$ac_outfile"; then
7822 # The compiler can only warn and ignore the option if not recognized
7823 # So say no if there are warnings other than the usual output.
7824 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7825 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7826 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7827 lt_cv_prog_compiler_pic_works
=yes
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7834 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7836 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7837 case $lt_prog_compiler_pic in
7839 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7842 lt_prog_compiler_pic
=
7843 lt_prog_compiler_can_build_shared
=no
7854 # Check to make sure the static flag actually works.
7856 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7858 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7859 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7860 $as_echo_n "(cached) " >&6
7862 lt_cv_prog_compiler_static_works
=no
7863 save_LDFLAGS
="$LDFLAGS"
7864 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7865 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7866 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7867 # The linker can only warn and ignore the option if not recognized
7868 # So say no if there are warnings
7869 if test -s conftest.err
; then
7870 # Append any errors to the config.log.
7871 cat conftest.err
1>&5
7872 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7873 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7874 if diff conftest.exp conftest.er2
>/dev
/null
; then
7875 lt_cv_prog_compiler_static_works
=yes
7878 lt_cv_prog_compiler_static_works
=yes
7882 LDFLAGS
="$save_LDFLAGS"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7886 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7888 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7891 lt_prog_compiler_static
=
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7901 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7902 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7903 $as_echo_n "(cached) " >&6
7905 lt_cv_prog_compiler_c_o
=no
7906 $RM -r conftest
2>/dev
/null
7910 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7912 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7913 # Insert the option either (1) after the last *FLAGS variable, or
7914 # (2) before a word containing "conftest.", or (3) at the end.
7915 # Note that $ac_compile itself does not contain backslashes and begins
7916 # with a dollar sign (not a hyphen), so the echo should work correctly.
7917 lt_compile
=`echo "$ac_compile" | $SED \
7918 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7919 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7920 -e 's:$: $lt_compiler_flag:'`
7921 (eval echo "\"\$as_me:7921: $lt_compile\"" >&5)
7922 (eval "$lt_compile" 2>out
/conftest.err
)
7924 cat out
/conftest.err
>&5
7925 echo "$as_me:7925: \$? = $ac_status" >&5
7926 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7928 # The compiler can only warn and ignore the option if not recognized
7929 # So say no if there are warnings
7930 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7931 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7932 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7933 lt_cv_prog_compiler_c_o
=yes
7938 # SGI C++ compiler will create directory out/ii_files/ for
7939 # template instantiation
7940 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7941 $RM out
/* && rmdir out
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7948 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7956 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7957 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7958 $as_echo_n "(cached) " >&6
7960 lt_cv_prog_compiler_c_o
=no
7961 $RM -r conftest
2>/dev
/null
7965 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7967 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7968 # Insert the option either (1) after the last *FLAGS variable, or
7969 # (2) before a word containing "conftest.", or (3) at the end.
7970 # Note that $ac_compile itself does not contain backslashes and begins
7971 # with a dollar sign (not a hyphen), so the echo should work correctly.
7972 lt_compile
=`echo "$ac_compile" | $SED \
7973 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7974 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7975 -e 's:$: $lt_compiler_flag:'`
7976 (eval echo "\"\$as_me:7976: $lt_compile\"" >&5)
7977 (eval "$lt_compile" 2>out
/conftest.err
)
7979 cat out
/conftest.err
>&5
7980 echo "$as_me:7980: \$? = $ac_status" >&5
7981 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7983 # The compiler can only warn and ignore the option if not recognized
7984 # So say no if there are warnings
7985 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7986 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7987 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7988 lt_cv_prog_compiler_c_o
=yes
7993 # SGI C++ compiler will create directory out/ii_files/ for
7994 # template instantiation
7995 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7996 $RM out
/* && rmdir out
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8003 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8008 hard_links
="nottested"
8009 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8010 # do not overwrite the value of need_locks provided by the user
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8012 $as_echo_n "checking if we can lock with hard links... " >&6; }
8015 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8017 ln conftest.a conftest.b
2>&5 || hard_links
=no
8018 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8020 $as_echo "$hard_links" >&6; }
8021 if test "$hard_links" = no
; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8023 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8036 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8039 allow_undefined_flag
=
8040 always_export_symbols
=no
8042 archive_expsym_cmds
=
8043 compiler_needs_object
=no
8044 enable_shared_with_static_runtimes
=no
8045 export_dynamic_flag_spec
=
8046 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8047 hardcode_automatic
=no
8049 hardcode_direct_absolute
=no
8050 hardcode_libdir_flag_spec
=
8051 hardcode_libdir_flag_spec_ld
=
8052 hardcode_libdir_separator
=
8054 hardcode_shlibpath_var
=unsupported
8056 link_all_deplibs
=unknown
8059 old_archive_from_new_cmds
=
8060 old_archive_from_expsyms_cmds
=
8061 thread_safe_flag_spec
=
8062 whole_archive_flag_spec
=
8063 # include_expsyms should be a list of space-separated symbols to be *always*
8064 # included in the symbol list
8066 # exclude_expsyms can be an extended regexp of symbols to exclude
8067 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8068 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8069 # as well as any symbol that contains `d'.
8070 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8071 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8072 # platforms (ab)use it in PIC code, but their linkers get confused if
8073 # the symbol is explicitly referenced. Since portable code cannot
8074 # rely on this symbol name, it's probably fine to never include it in
8075 # preloaded symbol tables.
8076 # Exclude shared library initialization/finalization symbols.
8077 extract_expsyms_cmds
=
8080 cygwin
* | mingw
* | pw32
* | cegcc
*)
8081 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8082 # When not using gcc, we currently assume that we are using
8083 # Microsoft Visual C++.
8084 if test "$GCC" != yes; then
8089 # we just hope/assume this is gcc and not c89 (= MSVC++)
8095 linux
* | k
*bsd
*-gnu)
8101 if test "$with_gnu_ld" = yes; then
8102 # If archive_cmds runs LD, not CC, wlarc should be empty
8105 # Set some defaults for GNU ld with shared library support. These
8106 # are reset later if shared libraries are not supported. Putting them
8107 # here allows them to be overridden if necessary.
8108 runpath_var
=LD_RUN_PATH
8109 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8110 export_dynamic_flag_spec
='${wl}--export-dynamic'
8111 # ancient GNU ld didn't support --whole-archive et. al.
8112 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8113 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8115 whole_archive_flag_spec
=
8117 supports_anon_versioning
=no
8118 case `$LD -v 2>&1` in
8119 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8120 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8121 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8122 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8123 *\
2.11.
*) ;; # other 2.11 versions
8124 *) supports_anon_versioning
=yes ;;
8127 # See if GNU ld supports shared libraries.
8130 # On AIX/PPC, the GNU linker is very broken
8131 if test "$host_cpu" != ia64
; then
8135 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8136 *** to be unable to reliably create shared libraries on AIX.
8137 *** Therefore, libtool is disabling shared libraries support. If you
8138 *** really care for shared libraries, you may want to modify your PATH
8139 *** so that a non-GNU linker is found, and then restart.
8148 # see comment about AmigaOS4 .so support
8149 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8150 archive_expsym_cmds
=''
8153 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)'
8154 hardcode_libdir_flag_spec
='-L$libdir'
8155 hardcode_minus_L
=yes
8161 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8162 allow_undefined_flag
=unsupported
8163 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8164 # support --undefined. This deserves some investigation. FIXME
8165 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8171 cygwin
* | mingw
* | pw32
* | cegcc
*)
8172 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8173 # as there is no search path for DLLs.
8174 hardcode_libdir_flag_spec
='-L$libdir'
8175 allow_undefined_flag
=unsupported
8176 always_export_symbols
=no
8177 enable_shared_with_static_runtimes
=yes
8178 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8180 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8181 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8182 # If the export-symbols file already is a .def file (1st line
8183 # is EXPORTS), use it as is; otherwise, prepend...
8184 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8185 cp $export_symbols $output_objdir/$soname.def;
8187 echo EXPORTS > $output_objdir/$soname.def;
8188 cat $export_symbols >> $output_objdir/$soname.def;
8190 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8198 hardcode_shlibpath_var
=no
8199 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8200 export_dynamic_flag_spec
='${wl}-E'
8201 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8202 # Instead, shared libraries are loaded at an image base (0x10000000 by
8203 # default) and relocated if they conflict, which is a slow very memory
8204 # consuming and fragmenting process. To avoid this, we pick a random,
8205 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8206 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8207 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8208 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'
8211 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8213 if test "$host_os" = linux-dietlibc
; then
8214 case $cc_basename in
8215 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8218 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8219 && test "$tmp_diet" = no
8222 tmp_sharedflag
='-shared'
8223 case $cc_basename,$host_cpu in
8224 pgcc
*) # Portland Group C compiler
8225 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'
8226 tmp_addflag
=' $pic_flag'
8228 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8229 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'
8230 tmp_addflag
=' $pic_flag -Mnomain' ;;
8231 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8232 tmp_addflag
=' -i_dynamic' ;;
8233 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8234 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8235 ifc
* | ifort
*) # Intel Fortran compiler
8236 tmp_addflag
=' -nofor_main' ;;
8237 lf95
*) # Lahey Fortran 8.1
8238 whole_archive_flag_spec
=
8239 tmp_sharedflag
='--shared' ;;
8240 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8241 tmp_sharedflag
='-qmkshrobj'
8244 case `$CC -V 2>&1 | sed 5q` in
8245 *Sun\ C
*) # Sun C 5.9
8246 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'
8247 compiler_needs_object
=yes
8248 tmp_sharedflag
='-G' ;;
8249 *Sun\ F
*) # Sun Fortran 8.3
8250 tmp_sharedflag
='-G' ;;
8252 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8254 if test "x$supports_anon_versioning" = xyes
; then
8255 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8256 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8257 echo "local: *; };" >> $output_objdir/$libname.ver~
8258 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8261 case $cc_basename in
8263 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8264 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8265 hardcode_libdir_flag_spec
=
8266 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8267 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8268 if test "x$supports_anon_versioning" = xyes
; then
8269 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8270 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8271 echo "local: *; };" >> $output_objdir/$libname.ver~
8272 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8281 netbsd
* | netbsdelf
*-gnu)
8282 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8283 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8286 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8287 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8292 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8296 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8297 *** create shared libraries on Solaris systems. Therefore, libtool
8298 *** is disabling shared libraries support. We urge you to upgrade GNU
8299 *** binutils to release 2.9.1 or newer. Another option is to modify
8300 *** your PATH or compiler configuration so that the native linker is
8301 *** used, and then restart.
8304 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8305 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8306 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8312 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8313 case `$LD -v 2>&1` in
8314 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8318 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8319 *** reliably create shared libraries on SCO systems. Therefore, libtool
8320 *** is disabling shared libraries support. We urge you to upgrade GNU
8321 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8322 *** your PATH or compiler configuration so that the native linker is
8323 *** used, and then restart.
8328 # For security reasons, it is highly recommended that you always
8329 # use absolute paths for naming shared libraries, and exclude the
8330 # DT_RUNPATH tag from executables and libraries. But doing so
8331 # requires that you compile everything twice, which is a pain.
8332 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8333 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8334 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8335 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8344 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8347 hardcode_shlibpath_var
=no
8351 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8352 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8353 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8360 if test "$ld_shlibs" = no
; then
8362 hardcode_libdir_flag_spec
=
8363 export_dynamic_flag_spec
=
8364 whole_archive_flag_spec
=
8367 # PORTME fill in a description of your system's linker (not GNU ld)
8370 allow_undefined_flag
=unsupported
8371 always_export_symbols
=yes
8372 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'
8373 # Note: this linker hardcodes the directories in LIBPATH if there
8374 # are no directories specified by -L.
8375 hardcode_minus_L
=yes
8376 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8377 # Neither direct hardcoding nor static linking is supported with a
8379 hardcode_direct
=unsupported
8384 if test "$host_cpu" = ia64
; then
8385 # On IA64, the linker does run time linking by default, so we don't
8386 # have to do anything special.
8387 aix_use_runtimelinking
=no
8388 exp_sym_flag
='-Bexport'
8391 # If we're using GNU nm, then we don't want the "-C" option.
8392 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8393 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8394 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'
8396 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'
8398 aix_use_runtimelinking
=no
8400 # Test if we are trying to use run time linking or normal
8401 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8402 # need to do runtime linking.
8403 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8404 for ld_flag
in $LDFLAGS; do
8405 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8406 aix_use_runtimelinking
=yes
8413 exp_sym_flag
='-bexport'
8414 no_entry_flag
='-bnoentry'
8417 # When large executables or shared objects are built, AIX ld can
8418 # have problems creating the table of contents. If linking a library
8419 # or program results in "error TOC overflow" add -mminimal-toc to
8420 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8421 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8425 hardcode_direct_absolute
=yes
8426 hardcode_libdir_separator
=':'
8427 link_all_deplibs
=yes
8428 file_list_spec
='${wl}-f,'
8430 if test "$GCC" = yes; then
8431 case $host_os in aix4.
[012]|aix4.
[012].
*)
8432 # We only want to do this on AIX 4.2 and lower, the check
8433 # below for broken collect2 doesn't work under 4.3+
8434 collect2name
=`${CC} -print-prog-name=collect2`
8435 if test -f "$collect2name" &&
8436 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8438 # We have reworked collect2
8441 # We have old collect2
8442 hardcode_direct
=unsupported
8443 # It fails to find uninstalled libraries when the uninstalled
8444 # path is not listed in the libpath. Setting hardcode_minus_L
8445 # to unsupported forces relinking
8446 hardcode_minus_L
=yes
8447 hardcode_libdir_flag_spec
='-L$libdir'
8448 hardcode_libdir_separator
=
8452 shared_flag
='-shared'
8453 if test "$aix_use_runtimelinking" = yes; then
8454 shared_flag
="$shared_flag "'${wl}-G'
8459 if test "$host_cpu" = ia64
; then
8460 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8461 # chokes on -Wl,-G. The following line is correct:
8464 if test "$aix_use_runtimelinking" = yes; then
8465 shared_flag
='${wl}-G'
8467 shared_flag
='${wl}-bM:SRE'
8472 export_dynamic_flag_spec
='${wl}-bexpall'
8473 # It seems that -bexpall does not export symbols beginning with
8474 # underscore (_), so it is better to generate a list of symbols to export.
8475 always_export_symbols
=yes
8476 if test "$aix_use_runtimelinking" = yes; then
8477 # Warning - without using the other runtime loading flags (-brtl),
8478 # -berok will link without error, but may produce a broken library.
8479 allow_undefined_flag
='-berok'
8480 # Determine the default libpath from the value encoded in an
8482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8493 if ac_fn_c_try_link
"$LINENO"; then :
8495 lt_aix_libpath_sed
='
8496 /Import File Strings/,/^$/ {
8502 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8503 # Check for a 64-bit object if we didn't find anything.
8504 if test -z "$aix_libpath"; then
8505 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8508 rm -f core conftest.err conftest.
$ac_objext \
8509 conftest
$ac_exeext conftest.
$ac_ext
8510 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8512 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8513 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"
8515 if test "$host_cpu" = ia64
; then
8516 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8517 allow_undefined_flag
="-z nodefs"
8518 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"
8520 # Determine the default libpath from the value encoded in an
8522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8533 if ac_fn_c_try_link
"$LINENO"; then :
8535 lt_aix_libpath_sed
='
8536 /Import File Strings/,/^$/ {
8542 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8543 # Check for a 64-bit object if we didn't find anything.
8544 if test -z "$aix_libpath"; then
8545 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8548 rm -f core conftest.err conftest.
$ac_objext \
8549 conftest
$ac_exeext conftest.
$ac_ext
8550 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8552 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8553 # Warning - without using the other run time loading flags,
8554 # -berok will link without error, but may produce a broken library.
8555 no_undefined_flag
=' ${wl}-bernotok'
8556 allow_undefined_flag
=' ${wl}-berok'
8557 # Exported symbols can be pulled into shared objects from archives
8558 whole_archive_flag_spec
='$convenience'
8559 archive_cmds_need_lc
=yes
8560 # This is similar to how AIX traditionally builds its shared libraries.
8561 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'
8569 # see comment about AmigaOS4 .so support
8570 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8571 archive_expsym_cmds
=''
8574 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)'
8575 hardcode_libdir_flag_spec
='-L$libdir'
8576 hardcode_minus_L
=yes
8582 export_dynamic_flag_spec
=-rdynamic
8585 cygwin
* | mingw
* | pw32
* | cegcc
*)
8586 # When not using gcc, we currently assume that we are using
8587 # Microsoft Visual C++.
8588 # hardcode_libdir_flag_spec is actually meaningless, as there is
8589 # no search path for DLLs.
8590 hardcode_libdir_flag_spec
=' '
8591 allow_undefined_flag
=unsupported
8592 # Tell ltmain to make .lib files, not .a files.
8594 # Tell ltmain to make .dll files, not .so files.
8596 # FIXME: Setting linknames here is a bad hack.
8597 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8598 # The linker will automatically build a .lib file if we build a DLL.
8599 old_archive_from_new_cmds
='true'
8600 # FIXME: Should let the user specify the lib program.
8601 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8602 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8603 enable_shared_with_static_runtimes
=yes
8606 darwin
* | rhapsody
*)
8609 archive_cmds_need_lc
=no
8611 hardcode_automatic
=yes
8612 hardcode_shlibpath_var
=unsupported
8613 whole_archive_flag_spec
=''
8614 link_all_deplibs
=yes
8615 allow_undefined_flag
="$_lt_dar_allow_undefined"
8616 case $cc_basename in
8617 ifort
*) _lt_dar_can_shared
=yes ;;
8618 *) _lt_dar_can_shared
=$GCC ;;
8620 if test "$_lt_dar_can_shared" = "yes"; then
8621 output_verbose_link_cmd
=echo
8622 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8623 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8624 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}"
8625 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}"
8634 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8635 hardcode_libdir_flag_spec
='-L$libdir'
8636 hardcode_shlibpath_var
=no
8643 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8644 # support. Future versions do this automatically, but an explicit c++rt0.o
8645 # does not break anything, and helps significantly (at the cost of a little
8648 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8649 hardcode_libdir_flag_spec
='-R$libdir'
8651 hardcode_shlibpath_var
=no
8654 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8656 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8658 hardcode_minus_L
=yes
8659 hardcode_shlibpath_var
=no
8662 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8663 freebsd
* | dragonfly
*)
8664 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8665 hardcode_libdir_flag_spec
='-R$libdir'
8667 hardcode_shlibpath_var
=no
8671 if test "$GCC" = yes; then
8672 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'
8674 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'
8676 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8677 hardcode_libdir_separator
=:
8680 # hardcode_minus_L: Not really in the search PATH,
8681 # but as the default location of the library.
8682 hardcode_minus_L
=yes
8683 export_dynamic_flag_spec
='${wl}-E'
8687 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8688 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8690 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8692 if test "$with_gnu_ld" = no
; then
8693 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8694 hardcode_libdir_flag_spec_ld
='+b $libdir'
8695 hardcode_libdir_separator
=:
8697 hardcode_direct_absolute
=yes
8698 export_dynamic_flag_spec
='${wl}-E'
8699 # hardcode_minus_L: Not really in the search PATH,
8700 # but as the default location of the library.
8701 hardcode_minus_L
=yes
8706 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8709 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8712 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8715 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8721 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8724 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8727 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8731 if test "$with_gnu_ld" = no
; then
8732 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8733 hardcode_libdir_separator
=:
8738 hardcode_shlibpath_var
=no
8742 hardcode_direct_absolute
=yes
8743 export_dynamic_flag_spec
='${wl}-E'
8745 # hardcode_minus_L: Not really in the search PATH,
8746 # but as the default location of the library.
8747 hardcode_minus_L
=yes
8753 irix5
* | irix6
* | nonstopux
*)
8754 if test "$GCC" = yes; then
8755 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'
8756 # Try to use the -exported_symbol ld option, if it does not
8757 # work, assume that -exports_file does not work either and
8758 # implicitly export all symbols.
8759 save_LDFLAGS
="$LDFLAGS"
8760 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8765 if ac_fn_c_try_link
"$LINENO"; then :
8766 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'
8769 rm -f core conftest.err conftest.
$ac_objext \
8770 conftest
$ac_exeext conftest.
$ac_ext
8771 LDFLAGS
="$save_LDFLAGS"
8773 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'
8774 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'
8776 archive_cmds_need_lc
='no'
8777 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8778 hardcode_libdir_separator
=:
8780 link_all_deplibs
=yes
8783 netbsd
* | netbsdelf
*-gnu)
8784 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8785 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8787 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8789 hardcode_libdir_flag_spec
='-R$libdir'
8791 hardcode_shlibpath_var
=no
8795 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8797 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8798 hardcode_libdir_separator
=:
8799 hardcode_shlibpath_var
=no
8806 if test -f /usr
/libexec
/ld.so
; then
8808 hardcode_shlibpath_var
=no
8809 hardcode_direct_absolute
=yes
8810 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8811 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8812 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8813 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8814 export_dynamic_flag_spec
='${wl}-E'
8817 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8818 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8819 hardcode_libdir_flag_spec
='-R$libdir'
8822 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8823 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8833 hardcode_libdir_flag_spec
='-L$libdir'
8834 hardcode_minus_L
=yes
8835 allow_undefined_flag
=unsupported
8836 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'
8837 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8841 if test "$GCC" = yes; then
8842 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8843 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'
8845 allow_undefined_flag
=' -expect_unresolved \*'
8846 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'
8848 archive_cmds_need_lc
='no'
8849 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8850 hardcode_libdir_separator
=:
8853 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8854 if test "$GCC" = yes; then
8855 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8856 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'
8857 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8859 allow_undefined_flag
=' -expect_unresolved \*'
8860 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'
8861 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~
8862 $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'
8864 # Both c and cxx compiler support -rpath directly
8865 hardcode_libdir_flag_spec
='-rpath $libdir'
8867 archive_cmds_need_lc
='no'
8868 hardcode_libdir_separator
=:
8872 no_undefined_flag
=' -z defs'
8873 if test "$GCC" = yes; then
8875 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8876 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8877 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8879 case `$CC -V 2>&1` in
8882 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8883 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8884 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8888 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8889 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8890 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8894 hardcode_libdir_flag_spec
='-R$libdir'
8895 hardcode_shlibpath_var
=no
8897 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8899 # The compiler driver will combine and reorder linker options,
8900 # but understands `-z linker_flag'. GCC discards it without `$wl',
8901 # but is careful enough not to reorder.
8902 # Supported since Solaris 2.6 (maybe 2.5.1?)
8903 if test "$GCC" = yes; then
8904 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8906 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8910 link_all_deplibs
=yes
8914 if test "x$host_vendor" = xsequent
; then
8915 # Use $CC to link under sequent, because it throws in some extra .o
8916 # files that make .init and .fini sections work.
8917 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8919 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8921 hardcode_libdir_flag_spec
='-L$libdir'
8923 hardcode_minus_L
=yes
8924 hardcode_shlibpath_var
=no
8928 case $host_vendor in
8930 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8931 hardcode_direct
=yes # is this really true???
8934 ## LD is ld it makes a PLAMLIB
8935 ## CC just makes a GrossModule.
8936 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8937 reload_cmds
='$CC -r -o $output$reload_objs'
8941 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8942 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8945 runpath_var
='LD_RUN_PATH'
8946 hardcode_shlibpath_var
=no
8950 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8951 hardcode_shlibpath_var
=no
8952 export_dynamic_flag_spec
='-Bexport'
8956 if test -d /usr
/nec
; then
8957 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8958 hardcode_shlibpath_var
=no
8959 runpath_var
=LD_RUN_PATH
8960 hardcode_runpath_var
=yes
8965 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8966 no_undefined_flag
='${wl}-z,text'
8967 archive_cmds_need_lc
=no
8968 hardcode_shlibpath_var
=no
8969 runpath_var
='LD_RUN_PATH'
8971 if test "$GCC" = yes; then
8972 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8973 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8975 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8976 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8980 sysv5
* | sco3.2v5
* | sco5v6
*)
8981 # Note: We can NOT use -z defs as we might desire, because we do not
8982 # link with -lc, and that would cause any symbols used from libc to
8983 # always be unresolved, which means just about no library would
8984 # ever link correctly. If we're not using GNU ld we use -z text
8985 # though, which does catch some bad symbols but isn't as heavy-handed
8987 no_undefined_flag
='${wl}-z,text'
8988 allow_undefined_flag
='${wl}-z,nodefs'
8989 archive_cmds_need_lc
=no
8990 hardcode_shlibpath_var
=no
8991 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8992 hardcode_libdir_separator
=':'
8993 link_all_deplibs
=yes
8994 export_dynamic_flag_spec
='${wl}-Bexport'
8995 runpath_var
='LD_RUN_PATH'
8997 if test "$GCC" = yes; then
8998 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8999 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9001 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9002 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9007 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9008 hardcode_libdir_flag_spec
='-L$libdir'
9009 hardcode_shlibpath_var
=no
9017 if test x
$host_vendor = xsni
; then
9019 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9020 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9027 $as_echo "$ld_shlibs" >&6; }
9028 test "$ld_shlibs" = no
&& can_build_shared
=no
9030 with_gnu_ld
=$with_gnu_ld
9047 # Do we need to explicitly link libc?
9049 case "x$archive_cmds_need_lc" in
9051 # Assume -lc should be added
9052 archive_cmds_need_lc
=yes
9054 if test "$enable_shared" = yes && test "$GCC" = yes; then
9055 case $archive_cmds in
9057 # FIXME: we may have to deal with multi-command sequences.
9060 # Test whether the compiler implicitly links with -lc since on some
9061 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9062 # to ld, don't add -lc before -lgcc.
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9064 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9066 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9069 (eval $ac_compile) 2>&5
9071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9072 test $ac_status = 0; } 2>conftest.err
; then
9075 libobjs
=conftest.
$ac_objext
9077 wl
=$lt_prog_compiler_wl
9078 pic_flag
=$lt_prog_compiler_pic
9084 lt_save_allow_undefined_flag
=$allow_undefined_flag
9085 allow_undefined_flag
=
9086 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9087 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9090 test $ac_status = 0; }
9092 archive_cmds_need_lc
=no
9094 archive_cmds_need_lc
=yes
9096 allow_undefined_flag
=$lt_save_allow_undefined_flag
9098 cat conftest.err
1>&5
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9102 $as_echo "$archive_cmds_need_lc" >&6; }
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9266 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9268 if test "$GCC" = yes; then
9270 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9271 *) lt_awk_arg
="/^libraries:/" ;;
9273 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9274 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9275 # if the path contains ";" then we assume it to be the separator
9276 # otherwise default to the standard path separator (i.e. ":") - it is
9277 # assumed that no part of a normal pathname contains ";" but that should
9278 # okay in the real world where ";" in dirpaths is itself problematic.
9279 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9281 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9283 # Ok, now we have the path, separated by spaces, we can step through it
9284 # and add multilib dir if necessary.
9285 lt_tmp_lt_search_path_spec
=
9286 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9287 for lt_sys_path
in $lt_search_path_spec; do
9288 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9289 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9291 test -d "$lt_sys_path" && \
9292 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9295 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9296 BEGIN {RS=" "; FS="/|\n";} {
9299 for (lt_i = NF; lt_i > 0; lt_i--) {
9300 if ($lt_i != "" && $lt_i != ".") {
9301 if ($lt_i == "..") {
9304 if (lt_count == 0) {
9305 lt_foo="/" $lt_i lt_foo;
9312 if (lt_foo != "") { lt_freq[lt_foo]++; }
9313 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9315 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9317 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9320 libname_spec
='lib$name'
9328 shlibpath_overrides_runpath
=unknown
9330 dynamic_linker
="$host_os ld.so"
9331 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9332 need_lib_prefix
=unknown
9333 hardcode_into_libs
=no
9335 # when you set need_version to no, make sure it does not cause -set_version
9336 # flags to be left without arguments
9337 need_version
=unknown
9342 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9343 shlibpath_var
=LIBPATH
9345 # AIX 3 has no versioning support, so we append a major version to the name.
9346 soname_spec
='${libname}${release}${shared_ext}$major'
9353 hardcode_into_libs
=yes
9354 if test "$host_cpu" = ia64
; then
9355 # AIX 5 supports IA64
9356 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9357 shlibpath_var
=LD_LIBRARY_PATH
9359 # With GCC up to 2.95.x, collect2 would create an import file
9360 # for dependence libraries. The import file would start with
9361 # the line `#! .'. This would cause the generated library to
9362 # depend on `.', always an invalid library. This was fixed in
9363 # development snapshots of GCC prior to 3.0.
9365 aix4 | aix4.
[01] | aix4.
[01].
*)
9366 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9368 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9375 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9376 # soname into executable. Probably we can add versioning support to
9377 # collect2, so additional links can be useful in future.
9378 if test "$aix_use_runtimelinking" = yes; then
9379 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9380 # instead of lib<name>.a to let people know that these are not
9381 # typical AIX shared libraries.
9382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9384 # We preserve .a as extension for shared libraries through AIX4.2
9385 # and later when we are not doing run time linking.
9386 library_names_spec
='${libname}${release}.a $libname.a'
9387 soname_spec
='${libname}${release}${shared_ext}$major'
9389 shlibpath_var
=LIBPATH
9396 # Since July 2007 AmigaOS4 officially supports .so libraries.
9397 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9401 library_names_spec
='$libname.ixlibrary $libname.a'
9402 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9403 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'
9409 library_names_spec
='${libname}${shared_ext}'
9410 dynamic_linker
="$host_os ld.so"
9411 shlibpath_var
=LIBRARY_PATH
9417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9418 soname_spec
='${libname}${release}${shared_ext}$major'
9419 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9420 shlibpath_var
=LD_LIBRARY_PATH
9421 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9422 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9423 # the default ld.so.conf also contains /usr/contrib/lib and
9424 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9425 # libtool to hard-code these into programs
9428 cygwin
* | mingw
* | pw32
* | cegcc
*)
9429 version_type
=windows
9434 case $GCC,$host_os in
9435 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9436 library_names_spec
='$libname.dll.a'
9437 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9438 postinstall_cmds
='base_file=`basename \${file}`~
9439 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9440 dldir=$destdir/`dirname \$dlpath`~
9441 test -d \$dldir || mkdir -p \$dldir~
9442 $install_prog $dir/$dlname \$dldir/$dlname~
9443 chmod a+x \$dldir/$dlname~
9444 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9445 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9447 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9448 dlpath=$dir/\$dldll~
9450 shlibpath_overrides_runpath
=yes
9454 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9455 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9456 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9459 # MinGW DLLs use traditional 'lib' prefix
9460 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9461 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9462 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9463 # It is most probably a Windows format PATH printed by
9464 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9465 # path with ; separators, and with drive letters. We can handle the
9466 # drive letters (cygwin fileutils understands them), so leave them,
9467 # especially as we might pass files found there to a mingw objdump,
9468 # which wouldn't understand a cygwinified path. Ahh.
9469 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9471 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9475 # pw32 DLLs use 'pw' prefix rather than 'lib'
9476 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9482 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9485 dynamic_linker
='Win32 ld.exe'
9486 # FIXME: first we should search . and the directory the executable is in
9490 darwin
* | rhapsody
*)
9491 dynamic_linker
="$host_os dyld"
9495 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9496 soname_spec
='${libname}${release}${major}$shared_ext'
9497 shlibpath_overrides_runpath
=yes
9498 shlibpath_var
=DYLD_LIBRARY_PATH
9499 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9501 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9502 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9510 soname_spec
='${libname}${release}${shared_ext}$major'
9511 shlibpath_var
=LD_LIBRARY_PATH
9518 freebsd
* | dragonfly
*)
9519 # DragonFly does not have aout. When/if they implement a new
9520 # versioning mechanism, adjust this.
9521 if test -x /usr
/bin
/objformat
; then
9522 objformat
=`/usr/bin/objformat`
9525 freebsd
[123]*) objformat
=aout
;;
9529 version_type
=freebsd-
$objformat
9530 case $version_type in
9532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9537 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9541 shlibpath_var
=LD_LIBRARY_PATH
9544 shlibpath_overrides_runpath
=yes
9546 freebsd3.
[01]* | freebsdelf3.
[01]*)
9547 shlibpath_overrides_runpath
=yes
9548 hardcode_into_libs
=yes
9550 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9551 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9552 shlibpath_overrides_runpath
=no
9553 hardcode_into_libs
=yes
9555 *) # from 4.6 on, and DragonFly
9556 shlibpath_overrides_runpath
=yes
9557 hardcode_into_libs
=yes
9566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9567 soname_spec
='${libname}${release}${shared_ext}$major'
9568 shlibpath_var
=LD_LIBRARY_PATH
9569 hardcode_into_libs
=yes
9572 hpux9
* | hpux10
* | hpux11
*)
9573 # Give a soname corresponding to the major version so that dld.sl refuses to
9574 # link against other versions.
9581 hardcode_into_libs
=yes
9582 dynamic_linker
="$host_os dld.so"
9583 shlibpath_var
=LD_LIBRARY_PATH
9584 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9586 soname_spec
='${libname}${release}${shared_ext}$major'
9587 if test "X$HPUX_IA64_MODE" = X32
; then
9588 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9590 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9592 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9596 hardcode_into_libs
=yes
9597 dynamic_linker
="$host_os dld.sl"
9598 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9599 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9601 soname_spec
='${libname}${release}${shared_ext}$major'
9602 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9603 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9607 dynamic_linker
="$host_os dld.sl"
9608 shlibpath_var
=SHLIB_PATH
9609 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
9614 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9615 postinstall_cmds
='chmod 555 $lib'
9622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9623 soname_spec
='${libname}${release}${shared_ext}$major'
9624 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9625 shlibpath_var
=LD_LIBRARY_PATH
9626 shlibpath_overrides_runpath
=no
9627 hardcode_into_libs
=yes
9630 irix5
* | irix6
* | nonstopux
*)
9632 nonstopux
*) version_type
=nonstopux
;;
9634 if test "$lt_cv_prog_gnu_ld" = yes; then
9642 soname_spec
='${libname}${release}${shared_ext}$major'
9643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9645 irix5
* | nonstopux
*)
9649 case $LD in # libtool.m4 will add one of these switches to LD
9650 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9651 libsuff
= shlibsuff
= libmagic
=32-bit;;
9652 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9653 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9654 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9655 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9656 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9660 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9661 shlibpath_overrides_runpath
=no
9662 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9663 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9664 hardcode_into_libs
=yes
9667 # No shared lib support for Linux oldld, aout, or coff.
9668 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9672 # This must be Linux ELF.
9673 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9678 soname_spec
='${libname}${release}${shared_ext}$major'
9679 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9680 shlibpath_var
=LD_LIBRARY_PATH
9681 shlibpath_overrides_runpath
=no
9682 # Some binutils ld are patched to set DT_RUNPATH
9683 save_LDFLAGS
=$LDFLAGS
9685 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9686 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9698 if ac_fn_c_try_link
"$LINENO"; then :
9699 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9700 shlibpath_overrides_runpath
=yes
9703 rm -f core conftest.err conftest.
$ac_objext \
9704 conftest
$ac_exeext conftest.
$ac_ext
9705 LDFLAGS
=$save_LDFLAGS
9708 # This implies no fast_install, which is unacceptable.
9709 # Some rework will be needed to allow for fast_install
9710 # before this can be enabled.
9711 hardcode_into_libs
=yes
9713 # Append ld.so.conf contents to the search path
9714 if test -f /etc
/ld.so.conf
; then
9715 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' ' '`
9716 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9719 # We used to test for /lib/ld.so.1 and disable shared libraries on
9720 # powerpc, because MkLinux only supported shared libraries with the
9721 # GNU dynamic linker. Since this was broken with cross compilers,
9722 # most powerpc-linux boxes support dynamic linking these days and
9723 # people can always --disable-shared, the test was removed, and we
9724 # assume the GNU/Linux dynamic linker is in use.
9725 dynamic_linker
='GNU/Linux ld.so'
9732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9733 soname_spec
='${libname}${release}${shared_ext}$major'
9734 shlibpath_var
=LD_LIBRARY_PATH
9735 shlibpath_overrides_runpath
=no
9736 hardcode_into_libs
=yes
9737 dynamic_linker
='NetBSD ld.elf_so'
9744 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9746 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9747 dynamic_linker
='NetBSD (a.out) ld.so'
9749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9750 soname_spec
='${libname}${release}${shared_ext}$major'
9751 dynamic_linker
='NetBSD ld.elf_so'
9753 shlibpath_var
=LD_LIBRARY_PATH
9754 shlibpath_overrides_runpath
=yes
9755 hardcode_into_libs
=yes
9760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9761 shlibpath_var
=LD_LIBRARY_PATH
9762 shlibpath_overrides_runpath
=yes
9769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9770 soname_spec
='${libname}${release}${shared_ext}$major'
9771 shlibpath_var
=LD_LIBRARY_PATH
9772 shlibpath_overrides_runpath
=no
9773 hardcode_into_libs
=yes
9774 dynamic_linker
='ldqnx.so'
9779 sys_lib_dlsearch_path_spec
="/usr/lib"
9781 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9783 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9784 *) need_version
=no
;;
9786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9787 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9788 shlibpath_var
=LD_LIBRARY_PATH
9789 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9791 openbsd2.
[89] | openbsd2.
[89].
*)
9792 shlibpath_overrides_runpath
=no
9795 shlibpath_overrides_runpath
=yes
9799 shlibpath_overrides_runpath
=yes
9804 libname_spec
='$name'
9807 library_names_spec
='$libname${shared_ext} $libname.a'
9808 dynamic_linker
='OS/2 ld.exe'
9809 shlibpath_var
=LIBPATH
9812 osf3
* | osf4
* | osf5
*)
9816 soname_spec
='${libname}${release}${shared_ext}$major'
9817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9818 shlibpath_var
=LD_LIBRARY_PATH
9819 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9820 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9832 soname_spec
='${libname}${release}${shared_ext}$major'
9833 shlibpath_var
=LD_LIBRARY_PATH
9834 shlibpath_overrides_runpath
=yes
9835 hardcode_into_libs
=yes
9836 # ldd complains unless libraries are executable
9837 postinstall_cmds
='chmod +x $lib'
9842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9843 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9844 shlibpath_var
=LD_LIBRARY_PATH
9845 shlibpath_overrides_runpath
=yes
9846 if test "$with_gnu_ld" = yes; then
9854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9855 soname_spec
='${libname}${release}${shared_ext}$major'
9856 shlibpath_var
=LD_LIBRARY_PATH
9857 case $host_vendor in
9859 shlibpath_overrides_runpath
=no
9861 runpath_var
=LD_RUN_PATH
9869 shlibpath_overrides_runpath
=no
9870 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9876 if test -d /usr
/nec
;then
9878 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9879 soname_spec
='$libname${shared_ext}.$major'
9880 shlibpath_var
=LD_LIBRARY_PATH
9884 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9885 version_type
=freebsd-elf
9888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9889 soname_spec
='${libname}${release}${shared_ext}$major'
9890 shlibpath_var
=LD_LIBRARY_PATH
9891 shlibpath_overrides_runpath
=yes
9892 hardcode_into_libs
=yes
9893 if test "$with_gnu_ld" = yes; then
9894 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9896 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9899 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9903 sys_lib_dlsearch_path_spec
='/usr/lib'
9907 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9912 shlibpath_var
=LD_LIBRARY_PATH
9913 shlibpath_overrides_runpath
=no
9914 hardcode_into_libs
=yes
9919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9920 soname_spec
='${libname}${release}${shared_ext}$major'
9921 shlibpath_var
=LD_LIBRARY_PATH
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9929 $as_echo "$dynamic_linker" >&6; }
9930 test "$dynamic_linker" = no
&& can_build_shared
=no
9932 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9933 if test "$GCC" = yes; then
9934 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9937 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9938 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9940 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9941 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10031 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10033 if test -n "$hardcode_libdir_flag_spec" ||
10034 test -n "$runpath_var" ||
10035 test "X$hardcode_automatic" = "Xyes" ; then
10037 # We can hardcode non-existent directories.
10038 if test "$hardcode_direct" != no
&&
10039 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10040 # have to relink, otherwise we might link with an installed library
10041 # when we should be linking with a yet-to-be-installed one
10042 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10043 test "$hardcode_minus_L" != no
; then
10044 # Linking always hardcodes the temporary library directory.
10045 hardcode_action
=relink
10047 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10048 hardcode_action
=immediate
10051 # We cannot hardcode anything, or else we can only hardcode existing
10053 hardcode_action
=unsupported
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10056 $as_echo "$hardcode_action" >&6; }
10058 if test "$hardcode_action" = relink ||
10059 test "$inherit_rpath" = yes; then
10060 # Fast installation is not supported
10061 enable_fast_install
=no
10062 elif test "$shlibpath_overrides_runpath" = yes ||
10063 test "$enable_shared" = no
; then
10064 # Fast installation is not necessary
10065 enable_fast_install
=needless
10073 if test "x$enable_dlopen" != xyes
; then
10074 enable_dlopen
=unknown
10075 enable_dlopen_self
=unknown
10076 enable_dlopen_self_static
=unknown
10083 lt_cv_dlopen
="load_add_on"
10085 lt_cv_dlopen_self
=yes
10088 mingw
* | pw32
* | cegcc
*)
10089 lt_cv_dlopen
="LoadLibrary"
10094 lt_cv_dlopen
="dlopen"
10099 # if libdl is installed we need to link against it
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10101 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10102 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10103 $as_echo_n "(cached) " >&6
10105 ac_check_lib_save_LIBS
=$LIBS
10107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10110 /* Override any GCC internal prototype to avoid an error.
10111 Use char because int might match the return type of a GCC
10112 builtin and then its argument prototype would still apply. */
10125 if ac_fn_c_try_link
"$LINENO"; then :
10126 ac_cv_lib_dl_dlopen
=yes
10128 ac_cv_lib_dl_dlopen
=no
10130 rm -f core conftest.err conftest.
$ac_objext \
10131 conftest
$ac_exeext conftest.
$ac_ext
10132 LIBS
=$ac_check_lib_save_LIBS
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10135 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10136 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10137 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10140 lt_cv_dlopen
="dyld"
10142 lt_cv_dlopen_self
=yes
10149 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10150 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10151 lt_cv_dlopen
="shl_load"
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10154 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10155 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10156 $as_echo_n "(cached) " >&6
10158 ac_check_lib_save_LIBS
=$LIBS
10160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10163 /* Override any GCC internal prototype to avoid an error.
10164 Use char because int might match the return type of a GCC
10165 builtin and then its argument prototype would still apply. */
10173 return shl_load ();
10178 if ac_fn_c_try_link
"$LINENO"; then :
10179 ac_cv_lib_dld_shl_load
=yes
10181 ac_cv_lib_dld_shl_load
=no
10183 rm -f core conftest.err conftest.
$ac_objext \
10184 conftest
$ac_exeext conftest.
$ac_ext
10185 LIBS
=$ac_check_lib_save_LIBS
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10188 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10189 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10190 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10192 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10193 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10194 lt_cv_dlopen
="dlopen"
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10197 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10198 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10199 $as_echo_n "(cached) " >&6
10201 ac_check_lib_save_LIBS
=$LIBS
10203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10206 /* Override any GCC internal prototype to avoid an error.
10207 Use char because int might match the return type of a GCC
10208 builtin and then its argument prototype would still apply. */
10221 if ac_fn_c_try_link
"$LINENO"; then :
10222 ac_cv_lib_dl_dlopen
=yes
10224 ac_cv_lib_dl_dlopen
=no
10226 rm -f core conftest.err conftest.
$ac_objext \
10227 conftest
$ac_exeext conftest.
$ac_ext
10228 LIBS
=$ac_check_lib_save_LIBS
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10231 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10232 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10233 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10236 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10237 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10238 $as_echo_n "(cached) " >&6
10240 ac_check_lib_save_LIBS
=$LIBS
10241 LIBS
="-lsvld $LIBS"
10242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10245 /* Override any GCC internal prototype to avoid an error.
10246 Use char because int might match the return type of a GCC
10247 builtin and then its argument prototype would still apply. */
10260 if ac_fn_c_try_link
"$LINENO"; then :
10261 ac_cv_lib_svld_dlopen
=yes
10263 ac_cv_lib_svld_dlopen
=no
10265 rm -f core conftest.err conftest.
$ac_objext \
10266 conftest
$ac_exeext conftest.
$ac_ext
10267 LIBS
=$ac_check_lib_save_LIBS
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10270 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10271 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10272 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10275 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10276 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10277 $as_echo_n "(cached) " >&6
10279 ac_check_lib_save_LIBS
=$LIBS
10281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10284 /* Override any GCC internal prototype to avoid an error.
10285 Use char because int might match the return type of a GCC
10286 builtin and then its argument prototype would still apply. */
10294 return dld_link ();
10299 if ac_fn_c_try_link
"$LINENO"; then :
10300 ac_cv_lib_dld_dld_link
=yes
10302 ac_cv_lib_dld_dld_link
=no
10304 rm -f core conftest.err conftest.
$ac_objext \
10305 conftest
$ac_exeext conftest.
$ac_ext
10306 LIBS
=$ac_check_lib_save_LIBS
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10309 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10310 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10311 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10332 if test "x$lt_cv_dlopen" != xno
; then
10338 case $lt_cv_dlopen in
10340 save_CPPFLAGS
="$CPPFLAGS"
10341 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10343 save_LDFLAGS
="$LDFLAGS"
10344 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10347 LIBS
="$lt_cv_dlopen_libs $LIBS"
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10350 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10351 if test "${lt_cv_dlopen_self+set}" = set; then :
10352 $as_echo_n "(cached) " >&6
10354 if test "$cross_compiling" = yes; then :
10355 lt_cv_dlopen_self
=cross
10357 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10358 lt_status
=$lt_dlunknown
10359 cat > conftest.
$ac_ext <<_LT_EOF
10360 #line 10360 "configure"
10361 #include "confdefs.h"
10370 # define LT_DLGLOBAL RTLD_GLOBAL
10373 # define LT_DLGLOBAL DL_GLOBAL
10375 # define LT_DLGLOBAL 0
10379 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10380 find out it does not work in some platform. */
10381 #ifndef LT_DLLAZY_OR_NOW
10383 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10386 # define LT_DLLAZY_OR_NOW DL_LAZY
10389 # define LT_DLLAZY_OR_NOW RTLD_NOW
10392 # define LT_DLLAZY_OR_NOW DL_NOW
10394 # define LT_DLLAZY_OR_NOW 0
10401 void fnord() { int i=42;}
10404 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10405 int status = $lt_dlunknown;
10409 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10410 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10411 /* dlclose (self); */
10419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10420 (eval $ac_link) 2>&5
10422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10423 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10424 (.
/conftest
; exit; ) >&5 2>/dev
/null
10426 case x
$lt_status in
10427 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10428 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10429 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10432 # compilation failed
10433 lt_cv_dlopen_self
=no
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10441 $as_echo "$lt_cv_dlopen_self" >&6; }
10443 if test "x$lt_cv_dlopen_self" = xyes
; then
10444 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10446 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10447 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10448 $as_echo_n "(cached) " >&6
10450 if test "$cross_compiling" = yes; then :
10451 lt_cv_dlopen_self_static
=cross
10453 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10454 lt_status
=$lt_dlunknown
10455 cat > conftest.
$ac_ext <<_LT_EOF
10456 #line 10456 "configure"
10457 #include "confdefs.h"
10466 # define LT_DLGLOBAL RTLD_GLOBAL
10469 # define LT_DLGLOBAL DL_GLOBAL
10471 # define LT_DLGLOBAL 0
10475 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10476 find out it does not work in some platform. */
10477 #ifndef LT_DLLAZY_OR_NOW
10479 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10482 # define LT_DLLAZY_OR_NOW DL_LAZY
10485 # define LT_DLLAZY_OR_NOW RTLD_NOW
10488 # define LT_DLLAZY_OR_NOW DL_NOW
10490 # define LT_DLLAZY_OR_NOW 0
10497 void fnord() { int i=42;}
10500 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10501 int status = $lt_dlunknown;
10505 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10506 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10507 /* dlclose (self); */
10515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10516 (eval $ac_link) 2>&5
10518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10519 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10520 (.
/conftest
; exit; ) >&5 2>/dev
/null
10522 case x
$lt_status in
10523 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10524 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10525 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10528 # compilation failed
10529 lt_cv_dlopen_self_static
=no
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10537 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10540 CPPFLAGS
="$save_CPPFLAGS"
10541 LDFLAGS
="$save_LDFLAGS"
10546 case $lt_cv_dlopen_self in
10547 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10548 *) enable_dlopen_self
=unknown
;;
10551 case $lt_cv_dlopen_self_static in
10552 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10553 *) enable_dlopen_self_static
=unknown
;;
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10576 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10577 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10578 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10579 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10581 $as_echo "yes" >&6; }
10583 # FIXME - insert some real tests, host_os isn't really good enough
10586 if test -n "$STRIP" ; then
10587 striplib
="$STRIP -x"
10588 old_striplib
="$STRIP -S"
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10590 $as_echo "yes" >&6; }
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10593 $as_echo "no" >&6; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10598 $as_echo "no" >&6; }
10614 # Report which library types will actually be built
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10616 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10618 $as_echo "$can_build_shared" >&6; }
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10621 $as_echo_n "checking whether to build shared libraries... " >&6; }
10622 test "$can_build_shared" = "no" && enable_shared
=no
10624 # On AIX, shared libraries and static libraries use the same namespace, and
10625 # are all built from PIC.
10628 test "$enable_shared" = yes && enable_static
=no
10629 if test -n "$RANLIB"; then
10630 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10631 postinstall_cmds
='$RANLIB $lib'
10636 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10637 test "$enable_shared" = yes && enable_static
=no
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10642 $as_echo "$enable_shared" >&6; }
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10645 $as_echo_n "checking whether to build static libraries... " >&6; }
10646 # Make sure either enable_shared or enable_static is yes.
10647 test "$enable_shared" = yes || enable_static
=yes
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10649 $as_echo "$enable_static" >&6; }
10656 ac_cpp
='$CPP $CPPFLAGS'
10657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10675 ac_config_commands
="$ac_config_commands libtool"
10680 # Only expand once:
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl license" >&5
10686 $as_echo_n "checking spl license... " >&6; }
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LICENSE" >&5
10689 $as_echo "$LICENSE" >&6; }
10690 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DHAVE_GPL_ONLY_SYMBOLS"
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linux distribution" >&5
10696 $as_echo_n "checking linux distribution... " >&6; }
10697 if test -f /etc
/toss-release
; then
10699 elif test -f /etc
/fedora-release
; then
10701 elif test -f /etc
/redhat-release
; then
10703 elif test -f /etc
/gentoo-release
; then
10705 elif test -f /etc
/arch-release
; then
10707 elif test -f /etc
/SuSE-release
; then
10709 elif test -f /etc
/slackware-version
; then
10711 elif test -f /etc
/lunar.release
; then
10713 elif test -f /etc
/lsb-release
; then
10715 elif test -f /etc
/debian_version
; then
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VENDOR" >&5
10721 $as_echo "$VENDOR" >&6; }
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default package type" >&5
10725 $as_echo_n "checking default package type... " >&6; }
10727 toss
) DEFAULT_PACKAGE
=rpm
;;
10728 redhat
) DEFAULT_PACKAGE
=rpm
;;
10729 fedora
) DEFAULT_PACKAGE
=rpm
;;
10730 gentoo
) DEFAULT_PACKAGE
=tgz
;;
10731 arch
) DEFAULT_PACKAGE
=tgz
;;
10732 sles
) DEFAULT_PACKAGE
=rpm
;;
10733 slackware
) DEFAULT_PACKAGE
=tgz
;;
10734 lunar
) DEFAULT_PACKAGE
=tgz
;;
10735 ubuntu
) DEFAULT_PACKAGE
=deb
;;
10736 debian
) DEFAULT_PACKAGE
=deb
;;
10737 *) DEFAULT_PACKAGE
=rpm
;;
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_PACKAGE" >&5
10741 $as_echo "$DEFAULT_PACKAGE" >&6; }
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPM is available" >&5
10749 $as_echo_n "checking whether $RPM is available... " >&6; }
10750 if tmp
=$
($RPM --version 2>/dev
/null
); then :
10752 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM ($RPM_VERSION)" >&5
10755 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM" >&5
10761 $as_echo "$HAVE_RPM" >&6; }
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPMBUILD is available" >&5
10766 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
10767 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then :
10769 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
10772 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD" >&5
10778 $as_echo "$HAVE_RPMBUILD" >&6; }
10782 RPM_DEFINE_COMMON
='--define "$(DEBUG_SPL) 1" --define "$(DEBUG_LOG) 1" --define "$(DEBUG_KMEM) 1" --define "$(DEBUG_KMEM_TRACKING) 1"'
10784 RPM_DEFINE_KMOD
='--define "kernels $(LINUX_VERSION)"'
10787 SRPM_DEFINE_COMMON
='--define "build_src_rpm 1"'
10792 RPM_SPEC_DIR
="rpm/generic"
10794 # Check whether --with-spec was given.
10795 if test "${with_spec+set}" = set; then :
10796 withval
=$with_spec; RPM_SPEC_DIR
="rpm/$withval"
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether spec files are available" >&5
10801 $as_echo_n "checking whether spec files are available... " >&6; }
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($RPM_SPEC_DIR/*.spec.in)" >&5
10803 $as_echo "yes ($RPM_SPEC_DIR/*.spec.in)" >&6; }
10825 DPKGBUILD
=dpkg-buildpackage
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKG is available" >&5
10828 $as_echo_n "checking whether $DPKG is available... " >&6; }
10829 if tmp
=$
($DPKG --version 2>/dev
/null
); then :
10831 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
10834 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG" >&5
10840 $as_echo "$HAVE_DPKG" >&6; }
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKGBUILD is available" >&5
10845 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
10846 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then :
10848 DPKGBUILD_VERSION
=$
(echo $tmp | \
10849 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
10852 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD" >&5
10858 $as_echo "$HAVE_DPKGBUILD" >&6; }
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ALIEN is available" >&5
10874 $as_echo_n "checking whether $ALIEN is available... " >&6; }
10875 if tmp
=$
($ALIEN --version 2>/dev
/null
); then :
10877 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
10880 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN" >&5
10886 $as_echo "$HAVE_ALIEN" >&6; }
10898 # Check whether --with-config was given.
10899 if test "${with_config+set}" = set; then :
10900 withval
=$with_config; SPL_CONFIG
="$withval"
10903 # Check whether --enable-linux-builtin was given.
10904 if test "${enable_linux_builtin+set}" = set; then :
10905 enableval
=$enable_linux_builtin;
10907 enable_linux_builtin
=no
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl config" >&5
10912 $as_echo_n "checking spl config... " >&6; }
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_CONFIG" >&5
10914 $as_echo "$SPL_CONFIG" >&6; };
10917 case "$SPL_CONFIG" in
10921 # Check whether --with-linux was given.
10922 if test "${with_linux+set}" = set; then :
10923 withval
=$with_linux; kernelsrc
="$withval"
10928 # Check whether --with-linux-obj was given.
10929 if test "${with_linux_obj+set}" = set; then :
10930 withval
=$with_linux_obj; kernelbuild
="$withval"
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
10935 $as_echo_n "checking kernel source directory... " >&6; }
10936 if test -z "$kernelsrc"; then
10937 if test -e "/lib/modules/$(uname -r)/source"; then
10938 headersdir
="/lib/modules/$(uname -r)/source"
10939 sourcelink
=$
(readlink
-f "$headersdir")
10940 elif test -e "/lib/modules/$(uname -r)/build"; then
10941 headersdir
="/lib/modules/$(uname -r)/build"
10942 sourcelink
=$
(readlink
-f "$headersdir")
10944 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
10946 2>/dev
/null |
grep -v obj |
tail -1)
10949 if test -n "$sourcelink" && test -e ${sourcelink}; then
10950 kernelsrc
=`readlink -f ${sourcelink}`
10952 kernelsrc
="Not found"
10955 if test "$kernelsrc" = "NONE"; then
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
10961 $as_echo "$kernelsrc" >&6; }
10962 if test ! -d "$kernelsrc"; then
10964 *** Please make sure the kernel devel package for your distribution
10965 *** is installed then try again. If that fails you can specify the
10966 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
10970 $as_echo_n "checking kernel build directory... " >&6; }
10971 if test -z "$kernelbuild"; then
10972 if test -e "/lib/modules/$(uname -r)/build"; then
10973 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
10974 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
10975 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
10976 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
10977 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
10978 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
10979 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
10981 kernelbuild
=${kernelsrc}
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
10985 $as_echo "$kernelbuild" >&6; }
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
10988 $as_echo_n "checking kernel source version... " >&6; }
10989 utsrelease1
=$kernelbuild/include
/linux
/version.h
10990 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
10991 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
10992 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
10993 utsrelease
=linux
/version.h
10994 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
10995 utsrelease
=linux
/utsrelease.h
10996 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
10997 utsrelease
=generated
/utsrelease.h
11000 if test "$utsrelease"; then
11001 kernsrcver
=`(echo "#include <$utsrelease>";
11002 echo "kernsrcver=UTS_RELEASE") |
11003 cpp -I $kernelbuild/include |
11004 grep "^kernsrcver=" | cut -d \" -f 2`
11006 if test -z "$kernsrcver"; then
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
11008 $as_echo "Not found" >&6; }
11009 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
11013 $as_echo "Not found" >&6; }
11014 if test "x$enable_linux_builtin" != xyes
; then
11015 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
11018 *** Cannot find UTS_RELEASE definition.
11019 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
11024 $as_echo "$kernsrcver" >&6; }
11027 LINUX_OBJ
=${kernelbuild}
11028 LINUX_VERSION
=${kernsrcver}
11035 modpost
=$LINUX/scripts
/Makefile.modpost
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
11037 $as_echo_n "checking kernel file name for module symbols... " >&6; }
11038 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
11039 if grep -q Modules.symvers
$modpost; then
11040 LINUX_SYMBOLS
=Modules.symvers
11042 LINUX_SYMBOLS
=Module.symvers
11045 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
11047 *** Please make sure the kernel devel package for your distribution
11048 *** is installed. If your building with a custom kernel make sure the
11049 *** kernel is configured, built, and the '--with-linux=PATH' configure
11050 *** option refers to the location of the kernel source." "$LINENO" 5
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
11056 $as_echo "$LINUX_SYMBOLS" >&6; }
11061 if test "${LINUX_OBJ}" != "${LINUX}"; then
11062 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
11066 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
11071 $as_echo_n "checking whether debugging is enabled... " >&6; }
11072 # Check whether --enable-debug was given.
11073 if test "${enable_debug+set}" = set; then :
11074 enableval
=$enable_debug;
11080 if test "x$enable_debug" = xyes
; then :
11082 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
11083 DEBUG_CFLAGS
="-DDEBUG -Werror"
11084 DEBUG_SPL
="_with_debug"
11088 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
11089 DEBUG_CFLAGS
="-DNDEBUG"
11090 DEBUG_SPL
="_without_debug"
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
11097 $as_echo "$enable_debug" >&6; }
11100 # Check whether --enable-debug-log was given.
11101 if test "${enable_debug_log+set}" = set; then :
11102 enableval
=$enable_debug_log;
11104 enable_debug_log
=yes
11108 if test "x$enable_debug_log" = xyes
; then :
11110 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_LOG"
11111 DEBUG_LOG
="_with_debug_log"
11113 $as_echo "#define DEBUG_LOG 1" >>confdefs.h
11118 DEBUG_LOG
="_without_debug_log"
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic debug logging is enabled" >&5
11124 $as_echo_n "checking whether basic debug logging is enabled... " >&6; }
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_log" >&5
11126 $as_echo "$enable_debug_log" >&6; }
11129 # Check whether --enable-debug-kmem was given.
11130 if test "${enable_debug_kmem+set}" = set; then :
11131 enableval
=$enable_debug_kmem;
11133 enable_debug_kmem
=yes
11137 if test "x$enable_debug_kmem" = xyes
; then :
11139 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
11140 DEBUG_KMEM
="_with_debug_kmem"
11142 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
11147 DEBUG_KMEM
="_without_debug_kmem"
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
11153 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
11155 $as_echo "$enable_debug_kmem" >&6; }
11158 # Check whether --enable-debug-kmem-tracking was given.
11159 if test "${enable_debug_kmem_tracking+set}" = set; then :
11160 enableval
=$enable_debug_kmem_tracking;
11162 enable_debug_kmem_tracking
=no
11166 if test "x$enable_debug_kmem_tracking" = xyes
; then :
11168 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
11169 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
11171 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
11176 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
11182 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
11184 $as_echo "$enable_debug_kmem_tracking" >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
11187 $as_echo_n "checking whether modules can be built... " >&6; }
11190 cat confdefs.h
- <<_ACEOF >conftest.c
11204 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11205 echo "obj-m := conftest.o" >build
/Makefile
11207 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11208 if { 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'
11209 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11210 (eval $ac_try) 2>&5
11212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11213 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11214 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11215 (eval $ac_try) 2>&5
11217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11218 test $ac_status = 0; }; }; then :
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11221 $as_echo "yes" >&6; }
11224 $as_echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.
$ac_ext >&5
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11228 $as_echo "no" >&6; }
11229 if test "x$enable_linux_builtin" != xyes
; then
11230 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
11233 *** Unable to build an empty module.
11234 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
11245 # Check whether --enable-atomic-spinlocks was given.
11246 if test "${enable_atomic_spinlocks+set}" = set; then :
11247 enableval
=$enable_atomic_spinlocks;
11249 enable_atomic_spinlocks
=check
11255 cat confdefs.h
- <<_ACEOF >conftest.c
11258 #include <linux/fs.h>
11264 atomic64_t *ptr __attribute__ ((unused));
11273 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11274 echo "obj-m := conftest.o" >build
/Makefile
11276 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11277 if { 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'
11278 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11279 (eval $ac_try) 2>&5
11281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11282 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11283 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11284 (eval $ac_try) 2>&5
11286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11287 test $ac_status = 0; }; }; then :
11289 have_atomic64_t
=yes
11291 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
11295 $as_echo "$as_me: failed program was:" >&5
11296 sed 's/^/| /' conftest.
$ac_ext >&5
11307 if test "x$enable_atomic_spinlocks" = xcheck
; then :
11309 if test "x$have_atomic64_t" = xyes
; then :
11311 enable_atomic_spinlocks
=no
11315 enable_atomic_spinlocks
=yes
11321 if test "x$enable_atomic_spinlocks" = xyes
; then :
11324 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
11329 if test "x$have_atomic64_t" = xno
; then :
11331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11333 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
11334 See \`config.log' for more details" "$LINENO" 5 ; }
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
11341 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
11343 $as_echo "$enable_atomic_spinlocks" >&6; }
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
11346 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
11348 $as_echo "$have_atomic64_t" >&6; }
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_cmpxchg" >&5
11351 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
11354 cat confdefs.h
- <<_ACEOF >conftest.c
11357 #include <linux/fs.h>
11363 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
11372 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11373 echo "obj-m := conftest.o" >build
/Makefile
11375 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11376 if { 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'
11377 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11378 (eval $ac_try) 2>&5
11380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11381 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11382 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11383 (eval $ac_try) 2>&5
11385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11386 test $ac_status = 0; }; }; then :
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11389 $as_echo "yes" >&6; }
11391 $as_echo "#define HAVE_ATOMIC64_CMPXCHG 1" >>confdefs.h
11395 $as_echo "$as_me: failed program was:" >&5
11396 sed 's/^/| /' conftest.
$ac_ext >&5
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11399 $as_echo "no" >&6; }
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_xchg" >&5
11409 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
11412 cat confdefs.h
- <<_ACEOF >conftest.c
11415 #include <linux/fs.h>
11421 atomic64_xchg((atomic64_t *)NULL, 0);
11430 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11431 echo "obj-m := conftest.o" >build
/Makefile
11433 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11434 if { 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'
11435 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11436 (eval $ac_try) 2>&5
11438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11439 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11440 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11441 (eval $ac_try) 2>&5
11443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11444 test $ac_status = 0; }; }; then :
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11447 $as_echo "yes" >&6; }
11449 $as_echo "#define HAVE_ATOMIC64_XCHG 1" >>confdefs.h
11453 $as_echo "$as_me: failed program was:" >&5
11454 sed 's/^/| /' conftest.
$ac_ext >&5
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11457 $as_echo "no" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines uintptr_t" >&5
11467 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
11470 cat confdefs.h
- <<_ACEOF >conftest.c
11473 #include <linux/types.h>
11479 uintptr_t *ptr __attribute__ ((unused));
11488 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11489 echo "obj-m := conftest.o" >build
/Makefile
11491 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11492 if { 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'
11493 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11494 (eval $ac_try) 2>&5
11496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11497 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11498 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11499 (eval $ac_try) 2>&5
11501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11502 test $ac_status = 0; }; }; then :
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11505 $as_echo "yes" >&6; }
11507 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
11511 $as_echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.
$ac_ext >&5
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11515 $as_echo "no" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether register_sysctl_table() wants 2 args" >&5
11525 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
11528 cat confdefs.h
- <<_ACEOF >conftest.c
11531 #include <linux/sysctl.h>
11537 (void) register_sysctl_table(NULL, 0);
11546 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11547 echo "obj-m := conftest.o" >build
/Makefile
11549 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11550 if { 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'
11551 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11552 (eval $ac_try) 2>&5
11554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11555 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11556 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11557 (eval $ac_try) 2>&5
11559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11560 test $ac_status = 0; }; }; then :
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11563 $as_echo "yes" >&6; }
11565 $as_echo "#define HAVE_2ARGS_REGISTER_SYSCTL 1" >>confdefs.h
11569 $as_echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.
$ac_ext >&5
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573 $as_echo "no" >&6; }
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_shrinker() available" >&5
11584 $as_echo_n "checking whether set_shrinker() available... " >&6; }
11587 cat confdefs.h
- <<_ACEOF >conftest.c
11590 #include <linux/mm.h>
11596 return set_shrinker(DEFAULT_SEEKS, NULL);
11605 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11606 echo "obj-m := conftest.o" >build
/Makefile
11608 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11609 if { 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'
11610 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11611 (eval $ac_try) 2>&5
11613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11614 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11615 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11616 (eval $ac_try) 2>&5
11618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11619 test $ac_status = 0; }; }; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11622 $as_echo "yes" >&6; }
11624 $as_echo "#define HAVE_SET_SHRINKER 1" >>confdefs.h
11628 $as_echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.
$ac_ext >&5
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11632 $as_echo "no" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrinker callback wants 3 args" >&5
11642 $as_echo_n "checking whether shrinker callback wants 3 args... " >&6; }
11643 tmp_flags
="$EXTRA_KCFLAGS"
11644 EXTRA_KCFLAGS
="-Werror"
11647 cat confdefs.h
- <<_ACEOF >conftest.c
11650 #include <linux/mm.h>
11652 int shrinker_cb(struct shrinker *, int, unsigned int);
11658 struct shrinker cache_shrinker = {
11659 .shrink = shrinker_cb,
11660 .seeks = DEFAULT_SEEKS,
11662 register_shrinker(&cache_shrinker);
11671 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11672 echo "obj-m := conftest.o" >build
/Makefile
11674 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11675 if { 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'
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; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11681 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11682 (eval $ac_try) 2>&5
11684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11685 test $ac_status = 0; }; }; then :
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11688 $as_echo "yes" >&6; }
11690 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
11694 $as_echo "$as_me: failed program was:" >&5
11695 sed 's/^/| /' conftest.
$ac_ext >&5
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11698 $as_echo "no" >&6; }
11706 EXTRA_KCFLAGS
="$tmp_flags"
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct path used in struct nameidata" >&5
11709 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
11712 cat confdefs.h
- <<_ACEOF >conftest.c
11715 #include <linux/namei.h>
11721 struct nameidata nd __attribute__ ((unused));
11723 nd.path.mnt = NULL;
11724 nd.path.dentry = NULL;
11733 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11734 echo "obj-m := conftest.o" >build
/Makefile
11736 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11737 if { 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'
11738 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11739 (eval $ac_try) 2>&5
11741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11742 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11743 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11744 (eval $ac_try) 2>&5
11746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11747 test $ac_status = 0; }; }; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11750 $as_echo "yes" >&6; }
11752 $as_echo "#define HAVE_PATH_IN_NAMEIDATA 1" >>confdefs.h
11756 $as_echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.
$ac_ext >&5
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11760 $as_echo "no" >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether task_curr() is available" >&5
11770 $as_echo_n "checking whether task_curr() is available... " >&6; }
11774 cat confdefs.h
- <<_ACEOF >conftest.c
11777 #include <linux/sched.h>
11792 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11793 echo "obj-m := conftest.o" >build
/Makefile
11795 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11796 if { 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'
11797 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11798 (eval $ac_try) 2>&5
11800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11801 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11802 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11803 (eval $ac_try) 2>&5
11805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11806 test $ac_status = 0; }; }; then :
11809 $as_echo "$as_me: failed program was:" >&5
11810 sed 's/^/| /' conftest.
$ac_ext >&5
11818 if test $rc -ne 0; then :
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11821 $as_echo "no" >&6; }
11824 if test "x$enable_linux_builtin" != xyes
; then
11826 grep -q -E '[[:space:]]task_curr[[:space:]]' \
11827 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
11829 if test $rc -ne 0; then
11831 for file in kernel
/sched.c
; do
11832 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
11833 "$LINUX_OBJ/$file" 2>/dev
/null
11835 if test $rc -eq 0; then
11840 if test $export -eq 0; then :
11850 if test $rc -ne 0; then :
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11858 $as_echo "yes" >&6; }
11860 $as_echo "#define HAVE_TASK_CURR 1" >>confdefs.h
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unnumbered sysctl support exists" >&5
11868 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
11871 cat confdefs.h
- <<_ACEOF >conftest.c
11874 #include <linux/sysctl.h>
11880 #ifndef CTL_UNNUMBERED
11881 #error CTL_UNNUMBERED undefined
11891 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11892 echo "obj-m := conftest.o" >build
/Makefile
11894 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11895 if { 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'
11896 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11897 (eval $ac_try) 2>&5
11899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11900 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11901 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11902 (eval $ac_try) 2>&5
11904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11905 test $ac_status = 0; }; }; then :
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11908 $as_echo "yes" >&6; }
11910 $as_echo "#define HAVE_CTL_UNNUMBERED 1" >>confdefs.h
11914 $as_echo "$as_me: failed program was:" >&5
11915 sed 's/^/| /' conftest.
$ac_ext >&5
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
11929 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
11932 cat confdefs.h
- <<_ACEOF >conftest.c
11935 #include <linux/sysctl.h>
11941 struct ctl_table ctl __attribute__ ((unused));
11951 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11952 echo "obj-m := conftest.o" >build
/Makefile
11954 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
11955 if { 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'
11956 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11957 (eval $ac_try) 2>&5
11959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11960 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11961 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11962 (eval $ac_try) 2>&5
11964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11965 test $ac_status = 0; }; }; then :
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11968 $as_echo "yes" >&6; }
11970 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
11974 $as_echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.
$ac_ext >&5
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978 $as_echo "no" >&6; }
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fls64() is available" >&5
11988 $as_echo_n "checking whether fls64() is available... " >&6; }
11991 cat confdefs.h
- <<_ACEOF >conftest.c
11994 #include <linux/bitops.h>
12009 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12010 echo "obj-m := conftest.o" >build
/Makefile
12012 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12013 if { 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'
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; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12019 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12020 (eval $ac_try) 2>&5
12022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12023 test $ac_status = 0; }; }; then :
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12026 $as_echo "yes" >&6; }
12028 $as_echo "#define HAVE_FLS64 1" >>confdefs.h
12032 $as_echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.
$ac_ext >&5
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12036 $as_echo "no" >&6; }
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether device_create() is available" >&5
12046 $as_echo_n "checking whether device_create() is available... " >&6; }
12048 grep -q -E '[[:space:]]device_create[[:space:]]' \
12049 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12051 if test $rc -ne 0; then
12053 for file in drivers
/base
/core.c
; do
12054 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
12055 "$LINUX_OBJ/$file" 2>/dev
/null
12057 if test $rc -eq 0; then
12062 if test $export -eq 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_DEVICE_CREATE 1" >>confdefs.h
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12079 $as_echo "yes" >&6; }
12081 $as_echo "#define HAVE_DEVICE_CREATE 1" >>confdefs.h
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether device_create() wants 5 args" >&5
12089 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
12090 tmp_flags
="$EXTRA_KCFLAGS"
12091 EXTRA_KCFLAGS
="-Werror"
12094 cat confdefs.h
- <<_ACEOF >conftest.c
12097 #include <linux/device.h>
12103 device_create(NULL, NULL, 0, NULL, "%d", 1);
12112 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12113 echo "obj-m := conftest.o" >build
/Makefile
12115 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12116 if { 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'
12117 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12118 (eval $ac_try) 2>&5
12120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12121 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12122 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12123 (eval $ac_try) 2>&5
12125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12126 test $ac_status = 0; }; }; then :
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12129 $as_echo "yes" >&6; }
12131 $as_echo "#define HAVE_5ARGS_DEVICE_CREATE 1" >>confdefs.h
12135 $as_echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.
$ac_ext >&5
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12147 EXTRA_KCFLAGS
="$tmp_flags"
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether class_device_create() is available" >&5
12150 $as_echo_n "checking whether class_device_create() is available... " >&6; }
12154 cat confdefs.h
- <<_ACEOF >conftest.c
12157 #include <linux/device.h>
12163 class_device_create(NULL, NULL, 0, NULL, NULL);
12172 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12173 echo "obj-m := conftest.o" >build
/Makefile
12175 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12176 if { 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'
12177 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12178 (eval $ac_try) 2>&5
12180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12181 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12182 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12183 (eval $ac_try) 2>&5
12185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12186 test $ac_status = 0; }; }; then :
12189 $as_echo "$as_me: failed program was:" >&5
12190 sed 's/^/| /' conftest.
$ac_ext >&5
12198 if test $rc -ne 0; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12204 if test "x$enable_linux_builtin" != xyes
; then
12206 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
12207 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12209 if test $rc -ne 0; then
12211 for file in drivers
/base
/class.c
; do
12212 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
12213 "$LINUX_OBJ/$file" 2>/dev
/null
12215 if test $rc -eq 0; then
12220 if test $export -eq 0; then :
12230 if test $rc -ne 0; then :
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233 $as_echo "no" >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12238 $as_echo "yes" >&6; }
12240 $as_echo "#define HAVE_CLASS_DEVICE_CREATE 1" >>confdefs.h
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_normalized_timespec() is available as export" >&5
12248 $as_echo_n "checking whether set_normalized_timespec() is available as export... " >&6; }
12252 cat confdefs.h
- <<_ACEOF >conftest.c
12255 #include <linux/time.h>
12261 set_normalized_timespec(NULL, 0, 0);
12270 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12271 echo "obj-m := conftest.o" >build
/Makefile
12273 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12274 if { 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'
12275 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12276 (eval $ac_try) 2>&5
12278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12279 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12280 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12281 (eval $ac_try) 2>&5
12283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12284 test $ac_status = 0; }; }; then :
12287 $as_echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.
$ac_ext >&5
12296 if test $rc -ne 0; then :
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12299 $as_echo "no" >&6; }
12302 if test "x$enable_linux_builtin" != xyes
; then
12304 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
12305 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12307 if test $rc -ne 0; then
12309 for file in kernel
/time.c
; do
12310 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
12311 "$LINUX_OBJ/$file" 2>/dev
/null
12313 if test $rc -eq 0; then
12318 if test $export -eq 0; then :
12328 if test $rc -ne 0; then :
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12331 $as_echo "no" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12336 $as_echo "yes" >&6; }
12338 $as_echo "#define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1" >>confdefs.h
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_normalized_timespec() is an inline" >&5
12347 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
12350 cat confdefs.h
- <<_ACEOF >conftest.c
12353 #include <linux/time.h>
12354 void set_normalized_timespec(struct timespec *ts,
12355 time_t sec, long nsec) { }
12368 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12369 echo "obj-m := conftest.o" >build
/Makefile
12371 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12372 if { 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'
12373 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12374 (eval $ac_try) 2>&5
12376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12377 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12378 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12379 (eval $ac_try) 2>&5
12381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12382 test $ac_status = 0; }; }; then :
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12385 $as_echo "no" >&6; }
12388 $as_echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.
$ac_ext >&5
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12392 $as_echo "yes" >&6; }
12394 $as_echo "#define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1" >>confdefs.h
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether timespec_sub() is available" >&5
12406 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
12409 cat confdefs.h
- <<_ACEOF >conftest.c
12412 #include <linux/time.h>
12418 struct timespec a = { 0 };
12419 struct timespec b = { 0 };
12420 struct timespec c __attribute__ ((unused));
12421 c = timespec_sub(a, b);
12430 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12431 echo "obj-m := conftest.o" >build
/Makefile
12433 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12434 if { 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'
12435 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12436 (eval $ac_try) 2>&5
12438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12439 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12440 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12441 (eval $ac_try) 2>&5
12443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12444 test $ac_status = 0; }; }; then :
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12447 $as_echo "yes" >&6; }
12449 $as_echo "#define HAVE_TIMESPEC_SUB 1" >>confdefs.h
12453 $as_echo "$as_me: failed program was:" >&5
12454 sed 's/^/| /' conftest.
$ac_ext >&5
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12457 $as_echo "no" >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether init_utsname() is available" >&5
12468 $as_echo_n "checking whether init_utsname() is available... " >&6; }
12471 cat confdefs.h
- <<_ACEOF >conftest.c
12474 #include <linux/utsname.h>
12480 struct new_utsname *a __attribute__ ((unused));
12481 a = init_utsname();
12490 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12491 echo "obj-m := conftest.o" >build
/Makefile
12493 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12494 if { 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'
12495 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12496 (eval $ac_try) 2>&5
12498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12499 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12500 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12501 (eval $ac_try) 2>&5
12503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12504 test $ac_status = 0; }; }; then :
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12507 $as_echo "yes" >&6; }
12509 $as_echo "#define HAVE_INIT_UTSNAME 1" >>confdefs.h
12513 $as_echo "$as_me: failed program was:" >&5
12514 sed 's/^/| /' conftest.
$ac_ext >&5
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12517 $as_echo "no" >&6; }
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/uaccess.h exists" >&5
12528 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
12531 cat confdefs.h
- <<_ACEOF >conftest.c
12534 #include <linux/uaccess.h>
12549 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12550 echo "obj-m := conftest.o" >build
/Makefile
12552 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12553 if { 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'
12554 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12555 (eval $ac_try) 2>&5
12557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12558 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12559 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12560 (eval $ac_try) 2>&5
12562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12563 test $ac_status = 0; }; }; then :
12566 $as_echo "#define HAVE_UACCESS_HEADER 1" >>confdefs.h
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12569 $as_echo "yes" >&6; }
12573 $as_echo "$as_me: failed program was:" >&5
12574 sed 's/^/| /' conftest.
$ac_ext >&5
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 $as_echo "no" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kmalloc_node() is available" >&5
12590 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
12593 cat confdefs.h
- <<_ACEOF >conftest.c
12596 #include <linux/slab.h>
12602 void *a __attribute__ ((unused));
12603 a = kmalloc_node(1, GFP_KERNEL, 0);
12612 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12613 echo "obj-m := conftest.o" >build
/Makefile
12615 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12616 if { 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'
12617 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12618 (eval $ac_try) 2>&5
12620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12621 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12622 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12623 (eval $ac_try) 2>&5
12625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12626 test $ac_status = 0; }; }; then :
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12629 $as_echo "yes" >&6; }
12631 $as_echo "#define HAVE_KMALLOC_NODE 1" >>confdefs.h
12635 $as_echo "$as_me: failed program was:" >&5
12636 sed 's/^/| /' conftest.
$ac_ext >&5
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12639 $as_echo "no" >&6; }
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether monotonic_clock() is available" >&5
12649 $as_echo_n "checking whether monotonic_clock() is available... " >&6; }
12653 cat confdefs.h
- <<_ACEOF >conftest.c
12656 #include <linux/timex.h>
12671 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12672 echo "obj-m := conftest.o" >build
/Makefile
12674 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12675 if { 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'
12676 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12677 (eval $ac_try) 2>&5
12679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12680 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12681 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12682 (eval $ac_try) 2>&5
12684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12685 test $ac_status = 0; }; }; then :
12688 $as_echo "$as_me: failed program was:" >&5
12689 sed 's/^/| /' conftest.
$ac_ext >&5
12697 if test $rc -ne 0; then :
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12700 $as_echo "no" >&6; }
12703 if test "x$enable_linux_builtin" != xyes
; then
12705 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
12706 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12708 if test $rc -ne 0; then
12711 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
12712 "$LINUX_OBJ/$file" 2>/dev
/null
12714 if test $rc -eq 0; then
12719 if test $export -eq 0; then :
12729 if test $rc -ne 0; then :
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12732 $as_echo "no" >&6; }
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12737 $as_echo "yes" >&6; }
12739 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct inode has i_mutex" >&5
12748 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
12751 cat confdefs.h
- <<_ACEOF >conftest.c
12754 #include <linux/fs.h>
12755 #include <linux/mutex.h>
12762 mutex_init(&i.i_mutex);
12771 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12772 echo "obj-m := conftest.o" >build
/Makefile
12774 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12775 if { 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'
12776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12777 (eval $ac_try) 2>&5
12779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12780 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12781 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12782 (eval $ac_try) 2>&5
12784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12785 test $ac_status = 0; }; }; then :
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12788 $as_echo "yes" >&6; }
12790 $as_echo "#define HAVE_INODE_I_MUTEX 1" >>confdefs.h
12794 $as_echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.
$ac_ext >&5
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12798 $as_echo "no" >&6; }
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct mutex has owner" >&5
12809 $as_echo_n "checking whether struct mutex has owner... " >&6; }
12812 cat confdefs.h
- <<_ACEOF >conftest.c
12815 #include <linux/mutex.h>
12821 struct mutex mtx __attribute__ ((unused));
12831 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12832 echo "obj-m := conftest.o" >build
/Makefile
12834 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12835 if { 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'
12836 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12837 (eval $ac_try) 2>&5
12839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12840 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12841 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12842 (eval $ac_try) 2>&5
12844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12845 test $ac_status = 0; }; }; then :
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12848 $as_echo "yes" >&6; }
12850 $as_echo "#define HAVE_MUTEX_OWNER 1" >>confdefs.h
12854 $as_echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.
$ac_ext >&5
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12858 $as_echo "no" >&6; }
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct mutex owner is a task_struct" >&5
12869 $as_echo_n "checking whether struct mutex owner is a task_struct... " >&6; }
12870 tmp_flags
="$EXTRA_KCFLAGS"
12871 EXTRA_KCFLAGS
="-Werror"
12874 cat confdefs.h
- <<_ACEOF >conftest.c
12877 #include <linux/mutex.h>
12878 #include <linux/sched.h>
12884 struct mutex mtx __attribute__ ((unused));
12885 mtx.owner = current;
12894 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12895 echo "obj-m := conftest.o" >build
/Makefile
12897 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12898 if { 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'
12899 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12900 (eval $ac_try) 2>&5
12902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12903 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12904 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12905 (eval $ac_try) 2>&5
12907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12908 test $ac_status = 0; }; }; then :
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12911 $as_echo "yes" >&6; }
12913 $as_echo "#define HAVE_MUTEX_OWNER_TASK_STRUCT 1" >>confdefs.h
12917 $as_echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.
$ac_ext >&5
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12921 $as_echo "no" >&6; }
12929 EXTRA_KCFLAGS
="$tmp_flags"
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mutex_lock_nested() is available" >&5
12933 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
12936 cat confdefs.h
- <<_ACEOF >conftest.c
12939 #include <linux/mutex.h>
12945 struct mutex mutex;
12946 mutex_init(&mutex);
12947 mutex_lock_nested(&mutex, 0);
12956 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12957 echo "obj-m := conftest.o" >build
/Makefile
12959 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12960 if { 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'
12961 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12962 (eval $ac_try) 2>&5
12964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12965 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12966 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12967 (eval $ac_try) 2>&5
12969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12970 test $ac_status = 0; }; }; then :
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12973 $as_echo "yes" >&6; }
12975 $as_echo "#define HAVE_MUTEX_LOCK_NESTED 1" >>confdefs.h
12979 $as_echo "$as_me: failed program was:" >&5
12980 sed 's/^/| /' conftest.
$ac_ext >&5
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983 $as_echo "no" >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether on_each_cpu() wants 3 args" >&5
12994 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
12997 cat confdefs.h
- <<_ACEOF >conftest.c
13000 #include <linux/interrupt.h>
13001 #include <linux/smp.h>
13003 void on_each_cpu_func(void *data) { return; }
13009 on_each_cpu(on_each_cpu_func, NULL, 0);
13018 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13019 echo "obj-m := conftest.o" >build
/Makefile
13021 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13022 if { 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'
13023 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13024 (eval $ac_try) 2>&5
13026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13027 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13028 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13029 (eval $ac_try) 2>&5
13031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13032 test $ac_status = 0; }; }; then :
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13035 $as_echo "yes" >&6; }
13037 $as_echo "#define HAVE_3ARGS_ON_EACH_CPU 1" >>confdefs.h
13041 $as_echo "$as_me: failed program was:" >&5
13042 sed 's/^/| /' conftest.
$ac_ext >&5
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13045 $as_echo "no" >&6; }
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kallsyms_lookup_name() is available" >&5
13055 $as_echo_n "checking whether kallsyms_lookup_name() is available... " >&6; }
13059 cat confdefs.h
- <<_ACEOF >conftest.c
13062 #include <linux/kallsyms.h>
13068 kallsyms_lookup_name(NULL);
13077 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13078 echo "obj-m := conftest.o" >build
/Makefile
13080 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13081 if { 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'
13082 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13083 (eval $ac_try) 2>&5
13085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13086 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13087 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13088 (eval $ac_try) 2>&5
13090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13091 test $ac_status = 0; }; }; then :
13094 $as_echo "$as_me: failed program was:" >&5
13095 sed 's/^/| /' conftest.
$ac_ext >&5
13103 if test $rc -ne 0; then :
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13106 $as_echo "no" >&6; }
13109 if test "x$enable_linux_builtin" != xyes
; then
13111 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
13112 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13114 if test $rc -ne 0; then
13117 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
13118 "$LINUX_OBJ/$file" 2>/dev
/null
13120 if test $rc -eq 0; then
13125 if test $export -eq 0; then :
13135 if test $rc -ne 0; then :
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13138 $as_echo "no" >&6; }
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13143 $as_echo "yes" >&6; }
13145 $as_echo "#define HAVE_KALLSYMS_LOOKUP_NAME 1" >>confdefs.h
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether get_vmalloc_info() is available" >&5
13153 $as_echo_n "checking whether get_vmalloc_info() is available... " >&6; }
13155 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
13156 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13158 if test $rc -ne 0; then
13161 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
13162 "$LINUX_OBJ/$file" 2>/dev
/null
13164 if test $rc -eq 0; then
13169 if test $export -eq 0; then :
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13172 $as_echo "no" >&6; }
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13177 $as_echo "yes" >&6; }
13179 $as_echo "#define HAVE_GET_VMALLOC_INFO 1" >>confdefs.h
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13186 $as_echo "yes" >&6; }
13188 $as_echo "#define HAVE_GET_VMALLOC_INFO 1" >>confdefs.h
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol *_pgdat exist" >&5
13196 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
13197 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
13199 if test $rc -eq 0; then
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13201 $as_echo "yes" >&6; }
13203 $as_echo "#define HAVE_PGDAT_HELPERS 1" >>confdefs.h
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13207 $as_echo "no" >&6; }
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether first_online_pgdat() is available" >&5
13211 $as_echo_n "checking whether first_online_pgdat() is available... " >&6; }
13215 cat confdefs.h
- <<_ACEOF >conftest.c
13218 #include <linux/mmzone.h>
13224 first_online_pgdat();
13233 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13234 echo "obj-m := conftest.o" >build
/Makefile
13236 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13237 if { 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'
13238 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13239 (eval $ac_try) 2>&5
13241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13242 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13243 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13244 (eval $ac_try) 2>&5
13246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13247 test $ac_status = 0; }; }; then :
13250 $as_echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.
$ac_ext >&5
13259 if test $rc -ne 0; then :
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13262 $as_echo "no" >&6; }
13265 if test "x$enable_linux_builtin" != xyes
; then
13267 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
13268 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13270 if test $rc -ne 0; then
13273 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
13274 "$LINUX_OBJ/$file" 2>/dev
/null
13276 if test $rc -eq 0; then
13281 if test $export -eq 0; then :
13291 if test $rc -ne 0; then :
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13294 $as_echo "no" >&6; }
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13299 $as_echo "yes" >&6; }
13301 $as_echo "#define HAVE_FIRST_ONLINE_PGDAT 1" >>confdefs.h
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether next_online_pgdat() is available" >&5
13309 $as_echo_n "checking whether next_online_pgdat() is available... " >&6; }
13313 cat confdefs.h
- <<_ACEOF >conftest.c
13316 #include <linux/mmzone.h>
13322 next_online_pgdat(NULL);
13331 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13332 echo "obj-m := conftest.o" >build
/Makefile
13334 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13335 if { 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'
13336 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13337 (eval $ac_try) 2>&5
13339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13340 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13341 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13342 (eval $ac_try) 2>&5
13344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13345 test $ac_status = 0; }; }; then :
13348 $as_echo "$as_me: failed program was:" >&5
13349 sed 's/^/| /' conftest.
$ac_ext >&5
13357 if test $rc -ne 0; then :
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13360 $as_echo "no" >&6; }
13363 if test "x$enable_linux_builtin" != xyes
; then
13365 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
13366 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13368 if test $rc -ne 0; then
13371 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
13372 "$LINUX_OBJ/$file" 2>/dev
/null
13374 if test $rc -eq 0; then
13379 if test $export -eq 0; then :
13389 if test $rc -ne 0; then :
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13392 $as_echo "no" >&6; }
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13397 $as_echo "yes" >&6; }
13399 $as_echo "#define HAVE_NEXT_ONLINE_PGDAT 1" >>confdefs.h
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether next_zone() is available" >&5
13407 $as_echo_n "checking whether next_zone() is available... " >&6; }
13411 cat confdefs.h
- <<_ACEOF >conftest.c
13414 #include <linux/mmzone.h>
13429 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13430 echo "obj-m := conftest.o" >build
/Makefile
13432 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13433 if { 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'
13434 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13435 (eval $ac_try) 2>&5
13437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13438 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13439 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13440 (eval $ac_try) 2>&5
13442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13443 test $ac_status = 0; }; }; then :
13446 $as_echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.
$ac_ext >&5
13455 if test $rc -ne 0; then :
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13458 $as_echo "no" >&6; }
13461 if test "x$enable_linux_builtin" != xyes
; then
13463 grep -q -E '[[:space:]]next_zone[[:space:]]' \
13464 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13466 if test $rc -ne 0; then
13469 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
13470 "$LINUX_OBJ/$file" 2>/dev
/null
13472 if test $rc -eq 0; then
13477 if test $export -eq 0; then :
13487 if test $rc -ne 0; then :
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13490 $as_echo "no" >&6; }
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13495 $as_echo "yes" >&6; }
13497 $as_echo "#define HAVE_NEXT_ZONE 1" >>confdefs.h
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pgdat_list is available" >&5
13505 $as_echo_n "checking whether pgdat_list is available... " >&6; }
13509 cat confdefs.h
- <<_ACEOF >conftest.c
13512 #include <linux/topology.h>
13513 pg_data_t *tmp = pgdat_list;
13526 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13527 echo "obj-m := conftest.o" >build
/Makefile
13529 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13530 if { 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'
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; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13536 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13537 (eval $ac_try) 2>&5
13539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13540 test $ac_status = 0; }; }; then :
13543 $as_echo "$as_me: failed program was:" >&5
13544 sed 's/^/| /' conftest.
$ac_ext >&5
13552 if test $rc -ne 0; then :
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13555 $as_echo "no" >&6; }
13558 if test "x$enable_linux_builtin" != xyes
; then
13560 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
13561 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13563 if test $rc -ne 0; then
13566 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
13567 "$LINUX_OBJ/$file" 2>/dev
/null
13569 if test $rc -eq 0; then
13574 if test $export -eq 0; then :
13584 if test $rc -ne 0; then :
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13587 $as_echo "no" >&6; }
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13592 $as_echo "yes" >&6; }
13594 $as_echo "#define HAVE_PGDAT_LIST 1" >>confdefs.h
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether global_page_state() is available" >&5
13603 $as_echo_n "checking whether global_page_state() is available... " >&6; }
13606 cat confdefs.h
- <<_ACEOF >conftest.c
13609 #include <linux/mm.h>
13615 unsigned long state __attribute__ ((unused));
13616 state = global_page_state(0);
13625 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13626 echo "obj-m := conftest.o" >build
/Makefile
13628 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13629 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13630 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13631 (eval $ac_try) 2>&5
13633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13634 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13635 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13636 (eval $ac_try) 2>&5
13638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13639 test $ac_status = 0; }; }; then :
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13642 $as_echo "yes" >&6; }
13644 $as_echo "#define HAVE_GLOBAL_PAGE_STATE 1" >>confdefs.h
13648 $as_echo "$as_me: failed program was:" >&5
13649 sed 's/^/| /' conftest.
$ac_ext >&5
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13652 $as_echo "no" >&6; }
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_FREE_PAGES is available" >&5
13663 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
13666 cat confdefs.h
- <<_ACEOF >conftest.c
13669 #include <linux/mm.h>
13675 enum zone_stat_item zsi __attribute__ ((unused));
13676 zsi = NR_FREE_PAGES;
13685 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13686 echo "obj-m := conftest.o" >build
/Makefile
13688 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13689 if { 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'
13690 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13691 (eval $ac_try) 2>&5
13693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13694 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13695 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13696 (eval $ac_try) 2>&5
13698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13699 test $ac_status = 0; }; }; then :
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13702 $as_echo "yes" >&6; }
13704 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1" >>confdefs.h
13708 $as_echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.
$ac_ext >&5
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13712 $as_echo "no" >&6; }
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE is available" >&5
13723 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
13726 cat confdefs.h
- <<_ACEOF >conftest.c
13729 #include <linux/mm.h>
13735 enum zone_stat_item zsi __attribute__ ((unused));
13745 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13746 echo "obj-m := conftest.o" >build
/Makefile
13748 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13749 if { 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'
13750 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13751 (eval $ac_try) 2>&5
13753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13754 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13755 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13756 (eval $ac_try) 2>&5
13758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13759 test $ac_status = 0; }; }; then :
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13762 $as_echo "yes" >&6; }
13764 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1" >>confdefs.h
13768 $as_echo "$as_me: failed program was:" >&5
13769 sed 's/^/| /' conftest.
$ac_ext >&5
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13772 $as_echo "no" >&6; }
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE_ANON is available" >&5
13782 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
13785 cat confdefs.h
- <<_ACEOF >conftest.c
13788 #include <linux/mm.h>
13794 enum zone_stat_item zsi __attribute__ ((unused));
13795 zsi = NR_INACTIVE_ANON;
13804 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13805 echo "obj-m := conftest.o" >build
/Makefile
13807 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13808 if { 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'
13809 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13810 (eval $ac_try) 2>&5
13812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13813 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13814 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13815 (eval $ac_try) 2>&5
13817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13818 test $ac_status = 0; }; }; then :
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13821 $as_echo "yes" >&6; }
13823 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1" >>confdefs.h
13827 $as_echo "$as_me: failed program was:" >&5
13828 sed 's/^/| /' conftest.
$ac_ext >&5
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13831 $as_echo "no" >&6; }
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE_FILE is available" >&5
13841 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
13844 cat confdefs.h
- <<_ACEOF >conftest.c
13847 #include <linux/mm.h>
13853 enum zone_stat_item zsi __attribute__ ((unused));
13854 zsi = NR_INACTIVE_FILE;
13863 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13864 echo "obj-m := conftest.o" >build
/Makefile
13866 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13867 if { 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'
13868 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13869 (eval $ac_try) 2>&5
13871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13872 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13873 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13874 (eval $ac_try) 2>&5
13876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13877 test $ac_status = 0; }; }; then :
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13880 $as_echo "yes" >&6; }
13882 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1" >>confdefs.h
13886 $as_echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.
$ac_ext >&5
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13890 $as_echo "no" >&6; }
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE is available" >&5
13901 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
13904 cat confdefs.h
- <<_ACEOF >conftest.c
13907 #include <linux/mm.h>
13913 enum zone_stat_item zsi __attribute__ ((unused));
13923 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13924 echo "obj-m := conftest.o" >build
/Makefile
13926 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13927 if { 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'
13928 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13929 (eval $ac_try) 2>&5
13931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13932 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13933 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13934 (eval $ac_try) 2>&5
13936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13937 test $ac_status = 0; }; }; then :
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13940 $as_echo "yes" >&6; }
13942 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1" >>confdefs.h
13946 $as_echo "$as_me: failed program was:" >&5
13947 sed 's/^/| /' conftest.
$ac_ext >&5
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13950 $as_echo "no" >&6; }
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE_ANON is available" >&5
13960 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
13963 cat confdefs.h
- <<_ACEOF >conftest.c
13966 #include <linux/mm.h>
13972 enum zone_stat_item zsi __attribute__ ((unused));
13973 zsi = NR_ACTIVE_ANON;
13982 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13983 echo "obj-m := conftest.o" >build
/Makefile
13985 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13986 if { 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'
13987 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13988 (eval $ac_try) 2>&5
13990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13991 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13992 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13993 (eval $ac_try) 2>&5
13995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13996 test $ac_status = 0; }; }; then :
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13999 $as_echo "yes" >&6; }
14001 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1" >>confdefs.h
14005 $as_echo "$as_me: failed program was:" >&5
14006 sed 's/^/| /' conftest.
$ac_ext >&5
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14009 $as_echo "no" >&6; }
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE_FILE is available" >&5
14019 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
14022 cat confdefs.h
- <<_ACEOF >conftest.c
14025 #include <linux/mm.h>
14031 enum zone_stat_item zsi __attribute__ ((unused));
14032 zsi = NR_ACTIVE_FILE;
14041 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14042 echo "obj-m := conftest.o" >build
/Makefile
14044 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14045 if { 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'
14046 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14047 (eval $ac_try) 2>&5
14049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14050 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14051 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14052 (eval $ac_try) 2>&5
14054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14055 test $ac_status = 0; }; }; then :
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14058 $as_echo "yes" >&6; }
14060 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1" >>confdefs.h
14064 $as_echo "$as_me: failed program was:" >&5
14065 sed 's/^/| /' conftest.
$ac_ext >&5
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14068 $as_echo "no" >&6; }
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol get_zone_counts is needed" >&5
14079 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
14082 cat confdefs.h
- <<_ACEOF >conftest.c
14090 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
14091 #error "global_page_state needs NR_FREE_PAGES"
14094 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
14095 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
14096 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
14097 #error "global_page_state needs NR_ACTIVE*"
14100 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
14101 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
14102 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
14103 #error "global_page_state needs NR_INACTIVE*"
14113 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14114 echo "obj-m := conftest.o" >build
/Makefile
14116 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14117 if { 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'
14118 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14119 (eval $ac_try) 2>&5
14121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14122 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14123 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14124 (eval $ac_try) 2>&5
14126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14127 test $ac_status = 0; }; }; then :
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14130 $as_echo "no" >&6; }
14133 $as_echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.
$ac_ext >&5
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14137 $as_echo "yes" >&6; }
14139 $as_echo "#define NEED_GET_ZONE_COUNTS 1" >>confdefs.h
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether get_zone_counts() is available" >&5
14143 $as_echo_n "checking whether get_zone_counts() is available... " >&6; }
14147 cat confdefs.h
- <<_ACEOF >conftest.c
14150 #include <linux/mmzone.h>
14156 get_zone_counts(NULL, NULL, NULL);
14165 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14166 echo "obj-m := conftest.o" >build
/Makefile
14168 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14169 if { 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'
14170 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14171 (eval $ac_try) 2>&5
14173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14174 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14175 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14176 (eval $ac_try) 2>&5
14178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14179 test $ac_status = 0; }; }; then :
14182 $as_echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14191 if test $rc -ne 0; then :
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14194 $as_echo "no" >&6; }
14197 if test "x$enable_linux_builtin" != xyes
; then
14199 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
14200 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14202 if test $rc -ne 0; then
14205 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
14206 "$LINUX_OBJ/$file" 2>/dev
/null
14208 if test $rc -eq 0; then
14213 if test $export -eq 0; then :
14223 if test $rc -ne 0; then :
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14226 $as_echo "no" >&6; }
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14231 $as_echo "yes" >&6; }
14233 $as_echo "#define HAVE_GET_ZONE_COUNTS 1" >>confdefs.h
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether user_path_dir() is available" >&5
14248 $as_echo_n "checking whether user_path_dir() is available... " >&6; }
14252 cat confdefs.h
- <<_ACEOF >conftest.c
14255 #include <linux/fcntl.h>
14256 #include <linux/namei.h>
14262 user_path_dir(NULL, NULL);
14271 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14272 echo "obj-m := conftest.o" >build
/Makefile
14274 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14275 if { 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'
14276 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14277 (eval $ac_try) 2>&5
14279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14280 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14281 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14282 (eval $ac_try) 2>&5
14284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14285 test $ac_status = 0; }; }; then :
14288 $as_echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.
$ac_ext >&5
14297 if test $rc -ne 0; then :
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14300 $as_echo "no" >&6; }
14303 if test "x$enable_linux_builtin" != xyes
; then
14305 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
14306 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14308 if test $rc -ne 0; then
14311 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
14312 "$LINUX_OBJ/$file" 2>/dev
/null
14314 if test $rc -eq 0; then
14319 if test $export -eq 0; then :
14329 if test $rc -ne 0; then :
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14332 $as_echo "no" >&6; }
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14337 $as_echo "yes" >&6; }
14339 $as_echo "#define HAVE_USER_PATH_DIR 1" >>confdefs.h
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() is available" >&5
14347 $as_echo_n "checking whether set_fs_pwd() is available... " >&6; }
14351 cat confdefs.h
- <<_ACEOF >conftest.c
14354 #include <linux/spinlock.h>
14355 #include <linux/fs_struct.h>
14370 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14371 echo "obj-m := conftest.o" >build
/Makefile
14373 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14374 if { 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'
14375 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14376 (eval $ac_try) 2>&5
14378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14379 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14380 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14381 (eval $ac_try) 2>&5
14383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14384 test $ac_status = 0; }; }; then :
14387 $as_echo "$as_me: failed program was:" >&5
14388 sed 's/^/| /' conftest.
$ac_ext >&5
14396 if test $rc -ne 0; then :
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14399 $as_echo "no" >&6; }
14402 if test "x$enable_linux_builtin" != xyes
; then
14404 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
14405 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14407 if test $rc -ne 0; then
14410 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
14411 "$LINUX_OBJ/$file" 2>/dev
/null
14413 if test $rc -eq 0; then
14418 if test $export -eq 0; then :
14428 if test $rc -ne 0; then :
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14431 $as_echo "no" >&6; }
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14436 $as_echo "yes" >&6; }
14438 $as_echo "#define HAVE_SET_FS_PWD 1" >>confdefs.h
14445 tmp_flags
="$EXTRA_KCFLAGS"
14446 EXTRA_KCFLAGS
="-Werror"
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
14448 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
14451 cat confdefs.h
- <<_ACEOF >conftest.c
14454 #include <linux/spinlock.h>
14455 #include <linux/fs_struct.h>
14456 #include <linux/path.h>
14457 void (*const set_fs_pwd_func)
14458 (struct fs_struct *, const struct path *)
14474 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14475 echo "obj-m := conftest.o" >build
/Makefile
14477 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14478 if { 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'
14479 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14480 (eval $ac_try) 2>&5
14482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14483 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14484 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14485 (eval $ac_try) 2>&5
14487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14488 test $ac_status = 0; }; }; then :
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14491 $as_echo "yes" >&6; }
14493 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
14497 $as_echo "$as_me: failed program was:" >&5
14498 sed 's/^/| /' conftest.
$ac_ext >&5
14502 cat confdefs.h
- <<_ACEOF >conftest.c
14505 #include <linux/spinlock.h>
14506 #include <linux/fs_struct.h>
14507 #include <linux/path.h>
14508 void (*const set_fs_pwd_func)
14509 (struct fs_struct *, struct path *)
14525 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14526 echo "obj-m := conftest.o" >build
/Makefile
14528 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14529 if { 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'
14530 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14531 (eval $ac_try) 2>&5
14533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14534 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14535 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14536 (eval $ac_try) 2>&5
14538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14539 test $ac_status = 0; }; }; then :
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14542 $as_echo "no" >&6; }
14545 $as_echo "$as_me: failed program was:" >&5
14546 sed 's/^/| /' conftest.
$ac_ext >&5
14548 as_fn_error $?
"unknown" "$LINENO" 5
14563 EXTRA_KCFLAGS
="$tmp_flags"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
14566 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
14569 cat confdefs.h
- <<_ACEOF >conftest.c
14572 #include <linux/fs.h>
14578 vfs_unlink(NULL, NULL);
14587 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14588 echo "obj-m := conftest.o" >build
/Makefile
14590 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14591 if { 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'
14592 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14593 (eval $ac_try) 2>&5
14595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14596 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14597 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14598 (eval $ac_try) 2>&5
14600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14601 test $ac_status = 0; }; }; then :
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14604 $as_echo "yes" >&6; }
14606 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
14610 $as_echo "$as_me: failed program was:" >&5
14611 sed 's/^/| /' conftest.
$ac_ext >&5
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14614 $as_echo "no" >&6; }
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
14624 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
14627 cat confdefs.h
- <<_ACEOF >conftest.c
14630 #include <linux/fs.h>
14636 vfs_rename(NULL, NULL, NULL, NULL);
14645 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14646 echo "obj-m := conftest.o" >build
/Makefile
14648 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14649 if { 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'
14650 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14651 (eval $ac_try) 2>&5
14653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14654 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14655 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14656 (eval $ac_try) 2>&5
14658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14659 test $ac_status = 0; }; }; then :
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14662 $as_echo "yes" >&6; }
14664 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
14668 $as_echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.
$ac_ext >&5
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14672 $as_echo "no" >&6; }
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() is available" >&5
14682 $as_echo_n "checking whether vfs_fsync() is available... " >&6; }
14686 cat confdefs.h
- <<_ACEOF >conftest.c
14689 #include <linux/fs.h>
14704 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14705 echo "obj-m := conftest.o" >build
/Makefile
14707 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14708 if { 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'
14709 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14710 (eval $ac_try) 2>&5
14712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14713 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14714 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14715 (eval $ac_try) 2>&5
14717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14718 test $ac_status = 0; }; }; then :
14721 $as_echo "$as_me: failed program was:" >&5
14722 sed 's/^/| /' conftest.
$ac_ext >&5
14730 if test $rc -ne 0; then :
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14733 $as_echo "no" >&6; }
14736 if test "x$enable_linux_builtin" != xyes
; then
14738 grep -q -E '[[:space:]]vfs_fsync[[:space:]]' \
14739 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14741 if test $rc -ne 0; then
14743 for file in fs
/sync.c
; do
14744 grep -q -E "EXPORT_SYMBOL.*(vfs_fsync)" \
14745 "$LINUX_OBJ/$file" 2>/dev
/null
14747 if test $rc -eq 0; then
14752 if test $export -eq 0; then :
14762 if test $rc -ne 0; then :
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14765 $as_echo "no" >&6; }
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14770 $as_echo "yes" >&6; }
14772 $as_echo "#define HAVE_VFS_FSYNC 1" >>confdefs.h
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
14781 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
14784 cat confdefs.h
- <<_ACEOF >conftest.c
14787 #include <linux/fs.h>
14793 vfs_fsync(NULL, 0);
14802 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14803 echo "obj-m := conftest.o" >build
/Makefile
14805 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14806 if { 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'
14807 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14808 (eval $ac_try) 2>&5
14810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14811 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14812 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14813 (eval $ac_try) 2>&5
14815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14816 test $ac_status = 0; }; }; then :
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14819 $as_echo "yes" >&6; }
14821 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
14825 $as_echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.
$ac_ext >&5
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14829 $as_echo "no" >&6; }
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
14840 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
14843 cat confdefs.h
- <<_ACEOF >conftest.c
14846 #include <linux/fs.h>
14852 struct inode_operations ops;
14853 ops.truncate_range = NULL;
14862 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14863 echo "obj-m := conftest.o" >build
/Makefile
14865 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14866 if { 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'
14867 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14868 (eval $ac_try) 2>&5
14870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14871 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14872 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14873 (eval $ac_try) 2>&5
14875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14876 test $ac_status = 0; }; }; then :
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14879 $as_echo "yes" >&6; }
14881 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
14885 $as_echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.
$ac_ext >&5
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14889 $as_echo "no" >&6; }
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
14900 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
14901 tmp_flags
="$EXTRA_KCFLAGS"
14902 EXTRA_KCFLAGS
="-Werror"
14905 cat confdefs.h
- <<_ACEOF >conftest.c
14908 #include <linux/sched.h>
14909 #include <linux/fs_struct.h>
14915 struct fs_struct fs;
14916 spin_lock_init(&fs.lock);
14925 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14926 echo "obj-m := conftest.o" >build
/Makefile
14928 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14929 if { 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'
14930 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14931 (eval $ac_try) 2>&5
14933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14934 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14935 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14936 (eval $ac_try) 2>&5
14938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14939 test $ac_status = 0; }; }; then :
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14942 $as_echo "yes" >&6; }
14944 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
14948 $as_echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.
$ac_ext >&5
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14952 $as_echo "no" >&6; }
14960 EXTRA_KCFLAGS
="$tmp_flags"
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct cred exists" >&5
14964 $as_echo_n "checking whether struct cred exists... " >&6; }
14967 cat confdefs.h
- <<_ACEOF >conftest.c
14970 #include <linux/cred.h>
14976 struct cred *cr __attribute__ ((unused));
14986 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14987 echo "obj-m := conftest.o" >build
/Makefile
14989 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14990 if { 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'
14991 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14992 (eval $ac_try) 2>&5
14994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14995 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14996 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14997 (eval $ac_try) 2>&5
14999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15000 test $ac_status = 0; }; }; then :
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15003 $as_echo "yes" >&6; }
15005 $as_echo "#define HAVE_CRED_STRUCT 1" >>confdefs.h
15009 $as_echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.
$ac_ext >&5
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15013 $as_echo "no" >&6; }
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether groups_search() is available" >&5
15023 $as_echo_n "checking whether groups_search() is available... " >&6; }
15027 cat confdefs.h
- <<_ACEOF >conftest.c
15030 #include <linux/cred.h>
15036 groups_search(NULL, 0);
15045 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15046 echo "obj-m := conftest.o" >build
/Makefile
15048 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15049 if { 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'
15050 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15051 (eval $ac_try) 2>&5
15053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15054 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15055 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15056 (eval $ac_try) 2>&5
15058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15059 test $ac_status = 0; }; }; then :
15062 $as_echo "$as_me: failed program was:" >&5
15063 sed 's/^/| /' conftest.
$ac_ext >&5
15071 if test $rc -ne 0; then :
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15074 $as_echo "no" >&6; }
15077 if test "x$enable_linux_builtin" != xyes
; then
15079 grep -q -E '[[:space:]]groups_search[[:space:]]' \
15080 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15082 if test $rc -ne 0; then
15085 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
15086 "$LINUX_OBJ/$file" 2>/dev
/null
15088 if test $rc -eq 0; then
15093 if test $export -eq 0; then :
15103 if test $rc -ne 0; then :
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15106 $as_echo "no" >&6; }
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15111 $as_echo "yes" >&6; }
15113 $as_echo "#define HAVE_GROUPS_SEARCH 1" >>confdefs.h
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __put_task_struct() is available" >&5
15121 $as_echo_n "checking whether __put_task_struct() is available... " >&6; }
15125 cat confdefs.h
- <<_ACEOF >conftest.c
15128 #include <linux/sched.h>
15134 __put_task_struct(NULL);
15143 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15144 echo "obj-m := conftest.o" >build
/Makefile
15146 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15147 if { 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'
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; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15153 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15154 (eval $ac_try) 2>&5
15156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15157 test $ac_status = 0; }; }; then :
15160 $as_echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.
$ac_ext >&5
15169 if test $rc -ne 0; then :
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15172 $as_echo "no" >&6; }
15175 if test "x$enable_linux_builtin" != xyes
; then
15177 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
15178 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15180 if test $rc -ne 0; then
15183 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
15184 "$LINUX_OBJ/$file" 2>/dev
/null
15186 if test $rc -eq 0; then
15191 if test $export -eq 0; then :
15201 if test $rc -ne 0; then :
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15204 $as_echo "no" >&6; }
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15209 $as_echo "yes" >&6; }
15211 $as_echo "#define HAVE_PUT_TASK_STRUCT 1" >>confdefs.h
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether proc_handler() wants 5 args" >&5
15220 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
15223 cat confdefs.h
- <<_ACEOF >conftest.c
15226 #include <linux/sysctl.h>
15232 proc_dostring(NULL, 0, NULL, NULL, NULL);
15241 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15242 echo "obj-m := conftest.o" >build
/Makefile
15244 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15245 if { 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'
15246 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15247 (eval $ac_try) 2>&5
15249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15250 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15251 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15252 (eval $ac_try) 2>&5
15254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15255 test $ac_status = 0; }; }; then :
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15258 $as_echo "yes" >&6; }
15260 $as_echo "#define HAVE_5ARGS_PROC_HANDLER 1" >>confdefs.h
15264 $as_echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.
$ac_ext >&5
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15268 $as_echo "no" >&6; }
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kvasprintf() is available" >&5
15278 $as_echo_n "checking whether kvasprintf() is available... " >&6; }
15282 cat confdefs.h
- <<_ACEOF >conftest.c
15285 #include <linux/kernel.h>
15291 kvasprintf(0, NULL, *((va_list*)NULL));
15300 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15301 echo "obj-m := conftest.o" >build
/Makefile
15303 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15304 if { 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'
15305 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15306 (eval $ac_try) 2>&5
15308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15309 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15310 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15311 (eval $ac_try) 2>&5
15313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15314 test $ac_status = 0; }; }; then :
15317 $as_echo "$as_me: failed program was:" >&5
15318 sed 's/^/| /' conftest.
$ac_ext >&5
15326 if test $rc -ne 0; then :
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15329 $as_echo "no" >&6; }
15332 if test "x$enable_linux_builtin" != xyes
; then
15334 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
15335 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15337 if test $rc -ne 0; then
15340 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
15341 "$LINUX_OBJ/$file" 2>/dev
/null
15343 if test $rc -eq 0; then
15348 if test $export -eq 0; then :
15358 if test $rc -ne 0; then :
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15361 $as_echo "no" >&6; }
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15366 $as_echo "yes" >&6; }
15368 $as_echo "#define HAVE_KVASPRINTF 1" >>confdefs.h
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rwsem_is_locked() acquires sem->wait_lock" >&5
15376 $as_echo_n "checking whether rwsem_is_locked() acquires sem->wait_lock... " >&6; }
15380 cat confdefs.h
- <<_ACEOF >conftest.c
15383 #include <linux/rwsem.h>
15384 int rwsem_is_locked(struct rw_semaphore *sem) { return 0; }
15397 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15398 echo "obj-m := conftest.o" >build
/Makefile
15400 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15401 if { 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'
15402 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15403 (eval $ac_try) 2>&5
15405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15406 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15407 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15408 (eval $ac_try) 2>&5
15410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15411 test $ac_status = 0; }; }; then :
15414 $as_echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.
$ac_ext >&5
15423 if test $rc -ne 0; then :
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15426 $as_echo "no" >&6; }
15429 if test "x$enable_linux_builtin" != xyes
; then
15431 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
15432 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15434 if test $rc -ne 0; then
15436 for file in lib
/rwsem-spinlock.c
; do
15437 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
15438 "$LINUX_OBJ/$file" 2>/dev
/null
15440 if test $rc -eq 0; then
15445 if test $export -eq 0; then :
15455 if test $rc -ne 0; then :
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15458 $as_echo "no" >&6; }
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15463 $as_echo "yes" >&6; }
15465 $as_echo "#define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1" >>confdefs.h
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
15475 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
15478 cat confdefs.h
- <<_ACEOF >conftest.c
15481 #include <linux/fs.h>
15487 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
15488 struct file_operations fops __attribute__ ((unused)) = {
15489 .fallocate = fallocate,
15499 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15500 echo "obj-m := conftest.o" >build
/Makefile
15502 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15503 if { 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'
15504 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15505 (eval $ac_try) 2>&5
15507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15508 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15509 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15510 (eval $ac_try) 2>&5
15512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15513 test $ac_status = 0; }; }; then :
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15516 $as_echo "yes" >&6; }
15518 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
15522 $as_echo "$as_me: failed program was:" >&5
15523 sed 's/^/| /' conftest.
$ac_ext >&5
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15526 $as_echo "no" >&6; }
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
15537 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
15540 cat confdefs.h
- <<_ACEOF >conftest.c
15543 #include <linux/fs.h>
15549 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
15550 struct inode_operations fops __attribute__ ((unused)) = {
15551 .fallocate = fallocate,
15561 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15562 echo "obj-m := conftest.o" >build
/Makefile
15564 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15565 if { 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'
15566 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15567 (eval $ac_try) 2>&5
15569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15570 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15571 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15572 (eval $ac_try) 2>&5
15574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15575 test $ac_status = 0; }; }; then :
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15578 $as_echo "yes" >&6; }
15580 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
15584 $as_echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.
$ac_ext >&5
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15588 $as_echo "no" >&6; }
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
15599 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
15602 cat confdefs.h
- <<_ACEOF >conftest.c
15605 #include <linux/fs.h>
15611 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
15612 struct file_operations_no_const fops __attribute__ ((unused)) = {
15613 .fallocate = fallocate,
15623 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15624 echo "obj-m := conftest.o" >build
/Makefile
15626 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15627 if { 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'
15628 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15629 (eval $ac_try) 2>&5
15631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15632 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15633 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15634 (eval $ac_try) 2>&5
15636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637 test $ac_status = 0; }; }; then :
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15640 $as_echo "yes" >&6; }
15642 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
15646 $as_echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.
$ac_ext >&5
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15650 $as_echo "no" >&6; }
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrink_dcache_memory() is available" >&5
15661 $as_echo_n "checking whether shrink_dcache_memory() is available... " >&6; }
15665 cat confdefs.h
- <<_ACEOF >conftest.c
15668 #include <linux/dcache.h>
15674 shrink_dcache_memory(0, 0);
15683 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15684 echo "obj-m := conftest.o" >build
/Makefile
15686 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15687 if { 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'
15688 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15689 (eval $ac_try) 2>&5
15691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15692 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15693 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15694 (eval $ac_try) 2>&5
15696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15697 test $ac_status = 0; }; }; then :
15700 $as_echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.
$ac_ext >&5
15709 if test $rc -ne 0; then :
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15712 $as_echo "no" >&6; }
15715 if test "x$enable_linux_builtin" != xyes
; then
15717 grep -q -E '[[:space:]]shrink_dcache_memory[[:space:]]' \
15718 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15720 if test $rc -ne 0; then
15722 for file in fs
/dcache.c
; do
15723 grep -q -E "EXPORT_SYMBOL.*(shrink_dcache_memory)" \
15724 "$LINUX_OBJ/$file" 2>/dev
/null
15726 if test $rc -eq 0; then
15731 if test $export -eq 0; then :
15741 if test $rc -ne 0; then :
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15744 $as_echo "no" >&6; }
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15749 $as_echo "yes" >&6; }
15751 $as_echo "#define HAVE_SHRINK_DCACHE_MEMORY 1" >>confdefs.h
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrink_icache_memory() is available" >&5
15759 $as_echo_n "checking whether shrink_icache_memory() is available... " >&6; }
15763 cat confdefs.h
- <<_ACEOF >conftest.c
15766 #include <linux/dcache.h>
15772 shrink_icache_memory(0, 0);
15781 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15782 echo "obj-m := conftest.o" >build
/Makefile
15784 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15785 if { 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'
15786 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15787 (eval $ac_try) 2>&5
15789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15790 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15791 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15792 (eval $ac_try) 2>&5
15794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15795 test $ac_status = 0; }; }; then :
15798 $as_echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.
$ac_ext >&5
15807 if test $rc -ne 0; then :
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15810 $as_echo "no" >&6; }
15813 if test "x$enable_linux_builtin" != xyes
; then
15815 grep -q -E '[[:space:]]shrink_icache_memory[[:space:]]' \
15816 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15818 if test $rc -ne 0; then
15820 for file in fs
/inode.c
; do
15821 grep -q -E "EXPORT_SYMBOL.*(shrink_icache_memory)" \
15822 "$LINUX_OBJ/$file" 2>/dev
/null
15824 if test $rc -eq 0; then
15829 if test $export -eq 0; then :
15839 if test $rc -ne 0; then :
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15842 $as_echo "no" >&6; }
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15847 $as_echo "yes" >&6; }
15849 $as_echo "#define HAVE_SHRINK_ICACHE_MEMORY 1" >>confdefs.h
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol kern_path_parent exists in header" >&5
15859 $as_echo_n "checking whether symbol kern_path_parent exists in header... " >&6; }
15861 for file in include
/linux
/namei.h
; do
15862 grep -q "int kern_path_parent(const char \*, struct nameidata \*)" "$LINUX/$file" 2>/dev
/null
15864 if test $rc -eq 0; then
15869 if test $header -eq 0; then
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15871 $as_echo "no" >&6; }
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15875 $as_echo "yes" >&6; }
15877 $as_echo "#define HAVE_KERN_PATH_PARENT_HEADER 1" >>confdefs.h
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kern_path_parent() is available" >&5
15883 $as_echo_n "checking whether kern_path_parent() is available... " >&6; }
15887 cat confdefs.h
- <<_ACEOF >conftest.c
15890 #include <linux/namei.h>
15896 kern_path_parent(NULL, NULL);
15905 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15906 echo "obj-m := conftest.o" >build
/Makefile
15908 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15909 if { 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'
15910 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15911 (eval $ac_try) 2>&5
15913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15914 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15915 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15916 (eval $ac_try) 2>&5
15918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15919 test $ac_status = 0; }; }; then :
15922 $as_echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.
$ac_ext >&5
15931 if test $rc -ne 0; then :
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15934 $as_echo "no" >&6; }
15937 if test "x$enable_linux_builtin" != xyes
; then
15939 grep -q -E '[[:space:]]kern_path_parent[[:space:]]' \
15940 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15942 if test $rc -ne 0; then
15944 for file in fs
/namei.c
; do
15945 grep -q -E "EXPORT_SYMBOL.*(kern_path_parent)" \
15946 "$LINUX_OBJ/$file" 2>/dev
/null
15948 if test $rc -eq 0; then
15953 if test $export -eq 0; then :
15963 if test $rc -ne 0; then :
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15966 $as_echo "no" >&6; }
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15971 $as_echo "yes" >&6; }
15973 $as_echo "#define HAVE_KERN_PATH_PARENT_SYMBOL 1" >>confdefs.h
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol kern_path_locked exists in header" >&5
15983 $as_echo_n "checking whether symbol kern_path_locked exists in header... " >&6; }
15985 for file in include
/linux
/namei.h
; do
15986 grep -q "struct dentry \*kern_path_locked(const char \*, struct path \*)" "$LINUX/$file" 2>/dev
/null
15988 if test $rc -eq 0; then
15993 if test $header -eq 0; then
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15995 $as_echo "no" >&6; }
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15999 $as_echo "yes" >&6; }
16001 $as_echo "#define HAVE_KERN_PATH_LOCKED 1" >>confdefs.h
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_KALLSYMS is defined" >&5
16008 $as_echo_n "checking whether CONFIG_KALLSYMS is defined... " >&6; }
16011 cat confdefs.h
- <<_ACEOF >conftest.c
16014 #if !defined(CONFIG_KALLSYMS)
16015 #error CONFIG_KALLSYMS not defined
16029 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16030 echo "obj-m := conftest.o" >build
/Makefile
16032 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16033 if { 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'
16034 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16035 (eval $ac_try) 2>&5
16037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16038 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16039 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16040 (eval $ac_try) 2>&5
16042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16043 test $ac_status = 0; }; }; then :
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16046 $as_echo "yes" >&6; }
16049 $as_echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.
$ac_ext >&5
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16053 $as_echo "no" >&6; }
16055 *** This kernel does not include the required kallsyms support.
16056 *** Rebuild the kernel with CONFIG_KALLSYMS=y set." "$LINENO" 5
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
16067 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
16070 cat confdefs.h
- <<_ACEOF >conftest.c
16073 #if !defined(CONFIG_ZLIB_INFLATE) && \
16074 !defined(CONFIG_ZLIB_INFLATE_MODULE)
16075 #error CONFIG_ZLIB_INFLATE not defined
16089 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16090 echo "obj-m := conftest.o" >build
/Makefile
16092 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16093 if { 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'
16094 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16095 (eval $ac_try) 2>&5
16097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16098 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16099 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16100 (eval $ac_try) 2>&5
16102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16103 test $ac_status = 0; }; }; then :
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16106 $as_echo "yes" >&6; }
16109 $as_echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.
$ac_ext >&5
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16113 $as_echo "no" >&6; }
16115 *** This kernel does not include the required zlib inflate support.
16116 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
16127 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
16130 cat confdefs.h
- <<_ACEOF >conftest.c
16133 #if !defined(CONFIG_ZLIB_DEFLATE) && \
16134 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
16135 #error CONFIG_ZLIB_DEFLATE not defined
16149 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16150 echo "obj-m := conftest.o" >build
/Makefile
16152 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16153 if { 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'
16154 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16155 (eval $ac_try) 2>&5
16157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16158 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16159 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16160 (eval $ac_try) 2>&5
16162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16163 test $ac_status = 0; }; }; then :
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16166 $as_echo "yes" >&6; }
16169 $as_echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.
$ac_ext >&5
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16173 $as_echo "no" >&6; }
16175 *** This kernel does not include the required zlib deflate support.
16176 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
16186 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
16189 cat confdefs.h
- <<_ACEOF >conftest.c
16192 #include <linux/zlib.h>
16198 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
16207 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16208 echo "obj-m := conftest.o" >build
/Makefile
16210 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16211 if { 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'
16212 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16213 (eval $ac_try) 2>&5
16215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16216 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16217 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16218 (eval $ac_try) 2>&5
16220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16221 test $ac_status = 0; }; }; then :
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16224 $as_echo "yes" >&6; }
16226 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
16230 $as_echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.
$ac_ext >&5
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16234 $as_echo "no" >&6; }
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
16245 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
16248 cat confdefs.h
- <<_ACEOF >conftest.c
16251 #include <linux/mm.h>
16257 struct shrink_control sc __attribute__ ((unused));
16260 sc.gfp_mask = GFP_KERNEL;
16269 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16270 echo "obj-m := conftest.o" >build
/Makefile
16272 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16273 if { 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'
16274 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16275 (eval $ac_try) 2>&5
16277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16278 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16279 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16280 (eval $ac_try) 2>&5
16282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16283 test $ac_status = 0; }; }; then :
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16286 $as_echo "yes" >&6; }
16288 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
16292 $as_echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.
$ac_ext >&5
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16296 $as_echo "no" >&6; }
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
16307 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
16308 tmp_flags
="$EXTRA_KCFLAGS"
16309 EXTRA_KCFLAGS
="-Werror"
16312 cat confdefs.h
- <<_ACEOF >conftest.c
16315 #include <linux/rwsem.h>
16321 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
16322 raw_spinlock_t dummy_lock __attribute__ ((unused));
16323 dummy_semaphore.wait_lock = dummy_lock;
16332 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16333 echo "obj-m := conftest.o" >build
/Makefile
16335 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16336 if { 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'
16337 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16338 (eval $ac_try) 2>&5
16340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16341 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16342 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16343 (eval $ac_try) 2>&5
16345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16346 test $ac_status = 0; }; }; then :
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16349 $as_echo "yes" >&6; }
16351 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
16355 $as_echo "$as_me: failed program was:" >&5
16356 sed 's/^/| /' conftest.
$ac_ext >&5
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16359 $as_echo "no" >&6; }
16367 EXTRA_KCFLAGS
="$tmp_flags"
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
16370 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
16373 cat confdefs.h
- <<_ACEOF >conftest.c
16376 #include <linux/sched.h>
16377 #include <linux/sched/rt.h>
16392 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16393 echo "obj-m := conftest.o" >build
/Makefile
16395 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16396 if { 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'
16397 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16398 (eval $ac_try) 2>&5
16400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16401 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16402 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16403 (eval $ac_try) 2>&5
16405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16406 test $ac_status = 0; }; }; then :
16409 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16412 $as_echo "yes" >&6; }
16415 $as_echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.
$ac_ext >&5
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16419 $as_echo "no" >&6; }
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants" >&5
16430 $as_echo_n "checking whether vfs_getattr() wants... " >&6; }
16433 cat confdefs.h
- <<_ACEOF >conftest.c
16436 #include <linux/fs.h>
16442 vfs_getattr((struct path *) NULL,
16443 (struct kstat *)NULL);
16452 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16453 echo "obj-m := conftest.o" >build
/Makefile
16455 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16456 if { 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'
16457 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16458 (eval $ac_try) 2>&5
16460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16461 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16462 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16463 (eval $ac_try) 2>&5
16465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16466 test $ac_status = 0; }; }; then :
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2 args" >&5
16469 $as_echo "2 args" >&6; }
16471 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
16475 $as_echo "$as_me: failed program was:" >&5
16476 sed 's/^/| /' conftest.
$ac_ext >&5
16480 cat confdefs.h
- <<_ACEOF >conftest.c
16483 #include <linux/fs.h>
16489 vfs_getattr((struct vfsmount *)NULL,
16490 (struct dentry *)NULL,
16491 (struct kstat *)NULL);
16500 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16501 echo "obj-m := conftest.o" >build
/Makefile
16503 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16504 if { 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'
16505 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16506 (eval $ac_try) 2>&5
16508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16509 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16510 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16511 (eval $ac_try) 2>&5
16513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16514 test $ac_status = 0; }; }; then :
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3 args" >&5
16517 $as_echo "3 args" >&6; }
16520 $as_echo "$as_me: failed program was:" >&5
16521 sed 's/^/| /' conftest.
$ac_ext >&5
16523 as_fn_error $?
"unknown" "$LINENO" 5
16544 # Check whether --with-linux was given.
16545 if test "${with_linux+set}" = set; then :
16546 withval
=$with_linux; kernelsrc
="$withval"
16551 # Check whether --with-linux-obj was given.
16552 if test "${with_linux_obj+set}" = set; then :
16553 withval
=$with_linux_obj; kernelbuild
="$withval"
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
16558 $as_echo_n "checking kernel source directory... " >&6; }
16559 if test -z "$kernelsrc"; then
16560 if test -e "/lib/modules/$(uname -r)/source"; then
16561 headersdir
="/lib/modules/$(uname -r)/source"
16562 sourcelink
=$
(readlink
-f "$headersdir")
16563 elif test -e "/lib/modules/$(uname -r)/build"; then
16564 headersdir
="/lib/modules/$(uname -r)/build"
16565 sourcelink
=$
(readlink
-f "$headersdir")
16567 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
16569 2>/dev
/null |
grep -v obj |
tail -1)
16572 if test -n "$sourcelink" && test -e ${sourcelink}; then
16573 kernelsrc
=`readlink -f ${sourcelink}`
16575 kernelsrc
="Not found"
16578 if test "$kernelsrc" = "NONE"; then
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
16584 $as_echo "$kernelsrc" >&6; }
16585 if test ! -d "$kernelsrc"; then
16587 *** Please make sure the kernel devel package for your distribution
16588 *** is installed then try again. If that fails you can specify the
16589 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
16593 $as_echo_n "checking kernel build directory... " >&6; }
16594 if test -z "$kernelbuild"; then
16595 if test -e "/lib/modules/$(uname -r)/build"; then
16596 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
16597 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
16598 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
16599 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
16600 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
16601 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
16602 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
16604 kernelbuild
=${kernelsrc}
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
16608 $as_echo "$kernelbuild" >&6; }
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
16611 $as_echo_n "checking kernel source version... " >&6; }
16612 utsrelease1
=$kernelbuild/include
/linux
/version.h
16613 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
16614 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
16615 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
16616 utsrelease
=linux
/version.h
16617 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
16618 utsrelease
=linux
/utsrelease.h
16619 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
16620 utsrelease
=generated
/utsrelease.h
16623 if test "$utsrelease"; then
16624 kernsrcver
=`(echo "#include <$utsrelease>";
16625 echo "kernsrcver=UTS_RELEASE") |
16626 cpp -I $kernelbuild/include |
16627 grep "^kernsrcver=" | cut -d \" -f 2`
16629 if test -z "$kernsrcver"; then
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
16631 $as_echo "Not found" >&6; }
16632 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
16636 $as_echo "Not found" >&6; }
16637 if test "x$enable_linux_builtin" != xyes
; then
16638 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
16641 *** Cannot find UTS_RELEASE definition.
16642 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
16647 $as_echo "$kernsrcver" >&6; }
16650 LINUX_OBJ
=${kernelbuild}
16651 LINUX_VERSION
=${kernsrcver}
16658 modpost
=$LINUX/scripts
/Makefile.modpost
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
16660 $as_echo_n "checking kernel file name for module symbols... " >&6; }
16661 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
16662 if grep -q Modules.symvers
$modpost; then
16663 LINUX_SYMBOLS
=Modules.symvers
16665 LINUX_SYMBOLS
=Module.symvers
16668 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
16670 *** Please make sure the kernel devel package for your distribution
16671 *** is installed. If your building with a custom kernel make sure the
16672 *** kernel is configured, built, and the '--with-linux=PATH' configure
16673 *** option refers to the location of the kernel source." "$LINENO" 5
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
16679 $as_echo "$LINUX_SYMBOLS" >&6; }
16684 if test "${LINUX_OBJ}" != "${LINUX}"; then
16685 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
16689 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
16694 $as_echo_n "checking whether debugging is enabled... " >&6; }
16695 # Check whether --enable-debug was given.
16696 if test "${enable_debug+set}" = set; then :
16697 enableval
=$enable_debug;
16703 if test "x$enable_debug" = xyes
; then :
16705 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
16706 DEBUG_CFLAGS
="-DDEBUG -Werror"
16707 DEBUG_SPL
="_with_debug"
16711 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
16712 DEBUG_CFLAGS
="-DNDEBUG"
16713 DEBUG_SPL
="_without_debug"
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
16720 $as_echo "$enable_debug" >&6; }
16723 # Check whether --enable-debug-log was given.
16724 if test "${enable_debug_log+set}" = set; then :
16725 enableval
=$enable_debug_log;
16727 enable_debug_log
=yes
16731 if test "x$enable_debug_log" = xyes
; then :
16733 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_LOG"
16734 DEBUG_LOG
="_with_debug_log"
16736 $as_echo "#define DEBUG_LOG 1" >>confdefs.h
16741 DEBUG_LOG
="_without_debug_log"
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic debug logging is enabled" >&5
16747 $as_echo_n "checking whether basic debug logging is enabled... " >&6; }
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_log" >&5
16749 $as_echo "$enable_debug_log" >&6; }
16752 # Check whether --enable-debug-kmem was given.
16753 if test "${enable_debug_kmem+set}" = set; then :
16754 enableval
=$enable_debug_kmem;
16756 enable_debug_kmem
=yes
16760 if test "x$enable_debug_kmem" = xyes
; then :
16762 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
16763 DEBUG_KMEM
="_with_debug_kmem"
16765 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
16770 DEBUG_KMEM
="_without_debug_kmem"
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
16776 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
16778 $as_echo "$enable_debug_kmem" >&6; }
16781 # Check whether --enable-debug-kmem-tracking was given.
16782 if test "${enable_debug_kmem_tracking+set}" = set; then :
16783 enableval
=$enable_debug_kmem_tracking;
16785 enable_debug_kmem_tracking
=no
16789 if test "x$enable_debug_kmem_tracking" = xyes
; then :
16791 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
16792 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
16794 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
16799 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
16805 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
16807 $as_echo "$enable_debug_kmem_tracking" >&6; }
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
16810 $as_echo_n "checking whether modules can be built... " >&6; }
16813 cat confdefs.h
- <<_ACEOF >conftest.c
16827 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16828 echo "obj-m := conftest.o" >build
/Makefile
16830 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16831 if { 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'
16832 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16833 (eval $ac_try) 2>&5
16835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16836 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16837 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16838 (eval $ac_try) 2>&5
16840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16841 test $ac_status = 0; }; }; then :
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16844 $as_echo "yes" >&6; }
16847 $as_echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.
$ac_ext >&5
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16851 $as_echo "no" >&6; }
16852 if test "x$enable_linux_builtin" != xyes
; then
16853 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
16856 *** Unable to build an empty module.
16857 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
16868 # Check whether --enable-atomic-spinlocks was given.
16869 if test "${enable_atomic_spinlocks+set}" = set; then :
16870 enableval
=$enable_atomic_spinlocks;
16872 enable_atomic_spinlocks
=check
16878 cat confdefs.h
- <<_ACEOF >conftest.c
16881 #include <linux/fs.h>
16887 atomic64_t *ptr __attribute__ ((unused));
16896 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16897 echo "obj-m := conftest.o" >build
/Makefile
16899 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16900 if { 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'
16901 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16902 (eval $ac_try) 2>&5
16904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16905 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16906 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16907 (eval $ac_try) 2>&5
16909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16910 test $ac_status = 0; }; }; then :
16912 have_atomic64_t
=yes
16914 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
16918 $as_echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.
$ac_ext >&5
16930 if test "x$enable_atomic_spinlocks" = xcheck
; then :
16932 if test "x$have_atomic64_t" = xyes
; then :
16934 enable_atomic_spinlocks
=no
16938 enable_atomic_spinlocks
=yes
16944 if test "x$enable_atomic_spinlocks" = xyes
; then :
16947 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
16952 if test "x$have_atomic64_t" = xno
; then :
16954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16956 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
16957 See \`config.log' for more details" "$LINENO" 5 ; }
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
16964 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
16966 $as_echo "$enable_atomic_spinlocks" >&6; }
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
16969 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
16971 $as_echo "$have_atomic64_t" >&6; }
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_cmpxchg" >&5
16974 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
16977 cat confdefs.h
- <<_ACEOF >conftest.c
16980 #include <linux/fs.h>
16986 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
16995 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16996 echo "obj-m := conftest.o" >build
/Makefile
16998 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16999 if { 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'
17000 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17001 (eval $ac_try) 2>&5
17003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17004 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17005 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17006 (eval $ac_try) 2>&5
17008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17009 test $ac_status = 0; }; }; then :
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17012 $as_echo "yes" >&6; }
17014 $as_echo "#define HAVE_ATOMIC64_CMPXCHG 1" >>confdefs.h
17018 $as_echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.
$ac_ext >&5
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17022 $as_echo "no" >&6; }
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_xchg" >&5
17032 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
17035 cat confdefs.h
- <<_ACEOF >conftest.c
17038 #include <linux/fs.h>
17044 atomic64_xchg((atomic64_t *)NULL, 0);
17053 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17054 echo "obj-m := conftest.o" >build
/Makefile
17056 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17057 if { 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'
17058 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17059 (eval $ac_try) 2>&5
17061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17062 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17063 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17064 (eval $ac_try) 2>&5
17066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17067 test $ac_status = 0; }; }; then :
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17070 $as_echo "yes" >&6; }
17072 $as_echo "#define HAVE_ATOMIC64_XCHG 1" >>confdefs.h
17076 $as_echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.
$ac_ext >&5
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17080 $as_echo "no" >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines uintptr_t" >&5
17090 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
17093 cat confdefs.h
- <<_ACEOF >conftest.c
17096 #include <linux/types.h>
17102 uintptr_t *ptr __attribute__ ((unused));
17111 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17112 echo "obj-m := conftest.o" >build
/Makefile
17114 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17115 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
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; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17121 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17122 (eval $ac_try) 2>&5
17124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17125 test $ac_status = 0; }; }; then :
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17128 $as_echo "yes" >&6; }
17130 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
17134 $as_echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.
$ac_ext >&5
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17138 $as_echo "no" >&6; }
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether register_sysctl_table() wants 2 args" >&5
17148 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
17151 cat confdefs.h
- <<_ACEOF >conftest.c
17154 #include <linux/sysctl.h>
17160 (void) register_sysctl_table(NULL, 0);
17169 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17170 echo "obj-m := conftest.o" >build
/Makefile
17172 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17173 if { 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'
17174 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17175 (eval $ac_try) 2>&5
17177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17178 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17179 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17180 (eval $ac_try) 2>&5
17182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17183 test $ac_status = 0; }; }; then :
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17186 $as_echo "yes" >&6; }
17188 $as_echo "#define HAVE_2ARGS_REGISTER_SYSCTL 1" >>confdefs.h
17192 $as_echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.
$ac_ext >&5
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17196 $as_echo "no" >&6; }
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_shrinker() available" >&5
17207 $as_echo_n "checking whether set_shrinker() available... " >&6; }
17210 cat confdefs.h
- <<_ACEOF >conftest.c
17213 #include <linux/mm.h>
17219 return set_shrinker(DEFAULT_SEEKS, NULL);
17228 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17229 echo "obj-m := conftest.o" >build
/Makefile
17231 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17232 if { 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'
17233 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17234 (eval $ac_try) 2>&5
17236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17237 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17238 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17239 (eval $ac_try) 2>&5
17241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17242 test $ac_status = 0; }; }; then :
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17245 $as_echo "yes" >&6; }
17247 $as_echo "#define HAVE_SET_SHRINKER 1" >>confdefs.h
17251 $as_echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.
$ac_ext >&5
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17255 $as_echo "no" >&6; }
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrinker callback wants 3 args" >&5
17265 $as_echo_n "checking whether shrinker callback wants 3 args... " >&6; }
17266 tmp_flags
="$EXTRA_KCFLAGS"
17267 EXTRA_KCFLAGS
="-Werror"
17270 cat confdefs.h
- <<_ACEOF >conftest.c
17273 #include <linux/mm.h>
17275 int shrinker_cb(struct shrinker *, int, unsigned int);
17281 struct shrinker cache_shrinker = {
17282 .shrink = shrinker_cb,
17283 .seeks = DEFAULT_SEEKS,
17285 register_shrinker(&cache_shrinker);
17294 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17295 echo "obj-m := conftest.o" >build
/Makefile
17297 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17298 if { 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'
17299 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17300 (eval $ac_try) 2>&5
17302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17303 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17304 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17305 (eval $ac_try) 2>&5
17307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17308 test $ac_status = 0; }; }; then :
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17311 $as_echo "yes" >&6; }
17313 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
17317 $as_echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.
$ac_ext >&5
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17321 $as_echo "no" >&6; }
17329 EXTRA_KCFLAGS
="$tmp_flags"
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct path used in struct nameidata" >&5
17332 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
17335 cat confdefs.h
- <<_ACEOF >conftest.c
17338 #include <linux/namei.h>
17344 struct nameidata nd __attribute__ ((unused));
17346 nd.path.mnt = NULL;
17347 nd.path.dentry = NULL;
17356 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17357 echo "obj-m := conftest.o" >build
/Makefile
17359 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17360 if { 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'
17361 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17362 (eval $ac_try) 2>&5
17364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17365 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17366 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17367 (eval $ac_try) 2>&5
17369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17370 test $ac_status = 0; }; }; then :
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17373 $as_echo "yes" >&6; }
17375 $as_echo "#define HAVE_PATH_IN_NAMEIDATA 1" >>confdefs.h
17379 $as_echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.
$ac_ext >&5
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17383 $as_echo "no" >&6; }
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether task_curr() is available" >&5
17393 $as_echo_n "checking whether task_curr() is available... " >&6; }
17397 cat confdefs.h
- <<_ACEOF >conftest.c
17400 #include <linux/sched.h>
17415 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17416 echo "obj-m := conftest.o" >build
/Makefile
17418 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17419 if { 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'
17420 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17421 (eval $ac_try) 2>&5
17423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17424 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17425 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17426 (eval $ac_try) 2>&5
17428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17429 test $ac_status = 0; }; }; then :
17432 $as_echo "$as_me: failed program was:" >&5
17433 sed 's/^/| /' conftest.
$ac_ext >&5
17441 if test $rc -ne 0; then :
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17444 $as_echo "no" >&6; }
17447 if test "x$enable_linux_builtin" != xyes
; then
17449 grep -q -E '[[:space:]]task_curr[[:space:]]' \
17450 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17452 if test $rc -ne 0; then
17454 for file in kernel
/sched.c
; do
17455 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
17456 "$LINUX_OBJ/$file" 2>/dev
/null
17458 if test $rc -eq 0; then
17463 if test $export -eq 0; then :
17473 if test $rc -ne 0; then :
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17476 $as_echo "no" >&6; }
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17481 $as_echo "yes" >&6; }
17483 $as_echo "#define HAVE_TASK_CURR 1" >>confdefs.h
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unnumbered sysctl support exists" >&5
17491 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
17494 cat confdefs.h
- <<_ACEOF >conftest.c
17497 #include <linux/sysctl.h>
17503 #ifndef CTL_UNNUMBERED
17504 #error CTL_UNNUMBERED undefined
17514 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17515 echo "obj-m := conftest.o" >build
/Makefile
17517 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17518 if { 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'
17519 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17520 (eval $ac_try) 2>&5
17522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17523 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17524 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17525 (eval $ac_try) 2>&5
17527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17528 test $ac_status = 0; }; }; then :
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17531 $as_echo "yes" >&6; }
17533 $as_echo "#define HAVE_CTL_UNNUMBERED 1" >>confdefs.h
17537 $as_echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.
$ac_ext >&5
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17541 $as_echo "no" >&6; }
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
17552 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
17555 cat confdefs.h
- <<_ACEOF >conftest.c
17558 #include <linux/sysctl.h>
17564 struct ctl_table ctl __attribute__ ((unused));
17574 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17575 echo "obj-m := conftest.o" >build
/Makefile
17577 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17578 if { 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'
17579 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17580 (eval $ac_try) 2>&5
17582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17583 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17584 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17585 (eval $ac_try) 2>&5
17587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17588 test $ac_status = 0; }; }; then :
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17591 $as_echo "yes" >&6; }
17593 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
17597 $as_echo "$as_me: failed program was:" >&5
17598 sed 's/^/| /' conftest.
$ac_ext >&5
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17601 $as_echo "no" >&6; }
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fls64() is available" >&5
17611 $as_echo_n "checking whether fls64() is available... " >&6; }
17614 cat confdefs.h
- <<_ACEOF >conftest.c
17617 #include <linux/bitops.h>
17632 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17633 echo "obj-m := conftest.o" >build
/Makefile
17635 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17636 if { 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'
17637 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17638 (eval $ac_try) 2>&5
17640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17641 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17642 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17643 (eval $ac_try) 2>&5
17645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17646 test $ac_status = 0; }; }; then :
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17649 $as_echo "yes" >&6; }
17651 $as_echo "#define HAVE_FLS64 1" >>confdefs.h
17655 $as_echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.
$ac_ext >&5
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17659 $as_echo "no" >&6; }
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether device_create() is available" >&5
17669 $as_echo_n "checking whether device_create() is available... " >&6; }
17671 grep -q -E '[[:space:]]device_create[[:space:]]' \
17672 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17674 if test $rc -ne 0; then
17676 for file in drivers
/base
/core.c
; do
17677 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
17678 "$LINUX_OBJ/$file" 2>/dev
/null
17680 if test $rc -eq 0; then
17685 if test $export -eq 0; then :
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17688 $as_echo "no" >&6; }
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17693 $as_echo "yes" >&6; }
17695 $as_echo "#define HAVE_DEVICE_CREATE 1" >>confdefs.h
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17702 $as_echo "yes" >&6; }
17704 $as_echo "#define HAVE_DEVICE_CREATE 1" >>confdefs.h
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether device_create() wants 5 args" >&5
17712 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
17713 tmp_flags
="$EXTRA_KCFLAGS"
17714 EXTRA_KCFLAGS
="-Werror"
17717 cat confdefs.h
- <<_ACEOF >conftest.c
17720 #include <linux/device.h>
17726 device_create(NULL, NULL, 0, NULL, "%d", 1);
17735 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17736 echo "obj-m := conftest.o" >build
/Makefile
17738 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17739 if { 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'
17740 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17741 (eval $ac_try) 2>&5
17743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17744 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17745 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17746 (eval $ac_try) 2>&5
17748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17749 test $ac_status = 0; }; }; then :
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17752 $as_echo "yes" >&6; }
17754 $as_echo "#define HAVE_5ARGS_DEVICE_CREATE 1" >>confdefs.h
17758 $as_echo "$as_me: failed program was:" >&5
17759 sed 's/^/| /' conftest.
$ac_ext >&5
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17762 $as_echo "no" >&6; }
17770 EXTRA_KCFLAGS
="$tmp_flags"
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether class_device_create() is available" >&5
17773 $as_echo_n "checking whether class_device_create() is available... " >&6; }
17777 cat confdefs.h
- <<_ACEOF >conftest.c
17780 #include <linux/device.h>
17786 class_device_create(NULL, NULL, 0, NULL, NULL);
17795 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17796 echo "obj-m := conftest.o" >build
/Makefile
17798 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17799 if { 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'
17800 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17801 (eval $ac_try) 2>&5
17803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17804 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17805 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17806 (eval $ac_try) 2>&5
17808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17809 test $ac_status = 0; }; }; then :
17812 $as_echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.
$ac_ext >&5
17821 if test $rc -ne 0; then :
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17824 $as_echo "no" >&6; }
17827 if test "x$enable_linux_builtin" != xyes
; then
17829 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
17830 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17832 if test $rc -ne 0; then
17834 for file in drivers
/base
/class.c
; do
17835 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
17836 "$LINUX_OBJ/$file" 2>/dev
/null
17838 if test $rc -eq 0; then
17843 if test $export -eq 0; then :
17853 if test $rc -ne 0; then :
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17856 $as_echo "no" >&6; }
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17861 $as_echo "yes" >&6; }
17863 $as_echo "#define HAVE_CLASS_DEVICE_CREATE 1" >>confdefs.h
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_normalized_timespec() is available as export" >&5
17871 $as_echo_n "checking whether set_normalized_timespec() is available as export... " >&6; }
17875 cat confdefs.h
- <<_ACEOF >conftest.c
17878 #include <linux/time.h>
17884 set_normalized_timespec(NULL, 0, 0);
17893 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17894 echo "obj-m := conftest.o" >build
/Makefile
17896 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17897 if { 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'
17898 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17899 (eval $ac_try) 2>&5
17901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17902 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17903 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17904 (eval $ac_try) 2>&5
17906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17907 test $ac_status = 0; }; }; then :
17910 $as_echo "$as_me: failed program was:" >&5
17911 sed 's/^/| /' conftest.
$ac_ext >&5
17919 if test $rc -ne 0; then :
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17922 $as_echo "no" >&6; }
17925 if test "x$enable_linux_builtin" != xyes
; then
17927 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
17928 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17930 if test $rc -ne 0; then
17932 for file in kernel
/time.c
; do
17933 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
17934 "$LINUX_OBJ/$file" 2>/dev
/null
17936 if test $rc -eq 0; then
17941 if test $export -eq 0; then :
17951 if test $rc -ne 0; then :
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17954 $as_echo "no" >&6; }
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17959 $as_echo "yes" >&6; }
17961 $as_echo "#define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1" >>confdefs.h
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_normalized_timespec() is an inline" >&5
17970 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
17973 cat confdefs.h
- <<_ACEOF >conftest.c
17976 #include <linux/time.h>
17977 void set_normalized_timespec(struct timespec *ts,
17978 time_t sec, long nsec) { }
17991 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17992 echo "obj-m := conftest.o" >build
/Makefile
17994 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17995 if { 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'
17996 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17997 (eval $ac_try) 2>&5
17999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18000 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18001 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18002 (eval $ac_try) 2>&5
18004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18005 test $ac_status = 0; }; }; then :
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18008 $as_echo "no" >&6; }
18011 $as_echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.
$ac_ext >&5
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18015 $as_echo "yes" >&6; }
18017 $as_echo "#define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1" >>confdefs.h
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether timespec_sub() is available" >&5
18029 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
18032 cat confdefs.h
- <<_ACEOF >conftest.c
18035 #include <linux/time.h>
18041 struct timespec a = { 0 };
18042 struct timespec b = { 0 };
18043 struct timespec c __attribute__ ((unused));
18044 c = timespec_sub(a, b);
18053 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18054 echo "obj-m := conftest.o" >build
/Makefile
18056 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18057 if { 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'
18058 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18059 (eval $ac_try) 2>&5
18061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18062 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18063 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18064 (eval $ac_try) 2>&5
18066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18067 test $ac_status = 0; }; }; then :
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18070 $as_echo "yes" >&6; }
18072 $as_echo "#define HAVE_TIMESPEC_SUB 1" >>confdefs.h
18076 $as_echo "$as_me: failed program was:" >&5
18077 sed 's/^/| /' conftest.
$ac_ext >&5
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18080 $as_echo "no" >&6; }
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether init_utsname() is available" >&5
18091 $as_echo_n "checking whether init_utsname() is available... " >&6; }
18094 cat confdefs.h
- <<_ACEOF >conftest.c
18097 #include <linux/utsname.h>
18103 struct new_utsname *a __attribute__ ((unused));
18104 a = init_utsname();
18113 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18114 echo "obj-m := conftest.o" >build
/Makefile
18116 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18117 if { 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'
18118 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18119 (eval $ac_try) 2>&5
18121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18122 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18123 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18124 (eval $ac_try) 2>&5
18126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18127 test $ac_status = 0; }; }; then :
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18130 $as_echo "yes" >&6; }
18132 $as_echo "#define HAVE_INIT_UTSNAME 1" >>confdefs.h
18136 $as_echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.
$ac_ext >&5
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18140 $as_echo "no" >&6; }
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/uaccess.h exists" >&5
18151 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
18154 cat confdefs.h
- <<_ACEOF >conftest.c
18157 #include <linux/uaccess.h>
18172 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18173 echo "obj-m := conftest.o" >build
/Makefile
18175 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18176 if { 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'
18177 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18178 (eval $ac_try) 2>&5
18180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18181 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18182 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18183 (eval $ac_try) 2>&5
18185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18186 test $ac_status = 0; }; }; then :
18189 $as_echo "#define HAVE_UACCESS_HEADER 1" >>confdefs.h
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18192 $as_echo "yes" >&6; }
18196 $as_echo "$as_me: failed program was:" >&5
18197 sed 's/^/| /' conftest.
$ac_ext >&5
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18200 $as_echo "no" >&6; }
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kmalloc_node() is available" >&5
18213 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
18216 cat confdefs.h
- <<_ACEOF >conftest.c
18219 #include <linux/slab.h>
18225 void *a __attribute__ ((unused));
18226 a = kmalloc_node(1, GFP_KERNEL, 0);
18235 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18236 echo "obj-m := conftest.o" >build
/Makefile
18238 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18239 if { 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'
18240 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18241 (eval $ac_try) 2>&5
18243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18244 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18245 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18246 (eval $ac_try) 2>&5
18248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18249 test $ac_status = 0; }; }; then :
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18252 $as_echo "yes" >&6; }
18254 $as_echo "#define HAVE_KMALLOC_NODE 1" >>confdefs.h
18258 $as_echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.
$ac_ext >&5
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18262 $as_echo "no" >&6; }
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether monotonic_clock() is available" >&5
18272 $as_echo_n "checking whether monotonic_clock() is available... " >&6; }
18276 cat confdefs.h
- <<_ACEOF >conftest.c
18279 #include <linux/timex.h>
18294 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18295 echo "obj-m := conftest.o" >build
/Makefile
18297 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18298 if { 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'
18299 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18300 (eval $ac_try) 2>&5
18302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18303 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18304 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18305 (eval $ac_try) 2>&5
18307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18308 test $ac_status = 0; }; }; then :
18311 $as_echo "$as_me: failed program was:" >&5
18312 sed 's/^/| /' conftest.
$ac_ext >&5
18320 if test $rc -ne 0; then :
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18323 $as_echo "no" >&6; }
18326 if test "x$enable_linux_builtin" != xyes
; then
18328 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
18329 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18331 if test $rc -ne 0; then
18334 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
18335 "$LINUX_OBJ/$file" 2>/dev
/null
18337 if test $rc -eq 0; then
18342 if test $export -eq 0; then :
18352 if test $rc -ne 0; then :
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18355 $as_echo "no" >&6; }
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18360 $as_echo "yes" >&6; }
18362 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct inode has i_mutex" >&5
18371 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
18374 cat confdefs.h
- <<_ACEOF >conftest.c
18377 #include <linux/fs.h>
18378 #include <linux/mutex.h>
18385 mutex_init(&i.i_mutex);
18394 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18395 echo "obj-m := conftest.o" >build
/Makefile
18397 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18398 if { 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'
18399 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18400 (eval $ac_try) 2>&5
18402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18403 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18404 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18405 (eval $ac_try) 2>&5
18407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18408 test $ac_status = 0; }; }; then :
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18411 $as_echo "yes" >&6; }
18413 $as_echo "#define HAVE_INODE_I_MUTEX 1" >>confdefs.h
18417 $as_echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.
$ac_ext >&5
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18421 $as_echo "no" >&6; }
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct mutex has owner" >&5
18432 $as_echo_n "checking whether struct mutex has owner... " >&6; }
18435 cat confdefs.h
- <<_ACEOF >conftest.c
18438 #include <linux/mutex.h>
18444 struct mutex mtx __attribute__ ((unused));
18454 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18455 echo "obj-m := conftest.o" >build
/Makefile
18457 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18458 if { 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'
18459 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18460 (eval $ac_try) 2>&5
18462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18463 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18464 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18465 (eval $ac_try) 2>&5
18467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18468 test $ac_status = 0; }; }; then :
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18471 $as_echo "yes" >&6; }
18473 $as_echo "#define HAVE_MUTEX_OWNER 1" >>confdefs.h
18477 $as_echo "$as_me: failed program was:" >&5
18478 sed 's/^/| /' conftest.
$ac_ext >&5
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18481 $as_echo "no" >&6; }
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct mutex owner is a task_struct" >&5
18492 $as_echo_n "checking whether struct mutex owner is a task_struct... " >&6; }
18493 tmp_flags
="$EXTRA_KCFLAGS"
18494 EXTRA_KCFLAGS
="-Werror"
18497 cat confdefs.h
- <<_ACEOF >conftest.c
18500 #include <linux/mutex.h>
18501 #include <linux/sched.h>
18507 struct mutex mtx __attribute__ ((unused));
18508 mtx.owner = current;
18517 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18518 echo "obj-m := conftest.o" >build
/Makefile
18520 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18521 if { 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'
18522 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18523 (eval $ac_try) 2>&5
18525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18526 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18527 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18528 (eval $ac_try) 2>&5
18530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18531 test $ac_status = 0; }; }; then :
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18534 $as_echo "yes" >&6; }
18536 $as_echo "#define HAVE_MUTEX_OWNER_TASK_STRUCT 1" >>confdefs.h
18540 $as_echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.
$ac_ext >&5
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18544 $as_echo "no" >&6; }
18552 EXTRA_KCFLAGS
="$tmp_flags"
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mutex_lock_nested() is available" >&5
18556 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
18559 cat confdefs.h
- <<_ACEOF >conftest.c
18562 #include <linux/mutex.h>
18568 struct mutex mutex;
18569 mutex_init(&mutex);
18570 mutex_lock_nested(&mutex, 0);
18579 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18580 echo "obj-m := conftest.o" >build
/Makefile
18582 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18583 if { 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'
18584 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18585 (eval $ac_try) 2>&5
18587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18588 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18589 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18590 (eval $ac_try) 2>&5
18592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18593 test $ac_status = 0; }; }; then :
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18596 $as_echo "yes" >&6; }
18598 $as_echo "#define HAVE_MUTEX_LOCK_NESTED 1" >>confdefs.h
18602 $as_echo "$as_me: failed program was:" >&5
18603 sed 's/^/| /' conftest.
$ac_ext >&5
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18606 $as_echo "no" >&6; }
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether on_each_cpu() wants 3 args" >&5
18617 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
18620 cat confdefs.h
- <<_ACEOF >conftest.c
18623 #include <linux/interrupt.h>
18624 #include <linux/smp.h>
18626 void on_each_cpu_func(void *data) { return; }
18632 on_each_cpu(on_each_cpu_func, NULL, 0);
18641 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18642 echo "obj-m := conftest.o" >build
/Makefile
18644 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18645 if { 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'
18646 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18647 (eval $ac_try) 2>&5
18649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18650 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18651 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18652 (eval $ac_try) 2>&5
18654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18655 test $ac_status = 0; }; }; then :
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18658 $as_echo "yes" >&6; }
18660 $as_echo "#define HAVE_3ARGS_ON_EACH_CPU 1" >>confdefs.h
18664 $as_echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.
$ac_ext >&5
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18668 $as_echo "no" >&6; }
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kallsyms_lookup_name() is available" >&5
18678 $as_echo_n "checking whether kallsyms_lookup_name() is available... " >&6; }
18682 cat confdefs.h
- <<_ACEOF >conftest.c
18685 #include <linux/kallsyms.h>
18691 kallsyms_lookup_name(NULL);
18700 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18701 echo "obj-m := conftest.o" >build
/Makefile
18703 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18704 if { 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'
18705 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18706 (eval $ac_try) 2>&5
18708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18709 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18710 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18711 (eval $ac_try) 2>&5
18713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18714 test $ac_status = 0; }; }; then :
18717 $as_echo "$as_me: failed program was:" >&5
18718 sed 's/^/| /' conftest.
$ac_ext >&5
18726 if test $rc -ne 0; then :
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18729 $as_echo "no" >&6; }
18732 if test "x$enable_linux_builtin" != xyes
; then
18734 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
18735 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18737 if test $rc -ne 0; then
18740 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
18741 "$LINUX_OBJ/$file" 2>/dev
/null
18743 if test $rc -eq 0; then
18748 if test $export -eq 0; then :
18758 if test $rc -ne 0; then :
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18761 $as_echo "no" >&6; }
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18766 $as_echo "yes" >&6; }
18768 $as_echo "#define HAVE_KALLSYMS_LOOKUP_NAME 1" >>confdefs.h
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether get_vmalloc_info() is available" >&5
18776 $as_echo_n "checking whether get_vmalloc_info() is available... " >&6; }
18778 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
18779 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18781 if test $rc -ne 0; then
18784 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
18785 "$LINUX_OBJ/$file" 2>/dev
/null
18787 if test $rc -eq 0; then
18792 if test $export -eq 0; then :
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18795 $as_echo "no" >&6; }
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18800 $as_echo "yes" >&6; }
18802 $as_echo "#define HAVE_GET_VMALLOC_INFO 1" >>confdefs.h
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18809 $as_echo "yes" >&6; }
18811 $as_echo "#define HAVE_GET_VMALLOC_INFO 1" >>confdefs.h
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol *_pgdat exist" >&5
18819 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
18820 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
18822 if test $rc -eq 0; then
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18824 $as_echo "yes" >&6; }
18826 $as_echo "#define HAVE_PGDAT_HELPERS 1" >>confdefs.h
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18830 $as_echo "no" >&6; }
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether first_online_pgdat() is available" >&5
18834 $as_echo_n "checking whether first_online_pgdat() is available... " >&6; }
18838 cat confdefs.h
- <<_ACEOF >conftest.c
18841 #include <linux/mmzone.h>
18847 first_online_pgdat();
18856 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18857 echo "obj-m := conftest.o" >build
/Makefile
18859 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18860 if { 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'
18861 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18862 (eval $ac_try) 2>&5
18864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18865 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18866 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18867 (eval $ac_try) 2>&5
18869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18870 test $ac_status = 0; }; }; then :
18873 $as_echo "$as_me: failed program was:" >&5
18874 sed 's/^/| /' conftest.
$ac_ext >&5
18882 if test $rc -ne 0; then :
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18885 $as_echo "no" >&6; }
18888 if test "x$enable_linux_builtin" != xyes
; then
18890 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
18891 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18893 if test $rc -ne 0; then
18896 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
18897 "$LINUX_OBJ/$file" 2>/dev
/null
18899 if test $rc -eq 0; then
18904 if test $export -eq 0; then :
18914 if test $rc -ne 0; then :
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18917 $as_echo "no" >&6; }
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18922 $as_echo "yes" >&6; }
18924 $as_echo "#define HAVE_FIRST_ONLINE_PGDAT 1" >>confdefs.h
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether next_online_pgdat() is available" >&5
18932 $as_echo_n "checking whether next_online_pgdat() is available... " >&6; }
18936 cat confdefs.h
- <<_ACEOF >conftest.c
18939 #include <linux/mmzone.h>
18945 next_online_pgdat(NULL);
18954 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18955 echo "obj-m := conftest.o" >build
/Makefile
18957 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18958 if { 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'
18959 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18960 (eval $ac_try) 2>&5
18962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18963 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18964 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18965 (eval $ac_try) 2>&5
18967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18968 test $ac_status = 0; }; }; then :
18971 $as_echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.
$ac_ext >&5
18980 if test $rc -ne 0; then :
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18983 $as_echo "no" >&6; }
18986 if test "x$enable_linux_builtin" != xyes
; then
18988 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
18989 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18991 if test $rc -ne 0; then
18994 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
18995 "$LINUX_OBJ/$file" 2>/dev
/null
18997 if test $rc -eq 0; then
19002 if test $export -eq 0; then :
19012 if test $rc -ne 0; then :
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19015 $as_echo "no" >&6; }
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19020 $as_echo "yes" >&6; }
19022 $as_echo "#define HAVE_NEXT_ONLINE_PGDAT 1" >>confdefs.h
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether next_zone() is available" >&5
19030 $as_echo_n "checking whether next_zone() is available... " >&6; }
19034 cat confdefs.h
- <<_ACEOF >conftest.c
19037 #include <linux/mmzone.h>
19052 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19053 echo "obj-m := conftest.o" >build
/Makefile
19055 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19056 if { 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'
19057 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19058 (eval $ac_try) 2>&5
19060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19061 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19062 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19063 (eval $ac_try) 2>&5
19065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19066 test $ac_status = 0; }; }; then :
19069 $as_echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.
$ac_ext >&5
19078 if test $rc -ne 0; then :
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19081 $as_echo "no" >&6; }
19084 if test "x$enable_linux_builtin" != xyes
; then
19086 grep -q -E '[[:space:]]next_zone[[:space:]]' \
19087 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19089 if test $rc -ne 0; then
19092 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
19093 "$LINUX_OBJ/$file" 2>/dev
/null
19095 if test $rc -eq 0; then
19100 if test $export -eq 0; then :
19110 if test $rc -ne 0; then :
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19113 $as_echo "no" >&6; }
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19118 $as_echo "yes" >&6; }
19120 $as_echo "#define HAVE_NEXT_ZONE 1" >>confdefs.h
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pgdat_list is available" >&5
19128 $as_echo_n "checking whether pgdat_list is available... " >&6; }
19132 cat confdefs.h
- <<_ACEOF >conftest.c
19135 #include <linux/topology.h>
19136 pg_data_t *tmp = pgdat_list;
19149 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19150 echo "obj-m := conftest.o" >build
/Makefile
19152 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19153 if { 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'
19154 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19155 (eval $ac_try) 2>&5
19157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19158 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19159 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19160 (eval $ac_try) 2>&5
19162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19163 test $ac_status = 0; }; }; then :
19166 $as_echo "$as_me: failed program was:" >&5
19167 sed 's/^/| /' conftest.
$ac_ext >&5
19175 if test $rc -ne 0; then :
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19178 $as_echo "no" >&6; }
19181 if test "x$enable_linux_builtin" != xyes
; then
19183 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
19184 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19186 if test $rc -ne 0; then
19189 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
19190 "$LINUX_OBJ/$file" 2>/dev
/null
19192 if test $rc -eq 0; then
19197 if test $export -eq 0; then :
19207 if test $rc -ne 0; then :
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19210 $as_echo "no" >&6; }
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19215 $as_echo "yes" >&6; }
19217 $as_echo "#define HAVE_PGDAT_LIST 1" >>confdefs.h
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether global_page_state() is available" >&5
19226 $as_echo_n "checking whether global_page_state() is available... " >&6; }
19229 cat confdefs.h
- <<_ACEOF >conftest.c
19232 #include <linux/mm.h>
19238 unsigned long state __attribute__ ((unused));
19239 state = global_page_state(0);
19248 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19249 echo "obj-m := conftest.o" >build
/Makefile
19251 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19252 if { 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'
19253 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19254 (eval $ac_try) 2>&5
19256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19257 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19258 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19259 (eval $ac_try) 2>&5
19261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19262 test $ac_status = 0; }; }; then :
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19265 $as_echo "yes" >&6; }
19267 $as_echo "#define HAVE_GLOBAL_PAGE_STATE 1" >>confdefs.h
19271 $as_echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.
$ac_ext >&5
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19275 $as_echo "no" >&6; }
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_FREE_PAGES is available" >&5
19286 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
19289 cat confdefs.h
- <<_ACEOF >conftest.c
19292 #include <linux/mm.h>
19298 enum zone_stat_item zsi __attribute__ ((unused));
19299 zsi = NR_FREE_PAGES;
19308 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19309 echo "obj-m := conftest.o" >build
/Makefile
19311 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19312 if { 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'
19313 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19314 (eval $ac_try) 2>&5
19316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19317 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19318 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19319 (eval $ac_try) 2>&5
19321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19322 test $ac_status = 0; }; }; then :
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19325 $as_echo "yes" >&6; }
19327 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1" >>confdefs.h
19331 $as_echo "$as_me: failed program was:" >&5
19332 sed 's/^/| /' conftest.
$ac_ext >&5
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19335 $as_echo "no" >&6; }
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE is available" >&5
19346 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
19349 cat confdefs.h
- <<_ACEOF >conftest.c
19352 #include <linux/mm.h>
19358 enum zone_stat_item zsi __attribute__ ((unused));
19368 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19369 echo "obj-m := conftest.o" >build
/Makefile
19371 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19372 if { 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'
19373 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19374 (eval $ac_try) 2>&5
19376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19377 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19378 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19379 (eval $ac_try) 2>&5
19381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19382 test $ac_status = 0; }; }; then :
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19385 $as_echo "yes" >&6; }
19387 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1" >>confdefs.h
19391 $as_echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.
$ac_ext >&5
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19395 $as_echo "no" >&6; }
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE_ANON is available" >&5
19405 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
19408 cat confdefs.h
- <<_ACEOF >conftest.c
19411 #include <linux/mm.h>
19417 enum zone_stat_item zsi __attribute__ ((unused));
19418 zsi = NR_INACTIVE_ANON;
19427 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19428 echo "obj-m := conftest.o" >build
/Makefile
19430 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19431 if { 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'
19432 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19433 (eval $ac_try) 2>&5
19435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19436 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19437 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19438 (eval $ac_try) 2>&5
19440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19441 test $ac_status = 0; }; }; then :
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19444 $as_echo "yes" >&6; }
19446 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1" >>confdefs.h
19450 $as_echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.
$ac_ext >&5
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19454 $as_echo "no" >&6; }
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_INACTIVE_FILE is available" >&5
19464 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
19467 cat confdefs.h
- <<_ACEOF >conftest.c
19470 #include <linux/mm.h>
19476 enum zone_stat_item zsi __attribute__ ((unused));
19477 zsi = NR_INACTIVE_FILE;
19486 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19487 echo "obj-m := conftest.o" >build
/Makefile
19489 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19490 if { 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'
19491 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19492 (eval $ac_try) 2>&5
19494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19495 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19496 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19497 (eval $ac_try) 2>&5
19499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19500 test $ac_status = 0; }; }; then :
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19503 $as_echo "yes" >&6; }
19505 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1" >>confdefs.h
19509 $as_echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.
$ac_ext >&5
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19513 $as_echo "no" >&6; }
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE is available" >&5
19524 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
19527 cat confdefs.h
- <<_ACEOF >conftest.c
19530 #include <linux/mm.h>
19536 enum zone_stat_item zsi __attribute__ ((unused));
19546 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19547 echo "obj-m := conftest.o" >build
/Makefile
19549 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19550 if { 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'
19551 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19552 (eval $ac_try) 2>&5
19554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19555 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19556 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19557 (eval $ac_try) 2>&5
19559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19560 test $ac_status = 0; }; }; then :
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19563 $as_echo "yes" >&6; }
19565 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1" >>confdefs.h
19569 $as_echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.
$ac_ext >&5
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19573 $as_echo "no" >&6; }
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE_ANON is available" >&5
19583 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
19586 cat confdefs.h
- <<_ACEOF >conftest.c
19589 #include <linux/mm.h>
19595 enum zone_stat_item zsi __attribute__ ((unused));
19596 zsi = NR_ACTIVE_ANON;
19605 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19606 echo "obj-m := conftest.o" >build
/Makefile
19608 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19609 if { 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'
19610 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19611 (eval $ac_try) 2>&5
19613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19614 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19615 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19616 (eval $ac_try) 2>&5
19618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19619 test $ac_status = 0; }; }; then :
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19622 $as_echo "yes" >&6; }
19624 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1" >>confdefs.h
19628 $as_echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.
$ac_ext >&5
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19632 $as_echo "no" >&6; }
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether page state NR_ACTIVE_FILE is available" >&5
19642 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
19645 cat confdefs.h
- <<_ACEOF >conftest.c
19648 #include <linux/mm.h>
19654 enum zone_stat_item zsi __attribute__ ((unused));
19655 zsi = NR_ACTIVE_FILE;
19664 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19665 echo "obj-m := conftest.o" >build
/Makefile
19667 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19668 if { 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'
19669 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19670 (eval $ac_try) 2>&5
19672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19673 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19674 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19675 (eval $ac_try) 2>&5
19677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19678 test $ac_status = 0; }; }; then :
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19681 $as_echo "yes" >&6; }
19683 $as_echo "#define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1" >>confdefs.h
19687 $as_echo "$as_me: failed program was:" >&5
19688 sed 's/^/| /' conftest.
$ac_ext >&5
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19691 $as_echo "no" >&6; }
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol get_zone_counts is needed" >&5
19702 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
19705 cat confdefs.h
- <<_ACEOF >conftest.c
19713 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
19714 #error "global_page_state needs NR_FREE_PAGES"
19717 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
19718 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
19719 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
19720 #error "global_page_state needs NR_ACTIVE*"
19723 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
19724 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
19725 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
19726 #error "global_page_state needs NR_INACTIVE*"
19736 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19737 echo "obj-m := conftest.o" >build
/Makefile
19739 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19740 if { 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'
19741 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19742 (eval $ac_try) 2>&5
19744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19745 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19746 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19747 (eval $ac_try) 2>&5
19749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19750 test $ac_status = 0; }; }; then :
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19753 $as_echo "no" >&6; }
19756 $as_echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.
$ac_ext >&5
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19760 $as_echo "yes" >&6; }
19762 $as_echo "#define NEED_GET_ZONE_COUNTS 1" >>confdefs.h
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether get_zone_counts() is available" >&5
19766 $as_echo_n "checking whether get_zone_counts() is available... " >&6; }
19770 cat confdefs.h
- <<_ACEOF >conftest.c
19773 #include <linux/mmzone.h>
19779 get_zone_counts(NULL, NULL, NULL);
19788 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19789 echo "obj-m := conftest.o" >build
/Makefile
19791 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19792 if { 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'
19793 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19794 (eval $ac_try) 2>&5
19796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19797 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19798 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19799 (eval $ac_try) 2>&5
19801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19802 test $ac_status = 0; }; }; then :
19805 $as_echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.
$ac_ext >&5
19814 if test $rc -ne 0; then :
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19817 $as_echo "no" >&6; }
19820 if test "x$enable_linux_builtin" != xyes
; then
19822 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
19823 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19825 if test $rc -ne 0; then
19828 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
19829 "$LINUX_OBJ/$file" 2>/dev
/null
19831 if test $rc -eq 0; then
19836 if test $export -eq 0; then :
19846 if test $rc -ne 0; then :
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19849 $as_echo "no" >&6; }
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19854 $as_echo "yes" >&6; }
19856 $as_echo "#define HAVE_GET_ZONE_COUNTS 1" >>confdefs.h
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether user_path_dir() is available" >&5
19871 $as_echo_n "checking whether user_path_dir() is available... " >&6; }
19875 cat confdefs.h
- <<_ACEOF >conftest.c
19878 #include <linux/fcntl.h>
19879 #include <linux/namei.h>
19885 user_path_dir(NULL, NULL);
19894 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19895 echo "obj-m := conftest.o" >build
/Makefile
19897 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19898 if { 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'
19899 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19900 (eval $ac_try) 2>&5
19902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19903 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19904 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19905 (eval $ac_try) 2>&5
19907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19908 test $ac_status = 0; }; }; then :
19911 $as_echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.
$ac_ext >&5
19920 if test $rc -ne 0; then :
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19923 $as_echo "no" >&6; }
19926 if test "x$enable_linux_builtin" != xyes
; then
19928 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
19929 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19931 if test $rc -ne 0; then
19934 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
19935 "$LINUX_OBJ/$file" 2>/dev
/null
19937 if test $rc -eq 0; then
19942 if test $export -eq 0; then :
19952 if test $rc -ne 0; then :
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19955 $as_echo "no" >&6; }
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19960 $as_echo "yes" >&6; }
19962 $as_echo "#define HAVE_USER_PATH_DIR 1" >>confdefs.h
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() is available" >&5
19970 $as_echo_n "checking whether set_fs_pwd() is available... " >&6; }
19974 cat confdefs.h
- <<_ACEOF >conftest.c
19977 #include <linux/spinlock.h>
19978 #include <linux/fs_struct.h>
19993 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
19994 echo "obj-m := conftest.o" >build
/Makefile
19996 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
19997 if { 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'
19998 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
19999 (eval $ac_try) 2>&5
20001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20002 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20003 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20004 (eval $ac_try) 2>&5
20006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20007 test $ac_status = 0; }; }; then :
20010 $as_echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.
$ac_ext >&5
20019 if test $rc -ne 0; then :
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20022 $as_echo "no" >&6; }
20025 if test "x$enable_linux_builtin" != xyes
; then
20027 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
20028 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20030 if test $rc -ne 0; then
20033 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
20034 "$LINUX_OBJ/$file" 2>/dev
/null
20036 if test $rc -eq 0; then
20041 if test $export -eq 0; then :
20051 if test $rc -ne 0; then :
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20054 $as_echo "no" >&6; }
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20059 $as_echo "yes" >&6; }
20061 $as_echo "#define HAVE_SET_FS_PWD 1" >>confdefs.h
20068 tmp_flags
="$EXTRA_KCFLAGS"
20069 EXTRA_KCFLAGS
="-Werror"
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
20071 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
20074 cat confdefs.h
- <<_ACEOF >conftest.c
20077 #include <linux/spinlock.h>
20078 #include <linux/fs_struct.h>
20079 #include <linux/path.h>
20080 void (*const set_fs_pwd_func)
20081 (struct fs_struct *, const struct path *)
20097 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20098 echo "obj-m := conftest.o" >build
/Makefile
20100 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20101 if { 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'
20102 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20103 (eval $ac_try) 2>&5
20105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20106 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20107 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20108 (eval $ac_try) 2>&5
20110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20111 test $ac_status = 0; }; }; then :
20113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20114 $as_echo "yes" >&6; }
20116 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
20120 $as_echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.
$ac_ext >&5
20125 cat confdefs.h
- <<_ACEOF >conftest.c
20128 #include <linux/spinlock.h>
20129 #include <linux/fs_struct.h>
20130 #include <linux/path.h>
20131 void (*const set_fs_pwd_func)
20132 (struct fs_struct *, struct path *)
20148 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20149 echo "obj-m := conftest.o" >build
/Makefile
20151 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20152 if { 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'
20153 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20154 (eval $ac_try) 2>&5
20156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20157 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20158 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20159 (eval $ac_try) 2>&5
20161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20162 test $ac_status = 0; }; }; then :
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20165 $as_echo "no" >&6; }
20168 $as_echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.
$ac_ext >&5
20171 as_fn_error $?
"unknown" "$LINENO" 5
20186 EXTRA_KCFLAGS
="$tmp_flags"
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
20189 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
20192 cat confdefs.h
- <<_ACEOF >conftest.c
20195 #include <linux/fs.h>
20201 vfs_unlink(NULL, NULL);
20210 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20211 echo "obj-m := conftest.o" >build
/Makefile
20213 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20214 if { 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'
20215 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20216 (eval $ac_try) 2>&5
20218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20219 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20220 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20221 (eval $ac_try) 2>&5
20223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20224 test $ac_status = 0; }; }; then :
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20227 $as_echo "yes" >&6; }
20229 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
20233 $as_echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.
$ac_ext >&5
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20237 $as_echo "no" >&6; }
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
20247 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
20250 cat confdefs.h
- <<_ACEOF >conftest.c
20253 #include <linux/fs.h>
20259 vfs_rename(NULL, NULL, NULL, NULL);
20268 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20269 echo "obj-m := conftest.o" >build
/Makefile
20271 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20272 if { 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'
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; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20278 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20279 (eval $ac_try) 2>&5
20281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20282 test $ac_status = 0; }; }; then :
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20285 $as_echo "yes" >&6; }
20287 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
20291 $as_echo "$as_me: failed program was:" >&5
20292 sed 's/^/| /' conftest.
$ac_ext >&5
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20295 $as_echo "no" >&6; }
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() is available" >&5
20305 $as_echo_n "checking whether vfs_fsync() is available... " >&6; }
20309 cat confdefs.h
- <<_ACEOF >conftest.c
20312 #include <linux/fs.h>
20327 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20328 echo "obj-m := conftest.o" >build
/Makefile
20330 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20331 if { 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'
20332 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20333 (eval $ac_try) 2>&5
20335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20336 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20337 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20338 (eval $ac_try) 2>&5
20340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20341 test $ac_status = 0; }; }; then :
20344 $as_echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.
$ac_ext >&5
20353 if test $rc -ne 0; then :
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20356 $as_echo "no" >&6; }
20359 if test "x$enable_linux_builtin" != xyes
; then
20361 grep -q -E '[[:space:]]vfs_fsync[[:space:]]' \
20362 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20364 if test $rc -ne 0; then
20366 for file in fs
/sync.c
; do
20367 grep -q -E "EXPORT_SYMBOL.*(vfs_fsync)" \
20368 "$LINUX_OBJ/$file" 2>/dev
/null
20370 if test $rc -eq 0; then
20375 if test $export -eq 0; then :
20385 if test $rc -ne 0; then :
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20388 $as_echo "no" >&6; }
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20393 $as_echo "yes" >&6; }
20395 $as_echo "#define HAVE_VFS_FSYNC 1" >>confdefs.h
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
20404 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
20407 cat confdefs.h
- <<_ACEOF >conftest.c
20410 #include <linux/fs.h>
20416 vfs_fsync(NULL, 0);
20425 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20426 echo "obj-m := conftest.o" >build
/Makefile
20428 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20429 if { 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'
20430 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20431 (eval $ac_try) 2>&5
20433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20434 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20435 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20436 (eval $ac_try) 2>&5
20438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20439 test $ac_status = 0; }; }; then :
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20442 $as_echo "yes" >&6; }
20444 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
20448 $as_echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.
$ac_ext >&5
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20452 $as_echo "no" >&6; }
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
20463 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
20466 cat confdefs.h
- <<_ACEOF >conftest.c
20469 #include <linux/fs.h>
20475 struct inode_operations ops;
20476 ops.truncate_range = NULL;
20485 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20486 echo "obj-m := conftest.o" >build
/Makefile
20488 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20489 if { 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'
20490 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20491 (eval $ac_try) 2>&5
20493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20494 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20495 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20496 (eval $ac_try) 2>&5
20498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20499 test $ac_status = 0; }; }; then :
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20502 $as_echo "yes" >&6; }
20504 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
20508 $as_echo "$as_me: failed program was:" >&5
20509 sed 's/^/| /' conftest.
$ac_ext >&5
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20512 $as_echo "no" >&6; }
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
20523 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
20524 tmp_flags
="$EXTRA_KCFLAGS"
20525 EXTRA_KCFLAGS
="-Werror"
20528 cat confdefs.h
- <<_ACEOF >conftest.c
20531 #include <linux/sched.h>
20532 #include <linux/fs_struct.h>
20538 struct fs_struct fs;
20539 spin_lock_init(&fs.lock);
20548 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20549 echo "obj-m := conftest.o" >build
/Makefile
20551 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20552 if { 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'
20553 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20554 (eval $ac_try) 2>&5
20556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20557 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20558 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20559 (eval $ac_try) 2>&5
20561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20562 test $ac_status = 0; }; }; then :
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20565 $as_echo "yes" >&6; }
20567 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
20571 $as_echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.
$ac_ext >&5
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20575 $as_echo "no" >&6; }
20583 EXTRA_KCFLAGS
="$tmp_flags"
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct cred exists" >&5
20587 $as_echo_n "checking whether struct cred exists... " >&6; }
20590 cat confdefs.h
- <<_ACEOF >conftest.c
20593 #include <linux/cred.h>
20599 struct cred *cr __attribute__ ((unused));
20609 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20610 echo "obj-m := conftest.o" >build
/Makefile
20612 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20613 if { 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'
20614 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20615 (eval $ac_try) 2>&5
20617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20618 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20619 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20620 (eval $ac_try) 2>&5
20622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20623 test $ac_status = 0; }; }; then :
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20626 $as_echo "yes" >&6; }
20628 $as_echo "#define HAVE_CRED_STRUCT 1" >>confdefs.h
20632 $as_echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.
$ac_ext >&5
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20636 $as_echo "no" >&6; }
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether groups_search() is available" >&5
20646 $as_echo_n "checking whether groups_search() is available... " >&6; }
20650 cat confdefs.h
- <<_ACEOF >conftest.c
20653 #include <linux/cred.h>
20659 groups_search(NULL, 0);
20668 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20669 echo "obj-m := conftest.o" >build
/Makefile
20671 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20672 if { 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'
20673 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20674 (eval $ac_try) 2>&5
20676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20677 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20678 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20679 (eval $ac_try) 2>&5
20681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20682 test $ac_status = 0; }; }; then :
20685 $as_echo "$as_me: failed program was:" >&5
20686 sed 's/^/| /' conftest.
$ac_ext >&5
20694 if test $rc -ne 0; then :
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20697 $as_echo "no" >&6; }
20700 if test "x$enable_linux_builtin" != xyes
; then
20702 grep -q -E '[[:space:]]groups_search[[:space:]]' \
20703 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20705 if test $rc -ne 0; then
20708 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
20709 "$LINUX_OBJ/$file" 2>/dev
/null
20711 if test $rc -eq 0; then
20716 if test $export -eq 0; then :
20726 if test $rc -ne 0; then :
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20729 $as_echo "no" >&6; }
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20734 $as_echo "yes" >&6; }
20736 $as_echo "#define HAVE_GROUPS_SEARCH 1" >>confdefs.h
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __put_task_struct() is available" >&5
20744 $as_echo_n "checking whether __put_task_struct() is available... " >&6; }
20748 cat confdefs.h
- <<_ACEOF >conftest.c
20751 #include <linux/sched.h>
20757 __put_task_struct(NULL);
20766 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20767 echo "obj-m := conftest.o" >build
/Makefile
20769 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20770 if { 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'
20771 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20772 (eval $ac_try) 2>&5
20774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20775 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20777 (eval $ac_try) 2>&5
20779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20780 test $ac_status = 0; }; }; then :
20783 $as_echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.
$ac_ext >&5
20792 if test $rc -ne 0; then :
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20795 $as_echo "no" >&6; }
20798 if test "x$enable_linux_builtin" != xyes
; then
20800 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
20801 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20803 if test $rc -ne 0; then
20806 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
20807 "$LINUX_OBJ/$file" 2>/dev
/null
20809 if test $rc -eq 0; then
20814 if test $export -eq 0; then :
20824 if test $rc -ne 0; then :
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20827 $as_echo "no" >&6; }
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20832 $as_echo "yes" >&6; }
20834 $as_echo "#define HAVE_PUT_TASK_STRUCT 1" >>confdefs.h
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether proc_handler() wants 5 args" >&5
20843 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
20846 cat confdefs.h
- <<_ACEOF >conftest.c
20849 #include <linux/sysctl.h>
20855 proc_dostring(NULL, 0, NULL, NULL, NULL);
20864 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20865 echo "obj-m := conftest.o" >build
/Makefile
20867 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20868 if { 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'
20869 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20870 (eval $ac_try) 2>&5
20872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20873 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20874 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20875 (eval $ac_try) 2>&5
20877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20878 test $ac_status = 0; }; }; then :
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20881 $as_echo "yes" >&6; }
20883 $as_echo "#define HAVE_5ARGS_PROC_HANDLER 1" >>confdefs.h
20887 $as_echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.
$ac_ext >&5
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20891 $as_echo "no" >&6; }
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kvasprintf() is available" >&5
20901 $as_echo_n "checking whether kvasprintf() is available... " >&6; }
20905 cat confdefs.h
- <<_ACEOF >conftest.c
20908 #include <linux/kernel.h>
20914 kvasprintf(0, NULL, *((va_list*)NULL));
20923 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
20924 echo "obj-m := conftest.o" >build
/Makefile
20926 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
20927 if { 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'
20928 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20929 (eval $ac_try) 2>&5
20931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20932 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20933 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20934 (eval $ac_try) 2>&5
20936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20937 test $ac_status = 0; }; }; then :
20940 $as_echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.
$ac_ext >&5
20949 if test $rc -ne 0; then :
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20952 $as_echo "no" >&6; }
20955 if test "x$enable_linux_builtin" != xyes
; then
20957 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
20958 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20960 if test $rc -ne 0; then
20963 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
20964 "$LINUX_OBJ/$file" 2>/dev
/null
20966 if test $rc -eq 0; then
20971 if test $export -eq 0; then :
20981 if test $rc -ne 0; then :
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20984 $as_echo "no" >&6; }
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20989 $as_echo "yes" >&6; }
20991 $as_echo "#define HAVE_KVASPRINTF 1" >>confdefs.h
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rwsem_is_locked() acquires sem->wait_lock" >&5
20999 $as_echo_n "checking whether rwsem_is_locked() acquires sem->wait_lock... " >&6; }
21003 cat confdefs.h
- <<_ACEOF >conftest.c
21006 #include <linux/rwsem.h>
21007 int rwsem_is_locked(struct rw_semaphore *sem) { return 0; }
21020 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21021 echo "obj-m := conftest.o" >build
/Makefile
21023 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21024 if { 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'
21025 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21026 (eval $ac_try) 2>&5
21028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21029 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21030 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21031 (eval $ac_try) 2>&5
21033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21034 test $ac_status = 0; }; }; then :
21037 $as_echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.
$ac_ext >&5
21046 if test $rc -ne 0; then :
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21049 $as_echo "no" >&6; }
21052 if test "x$enable_linux_builtin" != xyes
; then
21054 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
21055 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21057 if test $rc -ne 0; then
21059 for file in lib
/rwsem-spinlock.c
; do
21060 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
21061 "$LINUX_OBJ/$file" 2>/dev
/null
21063 if test $rc -eq 0; then
21068 if test $export -eq 0; then :
21078 if test $rc -ne 0; then :
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21081 $as_echo "no" >&6; }
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21086 $as_echo "yes" >&6; }
21088 $as_echo "#define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1" >>confdefs.h
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
21098 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
21101 cat confdefs.h
- <<_ACEOF >conftest.c
21104 #include <linux/fs.h>
21110 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
21111 struct file_operations fops __attribute__ ((unused)) = {
21112 .fallocate = fallocate,
21122 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21123 echo "obj-m := conftest.o" >build
/Makefile
21125 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21126 if { 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'
21127 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21128 (eval $ac_try) 2>&5
21130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21131 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21132 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21133 (eval $ac_try) 2>&5
21135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21136 test $ac_status = 0; }; }; then :
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21139 $as_echo "yes" >&6; }
21141 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
21145 $as_echo "$as_me: failed program was:" >&5
21146 sed 's/^/| /' conftest.
$ac_ext >&5
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21149 $as_echo "no" >&6; }
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
21160 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
21163 cat confdefs.h
- <<_ACEOF >conftest.c
21166 #include <linux/fs.h>
21172 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
21173 struct inode_operations fops __attribute__ ((unused)) = {
21174 .fallocate = fallocate,
21184 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21185 echo "obj-m := conftest.o" >build
/Makefile
21187 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21188 if { 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'
21189 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21190 (eval $ac_try) 2>&5
21192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21193 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21194 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21195 (eval $ac_try) 2>&5
21197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21198 test $ac_status = 0; }; }; then :
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21201 $as_echo "yes" >&6; }
21203 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
21207 $as_echo "$as_me: failed program was:" >&5
21208 sed 's/^/| /' conftest.
$ac_ext >&5
21210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21211 $as_echo "no" >&6; }
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
21222 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
21225 cat confdefs.h
- <<_ACEOF >conftest.c
21228 #include <linux/fs.h>
21234 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
21235 struct file_operations_no_const fops __attribute__ ((unused)) = {
21236 .fallocate = fallocate,
21246 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21247 echo "obj-m := conftest.o" >build
/Makefile
21249 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21250 if { 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'
21251 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21252 (eval $ac_try) 2>&5
21254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21255 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21256 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21257 (eval $ac_try) 2>&5
21259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21260 test $ac_status = 0; }; }; then :
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21263 $as_echo "yes" >&6; }
21265 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
21269 $as_echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.
$ac_ext >&5
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21273 $as_echo "no" >&6; }
21283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrink_dcache_memory() is available" >&5
21284 $as_echo_n "checking whether shrink_dcache_memory() is available... " >&6; }
21288 cat confdefs.h
- <<_ACEOF >conftest.c
21291 #include <linux/dcache.h>
21297 shrink_dcache_memory(0, 0);
21306 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21307 echo "obj-m := conftest.o" >build
/Makefile
21309 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21310 if { 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'
21311 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21312 (eval $ac_try) 2>&5
21314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21315 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21316 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21317 (eval $ac_try) 2>&5
21319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21320 test $ac_status = 0; }; }; then :
21323 $as_echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.
$ac_ext >&5
21332 if test $rc -ne 0; then :
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21335 $as_echo "no" >&6; }
21338 if test "x$enable_linux_builtin" != xyes
; then
21340 grep -q -E '[[:space:]]shrink_dcache_memory[[:space:]]' \
21341 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21343 if test $rc -ne 0; then
21345 for file in fs
/dcache.c
; do
21346 grep -q -E "EXPORT_SYMBOL.*(shrink_dcache_memory)" \
21347 "$LINUX_OBJ/$file" 2>/dev
/null
21349 if test $rc -eq 0; then
21354 if test $export -eq 0; then :
21364 if test $rc -ne 0; then :
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21367 $as_echo "no" >&6; }
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21372 $as_echo "yes" >&6; }
21374 $as_echo "#define HAVE_SHRINK_DCACHE_MEMORY 1" >>confdefs.h
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shrink_icache_memory() is available" >&5
21382 $as_echo_n "checking whether shrink_icache_memory() is available... " >&6; }
21386 cat confdefs.h
- <<_ACEOF >conftest.c
21389 #include <linux/dcache.h>
21395 shrink_icache_memory(0, 0);
21404 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21405 echo "obj-m := conftest.o" >build
/Makefile
21407 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21408 if { 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'
21409 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21410 (eval $ac_try) 2>&5
21412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21413 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21414 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21415 (eval $ac_try) 2>&5
21417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21418 test $ac_status = 0; }; }; then :
21421 $as_echo "$as_me: failed program was:" >&5
21422 sed 's/^/| /' conftest.
$ac_ext >&5
21430 if test $rc -ne 0; then :
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21433 $as_echo "no" >&6; }
21436 if test "x$enable_linux_builtin" != xyes
; then
21438 grep -q -E '[[:space:]]shrink_icache_memory[[:space:]]' \
21439 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21441 if test $rc -ne 0; then
21443 for file in fs
/inode.c
; do
21444 grep -q -E "EXPORT_SYMBOL.*(shrink_icache_memory)" \
21445 "$LINUX_OBJ/$file" 2>/dev
/null
21447 if test $rc -eq 0; then
21452 if test $export -eq 0; then :
21462 if test $rc -ne 0; then :
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21465 $as_echo "no" >&6; }
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21470 $as_echo "yes" >&6; }
21472 $as_echo "#define HAVE_SHRINK_ICACHE_MEMORY 1" >>confdefs.h
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol kern_path_parent exists in header" >&5
21482 $as_echo_n "checking whether symbol kern_path_parent exists in header... " >&6; }
21484 for file in include
/linux
/namei.h
; do
21485 grep -q "int kern_path_parent(const char \*, struct nameidata \*)" "$LINUX/$file" 2>/dev
/null
21487 if test $rc -eq 0; then
21492 if test $header -eq 0; then
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21494 $as_echo "no" >&6; }
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21498 $as_echo "yes" >&6; }
21500 $as_echo "#define HAVE_KERN_PATH_PARENT_HEADER 1" >>confdefs.h
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kern_path_parent() is available" >&5
21506 $as_echo_n "checking whether kern_path_parent() is available... " >&6; }
21510 cat confdefs.h
- <<_ACEOF >conftest.c
21513 #include <linux/namei.h>
21519 kern_path_parent(NULL, NULL);
21528 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21529 echo "obj-m := conftest.o" >build
/Makefile
21531 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21532 if { 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'
21533 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21534 (eval $ac_try) 2>&5
21536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21537 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21538 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21539 (eval $ac_try) 2>&5
21541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21542 test $ac_status = 0; }; }; then :
21545 $as_echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.
$ac_ext >&5
21554 if test $rc -ne 0; then :
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21557 $as_echo "no" >&6; }
21560 if test "x$enable_linux_builtin" != xyes
; then
21562 grep -q -E '[[:space:]]kern_path_parent[[:space:]]' \
21563 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21565 if test $rc -ne 0; then
21567 for file in fs
/namei.c
; do
21568 grep -q -E "EXPORT_SYMBOL.*(kern_path_parent)" \
21569 "$LINUX_OBJ/$file" 2>/dev
/null
21571 if test $rc -eq 0; then
21576 if test $export -eq 0; then :
21586 if test $rc -ne 0; then :
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21589 $as_echo "no" >&6; }
21593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21594 $as_echo "yes" >&6; }
21596 $as_echo "#define HAVE_KERN_PATH_PARENT_SYMBOL 1" >>confdefs.h
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol kern_path_locked exists in header" >&5
21606 $as_echo_n "checking whether symbol kern_path_locked exists in header... " >&6; }
21608 for file in include
/linux
/namei.h
; do
21609 grep -q "struct dentry \*kern_path_locked(const char \*, struct path \*)" "$LINUX/$file" 2>/dev
/null
21611 if test $rc -eq 0; then
21616 if test $header -eq 0; then
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21618 $as_echo "no" >&6; }
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21622 $as_echo "yes" >&6; }
21624 $as_echo "#define HAVE_KERN_PATH_LOCKED 1" >>confdefs.h
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_KALLSYMS is defined" >&5
21631 $as_echo_n "checking whether CONFIG_KALLSYMS is defined... " >&6; }
21634 cat confdefs.h
- <<_ACEOF >conftest.c
21637 #if !defined(CONFIG_KALLSYMS)
21638 #error CONFIG_KALLSYMS not defined
21652 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21653 echo "obj-m := conftest.o" >build
/Makefile
21655 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21656 if { 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'
21657 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21658 (eval $ac_try) 2>&5
21660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21661 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21662 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21663 (eval $ac_try) 2>&5
21665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21666 test $ac_status = 0; }; }; then :
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21669 $as_echo "yes" >&6; }
21672 $as_echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.
$ac_ext >&5
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21676 $as_echo "no" >&6; }
21678 *** This kernel does not include the required kallsyms support.
21679 *** Rebuild the kernel with CONFIG_KALLSYMS=y set." "$LINENO" 5
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
21690 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
21693 cat confdefs.h
- <<_ACEOF >conftest.c
21696 #if !defined(CONFIG_ZLIB_INFLATE) && \
21697 !defined(CONFIG_ZLIB_INFLATE_MODULE)
21698 #error CONFIG_ZLIB_INFLATE not defined
21712 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21713 echo "obj-m := conftest.o" >build
/Makefile
21715 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21716 if { 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'
21717 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21718 (eval $ac_try) 2>&5
21720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21721 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21722 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21723 (eval $ac_try) 2>&5
21725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21726 test $ac_status = 0; }; }; then :
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21729 $as_echo "yes" >&6; }
21732 $as_echo "$as_me: failed program was:" >&5
21733 sed 's/^/| /' conftest.
$ac_ext >&5
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21736 $as_echo "no" >&6; }
21738 *** This kernel does not include the required zlib inflate support.
21739 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
21750 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
21753 cat confdefs.h
- <<_ACEOF >conftest.c
21756 #if !defined(CONFIG_ZLIB_DEFLATE) && \
21757 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
21758 #error CONFIG_ZLIB_DEFLATE not defined
21772 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21773 echo "obj-m := conftest.o" >build
/Makefile
21775 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21776 if { 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'
21777 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21778 (eval $ac_try) 2>&5
21780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21781 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21782 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21783 (eval $ac_try) 2>&5
21785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21786 test $ac_status = 0; }; }; then :
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21789 $as_echo "yes" >&6; }
21792 $as_echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.
$ac_ext >&5
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21796 $as_echo "no" >&6; }
21798 *** This kernel does not include the required zlib deflate support.
21799 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
21809 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
21812 cat confdefs.h
- <<_ACEOF >conftest.c
21815 #include <linux/zlib.h>
21821 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
21830 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21831 echo "obj-m := conftest.o" >build
/Makefile
21833 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21834 if { 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'
21835 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21836 (eval $ac_try) 2>&5
21838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21839 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21840 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21841 (eval $ac_try) 2>&5
21843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21844 test $ac_status = 0; }; }; then :
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21847 $as_echo "yes" >&6; }
21849 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
21853 $as_echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.
$ac_ext >&5
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21857 $as_echo "no" >&6; }
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
21868 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
21871 cat confdefs.h
- <<_ACEOF >conftest.c
21874 #include <linux/mm.h>
21880 struct shrink_control sc __attribute__ ((unused));
21883 sc.gfp_mask = GFP_KERNEL;
21892 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21893 echo "obj-m := conftest.o" >build
/Makefile
21895 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21896 if { 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'
21897 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21898 (eval $ac_try) 2>&5
21900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21901 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21902 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21903 (eval $ac_try) 2>&5
21905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21906 test $ac_status = 0; }; }; then :
21908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21909 $as_echo "yes" >&6; }
21911 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
21915 $as_echo "$as_me: failed program was:" >&5
21916 sed 's/^/| /' conftest.
$ac_ext >&5
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21919 $as_echo "no" >&6; }
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
21930 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
21931 tmp_flags
="$EXTRA_KCFLAGS"
21932 EXTRA_KCFLAGS
="-Werror"
21935 cat confdefs.h
- <<_ACEOF >conftest.c
21938 #include <linux/rwsem.h>
21944 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
21945 raw_spinlock_t dummy_lock __attribute__ ((unused));
21946 dummy_semaphore.wait_lock = dummy_lock;
21955 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
21956 echo "obj-m := conftest.o" >build
/Makefile
21958 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
21959 if { 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'
21960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21961 (eval $ac_try) 2>&5
21963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21964 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21965 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21966 (eval $ac_try) 2>&5
21968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21969 test $ac_status = 0; }; }; then :
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21972 $as_echo "yes" >&6; }
21974 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
21978 $as_echo "$as_me: failed program was:" >&5
21979 sed 's/^/| /' conftest.
$ac_ext >&5
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21982 $as_echo "no" >&6; }
21990 EXTRA_KCFLAGS
="$tmp_flags"
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
21993 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
21996 cat confdefs.h
- <<_ACEOF >conftest.c
21999 #include <linux/sched.h>
22000 #include <linux/sched/rt.h>
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 "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22035 $as_echo "yes" >&6; }
22038 $as_echo "$as_me: failed program was:" >&5
22039 sed 's/^/| /' conftest.
$ac_ext >&5
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22042 $as_echo "no" >&6; }
22052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants" >&5
22053 $as_echo_n "checking whether vfs_getattr() wants... " >&6; }
22056 cat confdefs.h
- <<_ACEOF >conftest.c
22059 #include <linux/fs.h>
22065 vfs_getattr((struct path *) NULL,
22066 (struct kstat *)NULL);
22075 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22076 echo "obj-m := conftest.o" >build
/Makefile
22078 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22079 if { 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'
22080 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22081 (eval $ac_try) 2>&5
22083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22084 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22085 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22086 (eval $ac_try) 2>&5
22088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22089 test $ac_status = 0; }; }; then :
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2 args" >&5
22092 $as_echo "2 args" >&6; }
22094 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
22098 $as_echo "$as_me: failed program was:" >&5
22099 sed 's/^/| /' conftest.
$ac_ext >&5
22103 cat confdefs.h
- <<_ACEOF >conftest.c
22106 #include <linux/fs.h>
22112 vfs_getattr((struct vfsmount *)NULL,
22113 (struct dentry *)NULL,
22114 (struct kstat *)NULL);
22123 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
22124 echo "obj-m := conftest.o" >build
/Makefile
22126 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
22127 if { 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'
22128 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22129 (eval $ac_try) 2>&5
22131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22132 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22133 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22134 (eval $ac_try) 2>&5
22136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22137 test $ac_status = 0; }; }; then :
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3 args" >&5
22140 $as_echo "3 args" >&6; }
22143 $as_echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.
$ac_ext >&5
22146 as_fn_error $?
"unknown" "$LINENO" 5
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Error!" >&5
22167 $as_echo "Error!" >&6; }
22168 as_fn_error $?
"Bad value \"$SPL_CONFIG\" for --with-config,
22169 user kernel|user|all|srpm" "$LINENO" 5 ;;
22172 if test "$SPL_CONFIG" = user
-o "$SPL_CONFIG" = all
; then
22174 CONFIG_USER_FALSE
='#'
22176 CONFIG_USER_TRUE
='#'
22180 if test "$SPL_CONFIG" = kernel
-o "$SPL_CONFIG" = all
&&
22181 test "x$enable_linux_builtin" != xyes
; then
22182 CONFIG_KERNEL_TRUE
=
22183 CONFIG_KERNEL_FALSE
='#'
22185 CONFIG_KERNEL_TRUE
='#'
22186 CONFIG_KERNEL_FALSE
=
22191 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"
22194 cat >confcache
<<\_ACEOF
22195 # This file is a shell script that caches the results of configure
22196 # tests run on this system so they can be shared between configure
22197 # scripts and configure runs, see configure's option --config-cache.
22198 # It is not useful on other systems. If it contains results you don't
22199 # want to keep, you may remove or edit it.
22201 # config.status only pays attention to the cache file if you give it
22202 # the --recheck option to rerun configure.
22204 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22205 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22206 # following values.
22210 # The following way of writing the cache mishandles newlines in values,
22211 # but we know of no workaround that is simple, portable, and efficient.
22212 # So, we kill variables containing newlines.
22213 # Ultrix sh set writes to stderr and can't be redirected directly,
22214 # and sets the high bit in the cache file unless we assign to the vars.
22216 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22217 eval ac_val
=\$
$ac_var
22221 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22222 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22225 _ | IFS | as_nl
) ;; #(
22226 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22227 *) { eval $ac_var=; unset $ac_var;} ;;
22233 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22234 *${as_nl}ac_space
=\
*)
22235 # `set' does not quote correctly, so add quotes: double-quote
22236 # substitution turns \\\\ into \\, and sed turns \\ into \.
22239 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22242 # `set' quotes correctly as required by POSIX, so do not add quotes.
22243 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22252 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22254 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22256 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22257 if test -w "$cache_file"; then
22258 test "x$cache_file" != "x/dev/null" &&
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22260 $as_echo "$as_me: updating cache $cache_file" >&6;}
22261 cat confcache
>$cache_file
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22264 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22269 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22270 # Let make expand exec_prefix.
22271 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22273 DEFS
=-DHAVE_CONFIG_H
22278 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22279 # 1. Remove the extension, and $U if already installed.
22280 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22281 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22282 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22283 # will be set to the directory where LIBOBJS objects are built.
22284 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22285 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22287 LIBOBJS
=$ac_libobjs
22289 LTLIBOBJS
=$ac_ltlibobjs
22292 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22293 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22296 if test -n "$EXEEXT"; then
22298 am__EXEEXT_FALSE
='#'
22300 am__EXEEXT_TRUE
='#'
22304 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22305 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22308 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22309 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22312 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
22313 as_fn_error $?
"conditional \"CONFIG_USER\" was never defined.
22314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22316 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
22317 as_fn_error $?
"conditional \"CONFIG_KERNEL\" was never defined.
22318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22321 : ${CONFIG_STATUS=./config.status}
22323 ac_clean_files_save
=$ac_clean_files
22324 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22326 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22328 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22330 # Generated by $as_me.
22331 # Run this file to recreate the current configuration.
22332 # Compiler output produced by configure, useful for debugging
22333 # configure, is in config.log if it exists.
22336 ac_cs_recheck=false
22339 SHELL=\${CONFIG_SHELL-$SHELL}
22342 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22343 ## -------------------- ##
22344 ## M4sh Initialization. ##
22345 ## -------------------- ##
22347 # Be more Bourne compatible
22348 DUALCASE
=1; export DUALCASE
# for MKS sh
22349 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22352 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22353 # is contrary to our usage. Disable this feature.
22354 alias -g '${1+"$@"}'='"$@"'
22355 setopt NO_GLOB_SUBST
22357 case `(set -o) 2>/dev/null` in #(
22369 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22370 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22371 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22372 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22373 # Prefer a ksh shell builtin over an external printf program on Solaris,
22374 # but without wasting forks for bash or zsh.
22375 if test -z "$BASH_VERSION$ZSH_VERSION" \
22376 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22377 as_echo='print
-r --'
22378 as_echo_n='print
-rn --'
22379 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22380 as_echo='printf %s
\n'
22381 as_echo_n='printf %s
'
22383 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22384 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22385 as_echo_n='/usr
/ucb
/echo -n'
22387 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22388 as_echo_n_body='eval
22392 expr "X$arg" : "X\\(.*\\)$as_nl";
22393 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22395 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22397 export as_echo_n_body
22398 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22400 export as_echo_body
22401 as_echo='sh
-c $as_echo_body as_echo
'
22404 # The user is always right.
22405 if test "${PATH_SEPARATOR+set}" != set; then
22407 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22408 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22415 # We need space, tab and new line, in precisely that order. Quoting is
22416 # there to prevent editors from complaining about space-tab.
22417 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22418 # splitting by setting IFS to empty value.)
22421 # Find who we are. Look in the path if we contain no directory separator.
22423 *[\\/]* ) as_myself=$0 ;;
22424 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22425 for as_dir in $PATH
22428 test -z "$as_dir" && as_dir=.
22429 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22435 # We did not find ourselves, most probably we were run as `sh COMMAND'
22436 # in which case we are not to be found in the path.
22437 if test "x$as_myself" = x
; then
22440 if test ! -f "$as_myself"; then
22441 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22445 # Unset variables that we do not need and which cause bugs (e.g. in
22446 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22447 # suppresses any "Segmentation fault" message there. '((' could
22448 # trigger a bug in pdksh 5.2.14.
22449 for as_var
in BASH_ENV ENV MAIL MAILPATH
22450 do eval test x\
${$as_var+set} = xset \
22451 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22464 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22467 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22468 # ----------------------------------------
22469 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22470 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22471 # script with STATUS, using 1 if that was 0.
22474 as_status
=$1; test $as_status -eq 0 && as_status
=1
22476 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22477 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22479 $as_echo "$as_me: error: $2" >&2
22480 as_fn_exit
$as_status
22484 # as_fn_set_status STATUS
22485 # -----------------------
22486 # Set $? to STATUS, without forking.
22487 as_fn_set_status
()
22490 } # as_fn_set_status
22492 # as_fn_exit STATUS
22493 # -----------------
22494 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22498 as_fn_set_status
$1
22504 # Portably unset VAR.
22507 { eval $1=; unset $1;}
22509 as_unset
=as_fn_unset
22510 # as_fn_append VAR VALUE
22511 # ----------------------
22512 # Append the text in VALUE to the end of the definition contained in VAR. Take
22513 # advantage of any shell optimizations that allow amortized linear growth over
22514 # repeated appends, instead of the typical quadratic growth present in naive
22516 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22517 eval 'as_fn_append ()
22528 # as_fn_arith ARG...
22529 # ------------------
22530 # Perform arithmetic evaluation on the ARGs, and store the result in the
22531 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22532 # must be portable across $(()) and expr.
22533 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22534 eval 'as_fn_arith ()
22541 as_val
=`expr "$@" || test $? -eq 1`
22546 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22547 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22553 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22554 as_basename
=basename
22559 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22565 as_me
=`$as_basename -- "$0" ||
22566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22567 X"$0" : 'X\(//\)$' \| \
22568 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22570 sed '/^.*\/\([^/][^/]*\)\/*$/{
22584 # Avoid depending upon Character Ranges.
22585 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22586 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22587 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22588 as_cr_digits
='0123456789'
22589 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22591 ECHO_C
= ECHO_N
= ECHO_T
=
22592 case `echo -n x` in #(((((
22594 case `echo 'xy\c'` in
22595 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22597 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22604 rm -f conf$$ conf$$.exe conf$$.
file
22605 if test -d conf$$.dir
; then
22606 rm -f conf$$.dir
/conf$$.
file
22609 mkdir conf$$.dir
2>/dev
/null
22611 if (echo >conf$$.
file) 2>/dev
/null
; then
22612 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22614 # ... but there are two gotchas:
22615 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22616 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22617 # In both cases, we have to default to `cp -p'.
22618 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22620 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22628 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22629 rmdir conf$$.dir
2>/dev
/null
22634 # Create "$as_dir" as a directory, including parents if necessary.
22639 -*) as_dir
=.
/$as_dir;;
22641 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22645 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22646 *) as_qdir
=$as_dir;;
22648 as_dirs
="'$as_qdir' $as_dirs"
22649 as_dir
=`$as_dirname -- "$as_dir" ||
22650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22651 X"$as_dir" : 'X\(//\)[^/]' \| \
22652 X"$as_dir" : 'X\(//\)$' \| \
22653 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22654 $as_echo X"$as_dir" |
22655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22659 /^X\(\/\/\)[^/].*/{
22672 test -d "$as_dir" && break
22674 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22675 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22679 if mkdir
-p .
2>/dev
/null
; then
22680 as_mkdir_p
='mkdir -p "$as_dir"'
22682 test -d .
/-p && rmdir .
/-p
22686 if test -x / >/dev
/null
2>&1; then
22687 as_test_x
='test -x'
22689 if ls -dL / >/dev
/null
2>&1; then
22696 if test -d "$1"; then
22702 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
22703 ???[sx]*):;;*)false;;esac;fi
22707 as_executable_p
=$as_test_x
22709 # Sed expression to map a string onto a valid CPP name.
22710 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22712 # Sed expression to map a string onto a valid variable name.
22713 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22717 ## ----------------------------------- ##
22718 ## Main body of $CONFIG_STATUS script. ##
22719 ## ----------------------------------- ##
22721 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22724 # Save the log message, to keep $0 and so on meaningful, and to
22725 # report actual input values of CONFIG_FILES etc. instead of their
22726 # values after options handling.
22728 This file was extended by $as_me, which was
22729 generated by GNU Autoconf 2.67. Invocation command line was
22731 CONFIG_FILES = $CONFIG_FILES
22732 CONFIG_HEADERS = $CONFIG_HEADERS
22733 CONFIG_LINKS = $CONFIG_LINKS
22734 CONFIG_COMMANDS = $CONFIG_COMMANDS
22737 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22742 case $ac_config_files in *"
22743 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22746 case $ac_config_headers in *"
22747 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22752 # Files that config.status was made for.
22753 config_files="$ac_config_files"
22754 config_headers="$ac_config_headers"
22755 config_commands="$ac_config_commands"
22759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22761 \`$as_me' instantiates files and other configuration actions
22762 from templates according to the current configuration. Unless the files
22763 and actions are specified as TAGs, all are instantiated by default.
22765 Usage: $0 [OPTION]... [TAG]...
22767 -h, --help print this help, then exit
22768 -V, --version print version number and configuration settings, then exit
22769 --config print configuration, then exit
22770 -q, --quiet, --silent
22771 do not print progress messages
22772 -d, --debug don't remove temporary files
22773 --recheck update $as_me by reconfiguring in the same conditions
22774 --file=FILE[:TEMPLATE]
22775 instantiate the configuration file FILE
22776 --header=FILE[:TEMPLATE]
22777 instantiate the configuration header FILE
22779 Configuration files:
22782 Configuration headers:
22785 Configuration commands:
22788 Report bugs to the package provider."
22791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22792 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22795 configured by $0, generated by GNU Autoconf 2.67,
22796 with options \\"\$ac_cs_config\\"
22798 Copyright (C) 2010 Free Software Foundation, Inc.
22799 This config.status script is free software; the Free Software Foundation
22800 gives unlimited permission to copy, distribute and modify it."
22807 test -n "\$AWK" || AWK=awk
22810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22811 # The default lists apply if the user does not specify any file.
22817 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22818 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22822 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22834 # Handling of the options.
22835 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22837 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22838 $as_echo "$ac_cs_version"; exit ;;
22839 --config |
--confi |
--conf |
--con |
--co |
--c )
22840 $as_echo "$ac_cs_config"; exit ;;
22841 --debug |
--debu |
--deb |
--de |
--d |
-d )
22843 --file |
--fil |
--fi |
--f )
22846 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22847 '') as_fn_error $?
"missing file argument" ;;
22849 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22850 ac_need_defaults
=false
;;
22851 --header |
--heade |
--head |
--hea )
22854 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22856 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22857 ac_need_defaults
=false
;;
22859 # Conflict between --help and --header
22860 as_fn_error $?
"ambiguous option: \`$1'
22861 Try \`$0 --help' for more information.";;
22862 --help |
--hel |
-h )
22863 $as_echo "$ac_cs_usage"; exit ;;
22864 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22865 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22868 # This is an error.
22869 -*) as_fn_error $?
"unrecognized option: \`$1'
22870 Try \`$0 --help' for more information." ;;
22872 *) as_fn_append ac_config_targets
" $1"
22873 ac_need_defaults
=false
;;
22879 ac_configure_extra_args
=
22881 if $ac_cs_silent; then
22883 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22888 if \$ac_cs_recheck; then
22889 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22891 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22892 CONFIG_SHELL='$SHELL'
22893 export CONFIG_SHELL
22898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22902 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22903 ## Running $as_me. ##
22909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22913 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22916 # The HP-UX ksh and POSIX shell print the target directory to stdout
22917 # if CDPATH is set.
22918 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22920 sed_quote_subst='$sed_quote_subst'
22921 double_quote_subst='$double_quote_subst'
22922 delay_variable_subst='$delay_variable_subst'
22923 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
22924 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
22925 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
22926 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
22927 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
22928 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
22929 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
22930 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
22931 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
22932 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
22933 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
22934 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
22935 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
22936 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
22937 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
22938 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
22939 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
22940 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
22941 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
22942 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
22943 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
22944 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
22945 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
22946 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
22947 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
22948 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
22949 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
22950 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22951 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
22952 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
22953 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
22954 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
22955 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22956 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
22957 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
22958 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22959 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22960 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22961 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
22962 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22963 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
22964 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
22965 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
22966 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
22967 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"`'
22968 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"`'
22969 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
22970 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
22971 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
22972 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
22973 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
22974 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
22975 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
22976 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
22977 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
22978 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
22979 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
22980 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
22981 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
22982 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
22983 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
22984 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
22985 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22986 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22987 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
22988 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
22989 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22990 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22991 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
22992 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22993 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22994 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22995 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22996 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22997 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22998 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
22999 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23000 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23001 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23002 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
23003 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
23004 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
23005 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
23006 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
23007 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23008 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
23009 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
23010 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
23011 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
23012 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
23013 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23014 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23015 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23016 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23017 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
23018 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
23019 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23020 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
23021 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
23022 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23023 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23024 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
23025 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23026 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
23027 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23028 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23029 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23030 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23031 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
23032 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
23033 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23034 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23035 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
23036 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
23037 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
23038 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
23039 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
23040 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
23043 LTCFLAGS='$LTCFLAGS'
23044 compiler='$compiler_DEFAULT'
23046 # Quote evaled strings.
23058 deplibs_check_method \
23067 lt_cv_sys_global_symbol_pipe \
23068 lt_cv_sys_global_symbol_to_cdecl \
23069 lt_cv_sys_global_symbol_to_c_name_address \
23070 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23073 lt_prog_compiler_no_builtin_flag \
23074 lt_prog_compiler_wl \
23075 lt_prog_compiler_pic \
23076 lt_prog_compiler_static \
23077 lt_cv_prog_compiler_c_o \
23085 export_dynamic_flag_spec \
23086 whole_archive_flag_spec \
23087 compiler_needs_object \
23089 allow_undefined_flag \
23090 no_undefined_flag \
23091 hardcode_libdir_flag_spec \
23092 hardcode_libdir_flag_spec_ld \
23093 hardcode_libdir_separator \
23098 variables_saved_for_relink \
23100 library_names_spec \
23105 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23106 *[\\\\\\\`\\"\\\$]*)
23107 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23110 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23115 # Double-quote double-evaled strings.
23116 for var in reload_cmds \
23117 old_postinstall_cmds \
23118 old_postuninstall_cmds \
23120 extract_expsyms_cmds \
23121 old_archive_from_new_cmds \
23122 old_archive_from_expsyms_cmds \
23124 archive_expsym_cmds \
23126 module_expsym_cmds \
23127 export_symbols_cmds \
23130 postuninstall_cmds \
23132 sys_lib_search_path_spec \
23133 sys_lib_dlsearch_path_spec; do
23134 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23135 *[\\\\\\\`\\"\\\$]*)
23136 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23139 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23144 # Fix-up fallback echo if it was mangled by the above quoting rules.
23146 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
23150 ac_aux_dir='$ac_aux_dir'
23151 xsi_shell='$xsi_shell'
23152 lt_shell_append='$lt_shell_append'
23154 # See if we are running on zsh, and set the options which allow our
23155 # commands through without removal of \ escapes INIT.
23156 if test -n "\${ZSH_VERSION+set}" ; then
23157 setopt NO_GLOB_SUBST
23163 TIMESTAMP='$TIMESTAMP'
23172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23174 # Handling of arguments.
23175 for ac_config_target
in $ac_config_targets
23177 case $ac_config_target in
23178 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
23179 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23180 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23181 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23182 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
23183 "man/man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man1/Makefile" ;;
23184 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
23185 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
23186 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
23187 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
23188 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
23189 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23190 "include/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/fs/Makefile" ;;
23191 "include/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES include/linux/Makefile" ;;
23192 "include/rpc/Makefile") CONFIG_FILES
="$CONFIG_FILES include/rpc/Makefile" ;;
23193 "include/sharefs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sharefs/Makefile" ;;
23194 "include/sys/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/Makefile" ;;
23195 "include/sys/fm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fm/Makefile" ;;
23196 "include/sys/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fs/Makefile" ;;
23197 "include/sys/sysevent/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/sysevent/Makefile" ;;
23198 "include/util/Makefile") CONFIG_FILES
="$CONFIG_FILES include/util/Makefile" ;;
23199 "include/vm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/vm/Makefile" ;;
23200 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
23201 "rpm/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/Makefile" ;;
23202 "rpm/fedora/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/fedora/Makefile" ;;
23203 "rpm/fedora/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/fedora/spl.spec" ;;
23204 "rpm/fedora/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/fedora/spl-kmod.spec" ;;
23205 "rpm/fedora/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/fedora/spl-dkms.spec" ;;
23206 "rpm/generic/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/generic/Makefile" ;;
23207 "rpm/generic/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl.spec" ;;
23208 "rpm/generic/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-kmod.spec" ;;
23209 "rpm/generic/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-dkms.spec" ;;
23210 "spl.release") CONFIG_FILES
="$CONFIG_FILES spl.release" ;;
23212 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
23217 # If the user did not use the arguments to specify the items to instantiate,
23218 # then the envvar interface is used. Set only those that are not.
23219 # We use the long form for the default assignment because of an extremely
23220 # bizarre bug on SunOS 4.1.3.
23221 if $ac_need_defaults; then
23222 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23223 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23224 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23227 # Have a temporary directory for convenience. Make it in the build tree
23228 # simply because there is no reason against having it here, and in addition,
23229 # creating and moving files from /tmp can sometimes cause problems.
23230 # Hook for its removal unless debugging.
23231 # Note that there is a small window in which the directory will not be cleaned:
23232 # after its creation but before its name has been assigned to `$tmp'.
23236 trap 'exit_status=$?
23237 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23239 trap 'as_fn_exit 1' 1 2 13 15
23241 # Create a (secure) tmp directory for tmp files.
23244 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23245 test -n "$tmp" && test -d "$tmp"
23248 tmp
=.
/conf$$
-$RANDOM
23249 (umask 077 && mkdir
"$tmp")
23250 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23252 # Set up the scripts for CONFIG_FILES section.
23253 # No need to generate them if there are no CONFIG_FILES.
23254 # This happens for instance with `./config.status config.h'.
23255 if test -n "$CONFIG_FILES"; then
23258 ac_cr
=`echo X | tr X '\015'`
23259 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23260 # But we know of no other shell where ac_cr would be empty at this
23261 # point, so we can use a bashism as a fallback.
23262 if test "x$ac_cr" = x
; then
23263 eval ac_cr
=\$
\'\\r
\'
23265 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23266 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23269 ac_cs_awk_cr
=$ac_cr
23272 echo 'BEGIN {' >"$tmp/subs1.awk" &&
23277 echo "cat >conf$$subs.awk <<_ACEOF" &&
23278 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23280 } >conf$$subs.sh ||
23281 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23282 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23284 for ac_last_try in false false false false false :; do
23285 . ./conf$$subs.sh ||
23286 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23288 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23289 if test $ac_delim_n = $ac_delim_num; then
23291 elif $ac_last_try; then
23292 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23294 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23297 rm -f conf$$subs.sh
23299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23300 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
23304 s/^/S["/; s
/!.
*/"]=/
23314 s/\(.\{148\}\)..*/\1/
23316 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23321 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23328 s/\(.\{148\}\)..*/\1/
23330 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23334 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23339 ' <conf$$subs.awk | sed '
23344 ' >>$CONFIG_STATUS || ac_write_fail=1
23345 rm -f conf$$subs.awk
23346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23348 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
23349 for (key in S) S_is_set[key] = 1
23355 nfields = split(line, field, "@
")
23357 len = length(field[1])
23358 for (i = 2; i < nfields; i++) {
23360 keylen = length(key)
23361 if (S_is_set[key]) {
23363 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23364 len += length(value) + length(field[++i])
23375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23376 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23377 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23380 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
23381 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23384 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23385 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23386 # trailing colons and then remove the whole line if VPATH becomes empty
23387 # (actually we leave an empty line to preserve line numbers).
23388 if test "x
$srcdir" = x.; then
23389 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23408 fi # test -n "$CONFIG_FILES"
23410 # Set up the scripts for CONFIG_HEADERS section.
23411 # No need to generate them if there are no CONFIG_HEADERS.
23412 # This happens for instance with `./config.status Makefile'.
23413 if test -n "$CONFIG_HEADERS"; then
23414 cat >"$tmp/defines.
awk" <<\_ACAWK ||
23418 # Transform confdefs.h into an awk script `defines.awk', embedded as
23419 # here-document in config.status, that substitutes the proper values into
23420 # config.h.in to produce config.h.
23422 # Create a delimiter string that does not exist in confdefs.h, to ease
23423 # handling of long lines.
23425 for ac_last_try in false false :; do
23426 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
23427 if test -z "$ac_t"; then
23429 elif $ac_last_try; then
23430 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23432 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23436 # For the awk script, D is an array of macro values keyed by name,
23437 # likewise P contains macro parameters if any. Preserve backslash
23438 # newline sequences.
23440 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23442 s/.\{148\}/&'"$ac_delim"'/g
23445 s/^[ ]*#[ ]*define[ ][ ]*/ /
23452 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23454 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23458 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23459 D["\
1"]=" \
3\\\\\\n
"\\/p
23461 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23466 s/.\{148\}/&'"$ac_delim"'/g
23471 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23474 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23476 ' <confdefs.h | sed '
23477 s/'"$ac_delim"'/"\\\
23478 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23481 for (key in D) D_is_set[key] = 1
23484 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23486 split(line, arg, " ")
23487 if (arg[1] == "#") {
23491 defundef
= substr
(arg
[1], 2)
23494 split(mac1
, mac2
, "(") #)
23496 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23497 if (D_is_set
[macro
]) {
23498 # Preserve the white space surrounding the "#".
23499 print prefix
"define", macro P
[macro
] D
[macro
]
23502 # Replace #undef with comments. This is necessary, for example,
23503 # in the case of _POSIX_SOURCE, which is predefined and required
23504 # on some systems where configure will not decide to define it.
23505 if (defundef
== "undef") {
23506 print
"/*", prefix defundef
, macro
, "*/"
23514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23515 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23516 fi # test -n "$CONFIG_HEADERS"
23519 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23524 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23526 case $ac_mode$ac_tag in
23528 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
23529 :[FH
]-) ac_tag
=-:-;;
23530 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23547 -) ac_f
="$tmp/stdin";;
23548 *) # Look for the file first in the build tree, then in the source tree
23549 # (if the path is not absolute). The absolute path cannot be DOS-style,
23550 # because $ac_f cannot contain `:'.
23554 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23556 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
23558 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23559 as_fn_append ac_file_inputs
" '$ac_f'"
23562 # Let's still pretend it is `configure' which instantiates (i.e., don't
23563 # use $as_me), people would be surprised to read:
23564 # /* config.h. Generated by config.status. */
23565 configure_input
='Generated from '`
23566 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23568 if test x
"$ac_file" != x-
; then
23569 configure_input
="$ac_file. $configure_input"
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23571 $as_echo "$as_me: creating $ac_file" >&6;}
23573 # Neutralize special characters interpreted by sed in replacement strings.
23574 case $configure_input in #(
23575 *\
&* |
*\|
* |
*\\* )
23576 ac_sed_conf_input
=`$as_echo "$configure_input" |
23577 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23578 *) ac_sed_conf_input
=$configure_input;;
23582 *:-:* |
*:-) cat >"$tmp/stdin" \
23583 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23588 ac_dir
=`$as_dirname -- "$ac_file" ||
23589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23590 X"$ac_file" : 'X\(//\)[^/]' \| \
23591 X"$ac_file" : 'X\(//\)$' \| \
23592 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23593 $as_echo X"$ac_file" |
23594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23598 /^X\(\/\/\)[^/].*/{
23611 as_dir
="$ac_dir"; as_fn_mkdir_p
23615 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23617 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23618 # A ".." for each directory in $ac_dir_suffix.
23619 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23620 case $ac_top_builddir_sub in
23621 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23622 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23625 ac_abs_top_builddir
=$ac_pwd
23626 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23627 # for backward compatibility:
23628 ac_top_builddir
=$ac_top_build_prefix
23631 .
) # We are building in place.
23633 ac_top_srcdir
=$ac_top_builddir_sub
23634 ac_abs_top_srcdir
=$ac_pwd ;;
23635 [\\/]* | ?
:[\\/]* ) # Absolute name.
23636 ac_srcdir
=$srcdir$ac_dir_suffix;
23637 ac_top_srcdir
=$srcdir
23638 ac_abs_top_srcdir
=$srcdir ;;
23639 *) # Relative name.
23640 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23641 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23642 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23644 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23654 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23655 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23657 ac_MKDIR_P
=$MKDIR_P
23659 [\\/$
]* | ?
:[\\/]* ) ;;
23660 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23665 # If the template does not know about datarootdir, expand it.
23666 # FIXME: This hack should be removed a few years after 2.60.
23667 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23678 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23679 *datarootdir
*) ac_datarootdir_seen
=yes;;
23680 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23682 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23685 ac_datarootdir_hack='
23686 s&@datadir@&$datadir&g
23687 s&@docdir@&$docdir&g
23688 s&@infodir@&$infodir&g
23689 s&@localedir@&$localedir&g
23690 s&@mandir@&$mandir&g
23691 s&\\\${datarootdir}&$datarootdir&g' ;;
23695 # Neutralize VPATH when `$srcdir' = `.'.
23696 # Shell code in configure.ac might set extrasub.
23697 # FIXME: do we really want to maintain this feature?
23698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23699 ac_sed_extra="$ac_vpsub
23702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23704 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23705 s|@configure_input@|
$ac_sed_conf_input|
;t t
23706 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23707 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23708 s
&@srcdir@
&$ac_srcdir&;t t
23709 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23710 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23711 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23712 s
&@builddir@
&$ac_builddir&;t t
23713 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23714 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23715 s
&@INSTALL@
&$ac_INSTALL&;t t
23716 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23717 $ac_datarootdir_hack
23719 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
23720 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23722 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23723 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23724 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23726 which seems to be undefined. Please make sure it is defined" >&5
23727 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23728 which seems to be undefined. Please make sure it is defined" >&2;}
23732 -) cat "$tmp/out" && rm -f "$tmp/out";;
23733 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
23735 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23741 if test x"$ac_file" != x-; then
23743 $as_echo "/* $configure_input */" \
23744 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
23745 } >"$tmp/config.h" \
23746 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23747 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23749 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23752 mv "$tmp/config.h" "$ac_file" \
23753 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23756 $as_echo "/* $configure_input */" \
23757 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
23758 || as_fn_error $? "could not create -" "$LINENO" 5
23760 # Compute "$ac_file"'s index
in $config_headers.
23763 for _am_header
in $config_headers :; do
23764 case $_am_header in
23765 $_am_arg |
$_am_arg:* )
23768 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23771 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23772 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23773 X"$_am_arg" : 'X\(//\)[^/]' \| \
23774 X"$_am_arg" : 'X\(//\)$' \| \
23775 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23776 $as_echo X"$_am_arg" |
23777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23781 /^X\(\/\/\)[^/].*/{
23793 s/.*/./; q'`/stamp-h
$_am_stamp_count
23796 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23797 $as_echo "$as_me: executing $ac_file commands" >&6;}
23802 case $ac_file$ac_mode in
23804 (mv spl_config.h spl_config.h.tmp
&&
23805 awk -f ${ac_srcdir}/config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
23806 rm spl_config.h.tmp
) ||
exit 1 ;;
23807 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
23808 # Autoconf 2.62 quotes --file arguments for eval, but not when files
23809 # are listed without --file. Let's play safe and only enable the eval
23810 # if we detect the quoting.
23811 case $CONFIG_FILES in
23812 *\'*) eval set x
"$CONFIG_FILES" ;;
23813 *) set x
$CONFIG_FILES ;;
23818 # Strip MF so we end up with the name of the file.
23819 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23820 # Check whether this is an Automake generated Makefile or not.
23821 # We used to match only the files named `Makefile.in', but
23822 # some people rename them; so instead we look at the file content.
23823 # Grep'ing the first line is not enough: some people post-process
23824 # each Makefile.in and add a new line on top of each file to say so.
23825 # Grep'ing the whole file is not good either: AIX grep has a line
23826 # limit of 2048, but all sed's we know have understand at least 4000.
23827 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23828 dirpart
=`$as_dirname -- "$mf" ||
23829 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23830 X"$mf" : 'X\(//\)[^/]' \| \
23831 X"$mf" : 'X\(//\)$' \| \
23832 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23838 /^X\(\/\/\)[^/].*/{
23854 # Extract the definition of DEPDIR, am__include, and am__quote
23855 # from the Makefile without running `make'.
23856 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23857 test -z "$DEPDIR" && continue
23858 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23859 test -z "am__include" && continue
23860 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23861 # When using ansi2knr, U may be empty or an underscore; expand it
23862 U
=`sed -n 's/^U = //p' < "$mf"`
23863 # Find all dependency output files, they are included files with
23864 # $(DEPDIR) in their names. We invoke sed twice because it is the
23865 # simplest approach to changing $(DEPDIR) to its actual value in the
23867 for file in `sed -n "
23868 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23869 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23870 # Make sure the directory exists.
23871 test -f "$dirpart/$file" && continue
23872 fdir
=`$as_dirname -- "$file" ||
23873 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23874 X"$file" : 'X\(//\)[^/]' \| \
23875 X"$file" : 'X\(//\)$' \| \
23876 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23877 $as_echo X"$file" |
23878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23882 /^X\(\/\/\)[^/].*/{
23895 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23896 # echo "creating $dirpart/$file"
23897 echo '# dummy' > "$dirpart/$file"
23904 # See if we are running on zsh, and set the options which allow our
23905 # commands through without removal of \ escapes.
23906 if test -n "${ZSH_VERSION+set}" ; then
23907 setopt NO_GLOB_SUBST
23910 cfgfile
="${ofile}T"
23911 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23914 cat <<_LT_EOF >> "$cfgfile"
23917 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23918 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23919 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23920 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23922 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23923 # 2006, 2007, 2008 Free Software Foundation, Inc.
23924 # Written by Gordon Matzigkeit, 1996
23926 # This file is part of GNU Libtool.
23928 # GNU Libtool is free software; you can redistribute it and/or
23929 # modify it under the terms of the GNU General Public License as
23930 # published by the Free Software Foundation; either version 2 of
23931 # the License, or (at your option) any later version.
23933 # As a special exception to the GNU General Public License,
23934 # if you distribute this file as part of a program or library that
23935 # is built using GNU Libtool, you may include this file under the
23936 # same distribution terms that you use for the rest of that program.
23938 # GNU Libtool is distributed in the hope that it will be useful,
23939 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23940 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23941 # GNU General Public License for more details.
23943 # You should have received a copy of the GNU General Public License
23944 # along with GNU Libtool; see the file COPYING. If not, a copy
23945 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23946 # obtained by writing to the Free Software Foundation, Inc.,
23947 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23950 # The names of the tagged configurations supported by this script.
23953 # ### BEGIN LIBTOOL CONFIG
23955 # Which release of libtool.m4 was used?
23956 macro_version=$macro_version
23957 macro_revision=$macro_revision
23959 # Whether or not to build shared libraries.
23960 build_libtool_libs=$enable_shared
23962 # Whether or not to build static libraries.
23963 build_old_libs=$enable_static
23965 # What type of objects to build.
23968 # Whether or not to optimize for fast installation.
23969 fast_install=$enable_fast_install
23972 host_alias=$host_alias
23976 # The build system.
23977 build_alias=$build_alias
23981 # A sed program that does not truncate output.
23984 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23985 Xsed="\$SED -e 1s/^X//"
23987 # A grep program that handles long lines.
23993 # A literal string matcher.
23996 # A BSD- or MS-compatible name lister.
23999 # Whether we need soft or hard links.
24002 # What is the maximum length of a command?
24003 max_cmd_len=$max_cmd_len
24005 # Object file suffix (normally "o").
24008 # Executable file suffix (normally "").
24011 # whether the shell understands "unset".
24014 # turn spaces into newlines.
24017 # turn newlines into spaces.
24020 # How to create reloadable object files.
24021 reload_flag=$lt_reload_flag
24022 reload_cmds=$lt_reload_cmds
24024 # An object symbol dumper.
24025 OBJDUMP=$lt_OBJDUMP
24027 # Method to check whether dependent libraries are shared objects.
24028 deplibs_check_method=$lt_deplibs_check_method
24030 # Command to use when deplibs_check_method == "file_magic".
24031 file_magic_cmd=$lt_file_magic_cmd
24035 AR_FLAGS=$lt_AR_FLAGS
24037 # A symbol stripping program.
24040 # Commands used to install an old-style archive.
24042 old_postinstall_cmds=$lt_old_postinstall_cmds
24043 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24048 # LTCC compiler flags.
24049 LTCFLAGS=$lt_CFLAGS
24051 # Take the output of nm and produce a listing of raw symbols and C names.
24052 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24054 # Transform the output of nm in a proper C declaration.
24055 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24057 # Transform the output of nm in a C name address pair.
24058 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24060 # Transform the output of nm in a C name address pair when lib prefix is needed.
24061 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24063 # The name of the directory that contains temporary libtool files.
24066 # Shell to use when invoking shell scripts.
24069 # An echo program that does not interpret backslashes.
24072 # Used to examine libraries when file_magic_cmd begins with "file".
24073 MAGIC_CMD=$MAGIC_CMD
24075 # Must we lock files when doing compilation?
24076 need_locks=$lt_need_locks
24078 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24079 DSYMUTIL=$lt_DSYMUTIL
24081 # Tool to change global to local symbols on Mac OS X.
24084 # Tool to manipulate fat objects and archives on Mac OS X.
24087 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24090 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24091 OTOOL64=$lt_OTOOL64
24093 # Old archive suffix (normally "a").
24096 # Shared library suffix (normally ".so").
24097 shrext_cmds=$lt_shrext_cmds
24099 # The commands to extract the exported symbol list from a shared archive.
24100 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24102 # Variables whose values should be saved in libtool wrapper scripts and
24103 # restored at link time.
24104 variables_saved_for_relink=$lt_variables_saved_for_relink
24106 # Do we need the "lib" prefix for modules?
24107 need_lib_prefix=$need_lib_prefix
24109 # Do we need a version for libraries?
24110 need_version=$need_version
24112 # Library versioning type.
24113 version_type=$version_type
24115 # Shared library runtime path variable.
24116 runpath_var=$runpath_var
24118 # Shared library path variable.
24119 shlibpath_var=$shlibpath_var
24121 # Is shlibpath searched before the hard-coded library search path?
24122 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24124 # Format of library name prefix.
24125 libname_spec=$lt_libname_spec
24127 # List of archive names. First name is the real one, the rest are links.
24128 # The last name is the one that the linker finds with -lNAME
24129 library_names_spec=$lt_library_names_spec
24131 # The coded name of the library, if different from the real name.
24132 soname_spec=$lt_soname_spec
24134 # Command to use after installation of a shared archive.
24135 postinstall_cmds=$lt_postinstall_cmds
24137 # Command to use after uninstallation of a shared archive.
24138 postuninstall_cmds=$lt_postuninstall_cmds
24140 # Commands used to finish a libtool library installation in a directory.
24141 finish_cmds=$lt_finish_cmds
24143 # As "finish_cmds", except a single script fragment to be evaled but
24145 finish_eval=$lt_finish_eval
24147 # Whether we should hardcode library paths into libraries.
24148 hardcode_into_libs=$hardcode_into_libs
24150 # Compile-time system search path for libraries.
24151 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24153 # Run-time system search path for libraries.
24154 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24156 # Whether dlopen is supported.
24157 dlopen_support=$enable_dlopen
24159 # Whether dlopen of programs is supported.
24160 dlopen_self=$enable_dlopen_self
24162 # Whether dlopen of statically linked programs is supported.
24163 dlopen_self_static=$enable_dlopen_self_static
24165 # Commands to strip libraries.
24166 old_striplib=$lt_old_striplib
24167 striplib=$lt_striplib
24170 # The linker used to build libraries.
24173 # Commands used to build an old-style archive.
24174 old_archive_cmds=$lt_old_archive_cmds
24176 # A language specific compiler.
24179 # Is the compiler the GNU compiler?
24182 # Compiler flag to turn off builtin functions.
24183 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24185 # How to pass a linker flag through the compiler.
24186 wl=$lt_lt_prog_compiler_wl
24188 # Additional compiler flags for building library objects.
24189 pic_flag=$lt_lt_prog_compiler_pic
24191 # Compiler flag to prevent dynamic linking.
24192 link_static_flag=$lt_lt_prog_compiler_static
24194 # Does compiler simultaneously support -c and -o options?
24195 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24197 # Whether or not to add -lc for building shared libraries.
24198 build_libtool_need_lc=$archive_cmds_need_lc
24200 # Whether or not to disallow shared libs when runtime libs are static.
24201 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24203 # Compiler flag to allow reflexive dlopens.
24204 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24206 # Compiler flag to generate shared objects directly from archives.
24207 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24209 # Whether the compiler copes with passing no objects directly.
24210 compiler_needs_object=$lt_compiler_needs_object
24212 # Create an old-style archive from a shared archive.
24213 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24215 # Create a temporary old-style archive to link instead of a shared archive.
24216 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24218 # Commands used to build a shared archive.
24219 archive_cmds=$lt_archive_cmds
24220 archive_expsym_cmds=$lt_archive_expsym_cmds
24222 # Commands used to build a loadable module if different from building
24223 # a shared archive.
24224 module_cmds=$lt_module_cmds
24225 module_expsym_cmds=$lt_module_expsym_cmds
24227 # Whether we are building with GNU ld or not.
24228 with_gnu_ld=$lt_with_gnu_ld
24230 # Flag that allows shared libraries with undefined symbols to be built.
24231 allow_undefined_flag=$lt_allow_undefined_flag
24233 # Flag that enforces no undefined symbols.
24234 no_undefined_flag=$lt_no_undefined_flag
24236 # Flag to hardcode \$libdir into a binary during linking.
24237 # This must work even if \$libdir does not exist
24238 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24240 # If ld is used when linking, flag to hardcode \$libdir into a binary
24241 # during linking. This must work even if \$libdir does not exist.
24242 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24244 # Whether we need a single "-rpath" flag with a separated argument.
24245 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24247 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24248 # DIR into the resulting binary.
24249 hardcode_direct=$hardcode_direct
24251 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24252 # DIR into the resulting binary and the resulting library dependency is
24253 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24254 # library is relocated.
24255 hardcode_direct_absolute=$hardcode_direct_absolute
24257 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24258 # into the resulting binary.
24259 hardcode_minus_L=$hardcode_minus_L
24261 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24262 # into the resulting binary.
24263 hardcode_shlibpath_var=$hardcode_shlibpath_var
24265 # Set to "yes" if building a shared library automatically hardcodes DIR
24266 # into the library and all subsequent libraries and executables linked
24268 hardcode_automatic=$hardcode_automatic
24270 # Set to yes if linker adds runtime paths of dependent libraries
24271 # to runtime path list.
24272 inherit_rpath=$inherit_rpath
24274 # Whether libtool must link a program against all its dependency libraries.
24275 link_all_deplibs=$link_all_deplibs
24277 # Fix the shell variable \$srcfile for the compiler.
24278 fix_srcfile_path=$lt_fix_srcfile_path
24280 # Set to "yes" if exported symbols are required.
24281 always_export_symbols=$always_export_symbols
24283 # The commands to list exported symbols.
24284 export_symbols_cmds=$lt_export_symbols_cmds
24286 # Symbols that should not be listed in the preloaded symbols.
24287 exclude_expsyms=$lt_exclude_expsyms
24289 # Symbols that must always be exported.
24290 include_expsyms=$lt_include_expsyms
24292 # Commands necessary for linking programs (against libraries) with templates.
24293 prelink_cmds=$lt_prelink_cmds
24295 # Specify filename containing input files.
24296 file_list_spec=$lt_file_list_spec
24298 # How to hardcode a shared library path into an executable.
24299 hardcode_action=$hardcode_action
24301 # ### END LIBTOOL CONFIG
24307 cat <<\_LT_EOF
>> "$cfgfile"
24308 # AIX sometimes has problems with the GCC collect2 program. For some
24309 # reason, if we set the COLLECT_NAMES environment variable, the problems
24310 # vanish in a puff of smoke.
24311 if test "X${COLLECT_NAMES+set}" != Xset
; then
24313 export COLLECT_NAMES
24320 ltmain
="$ac_aux_dir/ltmain.sh"
24323 # We use sed instead of cat because bash on DJGPP gets confused if
24324 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24325 # text mode, it properly converts lines to CR/LF. This bash problem
24326 # is reportedly fixed, but why not run on old versions too?
24327 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24328 ||
(rm -f "$cfgfile"; exit 1)
24332 cat << \_LT_EOF
>> "$cfgfile"
24334 # func_dirname file append nondir_replacement
24335 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24336 # otherwise set result to NONDIR_REPLACEMENT.
24340 */*) func_dirname_result
="${1%/*}${2}" ;;
24341 * ) func_dirname_result
="${3}" ;;
24345 # func_basename file
24348 func_basename_result
="${1##*/}"
24351 # func_dirname_and_basename file append nondir_replacement
24352 # perform func_basename and func_dirname in a single function
24354 # dirname: Compute the dirname of FILE. If nonempty,
24355 # add APPEND to the result, otherwise set result
24356 # to NONDIR_REPLACEMENT.
24357 # value returned in "$func_dirname_result"
24358 # basename: Compute filename of FILE.
24359 # value retuned in "$func_basename_result"
24360 # Implementation must be kept synchronized with func_dirname
24361 # and func_basename. For efficiency, we do not delegate to
24362 # those functions but instead duplicate the functionality here.
24363 func_dirname_and_basename
()
24366 */*) func_dirname_result
="${1%/*}${2}" ;;
24367 * ) func_dirname_result
="${3}" ;;
24369 func_basename_result
="${1##*/}"
24372 # func_stripname prefix suffix name
24373 # strip PREFIX and SUFFIX off of NAME.
24374 # PREFIX and SUFFIX must not contain globbing or regex special
24375 # characters, hashes, percent signs, but SUFFIX may contain a leading
24376 # dot (in which case that matches only a dot).
24379 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24380 # positional parameters, so assign one to ordinary parameter first.
24381 func_stripname_result
=${3}
24382 func_stripname_result
=${func_stripname_result#"${1}"}
24383 func_stripname_result
=${func_stripname_result%"${2}"}
24389 func_opt_split_opt
=${1%%=*}
24390 func_opt_split_arg
=${1#*=}
24397 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
24398 *) func_lo2o_result
=${1} ;;
24402 # func_xform libobj-or-source
24405 func_xform_result
=${1%.*}.lo
24408 # func_arith arithmetic-term...
24411 func_arith_result
=$
(( $
* ))
24415 # STRING may not start with a hyphen.
24418 func_len_result
=${#1}
24423 *) # Bourne compatible functions.
24424 cat << \_LT_EOF
>> "$cfgfile"
24426 # func_dirname file append nondir_replacement
24427 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24428 # otherwise set result to NONDIR_REPLACEMENT.
24431 # Extract subdirectory from the argument.
24432 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24433 if test "X$func_dirname_result" = "X${1}"; then
24434 func_dirname_result
="${3}"
24436 func_dirname_result
="$func_dirname_result${2}"
24440 # func_basename file
24443 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
24447 # func_stripname prefix suffix name
24448 # strip PREFIX and SUFFIX off of NAME.
24449 # PREFIX and SUFFIX must not contain globbing or regex special
24450 # characters, hashes, percent signs, but SUFFIX may contain a leading
24451 # dot (in which case that matches only a dot).
24452 # func_strip_suffix prefix name
24456 .
*) func_stripname_result
=`$ECHO "X${3}" \
24457 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
24458 *) func_stripname_result
=`$ECHO "X${3}" \
24459 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
24464 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
24465 my_sed_long_arg
='1s/^-[^=]*=//'
24470 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
24471 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
24477 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24480 # func_xform libobj-or-source
24483 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24486 # func_arith arithmetic-term...
24489 func_arith_result
=`expr "$@"`
24493 # STRING may not start with a hyphen.
24496 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24502 case $lt_shell_append in
24504 cat << \_LT_EOF
>> "$cfgfile"
24506 # func_append var value
24507 # Append VALUE to the end of shell variable VAR.
24515 cat << \_LT_EOF
>> "$cfgfile"
24517 # func_append var value
24518 # Append VALUE to the end of shell variable VAR.
24529 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24530 ||
(rm -f "$cfgfile"; exit 1)
24532 mv -f "$cfgfile" "$ofile" ||
24533 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24544 ac_clean_files
=$ac_clean_files_save
24546 test $ac_write_fail = 0 ||
24547 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24550 # configure is writing to config.log, and then calls config.status.
24551 # config.status does its own redirection, appending to config.log.
24552 # Unfortunately, on DOS this fails, as config.log is still kept open
24553 # by configure, so config.status won't be able to write to it; its
24554 # output is simply discarded. So we exec the FD to /dev/null,
24555 # effectively closing config.log, so it can be properly (re)opened and
24556 # appended to by config.status. When coming back to configure, we
24557 # need to make the FD available again.
24558 if test "$no_create" != yes; then
24560 ac_config_status_args
=
24561 test "$silent" = yes &&
24562 ac_config_status_args
="$ac_config_status_args --quiet"
24564 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24566 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24567 # would make configure fail if this is the last instruction.
24568 $ac_cs_success || as_fn_exit
1
24570 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24572 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}