2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL
=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec
; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo
; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo
; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset
; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
638 for dir
in $PATH /usr
/ucb
; do
640 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho
; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL
=/bin
/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
679 SHELL
="$CONFIG_SHELL"
681 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string
=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev
/null
6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix
=/usr
/local
735 ac_config_libobj_dir
=.
741 SHELL
=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
750 # Factoring default headers for most tests.
751 ac_includes_default
="\
753 #ifdef HAVE_SYS_TYPES_H
754 # include <sys/types.h>
756 #ifdef HAVE_SYS_STAT_H
757 # include <sys/stat.h>
763 # ifdef HAVE_STDLIB_H
768 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
773 #ifdef HAVE_STRINGS_H
774 # include <strings.h>
776 #ifdef HAVE_INTTYPES_H
777 # include <inttypes.h>
786 ac_subst_vars
='am__EXEEXT_FALSE
863 INSTALL_STRIP_PROGRAM
881 MAINTAINER_MODE_FALSE
931 program_transform_name
943 enable_option_checking
944 enable_maintainer_mode
946 enable_dependency_tracking
958 enable_debug_kmem_tracking
959 enable_atomic_spinlocks
961 ac_precious_vars
='build_alias
972 # Initialize some variables set by options.
974 ac_init_version
=false
975 ac_unrecognized_opts
=
977 # The variables have the same names as the options, with
978 # dashes changed to underlines.
986 program_transform_name
=s
,x
,x
,
994 # Installation directory options.
995 # These are left unexpanded so users can "make install exec_prefix=/foo"
996 # and all the variables that are supposed to be based on exec_prefix
997 # by default will actually change.
998 # Use braces instead of parens because sh, perl, etc. also accept them.
999 # (The list follows the same order as the GNU Coding Standards.)
1000 bindir
='${exec_prefix}/bin'
1001 sbindir
='${exec_prefix}/sbin'
1002 libexecdir
='${exec_prefix}/libexec'
1003 datarootdir
='${prefix}/share'
1004 datadir
='${datarootdir}'
1005 sysconfdir
='${prefix}/etc'
1006 sharedstatedir
='${prefix}/com'
1007 localstatedir
='${prefix}/var'
1008 includedir
='${prefix}/include'
1009 oldincludedir
='/usr/include'
1010 docdir
='${datarootdir}/doc/${PACKAGE}'
1011 infodir
='${datarootdir}/info'
1016 libdir
='${exec_prefix}/lib'
1017 localedir
='${datarootdir}/locale'
1018 mandir
='${datarootdir}/man'
1024 # If the previous option needs an argument, assign it.
1025 if test -n "$ac_prev"; then
1026 eval $ac_prev=\
$ac_option
1032 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1036 # Accept the important Cygnus configure options, so we can diagnose typos.
1038 case $ac_dashdash$ac_option in
1042 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1044 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1045 bindir
=$ac_optarg ;;
1047 -build |
--build |
--buil |
--bui |
--bu)
1048 ac_prev
=build_alias
;;
1049 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1050 build_alias
=$ac_optarg ;;
1052 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1053 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1054 ac_prev
=cache_file
;;
1055 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1056 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1057 cache_file
=$ac_optarg ;;
1059 --config-cache |
-C)
1060 cache_file
=config.cache
;;
1062 -datadir |
--datadir |
--datadi |
--datad)
1064 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1065 datadir
=$ac_optarg ;;
1067 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1068 |
--dataroo |
--dataro |
--datar)
1069 ac_prev
=datarootdir
;;
1070 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1071 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1072 datarootdir
=$ac_optarg ;;
1074 -disable-* |
--disable-*)
1075 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1078 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1079 { (exit 1); exit 1; }; }
1080 ac_useropt_orig
=$ac_useropt
1081 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082 case $ac_user_opts in
1084 "enable_
$ac_useropt"
1086 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1087 ac_unrecognized_sep
=', ';;
1089 eval enable_
$ac_useropt=no
;;
1091 -docdir |
--docdir |
--docdi |
--doc |
--do)
1093 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1094 docdir
=$ac_optarg ;;
1096 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1098 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1099 dvidir
=$ac_optarg ;;
1101 -enable-* |
--enable-*)
1102 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1105 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1106 { (exit 1); exit 1; }; }
1107 ac_useropt_orig
=$ac_useropt
1108 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1111 "enable_
$ac_useropt"
1113 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1114 ac_unrecognized_sep
=', ';;
1116 eval enable_
$ac_useropt=\
$ac_optarg ;;
1118 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1119 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1120 |
--exec |
--exe |
--ex)
1121 ac_prev
=exec_prefix
;;
1122 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1123 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1124 |
--exec=* |
--exe=* |
--ex=*)
1125 exec_prefix
=$ac_optarg ;;
1127 -gas |
--gas |
--ga |
--g)
1128 # Obsolete; use --with-gas.
1131 -help |
--help |
--hel |
--he |
-h)
1132 ac_init_help
=long
;;
1133 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1134 ac_init_help
=recursive
;;
1135 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1136 ac_init_help
=short
;;
1138 -host |
--host |
--hos |
--ho)
1139 ac_prev
=host_alias
;;
1140 -host=* |
--host=* |
--hos=* |
--ho=*)
1141 host_alias
=$ac_optarg ;;
1143 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1145 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1147 htmldir
=$ac_optarg ;;
1149 -includedir |
--includedir |
--includedi |
--included |
--include \
1150 |
--includ |
--inclu |
--incl |
--inc)
1151 ac_prev
=includedir
;;
1152 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1153 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1154 includedir
=$ac_optarg ;;
1156 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1158 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1159 infodir
=$ac_optarg ;;
1161 -libdir |
--libdir |
--libdi |
--libd)
1163 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1164 libdir
=$ac_optarg ;;
1166 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1167 |
--libexe |
--libex |
--libe)
1168 ac_prev
=libexecdir
;;
1169 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1170 |
--libexe=* |
--libex=* |
--libe=*)
1171 libexecdir
=$ac_optarg ;;
1173 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1174 ac_prev
=localedir
;;
1175 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1176 localedir
=$ac_optarg ;;
1178 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1179 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1180 ac_prev
=localstatedir
;;
1181 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1182 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1183 localstatedir
=$ac_optarg ;;
1185 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1187 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1188 mandir
=$ac_optarg ;;
1190 -nfp |
--nfp |
--nf)
1191 # Obsolete; use --without-fp.
1194 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1195 |
--no-cr |
--no-c |
-n)
1198 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1199 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1202 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1203 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1204 |
--oldin |
--oldi |
--old |
--ol |
--o)
1205 ac_prev
=oldincludedir
;;
1206 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1207 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1208 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1209 oldincludedir
=$ac_optarg ;;
1211 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1213 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1214 prefix
=$ac_optarg ;;
1216 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1217 |
--program-pre |
--program-pr |
--program-p)
1218 ac_prev
=program_prefix
;;
1219 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1220 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1221 program_prefix
=$ac_optarg ;;
1223 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1224 |
--program-suf |
--program-su |
--program-s)
1225 ac_prev
=program_suffix
;;
1226 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1227 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1228 program_suffix
=$ac_optarg ;;
1230 -program-transform-name |
--program-transform-name \
1231 |
--program-transform-nam |
--program-transform-na \
1232 |
--program-transform-n |
--program-transform- \
1233 |
--program-transform |
--program-transfor \
1234 |
--program-transfo |
--program-transf \
1235 |
--program-trans |
--program-tran \
1236 |
--progr-tra |
--program-tr |
--program-t)
1237 ac_prev
=program_transform_name
;;
1238 -program-transform-name=* |
--program-transform-name=* \
1239 |
--program-transform-nam=* |
--program-transform-na=* \
1240 |
--program-transform-n=* |
--program-transform-=* \
1241 |
--program-transform=* |
--program-transfor=* \
1242 |
--program-transfo=* |
--program-transf=* \
1243 |
--program-trans=* |
--program-tran=* \
1244 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1245 program_transform_name
=$ac_optarg ;;
1247 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1249 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1250 pdfdir
=$ac_optarg ;;
1252 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1254 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1257 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1258 |
-silent |
--silent |
--silen |
--sile |
--sil)
1261 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1263 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1265 sbindir
=$ac_optarg ;;
1267 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1268 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1269 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1271 ac_prev
=sharedstatedir
;;
1272 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1273 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1274 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1276 sharedstatedir
=$ac_optarg ;;
1278 -site |
--site |
--sit)
1280 -site=* |
--site=* |
--sit=*)
1283 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1285 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1286 srcdir
=$ac_optarg ;;
1288 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1289 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1290 ac_prev
=sysconfdir
;;
1291 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1292 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1293 sysconfdir
=$ac_optarg ;;
1295 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1296 ac_prev
=target_alias
;;
1297 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1298 target_alias
=$ac_optarg ;;
1300 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1303 -version |
--version |
--versio |
--versi |
--vers |
-V)
1304 ac_init_version
=: ;;
1307 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1308 # Reject names that are not valid shell variable names.
1309 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1310 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1311 { (exit 1); exit 1; }; }
1312 ac_useropt_orig
=$ac_useropt
1313 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1314 case $ac_user_opts in
1318 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1319 ac_unrecognized_sep
=', ';;
1321 eval with_
$ac_useropt=\
$ac_optarg ;;
1323 -without-* |
--without-*)
1324 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1325 # Reject names that are not valid shell variable names.
1326 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1327 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1328 { (exit 1); exit 1; }; }
1329 ac_useropt_orig
=$ac_useropt
1330 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1331 case $ac_user_opts in
1335 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1336 ac_unrecognized_sep
=', ';;
1338 eval with_
$ac_useropt=no
;;
1341 # Obsolete; use --with-x.
1344 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1345 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1346 ac_prev
=x_includes
;;
1347 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1348 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1349 x_includes
=$ac_optarg ;;
1351 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1352 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1353 ac_prev
=x_libraries
;;
1354 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1355 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1356 x_libraries
=$ac_optarg ;;
1358 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1359 Try \`$0 --help' for more information." >&2
1360 { (exit 1); exit 1; }; }
1364 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1365 # Reject names that are not valid shell variable names.
1366 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1367 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1368 { (exit 1); exit 1; }; }
1369 eval $ac_envvar=\
$ac_optarg
1370 export $ac_envvar ;;
1373 # FIXME: should be removed in autoconf 3.0.
1374 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1375 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1376 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1377 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1383 if test -n "$ac_prev"; then
1384 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1385 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1386 { (exit 1); exit 1; }; }
1389 if test -n "$ac_unrecognized_opts"; then
1390 case $enable_option_checking in
1392 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1393 { (exit 1); exit 1; }; } ;;
1394 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1398 # Check all directory arguments for consistency.
1399 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1400 datadir sysconfdir sharedstatedir localstatedir includedir \
1401 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1402 libdir localedir mandir
1404 eval ac_val
=\$
$ac_var
1405 # Remove trailing slashes.
1408 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1409 eval $ac_var=\
$ac_val;;
1411 # Be sure to have absolute directory names.
1413 [\\/$
]* | ?
:[\\/]* ) continue;;
1414 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1416 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1417 { (exit 1); exit 1; }; }
1420 # There might be people who depend on the old broken behavior: `$host'
1421 # used to hold the argument of --host etc.
1422 # FIXME: To remove some day.
1425 target
=$target_alias
1427 # FIXME: To remove some day.
1428 if test "x$host_alias" != x
; then
1429 if test "x$build_alias" = x
; then
1430 cross_compiling
=maybe
1431 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1432 If a cross compiler is detected then cross compile mode will be used." >&2
1433 elif test "x$build_alias" != "x$host_alias"; then
1439 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1441 test "$silent" = yes && exec 6>/dev
/null
1444 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1445 ac_ls_di
=`ls -di .` &&
1446 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1447 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1448 { (exit 1); exit 1; }; }
1449 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1450 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1451 { (exit 1); exit 1; }; }
1454 # Find the source files, if location was not specified.
1455 if test -z "$srcdir"; then
1456 ac_srcdir_defaulted
=yes
1457 # Try the directory containing this script, then the parent directory.
1458 ac_confdir
=`$as_dirname -- "$as_myself" ||
1459 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1460 X"$as_myself" : 'X\(//\)[^/]' \| \
1461 X"$as_myself" : 'X\(//\)$' \| \
1462 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1463 $as_echo X"$as_myself" |
1464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1482 if test ! -r "$srcdir/$ac_unique_file"; then
1486 ac_srcdir_defaulted
=no
1488 if test ! -r "$srcdir/$ac_unique_file"; then
1489 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1490 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1491 { (exit 1); exit 1; }; }
1493 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1495 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1496 { (exit 1); exit 1; }; }
1498 # When building in place, set srcdir=.
1499 if test "$ac_abs_confdir" = "$ac_pwd"; then
1502 # Remove unnecessary trailing slashes from srcdir.
1503 # Double slashes in file names in object file debugging info
1504 # mess up M-x gdb in Emacs.
1506 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1508 for ac_var
in $ac_precious_vars; do
1509 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1510 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1511 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1512 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1516 # Report the --help message.
1518 if test "$ac_init_help" = "long"; then
1519 # Omit some internal or obsolete options to make the list less imposing.
1520 # This message is too long to be a string in the A/UX 3.1 sh.
1522 \`configure' configures this package to adapt to many kinds of systems.
1524 Usage: $0 [OPTION]... [VAR=VALUE]...
1526 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1527 VAR=VALUE. See below for descriptions of some of the useful variables.
1529 Defaults for the options are specified in brackets.
1532 -h, --help display this help and exit
1533 --help=short display options specific to this package
1534 --help=recursive display the short help of all the included packages
1535 -V, --version display version information and exit
1536 -q, --quiet, --silent do not print \`checking...' messages
1537 --cache-file=FILE cache test results in FILE [disabled]
1538 -C, --config-cache alias for \`--cache-file=config.cache'
1539 -n, --no-create do not create output files
1540 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1542 Installation directories:
1543 --prefix=PREFIX install architecture-independent files in PREFIX
1544 [$ac_default_prefix]
1545 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1548 By default, \`make install' will install all the files in
1549 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1550 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1551 for instance \`--prefix=\$HOME'.
1553 For better control, use the options below.
1555 Fine tuning of the installation directories:
1556 --bindir=DIR user executables [EPREFIX/bin]
1557 --sbindir=DIR system admin executables [EPREFIX/sbin]
1558 --libexecdir=DIR program executables [EPREFIX/libexec]
1559 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1560 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1561 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1562 --libdir=DIR object code libraries [EPREFIX/lib]
1563 --includedir=DIR C header files [PREFIX/include]
1564 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1565 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1566 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1567 --infodir=DIR info documentation [DATAROOTDIR/info]
1568 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1569 --mandir=DIR man documentation [DATAROOTDIR/man]
1570 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1571 --htmldir=DIR html documentation [DOCDIR]
1572 --dvidir=DIR dvi documentation [DOCDIR]
1573 --pdfdir=DIR pdf documentation [DOCDIR]
1574 --psdir=DIR ps documentation [DOCDIR]
1580 --program-prefix=PREFIX prepend PREFIX to installed program names
1581 --program-suffix=SUFFIX append SUFFIX to installed program names
1582 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1585 --build=BUILD configure
for building on BUILD
[guessed
]
1586 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1587 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1591 if test -n "$ac_init_help"; then
1596 --disable-option-checking ignore unrecognized
--enable/--with options
1597 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1598 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1599 --enable-maintainer-mode enable make rules and dependencies not useful
1600 (and sometimes confusing
) to the casual installer
1601 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1602 --disable-silent-rules verbose build output (undo: `make V
=0')
1603 --disable-dependency-tracking speeds up one-time build
1604 --enable-dependency-tracking do not reject slow dependency extractors
1605 --enable-shared[=PKGS] build shared libraries [default=yes]
1606 --enable-static[=PKGS] build static libraries [default=yes]
1607 --enable-fast-install[=PKGS]
1608 optimize for fast installation [default=yes]
1609 --disable-libtool-lock avoid locking (might break parallel builds)
1610 --enable-debug Enable generic debug support [default=no]
1611 --enable-debug-kmem Enable basic kmem accounting [default=yes]
1612 --enable-debug-kmem-tracking
1613 Enable detailed kmem tracking [default=no]
1614 --enable-atomic-spinlocks
1615 Atomic types use spinlocks [default=check]
1618 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1619 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1620 --with-pic try to use only PIC/non-PIC objects [default=use
1622 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1623 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1624 --with-linux=PATH Path to kernel source
1625 --with-linux-obj=PATH Path to kernel build objects
1627 Some influential environment variables:
1628 CC C compiler command
1629 CFLAGS C compiler flags
1630 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1631 nonstandard directory <lib dir>
1632 LIBS libraries to pass to the linker, e.g. -l<library>
1633 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1634 you have headers in a nonstandard directory <include dir>
1637 Use these variables to override the choices made by `configure' or to
help
1638 it to
find libraries and programs with nonstandard names
/locations.
1644 if test "$ac_init_help" = "recursive"; then
1645 # If there are subdirs, report their specific --help.
1646 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1647 test -d "$ac_dir" ||
1648 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1653 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1655 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1656 # A ".." for each directory in $ac_dir_suffix.
1657 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1658 case $ac_top_builddir_sub in
1659 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1660 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1663 ac_abs_top_builddir
=$ac_pwd
1664 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1665 # for backward compatibility:
1666 ac_top_builddir
=$ac_top_build_prefix
1669 .
) # We are building in place.
1671 ac_top_srcdir
=$ac_top_builddir_sub
1672 ac_abs_top_srcdir
=$ac_pwd ;;
1673 [\\/]* | ?
:[\\/]* ) # Absolute name.
1674 ac_srcdir
=$srcdir$ac_dir_suffix;
1675 ac_top_srcdir
=$srcdir
1676 ac_abs_top_srcdir
=$srcdir ;;
1678 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1679 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1680 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1682 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1684 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1685 # Check for guested configure.
1686 if test -f "$ac_srcdir/configure.gnu"; then
1688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1689 elif test -f "$ac_srcdir/configure"; then
1691 $SHELL "$ac_srcdir/configure" --help=recursive
1693 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1695 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1699 test -n "$ac_init_help" && exit $ac_status
1700 if $ac_init_version; then
1703 generated by GNU Autoconf
2.63
1705 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1706 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1707 This configure
script is free software
; the Free Software Foundation
1708 gives unlimited permission to copy
, distribute and modify it.
1712 cat >config.log
<<_ACEOF
1713 This file contains any messages produced by compilers while
1714 running configure, to aid debugging if configure makes a mistake.
1716 It was created by $as_me, which was
1717 generated by GNU Autoconf 2.63. Invocation command line was
1729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1736 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1738 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1739 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1741 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1742 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1743 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1744 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1752 test -z "$as_dir" && as_dir
=.
1753 $as_echo "PATH: $as_dir"
1769 # Keep a trace of the command line.
1770 # Strip out --no-create and --no-recursion so they do not pile up.
1771 # Strip out --silent because we don't want to record it for future runs.
1772 # Also quote any args containing shell meta-characters.
1773 # Make two passes to allow for proper duplicate-argument suppression.
1777 ac_must_keep_next
=false
1783 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1784 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1785 |
-silent |
--silent |
--silen |
--sile |
--sil)
1788 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1791 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1793 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1794 if test $ac_must_keep_next = true
; then
1795 ac_must_keep_next
=false
# Got value, back to normal.
1798 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1799 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1800 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1801 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1802 case "$ac_configure_args0 " in
1803 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1806 -* ) ac_must_keep_next
=true
;;
1809 ac_configure_args
="$ac_configure_args '$ac_arg'"
1814 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1815 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1817 # When interrupted or exit'd, cleanup temporary files, and complete
1818 # config.log. We remove comments because anyway the quotes in there
1819 # would cause problems or look ugly.
1820 # WARNING: Use '\'' to represent an apostrophe within the trap.
1821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1822 trap 'exit_status=$?
1823 # Save into config.log some information that might help in debugging.
1828 ## ---------------- ##
1829 ## Cache variables. ##
1830 ## ---------------- ##
1833 # The following way of writing the cache mishandles newlines in values,
1835 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1836 eval ac_val=\$$ac_var
1840 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1841 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1844 _ | IFS | as_nl) ;; #(
1845 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1846 *) $as_unset $ac_var ;;
1851 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1852 *${as_nl}ac_space=\ *)
1854 "s/'\''/'\''\\\\'\'''\''/g;
1855 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1858 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1866 ## ----------------- ##
1867 ## Output variables. ##
1868 ## ----------------- ##
1871 for ac_var in $ac_subst_vars
1873 eval ac_val=\$$ac_var
1875 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1877 $as_echo "$ac_var='\''$ac_val'\''"
1881 if test -n "$ac_subst_files"; then
1883 ## ------------------- ##
1884 ## File substitutions. ##
1885 ## ------------------- ##
1888 for ac_var
in $ac_subst_files
1890 eval ac_val
=\$
$ac_var
1892 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1894 $as_echo "$ac_var='\''$ac_val'\''"
1899 if test -s confdefs.h; then
1909 test "$ac_signal" != 0 &&
1910 $as_echo "$as_me: caught signal $ac_signal"
1911 $as_echo "$as_me: exit $exit_status"
1913 rm -f core *.core core.conftest.* &&
1914 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1917 for ac_signal
in 1 2 13 15; do
1918 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1922 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1923 rm -f -r conftest
* confdefs.h
1925 # Predefined preprocessor variables.
1927 cat >>confdefs.h
<<_ACEOF
1928 #define PACKAGE_NAME "$PACKAGE_NAME"
1932 cat >>confdefs.h
<<_ACEOF
1933 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1937 cat >>confdefs.h
<<_ACEOF
1938 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1942 cat >>confdefs.h
<<_ACEOF
1943 #define PACKAGE_STRING "$PACKAGE_STRING"
1947 cat >>confdefs.h
<<_ACEOF
1948 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1952 # Let the site file select an alternate cache file if it wants to.
1953 # Prefer an explicitly selected file to automatically selected ones.
1956 if test -n "$CONFIG_SITE"; then
1957 ac_site_file1
=$CONFIG_SITE
1958 elif test "x$prefix" != xNONE
; then
1959 ac_site_file1
=$prefix/share
/config.site
1960 ac_site_file2
=$prefix/etc
/config.site
1962 ac_site_file1
=$ac_default_prefix/share
/config.site
1963 ac_site_file2
=$ac_default_prefix/etc
/config.site
1965 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1967 test "x$ac_site_file" = xNONE
&& continue
1968 if test -r "$ac_site_file"; then
1969 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1970 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1971 sed 's/^/| /' "$ac_site_file" >&5
1976 if test -r "$cache_file"; then
1977 # Some versions of bash will fail to source /dev/null (special
1978 # files actually), so we avoid doing that.
1979 if test -f "$cache_file"; then
1980 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1981 $as_echo "$as_me: loading cache $cache_file" >&6;}
1983 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1984 *) .
"./$cache_file";;
1988 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1989 $as_echo "$as_me: creating cache $cache_file" >&6;}
1993 # Check that the precious variables saved in the cache have kept the same
1995 ac_cache_corrupted
=false
1996 for ac_var
in $ac_precious_vars; do
1997 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1998 eval ac_new_set
=\
$ac_env_${ac_var}_set
1999 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2000 eval ac_new_val
=\
$ac_env_${ac_var}_value
2001 case $ac_old_set,$ac_new_set in
2003 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2004 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2005 ac_cache_corrupted
=: ;;
2007 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2008 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2009 ac_cache_corrupted
=: ;;
2012 if test "x$ac_old_val" != "x$ac_new_val"; then
2013 # differences in whitespace do not lead to failure.
2014 ac_old_val_w
=`echo x $ac_old_val`
2015 ac_new_val_w
=`echo x $ac_new_val`
2016 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2017 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2018 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2019 ac_cache_corrupted
=:
2021 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2022 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2023 eval $ac_var=\
$ac_old_val
2025 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2026 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2027 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2028 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2031 # Pass precious variables to config.status.
2032 if test "$ac_new_set" = set; then
2034 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2035 *) ac_arg
=$ac_var=$ac_new_val ;;
2037 case " $ac_configure_args " in
2038 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2039 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2043 if $ac_cache_corrupted; then
2044 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2046 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2047 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2048 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2049 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2050 { (exit 1); exit 1; }; }
2070 ac_cpp
='$CPP $CPPFLAGS'
2071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2077 ac_cpp
='$CPP $CPPFLAGS'
2078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2083 { $as_echo "$as_me:$LINENO: checking metadata" >&5
2084 $as_echo_n "checking metadata... " >&6; }
2087 _spl_ac_meta_got_file
=no
2088 if test -f "$META"; then
2089 _spl_ac_meta_got_file
=yes
2091 SPL_META_NAME
=`perl -n\
2092 -e "BEGIN { \\$key=shift @ARGV; }"\
2093 -e "next unless s/^\s*\\$key[:=]//i;"\
2094 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2097 -e "s/^(['\"])(.*)\1/\\$2/;"\
2099 -e "END { print \\$val if defined \\$val; }"\
2100 '(?:NAME|PROJECT|PACKAGE)' $META`;
2101 if test -n "$SPL_META_NAME"; then
2103 cat >>confdefs.h
<<_ACEOF
2104 #define SPL_META_NAME "$SPL_META_NAME"
2110 SPL_META_VERSION
=`perl -n\
2111 -e "BEGIN { \\$key=shift @ARGV; }"\
2112 -e "next unless s/^\s*\\$key[:=]//i;"\
2113 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2116 -e "s/^(['\"])(.*)\1/\\$2/;"\
2118 -e "END { print \\$val if defined \\$val; }"\
2120 if test -n "$SPL_META_VERSION"; then
2122 cat >>confdefs.h
<<_ACEOF
2123 #define SPL_META_VERSION "$SPL_META_VERSION"
2129 SPL_META_RELEASE
=`perl -n\
2130 -e "BEGIN { \\$key=shift @ARGV; }"\
2131 -e "next unless s/^\s*\\$key[:=]//i;"\
2132 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2135 -e "s/^(['\"])(.*)\1/\\$2/;"\
2137 -e "END { print \\$val if defined \\$val; }"\
2139 if test -n "$SPL_META_RELEASE"; then
2141 cat >>confdefs.h
<<_ACEOF
2142 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2148 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2149 SPL_META_ALIAS
="$SPL_META_NAME-$SPL_META_VERSION"
2150 test -n "$SPL_META_RELEASE" &&
2151 SPL_META_ALIAS
="$SPL_META_ALIAS-$SPL_META_RELEASE"
2153 cat >>confdefs.h
<<_ACEOF
2154 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2160 SPL_META_DATA
=`perl -n\
2161 -e "BEGIN { \\$key=shift @ARGV; }"\
2162 -e "next unless s/^\s*\\$key[:=]//i;"\
2163 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2166 -e "s/^(['\"])(.*)\1/\\$2/;"\
2168 -e "END { print \\$val if defined \\$val; }"\
2170 if test -n "$SPL_META_DATA"; then
2172 cat >>confdefs.h
<<_ACEOF
2173 #define SPL_META_DATA "$SPL_META_DATA"
2179 SPL_META_AUTHOR
=`perl -n\
2180 -e "BEGIN { \\$key=shift @ARGV; }"\
2181 -e "next unless s/^\s*\\$key[:=]//i;"\
2182 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2185 -e "s/^(['\"])(.*)\1/\\$2/;"\
2187 -e "END { print \\$val if defined \\$val; }"\
2189 if test -n "$SPL_META_AUTHOR"; then
2191 cat >>confdefs.h
<<_ACEOF
2192 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2199 SPL_META_LT_CURRENT
=`perl -n\
2200 -e "BEGIN { \\$key=shift @ARGV; }"\
2201 -e "next unless s/^\s*\\$key[:=]//i;"\
2202 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2205 -e "s/^(['\"])(.*)\1/\\$2/;"\
2207 -e "END { print \\$val if defined \\$val; }"\
2208 'LT_CURRENT' $META`;
2209 SPL_META_LT_REVISION
=`perl -n\
2210 -e "BEGIN { \\$key=shift @ARGV; }"\
2211 -e "next unless s/^\s*\\$key[:=]//i;"\
2212 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2215 -e "s/^(['\"])(.*)\1/\\$2/;"\
2217 -e "END { print \\$val if defined \\$val; }"\
2218 'LT_REVISION' $META`;
2219 SPL_META_LT_AGE
=`perl -n\
2220 -e "BEGIN { \\$key=shift @ARGV; }"\
2221 -e "next unless s/^\s*\\$key[:=]//i;"\
2222 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2225 -e "s/^(['\"])(.*)\1/\\$2/;"\
2227 -e "END { print \\$val if defined \\$val; }"\
2229 if test -n "$SPL_META_LT_CURRENT" \
2230 -o -n "$SPL_META_LT_REVISION" \
2231 -o -n "$SPL_META_LT_AGE"; then
2232 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT
="0"
2233 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION
="0"
2234 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE
="0"
2236 cat >>confdefs.h
<<_ACEOF
2237 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2241 cat >>confdefs.h
<<_ACEOF
2242 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2246 cat >>confdefs.h
<<_ACEOF
2247 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2256 { $as_echo "$as_me:$LINENO: result: $_spl_ac_meta_got_file" >&5
2257 $as_echo "$_spl_ac_meta_got_file" >&6; }
2261 for ac_dir
in config
"$srcdir"/config
; do
2262 if test -f "$ac_dir/install-sh"; then
2264 ac_install_sh
="$ac_aux_dir/install-sh -c"
2266 elif test -f "$ac_dir/install.sh"; then
2268 ac_install_sh
="$ac_aux_dir/install.sh -c"
2270 elif test -f "$ac_dir/shtool"; then
2272 ac_install_sh
="$ac_aux_dir/shtool install -c"
2276 if test -z "$ac_aux_dir"; then
2277 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2278 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2279 { (exit 1); exit 1; }; }
2282 # These three variables are undocumented and unsupported,
2283 # and are intended to be withdrawn in a future Autoconf release.
2284 # They can cause serious problems if a builder's source tree is in a directory
2285 # whose full name contains unusual characters.
2286 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2287 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2288 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2291 # Make sure we can run config.sub.
2292 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2293 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2294 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2295 { (exit 1); exit 1; }; }
2297 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2298 $as_echo_n "checking build system type... " >&6; }
2299 if test "${ac_cv_build+set}" = set; then
2300 $as_echo_n "(cached) " >&6
2302 ac_build_alias
=$build_alias
2303 test "x$ac_build_alias" = x
&&
2304 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2305 test "x$ac_build_alias" = x
&&
2306 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2307 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2308 { (exit 1); exit 1; }; }
2309 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2310 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2311 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2312 { (exit 1); exit 1; }; }
2315 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2316 $as_echo "$ac_cv_build" >&6; }
2317 case $ac_cv_build in
2319 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2320 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2321 { (exit 1); exit 1; }; };;
2324 ac_save_IFS
=$IFS; IFS
='-'
2330 # Remember, the first character of IFS is used to create $*,
2331 # except with old shells:
2334 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2337 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2338 $as_echo_n "checking host system type... " >&6; }
2339 if test "${ac_cv_host+set}" = set; then
2340 $as_echo_n "(cached) " >&6
2342 if test "x$host_alias" = x
; then
2343 ac_cv_host
=$ac_cv_build
2345 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2346 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2347 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2348 { (exit 1); exit 1; }; }
2352 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2353 $as_echo "$ac_cv_host" >&6; }
2356 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2357 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2358 { (exit 1); exit 1; }; };;
2361 ac_save_IFS
=$IFS; IFS
='-'
2367 # Remember, the first character of IFS is used to create $*,
2368 # except with old shells:
2371 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2374 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2375 $as_echo_n "checking target system type... " >&6; }
2376 if test "${ac_cv_target+set}" = set; then
2377 $as_echo_n "(cached) " >&6
2379 if test "x$target_alias" = x
; then
2380 ac_cv_target
=$ac_cv_host
2382 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2383 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2384 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2385 { (exit 1); exit 1; }; }
2389 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2390 $as_echo "$ac_cv_target" >&6; }
2391 case $ac_cv_target in
2393 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2394 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2395 { (exit 1); exit 1; }; };;
2397 target
=$ac_cv_target
2398 ac_save_IFS
=$IFS; IFS
='-'
2404 # Remember, the first character of IFS is used to create $*,
2405 # except with old shells:
2408 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2411 # The aliases save the names the user supplied, while $host etc.
2412 # will get canonicalized.
2413 test -n "$target_alias" &&
2414 test "$program_prefix$program_suffix$program_transform_name" = \
2416 program_prefix
=${target_alias}-
2418 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2419 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2420 # Check whether --enable-maintainer-mode was given.
2421 if test "${enable_maintainer_mode+set}" = set; then
2422 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2424 USE_MAINTAINER_MODE
=no
2427 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2428 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2429 if test $USE_MAINTAINER_MODE = yes; then
2430 MAINTAINER_MODE_TRUE
=
2431 MAINTAINER_MODE_FALSE
='#'
2433 MAINTAINER_MODE_TRUE
='#'
2434 MAINTAINER_MODE_FALSE
=
2437 MAINT
=$MAINTAINER_MODE_TRUE
2440 # Check whether --enable-silent-rules was given.
2441 if test "${enable_silent_rules+set}" = set; then
2442 enableval
=$enable_silent_rules;
2445 case $enable_silent_rules in
2446 yes) AM_DEFAULT_VERBOSITY
=0;;
2447 no
) AM_DEFAULT_VERBOSITY
=1;;
2448 *) AM_DEFAULT_VERBOSITY
=1;;
2452 am__api_version='1.11'
2454 # Find a good install program. We prefer a C program (faster),
2455 # so one script is as good as another. But avoid the broken or
2456 # incompatible versions:
2457 # SysV /etc/install, /usr/sbin/install
2458 # SunOS /usr/etc/install
2459 # IRIX /sbin/install
2461 # AmigaOS /C/install, which installs bootblocks on floppy discs
2462 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2463 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2464 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2465 # OS/2's system install, which has a completely different semantic
2466 # ./install, which can be erroneously created by make from ./install.sh.
2467 # Reject install programs that cannot install multiple files.
2468 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2469 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2470 if test -z "$INSTALL"; then
2471 if test "${ac_cv_path_install+set}" = set; then
2472 $as_echo_n "(cached) " >&6
2474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir
=.
2479 # Account for people who put trailing slashes in PATH elements.
2481 .
/ | .
// |
/cC
/* | \
2482 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2483 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2486 # OSF1 and SCO ODT 3.0 have their own names for install.
2487 # Don't use installbsd from OSF since it installs stuff as root
2489 for ac_prog
in ginstall scoinst
install; do
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2492 if test $ac_prog = install &&
2493 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2494 # AIX install. It has an incompatible calling convention.
2496 elif test $ac_prog = install &&
2497 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2498 # program-specific install script used by HP pwplus--don't use.
2501 rm -rf conftest.one conftest.two conftest.dir
2502 echo one
> conftest.one
2503 echo two
> conftest.two
2505 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2506 test -s conftest.one
&& test -s conftest.two
&&
2507 test -s conftest.dir
/conftest.one
&&
2508 test -s conftest.dir
/conftest.two
2510 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2523 rm -rf conftest.one conftest.two conftest.dir
2526 if test "${ac_cv_path_install+set}" = set; then
2527 INSTALL
=$ac_cv_path_install
2529 # As a last resort, use the slow shell script. Don't cache a
2530 # value for INSTALL within a source directory, because that will
2531 # break other packages using the cache if that directory is
2532 # removed, or if the value is a relative name.
2533 INSTALL
=$ac_install_sh
2536 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2537 $as_echo "$INSTALL" >&6; }
2539 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2540 # It thinks the first close brace ends the variable substitution.
2541 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2543 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2545 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2547 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2548 $as_echo_n "checking whether build environment is sane... " >&6; }
2551 echo timestamp
> conftest.
file
2552 # Reject unsafe characters in $srcdir or the absolute working directory
2553 # name. Accept space and tab only in the latter.
2557 *[\\\"\
#\$\&\'\`$am_lf]*)
2558 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2559 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2560 { (exit 1); exit 1; }; };;
2563 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2564 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2565 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2566 { (exit 1); exit 1; }; };;
2569 # Do `set' in a subshell so we don't clobber the current shell's
2570 # arguments. Must try -L first in case configure is actually a
2571 # symlink; some systems play weird games with the mod time of symlinks
2572 # (eg FreeBSD returns the mod time of the symlink's containing
2575 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2576 if test "$*" = "X"; then
2578 set X
`ls -t "$srcdir/configure" conftest.file`
2581 if test "$*" != "X $srcdir/configure conftest.file" \
2582 && test "$*" != "X conftest.file $srcdir/configure"; then
2584 # If neither matched, then we have a broken ls. This can happen
2585 # if, for instance, CONFIG_SHELL is bash and it inherits a
2586 # broken ls alias from the environment. This has actually
2587 # happened. Such a system could not be considered "sane".
2588 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2589 alias in your environment" >&5
2590 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2591 alias in your environment" >&2;}
2592 { (exit 1); exit 1; }; }
2595 test "$2" = conftest.
file
2601 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2602 Check your system clock" >&5
2603 $as_echo "$as_me: error: newly created file is older than distributed files!
2604 Check your system clock" >&2;}
2605 { (exit 1); exit 1; }; }
2607 { $as_echo "$as_me:$LINENO: result: yes" >&5
2608 $as_echo "yes" >&6; }
2609 test "$program_prefix" != NONE
&&
2610 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2611 # Use a double $ so make ignores it.
2612 test "$program_suffix" != NONE
&&
2613 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2614 # Double any \ or $.
2615 # By default was `s,x,x', remove it if useless.
2616 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2617 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2619 # expand $ac_aux_dir to an absolute path
2620 am_aux_dir
=`cd $ac_aux_dir && pwd`
2622 if test x
"${MISSING+set}" != xset
; then
2625 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2627 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2630 # Use eval to expand $SHELL
2631 if eval "$MISSING --run true"; then
2632 am_missing_run
="$MISSING --run "
2635 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2636 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2639 if test x
"${install_sh}" != xset
; then
2642 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2644 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2648 # Installed binaries are usually stripped using `strip' when the user
2649 # run `make install-strip'. However `strip' might not be the right
2650 # tool to use in cross-compilation environments, therefore Automake
2651 # will honor the `STRIP' environment variable to overrule this program.
2652 if test "$cross_compiling" != no
; then
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2655 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if test "${ac_cv_prog_STRIP+set}" = set; then
2659 $as_echo_n "(cached) " >&6
2661 if test -n "$STRIP"; then
2662 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2672 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 STRIP
=$ac_cv_prog_STRIP
2682 if test -n "$STRIP"; then
2683 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2684 $as_echo "$STRIP" >&6; }
2686 { $as_echo "$as_me:$LINENO: result: no" >&5
2687 $as_echo "no" >&6; }
2692 if test -z "$ac_cv_prog_STRIP"; then
2694 # Extract the first word of "strip", so it can be a program name with args.
2695 set dummy strip
; ac_word
=$2
2696 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$ac_ct_STRIP"; then
2702 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir
=.
2709 for ac_exec_ext
in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711 ac_cv_prog_ac_ct_STRIP
="strip"
2712 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2722 if test -n "$ac_ct_STRIP"; then
2723 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2724 $as_echo "$ac_ct_STRIP" >&6; }
2726 { $as_echo "$as_me:$LINENO: result: no" >&5
2727 $as_echo "no" >&6; }
2730 if test "x$ac_ct_STRIP" = x
; then
2733 case $cross_compiling:$ac_tool_warned in
2735 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737 ac_tool_warned
=yes ;;
2742 STRIP
="$ac_cv_prog_STRIP"
2746 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2748 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2749 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2750 if test -z "$MKDIR_P"; then
2751 if test "${ac_cv_path_mkdir+set}" = set; then
2752 $as_echo_n "(cached) " >&6
2754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2755 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2758 test -z "$as_dir" && as_dir
=.
2759 for ac_prog
in mkdir gmkdir
; do
2760 for ac_exec_ext
in '' $ac_executable_extensions; do
2761 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2762 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2763 'mkdir (GNU coreutils) '* | \
2764 'mkdir (coreutils) '* | \
2765 'mkdir (fileutils) '4.1*)
2766 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2776 if test "${ac_cv_path_mkdir+set}" = set; then
2777 MKDIR_P
="$ac_cv_path_mkdir -p"
2779 # As a last resort, use the slow shell script. Don't cache a
2780 # value for MKDIR_P within a source directory, because that will
2781 # break other packages using the cache if that directory is
2782 # removed, or if the value is a relative name.
2783 test -d .
/--version && rmdir .
/--version
2784 MKDIR_P
="$ac_install_sh -d"
2787 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2788 $as_echo "$MKDIR_P" >&6; }
2792 [\\/$
]* | ?
:[\\/]*) ;;
2793 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2796 for ac_prog
in gawk mawk nawk
awk
2798 # Extract the first word of "$ac_prog", so it can be a program name with args.
2799 set dummy
$ac_prog; ac_word
=$2
2800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if test "${ac_cv_prog_AWK+set}" = set; then
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$AWK"; then
2806 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir
=.
2813 for ac_exec_ext
in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_AWK
="$ac_prog"
2816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 if test -n "$AWK"; then
2827 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2828 $as_echo "$AWK" >&6; }
2830 { $as_echo "$as_me:$LINENO: result: no" >&5
2831 $as_echo "no" >&6; }
2835 test -n "$AWK" && break
2838 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2839 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2841 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2842 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2843 $as_echo_n "(cached) " >&6
2845 cat >conftest.
make <<\_ACEOF
2848 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2850 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2851 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2853 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2855 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2859 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2860 { $as_echo "$as_me:$LINENO: result: yes" >&5
2861 $as_echo "yes" >&6; }
2864 { $as_echo "$as_me:$LINENO: result: no" >&5
2865 $as_echo "no" >&6; }
2866 SET_MAKE
="MAKE=${MAKE-make}"
2869 rm -rf .tst
2>/dev
/null
2870 mkdir .tst
2>/dev
/null
2871 if test -d .tst
; then
2876 rmdir .tst
2>/dev
/null
2878 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2879 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2880 # is not polluted with repeated "-I."
2881 am__isrc
=' -I$(srcdir)'
2882 # test to see if srcdir already configured
2883 if test -f $srcdir/config.status
; then
2884 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2885 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2886 { (exit 1); exit 1; }; }
2890 # test whether we have cygpath
2891 if test -z "$CYGPATH_W"; then
2892 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2893 CYGPATH_W
='cygpath -w'
2900 # Define the identity of the package.
2901 PACKAGE
=$SPL_META_NAME
2902 VERSION
=$SPL_META_VERSION
2905 cat >>confdefs.h
<<_ACEOF
2906 #define PACKAGE "$PACKAGE"
2910 cat >>confdefs.h
<<_ACEOF
2911 #define VERSION "$VERSION"
2914 # Some tools Automake needs.
2916 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2919 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2922 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2925 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2928 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2930 # We need awk for the "check" target. The system "awk" is bad on
2932 # Always define AMTAR for backward compatibility.
2934 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2936 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2942 ac_config_headers
="$ac_config_headers spl_config.h"
2945 # Find a good install program. We prefer a C program (faster),
2946 # so one script is as good as another. But avoid the broken or
2947 # incompatible versions:
2948 # SysV /etc/install, /usr/sbin/install
2949 # SunOS /usr/etc/install
2950 # IRIX /sbin/install
2952 # AmigaOS /C/install, which installs bootblocks on floppy discs
2953 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2954 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2955 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2956 # OS/2's system install, which has a completely different semantic
2957 # ./install, which can be erroneously created by make from ./install.sh.
2958 # Reject install programs that cannot install multiple files.
2959 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2960 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2961 if test -z "$INSTALL"; then
2962 if test "${ac_cv_path_install+set}" = set; then
2963 $as_echo_n "(cached) " >&6
2965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir
=.
2970 # Account for people who put trailing slashes in PATH elements.
2972 .
/ | .
// |
/cC
/* | \
2973 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2974 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2977 # OSF1 and SCO ODT 3.0 have their own names for install.
2978 # Don't use installbsd from OSF since it installs stuff as root
2980 for ac_prog
in ginstall scoinst
install; do
2981 for ac_exec_ext
in '' $ac_executable_extensions; do
2982 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2983 if test $ac_prog = install &&
2984 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2985 # AIX install. It has an incompatible calling convention.
2987 elif test $ac_prog = install &&
2988 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2989 # program-specific install script used by HP pwplus--don't use.
2992 rm -rf conftest.one conftest.two conftest.dir
2993 echo one
> conftest.one
2994 echo two
> conftest.two
2996 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2997 test -s conftest.one
&& test -s conftest.two
&&
2998 test -s conftest.dir
/conftest.one
&&
2999 test -s conftest.dir
/conftest.two
3001 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3014 rm -rf conftest.one conftest.two conftest.dir
3017 if test "${ac_cv_path_install+set}" = set; then
3018 INSTALL
=$ac_cv_path_install
3020 # As a last resort, use the slow shell script. Don't cache a
3021 # value for INSTALL within a source directory, because that will
3022 # break other packages using the cache if that directory is
3023 # removed, or if the value is a relative name.
3024 INSTALL
=$ac_install_sh
3027 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3028 $as_echo "$INSTALL" >&6; }
3030 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3031 # It thinks the first close brace ends the variable substitution.
3032 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3034 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3036 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3039 ac_cpp
='$CPP $CPPFLAGS'
3040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3043 if test -n "$ac_tool_prefix"; then
3044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3045 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3046 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if test "${ac_cv_prog_CC+set}" = set; then
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$CC"; then
3052 ac_cv_prog_CC
="$CC" # Let the user override the test.
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir
=.
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3062 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 if test -n "$CC"; then
3073 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3074 $as_echo "$CC" >&6; }
3076 { $as_echo "$as_me:$LINENO: result: no" >&5
3077 $as_echo "no" >&6; }
3082 if test -z "$ac_cv_prog_CC"; then
3084 # Extract the first word of "gcc", so it can be a program name with args.
3085 set dummy gcc
; ac_word
=$2
3086 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$ac_ct_CC"; then
3092 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir
=.
3099 for ac_exec_ext
in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_ac_ct_CC
="gcc"
3102 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3112 if test -n "$ac_ct_CC"; then
3113 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3114 $as_echo "$ac_ct_CC" >&6; }
3116 { $as_echo "$as_me:$LINENO: result: no" >&5
3117 $as_echo "no" >&6; }
3120 if test "x$ac_ct_CC" = x
; then
3123 case $cross_compiling:$ac_tool_warned in
3125 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3127 ac_tool_warned
=yes ;;
3135 if test -z "$CC"; then
3136 if test -n "$ac_tool_prefix"; then
3137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3138 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if test "${ac_cv_prog_CC+set}" = set; then
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$CC"; then
3145 ac_cv_prog_CC
="$CC" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3155 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test -n "$CC"; then
3166 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3167 $as_echo "$CC" >&6; }
3169 { $as_echo "$as_me:$LINENO: result: no" >&5
3170 $as_echo "no" >&6; }
3176 if test -z "$CC"; then
3177 # Extract the first word of "cc", so it can be a program name with args.
3178 set dummy cc
; ac_word
=$2
3179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if test "${ac_cv_prog_CC+set}" = set; then
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$CC"; then
3185 ac_cv_prog_CC
="$CC" # Let the user override the test.
3188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3192 test -z "$as_dir" && as_dir
=.
3193 for ac_exec_ext
in '' $ac_executable_extensions; do
3194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3196 ac_prog_rejected
=yes
3200 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 if test $ac_prog_rejected = yes; then
3208 # We found a bogon in the path, so make sure we never use it.
3209 set dummy
$ac_cv_prog_CC
3211 if test $# != 0; then
3212 # We chose a different compiler from the bogus one.
3213 # However, it has the same basename, so the bogon will be chosen
3214 # first if we set CC to just the basename; use the full file name.
3216 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3222 if test -n "$CC"; then
3223 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3224 $as_echo "$CC" >&6; }
3226 { $as_echo "$as_me:$LINENO: result: no" >&5
3227 $as_echo "no" >&6; }
3232 if test -z "$CC"; then
3233 if test -n "$ac_tool_prefix"; then
3234 for ac_prog
in cl.exe
3236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3237 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3239 $as_echo_n "checking for $ac_word... " >&6; }
3240 if test "${ac_cv_prog_CC+set}" = set; then
3241 $as_echo_n "(cached) " >&6
3243 if test -n "$CC"; then
3244 ac_cv_prog_CC
="$CC" # Let the user override the test.
3246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3250 test -z "$as_dir" && as_dir
=.
3251 for ac_exec_ext
in '' $ac_executable_extensions; do
3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3254 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 if test -n "$CC"; then
3265 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3266 $as_echo "$CC" >&6; }
3268 { $as_echo "$as_me:$LINENO: result: no" >&5
3269 $as_echo "no" >&6; }
3273 test -n "$CC" && break
3276 if test -z "$CC"; then
3278 for ac_prog
in cl.exe
3280 # Extract the first word of "$ac_prog", so it can be a program name with args.
3281 set dummy
$ac_prog; ac_word
=$2
3282 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3283 $as_echo_n "checking for $ac_word... " >&6; }
3284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3285 $as_echo_n "(cached) " >&6
3287 if test -n "$ac_ct_CC"; then
3288 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3294 test -z "$as_dir" && as_dir
=.
3295 for ac_exec_ext
in '' $ac_executable_extensions; do
3296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3297 ac_cv_prog_ac_ct_CC
="$ac_prog"
3298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3308 if test -n "$ac_ct_CC"; then
3309 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3310 $as_echo "$ac_ct_CC" >&6; }
3312 { $as_echo "$as_me:$LINENO: result: no" >&5
3313 $as_echo "no" >&6; }
3317 test -n "$ac_ct_CC" && break
3320 if test "x$ac_ct_CC" = x
; then
3323 case $cross_compiling:$ac_tool_warned in
3325 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3327 ac_tool_warned
=yes ;;
3336 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3339 See \`config.log' for more details." >&5
3340 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3341 See \`config.log' for more details." >&2;}
3342 { (exit 1); exit 1; }; }; }
3344 # Provide some information about the compiler.
3345 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3348 { (ac_try
="$ac_compiler --version >&5"
3350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3354 $as_echo "$ac_try_echo") >&5
3355 (eval "$ac_compiler --version >&5") 2>&5
3357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }
3359 { (ac_try="$ac_compiler -v >&5"
3361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3362 *) ac_try_echo
=$ac_try;;
3364 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3365 $as_echo "$ac_try_echo") >&5
3366 (eval "$ac_compiler -v >&5") 2>&5
3368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); }
3370 { (ac_try
="$ac_compiler -V >&5"
3372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3373 *) ac_try_echo=$ac_try;;
3375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3376 $as_echo "$ac_try_echo") >&5
3377 (eval "$ac_compiler -V >&5") 2>&5
3379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }
3382 cat >conftest.$ac_ext <<_ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3397 ac_clean_files_save=$ac_clean_files
3398 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3399 # Try to create an executable without -o first, disregard a.out.
3400 # It will help us diagnose broken compilers, and finding out an intuition
3402 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3403 $as_echo_n "checking for C compiler default output file name... " >&6; }
3404 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3406 # The possible output files:
3407 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3410 for ac_file in $ac_files
3413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3414 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3419 if { (ac_try="$ac_link_default"
3421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3422 *) ac_try_echo
=$ac_try;;
3424 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3425 $as_echo "$ac_try_echo") >&5
3426 (eval "$ac_link_default") 2>&5
3428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }; then
3430 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3431 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3432 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3433 # so that the user can short-circuit this test for compilers unknown to
3435 for ac_file
in $ac_files ''
3437 test -f "$ac_file" ||
continue
3439 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3442 # We found the default executable, but exeext='' is most
3446 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3448 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3450 # We set ac_cv_exeext here because the later test for it is not
3451 # safe: cross compilers may not add the suffix if given an `-o'
3452 # argument, so we may need to know it at that point already.
3453 # Even if this section looks crufty: it has the advantage of
3460 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3466 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3467 $as_echo "$ac_file" >&6; }
3468 if test -z "$ac_file"; then
3469 $as_echo "$as_me: failed program was:" >&5
3470 sed 's/^/| /' conftest.
$ac_ext >&5
3472 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3475 See \`config.log' for more details." >&5
3476 $as_echo "$as_me: error: C compiler cannot create executables
3477 See \`config.log' for more details." >&2;}
3478 { (exit 77); exit 77; }; }; }
3481 ac_exeext
=$ac_cv_exeext
3483 # Check that the compiler produces executables we can run. If not, either
3484 # the compiler is broken, or we cross compile.
3485 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3486 $as_echo_n "checking whether the C compiler works... " >&6; }
3487 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3488 # If not cross compiling, check that we can run a simple program.
3489 if test "$cross_compiling" != yes; then
3490 if { ac_try
='./$ac_file'
3491 { (case "(($ac_try" in
3492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3496 $as_echo "$ac_try_echo") >&5
3497 (eval "$ac_try") 2>&5
3499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); }; }; then
3503 if test "$cross_compiling" = maybe; then
3506 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3508 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3509 If you meant to cross compile
, use \
`--host'.
3510 See \`config.log
' for more details." >&5
3511 $as_echo "$as_me: error: cannot run C compiled programs.
3512 If you meant to cross compile, use \`--host'.
3513 See \
`config.log' for more details." >&2;}
3514 { (exit 1); exit 1; }; }; }
3518 { $as_echo "$as_me:$LINENO: result: yes" >&5
3519 $as_echo "yes" >&6; }
3521 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3522 ac_clean_files=$ac_clean_files_save
3523 # Check that the compiler produces executables we can run. If not, either
3524 # the compiler is broken, or we cross compile.
3525 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3526 $as_echo_n "checking whether we are cross compiling... " >&6; }
3527 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3528 $as_echo "$cross_compiling" >&6; }
3530 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3531 $as_echo_n "checking for suffix of executables... " >&6; }
3532 if { (ac_try="$ac_link"
3534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3535 *) ac_try_echo
=$ac_try;;
3537 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3538 $as_echo "$ac_try_echo") >&5
3539 (eval "$ac_link") 2>&5
3541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }; then
3543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3545 # work properly (i.e., refer to `conftest.exe'), while it won't with
3547 for ac_file
in conftest.exe conftest conftest.
*; do
3548 test -f "$ac_file" ||
continue
3550 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3551 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3557 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3559 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3560 See \`config.log' for more details." >&5
3561 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3562 See \`config.log' for more details." >&2;}
3563 { (exit 1); exit 1; }; }; }
3566 rm -f conftest
$ac_cv_exeext
3567 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3568 $as_echo "$ac_cv_exeext" >&6; }
3570 rm -f conftest.
$ac_ext
3571 EXEEXT
=$ac_cv_exeext
3573 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3574 $as_echo_n "checking for suffix of object files... " >&6; }
3575 if test "${ac_cv_objext+set}" = set; then
3576 $as_echo_n "(cached) " >&6
3578 cat >conftest.
$ac_ext <<_ACEOF
3581 cat confdefs.h
>>conftest.
$ac_ext
3582 cat >>conftest.
$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3593 rm -f conftest.o conftest.obj
3594 if { (ac_try
="$ac_compile"
3596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3600 $as_echo "$ac_try_echo") >&5
3601 (eval "$ac_compile") 2>&5
3603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; then
3605 for ac_file in conftest.o conftest.obj conftest.*; do
3606 test -f "$ac_file" || continue;
3608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3609 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3614 $as_echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3617 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3619 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3620 See \
`config.log' for more details." >&5
3621 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3622 See \`config.log
' for more details." >&2;}
3623 { (exit 1); exit 1; }; }; }
3626 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3628 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3629 $as_echo "$ac_cv_objext" >&6; }
3630 OBJEXT=$ac_cv_objext
3632 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3633 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3634 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3635 $as_echo_n "(cached) " >&6
3637 cat >conftest.$ac_ext <<_ACEOF
3640 cat confdefs.h >>conftest.$ac_ext
3641 cat >>conftest.$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3655 rm -f conftest.$ac_objext
3656 if { (ac_try="$ac_compile"
3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3662 $as_echo "$ac_try_echo") >&5
3663 (eval "$ac_compile") 2>conftest.er1
3665 grep -v '^
*+' conftest.er1 >conftest.err
3667 cat conftest.err >&5
3668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); } && {
3670 test -z "$ac_c_werror_flag" ||
3671 test ! -s conftest.err
3672 } && test -s conftest.$ac_objext; then
3675 $as_echo "$as_me: failed program was:" >&5
3676 sed 's
/^
/|
/' conftest.$ac_ext >&5
3681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3682 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3685 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3686 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3687 if test $ac_compiler_gnu = yes; then
3692 ac_test_CFLAGS=${CFLAGS+set}
3693 ac_save_CFLAGS=$CFLAGS
3694 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3695 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3696 if test "${ac_cv_prog_cc_g+set}" = set; then
3697 $as_echo_n "(cached) " >&6
3699 ac_save_c_werror_flag=$ac_c_werror_flag
3700 ac_c_werror_flag=yes
3703 cat >conftest.$ac_ext <<_ACEOF
3706 cat confdefs.h >>conftest.$ac_ext
3707 cat >>conftest.$ac_ext <<_ACEOF
3708 /* end confdefs.h. */
3718 rm -f conftest.$ac_objext
3719 if { (ac_try="$ac_compile"
3721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3722 *) ac_try_echo=$ac_try;;
3724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3725 $as_echo "$ac_try_echo") >&5
3726 (eval "$ac_compile") 2>conftest.er1
3728 grep -v '^
*+' conftest.er1 >conftest.err
3730 cat conftest.err >&5
3731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } && {
3733 test -z "$ac_c_werror_flag" ||
3734 test ! -s conftest.err
3735 } && test -s conftest.$ac_objext; then
3738 $as_echo "$as_me: failed program was:" >&5
3739 sed 's
/^
/|
/' conftest.$ac_ext >&5
3742 cat >conftest.$ac_ext <<_ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h. */
3757 rm -f conftest.$ac_objext
3758 if { (ac_try="$ac_compile"
3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761 *) ac_try_echo=$ac_try;;
3763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3764 $as_echo "$ac_try_echo") >&5
3765 (eval "$ac_compile") 2>conftest.er1
3767 grep -v '^
*+' conftest.er1 >conftest.err
3769 cat conftest.err >&5
3770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } && {
3772 test -z "$ac_c_werror_flag" ||
3773 test ! -s conftest.err
3774 } && test -s conftest.$ac_objext; then
3777 $as_echo "$as_me: failed program was:" >&5
3778 sed 's
/^
/|
/' conftest.$ac_ext >&5
3780 ac_c_werror_flag=$ac_save_c_werror_flag
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3797 rm -f conftest.$ac_objext
3798 if { (ac_try="$ac_compile"
3800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801 *) ac_try_echo=$ac_try;;
3803 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3804 $as_echo "$ac_try_echo") >&5
3805 (eval "$ac_compile") 2>conftest.er1
3807 grep -v '^
*+' conftest.er1 >conftest.err
3809 cat conftest.err >&5
3810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); } && {
3812 test -z "$ac_c_werror_flag" ||
3813 test ! -s conftest.err
3814 } && test -s conftest.$ac_objext; then
3817 $as_echo "$as_me: failed program was:" >&5
3818 sed 's
/^
/|
/' conftest.$ac_ext >&5
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 ac_c_werror_flag=$ac_save_c_werror_flag
3832 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3833 $as_echo "$ac_cv_prog_cc_g" >&6; }
3834 if test "$ac_test_CFLAGS" = set; then
3835 CFLAGS=$ac_save_CFLAGS
3836 elif test $ac_cv_prog_cc_g = yes; then
3837 if test "$GCC" = yes; then
3843 if test "$GCC" = yes; then
3849 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3850 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3851 if test "${ac_cv_prog_cc_c89+set}" = set; then
3852 $as_echo_n "(cached) " >&6
3854 ac_cv_prog_cc_c89=no
3856 cat >conftest.$ac_ext <<_ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3864 #include <sys/types.h>
3865 #include <sys/stat.h>
3866 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3867 struct buf
{ int x
; };
3868 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3869 static char
*e
(p
, i
)
3875 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3880 s
= g
(p
, va_arg
(v
,int
));
3885 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3886 function prototypes and stuff
, but not
'\xHH' hex character constants.
3887 These don
't provoke an error unfortunately, instead are silently treated
3888 as 'x
'. The following induces an error, until -std is added to get
3889 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3890 array size at least. It's necessary to
write '\x00'==0 to get something
3891 that
's true only with -std. */
3892 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3894 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3895 inside strings and character constants. */
3897 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3899 int test (int i, double x);
3900 struct s1 {int (*f) (int a);};
3901 struct s2 {int (*f) (double a);};
3902 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3908 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3913 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3914 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3916 CC="$ac_save_CC $ac_arg"
3917 rm -f conftest.$ac_objext
3918 if { (ac_try="$ac_compile"
3920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921 *) ac_try_echo=$ac_try;;
3923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3924 $as_echo "$ac_try_echo") >&5
3925 (eval "$ac_compile") 2>conftest.er1
3927 grep -v '^
*+' conftest.er1 >conftest.err
3929 cat conftest.err >&5
3930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } && {
3932 test -z "$ac_c_werror_flag" ||
3933 test ! -s conftest.err
3934 } && test -s conftest.$ac_objext; then
3935 ac_cv_prog_cc_c89=$ac_arg
3937 $as_echo "$as_me: failed program was:" >&5
3938 sed 's
/^
/|
/' conftest.$ac_ext >&5
3943 rm -f core conftest.err conftest.$ac_objext
3944 test "x$ac_cv_prog_cc_c89" != "xno" && break
3946 rm -f conftest.$ac_ext
3951 case "x$ac_cv_prog_cc_c89" in
3953 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3954 $as_echo "none needed" >&6; } ;;
3956 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3957 $as_echo "unsupported" >&6; } ;;
3959 CC="$CC $ac_cv_prog_cc_c89"
3960 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3961 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3966 ac_cpp='$CPP $CPPFLAGS'
3967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3968 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3970 DEPDIR="${am__leading_dot}deps"
3972 ac_config_commands="$ac_config_commands depfiles"
3975 am_make=${MAKE-make}
3976 cat > confinc << 'END
'
3978 @echo this is the am__doit target
3981 # If we don't
find an include directive
, just comment out the code.
3982 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3983 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3987 # First try GNU make style include.
3988 echo "include confinc" > confmf
3989 # Ignore all kinds of additional output from `make'.
3990 case `$am_make -s -f confmf 2> /dev/null` in #(
3991 *the\ am__doit\ target
*)
3997 # Now try BSD make style include.
3998 if test "$am__include" = "#"; then
3999 echo '.include "confinc"' > confmf
4000 case `$am_make -s -f confmf 2> /dev/null` in #(
4001 *the\ am__doit\ target
*)
4002 am__include
=.include
4010 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4011 $as_echo "$_am_result" >&6; }
4012 rm -f confinc confmf
4014 # Check whether --enable-dependency-tracking was given.
4015 if test "${enable_dependency_tracking+set}" = set; then
4016 enableval
=$enable_dependency_tracking;
4019 if test "x$enable_dependency_tracking" != xno
; then
4020 am_depcomp
="$ac_aux_dir/depcomp"
4023 if test "x$enable_dependency_tracking" != xno; then
4033 depcc
="$CC" am_compiler_list
=
4035 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4036 $as_echo_n "checking dependency style of $depcc... " >&6; }
4037 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4038 $as_echo_n "(cached) " >&6
4040 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4041 # We make a subdir and do the tests there. Otherwise we can end up
4042 # making bogus files that we don't know about and never remove. For
4043 # instance it was reported that on HP-UX the gcc test will end up
4044 # making a dummy file named `D' -- because `-MD' means `put the output
4047 # Copy depcomp to subdir because otherwise we won't find it if we're
4048 # using a relative directory.
4049 cp "$am_depcomp" conftest.dir
4051 # We will build objects and dependencies in a subdirectory because
4052 # it helps to detect inapplicable dependency modes. For instance
4053 # both Tru64's cc and ICC support -MD to output dependencies as a
4054 # side effect of compilation, but ICC will put the dependencies in
4055 # the current directory while Tru64 will put them in the object
4059 am_cv_CC_dependencies_compiler_type
=none
4060 if test "$am_compiler_list" = ""; then
4061 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4064 case " $depcc " in #(
4065 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4068 for depmode
in $am_compiler_list; do
4069 # Setup a source with many dependencies, because some compilers
4070 # like to wrap large dependency lists on column 80 (with \), and
4071 # we should not choose a depcomp mode which is confused by this.
4073 # We need to recreate these files for each test, as the compiler may
4074 # overwrite some of them when testing with obscure command lines.
4075 # This happens at least with the AIX C compiler.
4077 for i
in 1 2 3 4 5 6; do
4078 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4079 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4080 # Solaris 8's {/usr,}/bin/sh.
4081 touch sub
/conftst
$i.h
4083 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4085 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4086 # mode. It turns out that the SunPro C++ compiler does not properly
4087 # handle `-M -o', and we need to detect this. Also, some Intel
4088 # versions had trouble with output in subdirs
4089 am__obj
=sub
/conftest.
${OBJEXT-o}
4090 am__minus_obj
="-o $am__obj"
4093 # This depmode causes a compiler race in universal mode.
4094 test "$am__universal" = false ||
continue
4097 # after this tag, mechanisms are not by side-effect, so they'll
4098 # only be used when explicitly requested
4099 if test "x$enable_dependency_tracking" = xyes
; then
4105 msvisualcpp | msvcmsys
)
4106 # This compiler won't grok `-c -o', but also, the minuso test has
4107 # not run yet. These depmodes are late enough in the game, and
4108 # so weak that their functioning should not be impacted.
4109 am__obj
=conftest.
${OBJEXT-o}
4114 if depmode
=$depmode \
4115 source=sub
/conftest.c object
=$am__obj \
4116 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4117 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4118 >/dev
/null
2>conftest.err
&&
4119 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4120 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4121 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4122 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4123 # icc doesn't choke on unknown options, it will just issue warnings
4124 # or remarks (even with -Werror). So we grep stderr for any message
4125 # that says an option was ignored or not supported.
4126 # When given -MP, icc 7.0 and 7.1 complain thusly:
4127 # icc: Command line warning: ignoring option '-M'; no argument required
4128 # The diagnosis changed in icc 8.0:
4129 # icc: Command line remark: option '-MP' not supported
4130 if (grep 'ignoring option' conftest.err ||
4131 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4132 am_cv_CC_dependencies_compiler_type
=$depmode
4141 am_cv_CC_dependencies_compiler_type
=none
4145 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4146 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4147 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4150 test "x$enable_dependency_tracking" != xno \
4151 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4153 am__fastdepCC_FALSE
='#'
4155 am__fastdepCC_TRUE
='#'
4156 am__fastdepCC_FALSE
=
4162 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4163 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4168 macro_version
='2.2.6'
4169 macro_revision
='1.3012'
4183 ltmain
="$ac_aux_dir/ltmain.sh"
4185 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4186 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4187 if test "${ac_cv_path_SED+set}" = set; then
4188 $as_echo_n "(cached) " >&6
4190 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4191 for ac_i
in 1 2 3 4 5 6 7; do
4192 ac_script
="$ac_script$as_nl$ac_script"
4194 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4195 $as_unset ac_script || ac_script
=
4196 if test -z "$SED"; then
4197 ac_path_SED_found
=false
4198 # Loop through the user's path and test for each of PROGNAME-LIST
4199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir
=.
4204 for ac_prog
in sed gsed
; do
4205 for ac_exec_ext
in '' $ac_executable_extensions; do
4206 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4207 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4208 # Check for GNU ac_path_SED and select it if it is found.
4209 # Check for GNU $ac_path_SED
4210 case `"$ac_path_SED" --version 2>&1` in
4212 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4215 $as_echo_n 0123456789 >"conftest.in"
4218 cat "conftest.in" "conftest.in" >"conftest.tmp"
4219 mv "conftest.tmp" "conftest.in"
4220 cp "conftest.in" "conftest.nl"
4221 $as_echo '' >> "conftest.nl"
4222 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4223 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4224 ac_count
=`expr $ac_count + 1`
4225 if test $ac_count -gt ${ac_path_SED_max-0}; then
4226 # Best one so far, save it but keep looking for a better one
4227 ac_cv_path_SED
="$ac_path_SED"
4228 ac_path_SED_max
=$ac_count
4230 # 10*(2^10) chars as input seems more than enough
4231 test $ac_count -gt 10 && break
4233 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4236 $ac_path_SED_found && break 3
4241 if test -z "$ac_cv_path_SED"; then
4242 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4243 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4244 { (exit 1); exit 1; }; }
4251 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4252 $as_echo "$ac_cv_path_SED" >&6; }
4253 SED
="$ac_cv_path_SED"
4256 test -z "$SED" && SED
=sed
4257 Xsed
="$SED -e 1s/^X//"
4269 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4270 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4271 if test "${ac_cv_path_GREP+set}" = set; then
4272 $as_echo_n "(cached) " >&6
4274 if test -z "$GREP"; then
4275 ac_path_GREP_found
=false
4276 # Loop through the user's path and test for each of PROGNAME-LIST
4277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4281 test -z "$as_dir" && as_dir
=.
4282 for ac_prog
in grep ggrep
; do
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4285 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4286 # Check for GNU ac_path_GREP and select it if it is found.
4287 # Check for GNU $ac_path_GREP
4288 case `"$ac_path_GREP" --version 2>&1` in
4290 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4293 $as_echo_n 0123456789 >"conftest.in"
4296 cat "conftest.in" "conftest.in" >"conftest.tmp"
4297 mv "conftest.tmp" "conftest.in"
4298 cp "conftest.in" "conftest.nl"
4299 $as_echo 'GREP' >> "conftest.nl"
4300 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4301 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4302 ac_count
=`expr $ac_count + 1`
4303 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4304 # Best one so far, save it but keep looking for a better one
4305 ac_cv_path_GREP
="$ac_path_GREP"
4306 ac_path_GREP_max
=$ac_count
4308 # 10*(2^10) chars as input seems more than enough
4309 test $ac_count -gt 10 && break
4311 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4314 $ac_path_GREP_found && break 3
4319 if test -z "$ac_cv_path_GREP"; then
4320 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4321 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4322 { (exit 1); exit 1; }; }
4325 ac_cv_path_GREP
=$GREP
4329 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4330 $as_echo "$ac_cv_path_GREP" >&6; }
4331 GREP
="$ac_cv_path_GREP"
4334 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4335 $as_echo_n "checking for egrep... " >&6; }
4336 if test "${ac_cv_path_EGREP+set}" = set; then
4337 $as_echo_n "(cached) " >&6
4339 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4340 then ac_cv_path_EGREP
="$GREP -E"
4342 if test -z "$EGREP"; then
4343 ac_path_EGREP_found
=false
4344 # Loop through the user's path and test for each of PROGNAME-LIST
4345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4346 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4349 test -z "$as_dir" && as_dir
=.
4350 for ac_prog
in egrep; do
4351 for ac_exec_ext
in '' $ac_executable_extensions; do
4352 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4353 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4354 # Check for GNU ac_path_EGREP and select it if it is found.
4355 # Check for GNU $ac_path_EGREP
4356 case `"$ac_path_EGREP" --version 2>&1` in
4358 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4361 $as_echo_n 0123456789 >"conftest.in"
4364 cat "conftest.in" "conftest.in" >"conftest.tmp"
4365 mv "conftest.tmp" "conftest.in"
4366 cp "conftest.in" "conftest.nl"
4367 $as_echo 'EGREP' >> "conftest.nl"
4368 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4369 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4370 ac_count
=`expr $ac_count + 1`
4371 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4372 # Best one so far, save it but keep looking for a better one
4373 ac_cv_path_EGREP
="$ac_path_EGREP"
4374 ac_path_EGREP_max
=$ac_count
4376 # 10*(2^10) chars as input seems more than enough
4377 test $ac_count -gt 10 && break
4379 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4382 $ac_path_EGREP_found && break 3
4387 if test -z "$ac_cv_path_EGREP"; then
4388 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4389 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4390 { (exit 1); exit 1; }; }
4393 ac_cv_path_EGREP
=$EGREP
4398 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4399 $as_echo "$ac_cv_path_EGREP" >&6; }
4400 EGREP
="$ac_cv_path_EGREP"
4403 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4404 $as_echo_n "checking for fgrep... " >&6; }
4405 if test "${ac_cv_path_FGREP+set}" = set; then
4406 $as_echo_n "(cached) " >&6
4408 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4409 then ac_cv_path_FGREP
="$GREP -F"
4411 if test -z "$FGREP"; then
4412 ac_path_FGREP_found
=false
4413 # Loop through the user's path and test for each of PROGNAME-LIST
4414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4418 test -z "$as_dir" && as_dir
=.
4419 for ac_prog
in fgrep
; do
4420 for ac_exec_ext
in '' $ac_executable_extensions; do
4421 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4422 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4423 # Check for GNU ac_path_FGREP and select it if it is found.
4424 # Check for GNU $ac_path_FGREP
4425 case `"$ac_path_FGREP" --version 2>&1` in
4427 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4430 $as_echo_n 0123456789 >"conftest.in"
4433 cat "conftest.in" "conftest.in" >"conftest.tmp"
4434 mv "conftest.tmp" "conftest.in"
4435 cp "conftest.in" "conftest.nl"
4436 $as_echo 'FGREP' >> "conftest.nl"
4437 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4438 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4439 ac_count
=`expr $ac_count + 1`
4440 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4441 # Best one so far, save it but keep looking for a better one
4442 ac_cv_path_FGREP
="$ac_path_FGREP"
4443 ac_path_FGREP_max
=$ac_count
4445 # 10*(2^10) chars as input seems more than enough
4446 test $ac_count -gt 10 && break
4448 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4451 $ac_path_FGREP_found && break 3
4456 if test -z "$ac_cv_path_FGREP"; then
4457 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4458 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4459 { (exit 1); exit 1; }; }
4462 ac_cv_path_FGREP
=$FGREP
4467 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4468 $as_echo "$ac_cv_path_FGREP" >&6; }
4469 FGREP
="$ac_cv_path_FGREP"
4472 test -z "$GREP" && GREP
=grep
4492 # Check whether --with-gnu-ld was given.
4493 if test "${with_gnu_ld+set}" = set; then
4494 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4500 if test "$GCC" = yes; then
4501 # Check if gcc -print-prog-name=ld gives a path.
4502 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4503 $as_echo_n "checking for ld used by $CC... " >&6; }
4506 # gcc leaves a trailing carriage return which upsets mingw
4507 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4509 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4512 # Accept absolute paths.
4514 re_direlt
='/[^/][^/]*/\.\./'
4515 # Canonicalize the pathname of ld
4516 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4517 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4518 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4520 test -z "$LD" && LD
="$ac_prog"
4523 # If it fails, then pretend we aren't using GCC.
4527 # If it is relative, then search for the first ld in PATH.
4531 elif test "$with_gnu_ld" = yes; then
4532 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4533 $as_echo_n "checking for GNU ld... " >&6; }
4535 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4536 $as_echo_n "checking for non-GNU ld... " >&6; }
4538 if test "${lt_cv_path_LD+set}" = set; then
4539 $as_echo_n "(cached) " >&6
4541 if test -z "$LD"; then
4542 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4543 for ac_dir
in $PATH; do
4545 test -z "$ac_dir" && ac_dir
=.
4546 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4547 lt_cv_path_LD
="$ac_dir/$ac_prog"
4548 # Check to see if the program is GNU ld. I'd rather use --version,
4549 # but apparently some variants of GNU ld only accept -v.
4550 # Break only if it was the GNU/non-GNU ld that we prefer.
4551 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4552 *GNU
* |
*'with BFD'*)
4553 test "$with_gnu_ld" != no
&& break
4556 test "$with_gnu_ld" != yes && break
4563 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4568 if test -n "$LD"; then
4569 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4570 $as_echo "$LD" >&6; }
4572 { $as_echo "$as_me:$LINENO: result: no" >&5
4573 $as_echo "no" >&6; }
4575 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4576 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4577 { (exit 1); exit 1; }; }
4578 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4579 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4580 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4581 $as_echo_n "(cached) " >&6
4583 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4584 case `$LD -v 2>&1 </dev/null` in
4585 *GNU
* |
*'with BFD'*)
4586 lt_cv_prog_gnu_ld
=yes
4589 lt_cv_prog_gnu_ld
=no
4593 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4594 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4595 with_gnu_ld
=$lt_cv_prog_gnu_ld
4605 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4606 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4607 if test "${lt_cv_path_NM+set}" = set; then
4608 $as_echo_n "(cached) " >&6
4610 if test -n "$NM"; then
4611 # Let the user override the test.
4614 lt_nm_to_check
="${ac_tool_prefix}nm"
4615 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4616 lt_nm_to_check
="$lt_nm_to_check nm"
4618 for lt_tmp_nm
in $lt_nm_to_check; do
4619 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4620 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4622 test -z "$ac_dir" && ac_dir
=.
4623 tmp_nm
="$ac_dir/$lt_tmp_nm"
4624 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4625 # Check to see if the nm accepts a BSD-compat flag.
4626 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4627 # nm: unknown option "B" ignored
4628 # Tru64's nm complains that /dev/null is an invalid object file
4629 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4630 */dev
/null
* |
*'Invalid file or object type'*)
4631 lt_cv_path_NM
="$tmp_nm -B"
4635 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4637 lt_cv_path_NM
="$tmp_nm -p"
4641 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4642 continue # so that we can try to find one that supports BSD flags
4651 : ${lt_cv_path_NM=no}
4654 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4655 $as_echo "$lt_cv_path_NM" >&6; }
4656 if test "$lt_cv_path_NM" != "no"; then
4659 # Didn't find any BSD compatible name lister, look for dumpbin.
4660 if test -n "$ac_tool_prefix"; then
4661 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4664 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4665 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4666 $as_echo_n "checking for $ac_word... " >&6; }
4667 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4668 $as_echo_n "(cached) " >&6
4670 if test -n "$DUMPBIN"; then
4671 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir
=.
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4680 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4681 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 DUMPBIN
=$ac_cv_prog_DUMPBIN
4691 if test -n "$DUMPBIN"; then
4692 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4693 $as_echo "$DUMPBIN" >&6; }
4695 { $as_echo "$as_me:$LINENO: result: no" >&5
4696 $as_echo "no" >&6; }
4700 test -n "$DUMPBIN" && break
4703 if test -z "$DUMPBIN"; then
4704 ac_ct_DUMPBIN
=$DUMPBIN
4705 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4707 # Extract the first word of "$ac_prog", so it can be a program name with args.
4708 set dummy
$ac_prog; ac_word
=$2
4709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4710 $as_echo_n "checking for $ac_word... " >&6; }
4711 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4712 $as_echo_n "(cached) " >&6
4714 if test -n "$ac_ct_DUMPBIN"; then
4715 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 test -z "$as_dir" && as_dir
=.
4722 for ac_exec_ext
in '' $ac_executable_extensions; do
4723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4724 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4735 if test -n "$ac_ct_DUMPBIN"; then
4736 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4737 $as_echo "$ac_ct_DUMPBIN" >&6; }
4739 { $as_echo "$as_me:$LINENO: result: no" >&5
4740 $as_echo "no" >&6; }
4744 test -n "$ac_ct_DUMPBIN" && break
4747 if test "x$ac_ct_DUMPBIN" = x
; then
4750 case $cross_compiling:$ac_tool_warned in
4752 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4754 ac_tool_warned
=yes ;;
4756 DUMPBIN
=$ac_ct_DUMPBIN
4761 if test "$DUMPBIN" != ":"; then
4765 test -z "$NM" && NM
=nm
4772 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4773 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4774 if test "${lt_cv_nm_interface+set}" = set; then
4775 $as_echo_n "(cached) " >&6
4777 lt_cv_nm_interface
="BSD nm"
4778 echo "int some_variable = 0;" > conftest.
$ac_ext
4779 (eval echo "\"\$as_me:4779: $ac_compile\"" >&5)
4780 (eval "$ac_compile" 2>conftest.err
)
4781 cat conftest.err
>&5
4782 (eval echo "\"\$as_me:4782: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4783 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4784 cat conftest.err
>&5
4785 (eval echo "\"\$as_me:4785: output\"" >&5)
4786 cat conftest.out
>&5
4787 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4788 lt_cv_nm_interface
="MS dumpbin"
4792 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4793 $as_echo "$lt_cv_nm_interface" >&6; }
4795 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4796 $as_echo_n "checking whether ln -s works... " >&6; }
4798 if test "$LN_S" = "ln -s"; then
4799 { $as_echo "$as_me:$LINENO: result: yes" >&5
4800 $as_echo "yes" >&6; }
4802 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4803 $as_echo "no, using $LN_S" >&6; }
4806 # find the maximum length of command line arguments
4807 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4808 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4809 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4810 $as_echo_n "(cached) " >&6
4817 # On DJGPP, this test can blow up pretty badly due to problems in libc
4818 # (any single argument exceeding 2000 bytes causes a buffer overrun
4819 # during glob expansion). Even if it were fixed, the result of this
4820 # check would be larger than it should be.
4821 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4825 # Under GNU Hurd, this test is not required because there is
4826 # no limit to the length of command line arguments.
4827 # Libtool will interpret -1 as no limit whatsoever
4828 lt_cv_sys_max_cmd_len
=-1;
4831 cygwin
* | mingw
* | cegcc
*)
4832 # On Win9x/ME, this test blows up -- it succeeds, but takes
4833 # about 5 minutes as the teststring grows exponentially.
4834 # Worse, since 9x/ME are not pre-emptively multitasking,
4835 # you end up with a "frozen" computer, even though with patience
4836 # the test eventually succeeds (with a max line length of 256k).
4837 # Instead, let's just punt: use the minimum linelength reported by
4838 # all of the supported platforms: 8192 (on NT/2K/XP).
4839 lt_cv_sys_max_cmd_len
=8192;
4843 # On AmigaOS with pdksh, this test takes hours, literally.
4844 # So we just punt and use a minimum line length of 8192.
4845 lt_cv_sys_max_cmd_len
=8192;
4848 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4849 # This has been around since 386BSD, at least. Likely further.
4850 if test -x /sbin
/sysctl
; then
4851 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4852 elif test -x /usr
/sbin
/sysctl
; then
4853 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4855 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4857 # And add a safety zone
4858 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4859 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4863 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4864 lt_cv_sys_max_cmd_len
=196608
4868 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4869 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4870 # nice to cause kernel panics so lets avoid the loop below.
4871 # First set a reasonable default.
4872 lt_cv_sys_max_cmd_len
=16384
4874 if test -x /sbin
/sysconfig
; then
4875 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4876 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4881 lt_cv_sys_max_cmd_len
=102400
4883 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4884 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4885 if test -n "$kargmax"; then
4886 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4888 lt_cv_sys_max_cmd_len
=32768
4892 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4893 if test -n "$lt_cv_sys_max_cmd_len"; then
4894 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4895 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4897 # Make teststring a little bigger before we do anything with it.
4898 # a 1K string should be a reasonable start.
4899 for i
in 1 2 3 4 5 6 7 8 ; do
4900 teststring
=$teststring$teststring
4902 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4903 # If test is not a shell built-in, we'll probably end up computing a
4904 # maximum length that is only half of the actual maximum length, but
4906 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4907 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4908 test $i != 17 # 1/2 MB should be enough
4911 teststring
=$teststring$teststring
4913 # Only check the string length outside the loop.
4914 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4916 # Add a significant safety factor because C++ compilers can tack on
4917 # massive amounts of additional arguments before passing them to the
4918 # linker. It appears as though 1/2 is a usable value.
4919 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4926 if test -n $lt_cv_sys_max_cmd_len ; then
4927 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4928 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4930 { $as_echo "$as_me:$LINENO: result: none" >&5
4931 $as_echo "none" >&6; }
4933 max_cmd_len
=$lt_cv_sys_max_cmd_len
4944 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4945 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4946 # Try some XSI features
4949 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4951 && eval 'test $(( 1 + 1 )) -eq 2 \
4952 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4954 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4955 $as_echo "$xsi_shell" >&6; }
4958 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4959 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4961 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4963 && lt_shell_append=yes
4964 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4965 $as_echo "$lt_shell_append" >&6; }
4968 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4978 # test EBCDIC or ASCII
4979 case `echo X|tr X '\101'` in
4980 A) # ASCII based system
4981 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4982 lt_SP2NL='tr \040 \012'
4983 lt_NL2SP='tr \015\012 \040\040'
4985 *) # EBCDIC based system
4986 lt_SP2NL='tr \100 \n'
4987 lt_NL2SP='tr \r\n \100\100'
4999 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5000 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5001 if test "${lt_cv_ld_reload_flag+set}" = set; then
5002 $as_echo_n "(cached
) " >&6
5004 lt_cv_ld_reload_flag='-r'
5006 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5007 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5008 reload_flag=$lt_cv_ld_reload_flag
5009 case $reload_flag in
5011 *) reload_flag=" $reload_flag" ;;
5013 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5016 if test "$GCC" = yes; then
5017 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5019 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5032 if test -n "$ac_tool_prefix"; then
5033 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5034 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5035 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5036 $as_echo_n "checking
for $ac_word...
" >&6; }
5037 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5038 $as_echo_n "(cached
) " >&6
5040 if test -n "$OBJDUMP"; then
5041 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 test -z "$as_dir" && as_dir=.
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5050 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5051 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5060 OBJDUMP=$ac_cv_prog_OBJDUMP
5061 if test -n "$OBJDUMP"; then
5062 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5063 $as_echo "$OBJDUMP" >&6; }
5065 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5066 $as_echo "no
" >&6; }
5071 if test -z "$ac_cv_prog_OBJDUMP"; then
5072 ac_ct_OBJDUMP=$OBJDUMP
5073 # Extract the first word of "objdump
", so it can be a program name with args.
5074 set dummy objdump; ac_word=$2
5075 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5076 $as_echo_n "checking
for $ac_word...
" >&6; }
5077 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5078 $as_echo_n "(cached
) " >&6
5080 if test -n "$ac_ct_OBJDUMP"; then
5081 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 test -z "$as_dir" && as_dir=.
5088 for ac_exec_ext in '' $ac_executable_extensions; do
5089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5090 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5091 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5100 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5101 if test -n "$ac_ct_OBJDUMP"; then
5102 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5103 $as_echo "$ac_ct_OBJDUMP" >&6; }
5105 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5106 $as_echo "no
" >&6; }
5109 if test "x
$ac_ct_OBJDUMP" = x; then
5112 case $cross_compiling:$ac_tool_warned in
5114 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5115 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5116 ac_tool_warned=yes ;;
5118 OBJDUMP=$ac_ct_OBJDUMP
5121 OBJDUMP="$ac_cv_prog_OBJDUMP"
5124 test -z "$OBJDUMP" && OBJDUMP=objdump
5134 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5135 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5136 if test "${lt_cv_deplibs_check_method+set}" = set; then
5137 $as_echo_n "(cached
) " >&6
5139 lt_cv_file_magic_cmd='$MAGIC_CMD'
5140 lt_cv_file_magic_test_file=
5141 lt_cv_deplibs_check_method='unknown'
5142 # Need to set the preceding variable on all platforms that support
5143 # interlibrary dependencies.
5144 # 'none' -- dependencies not supported.
5145 # `unknown' -- same as none, but documents that we really don't know.
5146 # 'pass_all' -- all dependencies passed with no checks.
5147 # 'test_compile' -- check by making test program.
5148 # 'file_magic [[regex]]' -- check by looking for files in library path
5149 # which responds to the $file_magic_cmd with a given extended regex.
5150 # If you have `file' or equivalent on your system and you're not sure
5151 # whether `pass_all' will *always* work, you probably want this one.
5155 lt_cv_deplibs_check_method=pass_all
5159 lt_cv_deplibs_check_method=pass_all
5163 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5164 lt_cv_file_magic_cmd='/usr/bin/file -L'
5165 lt_cv_file_magic_test_file=/shlib/libc.so
5169 # func_win32_libid is a shell function defined in ltmain.sh
5170 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5171 lt_cv_file_magic_cmd='func_win32_libid'
5175 # Base MSYS/MinGW do not provide the 'file' command needed by
5176 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5177 # unless we find 'file', for example because we are cross-compiling.
5178 if ( file / ) >/dev/null 2>&1; then
5179 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5180 lt_cv_file_magic_cmd='func_win32_libid'
5182 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5183 lt_cv_file_magic_cmd='$OBJDUMP -f'
5188 # use the weaker test based on 'objdump'. See mingw*.
5189 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5190 lt_cv_file_magic_cmd='$OBJDUMP -f'
5193 darwin* | rhapsody*)
5194 lt_cv_deplibs_check_method=pass_all
5197 freebsd* | dragonfly*)
5198 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5201 # Not sure whether the presence of OpenBSD here was a mistake.
5202 # Let's accept both of them until this is cleared up.
5203 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5204 lt_cv_file_magic_cmd=/usr/bin/file
5205 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5209 lt_cv_deplibs_check_method=pass_all
5214 lt_cv_deplibs_check_method=pass_all
5217 hpux10.20* | hpux11*)
5218 lt_cv_file_magic_cmd=/usr/bin/file
5221 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5222 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5225 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]'
5226 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5229 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5230 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5236 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5237 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5240 irix5* | irix6* | nonstopux*)
5242 *-32|*"-32 ") libmagic=32-bit;;
5243 *-n32|*"-n32 ") libmagic=N32;;
5244 *-64|*"-64 ") libmagic=64-bit;;
5245 *) libmagic=never-match;;
5247 lt_cv_deplibs_check_method=pass_all
5250 # This must be Linux ELF.
5251 linux* | k*bsd*-gnu)
5252 lt_cv_deplibs_check_method=pass_all
5256 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5257 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5259 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5264 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5265 lt_cv_file_magic_cmd=/usr/bin/file
5266 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5270 lt_cv_deplibs_check_method=pass_all
5274 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5281 osf3* | osf4* | osf5*)
5282 lt_cv_deplibs_check_method=pass_all
5286 lt_cv_deplibs_check_method=pass_all
5290 lt_cv_deplibs_check_method=pass_all
5293 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5294 lt_cv_deplibs_check_method=pass_all
5298 case $host_vendor in
5300 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]'
5301 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5304 lt_cv_deplibs_check_method=pass_all
5307 lt_cv_file_magic_cmd='/bin/file'
5308 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5311 lt_cv_file_magic_cmd='/bin/file'
5312 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5313 lt_cv_file_magic_test_file=/lib/libc.so
5316 lt_cv_deplibs_check_method=pass_all
5319 lt_cv_deplibs_check_method=pass_all
5325 lt_cv_deplibs_check_method=pass_all
5330 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5331 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5332 file_magic_cmd=$lt_cv_file_magic_cmd
5333 deplibs_check_method=$lt_cv_deplibs_check_method
5334 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5347 if test -n "$ac_tool_prefix"; then
5348 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5349 set dummy ${ac_tool_prefix}ar; ac_word=$2
5350 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5351 $as_echo_n "checking
for $ac_word...
" >&6; }
5352 if test "${ac_cv_prog_AR+set}" = set; then
5353 $as_echo_n "(cached
) " >&6
5355 if test -n "$AR"; then
5356 ac_cv_prog_AR="$AR" # Let the user override the test.
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5365 ac_cv_prog_AR="${ac_tool_prefix}ar"
5366 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5376 if test -n "$AR"; then
5377 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5378 $as_echo "$AR" >&6; }
5380 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5381 $as_echo "no
" >&6; }
5386 if test -z "$ac_cv_prog_AR"; then
5388 # Extract the first word of "ar", so it can be a program name with args.
5389 set dummy ar; ac_word=$2
5390 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5391 $as_echo_n "checking
for $ac_word...
" >&6; }
5392 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5393 $as_echo_n "(cached
) " >&6
5395 if test -n "$ac_ct_AR"; then
5396 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5405 ac_cv_prog_ac_ct_AR="ar"
5406 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5415 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5416 if test -n "$ac_ct_AR"; then
5417 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5418 $as_echo "$ac_ct_AR" >&6; }
5420 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5421 $as_echo "no
" >&6; }
5424 if test "x
$ac_ct_AR" = x; then
5427 case $cross_compiling:$ac_tool_warned in
5429 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5430 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5431 ac_tool_warned=yes ;;
5439 test -z "$AR" && AR=ar
5440 test -z "$AR_FLAGS" && AR_FLAGS=cru
5452 if test -n "$ac_tool_prefix"; then
5453 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5454 set dummy ${ac_tool_prefix}strip; ac_word=$2
5455 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5456 $as_echo_n "checking
for $ac_word...
" >&6; }
5457 if test "${ac_cv_prog_STRIP+set}" = set; then
5458 $as_echo_n "(cached
) " >&6
5460 if test -n "$STRIP"; then
5461 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5471 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5480 STRIP=$ac_cv_prog_STRIP
5481 if test -n "$STRIP"; then
5482 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5483 $as_echo "$STRIP" >&6; }
5485 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5486 $as_echo "no
" >&6; }
5491 if test -z "$ac_cv_prog_STRIP"; then
5493 # Extract the first word of "strip
", so it can be a program name with args.
5494 set dummy strip; ac_word=$2
5495 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5496 $as_echo_n "checking
for $ac_word...
" >&6; }
5497 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5498 $as_echo_n "(cached
) " >&6
5500 if test -n "$ac_ct_STRIP"; then
5501 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5510 ac_cv_prog_ac_ct_STRIP="strip
"
5511 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5520 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5521 if test -n "$ac_ct_STRIP"; then
5522 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5523 $as_echo "$ac_ct_STRIP" >&6; }
5525 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5526 $as_echo "no
" >&6; }
5529 if test "x
$ac_ct_STRIP" = x; then
5532 case $cross_compiling:$ac_tool_warned in
5534 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5535 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5536 ac_tool_warned=yes ;;
5541 STRIP="$ac_cv_prog_STRIP"
5544 test -z "$STRIP" && STRIP=:
5551 if test -n "$ac_tool_prefix"; then
5552 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5553 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5554 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5555 $as_echo_n "checking
for $ac_word...
" >&6; }
5556 if test "${ac_cv_prog_RANLIB+set}" = set; then
5557 $as_echo_n "(cached
) " >&6
5559 if test -n "$RANLIB"; then
5560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 test -z "$as_dir" && as_dir=.
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5569 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5570 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5579 RANLIB=$ac_cv_prog_RANLIB
5580 if test -n "$RANLIB"; then
5581 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5582 $as_echo "$RANLIB" >&6; }
5584 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5585 $as_echo "no
" >&6; }
5590 if test -z "$ac_cv_prog_RANLIB"; then
5591 ac_ct_RANLIB=$RANLIB
5592 # Extract the first word of "ranlib
", so it can be a program name with args.
5593 set dummy ranlib; ac_word=$2
5594 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5595 $as_echo_n "checking
for $ac_word...
" >&6; }
5596 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5597 $as_echo_n "(cached
) " >&6
5599 if test -n "$ac_ct_RANLIB"; then
5600 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5609 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5610 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5619 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5620 if test -n "$ac_ct_RANLIB"; then
5621 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5622 $as_echo "$ac_ct_RANLIB" >&6; }
5624 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5625 $as_echo "no
" >&6; }
5628 if test "x
$ac_ct_RANLIB" = x; then
5631 case $cross_compiling:$ac_tool_warned in
5633 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5634 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5635 ac_tool_warned=yes ;;
5637 RANLIB=$ac_ct_RANLIB
5640 RANLIB="$ac_cv_prog_RANLIB"
5643 test -z "$RANLIB" && RANLIB=:
5650 # Determine commands to create old-style static archives.
5651 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5652 old_postinstall_cmds='chmod 644 $oldlib'
5653 old_postuninstall_cmds=
5655 if test -n "$RANLIB"; then
5658 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5661 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5664 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5700 # If no C compiler was specified, use CC.
5703 # If no C compiler flags were specified, use CFLAGS.
5704 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5706 # Allow CC to be a program name with arguments.
5710 # Check for command to grab the raw symbol name followed by C symbol from nm.
5711 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5712 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5713 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5714 $as_echo_n "(cached
) " >&6
5717 # These are sane defaults that work on at least a few old systems.
5718 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5720 # Character class describing NM global symbol codes.
5721 symcode='[BCDEGRST]'
5723 # Regexp to match symbols that can be accessed directly from C.
5724 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5726 # Define system-specific variables.
5731 cygwin* | mingw* | pw32* | cegcc*)
5732 symcode='[ABCDGISTW]'
5735 if test "$host_cpu" = ia64; then
5736 symcode='[ABCDEGRST]'
5740 symcode='[BCDEGRST]'
5743 symcode='[BCDEGQRST]'
5754 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5762 # If we're using GNU nm, then use its standard symbol codes.
5763 case `$NM -V 2>&1` in
5764 *GNU* | *'with BFD'*)
5765 symcode='[ABCDGIRSTW]' ;;
5768 # Transform an extracted symbol line into a proper C declaration.
5769 # Some systems (esp. on ia64) link data and code symbols differently,
5770 # so use this general approach.
5771 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5773 # Transform an extracted symbol line into symbol name and symbol address
5774 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5775 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'"
5777 # Handle CRLF in mingw tool chain
5781 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5785 # Try without a prefix underscore, then with it.
5786 for ac_symprfx in "" "_
"; do
5788 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5789 symxfrm="\\1 $ac_symprfx\\2 \\2"
5791 # Write the raw and C identifiers.
5792 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5793 # Fake it for dumpbin and say T for any non-static function
5794 # and D for any global variable.
5795 # Also find C++ and __fastcall symbols from MSVC++,
5796 # which start with @ or ?.
5797 lt_cv_sys_global_symbol_pipe="$AWK '"\
5798 " {last_section=section; section=\$ 3};"\
5799 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5800 " \$ 0!~/External *\|/{next};"\
5801 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5802 " {if(hide[section]) next};"\
5803 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5804 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5805 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5806 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5807 " ' prfx
=^
$ac_symprfx"
5809 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5812 # Check to see that the pipe works correctly.
5816 cat > conftest.$ac_ext <<_LT_EOF
5821 void nm_test_func(void);
5822 void nm_test_func(void){}
5826 int main(){nm_test_var='a';nm_test_func();return(0);}
5829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5830 (eval $ac_compile) 2>&5
5832 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5833 (exit $ac_status); }; then
5834 # Now try to grab the symbols.
5836 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5837 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5839 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5840 (exit $ac_status); } && test -s "$nlist"; then
5841 # Try sorting and uniquifying the output.
5842 if sort "$nlist" | uniq > "$nlist"T; then
5843 mv -f "$nlist"T "$nlist"
5848 # Make sure that we snagged all the symbols we need.
5849 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5850 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5851 cat <<_LT_EOF > conftest.$ac_ext
5857 # Now generate the symbol file.
5858 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5860 cat <<_LT_EOF >> conftest.$ac_ext
5862 /* The mapping between symbol names and symbols. */
5867 lt__PROGRAM__LTX_preloaded_symbols[] =
5869 { "@PROGRAM@
", (void *) 0 },
5871 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5872 cat <<\_LT_EOF >> conftest.$ac_ext
5876 /* This works around a problem in FreeBSD linker */
5877 #ifdef FREEBSD_WORKAROUND
5878 static const void *lt_preloaded_setup() {
5879 return lt__PROGRAM__LTX_preloaded_symbols;
5887 # Now try linking the two files.
5888 mv conftest.$ac_objext conftstm.$ac_objext
5889 lt_save_LIBS="$LIBS"
5890 lt_save_CFLAGS="$CFLAGS"
5891 LIBS="conftstm.
$ac_objext"
5892 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5894 (eval $ac_link) 2>&5
5896 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5897 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5900 LIBS="$lt_save_LIBS"
5901 CFLAGS="$lt_save_CFLAGS"
5903 echo "cannot
find nm_test_func
in $nlist" >&5
5906 echo "cannot
find nm_test_var
in $nlist" >&5
5909 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5912 echo "$progname: failed program was
:" >&5
5913 cat conftest.$ac_ext >&5
5915 rm -rf conftest* conftst*
5917 # Do not use the global_symbol_pipe unless it works.
5918 if test "$pipe_works" = yes; then
5921 lt_cv_sys_global_symbol_pipe=
5927 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5928 lt_cv_sys_global_symbol_to_cdecl=
5930 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5931 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5932 $as_echo "failed
" >&6; }
5934 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5935 $as_echo "ok
" >&6; }
5960 # Check whether --enable-libtool-lock was given.
5961 if test "${enable_libtool_lock+set}" = set; then
5962 enableval=$enable_libtool_lock;
5965 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5967 # Some flags need to be propagated to the compiler or linker for good
5971 # Find out which ABI we are using.
5972 echo 'int i;' > conftest.$ac_ext
5973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5974 (eval $ac_compile) 2>&5
5976 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5977 (exit $ac_status); }; then
5978 case `/usr/bin/file conftest.$ac_objext` in
5990 # Find out which ABI we are using.
5991 echo '#line 5991 "configure
"' > conftest.$ac_ext
5992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5993 (eval $ac_compile) 2>&5
5995 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5996 (exit $ac_status); }; then
5997 if test "$lt_cv_prog_gnu_ld" = yes; then
5998 case `/usr/bin/file conftest.$ac_objext` in
6000 LD="${LD-ld} -melf32bsmip"
6003 LD="${LD-ld} -melf32bmipn32"
6006 LD="${LD-ld} -melf64bmip"
6010 case `/usr/bin/file conftest.$ac_objext` in
6026 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6027 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6028 # Find out which ABI we are using.
6029 echo 'int i;' > conftest.$ac_ext
6030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6031 (eval $ac_compile) 2>&5
6033 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6034 (exit $ac_status); }; then
6035 case `/usr/bin/file conftest.o` in
6038 x86_64-*kfreebsd*-gnu)
6039 LD="${LD-ld} -m elf_i386_fbsd
"
6042 LD="${LD-ld} -m elf_i386
"
6044 ppc64-*linux*|powerpc64-*linux*)
6045 LD="${LD-ld} -m elf32ppclinux
"
6048 LD="${LD-ld} -m elf_s390
"
6051 LD="${LD-ld} -m elf32_sparc
"
6057 x86_64-*kfreebsd*-gnu)
6058 LD="${LD-ld} -m elf_x86_64_fbsd
"
6061 LD="${LD-ld} -m elf_x86_64
"
6063 ppc*-*linux*|powerpc*-*linux*)
6064 LD="${LD-ld} -m elf64ppc
"
6066 s390*-*linux*|s390*-*tpf*)
6067 LD="${LD-ld} -m elf64_s390
"
6070 LD="${LD-ld} -m elf64_sparc
"
6080 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6081 SAVE_CFLAGS="$CFLAGS"
6082 CFLAGS="$CFLAGS -belf"
6083 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6084 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6085 if test "${lt_cv_cc_needs_belf+set}" = set; then
6086 $as_echo_n "(cached
) " >&6
6089 ac_cpp='$CPP $CPPFLAGS'
6090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6094 cat >conftest.$ac_ext <<_ACEOF
6097 cat confdefs.h >>conftest.$ac_ext
6098 cat >>conftest.$ac_ext <<_ACEOF
6099 /* end confdefs.h. */
6109 rm -f conftest.$ac_objext conftest$ac_exeext
6110 if { (ac_try="$ac_link"
6112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6113 *) ac_try_echo=$ac_try;;
6115 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6116 $as_echo "$ac_try_echo") >&5
6117 (eval "$ac_link") 2>conftest.er1
6119 grep -v '^ *+' conftest.er1 >conftest.err
6121 cat conftest.err >&5
6122 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6123 (exit $ac_status); } && {
6124 test -z "$ac_c_werror_flag" ||
6125 test ! -s conftest.err
6126 } && test -s conftest$ac_exeext && {
6127 test "$cross_compiling" = yes ||
6128 $as_test_x conftest$ac_exeext
6130 lt_cv_cc_needs_belf=yes
6132 $as_echo "$as_me: failed program was
:" >&5
6133 sed 's/^/| /' conftest.$ac_ext >&5
6135 lt_cv_cc_needs_belf=no
6138 rm -rf conftest.dSYM
6139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6140 conftest$ac_exeext conftest.$ac_ext
6142 ac_cpp='$CPP $CPPFLAGS'
6143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6148 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6149 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6150 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6151 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6152 CFLAGS="$SAVE_CFLAGS"
6156 # Find out which ABI we are using.
6157 echo 'int i;' > conftest.$ac_ext
6158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6159 (eval $ac_compile) 2>&5
6161 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6162 (exit $ac_status); }; then
6163 case `/usr/bin/file conftest.o` in
6165 case $lt_cv_prog_gnu_ld in
6166 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6168 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6180 need_locks="$enable_libtool_lock"
6184 rhapsody* | darwin*)
6185 if test -n "$ac_tool_prefix"; then
6186 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6187 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6188 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6189 $as_echo_n "checking
for $ac_word...
" >&6; }
6190 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6191 $as_echo_n "(cached
) " >&6
6193 if test -n "$DSYMUTIL"; then
6194 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6204 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6213 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6214 if test -n "$DSYMUTIL"; then
6215 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6216 $as_echo "$DSYMUTIL" >&6; }
6218 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6219 $as_echo "no
" >&6; }
6224 if test -z "$ac_cv_prog_DSYMUTIL"; then
6225 ac_ct_DSYMUTIL=$DSYMUTIL
6226 # Extract the first word of "dsymutil
", so it can be a program name with args.
6227 set dummy dsymutil; ac_word=$2
6228 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6229 $as_echo_n "checking
for $ac_word...
" >&6; }
6230 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6231 $as_echo_n "(cached
) " >&6
6233 if test -n "$ac_ct_DSYMUTIL"; then
6234 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6243 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6244 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6253 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6254 if test -n "$ac_ct_DSYMUTIL"; then
6255 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6256 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6258 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6259 $as_echo "no
" >&6; }
6262 if test "x
$ac_ct_DSYMUTIL" = x; then
6265 case $cross_compiling:$ac_tool_warned in
6267 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6268 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6269 ac_tool_warned=yes ;;
6271 DSYMUTIL=$ac_ct_DSYMUTIL
6274 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6277 if test -n "$ac_tool_prefix"; then
6278 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6279 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6280 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6281 $as_echo_n "checking
for $ac_word...
" >&6; }
6282 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6283 $as_echo_n "(cached
) " >&6
6285 if test -n "$NMEDIT"; then
6286 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6296 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6305 NMEDIT=$ac_cv_prog_NMEDIT
6306 if test -n "$NMEDIT"; then
6307 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6308 $as_echo "$NMEDIT" >&6; }
6310 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6311 $as_echo "no
" >&6; }
6316 if test -z "$ac_cv_prog_NMEDIT"; then
6317 ac_ct_NMEDIT=$NMEDIT
6318 # Extract the first word of "nmedit
", so it can be a program name with args.
6319 set dummy nmedit; ac_word=$2
6320 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6321 $as_echo_n "checking
for $ac_word...
" >&6; }
6322 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6323 $as_echo_n "(cached
) " >&6
6325 if test -n "$ac_ct_NMEDIT"; then
6326 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 test -z "$as_dir" && as_dir=.
6333 for ac_exec_ext in '' $ac_executable_extensions; do
6334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6335 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6336 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6345 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6346 if test -n "$ac_ct_NMEDIT"; then
6347 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6348 $as_echo "$ac_ct_NMEDIT" >&6; }
6350 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6351 $as_echo "no
" >&6; }
6354 if test "x
$ac_ct_NMEDIT" = x; then
6357 case $cross_compiling:$ac_tool_warned in
6359 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6360 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6361 ac_tool_warned=yes ;;
6363 NMEDIT=$ac_ct_NMEDIT
6366 NMEDIT="$ac_cv_prog_NMEDIT"
6369 if test -n "$ac_tool_prefix"; then
6370 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6371 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6372 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6373 $as_echo_n "checking
for $ac_word...
" >&6; }
6374 if test "${ac_cv_prog_LIPO+set}" = set; then
6375 $as_echo_n "(cached
) " >&6
6377 if test -n "$LIPO"; then
6378 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 test -z "$as_dir" && as_dir=.
6385 for ac_exec_ext in '' $ac_executable_extensions; do
6386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6387 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6388 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6397 LIPO=$ac_cv_prog_LIPO
6398 if test -n "$LIPO"; then
6399 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6400 $as_echo "$LIPO" >&6; }
6402 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6403 $as_echo "no
" >&6; }
6408 if test -z "$ac_cv_prog_LIPO"; then
6410 # Extract the first word of "lipo
", so it can be a program name with args.
6411 set dummy lipo; ac_word=$2
6412 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6413 $as_echo_n "checking
for $ac_word...
" >&6; }
6414 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6415 $as_echo_n "(cached
) " >&6
6417 if test -n "$ac_ct_LIPO"; then
6418 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6424 test -z "$as_dir" && as_dir=.
6425 for ac_exec_ext in '' $ac_executable_extensions; do
6426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6427 ac_cv_prog_ac_ct_LIPO="lipo
"
6428 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6437 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6438 if test -n "$ac_ct_LIPO"; then
6439 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6440 $as_echo "$ac_ct_LIPO" >&6; }
6442 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6443 $as_echo "no
" >&6; }
6446 if test "x
$ac_ct_LIPO" = x; then
6449 case $cross_compiling:$ac_tool_warned in
6451 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6452 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6453 ac_tool_warned=yes ;;
6458 LIPO="$ac_cv_prog_LIPO"
6461 if test -n "$ac_tool_prefix"; then
6462 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6463 set dummy ${ac_tool_prefix}otool; ac_word=$2
6464 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6465 $as_echo_n "checking
for $ac_word...
" >&6; }
6466 if test "${ac_cv_prog_OTOOL+set}" = set; then
6467 $as_echo_n "(cached
) " >&6
6469 if test -n "$OTOOL"; then
6470 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6479 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6480 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6489 OTOOL=$ac_cv_prog_OTOOL
6490 if test -n "$OTOOL"; then
6491 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6492 $as_echo "$OTOOL" >&6; }
6494 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6495 $as_echo "no
" >&6; }
6500 if test -z "$ac_cv_prog_OTOOL"; then
6502 # Extract the first word of "otool
", so it can be a program name with args.
6503 set dummy otool; ac_word=$2
6504 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6505 $as_echo_n "checking
for $ac_word...
" >&6; }
6506 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6507 $as_echo_n "(cached
) " >&6
6509 if test -n "$ac_ct_OTOOL"; then
6510 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_ac_ct_OTOOL="otool
"
6520 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6529 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6530 if test -n "$ac_ct_OTOOL"; then
6531 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6532 $as_echo "$ac_ct_OTOOL" >&6; }
6534 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6535 $as_echo "no
" >&6; }
6538 if test "x
$ac_ct_OTOOL" = x; then
6541 case $cross_compiling:$ac_tool_warned in
6543 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6544 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6545 ac_tool_warned=yes ;;
6550 OTOOL="$ac_cv_prog_OTOOL"
6553 if test -n "$ac_tool_prefix"; then
6554 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6555 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6556 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6557 $as_echo_n "checking
for $ac_word...
" >&6; }
6558 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6559 $as_echo_n "(cached
) " >&6
6561 if test -n "$OTOOL64"; then
6562 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6571 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6572 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6581 OTOOL64=$ac_cv_prog_OTOOL64
6582 if test -n "$OTOOL64"; then
6583 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6584 $as_echo "$OTOOL64" >&6; }
6586 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6587 $as_echo "no
" >&6; }
6592 if test -z "$ac_cv_prog_OTOOL64"; then
6593 ac_ct_OTOOL64=$OTOOL64
6594 # Extract the first word of "otool64
", so it can be a program name with args.
6595 set dummy otool64; ac_word=$2
6596 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6597 $as_echo_n "checking
for $ac_word...
" >&6; }
6598 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6599 $as_echo_n "(cached
) " >&6
6601 if test -n "$ac_ct_OTOOL64"; then
6602 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608 test -z "$as_dir" && as_dir=.
6609 for ac_exec_ext in '' $ac_executable_extensions; do
6610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6612 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6621 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6622 if test -n "$ac_ct_OTOOL64"; then
6623 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6624 $as_echo "$ac_ct_OTOOL64" >&6; }
6626 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6627 $as_echo "no
" >&6; }
6630 if test "x
$ac_ct_OTOOL64" = x; then
6633 case $cross_compiling:$ac_tool_warned in
6635 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6636 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6637 ac_tool_warned=yes ;;
6639 OTOOL64=$ac_ct_OTOOL64
6642 OTOOL64="$ac_cv_prog_OTOOL64"
6671 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6672 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6673 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6674 $as_echo_n "(cached
) " >&6
6676 lt_cv_apple_cc_single_mod=no
6677 if test -z "${LT_MULTI_MODULE}"; then
6678 # By default we will add the -single_module flag. You can override
6679 # by either setting the environment variable LT_MULTI_MODULE
6680 # non-empty at configure time, or by adding -multi_module to the
6682 rm -rf libconftest.dylib*
6683 echo "int foo
(void
){return 1;}" > conftest.c
6684 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6685 -dynamiclib -Wl,-single_module conftest.c
" >&5
6686 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6687 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6689 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6690 lt_cv_apple_cc_single_mod=yes
6692 cat conftest.err >&5
6694 rm -rf libconftest.dylib*
6698 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6699 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6700 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6701 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6702 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6703 $as_echo_n "(cached
) " >&6
6705 lt_cv_ld_exported_symbols_list=no
6706 save_LDFLAGS=$LDFLAGS
6707 echo "_main
" > conftest.sym
6708 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6709 cat >conftest.$ac_ext <<_ACEOF
6712 cat confdefs.h >>conftest.$ac_ext
6713 cat >>conftest.$ac_ext <<_ACEOF
6714 /* end confdefs.h. */
6724 rm -f conftest.$ac_objext conftest$ac_exeext
6725 if { (ac_try="$ac_link"
6727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6728 *) ac_try_echo=$ac_try;;
6730 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6731 $as_echo "$ac_try_echo") >&5
6732 (eval "$ac_link") 2>conftest.er1
6734 grep -v '^ *+' conftest.er1 >conftest.err
6736 cat conftest.err >&5
6737 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6738 (exit $ac_status); } && {
6739 test -z "$ac_c_werror_flag" ||
6740 test ! -s conftest.err
6741 } && test -s conftest$ac_exeext && {
6742 test "$cross_compiling" = yes ||
6743 $as_test_x conftest$ac_exeext
6745 lt_cv_ld_exported_symbols_list=yes
6747 $as_echo "$as_me: failed program was
:" >&5
6748 sed 's/^/| /' conftest.$ac_ext >&5
6750 lt_cv_ld_exported_symbols_list=no
6753 rm -rf conftest.dSYM
6754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6755 conftest$ac_exeext conftest.$ac_ext
6756 LDFLAGS="$save_LDFLAGS"
6759 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6760 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6762 rhapsody* | darwin1.[012])
6763 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6765 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6766 darwin*) # darwin 5.x on
6767 # if running on 10.5 or later, the deployment target defaults
6768 # to the OS version, if on x86, and 10.4, the deployment
6769 # target defaults to 10.4. Don't you love it?
6770 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6771 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6772 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6774 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6776 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6780 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6781 _lt_dar_single_mod='$single_module'
6783 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6784 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6786 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6788 if test "$DSYMUTIL" != ":"; then
6789 _lt_dsymutil='~$DSYMUTIL $lib || :'
6797 ac_cpp='$CPP $CPPFLAGS'
6798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6801 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6802 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6803 # On Suns, sometimes $CPP names a directory.
6804 if test -n "$CPP" && test -d "$CPP"; then
6807 if test -z "$CPP"; then
6808 if test "${ac_cv_prog_CPP+set}" = set; then
6809 $as_echo_n "(cached
) " >&6
6811 # Double quotes because CPP needs to be expanded
6812 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6815 for ac_c_preproc_warn_flag in '' yes
6817 # Use a header file that comes with gcc, so configuring glibc
6818 # with a fresh cross-compiler works.
6819 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6820 # <limits.h> exists even on freestanding compilers.
6821 # On the NeXT, cc -E runs the code through the compiler's parser,
6822 # not just through cpp. "Syntax error
" is here to catch this case.
6823 cat >conftest.$ac_ext <<_ACEOF
6826 cat confdefs.h >>conftest.$ac_ext
6827 cat >>conftest.$ac_ext <<_ACEOF
6828 /* end confdefs.h. */
6830 # include <limits.h>
6832 # include <assert.h>
6836 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6839 *) ac_try_echo=$ac_try;;
6841 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6842 $as_echo "$ac_try_echo") >&5
6843 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6845 grep -v '^ *+' conftest.er1 >conftest.err
6847 cat conftest.err >&5
6848 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6849 (exit $ac_status); } >/dev/null && {
6850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6851 test ! -s conftest.err
6855 $as_echo "$as_me: failed program was
:" >&5
6856 sed 's/^/| /' conftest.$ac_ext >&5
6858 # Broken: fails on valid input.
6862 rm -f conftest.err conftest.$ac_ext
6864 # OK, works on sane cases. Now check whether nonexistent headers
6865 # can be detected and how.
6866 cat >conftest.$ac_ext <<_ACEOF
6869 cat confdefs.h >>conftest.$ac_ext
6870 cat >>conftest.$ac_ext <<_ACEOF
6871 /* end confdefs.h. */
6872 #include <ac_nonexistent.h>
6874 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6877 *) ac_try_echo=$ac_try;;
6879 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6880 $as_echo "$ac_try_echo") >&5
6881 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6883 grep -v '^ *+' conftest.er1 >conftest.err
6885 cat conftest.err >&5
6886 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6887 (exit $ac_status); } >/dev/null && {
6888 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6889 test ! -s conftest.err
6891 # Broken: success on invalid input.
6894 $as_echo "$as_me: failed program was
:" >&5
6895 sed 's/^/| /' conftest.$ac_ext >&5
6897 # Passes both tests.
6902 rm -f conftest.err conftest.$ac_ext
6905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6906 rm -f conftest.err conftest.$ac_ext
6907 if $ac_preproc_ok; then
6919 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6920 $as_echo "$CPP" >&6; }
6922 for ac_c_preproc_warn_flag in '' yes
6924 # Use a header file that comes with gcc, so configuring glibc
6925 # with a fresh cross-compiler works.
6926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6927 # <limits.h> exists even on freestanding compilers.
6928 # On the NeXT, cc -E runs the code through the compiler's parser,
6929 # not just through cpp. "Syntax error
" is here to catch this case.
6930 cat >conftest.$ac_ext <<_ACEOF
6933 cat confdefs.h >>conftest.$ac_ext
6934 cat >>conftest.$ac_ext <<_ACEOF
6935 /* end confdefs.h. */
6937 # include <limits.h>
6939 # include <assert.h>
6943 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6946 *) ac_try_echo=$ac_try;;
6948 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6949 $as_echo "$ac_try_echo") >&5
6950 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6952 grep -v '^ *+' conftest.er1 >conftest.err
6954 cat conftest.err >&5
6955 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6956 (exit $ac_status); } >/dev/null && {
6957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6958 test ! -s conftest.err
6962 $as_echo "$as_me: failed program was
:" >&5
6963 sed 's/^/| /' conftest.$ac_ext >&5
6965 # Broken: fails on valid input.
6969 rm -f conftest.err conftest.$ac_ext
6971 # OK, works on sane cases. Now check whether nonexistent headers
6972 # can be detected and how.
6973 cat >conftest.$ac_ext <<_ACEOF
6976 cat confdefs.h >>conftest.$ac_ext
6977 cat >>conftest.$ac_ext <<_ACEOF
6978 /* end confdefs.h. */
6979 #include <ac_nonexistent.h>
6981 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6984 *) ac_try_echo=$ac_try;;
6986 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6987 $as_echo "$ac_try_echo") >&5
6988 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6990 grep -v '^ *+' conftest.er1 >conftest.err
6992 cat conftest.err >&5
6993 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6994 (exit $ac_status); } >/dev/null && {
6995 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6996 test ! -s conftest.err
6998 # Broken: success on invalid input.
7001 $as_echo "$as_me: failed program was
:" >&5
7002 sed 's/^/| /' conftest.$ac_ext >&5
7004 # Passes both tests.
7009 rm -f conftest.err conftest.$ac_ext
7012 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7013 rm -f conftest.err conftest.$ac_ext
7014 if $ac_preproc_ok; then
7017 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7019 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7020 See \`config.log' for more details.
" >&5
7021 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
7022 See \
`config.log' for more details." >&2;}
7023 { (exit 1); exit 1; }; }; }
7027 ac_cpp='$CPP $CPPFLAGS'
7028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7033 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7034 $as_echo_n "checking for ANSI C header files... " >&6; }
7035 if test "${ac_cv_header_stdc+set}" = set; then
7036 $as_echo_n "(cached) " >&6
7038 cat >conftest.$ac_ext <<_ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7057 rm -f conftest.$ac_objext
7058 if { (ac_try="$ac_compile"
7060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7061 *) ac_try_echo
=$ac_try;;
7063 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7064 $as_echo "$ac_try_echo") >&5
7065 (eval "$ac_compile") 2>conftest.er1
7067 grep -v '^ *+' conftest.er1
>conftest.err
7069 cat conftest.err
>&5
7070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); } && {
7072 test -z "$ac_c_werror_flag" ||
7073 test ! -s conftest.err
7074 } && test -s conftest.
$ac_objext; then
7075 ac_cv_header_stdc
=yes
7077 $as_echo "$as_me: failed program was:" >&5
7078 sed 's/^/| /' conftest.
$ac_ext >&5
7080 ac_cv_header_stdc
=no
7083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7085 if test $ac_cv_header_stdc = yes; then
7086 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7087 cat >conftest.
$ac_ext <<_ACEOF
7090 cat confdefs.h
>>conftest.
$ac_ext
7091 cat >>conftest.
$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7097 $EGREP "memchr" >/dev
/null
2>&1; then
7100 ac_cv_header_stdc
=no
7106 if test $ac_cv_header_stdc = yes; then
7107 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7108 cat >conftest.
$ac_ext <<_ACEOF
7111 cat confdefs.h
>>conftest.
$ac_ext
7112 cat >>conftest.
$ac_ext <<_ACEOF
7113 /* end confdefs.h. */
7117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7118 $EGREP "free" >/dev
/null
2>&1; then
7121 ac_cv_header_stdc
=no
7127 if test $ac_cv_header_stdc = yes; then
7128 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7129 if test "$cross_compiling" = yes; then
7132 cat >conftest.
$ac_ext <<_ACEOF
7135 cat confdefs.h
>>conftest.
$ac_ext
7136 cat >>conftest.
$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7140 #if ((' ' & 0x0FF) == 0x020)
7141 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7142 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7144 # define ISLOWER(c) \
7145 (('a' <= (c) && (c) <= 'i') \
7146 || ('j' <= (c) && (c) <= 'r') \
7147 || ('s' <= (c) && (c) <= 'z'))
7148 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7151 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7156 for (i = 0; i < 256; i++)
7157 if (XOR (islower (i), ISLOWER (i))
7158 || toupper (i) != TOUPPER (i))
7163 rm -f conftest
$ac_exeext
7164 if { (ac_try
="$ac_link"
7166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7167 *) ac_try_echo=$ac_try;;
7169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7170 $as_echo "$ac_try_echo") >&5
7171 (eval "$ac_link") 2>&5
7173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7175 { (case "(($ac_try" in
7176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7177 *) ac_try_echo
=$ac_try;;
7179 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7180 $as_echo "$ac_try_echo") >&5
7181 (eval "$ac_try") 2>&5
7183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); }; }; then
7187 $as_echo "$as_me: program exited with status $ac_status" >&5
7188 $as_echo "$as_me: failed program was:" >&5
7189 sed 's/^/| /' conftest.
$ac_ext >&5
7192 ac_cv_header_stdc
=no
7194 rm -rf conftest.dSYM
7195 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7201 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7202 $as_echo "$ac_cv_header_stdc" >&6; }
7203 if test $ac_cv_header_stdc = yes; then
7205 cat >>confdefs.h
<<\_ACEOF
7206 #define STDC_HEADERS 1
7211 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7221 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7222 inttypes.h stdint.h unistd.h
7224 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7225 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7226 $as_echo_n "checking for $ac_header... " >&6; }
7227 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7228 $as_echo_n "(cached) " >&6
7230 cat >conftest.
$ac_ext <<_ACEOF
7233 cat confdefs.h
>>conftest.
$ac_ext
7234 cat >>conftest.
$ac_ext <<_ACEOF
7235 /* end confdefs.h. */
7236 $ac_includes_default
7238 #include <$ac_header>
7240 rm -f conftest.
$ac_objext
7241 if { (ac_try
="$ac_compile"
7243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7244 *) ac_try_echo=$ac_try;;
7246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7247 $as_echo "$ac_try_echo") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7250 grep -v '^ *+' conftest.er1 >conftest.err
7252 cat conftest.err >&5
7253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 eval "$as_ac_Header=yes"
7260 $as_echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 eval "$as_ac_Header=no"
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 ac_res=`eval 'as_val=${'$as_ac_Header'}
7269 $as_echo "$as_val"'`
7270 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7271 $as_echo "$ac_res" >&6; }
7272 as_val=`eval 'as_val=${'$as_ac_Header'}
7273 $as_echo "$as_val"'`
7274 if test "x$as_val" = x""yes; then
7275 cat >>confdefs.h <<_ACEOF
7276 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7285 for ac_header in dlfcn.h
7287 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7288 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7289 $as_echo_n "checking for $ac_header... " >&6; }
7290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7291 $as_echo_n "(cached) " >&6
7293 cat >conftest.$ac_ext <<_ACEOF
7296 cat confdefs.h >>conftest.$ac_ext
7297 cat >>conftest.$ac_ext <<_ACEOF
7298 /* end confdefs.h. */
7299 $ac_includes_default
7301 #include <$ac_header>
7303 rm -f conftest.$ac_objext
7304 if { (ac_try="$ac_compile"
7306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7307 *) ac_try_echo
=$ac_try;;
7309 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7310 $as_echo "$ac_try_echo") >&5
7311 (eval "$ac_compile") 2>conftest.er1
7313 grep -v '^ *+' conftest.er1
>conftest.err
7315 cat conftest.err
>&5
7316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } && {
7318 test -z "$ac_c_werror_flag" ||
7319 test ! -s conftest.err
7320 } && test -s conftest.
$ac_objext; then
7321 eval "$as_ac_Header=yes"
7323 $as_echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.
$ac_ext >&5
7326 eval "$as_ac_Header=no"
7329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7331 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7332 $as_echo "$as_val"'`
7333 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7334 $as_echo "$ac_res" >&6; }
7335 as_val
=`eval 'as_val=${'$as_ac_Header'}
7336 $as_echo "$as_val"'`
7337 if test "x$as_val" = x
""yes; then
7338 cat >>confdefs.h
<<_ACEOF
7339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7358 # Check whether --enable-shared was given.
7359 if test "${enable_shared+set}" = set; then
7360 enableval
=$enable_shared; p
=${PACKAGE-default}
7362 yes) enable_shared
=yes ;;
7363 no
) enable_shared
=no
;;
7366 # Look at the argument we got. We use all the common list separators.
7367 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7368 for pkg
in $enableval; do
7370 if test "X$pkg" = "X$p"; then
7389 # Check whether --enable-static was given.
7390 if test "${enable_static+set}" = set; then
7391 enableval
=$enable_static; p
=${PACKAGE-default}
7393 yes) enable_static
=yes ;;
7394 no
) enable_static
=no
;;
7397 # Look at the argument we got. We use all the common list separators.
7398 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7399 for pkg
in $enableval; do
7401 if test "X$pkg" = "X$p"; then
7421 # Check whether --with-pic was given.
7422 if test "${with_pic+set}" = set; then
7423 withval
=$with_pic; pic_mode
="$withval"
7429 test -z "$pic_mode" && pic_mode
=default
7437 # Check whether --enable-fast-install was given.
7438 if test "${enable_fast_install+set}" = set; then
7439 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7441 yes) enable_fast_install
=yes ;;
7442 no
) enable_fast_install
=no
;;
7444 enable_fast_install
=no
7445 # Look at the argument we got. We use all the common list separators.
7446 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7447 for pkg
in $enableval; do
7449 if test "X$pkg" = "X$p"; then
7450 enable_fast_install
=yes
7457 enable_fast_install
=yes
7470 # This can be used to rebuild libtool when needed
7471 LIBTOOL_DEPS
="$ltmain"
7473 # Always use our own libtool.
7474 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7500 test -z "$LN_S" && LN_S
="ln -s"
7515 if test -n "${ZSH_VERSION+set}" ; then
7516 setopt NO_GLOB_SUBST
7519 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7520 $as_echo_n "checking for objdir... " >&6; }
7521 if test "${lt_cv_objdir+set}" = set; then
7522 $as_echo_n "(cached) " >&6
7524 rm -f .libs
2>/dev
/null
7525 mkdir .libs
2>/dev
/null
7526 if test -d .libs
; then
7529 # MS-DOS does not allow filenames that begin with a dot.
7532 rmdir .libs
2>/dev
/null
7534 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7535 $as_echo "$lt_cv_objdir" >&6; }
7536 objdir
=$lt_cv_objdir
7542 cat >>confdefs.h
<<_ACEOF
7543 #define LT_OBJDIR "$lt_cv_objdir/"
7564 # AIX sometimes has problems with the GCC collect2 program. For some
7565 # reason, if we set the COLLECT_NAMES environment variable, the problems
7566 # vanish in a puff of smoke.
7567 if test "X${COLLECT_NAMES+set}" != Xset
; then
7569 export COLLECT_NAMES
7574 # Sed substitution that helps us do robust quoting. It backslashifies
7575 # metacharacters that are still active within double-quoted strings.
7576 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7578 # Same as above, but do not quote variable references.
7579 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7581 # Sed substitution to delay expansion of an escaped shell variable in a
7582 # double_quote_subst'ed string.
7583 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7585 # Sed substitution to delay expansion of an escaped single quote.
7586 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7588 # Sed substitution to avoid accidental globbing in evaled expressions
7589 no_glob_subst
='s/\*/\\\*/g'
7593 can_build_shared
=yes
7595 # All known linkers require a `.a' archive for static linking (except MSVC,
7596 # which needs '.lib').
7599 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7602 old_CFLAGS
="$CFLAGS"
7604 # Set sane defaults for various variables
7605 test -z "$CC" && CC
=cc
7606 test -z "$LTCC" && LTCC
=$CC
7607 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7608 test -z "$LD" && LD
=ld
7609 test -z "$ac_objext" && ac_objext
=o
7611 for cc_temp
in $compiler""; do
7613 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7614 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7619 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7622 # Only perform the check for file, if the check method requires it
7623 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7624 case $deplibs_check_method in
7626 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7627 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7628 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7629 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7630 $as_echo_n "(cached) " >&6
7634 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7637 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7638 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7639 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7640 for ac_dir
in $ac_dummy; do
7642 test -z "$ac_dir" && ac_dir
=.
7643 if test -f $ac_dir/${ac_tool_prefix}file; then
7644 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7645 if test -n "$file_magic_test_file"; then
7646 case $deplibs_check_method in
7648 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7649 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7650 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7651 $EGREP "$file_magic_regex" > /dev
/null
; then
7656 *** Warning: the command libtool uses to detect shared libraries,
7657 *** $file_magic_cmd, produces output that libtool cannot recognize.
7658 *** The result is that libtool may fail to recognize shared libraries
7659 *** as such. This will affect the creation of libtool libraries that
7660 *** depend on shared libraries, but programs linked with such libtool
7661 *** libraries will work regardless of this problem. Nevertheless, you
7662 *** may want to report the problem to your system manager and/or to
7663 *** bug-libtool@gnu.org
7673 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7678 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7679 if test -n "$MAGIC_CMD"; then
7680 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7681 $as_echo "$MAGIC_CMD" >&6; }
7683 { $as_echo "$as_me:$LINENO: result: no" >&5
7684 $as_echo "no" >&6; }
7691 if test -z "$lt_cv_path_MAGIC_CMD"; then
7692 if test -n "$ac_tool_prefix"; then
7693 { $as_echo "$as_me:$LINENO: checking for file" >&5
7694 $as_echo_n "checking for file... " >&6; }
7695 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7696 $as_echo_n "(cached) " >&6
7700 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7703 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7704 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7705 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7706 for ac_dir
in $ac_dummy; do
7708 test -z "$ac_dir" && ac_dir
=.
7709 if test -f $ac_dir/file; then
7710 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7711 if test -n "$file_magic_test_file"; then
7712 case $deplibs_check_method in
7714 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7715 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7716 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7717 $EGREP "$file_magic_regex" > /dev
/null
; then
7722 *** Warning: the command libtool uses to detect shared libraries,
7723 *** $file_magic_cmd, produces output that libtool cannot recognize.
7724 *** The result is that libtool may fail to recognize shared libraries
7725 *** as such. This will affect the creation of libtool libraries that
7726 *** depend on shared libraries, but programs linked with such libtool
7727 *** libraries will work regardless of this problem. Nevertheless, you
7728 *** may want to report the problem to your system manager and/or to
7729 *** bug-libtool@gnu.org
7739 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7744 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7745 if test -n "$MAGIC_CMD"; then
7746 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7747 $as_echo "$MAGIC_CMD" >&6; }
7749 { $as_echo "$as_me:$LINENO: result: no" >&5
7750 $as_echo "no" >&6; }
7763 # Use C for the default configuration in the libtool script
7767 ac_cpp
='$CPP $CPPFLAGS'
7768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7773 # Source file extension for C test sources.
7776 # Object file extension for compiled C test sources.
7780 # Code to be used in simple compile tests
7781 lt_simple_compile_test_code
="int some_variable = 0;"
7783 # Code to be used in simple link tests
7784 lt_simple_link_test_code
='int main(){return(0);}'
7792 # If no C compiler was specified, use CC.
7795 # If no C compiler flags were specified, use CFLAGS.
7796 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7798 # Allow CC to be a program name with arguments.
7801 # Save the default compiler, since it gets overwritten when the other
7802 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7803 compiler_DEFAULT
=$CC
7805 # save warnings/boilerplate of simple test code
7806 ac_outfile
=conftest.
$ac_objext
7807 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7808 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7809 _lt_compiler_boilerplate
=`cat conftest.err`
7812 ac_outfile
=conftest.
$ac_objext
7813 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7814 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7815 _lt_linker_boilerplate
=`cat conftest.err`
7819 if test -n "$compiler"; then
7821 lt_prog_compiler_no_builtin_flag
=
7823 if test "$GCC" = yes; then
7824 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7826 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7827 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7828 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7829 $as_echo_n "(cached) " >&6
7831 lt_cv_prog_compiler_rtti_exceptions
=no
7832 ac_outfile
=conftest.
$ac_objext
7833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7834 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7835 # Insert the option either (1) after the last *FLAGS variable, or
7836 # (2) before a word containing "conftest.", or (3) at the end.
7837 # Note that $ac_compile itself does not contain backslashes and begins
7838 # with a dollar sign (not a hyphen), so the echo should work correctly.
7839 # The option is referenced via a variable to avoid confusing sed.
7840 lt_compile
=`echo "$ac_compile" | $SED \
7841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7843 -e 's:$: $lt_compiler_flag:'`
7844 (eval echo "\"\$as_me:7844: $lt_compile\"" >&5)
7845 (eval "$lt_compile" 2>conftest.err
)
7847 cat conftest.err
>&5
7848 echo "$as_me:7848: \$? = $ac_status" >&5
7849 if (exit $ac_status) && test -s "$ac_outfile"; then
7850 # The compiler can only warn and ignore the option if not recognized
7851 # So say no if there are warnings other than the usual output.
7852 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7853 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7854 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7855 lt_cv_prog_compiler_rtti_exceptions
=yes
7861 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7862 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7864 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7865 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7877 lt_prog_compiler_wl
=
7878 lt_prog_compiler_pic
=
7879 lt_prog_compiler_static
=
7881 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7882 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7884 if test "$GCC" = yes; then
7885 lt_prog_compiler_wl
='-Wl,'
7886 lt_prog_compiler_static
='-static'
7890 # All AIX code is PIC.
7891 if test "$host_cpu" = ia64
; then
7892 # AIX 5 now supports IA64 processor
7893 lt_prog_compiler_static
='-Bstatic'
7900 # see comment about AmigaOS4 .so support
7901 lt_prog_compiler_pic
='-fPIC'
7904 # FIXME: we need at least 68020 code to build shared libraries, but
7905 # adding the `-m68020' flag to GCC prevents building anything better,
7907 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7912 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7913 # PIC is the default for these OSes.
7916 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7917 # This hack is so that the source file can tell whether it is being
7918 # built for inclusion in a dll (and should export symbols for example).
7919 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7920 # (--disable-auto-import) libraries
7921 lt_prog_compiler_pic
='-DDLL_EXPORT'
7924 darwin
* | rhapsody
*)
7925 # PIC is the default on this platform
7926 # Common symbols not allowed in MH_DYLIB files
7927 lt_prog_compiler_pic
='-fno-common'
7931 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7932 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7933 # sets the default TLS model and affects inlining.
7939 lt_prog_compiler_pic
='-fPIC'
7945 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7946 # Instead, we relocate shared libraries at runtime.
7950 # Just because we use GCC doesn't mean we suddenly get shared libraries
7951 # on systems that don't support them.
7952 lt_prog_compiler_can_build_shared
=no
7957 # QNX uses GNU C++, but need to define -shared option too, otherwise
7959 lt_prog_compiler_pic
='-fPIC -shared'
7963 if test -d /usr
/nec
; then
7964 lt_prog_compiler_pic
=-Kconform_pic
7969 lt_prog_compiler_pic
='-fPIC'
7973 # PORTME Check for flag to pass linker flags through the system compiler.
7976 lt_prog_compiler_wl
='-Wl,'
7977 if test "$host_cpu" = ia64
; then
7978 # AIX 5 now supports IA64 processor
7979 lt_prog_compiler_static
='-Bstatic'
7981 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7985 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7986 # This hack is so that the source file can tell whether it is being
7987 # built for inclusion in a dll (and should export symbols for example).
7988 lt_prog_compiler_pic
='-DDLL_EXPORT'
7991 hpux9
* | hpux10
* | hpux11
*)
7992 lt_prog_compiler_wl
='-Wl,'
7993 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8000 lt_prog_compiler_pic
='+Z'
8003 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8004 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8007 irix5
* | irix6
* | nonstopux
*)
8008 lt_prog_compiler_wl
='-Wl,'
8009 # PIC (with -KPIC) is the default.
8010 lt_prog_compiler_static
='-non_shared'
8013 linux
* | k
*bsd
*-gnu)
8014 case $cc_basename in
8015 # old Intel for x86_64 which still supported -KPIC.
8017 lt_prog_compiler_wl
='-Wl,'
8018 lt_prog_compiler_pic
='-KPIC'
8019 lt_prog_compiler_static
='-static'
8021 # icc used to be incompatible with GCC.
8022 # ICC 10 doesn't accept -KPIC any more.
8024 lt_prog_compiler_wl
='-Wl,'
8025 lt_prog_compiler_pic
='-fPIC'
8026 lt_prog_compiler_static
='-static'
8028 # Lahey Fortran 8.1.
8030 lt_prog_compiler_wl
='-Wl,'
8031 lt_prog_compiler_pic
='--shared'
8032 lt_prog_compiler_static
='--static'
8034 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8035 # Portland Group compilers (*not* the Pentium gcc compiler,
8036 # which looks to be a dead project)
8037 lt_prog_compiler_wl
='-Wl,'
8038 lt_prog_compiler_pic
='-fpic'
8039 lt_prog_compiler_static
='-Bstatic'
8042 lt_prog_compiler_wl
='-Wl,'
8043 # All Alpha code is PIC.
8044 lt_prog_compiler_static
='-non_shared'
8047 # IBM XL C 8.0/Fortran 10.1 on PPC
8048 lt_prog_compiler_wl
='-Wl,'
8049 lt_prog_compiler_pic
='-qpic'
8050 lt_prog_compiler_static
='-qstaticlink'
8053 case `$CC -V 2>&1 | sed 5q` in
8056 lt_prog_compiler_pic
='-KPIC'
8057 lt_prog_compiler_static
='-Bstatic'
8058 lt_prog_compiler_wl
='-Wl,'
8061 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8062 lt_prog_compiler_pic
='-KPIC'
8063 lt_prog_compiler_static
='-Bstatic'
8064 lt_prog_compiler_wl
=''
8072 lt_prog_compiler_pic
='-KPIC'
8073 lt_prog_compiler_static
='-Bstatic'
8077 # QNX uses GNU C++, but need to define -shared option too, otherwise
8079 lt_prog_compiler_pic
='-fPIC -shared'
8082 osf3
* | osf4
* | osf5
*)
8083 lt_prog_compiler_wl
='-Wl,'
8084 # All OSF/1 code is PIC.
8085 lt_prog_compiler_static
='-non_shared'
8089 lt_prog_compiler_static
='-non_shared'
8093 lt_prog_compiler_pic
='-KPIC'
8094 lt_prog_compiler_static
='-Bstatic'
8095 case $cc_basename in
8097 lt_prog_compiler_wl
='-Qoption ld ';;
8099 lt_prog_compiler_wl
='-Wl,';;
8104 lt_prog_compiler_wl
='-Qoption ld '
8105 lt_prog_compiler_pic
='-PIC'
8106 lt_prog_compiler_static
='-Bstatic'
8109 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8110 lt_prog_compiler_wl
='-Wl,'
8111 lt_prog_compiler_pic
='-KPIC'
8112 lt_prog_compiler_static
='-Bstatic'
8116 if test -d /usr
/nec
;then
8117 lt_prog_compiler_pic
='-Kconform_pic'
8118 lt_prog_compiler_static
='-Bstatic'
8122 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8123 lt_prog_compiler_wl
='-Wl,'
8124 lt_prog_compiler_pic
='-KPIC'
8125 lt_prog_compiler_static
='-Bstatic'
8129 lt_prog_compiler_wl
='-Wl,'
8130 lt_prog_compiler_can_build_shared
=no
8134 lt_prog_compiler_pic
='-pic'
8135 lt_prog_compiler_static
='-Bstatic'
8139 lt_prog_compiler_can_build_shared
=no
8145 # For platforms which do not support PIC, -DPIC is meaningless:
8147 lt_prog_compiler_pic
=
8150 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8153 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8154 $as_echo "$lt_prog_compiler_pic" >&6; }
8162 # Check to make sure the PIC flag actually works.
8164 if test -n "$lt_prog_compiler_pic"; then
8165 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8166 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8167 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8168 $as_echo_n "(cached) " >&6
8170 lt_cv_prog_compiler_pic_works
=no
8171 ac_outfile
=conftest.
$ac_objext
8172 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8173 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8174 # Insert the option either (1) after the last *FLAGS variable, or
8175 # (2) before a word containing "conftest.", or (3) at the end.
8176 # Note that $ac_compile itself does not contain backslashes and begins
8177 # with a dollar sign (not a hyphen), so the echo should work correctly.
8178 # The option is referenced via a variable to avoid confusing sed.
8179 lt_compile
=`echo "$ac_compile" | $SED \
8180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8182 -e 's:$: $lt_compiler_flag:'`
8183 (eval echo "\"\$as_me:8183: $lt_compile\"" >&5)
8184 (eval "$lt_compile" 2>conftest.err
)
8186 cat conftest.err
>&5
8187 echo "$as_me:8187: \$? = $ac_status" >&5
8188 if (exit $ac_status) && test -s "$ac_outfile"; then
8189 # The compiler can only warn and ignore the option if not recognized
8190 # So say no if there are warnings other than the usual output.
8191 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8192 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8193 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8194 lt_cv_prog_compiler_pic_works
=yes
8200 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8201 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8203 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8204 case $lt_prog_compiler_pic in
8206 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8209 lt_prog_compiler_pic
=
8210 lt_prog_compiler_can_build_shared
=no
8221 # Check to make sure the static flag actually works.
8223 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8224 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8225 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8226 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8227 $as_echo_n "(cached) " >&6
8229 lt_cv_prog_compiler_static_works
=no
8230 save_LDFLAGS
="$LDFLAGS"
8231 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8232 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8233 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8234 # The linker can only warn and ignore the option if not recognized
8235 # So say no if there are warnings
8236 if test -s conftest.err
; then
8237 # Append any errors to the config.log.
8238 cat conftest.err
1>&5
8239 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8240 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8241 if diff conftest.exp conftest.er2
>/dev
/null
; then
8242 lt_cv_prog_compiler_static_works
=yes
8245 lt_cv_prog_compiler_static_works
=yes
8249 LDFLAGS
="$save_LDFLAGS"
8252 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8253 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8255 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8258 lt_prog_compiler_static
=
8267 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8268 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8269 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8270 $as_echo_n "(cached) " >&6
8272 lt_cv_prog_compiler_c_o
=no
8273 $RM -r conftest
2>/dev
/null
8277 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8279 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8280 # Insert the option either (1) after the last *FLAGS variable, or
8281 # (2) before a word containing "conftest.", or (3) at the end.
8282 # Note that $ac_compile itself does not contain backslashes and begins
8283 # with a dollar sign (not a hyphen), so the echo should work correctly.
8284 lt_compile
=`echo "$ac_compile" | $SED \
8285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8287 -e 's:$: $lt_compiler_flag:'`
8288 (eval echo "\"\$as_me:8288: $lt_compile\"" >&5)
8289 (eval "$lt_compile" 2>out
/conftest.err
)
8291 cat out
/conftest.err
>&5
8292 echo "$as_me:8292: \$? = $ac_status" >&5
8293 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8295 # The compiler can only warn and ignore the option if not recognized
8296 # So say no if there are warnings
8297 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8298 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8299 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8300 lt_cv_prog_compiler_c_o
=yes
8305 # SGI C++ compiler will create directory out/ii_files/ for
8306 # template instantiation
8307 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8308 $RM out
/* && rmdir out
8314 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8315 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8322 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8323 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8324 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8325 $as_echo_n "(cached) " >&6
8327 lt_cv_prog_compiler_c_o
=no
8328 $RM -r conftest
2>/dev
/null
8332 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8334 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8335 # Insert the option either (1) after the last *FLAGS variable, or
8336 # (2) before a word containing "conftest.", or (3) at the end.
8337 # Note that $ac_compile itself does not contain backslashes and begins
8338 # with a dollar sign (not a hyphen), so the echo should work correctly.
8339 lt_compile
=`echo "$ac_compile" | $SED \
8340 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8341 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8342 -e 's:$: $lt_compiler_flag:'`
8343 (eval echo "\"\$as_me:8343: $lt_compile\"" >&5)
8344 (eval "$lt_compile" 2>out
/conftest.err
)
8346 cat out
/conftest.err
>&5
8347 echo "$as_me:8347: \$? = $ac_status" >&5
8348 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8350 # The compiler can only warn and ignore the option if not recognized
8351 # So say no if there are warnings
8352 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8353 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8354 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8355 lt_cv_prog_compiler_c_o
=yes
8360 # SGI C++ compiler will create directory out/ii_files/ for
8361 # template instantiation
8362 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8363 $RM out
/* && rmdir out
8369 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8370 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8375 hard_links
="nottested"
8376 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8377 # do not overwrite the value of need_locks provided by the user
8378 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8379 $as_echo_n "checking if we can lock with hard links... " >&6; }
8382 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8384 ln conftest.a conftest.b
2>&5 || hard_links
=no
8385 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8386 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8387 $as_echo "$hard_links" >&6; }
8388 if test "$hard_links" = no
; then
8389 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8390 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8402 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8403 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8406 allow_undefined_flag
=
8407 always_export_symbols
=no
8409 archive_expsym_cmds
=
8410 compiler_needs_object
=no
8411 enable_shared_with_static_runtimes
=no
8412 export_dynamic_flag_spec
=
8413 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8414 hardcode_automatic
=no
8416 hardcode_direct_absolute
=no
8417 hardcode_libdir_flag_spec
=
8418 hardcode_libdir_flag_spec_ld
=
8419 hardcode_libdir_separator
=
8421 hardcode_shlibpath_var
=unsupported
8423 link_all_deplibs
=unknown
8426 old_archive_from_new_cmds
=
8427 old_archive_from_expsyms_cmds
=
8428 thread_safe_flag_spec
=
8429 whole_archive_flag_spec
=
8430 # include_expsyms should be a list of space-separated symbols to be *always*
8431 # included in the symbol list
8433 # exclude_expsyms can be an extended regexp of symbols to exclude
8434 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8435 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8436 # as well as any symbol that contains `d'.
8437 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8438 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8439 # platforms (ab)use it in PIC code, but their linkers get confused if
8440 # the symbol is explicitly referenced. Since portable code cannot
8441 # rely on this symbol name, it's probably fine to never include it in
8442 # preloaded symbol tables.
8443 # Exclude shared library initialization/finalization symbols.
8444 extract_expsyms_cmds
=
8447 cygwin
* | mingw
* | pw32
* | cegcc
*)
8448 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8449 # When not using gcc, we currently assume that we are using
8450 # Microsoft Visual C++.
8451 if test "$GCC" != yes; then
8456 # we just hope/assume this is gcc and not c89 (= MSVC++)
8465 if test "$with_gnu_ld" = yes; then
8466 # If archive_cmds runs LD, not CC, wlarc should be empty
8469 # Set some defaults for GNU ld with shared library support. These
8470 # are reset later if shared libraries are not supported. Putting them
8471 # here allows them to be overridden if necessary.
8472 runpath_var
=LD_RUN_PATH
8473 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8474 export_dynamic_flag_spec
='${wl}--export-dynamic'
8475 # ancient GNU ld didn't support --whole-archive et. al.
8476 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8477 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8479 whole_archive_flag_spec
=
8481 supports_anon_versioning
=no
8482 case `$LD -v 2>&1` in
8483 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8484 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8485 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8486 *\
2.11.
*) ;; # other 2.11 versions
8487 *) supports_anon_versioning
=yes ;;
8490 # See if GNU ld supports shared libraries.
8493 # On AIX/PPC, the GNU linker is very broken
8494 if test "$host_cpu" != ia64
; then
8498 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8499 *** to be unable to reliably create shared libraries on AIX.
8500 *** Therefore, libtool is disabling shared libraries support. If you
8501 *** really care for shared libraries, you may want to modify your PATH
8502 *** so that a non-GNU linker is found, and then restart.
8511 # see comment about AmigaOS4 .so support
8512 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8513 archive_expsym_cmds
=''
8516 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)'
8517 hardcode_libdir_flag_spec
='-L$libdir'
8518 hardcode_minus_L
=yes
8524 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8525 allow_undefined_flag
=unsupported
8526 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8527 # support --undefined. This deserves some investigation. FIXME
8528 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8534 cygwin
* | mingw
* | pw32
* | cegcc
*)
8535 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8536 # as there is no search path for DLLs.
8537 hardcode_libdir_flag_spec
='-L$libdir'
8538 allow_undefined_flag
=unsupported
8539 always_export_symbols
=no
8540 enable_shared_with_static_runtimes
=yes
8541 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8543 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8544 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8545 # If the export-symbols file already is a .def file (1st line
8546 # is EXPORTS), use it as is; otherwise, prepend...
8547 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8548 cp $export_symbols $output_objdir/$soname.def;
8550 echo EXPORTS > $output_objdir/$soname.def;
8551 cat $export_symbols >> $output_objdir/$soname.def;
8553 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8561 hardcode_shlibpath_var
=no
8562 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8563 export_dynamic_flag_spec
='${wl}-E'
8564 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8565 # Instead, shared libraries are loaded at an image base (0x10000000 by
8566 # default) and relocated if they conflict, which is a slow very memory
8567 # consuming and fragmenting process. To avoid this, we pick a random,
8568 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8569 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8570 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8571 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'
8574 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8576 if test "$host_os" = linux-dietlibc
; then
8577 case $cc_basename in
8578 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8581 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8582 && test "$tmp_diet" = no
8585 tmp_sharedflag
='-shared'
8586 case $cc_basename,$host_cpu in
8587 pgcc
*) # Portland Group C compiler
8588 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'
8589 tmp_addflag
=' $pic_flag'
8591 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8592 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'
8593 tmp_addflag
=' $pic_flag -Mnomain' ;;
8594 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8595 tmp_addflag
=' -i_dynamic' ;;
8596 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8597 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8598 ifc
* | ifort
*) # Intel Fortran compiler
8599 tmp_addflag
=' -nofor_main' ;;
8600 lf95
*) # Lahey Fortran 8.1
8601 whole_archive_flag_spec
=
8602 tmp_sharedflag
='--shared' ;;
8603 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8604 tmp_sharedflag
='-qmkshrobj'
8607 case `$CC -V 2>&1 | sed 5q` in
8608 *Sun\ C
*) # Sun C 5.9
8609 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'
8610 compiler_needs_object
=yes
8611 tmp_sharedflag
='-G' ;;
8612 *Sun\ F
*) # Sun Fortran 8.3
8613 tmp_sharedflag
='-G' ;;
8615 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8617 if test "x$supports_anon_versioning" = xyes
; then
8618 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8619 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8620 echo "local: *; };" >> $output_objdir/$libname.ver~
8621 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8624 case $cc_basename in
8626 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8627 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8628 hardcode_libdir_flag_spec
=
8629 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8630 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8631 if test "x$supports_anon_versioning" = xyes
; then
8632 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8633 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8634 echo "local: *; };" >> $output_objdir/$libname.ver~
8635 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8645 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8646 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8649 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8650 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8655 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8659 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8660 *** create shared libraries on Solaris systems. Therefore, libtool
8661 *** is disabling shared libraries support. We urge you to upgrade GNU
8662 *** binutils to release 2.9.1 or newer. Another option is to modify
8663 *** your PATH or compiler configuration so that the native linker is
8664 *** used, and then restart.
8667 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8668 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8669 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8675 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8676 case `$LD -v 2>&1` in
8677 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8681 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8682 *** reliably create shared libraries on SCO systems. Therefore, libtool
8683 *** is disabling shared libraries support. We urge you to upgrade GNU
8684 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8685 *** your PATH or compiler configuration so that the native linker is
8686 *** used, and then restart.
8691 # For security reasons, it is highly recommended that you always
8692 # use absolute paths for naming shared libraries, and exclude the
8693 # DT_RUNPATH tag from executables and libraries. But doing so
8694 # requires that you compile everything twice, which is a pain.
8695 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8696 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8697 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8698 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8707 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8710 hardcode_shlibpath_var
=no
8714 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8715 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8716 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8723 if test "$ld_shlibs" = no
; then
8725 hardcode_libdir_flag_spec
=
8726 export_dynamic_flag_spec
=
8727 whole_archive_flag_spec
=
8730 # PORTME fill in a description of your system's linker (not GNU ld)
8733 allow_undefined_flag
=unsupported
8734 always_export_symbols
=yes
8735 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'
8736 # Note: this linker hardcodes the directories in LIBPATH if there
8737 # are no directories specified by -L.
8738 hardcode_minus_L
=yes
8739 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8740 # Neither direct hardcoding nor static linking is supported with a
8742 hardcode_direct
=unsupported
8747 if test "$host_cpu" = ia64
; then
8748 # On IA64, the linker does run time linking by default, so we don't
8749 # have to do anything special.
8750 aix_use_runtimelinking
=no
8751 exp_sym_flag
='-Bexport'
8754 # If we're using GNU nm, then we don't want the "-C" option.
8755 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8756 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8757 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'
8759 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'
8761 aix_use_runtimelinking
=no
8763 # Test if we are trying to use run time linking or normal
8764 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8765 # need to do runtime linking.
8766 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8767 for ld_flag
in $LDFLAGS; do
8768 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8769 aix_use_runtimelinking
=yes
8776 exp_sym_flag
='-bexport'
8777 no_entry_flag
='-bnoentry'
8780 # When large executables or shared objects are built, AIX ld can
8781 # have problems creating the table of contents. If linking a library
8782 # or program results in "error TOC overflow" add -mminimal-toc to
8783 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8784 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8788 hardcode_direct_absolute
=yes
8789 hardcode_libdir_separator
=':'
8790 link_all_deplibs
=yes
8791 file_list_spec
='${wl}-f,'
8793 if test "$GCC" = yes; then
8794 case $host_os in aix4.
[012]|aix4.
[012].
*)
8795 # We only want to do this on AIX 4.2 and lower, the check
8796 # below for broken collect2 doesn't work under 4.3+
8797 collect2name
=`${CC} -print-prog-name=collect2`
8798 if test -f "$collect2name" &&
8799 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8801 # We have reworked collect2
8804 # We have old collect2
8805 hardcode_direct
=unsupported
8806 # It fails to find uninstalled libraries when the uninstalled
8807 # path is not listed in the libpath. Setting hardcode_minus_L
8808 # to unsupported forces relinking
8809 hardcode_minus_L
=yes
8810 hardcode_libdir_flag_spec
='-L$libdir'
8811 hardcode_libdir_separator
=
8815 shared_flag
='-shared'
8816 if test "$aix_use_runtimelinking" = yes; then
8817 shared_flag
="$shared_flag "'${wl}-G'
8821 if test "$host_cpu" = ia64
; then
8822 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8823 # chokes on -Wl,-G. The following line is correct:
8826 if test "$aix_use_runtimelinking" = yes; then
8827 shared_flag
='${wl}-G'
8829 shared_flag
='${wl}-bM:SRE'
8834 export_dynamic_flag_spec
='${wl}-bexpall'
8835 # It seems that -bexpall does not export symbols beginning with
8836 # underscore (_), so it is better to generate a list of symbols to export.
8837 always_export_symbols
=yes
8838 if test "$aix_use_runtimelinking" = yes; then
8839 # Warning - without using the other runtime loading flags (-brtl),
8840 # -berok will link without error, but may produce a broken library.
8841 allow_undefined_flag
='-berok'
8842 # Determine the default libpath from the value encoded in an
8844 cat >conftest.
$ac_ext <<_ACEOF
8847 cat confdefs.h
>>conftest.
$ac_ext
8848 cat >>conftest.
$ac_ext <<_ACEOF
8849 /* end confdefs.h. */
8859 rm -f conftest.
$ac_objext conftest
$ac_exeext
8860 if { (ac_try
="$ac_link"
8862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8863 *) ac_try_echo=$ac_try;;
8865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8866 $as_echo "$ac_try_echo") >&5
8867 (eval "$ac_link") 2>conftest.er1
8869 grep -v '^ *+' conftest.er1 >conftest.err
8871 cat conftest.err >&5
8872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 (exit $ac_status); } && {
8874 test -z "$ac_c_werror_flag" ||
8875 test ! -s conftest.err
8876 } && test -s conftest$ac_exeext && {
8877 test "$cross_compiling" = yes ||
8878 $as_test_x conftest$ac_exeext
8881 lt_aix_libpath_sed='
8882 /Import File Strings/,/^$/ {
8888 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8889 # Check for a 64-bit object if we didn't find anything.
8890 if test -z "$aix_libpath"; then
8891 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8894 $as_echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.$ac_ext >&5
8900 rm -rf conftest.dSYM
8901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8902 conftest$ac_exeext conftest.$ac_ext
8903 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8905 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8906 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"
8908 if test "$host_cpu" = ia64; then
8909 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8910 allow_undefined_flag="-z nodefs"
8911 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"
8913 # Determine the default libpath from the value encoded in an
8915 cat >conftest.$ac_ext <<_ACEOF
8918 cat confdefs.h >>conftest.$ac_ext
8919 cat >>conftest.$ac_ext <<_ACEOF
8920 /* end confdefs.h. */
8930 rm -f conftest.$ac_objext conftest$ac_exeext
8931 if { (ac_try="$ac_link"
8933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8934 *) ac_try_echo
=$ac_try;;
8936 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8937 $as_echo "$ac_try_echo") >&5
8938 (eval "$ac_link") 2>conftest.er1
8940 grep -v '^ *+' conftest.er1
>conftest.err
8942 cat conftest.err
>&5
8943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); } && {
8945 test -z "$ac_c_werror_flag" ||
8946 test ! -s conftest.err
8947 } && test -s conftest
$ac_exeext && {
8948 test "$cross_compiling" = yes ||
8949 $as_test_x conftest
$ac_exeext
8952 lt_aix_libpath_sed
='
8953 /Import File Strings/,/^$/ {
8959 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8960 # Check for a 64-bit object if we didn't find anything.
8961 if test -z "$aix_libpath"; then
8962 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8965 $as_echo "$as_me: failed program was:" >&5
8966 sed 's/^/| /' conftest.
$ac_ext >&5
8971 rm -rf conftest.dSYM
8972 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8973 conftest
$ac_exeext conftest.
$ac_ext
8974 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8976 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8977 # Warning - without using the other run time loading flags,
8978 # -berok will link without error, but may produce a broken library.
8979 no_undefined_flag
=' ${wl}-bernotok'
8980 allow_undefined_flag
=' ${wl}-berok'
8981 # Exported symbols can be pulled into shared objects from archives
8982 whole_archive_flag_spec
='$convenience'
8983 archive_cmds_need_lc
=yes
8984 # This is similar to how AIX traditionally builds its shared libraries.
8985 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'
8993 # see comment about AmigaOS4 .so support
8994 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8995 archive_expsym_cmds
=''
8998 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)'
8999 hardcode_libdir_flag_spec
='-L$libdir'
9000 hardcode_minus_L
=yes
9006 export_dynamic_flag_spec
=-rdynamic
9009 cygwin
* | mingw
* | pw32
* | cegcc
*)
9010 # When not using gcc, we currently assume that we are using
9011 # Microsoft Visual C++.
9012 # hardcode_libdir_flag_spec is actually meaningless, as there is
9013 # no search path for DLLs.
9014 hardcode_libdir_flag_spec
=' '
9015 allow_undefined_flag
=unsupported
9016 # Tell ltmain to make .lib files, not .a files.
9018 # Tell ltmain to make .dll files, not .so files.
9020 # FIXME: Setting linknames here is a bad hack.
9021 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9022 # The linker will automatically build a .lib file if we build a DLL.
9023 old_archive_from_new_cmds
='true'
9024 # FIXME: Should let the user specify the lib program.
9025 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9026 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9027 enable_shared_with_static_runtimes
=yes
9030 darwin
* | rhapsody
*)
9033 archive_cmds_need_lc
=no
9035 hardcode_automatic
=yes
9036 hardcode_shlibpath_var
=unsupported
9037 whole_archive_flag_spec
=''
9038 link_all_deplibs
=yes
9039 allow_undefined_flag
="$_lt_dar_allow_undefined"
9040 case $cc_basename in
9041 ifort
*) _lt_dar_can_shared
=yes ;;
9042 *) _lt_dar_can_shared
=$GCC ;;
9044 if test "$_lt_dar_can_shared" = "yes"; then
9045 output_verbose_link_cmd
=echo
9046 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9047 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9048 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}"
9049 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}"
9058 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9059 hardcode_libdir_flag_spec
='-L$libdir'
9060 hardcode_shlibpath_var
=no
9067 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9068 # support. Future versions do this automatically, but an explicit c++rt0.o
9069 # does not break anything, and helps significantly (at the cost of a little
9072 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9073 hardcode_libdir_flag_spec
='-R$libdir'
9075 hardcode_shlibpath_var
=no
9078 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9080 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9082 hardcode_minus_L
=yes
9083 hardcode_shlibpath_var
=no
9086 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9087 freebsd
* | dragonfly
*)
9088 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9089 hardcode_libdir_flag_spec
='-R$libdir'
9091 hardcode_shlibpath_var
=no
9095 if test "$GCC" = yes; then
9096 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'
9098 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'
9100 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9101 hardcode_libdir_separator
=:
9104 # hardcode_minus_L: Not really in the search PATH,
9105 # but as the default location of the library.
9106 hardcode_minus_L
=yes
9107 export_dynamic_flag_spec
='${wl}-E'
9111 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9112 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9114 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9116 if test "$with_gnu_ld" = no
; then
9117 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9118 hardcode_libdir_flag_spec_ld
='+b $libdir'
9119 hardcode_libdir_separator
=:
9121 hardcode_direct_absolute
=yes
9122 export_dynamic_flag_spec
='${wl}-E'
9123 # hardcode_minus_L: Not really in the search PATH,
9124 # but as the default location of the library.
9125 hardcode_minus_L
=yes
9130 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9133 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9136 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9139 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9145 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9148 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9151 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9155 if test "$with_gnu_ld" = no
; then
9156 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9157 hardcode_libdir_separator
=:
9162 hardcode_shlibpath_var
=no
9166 hardcode_direct_absolute
=yes
9167 export_dynamic_flag_spec
='${wl}-E'
9169 # hardcode_minus_L: Not really in the search PATH,
9170 # but as the default location of the library.
9171 hardcode_minus_L
=yes
9177 irix5
* | irix6
* | nonstopux
*)
9178 if test "$GCC" = yes; then
9179 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'
9180 # Try to use the -exported_symbol ld option, if it does not
9181 # work, assume that -exports_file does not work either and
9182 # implicitly export all symbols.
9183 save_LDFLAGS
="$LDFLAGS"
9184 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9185 cat >conftest.
$ac_ext <<_ACEOF
9188 rm -f conftest.
$ac_objext conftest
$ac_exeext
9189 if { (ac_try
="$ac_link"
9191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9192 *) ac_try_echo=$ac_try;;
9194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9195 $as_echo "$ac_try_echo") >&5
9196 (eval "$ac_link") 2>conftest.er1
9198 grep -v '^ *+' conftest.er1 >conftest.err
9200 cat conftest.err >&5
9201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } && {
9203 test -z "$ac_c_werror_flag" ||
9204 test ! -s conftest.err
9205 } && test -s conftest$ac_exeext && {
9206 test "$cross_compiling" = yes ||
9207 $as_test_x conftest$ac_exeext
9209 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'
9212 $as_echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.$ac_ext >&5
9218 rm -rf conftest.dSYM
9219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9220 conftest$ac_exeext conftest.$ac_ext
9221 LDFLAGS="$save_LDFLAGS"
9223 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'
9224 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'
9226 archive_cmds_need_lc='no'
9227 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9228 hardcode_libdir_separator=:
9230 link_all_deplibs=yes
9234 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9235 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9237 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9239 hardcode_libdir_flag_spec='-R$libdir'
9241 hardcode_shlibpath_var=no
9245 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9247 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9248 hardcode_libdir_separator=:
9249 hardcode_shlibpath_var=no
9256 if test -f /usr/libexec/ld.so; then
9258 hardcode_shlibpath_var=no
9259 hardcode_direct_absolute=yes
9260 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9261 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9262 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9263 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9264 export_dynamic_flag_spec='${wl}-E'
9267 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9268 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9269 hardcode_libdir_flag_spec='-R$libdir'
9272 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9273 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9283 hardcode_libdir_flag_spec='-L$libdir'
9284 hardcode_minus_L=yes
9285 allow_undefined_flag=unsupported
9286 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'
9287 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9291 if test "$GCC" = yes; then
9292 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9293 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'
9295 allow_undefined_flag=' -expect_unresolved \*'
9296 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'
9298 archive_cmds_need_lc='no'
9299 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9300 hardcode_libdir_separator=:
9303 osf4* | osf5*) # as osf3* with the addition of -msym flag
9304 if test "$GCC" = yes; then
9305 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9306 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
9307 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9309 allow_undefined_flag=' -expect_unresolved \*'
9310 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'
9311 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~
9312 $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'
9314 # Both c and cxx compiler support -rpath directly
9315 hardcode_libdir_flag_spec='-rpath $libdir'
9317 archive_cmds_need_lc='no'
9318 hardcode_libdir_separator=:
9322 no_undefined_flag=' -z defs'
9323 if test "$GCC" = yes; then
9325 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9326 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9327 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9329 case `$CC -V 2>&1` in
9332 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9333 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9334 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9338 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9339 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9340 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9344 hardcode_libdir_flag_spec='-R$libdir'
9345 hardcode_shlibpath_var=no
9347 solaris2.[0-5] | solaris2.[0-5].*) ;;
9349 # The compiler driver will combine and reorder linker options,
9350 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9351 # but is careful enough not to reorder.
9352 # Supported since Solaris 2.6 (maybe 2.5.1?)
9353 if test "$GCC" = yes; then
9354 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9356 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9360 link_all_deplibs
=yes
9364 if test "x$host_vendor" = xsequent
; then
9365 # Use $CC to link under sequent, because it throws in some extra .o
9366 # files that make .init and .fini sections work.
9367 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9369 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9371 hardcode_libdir_flag_spec
='-L$libdir'
9373 hardcode_minus_L
=yes
9374 hardcode_shlibpath_var
=no
9378 case $host_vendor in
9380 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9381 hardcode_direct
=yes # is this really true???
9384 ## LD is ld it makes a PLAMLIB
9385 ## CC just makes a GrossModule.
9386 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9387 reload_cmds
='$CC -r -o $output$reload_objs'
9391 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9392 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9395 runpath_var
='LD_RUN_PATH'
9396 hardcode_shlibpath_var
=no
9400 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9401 hardcode_shlibpath_var
=no
9402 export_dynamic_flag_spec
='-Bexport'
9406 if test -d /usr
/nec
; then
9407 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9408 hardcode_shlibpath_var
=no
9409 runpath_var
=LD_RUN_PATH
9410 hardcode_runpath_var
=yes
9415 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9416 no_undefined_flag
='${wl}-z,text'
9417 archive_cmds_need_lc
=no
9418 hardcode_shlibpath_var
=no
9419 runpath_var
='LD_RUN_PATH'
9421 if test "$GCC" = yes; then
9422 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9423 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9425 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9426 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9430 sysv5
* | sco3.2v5
* | sco5v6
*)
9431 # Note: We can NOT use -z defs as we might desire, because we do not
9432 # link with -lc, and that would cause any symbols used from libc to
9433 # always be unresolved, which means just about no library would
9434 # ever link correctly. If we're not using GNU ld we use -z text
9435 # though, which does catch some bad symbols but isn't as heavy-handed
9437 no_undefined_flag
='${wl}-z,text'
9438 allow_undefined_flag
='${wl}-z,nodefs'
9439 archive_cmds_need_lc
=no
9440 hardcode_shlibpath_var
=no
9441 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9442 hardcode_libdir_separator
=':'
9443 link_all_deplibs
=yes
9444 export_dynamic_flag_spec
='${wl}-Bexport'
9445 runpath_var
='LD_RUN_PATH'
9447 if test "$GCC" = yes; then
9448 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9449 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9451 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9452 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9457 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9458 hardcode_libdir_flag_spec
='-L$libdir'
9459 hardcode_shlibpath_var
=no
9467 if test x
$host_vendor = xsni
; then
9469 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9470 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9476 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9477 $as_echo "$ld_shlibs" >&6; }
9478 test "$ld_shlibs" = no
&& can_build_shared
=no
9480 with_gnu_ld
=$with_gnu_ld
9497 # Do we need to explicitly link libc?
9499 case "x$archive_cmds_need_lc" in
9501 # Assume -lc should be added
9502 archive_cmds_need_lc
=yes
9504 if test "$enable_shared" = yes && test "$GCC" = yes; then
9505 case $archive_cmds in
9507 # FIXME: we may have to deal with multi-command sequences.
9510 # Test whether the compiler implicitly links with -lc since on some
9511 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9512 # to ld, don't add -lc before -lgcc.
9513 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9514 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9516 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9519 (eval $ac_compile) 2>&5
9521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); } 2>conftest.err
; then
9525 libobjs
=conftest.
$ac_objext
9527 wl
=$lt_prog_compiler_wl
9528 pic_flag
=$lt_prog_compiler_pic
9534 lt_save_allow_undefined_flag
=$allow_undefined_flag
9535 allow_undefined_flag
=
9536 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9537 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); }
9542 archive_cmds_need_lc
=no
9544 archive_cmds_need_lc
=yes
9546 allow_undefined_flag
=$lt_save_allow_undefined_flag
9548 cat conftest.err
1>&5
9551 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9552 $as_echo "$archive_cmds_need_lc" >&6; }
9715 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9716 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9718 if test "$GCC" = yes; then
9720 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9721 *) lt_awk_arg
="/^libraries:/" ;;
9723 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9724 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9725 # if the path contains ";" then we assume it to be the separator
9726 # otherwise default to the standard path separator (i.e. ":") - it is
9727 # assumed that no part of a normal pathname contains ";" but that should
9728 # okay in the real world where ";" in dirpaths is itself problematic.
9729 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9731 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9733 # Ok, now we have the path, separated by spaces, we can step through it
9734 # and add multilib dir if necessary.
9735 lt_tmp_lt_search_path_spec
=
9736 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9737 for lt_sys_path
in $lt_search_path_spec; do
9738 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9739 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9741 test -d "$lt_sys_path" && \
9742 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9745 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9746 BEGIN {RS=" "; FS="/|\n";} {
9749 for (lt_i = NF; lt_i > 0; lt_i--) {
9750 if ($lt_i != "" && $lt_i != ".") {
9751 if ($lt_i == "..") {
9754 if (lt_count == 0) {
9755 lt_foo="/" $lt_i lt_foo;
9762 if (lt_foo != "") { lt_freq[lt_foo]++; }
9763 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9765 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9767 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9770 libname_spec
='lib$name'
9778 shlibpath_overrides_runpath
=unknown
9780 dynamic_linker
="$host_os ld.so"
9781 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9782 need_lib_prefix
=unknown
9783 hardcode_into_libs
=no
9785 # when you set need_version to no, make sure it does not cause -set_version
9786 # flags to be left without arguments
9787 need_version
=unknown
9792 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9793 shlibpath_var
=LIBPATH
9795 # AIX 3 has no versioning support, so we append a major version to the name.
9796 soname_spec
='${libname}${release}${shared_ext}$major'
9803 hardcode_into_libs
=yes
9804 if test "$host_cpu" = ia64
; then
9805 # AIX 5 supports IA64
9806 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9807 shlibpath_var
=LD_LIBRARY_PATH
9809 # With GCC up to 2.95.x, collect2 would create an import file
9810 # for dependence libraries. The import file would start with
9811 # the line `#! .'. This would cause the generated library to
9812 # depend on `.', always an invalid library. This was fixed in
9813 # development snapshots of GCC prior to 3.0.
9815 aix4 | aix4.
[01] | aix4.
[01].
*)
9816 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9818 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9825 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9826 # soname into executable. Probably we can add versioning support to
9827 # collect2, so additional links can be useful in future.
9828 if test "$aix_use_runtimelinking" = yes; then
9829 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9830 # instead of lib<name>.a to let people know that these are not
9831 # typical AIX shared libraries.
9832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9834 # We preserve .a as extension for shared libraries through AIX4.2
9835 # and later when we are not doing run time linking.
9836 library_names_spec
='${libname}${release}.a $libname.a'
9837 soname_spec
='${libname}${release}${shared_ext}$major'
9839 shlibpath_var
=LIBPATH
9846 # Since July 2007 AmigaOS4 officially supports .so libraries.
9847 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9851 library_names_spec
='$libname.ixlibrary $libname.a'
9852 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9853 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'
9859 library_names_spec
='${libname}${shared_ext}'
9860 dynamic_linker
="$host_os ld.so"
9861 shlibpath_var
=LIBRARY_PATH
9867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9868 soname_spec
='${libname}${release}${shared_ext}$major'
9869 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9870 shlibpath_var
=LD_LIBRARY_PATH
9871 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9872 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9873 # the default ld.so.conf also contains /usr/contrib/lib and
9874 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9875 # libtool to hard-code these into programs
9878 cygwin
* | mingw
* | pw32
* | cegcc
*)
9879 version_type
=windows
9884 case $GCC,$host_os in
9885 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9886 library_names_spec
='$libname.dll.a'
9887 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9888 postinstall_cmds
='base_file=`basename \${file}`~
9889 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9890 dldir=$destdir/`dirname \$dlpath`~
9891 test -d \$dldir || mkdir -p \$dldir~
9892 $install_prog $dir/$dlname \$dldir/$dlname~
9893 chmod a+x \$dldir/$dlname~
9894 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9895 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9897 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9898 dlpath=$dir/\$dldll~
9900 shlibpath_overrides_runpath
=yes
9904 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9905 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9906 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9909 # MinGW DLLs use traditional 'lib' prefix
9910 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9911 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9912 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9913 # It is most probably a Windows format PATH printed by
9914 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9915 # path with ; separators, and with drive letters. We can handle the
9916 # drive letters (cygwin fileutils understands them), so leave them,
9917 # especially as we might pass files found there to a mingw objdump,
9918 # which wouldn't understand a cygwinified path. Ahh.
9919 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9921 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9925 # pw32 DLLs use 'pw' prefix rather than 'lib'
9926 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9932 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9935 dynamic_linker
='Win32 ld.exe'
9936 # FIXME: first we should search . and the directory the executable is in
9940 darwin
* | rhapsody
*)
9941 dynamic_linker
="$host_os dyld"
9945 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9946 soname_spec
='${libname}${release}${major}$shared_ext'
9947 shlibpath_overrides_runpath
=yes
9948 shlibpath_var
=DYLD_LIBRARY_PATH
9949 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9951 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9952 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9960 soname_spec
='${libname}${release}${shared_ext}$major'
9961 shlibpath_var
=LD_LIBRARY_PATH
9968 freebsd
* | dragonfly
*)
9969 # DragonFly does not have aout. When/if they implement a new
9970 # versioning mechanism, adjust this.
9971 if test -x /usr
/bin
/objformat
; then
9972 objformat
=`/usr/bin/objformat`
9975 freebsd
[123]*) objformat
=aout
;;
9979 version_type
=freebsd-
$objformat
9980 case $version_type in
9982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9987 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9991 shlibpath_var
=LD_LIBRARY_PATH
9994 shlibpath_overrides_runpath
=yes
9996 freebsd3.
[01]* | freebsdelf3.
[01]*)
9997 shlibpath_overrides_runpath
=yes
9998 hardcode_into_libs
=yes
10000 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10001 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10002 shlibpath_overrides_runpath
=no
10003 hardcode_into_libs
=yes
10005 *) # from 4.6 on, and DragonFly
10006 shlibpath_overrides_runpath
=yes
10007 hardcode_into_libs
=yes
10016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10017 soname_spec
='${libname}${release}${shared_ext}$major'
10018 shlibpath_var
=LD_LIBRARY_PATH
10019 hardcode_into_libs
=yes
10022 hpux9
* | hpux10
* | hpux11
*)
10023 # Give a soname corresponding to the major version so that dld.sl refuses to
10024 # link against other versions.
10031 hardcode_into_libs
=yes
10032 dynamic_linker
="$host_os dld.so"
10033 shlibpath_var
=LD_LIBRARY_PATH
10034 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10036 soname_spec
='${libname}${release}${shared_ext}$major'
10037 if test "X$HPUX_IA64_MODE" = X32
; then
10038 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10040 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10042 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10046 hardcode_into_libs
=yes
10047 dynamic_linker
="$host_os dld.sl"
10048 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10049 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10051 soname_spec
='${libname}${release}${shared_ext}$major'
10052 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10053 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10057 dynamic_linker
="$host_os dld.sl"
10058 shlibpath_var
=SHLIB_PATH
10059 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 soname_spec
='${libname}${release}${shared_ext}$major'
10064 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10065 postinstall_cmds
='chmod 555 $lib'
10072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10073 soname_spec
='${libname}${release}${shared_ext}$major'
10074 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10075 shlibpath_var
=LD_LIBRARY_PATH
10076 shlibpath_overrides_runpath
=no
10077 hardcode_into_libs
=yes
10080 irix5
* | irix6
* | nonstopux
*)
10082 nonstopux
*) version_type
=nonstopux
;;
10084 if test "$lt_cv_prog_gnu_ld" = yes; then
10092 soname_spec
='${libname}${release}${shared_ext}$major'
10093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10095 irix5
* | nonstopux
*)
10096 libsuff
= shlibsuff
=
10099 case $LD in # libtool.m4 will add one of these switches to LD
10100 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10101 libsuff
= shlibsuff
= libmagic
=32-bit;;
10102 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10103 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10104 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10105 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10106 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10110 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10111 shlibpath_overrides_runpath
=no
10112 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10113 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10114 hardcode_into_libs
=yes
10117 # No shared lib support for Linux oldld, aout, or coff.
10118 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10122 # This must be Linux ELF.
10123 linux
* | k
*bsd
*-gnu)
10127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10128 soname_spec
='${libname}${release}${shared_ext}$major'
10129 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10130 shlibpath_var
=LD_LIBRARY_PATH
10131 shlibpath_overrides_runpath
=no
10132 # Some binutils ld are patched to set DT_RUNPATH
10133 save_LDFLAGS
=$LDFLAGS
10134 save_libdir
=$libdir
10135 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10136 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10137 cat >conftest.
$ac_ext <<_ACEOF
10140 cat confdefs.h
>>conftest.
$ac_ext
10141 cat >>conftest.
$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10152 rm -f conftest.
$ac_objext conftest
$ac_exeext
10153 if { (ac_try
="$ac_link"
10154 case "(($ac_try" in
10155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10156 *) ac_try_echo=$ac_try;;
10158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10159 $as_echo "$ac_try_echo") >&5
10160 (eval "$ac_link") 2>conftest.er1
10162 grep -v '^ *+' conftest.er1 >conftest.err
10164 cat conftest.err >&5
10165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); } && {
10167 test -z "$ac_c_werror_flag" ||
10168 test ! -s conftest.err
10169 } && test -s conftest$ac_exeext && {
10170 test "$cross_compiling" = yes ||
10171 $as_test_x conftest$ac_exeext
10173 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10174 shlibpath_overrides_runpath=yes
10178 $as_echo "$as_me: failed program was:" >&5
10179 sed 's/^/| /' conftest.$ac_ext >&5
10184 rm -rf conftest.dSYM
10185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10186 conftest$ac_exeext conftest.$ac_ext
10187 LDFLAGS=$save_LDFLAGS
10188 libdir=$save_libdir
10190 # This implies no fast_install, which is unacceptable.
10191 # Some rework will be needed to allow for fast_install
10192 # before this can be enabled.
10193 hardcode_into_libs=yes
10195 # Add ABI-specific directories to the system library path.
10196 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10198 # Append ld.so.conf contents to the search path
10199 if test -f /etc/ld.so.conf; then
10200 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' ' '`
10201 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10204 # We used to test for /lib/ld.so.1 and disable shared libraries on
10205 # powerpc, because MkLinux only supported shared libraries with the
10206 # GNU dynamic linker. Since this was broken with cross compilers,
10207 # most powerpc-linux boxes support dynamic linking these days and
10208 # people can always --disable-shared, the test was removed, and we
10209 # assume the GNU/Linux dynamic linker is in use.
10210 dynamic_linker='GNU/Linux ld.so'
10217 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10219 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10220 dynamic_linker='NetBSD (a.out) ld.so'
10222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10223 soname_spec='${libname}${release}${shared_ext}$major'
10224 dynamic_linker='NetBSD ld.elf_so'
10226 shlibpath_var=LD_LIBRARY_PATH
10227 shlibpath_overrides_runpath=yes
10228 hardcode_into_libs=yes
10233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234 shlibpath_var=LD_LIBRARY_PATH
10235 shlibpath_overrides_runpath=yes
10242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10243 soname_spec='${libname}${release}${shared_ext}$major'
10244 shlibpath_var=LD_LIBRARY_PATH
10245 shlibpath_overrides_runpath=no
10246 hardcode_into_libs=yes
10247 dynamic_linker='ldqnx.so'
10252 sys_lib_dlsearch_path_spec="/usr/lib"
10254 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10256 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10257 *) need_version=no ;;
10259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10260 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10261 shlibpath_var=LD_LIBRARY_PATH
10262 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10264 openbsd2.[89] | openbsd2.[89].*)
10265 shlibpath_overrides_runpath=no
10268 shlibpath_overrides_runpath=yes
10272 shlibpath_overrides_runpath=yes
10277 libname_spec='$name'
10280 library_names_spec='$libname${shared_ext} $libname.a'
10281 dynamic_linker='OS/2 ld.exe'
10282 shlibpath_var=LIBPATH
10285 osf3* | osf4* | osf5*)
10289 soname_spec='${libname}${release}${shared_ext}$major'
10290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10291 shlibpath_var=LD_LIBRARY_PATH
10292 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10293 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305 soname_spec='${libname}${release}${shared_ext}$major'
10306 shlibpath_var=LD_LIBRARY_PATH
10307 shlibpath_overrides_runpath=yes
10308 hardcode_into_libs=yes
10309 # ldd complains unless libraries are executable
10310 postinstall_cmds='chmod +x $lib'
10315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10316 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10317 shlibpath_var=LD_LIBRARY_PATH
10318 shlibpath_overrides_runpath=yes
10319 if test "$with_gnu_ld" = yes; then
10327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10328 soname_spec='${libname}${release}${shared_ext}$major'
10329 shlibpath_var=LD_LIBRARY_PATH
10330 case $host_vendor in
10332 shlibpath_overrides_runpath=no
10334 runpath_var=LD_RUN_PATH
10342 shlibpath_overrides_runpath=no
10343 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10349 if test -d /usr/nec ;then
10351 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10352 soname_spec='$libname${shared_ext}.$major'
10353 shlibpath_var=LD_LIBRARY_PATH
10357 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10358 version_type=freebsd-elf
10361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10362 soname_spec='${libname}${release}${shared_ext}$major'
10363 shlibpath_var=LD_LIBRARY_PATH
10364 shlibpath_overrides_runpath=yes
10365 hardcode_into_libs=yes
10366 if test "$with_gnu_ld" = yes; then
10367 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10369 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10372 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10376 sys_lib_dlsearch_path_spec='/usr/lib'
10380 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10385 shlibpath_var=LD_LIBRARY_PATH
10386 shlibpath_overrides_runpath=no
10387 hardcode_into_libs=yes
10392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10393 soname_spec='${libname}${release}${shared_ext}$major'
10394 shlibpath_var=LD_LIBRARY_PATH
10401 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10402 $as_echo "$dynamic_linker" >&6; }
10403 test "$dynamic_linker" = no && can_build_shared=no
10405 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10406 if test "$GCC" = yes; then
10407 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10410 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10411 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10413 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10414 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10503 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10504 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10506 if test -n "$hardcode_libdir_flag_spec" ||
10507 test -n "$runpath_var" ||
10508 test "X$hardcode_automatic" = "Xyes" ; then
10510 # We can hardcode non-existent directories.
10511 if test "$hardcode_direct" != no &&
10512 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10513 # have to relink, otherwise we might link with an installed library
10514 # when we should be linking with a yet-to-be-installed one
10515 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10516 test "$hardcode_minus_L" != no; then
10517 # Linking always hardcodes the temporary library directory.
10518 hardcode_action=relink
10520 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10521 hardcode_action=immediate
10524 # We cannot hardcode anything, or else we can only hardcode existing
10526 hardcode_action=unsupported
10528 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10529 $as_echo "$hardcode_action" >&6; }
10531 if test "$hardcode_action" = relink ||
10532 test "$inherit_rpath" = yes; then
10533 # Fast installation is not supported
10534 enable_fast_install=no
10535 elif test "$shlibpath_overrides_runpath" = yes ||
10536 test "$enable_shared" = no; then
10537 # Fast installation is not necessary
10538 enable_fast_install=needless
10546 if test "x$enable_dlopen" != xyes; then
10547 enable_dlopen=unknown
10548 enable_dlopen_self=unknown
10549 enable_dlopen_self_static=unknown
10556 lt_cv_dlopen="load_add_on"
10558 lt_cv_dlopen_self=yes
10561 mingw* | pw32* | cegcc*)
10562 lt_cv_dlopen="LoadLibrary"
10567 lt_cv_dlopen="dlopen"
10572 # if libdl is installed we need to link against it
10573 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10574 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10575 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10576 $as_echo_n "(cached) " >&6
10578 ac_check_lib_save_LIBS=$LIBS
10580 cat >conftest.$ac_ext <<_ACEOF
10583 cat confdefs.h >>conftest.$ac_ext
10584 cat >>conftest.$ac_ext <<_ACEOF
10585 /* end confdefs.h. */
10587 /* Override any GCC internal prototype to avoid an error.
10588 Use char because int might match the return type of a GCC
10589 builtin and then its argument prototype would still apply. */
10602 rm -f conftest.$ac_objext conftest$ac_exeext
10603 if { (ac_try="$ac_link"
10604 case "(($ac_try" in
10605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10606 *) ac_try_echo
=$ac_try;;
10608 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10609 $as_echo "$ac_try_echo") >&5
10610 (eval "$ac_link") 2>conftest.er1
10612 grep -v '^ *+' conftest.er1
>conftest.err
10614 cat conftest.err
>&5
10615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } && {
10617 test -z "$ac_c_werror_flag" ||
10618 test ! -s conftest.err
10619 } && test -s conftest
$ac_exeext && {
10620 test "$cross_compiling" = yes ||
10621 $as_test_x conftest
$ac_exeext
10623 ac_cv_lib_dl_dlopen
=yes
10625 $as_echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.
$ac_ext >&5
10628 ac_cv_lib_dl_dlopen
=no
10631 rm -rf conftest.dSYM
10632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10633 conftest
$ac_exeext conftest.
$ac_ext
10634 LIBS
=$ac_check_lib_save_LIBS
10636 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10637 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10638 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10639 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10642 lt_cv_dlopen
="dyld"
10644 lt_cv_dlopen_self
=yes
10651 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10652 $as_echo_n "checking for shl_load... " >&6; }
10653 if test "${ac_cv_func_shl_load+set}" = set; then
10654 $as_echo_n "(cached) " >&6
10656 cat >conftest.
$ac_ext <<_ACEOF
10659 cat confdefs.h
>>conftest.
$ac_ext
10660 cat >>conftest.
$ac_ext <<_ACEOF
10661 /* end confdefs.h. */
10662 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10664 #define shl_load innocuous_shl_load
10666 /* System header to define __stub macros and hopefully few prototypes,
10667 which can conflict with char shl_load (); below.
10668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10669 <limits.h> exists even on freestanding compilers. */
10672 # include <limits.h>
10674 # include <assert.h>
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
10686 /* The GNU C library defines this for functions which it implements
10687 to always fail with ENOSYS. Some functions are actually named
10688 something starting with __ and the normal name is an alias. */
10689 #if defined __stub_shl_load || defined __stub___shl_load
10696 return shl_load ();
10701 rm -f conftest.
$ac_objext conftest
$ac_exeext
10702 if { (ac_try
="$ac_link"
10703 case "(($ac_try" in
10704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10705 *) ac_try_echo=$ac_try;;
10707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10708 $as_echo "$ac_try_echo") >&5
10709 (eval "$ac_link") 2>conftest.er1
10711 grep -v '^ *+' conftest.er1 >conftest.err
10713 cat conftest.err >&5
10714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); } && {
10716 test -z "$ac_c_werror_flag" ||
10717 test ! -s conftest.err
10718 } && test -s conftest$ac_exeext && {
10719 test "$cross_compiling" = yes ||
10720 $as_test_x conftest$ac_exeext
10722 ac_cv_func_shl_load=yes
10724 $as_echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10727 ac_cv_func_shl_load=no
10730 rm -rf conftest.dSYM
10731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10732 conftest$ac_exeext conftest.$ac_ext
10734 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10735 $as_echo "$ac_cv_func_shl_load" >&6; }
10736 if test "x$ac_cv_func_shl_load" = x""yes; then
10737 lt_cv_dlopen="shl_load"
10739 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10740 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10741 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10742 $as_echo_n "(cached) " >&6
10744 ac_check_lib_save_LIBS=$LIBS
10746 cat >conftest.$ac_ext <<_ACEOF
10749 cat confdefs.h >>conftest.$ac_ext
10750 cat >>conftest.$ac_ext <<_ACEOF
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10763 return shl_load ();
10768 rm -f conftest.$ac_objext conftest$ac_exeext
10769 if { (ac_try="$ac_link"
10770 case "(($ac_try" in
10771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10772 *) ac_try_echo
=$ac_try;;
10774 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10775 $as_echo "$ac_try_echo") >&5
10776 (eval "$ac_link") 2>conftest.er1
10778 grep -v '^ *+' conftest.er1
>conftest.err
10780 cat conftest.err
>&5
10781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); } && {
10783 test -z "$ac_c_werror_flag" ||
10784 test ! -s conftest.err
10785 } && test -s conftest
$ac_exeext && {
10786 test "$cross_compiling" = yes ||
10787 $as_test_x conftest
$ac_exeext
10789 ac_cv_lib_dld_shl_load
=yes
10791 $as_echo "$as_me: failed program was:" >&5
10792 sed 's/^/| /' conftest.
$ac_ext >&5
10794 ac_cv_lib_dld_shl_load
=no
10797 rm -rf conftest.dSYM
10798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10799 conftest
$ac_exeext conftest.
$ac_ext
10800 LIBS
=$ac_check_lib_save_LIBS
10802 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10803 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10804 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10805 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10807 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10808 $as_echo_n "checking for dlopen... " >&6; }
10809 if test "${ac_cv_func_dlopen+set}" = set; then
10810 $as_echo_n "(cached) " >&6
10812 cat >conftest.
$ac_ext <<_ACEOF
10815 cat confdefs.h
>>conftest.
$ac_ext
10816 cat >>conftest.
$ac_ext <<_ACEOF
10817 /* end confdefs.h. */
10818 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10820 #define dlopen innocuous_dlopen
10822 /* System header to define __stub macros and hopefully few prototypes,
10823 which can conflict with char dlopen (); below.
10824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10825 <limits.h> exists even on freestanding compilers. */
10828 # include <limits.h>
10830 # include <assert.h>
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10842 /* The GNU C library defines this for functions which it implements
10843 to always fail with ENOSYS. Some functions are actually named
10844 something starting with __ and the normal name is an alias. */
10845 #if defined __stub_dlopen || defined __stub___dlopen
10857 rm -f conftest.
$ac_objext conftest
$ac_exeext
10858 if { (ac_try
="$ac_link"
10859 case "(($ac_try" in
10860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10861 *) ac_try_echo=$ac_try;;
10863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10864 $as_echo "$ac_try_echo") >&5
10865 (eval "$ac_link") 2>conftest.er1
10867 grep -v '^ *+' conftest.er1 >conftest.err
10869 cat conftest.err >&5
10870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 (exit $ac_status); } && {
10872 test -z "$ac_c_werror_flag" ||
10873 test ! -s conftest.err
10874 } && test -s conftest$ac_exeext && {
10875 test "$cross_compiling" = yes ||
10876 $as_test_x conftest$ac_exeext
10878 ac_cv_func_dlopen=yes
10880 $as_echo "$as_me: failed program was:" >&5
10881 sed 's/^/| /' conftest.$ac_ext >&5
10883 ac_cv_func_dlopen=no
10886 rm -rf conftest.dSYM
10887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10888 conftest$ac_exeext conftest.$ac_ext
10890 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10891 $as_echo "$ac_cv_func_dlopen" >&6; }
10892 if test "x$ac_cv_func_dlopen" = x""yes; then
10893 lt_cv_dlopen="dlopen"
10895 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10896 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10897 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10898 $as_echo_n "(cached) " >&6
10900 ac_check_lib_save_LIBS=$LIBS
10902 cat >conftest.$ac_ext <<_ACEOF
10905 cat confdefs.h >>conftest.$ac_ext
10906 cat >>conftest.$ac_ext <<_ACEOF
10907 /* end confdefs.h. */
10909 /* Override any GCC internal prototype to avoid an error.
10910 Use char because int might match the return type of a GCC
10911 builtin and then its argument prototype would still apply. */
10924 rm -f conftest.$ac_objext conftest$ac_exeext
10925 if { (ac_try="$ac_link"
10926 case "(($ac_try" in
10927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10928 *) ac_try_echo
=$ac_try;;
10930 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10931 $as_echo "$ac_try_echo") >&5
10932 (eval "$ac_link") 2>conftest.er1
10934 grep -v '^ *+' conftest.er1
>conftest.err
10936 cat conftest.err
>&5
10937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } && {
10939 test -z "$ac_c_werror_flag" ||
10940 test ! -s conftest.err
10941 } && test -s conftest
$ac_exeext && {
10942 test "$cross_compiling" = yes ||
10943 $as_test_x conftest
$ac_exeext
10945 ac_cv_lib_dl_dlopen
=yes
10947 $as_echo "$as_me: failed program was:" >&5
10948 sed 's/^/| /' conftest.
$ac_ext >&5
10950 ac_cv_lib_dl_dlopen
=no
10953 rm -rf conftest.dSYM
10954 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10955 conftest
$ac_exeext conftest.
$ac_ext
10956 LIBS
=$ac_check_lib_save_LIBS
10958 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10959 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10960 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10961 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10963 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10964 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10965 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10966 $as_echo_n "(cached) " >&6
10968 ac_check_lib_save_LIBS
=$LIBS
10969 LIBS
="-lsvld $LIBS"
10970 cat >conftest.
$ac_ext <<_ACEOF
10973 cat confdefs.h
>>conftest.
$ac_ext
10974 cat >>conftest.
$ac_ext <<_ACEOF
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10992 rm -f conftest.
$ac_objext conftest
$ac_exeext
10993 if { (ac_try
="$ac_link"
10994 case "(($ac_try" in
10995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10996 *) ac_try_echo=$ac_try;;
10998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10999 $as_echo "$ac_try_echo") >&5
11000 (eval "$ac_link") 2>conftest.er1
11002 grep -v '^ *+' conftest.er1 >conftest.err
11004 cat conftest.err >&5
11005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); } && {
11007 test -z "$ac_c_werror_flag" ||
11008 test ! -s conftest.err
11009 } && test -s conftest$ac_exeext && {
11010 test "$cross_compiling" = yes ||
11011 $as_test_x conftest$ac_exeext
11013 ac_cv_lib_svld_dlopen=yes
11015 $as_echo "$as_me: failed program was:" >&5
11016 sed 's/^/| /' conftest.$ac_ext >&5
11018 ac_cv_lib_svld_dlopen=no
11021 rm -rf conftest.dSYM
11022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11023 conftest$ac_exeext conftest.$ac_ext
11024 LIBS=$ac_check_lib_save_LIBS
11026 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11027 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11028 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11029 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11031 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11032 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11033 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11034 $as_echo_n "(cached) " >&6
11036 ac_check_lib_save_LIBS=$LIBS
11038 cat >conftest.$ac_ext <<_ACEOF
11041 cat confdefs.h >>conftest.$ac_ext
11042 cat >>conftest.$ac_ext <<_ACEOF
11043 /* end confdefs.h. */
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11055 return dld_link ();
11060 rm -f conftest.$ac_objext conftest$ac_exeext
11061 if { (ac_try="$ac_link"
11062 case "(($ac_try" in
11063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11064 *) ac_try_echo
=$ac_try;;
11066 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11067 $as_echo "$ac_try_echo") >&5
11068 (eval "$ac_link") 2>conftest.er1
11070 grep -v '^ *+' conftest.er1
>conftest.err
11072 cat conftest.err
>&5
11073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } && {
11075 test -z "$ac_c_werror_flag" ||
11076 test ! -s conftest.err
11077 } && test -s conftest
$ac_exeext && {
11078 test "$cross_compiling" = yes ||
11079 $as_test_x conftest
$ac_exeext
11081 ac_cv_lib_dld_dld_link
=yes
11083 $as_echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.
$ac_ext >&5
11086 ac_cv_lib_dld_dld_link
=no
11089 rm -rf conftest.dSYM
11090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11091 conftest
$ac_exeext conftest.
$ac_ext
11092 LIBS
=$ac_check_lib_save_LIBS
11094 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11095 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11096 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11097 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11118 if test "x$lt_cv_dlopen" != xno
; then
11124 case $lt_cv_dlopen in
11126 save_CPPFLAGS
="$CPPFLAGS"
11127 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11129 save_LDFLAGS
="$LDFLAGS"
11130 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11133 LIBS
="$lt_cv_dlopen_libs $LIBS"
11135 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11136 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11137 if test "${lt_cv_dlopen_self+set}" = set; then
11138 $as_echo_n "(cached) " >&6
11140 if test "$cross_compiling" = yes; then :
11141 lt_cv_dlopen_self
=cross
11143 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11144 lt_status
=$lt_dlunknown
11145 cat > conftest.
$ac_ext <<_LT_EOF
11146 #line 11146 "configure"
11147 #include "confdefs.h"
11156 # define LT_DLGLOBAL RTLD_GLOBAL
11159 # define LT_DLGLOBAL DL_GLOBAL
11161 # define LT_DLGLOBAL 0
11165 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11166 find out it does not work in some platform. */
11167 #ifndef LT_DLLAZY_OR_NOW
11169 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11172 # define LT_DLLAZY_OR_NOW DL_LAZY
11175 # define LT_DLLAZY_OR_NOW RTLD_NOW
11178 # define LT_DLLAZY_OR_NOW DL_NOW
11180 # define LT_DLLAZY_OR_NOW 0
11187 void fnord() { int i=42;}
11190 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11191 int status = $lt_dlunknown;
11195 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11196 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11197 /* dlclose (self); */
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>&5
11208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11210 (.
/conftest
; exit; ) >&5 2>/dev
/null
11212 case x
$lt_status in
11213 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11214 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11215 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11218 # compilation failed
11219 lt_cv_dlopen_self
=no
11226 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11227 $as_echo "$lt_cv_dlopen_self" >&6; }
11229 if test "x$lt_cv_dlopen_self" = xyes
; then
11230 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11231 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11232 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11233 if test "${lt_cv_dlopen_self_static+set}" = set; then
11234 $as_echo_n "(cached) " >&6
11236 if test "$cross_compiling" = yes; then :
11237 lt_cv_dlopen_self_static
=cross
11239 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11240 lt_status
=$lt_dlunknown
11241 cat > conftest.
$ac_ext <<_LT_EOF
11242 #line 11242 "configure"
11243 #include "confdefs.h"
11252 # define LT_DLGLOBAL RTLD_GLOBAL
11255 # define LT_DLGLOBAL DL_GLOBAL
11257 # define LT_DLGLOBAL 0
11261 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11262 find out it does not work in some platform. */
11263 #ifndef LT_DLLAZY_OR_NOW
11265 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11268 # define LT_DLLAZY_OR_NOW DL_LAZY
11271 # define LT_DLLAZY_OR_NOW RTLD_NOW
11274 # define LT_DLLAZY_OR_NOW DL_NOW
11276 # define LT_DLLAZY_OR_NOW 0
11283 void fnord() { int i=42;}
11286 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11287 int status = $lt_dlunknown;
11291 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11292 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11293 /* dlclose (self); */
11301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11302 (eval $ac_link) 2>&5
11304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11306 (.
/conftest
; exit; ) >&5 2>/dev
/null
11308 case x
$lt_status in
11309 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11310 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11311 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11314 # compilation failed
11315 lt_cv_dlopen_self_static
=no
11322 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11323 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11326 CPPFLAGS
="$save_CPPFLAGS"
11327 LDFLAGS
="$save_LDFLAGS"
11332 case $lt_cv_dlopen_self in
11333 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11334 *) enable_dlopen_self
=unknown
;;
11337 case $lt_cv_dlopen_self_static in
11338 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11339 *) enable_dlopen_self_static
=unknown
;;
11361 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11362 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11363 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11364 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11365 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11366 { $as_echo "$as_me:$LINENO: result: yes" >&5
11367 $as_echo "yes" >&6; }
11369 # FIXME - insert some real tests, host_os isn't really good enough
11372 if test -n "$STRIP" ; then
11373 striplib
="$STRIP -x"
11374 old_striplib
="$STRIP -S"
11375 { $as_echo "$as_me:$LINENO: result: yes" >&5
11376 $as_echo "yes" >&6; }
11378 { $as_echo "$as_me:$LINENO: result: no" >&5
11379 $as_echo "no" >&6; }
11383 { $as_echo "$as_me:$LINENO: result: no" >&5
11384 $as_echo "no" >&6; }
11400 # Report which library types will actually be built
11401 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11402 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11403 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11404 $as_echo "$can_build_shared" >&6; }
11406 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11407 $as_echo_n "checking whether to build shared libraries... " >&6; }
11408 test "$can_build_shared" = "no" && enable_shared
=no
11410 # On AIX, shared libraries and static libraries use the same namespace, and
11411 # are all built from PIC.
11414 test "$enable_shared" = yes && enable_static
=no
11415 if test -n "$RANLIB"; then
11416 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11417 postinstall_cmds
='$RANLIB $lib'
11422 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11423 test "$enable_shared" = yes && enable_static
=no
11427 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11428 $as_echo "$enable_shared" >&6; }
11430 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11431 $as_echo_n "checking whether to build static libraries... " >&6; }
11432 # Make sure either enable_shared or enable_static is yes.
11433 test "$enable_shared" = yes || enable_static
=yes
11434 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11435 $as_echo "$enable_static" >&6; }
11442 ac_cpp
='$CPP $CPPFLAGS'
11443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11461 ac_config_commands
="$ac_config_commands libtool"
11466 # Only expand once:
11471 { $as_echo "$as_me:$LINENO: checking spl license" >&5
11472 $as_echo_n "checking spl license... " >&6; }
11474 { $as_echo "$as_me:$LINENO: result: $LICENSE" >&5
11475 $as_echo "$LICENSE" >&6; }
11476 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DHAVE_GPL_ONLY_SYMBOLS"
11484 { $as_echo "$as_me:$LINENO: checking whether $RPM is available" >&5
11485 $as_echo_n "checking whether $RPM is available... " >&6; }
11486 if tmp
=$
($RPM --version 2>/dev
/null
); then
11488 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11490 { $as_echo "$as_me:$LINENO: result: $HAVE_RPM ($RPM_VERSION)" >&5
11491 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
11496 { $as_echo "$as_me:$LINENO: result: $HAVE_RPM" >&5
11497 $as_echo "$HAVE_RPM" >&6; }
11502 { $as_echo "$as_me:$LINENO: checking whether $RPMBUILD is available" >&5
11503 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
11504 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then
11506 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11508 { $as_echo "$as_me:$LINENO: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
11509 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
11514 { $as_echo "$as_me:$LINENO: result: $HAVE_RPMBUILD" >&5
11515 $as_echo "$HAVE_RPMBUILD" >&6; }
11530 DPKGBUILD
=dpkg-buildpackage
11532 { $as_echo "$as_me:$LINENO: checking whether $DPKG is available" >&5
11533 $as_echo_n "checking whether $DPKG is available... " >&6; }
11534 if tmp
=$
($DPKG --version 2>/dev
/null
); then
11536 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
11538 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
11539 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
11544 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKG" >&5
11545 $as_echo "$HAVE_DPKG" >&6; }
11550 { $as_echo "$as_me:$LINENO: checking whether $DPKGBUILD is available" >&5
11551 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
11552 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then
11554 DPKGBUILD_VERSION
=$
(echo $tmp | \
11555 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
11557 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
11558 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
11563 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKGBUILD" >&5
11564 $as_echo "$HAVE_DPKGBUILD" >&6; }
11580 { $as_echo "$as_me:$LINENO: checking whether $ALIEN is available" >&5
11581 $as_echo_n "checking whether $ALIEN is available... " >&6; }
11582 if tmp
=$
($ALIEN --version 2>/dev
/null
); then
11584 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
11586 { $as_echo "$as_me:$LINENO: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
11587 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
11592 { $as_echo "$as_me:$LINENO: result: $HAVE_ALIEN" >&5
11593 $as_echo "$HAVE_ALIEN" >&6; }
11603 VENDOR
=$
(echo $ac_build_alias | cut
-f2 -d'-')
11605 { $as_echo "$as_me:$LINENO: checking default package type" >&5
11606 $as_echo_n "checking default package type... " >&6; }
11608 fedora
) DEFAULT_PACKAGE
=rpm
;;
11609 redhat
) DEFAULT_PACKAGE
=rpm
;;
11610 sles
) DEFAULT_PACKAGE
=rpm
;;
11611 ubuntu
) DEFAULT_PACKAGE
=deb
;;
11612 debian
) DEFAULT_PACKAGE
=deb
;;
11613 slackware
) DEFAULT_PACKAGE
=tgz
;;
11614 *) DEFAULT_PACKAGE
=rpm
;;
11617 { $as_echo "$as_me:$LINENO: result: $DEFAULT_PACKAGE" >&5
11618 $as_echo "$DEFAULT_PACKAGE" >&6; }
11625 # Check whether --with-config was given.
11626 if test "${with_config+set}" = set; then
11627 withval
=$with_config; SPL_CONFIG
="$withval"
11631 { $as_echo "$as_me:$LINENO: checking spl config" >&5
11632 $as_echo_n "checking spl config... " >&6; }
11633 { $as_echo "$as_me:$LINENO: result: $SPL_CONFIG" >&5
11634 $as_echo "$SPL_CONFIG" >&6; };
11637 case "$SPL_CONFIG" in
11641 # Check whether --with-linux was given.
11642 if test "${with_linux+set}" = set; then
11643 withval
=$with_linux; kernelsrc
="$withval"
11648 # Check whether --with-linux-obj was given.
11649 if test "${with_linux_obj+set}" = set; then
11650 withval
=$with_linux_obj; kernelbuild
="$withval"
11654 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
11655 $as_echo_n "checking kernel source directory... " >&6; }
11656 if test -z "$kernelsrc"; then
11657 headersdir
="/lib/modules/$(uname -r)/build"
11658 if test -e "$headersdir"; then
11659 sourcelink
=$
(readlink
-f "$headersdir")
11661 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
11663 2>/dev
/null |
grep -v obj |
tail -1)
11666 if test -n "$sourcelink" && test -e ${sourcelink}; then
11667 kernelsrc
=`readlink -f ${sourcelink}`
11669 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11670 $as_echo "Not found" >&6; }
11671 { { $as_echo "$as_me:$LINENO: error:
11672 *** Please make sure the kernel devel package for your distribution
11673 *** is installed then try again. If that fails you can specify the
11674 *** location of the kernel source with the '--with-linux=PATH' option." >&5
11675 $as_echo "$as_me: error:
11676 *** Please make sure the kernel devel package for your distribution
11677 *** is installed then try again. If that fails you can specify the
11678 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
11679 { (exit 1); exit 1; }; }
11682 if test "$kernelsrc" = "NONE"; then
11687 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
11688 $as_echo "$kernelsrc" >&6; }
11689 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
11690 $as_echo_n "checking kernel build directory... " >&6; }
11691 if test -z "$kernelbuild"; then
11692 if test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
11693 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
11694 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
11695 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
11696 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
11697 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
11699 kernelbuild
=${kernelsrc}
11702 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
11703 $as_echo "$kernelbuild" >&6; }
11705 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
11706 $as_echo_n "checking kernel source version... " >&6; }
11707 utsrelease1
=$kernelbuild/include
/linux
/version.h
11708 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
11709 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
11710 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
11711 utsrelease
=linux
/version.h
11712 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
11713 utsrelease
=linux
/utsrelease.h
11714 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
11715 utsrelease
=generated
/utsrelease.h
11718 if test "$utsrelease"; then
11719 kernsrcver
=`(echo "#include <$utsrelease>";
11720 echo "kernsrcver=UTS_RELEASE") |
11721 cpp -I $kernelbuild/include |
11722 grep "^kernsrcver=" | cut -d \" -f 2`
11724 if test -z "$kernsrcver"; then
11725 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11726 $as_echo "Not found" >&6; }
11727 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
11728 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
11729 { (exit 1); exit 1; }; }
11732 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11733 $as_echo "Not found" >&6; }
11734 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
11735 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
11736 { (exit 1); exit 1; }; }
11739 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
11740 $as_echo "$kernsrcver" >&6; }
11743 LINUX_OBJ
=${kernelbuild}
11744 LINUX_VERSION
=${kernsrcver}
11751 modpost
=$LINUX/scripts
/Makefile.modpost
11752 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
11753 $as_echo_n "checking kernel file name for module symbols... " >&6; }
11754 if test -f "$modpost"; then
11755 if grep -q Modules.symvers
$modpost; then
11756 LINUX_SYMBOLS
=Modules.symvers
11758 LINUX_SYMBOLS
=Module.symvers
11763 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
11764 $as_echo "$LINUX_SYMBOLS" >&6; }
11769 abs_srcdir
=`readlink -f ${srcdir}`
11770 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
11771 KERNELCPPFLAGS
="$KERNELCPPFLAGS -I${abs_srcdir}/include"
11772 KERNELCPPFLAGS
="$KERNELCPPFLAGS -include ${abs_srcdir}/spl_config.h"
11774 if test "${LINUX_OBJ}" != "${LINUX}"; then
11775 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
11782 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
11783 $as_echo_n "checking whether debugging is enabled... " >&6; }
11784 # Check whether --enable-debug was given.
11785 if test "${enable_debug+set}" = set; then
11786 enableval
=$enable_debug;
11792 if test "x$enable_debug" = xyes
; then
11794 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
11795 DEBUG_CFLAGS
="-DDEBUG -Werror"
11799 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
11800 DEBUG_CFLAGS
="-DNDEBUG"
11806 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
11807 $as_echo "$enable_debug" >&6; }
11810 # Check whether --enable-debug-kmem was given.
11811 if test "${enable_debug_kmem+set}" = set; then
11812 enableval
=$enable_debug_kmem;
11814 enable_debug_kmem
=yes
11818 if test "x$enable_debug_kmem" = xyes
; then
11820 cat >>confdefs.h
<<\_ACEOF
11821 #define DEBUG_KMEM 1
11824 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
11828 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
11829 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
11830 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
11831 $as_echo "$enable_debug_kmem" >&6; }
11834 # Check whether --enable-debug-kmem-tracking was given.
11835 if test "${enable_debug_kmem_tracking+set}" = set; then
11836 enableval
=$enable_debug_kmem_tracking;
11838 enable_debug_kmem_tracking
=no
11842 if test "x$enable_debug_kmem_tracking" = xyes
; then
11844 cat >>confdefs.h
<<\_ACEOF
11845 #define DEBUG_KMEM_TRACKING 1
11848 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
11852 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
11853 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
11854 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
11855 $as_echo "$enable_debug_kmem_tracking" >&6; }
11858 # Check whether --enable-atomic-spinlocks was given.
11859 if test "${enable_atomic_spinlocks+set}" = set; then
11860 enableval
=$enable_atomic_spinlocks;
11862 enable_atomic_spinlocks
=check
11868 cat confdefs.h
- <<_ACEOF >conftest.c
11871 cat confdefs.h
>>conftest.
$ac_ext
11872 cat >>conftest.
$ac_ext <<_ACEOF
11873 /* end confdefs.h. */
11876 #include <asm/atomic.h>
11891 rm -Rf build
&& mkdir
-p build
11892 echo "obj-m := conftest.o" >build
/Makefile
11893 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11900 (eval $ac_try) 2>&5
11902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; }; then
11905 have_atomic64_t
=yes
11907 cat >>confdefs.h
<<\_ACEOF
11908 #define HAVE_ATOMIC64_T 1
11913 $as_echo "$as_me: failed program was:" >&5
11914 sed 's/^/| /' conftest.
$ac_ext >&5
11926 if test "x$enable_atomic_spinlocks" = xcheck
; then
11928 if test "x$have_atomic64_t" = xyes
; then
11930 enable_atomic_spinlocks
=no
11934 enable_atomic_spinlocks
=yes
11942 if test "x$enable_atomic_spinlocks" = xyes
; then
11945 cat >>confdefs.h
<<\_ACEOF
11946 #define ATOMIC_SPINLOCK 1
11952 if test "x$have_atomic64_t" = xno
; then
11954 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11956 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
11957 See \`config.log' for more details." >&5
11958 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
11959 See \`config.log' for more details." >&2;}
11960 { (exit 1); exit 1; }; }; }
11968 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
11969 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
11970 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
11971 $as_echo "$enable_atomic_spinlocks" >&6; }
11973 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
11974 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
11975 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
11976 $as_echo "$have_atomic64_t" >&6; }
11978 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
11979 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
11982 cat confdefs.h
- <<_ACEOF >conftest.c
11985 cat confdefs.h
>>conftest.
$ac_ext
11986 cat >>conftest.
$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11990 #include <asm/atomic.h>
11996 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
12005 rm -Rf build
&& mkdir
-p build
12006 echo "obj-m := conftest.o" >build
/Makefile
12007 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12009 (eval $ac_try) 2>&5
12011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; }; then
12019 { $as_echo "$as_me:$LINENO: result: yes" >&5
12020 $as_echo "yes" >&6; }
12022 cat >>confdefs.h
<<\_ACEOF
12023 #define HAVE_ATOMIC64_CMPXCHG 1
12028 $as_echo "$as_me: failed program was:" >&5
12029 sed 's/^/| /' conftest.
$ac_ext >&5
12031 { $as_echo "$as_me:$LINENO: result: no" >&5
12032 $as_echo "no" >&6; }
12042 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
12043 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
12046 cat confdefs.h
- <<_ACEOF >conftest.c
12049 cat confdefs.h
>>conftest.
$ac_ext
12050 cat >>conftest.
$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12054 #include <asm/atomic.h>
12060 atomic64_xchg((atomic64_t *)NULL, 0);
12069 rm -Rf build
&& mkdir
-p build
12070 echo "obj-m := conftest.o" >build
/Makefile
12071 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12073 (eval $ac_try) 2>&5
12075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12083 { $as_echo "$as_me:$LINENO: result: yes" >&5
12084 $as_echo "yes" >&6; }
12086 cat >>confdefs.h
<<\_ACEOF
12087 #define HAVE_ATOMIC64_XCHG 1
12092 $as_echo "$as_me: failed program was:" >&5
12093 sed 's/^/| /' conftest.
$ac_ext >&5
12095 { $as_echo "$as_me:$LINENO: result: no" >&5
12096 $as_echo "no" >&6; }
12106 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
12107 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
12110 cat confdefs.h
- <<_ACEOF >conftest.c
12113 cat confdefs.h
>>conftest.
$ac_ext
12114 cat >>conftest.
$ac_ext <<_ACEOF
12115 /* end confdefs.h. */
12118 #include <linux/types.h>
12133 rm -Rf build
&& mkdir
-p build
12134 echo "obj-m := conftest.o" >build
/Makefile
12135 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; }; then
12147 { $as_echo "$as_me:$LINENO: result: yes" >&5
12148 $as_echo "yes" >&6; }
12150 cat >>confdefs.h
<<\_ACEOF
12151 #define HAVE_UINTPTR_T 1
12156 $as_echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.
$ac_ext >&5
12159 { $as_echo "$as_me:$LINENO: result: no" >&5
12160 $as_echo "no" >&6; }
12170 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
12171 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
12174 cat confdefs.h
- <<_ACEOF >conftest.c
12177 cat confdefs.h
>>conftest.
$ac_ext
12178 cat >>conftest.
$ac_ext <<_ACEOF
12179 /* end confdefs.h. */
12182 #include <linux/workqueue.h>
12188 struct work_struct work;
12189 INIT_WORK(&work, NULL, NULL);
12198 rm -Rf build
&& mkdir
-p build
12199 echo "obj-m := conftest.o" >build
/Makefile
12200 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12202 (eval $ac_try) 2>&5
12204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207 (eval $ac_try) 2>&5
12209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; }; then
12212 { $as_echo "$as_me:$LINENO: result: yes" >&5
12213 $as_echo "yes" >&6; }
12215 cat >>confdefs.h
<<\_ACEOF
12216 #define HAVE_3ARGS_INIT_WORK 1
12221 $as_echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.
$ac_ext >&5
12224 { $as_echo "$as_me:$LINENO: result: no" >&5
12225 $as_echo "no" >&6; }
12235 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
12236 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
12239 cat confdefs.h
- <<_ACEOF >conftest.c
12242 cat confdefs.h
>>conftest.
$ac_ext
12243 cat >>conftest.
$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12247 #include <linux/sysctl.h>
12253 return register_sysctl_table(NULL,0);
12262 rm -Rf build
&& mkdir
-p build
12263 echo "obj-m := conftest.o" >build
/Makefile
12264 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then
12276 { $as_echo "$as_me:$LINENO: result: yes" >&5
12277 $as_echo "yes" >&6; }
12279 cat >>confdefs.h
<<\_ACEOF
12280 #define HAVE_2ARGS_REGISTER_SYSCTL 1
12285 $as_echo "$as_me: failed program was:" >&5
12286 sed 's/^/| /' conftest.
$ac_ext >&5
12288 { $as_echo "$as_me:$LINENO: result: no" >&5
12289 $as_echo "no" >&6; }
12300 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
12301 $as_echo_n "checking whether set_shrinker() available... " >&6; }
12304 cat confdefs.h
- <<_ACEOF >conftest.c
12307 cat confdefs.h
>>conftest.
$ac_ext
12308 cat >>conftest.
$ac_ext <<_ACEOF
12309 /* end confdefs.h. */
12312 #include <linux/mm.h>
12318 return set_shrinker(DEFAULT_SEEKS, NULL);
12327 rm -Rf build
&& mkdir
-p build
12328 echo "obj-m := conftest.o" >build
/Makefile
12329 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; }; then
12341 { $as_echo "$as_me:$LINENO: result: yes" >&5
12342 $as_echo "yes" >&6; }
12344 cat >>confdefs.h
<<\_ACEOF
12345 #define HAVE_SET_SHRINKER 1
12350 $as_echo "$as_me: failed program was:" >&5
12351 sed 's/^/| /' conftest.
$ac_ext >&5
12353 { $as_echo "$as_me:$LINENO: result: no" >&5
12354 $as_echo "no" >&6; }
12364 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
12365 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
12368 cat confdefs.h
- <<_ACEOF >conftest.c
12371 cat confdefs.h
>>conftest.
$ac_ext
12372 cat >>conftest.
$ac_ext <<_ACEOF
12373 /* end confdefs.h. */
12376 #include <linux/namei.h>
12382 struct nameidata nd;
12384 nd.path.mnt = NULL;
12385 nd.path.dentry = NULL;
12394 rm -Rf build
&& mkdir
-p build
12395 echo "obj-m := conftest.o" >build
/Makefile
12396 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12398 (eval $ac_try) 2>&5
12400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; }; then
12408 { $as_echo "$as_me:$LINENO: result: yes" >&5
12409 $as_echo "yes" >&6; }
12411 cat >>confdefs.h
<<\_ACEOF
12412 #define HAVE_PATH_IN_NAMEIDATA 1
12417 $as_echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.
$ac_ext >&5
12420 { $as_echo "$as_me:$LINENO: result: no" >&5
12421 $as_echo "no" >&6; }
12432 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
12433 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
12434 grep -q -E '[[:space:]]task_curr[[:space:]]' \
12435 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12437 if test $rc -ne 0; then
12439 for file in kernel
/sched.c
; do
12440 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
12441 "$LINUX_OBJ/$file" 2>/dev
/null
12443 if test $rc -eq 0; then
12448 if test $export -eq 0; then
12449 { $as_echo "$as_me:$LINENO: result: no" >&5
12450 $as_echo "no" >&6; }
12453 { $as_echo "$as_me:$LINENO: result: yes" >&5
12454 $as_echo "yes" >&6; }
12456 cat >>confdefs.h
<<\_ACEOF
12457 #define HAVE_TASK_CURR 1
12462 { $as_echo "$as_me:$LINENO: result: yes" >&5
12463 $as_echo "yes" >&6; }
12465 cat >>confdefs.h
<<\_ACEOF
12466 #define HAVE_TASK_CURR 1
12472 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
12473 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
12476 cat confdefs.h
- <<_ACEOF >conftest.c
12479 cat confdefs.h
>>conftest.
$ac_ext
12480 cat >>conftest.
$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12484 #include <linux/sysctl.h>
12490 #ifndef CTL_UNNUMBERED
12491 #error CTL_UNNUMBERED undefined
12501 rm -Rf build
&& mkdir
-p build
12502 echo "obj-m := conftest.o" >build
/Makefile
12503 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12505 (eval $ac_try) 2>&5
12507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12515 { $as_echo "$as_me:$LINENO: result: yes" >&5
12516 $as_echo "yes" >&6; }
12518 cat >>confdefs.h
<<\_ACEOF
12519 #define HAVE_CTL_UNNUMBERED 1
12524 $as_echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.
$ac_ext >&5
12527 { $as_echo "$as_me:$LINENO: result: no" >&5
12528 $as_echo "no" >&6; }
12539 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
12540 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
12543 cat confdefs.h
- <<_ACEOF >conftest.c
12546 cat confdefs.h
>>conftest.
$ac_ext
12547 cat >>conftest.
$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12551 #include <linux/sysctl.h>
12557 struct ctl_table ctl;
12567 rm -Rf build
&& mkdir
-p build
12568 echo "obj-m := conftest.o" >build
/Makefile
12569 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12571 (eval $ac_try) 2>&5
12573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12574 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12576 (eval $ac_try) 2>&5
12578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); }; }; then
12581 { $as_echo "$as_me:$LINENO: result: yes" >&5
12582 $as_echo "yes" >&6; }
12584 cat >>confdefs.h
<<\_ACEOF
12585 #define HAVE_CTL_NAME 1
12590 $as_echo "$as_me: failed program was:" >&5
12591 sed 's/^/| /' conftest.
$ac_ext >&5
12593 { $as_echo "$as_me:$LINENO: result: no" >&5
12594 $as_echo "no" >&6; }
12604 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
12605 $as_echo_n "checking whether fls64() is available... " >&6; }
12608 cat confdefs.h
- <<_ACEOF >conftest.c
12611 cat confdefs.h
>>conftest.
$ac_ext
12612 cat >>conftest.
$ac_ext <<_ACEOF
12613 /* end confdefs.h. */
12616 #include <linux/bitops.h>
12631 rm -Rf build
&& mkdir
-p build
12632 echo "obj-m := conftest.o" >build
/Makefile
12633 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 (eval $ac_try) 2>&5
12637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12640 (eval $ac_try) 2>&5
12642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; }; then
12645 { $as_echo "$as_me:$LINENO: result: yes" >&5
12646 $as_echo "yes" >&6; }
12648 cat >>confdefs.h
<<\_ACEOF
12649 #define HAVE_FLS64 1
12654 $as_echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.
$ac_ext >&5
12657 { $as_echo "$as_me:$LINENO: result: no" >&5
12658 $as_echo "no" >&6; }
12669 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
12670 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
12671 grep -q -E '[[:space:]]device_create[[:space:]]' \
12672 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12674 if test $rc -ne 0; then
12676 for file in drivers
/base
/core.c
; do
12677 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
12678 "$LINUX_OBJ/$file" 2>/dev
/null
12680 if test $rc -eq 0; then
12685 if test $export -eq 0; then
12686 { $as_echo "$as_me:$LINENO: result: no" >&5
12687 $as_echo "no" >&6; }
12690 { $as_echo "$as_me:$LINENO: result: yes" >&5
12691 $as_echo "yes" >&6; }
12693 cat >>confdefs.h
<<\_ACEOF
12694 #define HAVE_DEVICE_CREATE 1
12699 { $as_echo "$as_me:$LINENO: result: yes" >&5
12700 $as_echo "yes" >&6; }
12702 cat >>confdefs.h
<<\_ACEOF
12703 #define HAVE_DEVICE_CREATE 1
12710 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
12711 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
12712 tmp_flags
="$EXTRA_KCFLAGS"
12713 EXTRA_KCFLAGS
="-Werror"
12716 cat confdefs.h
- <<_ACEOF >conftest.c
12719 cat confdefs.h
>>conftest.
$ac_ext
12720 cat >>conftest.
$ac_ext <<_ACEOF
12721 /* end confdefs.h. */
12724 #include <linux/device.h>
12730 device_create(NULL, NULL, 0, NULL, "%d", 1);
12739 rm -Rf build
&& mkdir
-p build
12740 echo "obj-m := conftest.o" >build
/Makefile
12741 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12753 { $as_echo "$as_me:$LINENO: result: yes" >&5
12754 $as_echo "yes" >&6; }
12756 cat >>confdefs.h
<<\_ACEOF
12757 #define HAVE_5ARGS_DEVICE_CREATE 1
12762 $as_echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.
$ac_ext >&5
12765 { $as_echo "$as_me:$LINENO: result: no" >&5
12766 $as_echo "no" >&6; }
12775 EXTRA_KCFLAGS
="$tmp_flags"
12778 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
12779 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
12780 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
12781 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12783 if test $rc -ne 0; then
12785 for file in drivers
/base
/class.c
; do
12786 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
12787 "$LINUX_OBJ/$file" 2>/dev
/null
12789 if test $rc -eq 0; then
12794 if test $export -eq 0; then
12795 { $as_echo "$as_me:$LINENO: result: no" >&5
12796 $as_echo "no" >&6; }
12799 { $as_echo "$as_me:$LINENO: result: yes" >&5
12800 $as_echo "yes" >&6; }
12802 cat >>confdefs.h
<<\_ACEOF
12803 #define HAVE_CLASS_DEVICE_CREATE 1
12808 { $as_echo "$as_me:$LINENO: result: yes" >&5
12809 $as_echo "yes" >&6; }
12811 cat >>confdefs.h
<<\_ACEOF
12812 #define HAVE_CLASS_DEVICE_CREATE 1
12819 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
12820 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
12821 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
12822 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12824 if test $rc -ne 0; then
12826 for file in kernel
/time.c
; do
12827 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
12828 "$LINUX_OBJ/$file" 2>/dev
/null
12830 if test $rc -eq 0; then
12835 if test $export -eq 0; then
12836 { $as_echo "$as_me:$LINENO: result: no" >&5
12837 $as_echo "no" >&6; }
12840 { $as_echo "$as_me:$LINENO: result: yes" >&5
12841 $as_echo "yes" >&6; }
12843 cat >>confdefs.h
<<\_ACEOF
12844 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
12849 { $as_echo "$as_me:$LINENO: result: yes" >&5
12850 $as_echo "yes" >&6; }
12852 cat >>confdefs.h
<<\_ACEOF
12853 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
12860 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
12861 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
12864 cat confdefs.h
- <<_ACEOF >conftest.c
12867 cat confdefs.h
>>conftest.
$ac_ext
12868 cat >>conftest.
$ac_ext <<_ACEOF
12869 /* end confdefs.h. */
12872 #include <linux/time.h>
12873 void set_normalized_timespec(struct timespec *ts,
12874 time_t sec, long nsec) { }
12887 rm -Rf build
&& mkdir
-p build
12888 echo "obj-m := conftest.o" >build
/Makefile
12889 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12891 (eval $ac_try) 2>&5
12893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12896 (eval $ac_try) 2>&5
12898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; }; then
12901 { $as_echo "$as_me:$LINENO: result: no" >&5
12902 $as_echo "no" >&6; }
12905 $as_echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.
$ac_ext >&5
12908 { $as_echo "$as_me:$LINENO: result: yes" >&5
12909 $as_echo "yes" >&6; }
12911 cat >>confdefs.h
<<\_ACEOF
12912 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
12925 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
12926 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
12929 cat confdefs.h
- <<_ACEOF >conftest.c
12932 cat confdefs.h
>>conftest.
$ac_ext
12933 cat >>conftest.
$ac_ext <<_ACEOF
12934 /* end confdefs.h. */
12937 #include <linux/time.h>
12943 struct timespec a, b, c = { 0 };
12944 c = timespec_sub(a, b);
12953 rm -Rf build
&& mkdir
-p build
12954 echo "obj-m := conftest.o" >build
/Makefile
12955 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12957 (eval $ac_try) 2>&5
12959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; }; then
12967 { $as_echo "$as_me:$LINENO: result: yes" >&5
12968 $as_echo "yes" >&6; }
12970 cat >>confdefs.h
<<\_ACEOF
12971 #define HAVE_TIMESPEC_SUB 1
12976 $as_echo "$as_me: failed program was:" >&5
12977 sed 's/^/| /' conftest.
$ac_ext >&5
12979 { $as_echo "$as_me:$LINENO: result: no" >&5
12980 $as_echo "no" >&6; }
12991 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
12992 $as_echo_n "checking whether init_utsname() is available... " >&6; }
12995 cat confdefs.h
- <<_ACEOF >conftest.c
12998 cat confdefs.h
>>conftest.
$ac_ext
12999 cat >>conftest.
$ac_ext <<_ACEOF
13000 /* end confdefs.h. */
13003 #include <linux/utsname.h>
13009 struct new_utsname *a = init_utsname();
13018 rm -Rf build
&& mkdir
-p build
13019 echo "obj-m := conftest.o" >build
/Makefile
13020 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13027 (eval $ac_try) 2>&5
13029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); }; }; then
13032 { $as_echo "$as_me:$LINENO: result: yes" >&5
13033 $as_echo "yes" >&6; }
13035 cat >>confdefs.h
<<\_ACEOF
13036 #define HAVE_INIT_UTSNAME 1
13041 $as_echo "$as_me: failed program was:" >&5
13042 sed 's/^/| /' conftest.
$ac_ext >&5
13044 { $as_echo "$as_me:$LINENO: result: no" >&5
13045 $as_echo "no" >&6; }
13056 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
13057 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
13060 cat confdefs.h
- <<_ACEOF >conftest.c
13063 cat confdefs.h
>>conftest.
$ac_ext
13064 cat >>conftest.
$ac_ext <<_ACEOF
13065 /* end confdefs.h. */
13068 #include <linux/fdtable.h>
13083 rm -Rf build
&& mkdir
-p build
13084 echo "obj-m := conftest.o" >build
/Makefile
13085 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087 (eval $ac_try) 2>&5
13089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; }; then
13098 cat >>confdefs.h
<<\_ACEOF
13099 #define HAVE_FDTABLE_HEADER 1
13102 { $as_echo "$as_me:$LINENO: result: yes" >&5
13103 $as_echo "yes" >&6; }
13107 $as_echo "$as_me: failed program was:" >&5
13108 sed 's/^/| /' conftest.
$ac_ext >&5
13110 { $as_echo "$as_me:$LINENO: result: no" >&5
13111 $as_echo "no" >&6; }
13124 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
13125 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
13128 cat confdefs.h
- <<_ACEOF >conftest.c
13131 cat confdefs.h
>>conftest.
$ac_ext
13132 cat >>conftest.
$ac_ext <<_ACEOF
13133 /* end confdefs.h. */
13136 #include <linux/sched.h>
13137 #include <linux/file.h>
13138 #ifdef HAVE_FDTABLE_HEADER
13139 #include <linux/fdtable.h>
13146 struct files_struct *files = current->files;
13147 struct fdtable *fdt = files_fdtable(files);
13156 rm -Rf build
&& mkdir
-p build
13157 echo "obj-m := conftest.o" >build
/Makefile
13158 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; }; then
13170 { $as_echo "$as_me:$LINENO: result: yes" >&5
13171 $as_echo "yes" >&6; }
13173 cat >>confdefs.h
<<\_ACEOF
13174 #define HAVE_FILES_FDTABLE 1
13179 $as_echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.
$ac_ext >&5
13182 { $as_echo "$as_me:$LINENO: result: no" >&5
13183 $as_echo "no" >&6; }
13194 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
13195 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
13198 cat confdefs.h
- <<_ACEOF >conftest.c
13201 cat confdefs.h
>>conftest.
$ac_ext
13202 cat >>conftest.
$ac_ext <<_ACEOF
13203 /* end confdefs.h. */
13206 #include <linux/uaccess.h>
13221 rm -Rf build
&& mkdir
-p build
13222 echo "obj-m := conftest.o" >build
/Makefile
13223 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230 (eval $ac_try) 2>&5
13232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13236 cat >>confdefs.h
<<\_ACEOF
13237 #define HAVE_UACCESS_HEADER 1
13240 { $as_echo "$as_me:$LINENO: result: yes" >&5
13241 $as_echo "yes" >&6; }
13245 $as_echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.
$ac_ext >&5
13248 { $as_echo "$as_me:$LINENO: result: no" >&5
13249 $as_echo "no" >&6; }
13262 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
13263 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
13266 cat confdefs.h
- <<_ACEOF >conftest.c
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13274 #include <linux/slab.h>
13280 void *a = kmalloc_node(1, GFP_KERNEL, 0);
13289 rm -Rf build
&& mkdir
-p build
13290 echo "obj-m := conftest.o" >build
/Makefile
13291 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13293 (eval $ac_try) 2>&5
13295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; }; then
13303 { $as_echo "$as_me:$LINENO: result: yes" >&5
13304 $as_echo "yes" >&6; }
13306 cat >>confdefs.h
<<\_ACEOF
13307 #define HAVE_KMALLOC_NODE 1
13312 $as_echo "$as_me: failed program was:" >&5
13313 sed 's/^/| /' conftest.
$ac_ext >&5
13315 { $as_echo "$as_me:$LINENO: result: no" >&5
13316 $as_echo "no" >&6; }
13327 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
13328 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
13329 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
13330 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13332 if test $rc -ne 0; then
13335 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
13336 "$LINUX_OBJ/$file" 2>/dev
/null
13338 if test $rc -eq 0; then
13343 if test $export -eq 0; then
13344 { $as_echo "$as_me:$LINENO: result: no" >&5
13345 $as_echo "no" >&6; }
13348 { $as_echo "$as_me:$LINENO: result: yes" >&5
13349 $as_echo "yes" >&6; }
13351 cat >>confdefs.h
<<\_ACEOF
13352 #define HAVE_MONOTONIC_CLOCK 1
13357 { $as_echo "$as_me:$LINENO: result: yes" >&5
13358 $as_echo "yes" >&6; }
13360 cat >>confdefs.h
<<\_ACEOF
13361 #define HAVE_MONOTONIC_CLOCK 1
13368 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
13369 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
13372 cat confdefs.h
- <<_ACEOF >conftest.c
13375 cat confdefs.h
>>conftest.
$ac_ext
13376 cat >>conftest.
$ac_ext <<_ACEOF
13377 /* end confdefs.h. */
13380 #include <linux/fs.h>
13381 #include <linux/mutex.h>
13388 mutex_init(&i.i_mutex);
13397 rm -Rf build
&& mkdir
-p build
13398 echo "obj-m := conftest.o" >build
/Makefile
13399 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5
13408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; }; then
13411 { $as_echo "$as_me:$LINENO: result: yes" >&5
13412 $as_echo "yes" >&6; }
13414 cat >>confdefs.h
<<\_ACEOF
13415 #define HAVE_INODE_I_MUTEX 1
13420 $as_echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 { $as_echo "$as_me:$LINENO: result: no" >&5
13424 $as_echo "no" >&6; }
13435 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
13436 $as_echo_n "checking whether struct mutex has owner... " >&6; }
13439 cat confdefs.h
- <<_ACEOF >conftest.c
13442 cat confdefs.h
>>conftest.
$ac_ext
13443 cat >>conftest.
$ac_ext <<_ACEOF
13444 /* end confdefs.h. */
13447 #include <linux/mutex.h>
13463 rm -Rf build
&& mkdir
-p build
13464 echo "obj-m := conftest.o" >build
/Makefile
13465 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; }; then
13477 { $as_echo "$as_me:$LINENO: result: yes" >&5
13478 $as_echo "yes" >&6; }
13480 cat >>confdefs.h
<<\_ACEOF
13481 #define HAVE_MUTEX_OWNER 1
13486 $as_echo "$as_me: failed program was:" >&5
13487 sed 's/^/| /' conftest.
$ac_ext >&5
13489 { $as_echo "$as_me:$LINENO: result: no" >&5
13490 $as_echo "no" >&6; }
13501 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
13502 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
13505 cat confdefs.h
- <<_ACEOF >conftest.c
13508 cat confdefs.h
>>conftest.
$ac_ext
13509 cat >>conftest.
$ac_ext <<_ACEOF
13510 /* end confdefs.h. */
13513 #include <linux/mutex.h>
13519 struct mutex mutex;
13520 mutex_init(&mutex);
13521 mutex_lock_nested(&mutex, 0);
13530 rm -Rf build
&& mkdir
-p build
13531 echo "obj-m := conftest.o" >build
/Makefile
13532 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534 (eval $ac_try) 2>&5
13536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; }; then
13544 { $as_echo "$as_me:$LINENO: result: yes" >&5
13545 $as_echo "yes" >&6; }
13547 cat >>confdefs.h
<<\_ACEOF
13548 #define HAVE_MUTEX_LOCK_NESTED 1
13553 $as_echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.
$ac_ext >&5
13556 { $as_echo "$as_me:$LINENO: result: no" >&5
13557 $as_echo "no" >&6; }
13568 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
13569 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
13572 cat confdefs.h
- <<_ACEOF >conftest.c
13575 cat confdefs.h
>>conftest.
$ac_ext
13576 cat >>conftest.
$ac_ext <<_ACEOF
13577 /* end confdefs.h. */
13580 #include <linux/smp.h>
13586 on_each_cpu(NULL, NULL, 0);
13595 rm -Rf build
&& mkdir
-p build
13596 echo "obj-m := conftest.o" >build
/Makefile
13597 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; }; then
13609 { $as_echo "$as_me:$LINENO: result: yes" >&5
13610 $as_echo "yes" >&6; }
13612 cat >>confdefs.h
<<\_ACEOF
13613 #define HAVE_3ARGS_ON_EACH_CPU 1
13618 $as_echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.
$ac_ext >&5
13621 { $as_echo "$as_me:$LINENO: result: no" >&5
13622 $as_echo "no" >&6; }
13633 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
13634 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
13635 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
13636 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13638 if test $rc -ne 0; then
13641 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
13642 "$LINUX_OBJ/$file" 2>/dev
/null
13644 if test $rc -eq 0; then
13649 if test $export -eq 0; then
13650 { $as_echo "$as_me:$LINENO: result: no" >&5
13651 $as_echo "no" >&6; }
13654 { $as_echo "$as_me:$LINENO: result: yes" >&5
13655 $as_echo "yes" >&6; }
13657 cat >>confdefs.h
<<\_ACEOF
13658 #define HAVE_KALLSYMS_LOOKUP_NAME 1
13663 { $as_echo "$as_me:$LINENO: result: yes" >&5
13664 $as_echo "yes" >&6; }
13666 cat >>confdefs.h
<<\_ACEOF
13667 #define HAVE_KALLSYMS_LOOKUP_NAME 1
13674 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
13675 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
13676 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
13677 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13679 if test $rc -ne 0; then
13682 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
13683 "$LINUX_OBJ/$file" 2>/dev
/null
13685 if test $rc -eq 0; then
13690 if test $export -eq 0; then
13691 { $as_echo "$as_me:$LINENO: result: no" >&5
13692 $as_echo "no" >&6; }
13695 { $as_echo "$as_me:$LINENO: result: yes" >&5
13696 $as_echo "yes" >&6; }
13698 cat >>confdefs.h
<<\_ACEOF
13699 #define HAVE_GET_VMALLOC_INFO 1
13704 { $as_echo "$as_me:$LINENO: result: yes" >&5
13705 $as_echo "yes" >&6; }
13707 cat >>confdefs.h
<<\_ACEOF
13708 #define HAVE_GET_VMALLOC_INFO 1
13715 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
13716 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
13717 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
13719 if test $rc -eq 0; then
13720 { $as_echo "$as_me:$LINENO: result: yes" >&5
13721 $as_echo "yes" >&6; }
13723 cat >>confdefs.h
<<\_ACEOF
13724 #define HAVE_PGDAT_HELPERS 1
13728 { $as_echo "$as_me:$LINENO: result: no" >&5
13729 $as_echo "no" >&6; }
13733 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
13734 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
13735 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
13736 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13738 if test $rc -ne 0; then
13741 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
13742 "$LINUX_OBJ/$file" 2>/dev
/null
13744 if test $rc -eq 0; then
13749 if test $export -eq 0; then
13750 { $as_echo "$as_me:$LINENO: result: no" >&5
13751 $as_echo "no" >&6; }
13754 { $as_echo "$as_me:$LINENO: result: yes" >&5
13755 $as_echo "yes" >&6; }
13757 cat >>confdefs.h
<<\_ACEOF
13758 #define HAVE_FIRST_ONLINE_PGDAT 1
13763 { $as_echo "$as_me:$LINENO: result: yes" >&5
13764 $as_echo "yes" >&6; }
13766 cat >>confdefs.h
<<\_ACEOF
13767 #define HAVE_FIRST_ONLINE_PGDAT 1
13774 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
13775 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
13776 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
13777 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13779 if test $rc -ne 0; then
13782 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
13783 "$LINUX_OBJ/$file" 2>/dev
/null
13785 if test $rc -eq 0; then
13790 if test $export -eq 0; then
13791 { $as_echo "$as_me:$LINENO: result: no" >&5
13792 $as_echo "no" >&6; }
13795 { $as_echo "$as_me:$LINENO: result: yes" >&5
13796 $as_echo "yes" >&6; }
13798 cat >>confdefs.h
<<\_ACEOF
13799 #define HAVE_NEXT_ONLINE_PGDAT 1
13804 { $as_echo "$as_me:$LINENO: result: yes" >&5
13805 $as_echo "yes" >&6; }
13807 cat >>confdefs.h
<<\_ACEOF
13808 #define HAVE_NEXT_ONLINE_PGDAT 1
13815 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
13816 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
13817 grep -q -E '[[:space:]]next_zone[[:space:]]' \
13818 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13820 if test $rc -ne 0; then
13823 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
13824 "$LINUX_OBJ/$file" 2>/dev
/null
13826 if test $rc -eq 0; then
13831 if test $export -eq 0; then
13832 { $as_echo "$as_me:$LINENO: result: no" >&5
13833 $as_echo "no" >&6; }
13836 { $as_echo "$as_me:$LINENO: result: yes" >&5
13837 $as_echo "yes" >&6; }
13839 cat >>confdefs.h
<<\_ACEOF
13840 #define HAVE_NEXT_ZONE 1
13845 { $as_echo "$as_me:$LINENO: result: yes" >&5
13846 $as_echo "yes" >&6; }
13848 cat >>confdefs.h
<<\_ACEOF
13849 #define HAVE_NEXT_ZONE 1
13856 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
13857 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
13858 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
13859 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13861 if test $rc -ne 0; then
13864 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
13865 "$LINUX_OBJ/$file" 2>/dev
/null
13867 if test $rc -eq 0; then
13872 if test $export -eq 0; then
13873 { $as_echo "$as_me:$LINENO: result: no" >&5
13874 $as_echo "no" >&6; }
13877 { $as_echo "$as_me:$LINENO: result: yes" >&5
13878 $as_echo "yes" >&6; }
13880 cat >>confdefs.h
<<\_ACEOF
13881 #define HAVE_PGDAT_LIST 1
13886 { $as_echo "$as_me:$LINENO: result: yes" >&5
13887 $as_echo "yes" >&6; }
13889 cat >>confdefs.h
<<\_ACEOF
13890 #define HAVE_PGDAT_LIST 1
13897 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
13898 $as_echo_n "checking whether global_page_state() is available... " >&6; }
13901 cat confdefs.h
- <<_ACEOF >conftest.c
13904 cat confdefs.h
>>conftest.
$ac_ext
13905 cat >>conftest.
$ac_ext <<_ACEOF
13906 /* end confdefs.h. */
13909 #include <linux/mm.h>
13915 unsigned long state;
13916 state = global_page_state(0);
13925 rm -Rf build
&& mkdir
-p build
13926 echo "obj-m := conftest.o" >build
/Makefile
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'
13928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13929 (eval $ac_try) 2>&5
13931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; }; then
13939 { $as_echo "$as_me:$LINENO: result: yes" >&5
13940 $as_echo "yes" >&6; }
13942 cat >>confdefs.h
<<\_ACEOF
13943 #define HAVE_GLOBAL_PAGE_STATE 1
13948 $as_echo "$as_me: failed program was:" >&5
13949 sed 's/^/| /' conftest.
$ac_ext >&5
13951 { $as_echo "$as_me:$LINENO: result: no" >&5
13952 $as_echo "no" >&6; }
13963 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
13964 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
13967 cat confdefs.h
- <<_ACEOF >conftest.c
13970 cat confdefs.h
>>conftest.
$ac_ext
13971 cat >>conftest.
$ac_ext <<_ACEOF
13972 /* end confdefs.h. */
13975 #include <linux/mm.h>
13981 enum zone_stat_item zsi;
13982 zsi = NR_FREE_PAGES;
13991 rm -Rf build
&& mkdir
-p build
13992 echo "obj-m := conftest.o" >build
/Makefile
13993 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; }; then
14005 { $as_echo "$as_me:$LINENO: result: yes" >&5
14006 $as_echo "yes" >&6; }
14008 cat >>confdefs.h
<<\_ACEOF
14009 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
14014 $as_echo "$as_me: failed program was:" >&5
14015 sed 's/^/| /' conftest.
$ac_ext >&5
14017 { $as_echo "$as_me:$LINENO: result: no" >&5
14018 $as_echo "no" >&6; }
14029 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
14030 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
14033 cat confdefs.h
- <<_ACEOF >conftest.c
14036 cat confdefs.h
>>conftest.
$ac_ext
14037 cat >>conftest.
$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14041 #include <linux/mm.h>
14047 enum zone_stat_item zsi;
14057 rm -Rf build
&& mkdir
-p build
14058 echo "obj-m := conftest.o" >build
/Makefile
14059 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061 (eval $ac_try) 2>&5
14063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14066 (eval $ac_try) 2>&5
14068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; }; then
14071 { $as_echo "$as_me:$LINENO: result: yes" >&5
14072 $as_echo "yes" >&6; }
14074 cat >>confdefs.h
<<\_ACEOF
14075 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
14080 $as_echo "$as_me: failed program was:" >&5
14081 sed 's/^/| /' conftest.
$ac_ext >&5
14083 { $as_echo "$as_me:$LINENO: result: no" >&5
14084 $as_echo "no" >&6; }
14094 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
14095 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
14098 cat confdefs.h
- <<_ACEOF >conftest.c
14101 cat confdefs.h
>>conftest.
$ac_ext
14102 cat >>conftest.
$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14106 #include <linux/mm.h>
14112 enum zone_stat_item zsi;
14113 zsi = NR_INACTIVE_ANON;
14122 rm -Rf build
&& mkdir
-p build
14123 echo "obj-m := conftest.o" >build
/Makefile
14124 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14131 (eval $ac_try) 2>&5
14133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); }; }; then
14136 { $as_echo "$as_me:$LINENO: result: yes" >&5
14137 $as_echo "yes" >&6; }
14139 cat >>confdefs.h
<<\_ACEOF
14140 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
14145 $as_echo "$as_me: failed program was:" >&5
14146 sed 's/^/| /' conftest.
$ac_ext >&5
14148 { $as_echo "$as_me:$LINENO: result: no" >&5
14149 $as_echo "no" >&6; }
14159 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
14160 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
14163 cat confdefs.h
- <<_ACEOF >conftest.c
14166 cat confdefs.h
>>conftest.
$ac_ext
14167 cat >>conftest.
$ac_ext <<_ACEOF
14168 /* end confdefs.h. */
14171 #include <linux/mm.h>
14177 enum zone_stat_item zsi;
14178 zsi = NR_INACTIVE_FILE;
14187 rm -Rf build
&& mkdir
-p build
14188 echo "obj-m := conftest.o" >build
/Makefile
14189 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14191 (eval $ac_try) 2>&5
14193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14196 (eval $ac_try) 2>&5
14198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); }; }; then
14201 { $as_echo "$as_me:$LINENO: result: yes" >&5
14202 $as_echo "yes" >&6; }
14204 cat >>confdefs.h
<<\_ACEOF
14205 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
14210 $as_echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.
$ac_ext >&5
14213 { $as_echo "$as_me:$LINENO: result: no" >&5
14214 $as_echo "no" >&6; }
14225 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
14226 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
14229 cat confdefs.h
- <<_ACEOF >conftest.c
14232 cat confdefs.h
>>conftest.
$ac_ext
14233 cat >>conftest.
$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14237 #include <linux/mm.h>
14243 enum zone_stat_item zsi;
14253 rm -Rf build
&& mkdir
-p build
14254 echo "obj-m := conftest.o" >build
/Makefile
14255 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; }; then
14267 { $as_echo "$as_me:$LINENO: result: yes" >&5
14268 $as_echo "yes" >&6; }
14270 cat >>confdefs.h
<<\_ACEOF
14271 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
14276 $as_echo "$as_me: failed program was:" >&5
14277 sed 's/^/| /' conftest.
$ac_ext >&5
14279 { $as_echo "$as_me:$LINENO: result: no" >&5
14280 $as_echo "no" >&6; }
14290 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
14291 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
14294 cat confdefs.h
- <<_ACEOF >conftest.c
14297 cat confdefs.h
>>conftest.
$ac_ext
14298 cat >>conftest.
$ac_ext <<_ACEOF
14299 /* end confdefs.h. */
14302 #include <linux/mm.h>
14308 enum zone_stat_item zsi;
14309 zsi = NR_ACTIVE_ANON;
14318 rm -Rf build
&& mkdir
-p build
14319 echo "obj-m := conftest.o" >build
/Makefile
14320 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14322 (eval $ac_try) 2>&5
14324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; }; then
14332 { $as_echo "$as_me:$LINENO: result: yes" >&5
14333 $as_echo "yes" >&6; }
14335 cat >>confdefs.h
<<\_ACEOF
14336 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
14341 $as_echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.
$ac_ext >&5
14344 { $as_echo "$as_me:$LINENO: result: no" >&5
14345 $as_echo "no" >&6; }
14355 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
14356 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
14359 cat confdefs.h
- <<_ACEOF >conftest.c
14362 cat confdefs.h
>>conftest.
$ac_ext
14363 cat >>conftest.
$ac_ext <<_ACEOF
14364 /* end confdefs.h. */
14367 #include <linux/mm.h>
14373 enum zone_stat_item zsi;
14374 zsi = NR_ACTIVE_FILE;
14383 rm -Rf build
&& mkdir
-p build
14384 echo "obj-m := conftest.o" >build
/Makefile
14385 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; }; then
14397 { $as_echo "$as_me:$LINENO: result: yes" >&5
14398 $as_echo "yes" >&6; }
14400 cat >>confdefs.h
<<\_ACEOF
14401 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
14406 $as_echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.
$ac_ext >&5
14409 { $as_echo "$as_me:$LINENO: result: no" >&5
14410 $as_echo "no" >&6; }
14421 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
14422 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
14425 cat confdefs.h
- <<_ACEOF >conftest.c
14428 cat confdefs.h
>>conftest.
$ac_ext
14429 cat >>conftest.
$ac_ext <<_ACEOF
14430 /* end confdefs.h. */
14438 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
14439 #error "global_page_state needs NR_FREE_PAGES"
14442 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
14443 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
14444 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
14445 #error "global_page_state needs NR_ACTIVE*"
14448 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
14449 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
14450 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
14451 #error "global_page_state needs NR_INACTIVE*"
14461 rm -Rf build
&& mkdir
-p build
14462 echo "obj-m := conftest.o" >build
/Makefile
14463 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14465 (eval $ac_try) 2>&5
14467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; }; then
14475 { $as_echo "$as_me:$LINENO: result: no" >&5
14476 $as_echo "no" >&6; }
14479 $as_echo "$as_me: failed program was:" >&5
14480 sed 's/^/| /' conftest.
$ac_ext >&5
14482 { $as_echo "$as_me:$LINENO: result: yes" >&5
14483 $as_echo "yes" >&6; }
14485 cat >>confdefs.h
<<\_ACEOF
14486 #define NEED_GET_ZONE_COUNTS 1
14490 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
14491 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
14492 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
14493 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14495 if test $rc -ne 0; then
14498 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
14499 "$LINUX_OBJ/$file" 2>/dev
/null
14501 if test $rc -eq 0; then
14506 if test $export -eq 0; then
14507 { $as_echo "$as_me:$LINENO: result: no" >&5
14508 $as_echo "no" >&6; }
14511 { $as_echo "$as_me:$LINENO: result: yes" >&5
14512 $as_echo "yes" >&6; }
14514 cat >>confdefs.h
<<\_ACEOF
14515 #define HAVE_GET_ZONE_COUNTS 1
14520 { $as_echo "$as_me:$LINENO: result: yes" >&5
14521 $as_echo "yes" >&6; }
14523 cat >>confdefs.h
<<\_ACEOF
14524 #define HAVE_GET_ZONE_COUNTS 1
14539 { $as_echo "$as_me:$LINENO: checking whether symbol user_path_at is exported" >&5
14540 $as_echo_n "checking whether symbol user_path_at is exported... " >&6; }
14541 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
14542 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14544 if test $rc -ne 0; then
14547 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
14548 "$LINUX_OBJ/$file" 2>/dev
/null
14550 if test $rc -eq 0; then
14555 if test $export -eq 0; then
14556 { $as_echo "$as_me:$LINENO: result: no" >&5
14557 $as_echo "no" >&6; }
14560 { $as_echo "$as_me:$LINENO: result: yes" >&5
14561 $as_echo "yes" >&6; }
14563 cat >>confdefs.h
<<\_ACEOF
14564 #define HAVE_USER_PATH_DIR 1
14569 { $as_echo "$as_me:$LINENO: result: yes" >&5
14570 $as_echo "yes" >&6; }
14572 cat >>confdefs.h
<<\_ACEOF
14573 #define HAVE_USER_PATH_DIR 1
14580 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
14581 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
14582 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
14583 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14585 if test $rc -ne 0; then
14588 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
14589 "$LINUX_OBJ/$file" 2>/dev
/null
14591 if test $rc -eq 0; then
14596 if test $export -eq 0; then
14597 { $as_echo "$as_me:$LINENO: result: no" >&5
14598 $as_echo "no" >&6; }
14601 { $as_echo "$as_me:$LINENO: result: yes" >&5
14602 $as_echo "yes" >&6; }
14604 cat >>confdefs.h
<<\_ACEOF
14605 #define HAVE_SET_FS_PWD 1
14610 { $as_echo "$as_me:$LINENO: result: yes" >&5
14611 $as_echo "yes" >&6; }
14613 cat >>confdefs.h
<<\_ACEOF
14614 #define HAVE_SET_FS_PWD 1
14620 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
14621 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
14624 cat confdefs.h
- <<_ACEOF >conftest.c
14627 cat confdefs.h
>>conftest.
$ac_ext
14628 cat >>conftest.
$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14632 #include <linux/sched.h>
14633 #include <linux/fs_struct.h>
14639 set_fs_pwd(NULL, NULL);
14648 rm -Rf build
&& mkdir
-p build
14649 echo "obj-m := conftest.o" >build
/Makefile
14650 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14652 (eval $ac_try) 2>&5
14654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14657 (eval $ac_try) 2>&5
14659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; }; then
14662 { $as_echo "$as_me:$LINENO: result: yes" >&5
14663 $as_echo "yes" >&6; }
14665 cat >>confdefs.h
<<\_ACEOF
14666 #define HAVE_2ARGS_SET_FS_PWD 1
14671 $as_echo "$as_me: failed program was:" >&5
14672 sed 's/^/| /' conftest.
$ac_ext >&5
14674 { $as_echo "$as_me:$LINENO: result: no" >&5
14675 $as_echo "no" >&6; }
14685 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
14686 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
14689 cat confdefs.h
- <<_ACEOF >conftest.c
14692 cat confdefs.h
>>conftest.
$ac_ext
14693 cat >>conftest.
$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14697 #include <linux/fs.h>
14703 vfs_unlink(NULL, NULL);
14712 rm -Rf build
&& mkdir
-p build
14713 echo "obj-m := conftest.o" >build
/Makefile
14714 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14716 (eval $ac_try) 2>&5
14718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 (eval $ac_try) 2>&5
14723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); }; }; then
14726 { $as_echo "$as_me:$LINENO: result: yes" >&5
14727 $as_echo "yes" >&6; }
14729 cat >>confdefs.h
<<\_ACEOF
14730 #define HAVE_2ARGS_VFS_UNLINK 1
14735 $as_echo "$as_me: failed program was:" >&5
14736 sed 's/^/| /' conftest.
$ac_ext >&5
14738 { $as_echo "$as_me:$LINENO: result: no" >&5
14739 $as_echo "no" >&6; }
14749 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
14750 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
14753 cat confdefs.h
- <<_ACEOF >conftest.c
14756 cat confdefs.h
>>conftest.
$ac_ext
14757 cat >>conftest.
$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14761 #include <linux/fs.h>
14767 vfs_rename(NULL, NULL, NULL, NULL);
14776 rm -Rf build
&& mkdir
-p build
14777 echo "obj-m := conftest.o" >build
/Makefile
14778 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14780 (eval $ac_try) 2>&5
14782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5
14787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; }; then
14790 { $as_echo "$as_me:$LINENO: result: yes" >&5
14791 $as_echo "yes" >&6; }
14793 cat >>confdefs.h
<<\_ACEOF
14794 #define HAVE_4ARGS_VFS_RENAME 1
14799 $as_echo "$as_me: failed program was:" >&5
14800 sed 's/^/| /' conftest.
$ac_ext >&5
14802 { $as_echo "$as_me:$LINENO: result: no" >&5
14803 $as_echo "no" >&6; }
14814 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
14815 $as_echo_n "checking whether struct cred exists... " >&6; }
14818 cat confdefs.h
- <<_ACEOF >conftest.c
14821 cat confdefs.h
>>conftest.
$ac_ext
14822 cat >>conftest.
$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14826 #include <linux/cred.h>
14842 rm -Rf build
&& mkdir
-p build
14843 echo "obj-m := conftest.o" >build
/Makefile
14844 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14846 (eval $ac_try) 2>&5
14848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 (eval $ac_try) 2>&5
14853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); }; }; then
14856 { $as_echo "$as_me:$LINENO: result: yes" >&5
14857 $as_echo "yes" >&6; }
14859 cat >>confdefs.h
<<\_ACEOF
14860 #define HAVE_CRED_STRUCT 1
14865 $as_echo "$as_me: failed program was:" >&5
14866 sed 's/^/| /' conftest.
$ac_ext >&5
14868 { $as_echo "$as_me:$LINENO: result: no" >&5
14869 $as_echo "no" >&6; }
14880 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
14881 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
14882 grep -q -E '[[:space:]]groups_search[[:space:]]' \
14883 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14885 if test $rc -ne 0; then
14888 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
14889 "$LINUX_OBJ/$file" 2>/dev
/null
14891 if test $rc -eq 0; then
14896 if test $export -eq 0; then
14897 { $as_echo "$as_me:$LINENO: result: no" >&5
14898 $as_echo "no" >&6; }
14901 { $as_echo "$as_me:$LINENO: result: yes" >&5
14902 $as_echo "yes" >&6; }
14904 cat >>confdefs.h
<<\_ACEOF
14905 #define HAVE_GROUPS_SEARCH 1
14910 { $as_echo "$as_me:$LINENO: result: yes" >&5
14911 $as_echo "yes" >&6; }
14913 cat >>confdefs.h
<<\_ACEOF
14914 #define HAVE_GROUPS_SEARCH 1
14921 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
14922 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
14923 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
14924 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14926 if test $rc -ne 0; then
14929 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
14930 "$LINUX_OBJ/$file" 2>/dev
/null
14932 if test $rc -eq 0; then
14937 if test $export -eq 0; then
14938 { $as_echo "$as_me:$LINENO: result: no" >&5
14939 $as_echo "no" >&6; }
14942 { $as_echo "$as_me:$LINENO: result: yes" >&5
14943 $as_echo "yes" >&6; }
14945 cat >>confdefs.h
<<\_ACEOF
14946 #define HAVE_PUT_TASK_STRUCT 1
14951 { $as_echo "$as_me:$LINENO: result: yes" >&5
14952 $as_echo "yes" >&6; }
14954 cat >>confdefs.h
<<\_ACEOF
14955 #define HAVE_PUT_TASK_STRUCT 1
14962 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
14963 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
14966 cat confdefs.h
- <<_ACEOF >conftest.c
14969 cat confdefs.h
>>conftest.
$ac_ext
14970 cat >>conftest.
$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14974 #include <linux/sysctl.h>
14980 proc_dostring(NULL, 0, NULL, NULL, NULL);
14989 rm -Rf build
&& mkdir
-p build
14990 echo "obj-m := conftest.o" >build
/Makefile
14991 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
15000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; }; then
15003 { $as_echo "$as_me:$LINENO: result: yes" >&5
15004 $as_echo "yes" >&6; }
15006 cat >>confdefs.h
<<\_ACEOF
15007 #define HAVE_5ARGS_PROC_HANDLER 1
15012 $as_echo "$as_me: failed program was:" >&5
15013 sed 's/^/| /' conftest.
$ac_ext >&5
15015 { $as_echo "$as_me:$LINENO: result: no" >&5
15016 $as_echo "no" >&6; }
15027 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
15028 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
15029 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
15030 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15032 if test $rc -ne 0; then
15035 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
15036 "$LINUX_OBJ/$file" 2>/dev
/null
15038 if test $rc -eq 0; then
15043 if test $export -eq 0; then
15044 { $as_echo "$as_me:$LINENO: result: no" >&5
15045 $as_echo "no" >&6; }
15048 { $as_echo "$as_me:$LINENO: result: yes" >&5
15049 $as_echo "yes" >&6; }
15051 cat >>confdefs.h
<<\_ACEOF
15052 #define HAVE_KVASPRINTF 1
15057 { $as_echo "$as_me:$LINENO: result: yes" >&5
15058 $as_echo "yes" >&6; }
15060 cat >>confdefs.h
<<\_ACEOF
15061 #define HAVE_KVASPRINTF 1
15068 { $as_echo "$as_me:$LINENO: checking whether file_fsync() wants 3 args" >&5
15069 $as_echo_n "checking whether file_fsync() wants 3 args... " >&6; }
15072 cat confdefs.h
- <<_ACEOF >conftest.c
15075 cat confdefs.h
>>conftest.
$ac_ext
15076 cat >>conftest.
$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15080 #include <linux/buffer_head.h>
15086 file_fsync(NULL, NULL, 0);
15095 rm -Rf build
&& mkdir
-p build
15096 echo "obj-m := conftest.o" >build
/Makefile
15097 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15099 (eval $ac_try) 2>&5
15101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; }; then
15109 { $as_echo "$as_me:$LINENO: result: yes" >&5
15110 $as_echo "yes" >&6; }
15112 cat >>confdefs.h
<<\_ACEOF
15113 #define HAVE_3ARGS_FILE_FSYNC 1
15118 $as_echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.
$ac_ext >&5
15121 { $as_echo "$as_me:$LINENO: result: no" >&5
15122 $as_echo "no" >&6; }
15135 if test "x$AWK" != xgawk
; then
15137 { { $as_echo "$as_me:$LINENO: error:
15138 *** Required util gawk missing. Please install the required
15139 *** gawk package for your distribution and try again." >&5
15140 $as_echo "$as_me: error:
15141 *** Required util gawk missing. Please install the required
15142 *** gawk package for your distribution and try again." >&2;}
15143 { (exit 1); exit 1; }; }
15152 # Check whether --with-linux was given.
15153 if test "${with_linux+set}" = set; then
15154 withval
=$with_linux; kernelsrc
="$withval"
15159 # Check whether --with-linux-obj was given.
15160 if test "${with_linux_obj+set}" = set; then
15161 withval
=$with_linux_obj; kernelbuild
="$withval"
15165 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
15166 $as_echo_n "checking kernel source directory... " >&6; }
15167 if test -z "$kernelsrc"; then
15168 headersdir
="/lib/modules/$(uname -r)/build"
15169 if test -e "$headersdir"; then
15170 sourcelink
=$
(readlink
-f "$headersdir")
15172 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
15174 2>/dev
/null |
grep -v obj |
tail -1)
15177 if test -n "$sourcelink" && test -e ${sourcelink}; then
15178 kernelsrc
=`readlink -f ${sourcelink}`
15180 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15181 $as_echo "Not found" >&6; }
15182 { { $as_echo "$as_me:$LINENO: error:
15183 *** Please make sure the kernel devel package for your distribution
15184 *** is installed then try again. If that fails you can specify the
15185 *** location of the kernel source with the '--with-linux=PATH' option." >&5
15186 $as_echo "$as_me: error:
15187 *** Please make sure the kernel devel package for your distribution
15188 *** is installed then try again. If that fails you can specify the
15189 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
15190 { (exit 1); exit 1; }; }
15193 if test "$kernelsrc" = "NONE"; then
15198 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
15199 $as_echo "$kernelsrc" >&6; }
15200 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
15201 $as_echo_n "checking kernel build directory... " >&6; }
15202 if test -z "$kernelbuild"; then
15203 if test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
15204 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
15205 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
15206 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
15207 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
15208 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
15210 kernelbuild
=${kernelsrc}
15213 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
15214 $as_echo "$kernelbuild" >&6; }
15216 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
15217 $as_echo_n "checking kernel source version... " >&6; }
15218 utsrelease1
=$kernelbuild/include
/linux
/version.h
15219 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
15220 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
15221 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
15222 utsrelease
=linux
/version.h
15223 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
15224 utsrelease
=linux
/utsrelease.h
15225 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
15226 utsrelease
=generated
/utsrelease.h
15229 if test "$utsrelease"; then
15230 kernsrcver
=`(echo "#include <$utsrelease>";
15231 echo "kernsrcver=UTS_RELEASE") |
15232 cpp -I $kernelbuild/include |
15233 grep "^kernsrcver=" | cut -d \" -f 2`
15235 if test -z "$kernsrcver"; then
15236 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15237 $as_echo "Not found" >&6; }
15238 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
15239 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
15240 { (exit 1); exit 1; }; }
15243 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15244 $as_echo "Not found" >&6; }
15245 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
15246 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
15247 { (exit 1); exit 1; }; }
15250 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
15251 $as_echo "$kernsrcver" >&6; }
15254 LINUX_OBJ
=${kernelbuild}
15255 LINUX_VERSION
=${kernsrcver}
15262 modpost
=$LINUX/scripts
/Makefile.modpost
15263 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
15264 $as_echo_n "checking kernel file name for module symbols... " >&6; }
15265 if test -f "$modpost"; then
15266 if grep -q Modules.symvers
$modpost; then
15267 LINUX_SYMBOLS
=Modules.symvers
15269 LINUX_SYMBOLS
=Module.symvers
15274 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
15275 $as_echo "$LINUX_SYMBOLS" >&6; }
15280 abs_srcdir
=`readlink -f ${srcdir}`
15281 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
15282 KERNELCPPFLAGS
="$KERNELCPPFLAGS -I${abs_srcdir}/include"
15283 KERNELCPPFLAGS
="$KERNELCPPFLAGS -include ${abs_srcdir}/spl_config.h"
15285 if test "${LINUX_OBJ}" != "${LINUX}"; then
15286 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
15293 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
15294 $as_echo_n "checking whether debugging is enabled... " >&6; }
15295 # Check whether --enable-debug was given.
15296 if test "${enable_debug+set}" = set; then
15297 enableval
=$enable_debug;
15303 if test "x$enable_debug" = xyes
; then
15305 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
15306 DEBUG_CFLAGS
="-DDEBUG -Werror"
15310 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
15311 DEBUG_CFLAGS
="-DNDEBUG"
15317 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
15318 $as_echo "$enable_debug" >&6; }
15321 # Check whether --enable-debug-kmem was given.
15322 if test "${enable_debug_kmem+set}" = set; then
15323 enableval
=$enable_debug_kmem;
15325 enable_debug_kmem
=yes
15329 if test "x$enable_debug_kmem" = xyes
; then
15331 cat >>confdefs.h
<<\_ACEOF
15332 #define DEBUG_KMEM 1
15335 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
15339 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
15340 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
15341 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
15342 $as_echo "$enable_debug_kmem" >&6; }
15345 # Check whether --enable-debug-kmem-tracking was given.
15346 if test "${enable_debug_kmem_tracking+set}" = set; then
15347 enableval
=$enable_debug_kmem_tracking;
15349 enable_debug_kmem_tracking
=no
15353 if test "x$enable_debug_kmem_tracking" = xyes
; then
15355 cat >>confdefs.h
<<\_ACEOF
15356 #define DEBUG_KMEM_TRACKING 1
15359 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
15363 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
15364 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
15365 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
15366 $as_echo "$enable_debug_kmem_tracking" >&6; }
15369 # Check whether --enable-atomic-spinlocks was given.
15370 if test "${enable_atomic_spinlocks+set}" = set; then
15371 enableval
=$enable_atomic_spinlocks;
15373 enable_atomic_spinlocks
=check
15379 cat confdefs.h
- <<_ACEOF >conftest.c
15382 cat confdefs.h
>>conftest.
$ac_ext
15383 cat >>conftest.
$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15387 #include <asm/atomic.h>
15402 rm -Rf build
&& mkdir
-p build
15403 echo "obj-m := conftest.o" >build
/Makefile
15404 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15411 (eval $ac_try) 2>&5
15413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }; }; then
15416 have_atomic64_t
=yes
15418 cat >>confdefs.h
<<\_ACEOF
15419 #define HAVE_ATOMIC64_T 1
15424 $as_echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.
$ac_ext >&5
15437 if test "x$enable_atomic_spinlocks" = xcheck
; then
15439 if test "x$have_atomic64_t" = xyes
; then
15441 enable_atomic_spinlocks
=no
15445 enable_atomic_spinlocks
=yes
15453 if test "x$enable_atomic_spinlocks" = xyes
; then
15456 cat >>confdefs.h
<<\_ACEOF
15457 #define ATOMIC_SPINLOCK 1
15463 if test "x$have_atomic64_t" = xno
; then
15465 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15467 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
15468 See \`config.log' for more details." >&5
15469 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
15470 See \`config.log' for more details." >&2;}
15471 { (exit 1); exit 1; }; }; }
15479 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
15480 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
15481 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
15482 $as_echo "$enable_atomic_spinlocks" >&6; }
15484 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
15485 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
15486 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
15487 $as_echo "$have_atomic64_t" >&6; }
15489 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
15490 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
15493 cat confdefs.h
- <<_ACEOF >conftest.c
15496 cat confdefs.h
>>conftest.
$ac_ext
15497 cat >>conftest.
$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15501 #include <asm/atomic.h>
15507 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
15516 rm -Rf build
&& mkdir
-p build
15517 echo "obj-m := conftest.o" >build
/Makefile
15518 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; }; then
15530 { $as_echo "$as_me:$LINENO: result: yes" >&5
15531 $as_echo "yes" >&6; }
15533 cat >>confdefs.h
<<\_ACEOF
15534 #define HAVE_ATOMIC64_CMPXCHG 1
15539 $as_echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.
$ac_ext >&5
15542 { $as_echo "$as_me:$LINENO: result: no" >&5
15543 $as_echo "no" >&6; }
15553 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
15554 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
15557 cat confdefs.h
- <<_ACEOF >conftest.c
15560 cat confdefs.h
>>conftest.
$ac_ext
15561 cat >>conftest.
$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15565 #include <asm/atomic.h>
15571 atomic64_xchg((atomic64_t *)NULL, 0);
15580 rm -Rf build
&& mkdir
-p build
15581 echo "obj-m := conftest.o" >build
/Makefile
15582 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15584 (eval $ac_try) 2>&5
15586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5
15591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; }; then
15594 { $as_echo "$as_me:$LINENO: result: yes" >&5
15595 $as_echo "yes" >&6; }
15597 cat >>confdefs.h
<<\_ACEOF
15598 #define HAVE_ATOMIC64_XCHG 1
15603 $as_echo "$as_me: failed program was:" >&5
15604 sed 's/^/| /' conftest.
$ac_ext >&5
15606 { $as_echo "$as_me:$LINENO: result: no" >&5
15607 $as_echo "no" >&6; }
15617 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
15618 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
15621 cat confdefs.h
- <<_ACEOF >conftest.c
15624 cat confdefs.h
>>conftest.
$ac_ext
15625 cat >>conftest.
$ac_ext <<_ACEOF
15626 /* end confdefs.h. */
15629 #include <linux/types.h>
15644 rm -Rf build
&& mkdir
-p build
15645 echo "obj-m := conftest.o" >build
/Makefile
15646 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15658 { $as_echo "$as_me:$LINENO: result: yes" >&5
15659 $as_echo "yes" >&6; }
15661 cat >>confdefs.h
<<\_ACEOF
15662 #define HAVE_UINTPTR_T 1
15667 $as_echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.
$ac_ext >&5
15670 { $as_echo "$as_me:$LINENO: result: no" >&5
15671 $as_echo "no" >&6; }
15681 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
15682 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
15685 cat confdefs.h
- <<_ACEOF >conftest.c
15688 cat confdefs.h
>>conftest.
$ac_ext
15689 cat >>conftest.
$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15693 #include <linux/workqueue.h>
15699 struct work_struct work;
15700 INIT_WORK(&work, NULL, NULL);
15709 rm -Rf build
&& mkdir
-p build
15710 echo "obj-m := conftest.o" >build
/Makefile
15711 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15723 { $as_echo "$as_me:$LINENO: result: yes" >&5
15724 $as_echo "yes" >&6; }
15726 cat >>confdefs.h
<<\_ACEOF
15727 #define HAVE_3ARGS_INIT_WORK 1
15732 $as_echo "$as_me: failed program was:" >&5
15733 sed 's/^/| /' conftest.
$ac_ext >&5
15735 { $as_echo "$as_me:$LINENO: result: no" >&5
15736 $as_echo "no" >&6; }
15746 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
15747 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
15750 cat confdefs.h
- <<_ACEOF >conftest.c
15753 cat confdefs.h
>>conftest.
$ac_ext
15754 cat >>conftest.
$ac_ext <<_ACEOF
15755 /* end confdefs.h. */
15758 #include <linux/sysctl.h>
15764 return register_sysctl_table(NULL,0);
15773 rm -Rf build
&& mkdir
-p build
15774 echo "obj-m := conftest.o" >build
/Makefile
15775 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; }; then
15787 { $as_echo "$as_me:$LINENO: result: yes" >&5
15788 $as_echo "yes" >&6; }
15790 cat >>confdefs.h
<<\_ACEOF
15791 #define HAVE_2ARGS_REGISTER_SYSCTL 1
15796 $as_echo "$as_me: failed program was:" >&5
15797 sed 's/^/| /' conftest.
$ac_ext >&5
15799 { $as_echo "$as_me:$LINENO: result: no" >&5
15800 $as_echo "no" >&6; }
15811 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
15812 $as_echo_n "checking whether set_shrinker() available... " >&6; }
15815 cat confdefs.h
- <<_ACEOF >conftest.c
15818 cat confdefs.h
>>conftest.
$ac_ext
15819 cat >>conftest.
$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15823 #include <linux/mm.h>
15829 return set_shrinker(DEFAULT_SEEKS, NULL);
15838 rm -Rf build
&& mkdir
-p build
15839 echo "obj-m := conftest.o" >build
/Makefile
15840 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; }; then
15852 { $as_echo "$as_me:$LINENO: result: yes" >&5
15853 $as_echo "yes" >&6; }
15855 cat >>confdefs.h
<<\_ACEOF
15856 #define HAVE_SET_SHRINKER 1
15861 $as_echo "$as_me: failed program was:" >&5
15862 sed 's/^/| /' conftest.
$ac_ext >&5
15864 { $as_echo "$as_me:$LINENO: result: no" >&5
15865 $as_echo "no" >&6; }
15875 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
15876 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
15879 cat confdefs.h
- <<_ACEOF >conftest.c
15882 cat confdefs.h
>>conftest.
$ac_ext
15883 cat >>conftest.
$ac_ext <<_ACEOF
15884 /* end confdefs.h. */
15887 #include <linux/namei.h>
15893 struct nameidata nd;
15895 nd.path.mnt = NULL;
15896 nd.path.dentry = NULL;
15905 rm -Rf build
&& mkdir
-p build
15906 echo "obj-m := conftest.o" >build
/Makefile
15907 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909 (eval $ac_try) 2>&5
15911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914 (eval $ac_try) 2>&5
15916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); }; }; then
15919 { $as_echo "$as_me:$LINENO: result: yes" >&5
15920 $as_echo "yes" >&6; }
15922 cat >>confdefs.h
<<\_ACEOF
15923 #define HAVE_PATH_IN_NAMEIDATA 1
15928 $as_echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.
$ac_ext >&5
15931 { $as_echo "$as_me:$LINENO: result: no" >&5
15932 $as_echo "no" >&6; }
15943 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
15944 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
15945 grep -q -E '[[:space:]]task_curr[[:space:]]' \
15946 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15948 if test $rc -ne 0; then
15950 for file in kernel
/sched.c
; do
15951 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
15952 "$LINUX_OBJ/$file" 2>/dev
/null
15954 if test $rc -eq 0; then
15959 if test $export -eq 0; then
15960 { $as_echo "$as_me:$LINENO: result: no" >&5
15961 $as_echo "no" >&6; }
15964 { $as_echo "$as_me:$LINENO: result: yes" >&5
15965 $as_echo "yes" >&6; }
15967 cat >>confdefs.h
<<\_ACEOF
15968 #define HAVE_TASK_CURR 1
15973 { $as_echo "$as_me:$LINENO: result: yes" >&5
15974 $as_echo "yes" >&6; }
15976 cat >>confdefs.h
<<\_ACEOF
15977 #define HAVE_TASK_CURR 1
15983 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
15984 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
15987 cat confdefs.h
- <<_ACEOF >conftest.c
15990 cat confdefs.h
>>conftest.
$ac_ext
15991 cat >>conftest.
$ac_ext <<_ACEOF
15992 /* end confdefs.h. */
15995 #include <linux/sysctl.h>
16001 #ifndef CTL_UNNUMBERED
16002 #error CTL_UNNUMBERED undefined
16012 rm -Rf build
&& mkdir
-p build
16013 echo "obj-m := conftest.o" >build
/Makefile
16014 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then
16026 { $as_echo "$as_me:$LINENO: result: yes" >&5
16027 $as_echo "yes" >&6; }
16029 cat >>confdefs.h
<<\_ACEOF
16030 #define HAVE_CTL_UNNUMBERED 1
16035 $as_echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.
$ac_ext >&5
16038 { $as_echo "$as_me:$LINENO: result: no" >&5
16039 $as_echo "no" >&6; }
16050 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
16051 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
16054 cat confdefs.h
- <<_ACEOF >conftest.c
16057 cat confdefs.h
>>conftest.
$ac_ext
16058 cat >>conftest.
$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16062 #include <linux/sysctl.h>
16068 struct ctl_table ctl;
16078 rm -Rf build
&& mkdir
-p build
16079 echo "obj-m := conftest.o" >build
/Makefile
16080 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16092 { $as_echo "$as_me:$LINENO: result: yes" >&5
16093 $as_echo "yes" >&6; }
16095 cat >>confdefs.h
<<\_ACEOF
16096 #define HAVE_CTL_NAME 1
16101 $as_echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.
$ac_ext >&5
16104 { $as_echo "$as_me:$LINENO: result: no" >&5
16105 $as_echo "no" >&6; }
16115 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
16116 $as_echo_n "checking whether fls64() is available... " >&6; }
16119 cat confdefs.h
- <<_ACEOF >conftest.c
16122 cat confdefs.h
>>conftest.
$ac_ext
16123 cat >>conftest.
$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16127 #include <linux/bitops.h>
16142 rm -Rf build
&& mkdir
-p build
16143 echo "obj-m := conftest.o" >build
/Makefile
16144 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; }; then
16156 { $as_echo "$as_me:$LINENO: result: yes" >&5
16157 $as_echo "yes" >&6; }
16159 cat >>confdefs.h
<<\_ACEOF
16160 #define HAVE_FLS64 1
16165 $as_echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.
$ac_ext >&5
16168 { $as_echo "$as_me:$LINENO: result: no" >&5
16169 $as_echo "no" >&6; }
16180 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
16181 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
16182 grep -q -E '[[:space:]]device_create[[:space:]]' \
16183 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16185 if test $rc -ne 0; then
16187 for file in drivers
/base
/core.c
; do
16188 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
16189 "$LINUX_OBJ/$file" 2>/dev
/null
16191 if test $rc -eq 0; then
16196 if test $export -eq 0; then
16197 { $as_echo "$as_me:$LINENO: result: no" >&5
16198 $as_echo "no" >&6; }
16201 { $as_echo "$as_me:$LINENO: result: yes" >&5
16202 $as_echo "yes" >&6; }
16204 cat >>confdefs.h
<<\_ACEOF
16205 #define HAVE_DEVICE_CREATE 1
16210 { $as_echo "$as_me:$LINENO: result: yes" >&5
16211 $as_echo "yes" >&6; }
16213 cat >>confdefs.h
<<\_ACEOF
16214 #define HAVE_DEVICE_CREATE 1
16221 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
16222 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
16223 tmp_flags
="$EXTRA_KCFLAGS"
16224 EXTRA_KCFLAGS
="-Werror"
16227 cat confdefs.h
- <<_ACEOF >conftest.c
16230 cat confdefs.h
>>conftest.
$ac_ext
16231 cat >>conftest.
$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16235 #include <linux/device.h>
16241 device_create(NULL, NULL, 0, NULL, "%d", 1);
16250 rm -Rf build
&& mkdir
-p build
16251 echo "obj-m := conftest.o" >build
/Makefile
16252 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; }; then
16264 { $as_echo "$as_me:$LINENO: result: yes" >&5
16265 $as_echo "yes" >&6; }
16267 cat >>confdefs.h
<<\_ACEOF
16268 #define HAVE_5ARGS_DEVICE_CREATE 1
16273 $as_echo "$as_me: failed program was:" >&5
16274 sed 's/^/| /' conftest.
$ac_ext >&5
16276 { $as_echo "$as_me:$LINENO: result: no" >&5
16277 $as_echo "no" >&6; }
16286 EXTRA_KCFLAGS
="$tmp_flags"
16289 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
16290 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
16291 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
16292 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16294 if test $rc -ne 0; then
16296 for file in drivers
/base
/class.c
; do
16297 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
16298 "$LINUX_OBJ/$file" 2>/dev
/null
16300 if test $rc -eq 0; then
16305 if test $export -eq 0; then
16306 { $as_echo "$as_me:$LINENO: result: no" >&5
16307 $as_echo "no" >&6; }
16310 { $as_echo "$as_me:$LINENO: result: yes" >&5
16311 $as_echo "yes" >&6; }
16313 cat >>confdefs.h
<<\_ACEOF
16314 #define HAVE_CLASS_DEVICE_CREATE 1
16319 { $as_echo "$as_me:$LINENO: result: yes" >&5
16320 $as_echo "yes" >&6; }
16322 cat >>confdefs.h
<<\_ACEOF
16323 #define HAVE_CLASS_DEVICE_CREATE 1
16330 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
16331 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
16332 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
16333 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16335 if test $rc -ne 0; then
16337 for file in kernel
/time.c
; do
16338 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
16339 "$LINUX_OBJ/$file" 2>/dev
/null
16341 if test $rc -eq 0; then
16346 if test $export -eq 0; then
16347 { $as_echo "$as_me:$LINENO: result: no" >&5
16348 $as_echo "no" >&6; }
16351 { $as_echo "$as_me:$LINENO: result: yes" >&5
16352 $as_echo "yes" >&6; }
16354 cat >>confdefs.h
<<\_ACEOF
16355 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
16360 { $as_echo "$as_me:$LINENO: result: yes" >&5
16361 $as_echo "yes" >&6; }
16363 cat >>confdefs.h
<<\_ACEOF
16364 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
16371 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
16372 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
16375 cat confdefs.h
- <<_ACEOF >conftest.c
16378 cat confdefs.h
>>conftest.
$ac_ext
16379 cat >>conftest.
$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16383 #include <linux/time.h>
16384 void set_normalized_timespec(struct timespec *ts,
16385 time_t sec, long nsec) { }
16398 rm -Rf build
&& mkdir
-p build
16399 echo "obj-m := conftest.o" >build
/Makefile
16400 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; }; then
16412 { $as_echo "$as_me:$LINENO: result: no" >&5
16413 $as_echo "no" >&6; }
16416 $as_echo "$as_me: failed program was:" >&5
16417 sed 's/^/| /' conftest.
$ac_ext >&5
16419 { $as_echo "$as_me:$LINENO: result: yes" >&5
16420 $as_echo "yes" >&6; }
16422 cat >>confdefs.h
<<\_ACEOF
16423 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
16436 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
16437 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
16440 cat confdefs.h
- <<_ACEOF >conftest.c
16443 cat confdefs.h
>>conftest.
$ac_ext
16444 cat >>conftest.
$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16448 #include <linux/time.h>
16454 struct timespec a, b, c = { 0 };
16455 c = timespec_sub(a, b);
16464 rm -Rf build
&& mkdir
-p build
16465 echo "obj-m := conftest.o" >build
/Makefile
16466 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468 (eval $ac_try) 2>&5
16470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; }; then
16478 { $as_echo "$as_me:$LINENO: result: yes" >&5
16479 $as_echo "yes" >&6; }
16481 cat >>confdefs.h
<<\_ACEOF
16482 #define HAVE_TIMESPEC_SUB 1
16487 $as_echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.
$ac_ext >&5
16490 { $as_echo "$as_me:$LINENO: result: no" >&5
16491 $as_echo "no" >&6; }
16502 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
16503 $as_echo_n "checking whether init_utsname() is available... " >&6; }
16506 cat confdefs.h
- <<_ACEOF >conftest.c
16509 cat confdefs.h
>>conftest.
$ac_ext
16510 cat >>conftest.
$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16514 #include <linux/utsname.h>
16520 struct new_utsname *a = init_utsname();
16529 rm -Rf build
&& mkdir
-p build
16530 echo "obj-m := conftest.o" >build
/Makefile
16531 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16538 (eval $ac_try) 2>&5
16540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; }; then
16543 { $as_echo "$as_me:$LINENO: result: yes" >&5
16544 $as_echo "yes" >&6; }
16546 cat >>confdefs.h
<<\_ACEOF
16547 #define HAVE_INIT_UTSNAME 1
16552 $as_echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.
$ac_ext >&5
16555 { $as_echo "$as_me:$LINENO: result: no" >&5
16556 $as_echo "no" >&6; }
16567 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
16568 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
16571 cat confdefs.h
- <<_ACEOF >conftest.c
16574 cat confdefs.h
>>conftest.
$ac_ext
16575 cat >>conftest.
$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16579 #include <linux/fdtable.h>
16594 rm -Rf build
&& mkdir
-p build
16595 echo "obj-m := conftest.o" >build
/Makefile
16596 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; }; then
16609 cat >>confdefs.h
<<\_ACEOF
16610 #define HAVE_FDTABLE_HEADER 1
16613 { $as_echo "$as_me:$LINENO: result: yes" >&5
16614 $as_echo "yes" >&6; }
16618 $as_echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.
$ac_ext >&5
16621 { $as_echo "$as_me:$LINENO: result: no" >&5
16622 $as_echo "no" >&6; }
16635 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
16636 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
16639 cat confdefs.h
- <<_ACEOF >conftest.c
16642 cat confdefs.h
>>conftest.
$ac_ext
16643 cat >>conftest.
$ac_ext <<_ACEOF
16644 /* end confdefs.h. */
16647 #include <linux/sched.h>
16648 #include <linux/file.h>
16649 #ifdef HAVE_FDTABLE_HEADER
16650 #include <linux/fdtable.h>
16657 struct files_struct *files = current->files;
16658 struct fdtable *fdt = files_fdtable(files);
16667 rm -Rf build
&& mkdir
-p build
16668 echo "obj-m := conftest.o" >build
/Makefile
16669 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16681 { $as_echo "$as_me:$LINENO: result: yes" >&5
16682 $as_echo "yes" >&6; }
16684 cat >>confdefs.h
<<\_ACEOF
16685 #define HAVE_FILES_FDTABLE 1
16690 $as_echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.
$ac_ext >&5
16693 { $as_echo "$as_me:$LINENO: result: no" >&5
16694 $as_echo "no" >&6; }
16705 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
16706 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
16709 cat confdefs.h
- <<_ACEOF >conftest.c
16712 cat confdefs.h
>>conftest.
$ac_ext
16713 cat >>conftest.
$ac_ext <<_ACEOF
16714 /* end confdefs.h. */
16717 #include <linux/uaccess.h>
16732 rm -Rf build
&& mkdir
-p build
16733 echo "obj-m := conftest.o" >build
/Makefile
16734 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; }; then
16747 cat >>confdefs.h
<<\_ACEOF
16748 #define HAVE_UACCESS_HEADER 1
16751 { $as_echo "$as_me:$LINENO: result: yes" >&5
16752 $as_echo "yes" >&6; }
16756 $as_echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.
$ac_ext >&5
16759 { $as_echo "$as_me:$LINENO: result: no" >&5
16760 $as_echo "no" >&6; }
16773 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
16774 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
16777 cat confdefs.h
- <<_ACEOF >conftest.c
16780 cat confdefs.h
>>conftest.
$ac_ext
16781 cat >>conftest.
$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16785 #include <linux/slab.h>
16791 void *a = kmalloc_node(1, GFP_KERNEL, 0);
16800 rm -Rf build
&& mkdir
-p build
16801 echo "obj-m := conftest.o" >build
/Makefile
16802 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; }; then
16814 { $as_echo "$as_me:$LINENO: result: yes" >&5
16815 $as_echo "yes" >&6; }
16817 cat >>confdefs.h
<<\_ACEOF
16818 #define HAVE_KMALLOC_NODE 1
16823 $as_echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.
$ac_ext >&5
16826 { $as_echo "$as_me:$LINENO: result: no" >&5
16827 $as_echo "no" >&6; }
16838 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
16839 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
16840 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
16841 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16843 if test $rc -ne 0; then
16846 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
16847 "$LINUX_OBJ/$file" 2>/dev
/null
16849 if test $rc -eq 0; then
16854 if test $export -eq 0; then
16855 { $as_echo "$as_me:$LINENO: result: no" >&5
16856 $as_echo "no" >&6; }
16859 { $as_echo "$as_me:$LINENO: result: yes" >&5
16860 $as_echo "yes" >&6; }
16862 cat >>confdefs.h
<<\_ACEOF
16863 #define HAVE_MONOTONIC_CLOCK 1
16868 { $as_echo "$as_me:$LINENO: result: yes" >&5
16869 $as_echo "yes" >&6; }
16871 cat >>confdefs.h
<<\_ACEOF
16872 #define HAVE_MONOTONIC_CLOCK 1
16879 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
16880 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
16883 cat confdefs.h
- <<_ACEOF >conftest.c
16886 cat confdefs.h
>>conftest.
$ac_ext
16887 cat >>conftest.
$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16891 #include <linux/fs.h>
16892 #include <linux/mutex.h>
16899 mutex_init(&i.i_mutex);
16908 rm -Rf build
&& mkdir
-p build
16909 echo "obj-m := conftest.o" >build
/Makefile
16910 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; }; then
16922 { $as_echo "$as_me:$LINENO: result: yes" >&5
16923 $as_echo "yes" >&6; }
16925 cat >>confdefs.h
<<\_ACEOF
16926 #define HAVE_INODE_I_MUTEX 1
16931 $as_echo "$as_me: failed program was:" >&5
16932 sed 's/^/| /' conftest.
$ac_ext >&5
16934 { $as_echo "$as_me:$LINENO: result: no" >&5
16935 $as_echo "no" >&6; }
16946 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
16947 $as_echo_n "checking whether struct mutex has owner... " >&6; }
16950 cat confdefs.h
- <<_ACEOF >conftest.c
16953 cat confdefs.h
>>conftest.
$ac_ext
16954 cat >>conftest.
$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16958 #include <linux/mutex.h>
16974 rm -Rf build
&& mkdir
-p build
16975 echo "obj-m := conftest.o" >build
/Makefile
16976 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16978 (eval $ac_try) 2>&5
16980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16988 { $as_echo "$as_me:$LINENO: result: yes" >&5
16989 $as_echo "yes" >&6; }
16991 cat >>confdefs.h
<<\_ACEOF
16992 #define HAVE_MUTEX_OWNER 1
16997 $as_echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.
$ac_ext >&5
17000 { $as_echo "$as_me:$LINENO: result: no" >&5
17001 $as_echo "no" >&6; }
17012 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
17013 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
17016 cat confdefs.h
- <<_ACEOF >conftest.c
17019 cat confdefs.h
>>conftest.
$ac_ext
17020 cat >>conftest.
$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17024 #include <linux/mutex.h>
17030 struct mutex mutex;
17031 mutex_init(&mutex);
17032 mutex_lock_nested(&mutex, 0);
17041 rm -Rf build
&& mkdir
-p build
17042 echo "obj-m := conftest.o" >build
/Makefile
17043 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17045 (eval $ac_try) 2>&5
17047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050 (eval $ac_try) 2>&5
17052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); }; }; then
17055 { $as_echo "$as_me:$LINENO: result: yes" >&5
17056 $as_echo "yes" >&6; }
17058 cat >>confdefs.h
<<\_ACEOF
17059 #define HAVE_MUTEX_LOCK_NESTED 1
17064 $as_echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 { $as_echo "$as_me:$LINENO: result: no" >&5
17068 $as_echo "no" >&6; }
17079 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
17080 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
17083 cat confdefs.h
- <<_ACEOF >conftest.c
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17091 #include <linux/smp.h>
17097 on_each_cpu(NULL, NULL, 0);
17106 rm -Rf build
&& mkdir
-p build
17107 echo "obj-m := conftest.o" >build
/Makefile
17108 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; }; then
17120 { $as_echo "$as_me:$LINENO: result: yes" >&5
17121 $as_echo "yes" >&6; }
17123 cat >>confdefs.h
<<\_ACEOF
17124 #define HAVE_3ARGS_ON_EACH_CPU 1
17129 $as_echo "$as_me: failed program was:" >&5
17130 sed 's/^/| /' conftest.
$ac_ext >&5
17132 { $as_echo "$as_me:$LINENO: result: no" >&5
17133 $as_echo "no" >&6; }
17144 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
17145 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
17146 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
17147 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17149 if test $rc -ne 0; then
17152 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
17153 "$LINUX_OBJ/$file" 2>/dev
/null
17155 if test $rc -eq 0; then
17160 if test $export -eq 0; then
17161 { $as_echo "$as_me:$LINENO: result: no" >&5
17162 $as_echo "no" >&6; }
17165 { $as_echo "$as_me:$LINENO: result: yes" >&5
17166 $as_echo "yes" >&6; }
17168 cat >>confdefs.h
<<\_ACEOF
17169 #define HAVE_KALLSYMS_LOOKUP_NAME 1
17174 { $as_echo "$as_me:$LINENO: result: yes" >&5
17175 $as_echo "yes" >&6; }
17177 cat >>confdefs.h
<<\_ACEOF
17178 #define HAVE_KALLSYMS_LOOKUP_NAME 1
17185 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
17186 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
17187 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
17188 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17190 if test $rc -ne 0; then
17193 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
17194 "$LINUX_OBJ/$file" 2>/dev
/null
17196 if test $rc -eq 0; then
17201 if test $export -eq 0; then
17202 { $as_echo "$as_me:$LINENO: result: no" >&5
17203 $as_echo "no" >&6; }
17206 { $as_echo "$as_me:$LINENO: result: yes" >&5
17207 $as_echo "yes" >&6; }
17209 cat >>confdefs.h
<<\_ACEOF
17210 #define HAVE_GET_VMALLOC_INFO 1
17215 { $as_echo "$as_me:$LINENO: result: yes" >&5
17216 $as_echo "yes" >&6; }
17218 cat >>confdefs.h
<<\_ACEOF
17219 #define HAVE_GET_VMALLOC_INFO 1
17226 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
17227 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
17228 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
17230 if test $rc -eq 0; then
17231 { $as_echo "$as_me:$LINENO: result: yes" >&5
17232 $as_echo "yes" >&6; }
17234 cat >>confdefs.h
<<\_ACEOF
17235 #define HAVE_PGDAT_HELPERS 1
17239 { $as_echo "$as_me:$LINENO: result: no" >&5
17240 $as_echo "no" >&6; }
17244 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
17245 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
17246 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
17247 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17249 if test $rc -ne 0; then
17252 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
17253 "$LINUX_OBJ/$file" 2>/dev
/null
17255 if test $rc -eq 0; then
17260 if test $export -eq 0; then
17261 { $as_echo "$as_me:$LINENO: result: no" >&5
17262 $as_echo "no" >&6; }
17265 { $as_echo "$as_me:$LINENO: result: yes" >&5
17266 $as_echo "yes" >&6; }
17268 cat >>confdefs.h
<<\_ACEOF
17269 #define HAVE_FIRST_ONLINE_PGDAT 1
17274 { $as_echo "$as_me:$LINENO: result: yes" >&5
17275 $as_echo "yes" >&6; }
17277 cat >>confdefs.h
<<\_ACEOF
17278 #define HAVE_FIRST_ONLINE_PGDAT 1
17285 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
17286 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
17287 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
17288 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17290 if test $rc -ne 0; then
17293 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
17294 "$LINUX_OBJ/$file" 2>/dev
/null
17296 if test $rc -eq 0; then
17301 if test $export -eq 0; then
17302 { $as_echo "$as_me:$LINENO: result: no" >&5
17303 $as_echo "no" >&6; }
17306 { $as_echo "$as_me:$LINENO: result: yes" >&5
17307 $as_echo "yes" >&6; }
17309 cat >>confdefs.h
<<\_ACEOF
17310 #define HAVE_NEXT_ONLINE_PGDAT 1
17315 { $as_echo "$as_me:$LINENO: result: yes" >&5
17316 $as_echo "yes" >&6; }
17318 cat >>confdefs.h
<<\_ACEOF
17319 #define HAVE_NEXT_ONLINE_PGDAT 1
17326 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
17327 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
17328 grep -q -E '[[:space:]]next_zone[[:space:]]' \
17329 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17331 if test $rc -ne 0; then
17334 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
17335 "$LINUX_OBJ/$file" 2>/dev
/null
17337 if test $rc -eq 0; then
17342 if test $export -eq 0; then
17343 { $as_echo "$as_me:$LINENO: result: no" >&5
17344 $as_echo "no" >&6; }
17347 { $as_echo "$as_me:$LINENO: result: yes" >&5
17348 $as_echo "yes" >&6; }
17350 cat >>confdefs.h
<<\_ACEOF
17351 #define HAVE_NEXT_ZONE 1
17356 { $as_echo "$as_me:$LINENO: result: yes" >&5
17357 $as_echo "yes" >&6; }
17359 cat >>confdefs.h
<<\_ACEOF
17360 #define HAVE_NEXT_ZONE 1
17367 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
17368 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
17369 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
17370 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17372 if test $rc -ne 0; then
17375 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
17376 "$LINUX_OBJ/$file" 2>/dev
/null
17378 if test $rc -eq 0; then
17383 if test $export -eq 0; then
17384 { $as_echo "$as_me:$LINENO: result: no" >&5
17385 $as_echo "no" >&6; }
17388 { $as_echo "$as_me:$LINENO: result: yes" >&5
17389 $as_echo "yes" >&6; }
17391 cat >>confdefs.h
<<\_ACEOF
17392 #define HAVE_PGDAT_LIST 1
17397 { $as_echo "$as_me:$LINENO: result: yes" >&5
17398 $as_echo "yes" >&6; }
17400 cat >>confdefs.h
<<\_ACEOF
17401 #define HAVE_PGDAT_LIST 1
17408 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
17409 $as_echo_n "checking whether global_page_state() is available... " >&6; }
17412 cat confdefs.h
- <<_ACEOF >conftest.c
17415 cat confdefs.h
>>conftest.
$ac_ext
17416 cat >>conftest.
$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17420 #include <linux/mm.h>
17426 unsigned long state;
17427 state = global_page_state(0);
17436 rm -Rf build
&& mkdir
-p build
17437 echo "obj-m := conftest.o" >build
/Makefile
17438 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17445 (eval $ac_try) 2>&5
17447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; }; then
17450 { $as_echo "$as_me:$LINENO: result: yes" >&5
17451 $as_echo "yes" >&6; }
17453 cat >>confdefs.h
<<\_ACEOF
17454 #define HAVE_GLOBAL_PAGE_STATE 1
17459 $as_echo "$as_me: failed program was:" >&5
17460 sed 's/^/| /' conftest.
$ac_ext >&5
17462 { $as_echo "$as_me:$LINENO: result: no" >&5
17463 $as_echo "no" >&6; }
17474 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
17475 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
17478 cat confdefs.h
- <<_ACEOF >conftest.c
17481 cat confdefs.h
>>conftest.
$ac_ext
17482 cat >>conftest.
$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17486 #include <linux/mm.h>
17492 enum zone_stat_item zsi;
17493 zsi = NR_FREE_PAGES;
17502 rm -Rf build
&& mkdir
-p build
17503 echo "obj-m := conftest.o" >build
/Makefile
17504 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17516 { $as_echo "$as_me:$LINENO: result: yes" >&5
17517 $as_echo "yes" >&6; }
17519 cat >>confdefs.h
<<\_ACEOF
17520 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
17525 $as_echo "$as_me: failed program was:" >&5
17526 sed 's/^/| /' conftest.
$ac_ext >&5
17528 { $as_echo "$as_me:$LINENO: result: no" >&5
17529 $as_echo "no" >&6; }
17540 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
17541 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
17544 cat confdefs.h
- <<_ACEOF >conftest.c
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17552 #include <linux/mm.h>
17558 enum zone_stat_item zsi;
17568 rm -Rf build
&& mkdir
-p build
17569 echo "obj-m := conftest.o" >build
/Makefile
17570 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; }; then
17582 { $as_echo "$as_me:$LINENO: result: yes" >&5
17583 $as_echo "yes" >&6; }
17585 cat >>confdefs.h
<<\_ACEOF
17586 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
17591 $as_echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.
$ac_ext >&5
17594 { $as_echo "$as_me:$LINENO: result: no" >&5
17595 $as_echo "no" >&6; }
17605 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
17606 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
17609 cat confdefs.h
- <<_ACEOF >conftest.c
17612 cat confdefs.h
>>conftest.
$ac_ext
17613 cat >>conftest.
$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17617 #include <linux/mm.h>
17623 enum zone_stat_item zsi;
17624 zsi = NR_INACTIVE_ANON;
17633 rm -Rf build
&& mkdir
-p build
17634 echo "obj-m := conftest.o" >build
/Makefile
17635 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17647 { $as_echo "$as_me:$LINENO: result: yes" >&5
17648 $as_echo "yes" >&6; }
17650 cat >>confdefs.h
<<\_ACEOF
17651 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
17656 $as_echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.
$ac_ext >&5
17659 { $as_echo "$as_me:$LINENO: result: no" >&5
17660 $as_echo "no" >&6; }
17670 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
17671 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
17674 cat confdefs.h
- <<_ACEOF >conftest.c
17677 cat confdefs.h
>>conftest.
$ac_ext
17678 cat >>conftest.
$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17682 #include <linux/mm.h>
17688 enum zone_stat_item zsi;
17689 zsi = NR_INACTIVE_FILE;
17698 rm -Rf build
&& mkdir
-p build
17699 echo "obj-m := conftest.o" >build
/Makefile
17700 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; }; then
17712 { $as_echo "$as_me:$LINENO: result: yes" >&5
17713 $as_echo "yes" >&6; }
17715 cat >>confdefs.h
<<\_ACEOF
17716 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
17721 $as_echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.
$ac_ext >&5
17724 { $as_echo "$as_me:$LINENO: result: no" >&5
17725 $as_echo "no" >&6; }
17736 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
17737 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
17740 cat confdefs.h
- <<_ACEOF >conftest.c
17743 cat confdefs.h
>>conftest.
$ac_ext
17744 cat >>conftest.
$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17748 #include <linux/mm.h>
17754 enum zone_stat_item zsi;
17764 rm -Rf build
&& mkdir
-p build
17765 echo "obj-m := conftest.o" >build
/Makefile
17766 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17778 { $as_echo "$as_me:$LINENO: result: yes" >&5
17779 $as_echo "yes" >&6; }
17781 cat >>confdefs.h
<<\_ACEOF
17782 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
17787 $as_echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.
$ac_ext >&5
17790 { $as_echo "$as_me:$LINENO: result: no" >&5
17791 $as_echo "no" >&6; }
17801 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
17802 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
17805 cat confdefs.h
- <<_ACEOF >conftest.c
17808 cat confdefs.h
>>conftest.
$ac_ext
17809 cat >>conftest.
$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17813 #include <linux/mm.h>
17819 enum zone_stat_item zsi;
17820 zsi = NR_ACTIVE_ANON;
17829 rm -Rf build
&& mkdir
-p build
17830 echo "obj-m := conftest.o" >build
/Makefile
17831 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17833 (eval $ac_try) 2>&5
17835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838 (eval $ac_try) 2>&5
17840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; }; then
17843 { $as_echo "$as_me:$LINENO: result: yes" >&5
17844 $as_echo "yes" >&6; }
17846 cat >>confdefs.h
<<\_ACEOF
17847 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
17852 $as_echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.
$ac_ext >&5
17855 { $as_echo "$as_me:$LINENO: result: no" >&5
17856 $as_echo "no" >&6; }
17866 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
17867 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
17870 cat confdefs.h
- <<_ACEOF >conftest.c
17873 cat confdefs.h
>>conftest.
$ac_ext
17874 cat >>conftest.
$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17878 #include <linux/mm.h>
17884 enum zone_stat_item zsi;
17885 zsi = NR_ACTIVE_FILE;
17894 rm -Rf build
&& mkdir
-p build
17895 echo "obj-m := conftest.o" >build
/Makefile
17896 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; }; then
17908 { $as_echo "$as_me:$LINENO: result: yes" >&5
17909 $as_echo "yes" >&6; }
17911 cat >>confdefs.h
<<\_ACEOF
17912 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
17917 $as_echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
17920 { $as_echo "$as_me:$LINENO: result: no" >&5
17921 $as_echo "no" >&6; }
17932 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
17933 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
17936 cat confdefs.h
- <<_ACEOF >conftest.c
17939 cat confdefs.h
>>conftest.
$ac_ext
17940 cat >>conftest.
$ac_ext <<_ACEOF
17941 /* end confdefs.h. */
17949 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
17950 #error "global_page_state needs NR_FREE_PAGES"
17953 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
17954 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
17955 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
17956 #error "global_page_state needs NR_ACTIVE*"
17959 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
17960 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
17961 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
17962 #error "global_page_state needs NR_INACTIVE*"
17972 rm -Rf build
&& mkdir
-p build
17973 echo "obj-m := conftest.o" >build
/Makefile
17974 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17986 { $as_echo "$as_me:$LINENO: result: no" >&5
17987 $as_echo "no" >&6; }
17990 $as_echo "$as_me: failed program was:" >&5
17991 sed 's/^/| /' conftest.
$ac_ext >&5
17993 { $as_echo "$as_me:$LINENO: result: yes" >&5
17994 $as_echo "yes" >&6; }
17996 cat >>confdefs.h
<<\_ACEOF
17997 #define NEED_GET_ZONE_COUNTS 1
18001 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
18002 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
18003 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
18004 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18006 if test $rc -ne 0; then
18009 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
18010 "$LINUX_OBJ/$file" 2>/dev
/null
18012 if test $rc -eq 0; then
18017 if test $export -eq 0; then
18018 { $as_echo "$as_me:$LINENO: result: no" >&5
18019 $as_echo "no" >&6; }
18022 { $as_echo "$as_me:$LINENO: result: yes" >&5
18023 $as_echo "yes" >&6; }
18025 cat >>confdefs.h
<<\_ACEOF
18026 #define HAVE_GET_ZONE_COUNTS 1
18031 { $as_echo "$as_me:$LINENO: result: yes" >&5
18032 $as_echo "yes" >&6; }
18034 cat >>confdefs.h
<<\_ACEOF
18035 #define HAVE_GET_ZONE_COUNTS 1
18050 { $as_echo "$as_me:$LINENO: checking whether symbol user_path_at is exported" >&5
18051 $as_echo_n "checking whether symbol user_path_at is exported... " >&6; }
18052 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
18053 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18055 if test $rc -ne 0; then
18058 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
18059 "$LINUX_OBJ/$file" 2>/dev
/null
18061 if test $rc -eq 0; then
18066 if test $export -eq 0; then
18067 { $as_echo "$as_me:$LINENO: result: no" >&5
18068 $as_echo "no" >&6; }
18071 { $as_echo "$as_me:$LINENO: result: yes" >&5
18072 $as_echo "yes" >&6; }
18074 cat >>confdefs.h
<<\_ACEOF
18075 #define HAVE_USER_PATH_DIR 1
18080 { $as_echo "$as_me:$LINENO: result: yes" >&5
18081 $as_echo "yes" >&6; }
18083 cat >>confdefs.h
<<\_ACEOF
18084 #define HAVE_USER_PATH_DIR 1
18091 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
18092 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
18093 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
18094 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18096 if test $rc -ne 0; then
18099 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
18100 "$LINUX_OBJ/$file" 2>/dev
/null
18102 if test $rc -eq 0; then
18107 if test $export -eq 0; then
18108 { $as_echo "$as_me:$LINENO: result: no" >&5
18109 $as_echo "no" >&6; }
18112 { $as_echo "$as_me:$LINENO: result: yes" >&5
18113 $as_echo "yes" >&6; }
18115 cat >>confdefs.h
<<\_ACEOF
18116 #define HAVE_SET_FS_PWD 1
18121 { $as_echo "$as_me:$LINENO: result: yes" >&5
18122 $as_echo "yes" >&6; }
18124 cat >>confdefs.h
<<\_ACEOF
18125 #define HAVE_SET_FS_PWD 1
18131 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
18132 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
18135 cat confdefs.h
- <<_ACEOF >conftest.c
18138 cat confdefs.h
>>conftest.
$ac_ext
18139 cat >>conftest.
$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18143 #include <linux/sched.h>
18144 #include <linux/fs_struct.h>
18150 set_fs_pwd(NULL, NULL);
18159 rm -Rf build
&& mkdir
-p build
18160 echo "obj-m := conftest.o" >build
/Makefile
18161 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18173 { $as_echo "$as_me:$LINENO: result: yes" >&5
18174 $as_echo "yes" >&6; }
18176 cat >>confdefs.h
<<\_ACEOF
18177 #define HAVE_2ARGS_SET_FS_PWD 1
18182 $as_echo "$as_me: failed program was:" >&5
18183 sed 's/^/| /' conftest.
$ac_ext >&5
18185 { $as_echo "$as_me:$LINENO: result: no" >&5
18186 $as_echo "no" >&6; }
18196 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
18197 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
18200 cat confdefs.h
- <<_ACEOF >conftest.c
18203 cat confdefs.h
>>conftest.
$ac_ext
18204 cat >>conftest.
$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18208 #include <linux/fs.h>
18214 vfs_unlink(NULL, NULL);
18223 rm -Rf build
&& mkdir
-p build
18224 echo "obj-m := conftest.o" >build
/Makefile
18225 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18237 { $as_echo "$as_me:$LINENO: result: yes" >&5
18238 $as_echo "yes" >&6; }
18240 cat >>confdefs.h
<<\_ACEOF
18241 #define HAVE_2ARGS_VFS_UNLINK 1
18246 $as_echo "$as_me: failed program was:" >&5
18247 sed 's/^/| /' conftest.
$ac_ext >&5
18249 { $as_echo "$as_me:$LINENO: result: no" >&5
18250 $as_echo "no" >&6; }
18260 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
18261 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
18264 cat confdefs.h
- <<_ACEOF >conftest.c
18267 cat confdefs.h
>>conftest.
$ac_ext
18268 cat >>conftest.
$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18272 #include <linux/fs.h>
18278 vfs_rename(NULL, NULL, NULL, NULL);
18287 rm -Rf build
&& mkdir
-p build
18288 echo "obj-m := conftest.o" >build
/Makefile
18289 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18301 { $as_echo "$as_me:$LINENO: result: yes" >&5
18302 $as_echo "yes" >&6; }
18304 cat >>confdefs.h
<<\_ACEOF
18305 #define HAVE_4ARGS_VFS_RENAME 1
18310 $as_echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.
$ac_ext >&5
18313 { $as_echo "$as_me:$LINENO: result: no" >&5
18314 $as_echo "no" >&6; }
18325 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
18326 $as_echo_n "checking whether struct cred exists... " >&6; }
18329 cat confdefs.h
- <<_ACEOF >conftest.c
18332 cat confdefs.h
>>conftest.
$ac_ext
18333 cat >>conftest.
$ac_ext <<_ACEOF
18334 /* end confdefs.h. */
18337 #include <linux/cred.h>
18353 rm -Rf build
&& mkdir
-p build
18354 echo "obj-m := conftest.o" >build
/Makefile
18355 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; }; then
18367 { $as_echo "$as_me:$LINENO: result: yes" >&5
18368 $as_echo "yes" >&6; }
18370 cat >>confdefs.h
<<\_ACEOF
18371 #define HAVE_CRED_STRUCT 1
18376 $as_echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.
$ac_ext >&5
18379 { $as_echo "$as_me:$LINENO: result: no" >&5
18380 $as_echo "no" >&6; }
18391 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
18392 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
18393 grep -q -E '[[:space:]]groups_search[[:space:]]' \
18394 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18396 if test $rc -ne 0; then
18399 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
18400 "$LINUX_OBJ/$file" 2>/dev
/null
18402 if test $rc -eq 0; then
18407 if test $export -eq 0; then
18408 { $as_echo "$as_me:$LINENO: result: no" >&5
18409 $as_echo "no" >&6; }
18412 { $as_echo "$as_me:$LINENO: result: yes" >&5
18413 $as_echo "yes" >&6; }
18415 cat >>confdefs.h
<<\_ACEOF
18416 #define HAVE_GROUPS_SEARCH 1
18421 { $as_echo "$as_me:$LINENO: result: yes" >&5
18422 $as_echo "yes" >&6; }
18424 cat >>confdefs.h
<<\_ACEOF
18425 #define HAVE_GROUPS_SEARCH 1
18432 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
18433 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
18434 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
18435 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18437 if test $rc -ne 0; then
18440 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
18441 "$LINUX_OBJ/$file" 2>/dev
/null
18443 if test $rc -eq 0; then
18448 if test $export -eq 0; then
18449 { $as_echo "$as_me:$LINENO: result: no" >&5
18450 $as_echo "no" >&6; }
18453 { $as_echo "$as_me:$LINENO: result: yes" >&5
18454 $as_echo "yes" >&6; }
18456 cat >>confdefs.h
<<\_ACEOF
18457 #define HAVE_PUT_TASK_STRUCT 1
18462 { $as_echo "$as_me:$LINENO: result: yes" >&5
18463 $as_echo "yes" >&6; }
18465 cat >>confdefs.h
<<\_ACEOF
18466 #define HAVE_PUT_TASK_STRUCT 1
18473 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
18474 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
18477 cat confdefs.h
- <<_ACEOF >conftest.c
18480 cat confdefs.h
>>conftest.
$ac_ext
18481 cat >>conftest.
$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18485 #include <linux/sysctl.h>
18491 proc_dostring(NULL, 0, NULL, NULL, NULL);
18500 rm -Rf build
&& mkdir
-p build
18501 echo "obj-m := conftest.o" >build
/Makefile
18502 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18504 (eval $ac_try) 2>&5
18506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18509 (eval $ac_try) 2>&5
18511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); }; }; then
18514 { $as_echo "$as_me:$LINENO: result: yes" >&5
18515 $as_echo "yes" >&6; }
18517 cat >>confdefs.h
<<\_ACEOF
18518 #define HAVE_5ARGS_PROC_HANDLER 1
18523 $as_echo "$as_me: failed program was:" >&5
18524 sed 's/^/| /' conftest.
$ac_ext >&5
18526 { $as_echo "$as_me:$LINENO: result: no" >&5
18527 $as_echo "no" >&6; }
18538 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
18539 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
18540 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
18541 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18543 if test $rc -ne 0; then
18546 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
18547 "$LINUX_OBJ/$file" 2>/dev
/null
18549 if test $rc -eq 0; then
18554 if test $export -eq 0; then
18555 { $as_echo "$as_me:$LINENO: result: no" >&5
18556 $as_echo "no" >&6; }
18559 { $as_echo "$as_me:$LINENO: result: yes" >&5
18560 $as_echo "yes" >&6; }
18562 cat >>confdefs.h
<<\_ACEOF
18563 #define HAVE_KVASPRINTF 1
18568 { $as_echo "$as_me:$LINENO: result: yes" >&5
18569 $as_echo "yes" >&6; }
18571 cat >>confdefs.h
<<\_ACEOF
18572 #define HAVE_KVASPRINTF 1
18579 { $as_echo "$as_me:$LINENO: checking whether file_fsync() wants 3 args" >&5
18580 $as_echo_n "checking whether file_fsync() wants 3 args... " >&6; }
18583 cat confdefs.h
- <<_ACEOF >conftest.c
18586 cat confdefs.h
>>conftest.
$ac_ext
18587 cat >>conftest.
$ac_ext <<_ACEOF
18588 /* end confdefs.h. */
18591 #include <linux/buffer_head.h>
18597 file_fsync(NULL, NULL, 0);
18606 rm -Rf build
&& mkdir
-p build
18607 echo "obj-m := conftest.o" >build
/Makefile
18608 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18610 (eval $ac_try) 2>&5
18612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); }; }; then
18620 { $as_echo "$as_me:$LINENO: result: yes" >&5
18621 $as_echo "yes" >&6; }
18623 cat >>confdefs.h
<<\_ACEOF
18624 #define HAVE_3ARGS_FILE_FSYNC 1
18629 $as_echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.
$ac_ext >&5
18632 { $as_echo "$as_me:$LINENO: result: no" >&5
18633 $as_echo "no" >&6; }
18646 if test "x$AWK" != xgawk
; then
18648 { { $as_echo "$as_me:$LINENO: error:
18649 *** Required util gawk missing. Please install the required
18650 *** gawk package for your distribution and try again." >&5
18651 $as_echo "$as_me: error:
18652 *** Required util gawk missing. Please install the required
18653 *** gawk package for your distribution and try again." >&2;}
18654 { (exit 1); exit 1; }; }
18662 { $as_echo "$as_me:$LINENO: result: Error!" >&5
18663 $as_echo "Error!" >&6; }
18664 { { $as_echo "$as_me:$LINENO: error: Bad value \"$SPL_CONFIG\" for --with-config,
18665 user kernel|user|all|srpm" >&5
18666 $as_echo "$as_me: error: Bad value \"$SPL_CONFIG\" for --with-config,
18667 user kernel|user|all|srpm" >&2;}
18668 { (exit 1); exit 1; }; } ;;
18671 if test "$SPL_CONFIG" = user ||
18672 test "$SPL_CONFIG" = all
; then
18674 CONFIG_USER_FALSE
='#'
18676 CONFIG_USER_TRUE
='#'
18680 if test "$SPL_CONFIG" = kernel ||
18681 test "$SPL_CONFIG" = all
; then
18682 CONFIG_KERNEL_TRUE
=
18683 CONFIG_KERNEL_FALSE
='#'
18685 CONFIG_KERNEL_TRUE
='#'
18686 CONFIG_KERNEL_FALSE
=
18691 ac_config_files
="$ac_config_files Makefile lib/Makefile cmd/Makefile module/Makefile module/spl/Makefile module/splat/Makefile include/Makefile scripts/Makefile spl.spec spl-modules.spec"
18694 cat >confcache
<<\_ACEOF
18695 # This file is a shell script that caches the results of configure
18696 # tests run on this system so they can be shared between configure
18697 # scripts and configure runs, see configure's option --config-cache.
18698 # It is not useful on other systems. If it contains results you don't
18699 # want to keep, you may remove or edit it.
18701 # config.status only pays attention to the cache file if you give it
18702 # the --recheck option to rerun configure.
18704 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18705 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18706 # following values.
18710 # The following way of writing the cache mishandles newlines in values,
18711 # but we know of no workaround that is simple, portable, and efficient.
18712 # So, we kill variables containing newlines.
18713 # Ultrix sh set writes to stderr and can't be redirected directly,
18714 # and sets the high bit in the cache file unless we assign to the vars.
18716 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18717 eval ac_val
=\$
$ac_var
18721 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
18722 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18725 _ | IFS | as_nl
) ;; #(
18726 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18727 *) $as_unset $ac_var ;;
18733 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18734 *${as_nl}ac_space
=\
*)
18735 # `set' does not quote correctly, so add quotes (double-quote
18736 # substitution turns \\\\ into \\, and sed turns \\ into \).
18739 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18742 # `set' quotes correctly as required by POSIX, so do not add quotes.
18743 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18752 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18754 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18756 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18757 if test -w "$cache_file"; then
18758 test "x$cache_file" != "x/dev/null" &&
18759 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
18760 $as_echo "$as_me: updating cache $cache_file" >&6;}
18761 cat confcache
>$cache_file
18763 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18764 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18769 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18770 # Let make expand exec_prefix.
18771 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18773 DEFS
=-DHAVE_CONFIG_H
18777 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18778 # 1. Remove the extension, and $U if already installed.
18779 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18780 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18781 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18782 # will be set to the directory where LIBOBJS objects are built.
18783 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18784 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18786 LIBOBJS
=$ac_libobjs
18788 LTLIBOBJS
=$ac_ltlibobjs
18791 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18792 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18793 Usually this means the macro was only invoked conditionally." >&5
18794 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18795 Usually this means the macro was only invoked conditionally." >&2;}
18796 { (exit 1); exit 1; }; }
18798 if test -n "$EXEEXT"; then
18800 am__EXEEXT_FALSE
='#'
18802 am__EXEEXT_TRUE
='#'
18806 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18807 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18808 Usually this means the macro was only invoked conditionally." >&5
18809 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
18810 Usually this means the macro was only invoked conditionally." >&2;}
18811 { (exit 1); exit 1; }; }
18813 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18814 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18815 Usually this means the macro was only invoked conditionally." >&5
18816 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18817 Usually this means the macro was only invoked conditionally." >&2;}
18818 { (exit 1); exit 1; }; }
18820 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
18821 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_USER\" was never defined.
18822 Usually this means the macro was only invoked conditionally." >&5
18823 $as_echo "$as_me: error: conditional \"CONFIG_USER\" was never defined.
18824 Usually this means the macro was only invoked conditionally." >&2;}
18825 { (exit 1); exit 1; }; }
18827 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
18828 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_KERNEL\" was never defined.
18829 Usually this means the macro was only invoked conditionally." >&5
18830 $as_echo "$as_me: error: conditional \"CONFIG_KERNEL\" was never defined.
18831 Usually this means the macro was only invoked conditionally." >&2;}
18832 { (exit 1); exit 1; }; }
18835 : ${CONFIG_STATUS=./config.status}
18837 ac_clean_files_save
=$ac_clean_files
18838 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18839 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18840 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18841 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18843 # Generated by $as_me.
18844 # Run this file to recreate the current configuration.
18845 # Compiler output produced by configure, useful for debugging
18846 # configure, is in config.log if it exists.
18849 ac_cs_recheck=false
18851 SHELL=\${CONFIG_SHELL-$SHELL}
18854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18855 ## --------------------- ##
18856 ## M4sh Initialization. ##
18857 ## --------------------- ##
18859 # Be more Bourne compatible
18860 DUALCASE
=1; export DUALCASE
# for MKS sh
18861 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18864 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18865 # is contrary to our usage. Disable this feature.
18866 alias -g '${1+"$@"}'='"$@"'
18867 setopt NO_GLOB_SUBST
18869 case `(set -o) 2>/dev/null` in
18870 *posix
*) set -o posix
;;
18879 # Avoid depending upon Character Ranges.
18880 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18881 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18882 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18883 as_cr_digits
='0123456789'
18884 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18889 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18890 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18891 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18893 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18894 as_echo='printf %s
\n'
18895 as_echo_n='printf %s
'
18897 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18898 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18899 as_echo_n='/usr
/ucb
/echo -n'
18901 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18902 as_echo_n_body='eval
18906 expr "X$arg" : "X\\(.*\\)$as_nl";
18907 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18909 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18911 export as_echo_n_body
18912 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18914 export as_echo_body
18915 as_echo='sh
-c $as_echo_body as_echo
'
18918 # The user is always right.
18919 if test "${PATH_SEPARATOR+set}" != set; then
18921 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18922 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18927 # Support unset when possible.
18928 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18936 # We need space, tab and new line, in precisely that order. Quoting is
18937 # there to prevent editors from complaining about space-tab.
18938 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18939 # splitting by setting IFS to empty value.)
18942 # Find who we are. Look in the path if we contain no directory separator.
18944 *[\\/]* ) as_myself=$0 ;;
18945 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18946 for as_dir in $PATH
18949 test -z "$as_dir" && as_dir=.
18950 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18956 # We did not find ourselves, most probably we were run as `sh COMMAND'
18957 # in which case we are not to be found in the path.
18958 if test "x$as_myself" = x
; then
18961 if test ! -f "$as_myself"; then
18962 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18963 { (exit 1); exit 1; }
18966 # Work around bugs in pre-3.0 UWIN ksh.
18967 for as_var
in ENV MAIL MAILPATH
18968 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
18980 # Required to use basename.
18981 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18982 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18988 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18989 as_basename
=basename
18995 # Name of the executable.
18996 as_me
=`$as_basename -- "$0" ||
18997 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18998 X"$0" : 'X\(//\)$' \| \
18999 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19001 sed '/^.*\/\([^/][^/]*\)\/*$/{
19020 as_lineno_1
=$LINENO
19021 as_lineno_2
=$LINENO
19022 test "x$as_lineno_1" != "x$as_lineno_2" &&
19023 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
19025 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19026 # uniformly replaced by the line number. The first 'sed' inserts a
19027 # line-number line after each line using $LINENO; the second 'sed'
19028 # does the real work. The second script uses 'N' to pair each
19029 # line-number line with the line containing $LINENO, and appends
19030 # trailing '-' during substitution so that $LINENO is not a special
19031 # case at line end.
19032 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19033 # scripts with optimization help from Paolo Bonzini. Blame Lee
19034 # E. McMahon (1931-1989) for sed's syntax. :-)
19046 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19049 ' >$as_me.lineno
&&
19050 chmod +x
"$as_me.lineno" ||
19051 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19052 { (exit 1); exit 1; }; }
19054 # Don't try to exec as it changes $[0], causing all sort of problems
19055 # (the dirname of $[0] is not the place where we might find the
19056 # original and so on. Autoconf is especially sensitive to this).
19057 .
"./$as_me.lineno"
19058 # Exit status is that of the last command.
19063 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19069 ECHO_C
= ECHO_N
= ECHO_T
=
19070 case `echo -n x` in
19072 case `echo 'x\c'` in
19073 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19079 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19080 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19086 rm -f conf$$ conf$$.exe conf$$.
file
19087 if test -d conf$$.dir
; then
19088 rm -f conf$$.dir
/conf$$.
file
19091 mkdir conf$$.dir
2>/dev
/null
19093 if (echo >conf$$.
file) 2>/dev
/null
; then
19094 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19096 # ... but there are two gotchas:
19097 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19098 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19099 # In both cases, we have to default to `cp -p'.
19100 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19102 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19110 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19111 rmdir conf$$.dir
2>/dev
/null
19113 if mkdir
-p .
2>/dev
/null
; then
19116 test -d .
/-p && rmdir .
/-p
19120 if test -x / >/dev
/null
2>&1; then
19121 as_test_x
='test -x'
19123 if ls -dL / >/dev
/null
2>&1; then
19130 if test -d "$1"; then
19136 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
19137 ???[sx]*):;;*)false;;esac;fi
19141 as_executable_p
=$as_test_x
19143 # Sed expression to map a string onto a valid CPP name.
19144 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19146 # Sed expression to map a string onto a valid variable name.
19147 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19152 # Save the log message, to keep $[0] and so on meaningful, and to
19153 # report actual input values of CONFIG_FILES etc. instead of their
19154 # values after options handling.
19156 This file was extended by $as_me, which was
19157 generated by GNU Autoconf 2.63. Invocation command line was
19159 CONFIG_FILES = $CONFIG_FILES
19160 CONFIG_HEADERS = $CONFIG_HEADERS
19161 CONFIG_LINKS = $CONFIG_LINKS
19162 CONFIG_COMMANDS = $CONFIG_COMMANDS
19165 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19170 case $ac_config_files in *"
19171 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19174 case $ac_config_headers in *"
19175 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19180 # Files that config.status was made for.
19181 config_files="$ac_config_files"
19182 config_headers="$ac_config_headers"
19183 config_commands="$ac_config_commands"
19187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19189 \`$as_me' instantiates files from templates according to the
19190 current configuration.
19192 Usage: $0 [OPTION]... [FILE]...
19194 -h, --help print this help, then exit
19195 -V, --version print version number and configuration settings, then exit
19196 -q, --quiet, --silent
19197 do not print progress messages
19198 -d, --debug don't remove temporary files
19199 --recheck update $as_me by reconfiguring in the same conditions
19200 --file=FILE[:TEMPLATE]
19201 instantiate the configuration file FILE
19202 --header=FILE[:TEMPLATE]
19203 instantiate the configuration header FILE
19205 Configuration files:
19208 Configuration headers:
19211 Configuration commands:
19214 Report bugs to <bug-autoconf@gnu.org>."
19217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19220 configured by $0, generated by GNU Autoconf 2.63,
19221 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19223 Copyright (C) 2008 Free Software Foundation, Inc.
19224 This config.status script is free software; the Free Software Foundation
19225 gives unlimited permission to copy, distribute and modify it."
19232 test -n "\$AWK" || AWK=awk
19235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19236 # The default lists apply if the user does not specify any file.
19242 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19243 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19254 # Handling of the options.
19255 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19257 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19258 $as_echo "$ac_cs_version"; exit ;;
19259 --debug |
--debu |
--deb |
--de |
--d |
-d )
19261 --file |
--fil |
--fi |
--f )
19264 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19266 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
19267 ac_need_defaults
=false
;;
19268 --header |
--heade |
--head |
--hea )
19271 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19273 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
19274 ac_need_defaults
=false
;;
19276 # Conflict between --help and --header
19277 { $as_echo "$as_me: error: ambiguous option: $1
19278 Try \`$0 --help' for more information." >&2
19279 { (exit 1); exit 1; }; };;
19280 --help |
--hel |
-h )
19281 $as_echo "$ac_cs_usage"; exit ;;
19282 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19283 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19286 # This is an error.
19287 -*) { $as_echo "$as_me: error: unrecognized option: $1
19288 Try \`$0 --help' for more information." >&2
19289 { (exit 1); exit 1; }; } ;;
19291 *) ac_config_targets
="$ac_config_targets $1"
19292 ac_need_defaults
=false
;;
19298 ac_configure_extra_args
=
19300 if $ac_cs_silent; then
19302 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19307 if \$ac_cs_recheck; then
19308 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19310 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19311 CONFIG_SHELL='$SHELL'
19312 export CONFIG_SHELL
19317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19321 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19322 ## Running $as_me. ##
19328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19332 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19335 # The HP-UX ksh and POSIX shell print the target directory to stdout
19336 # if CDPATH is set.
19337 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19339 sed_quote_subst='$sed_quote_subst'
19340 double_quote_subst='$double_quote_subst'
19341 delay_variable_subst='$delay_variable_subst'
19342 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19343 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19344 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19345 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19346 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19347 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19348 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19349 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19350 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19351 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19352 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19353 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19354 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19355 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19356 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19357 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19358 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19359 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19360 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19361 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19362 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19363 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19364 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19365 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19366 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19367 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19368 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19369 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19370 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19371 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19372 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19373 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19374 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19375 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19376 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19377 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19378 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19379 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19380 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19381 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19382 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19383 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19384 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19385 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19386 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"`'
19387 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"`'
19388 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19389 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19390 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19391 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19392 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19393 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19394 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19395 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19396 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19397 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19398 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19399 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19400 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19401 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19402 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19403 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19404 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19405 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19406 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19407 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19408 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19409 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19410 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19411 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19412 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19413 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19414 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19415 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19416 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19417 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19418 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19419 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19420 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19421 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19422 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19423 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19424 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19425 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19426 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19427 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19428 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19429 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19430 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19431 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19432 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19433 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19434 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19435 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19436 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19437 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19438 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19439 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19440 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19441 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19442 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19443 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19444 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19445 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19446 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19447 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19448 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19449 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19450 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19451 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19452 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19453 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19454 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19455 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19456 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19457 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19458 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19459 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19462 LTCFLAGS='$LTCFLAGS'
19463 compiler='$compiler_DEFAULT'
19465 # Quote evaled strings.
19477 deplibs_check_method \
19486 lt_cv_sys_global_symbol_pipe \
19487 lt_cv_sys_global_symbol_to_cdecl \
19488 lt_cv_sys_global_symbol_to_c_name_address \
19489 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19492 lt_prog_compiler_no_builtin_flag \
19493 lt_prog_compiler_wl \
19494 lt_prog_compiler_pic \
19495 lt_prog_compiler_static \
19496 lt_cv_prog_compiler_c_o \
19504 export_dynamic_flag_spec \
19505 whole_archive_flag_spec \
19506 compiler_needs_object \
19508 allow_undefined_flag \
19509 no_undefined_flag \
19510 hardcode_libdir_flag_spec \
19511 hardcode_libdir_flag_spec_ld \
19512 hardcode_libdir_separator \
19517 variables_saved_for_relink \
19519 library_names_spec \
19524 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19525 *[\\\\\\\`\\"\\\$]*)
19526 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19529 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19534 # Double-quote double-evaled strings.
19535 for var in reload_cmds \
19536 old_postinstall_cmds \
19537 old_postuninstall_cmds \
19539 extract_expsyms_cmds \
19540 old_archive_from_new_cmds \
19541 old_archive_from_expsyms_cmds \
19543 archive_expsym_cmds \
19545 module_expsym_cmds \
19546 export_symbols_cmds \
19549 postuninstall_cmds \
19551 sys_lib_search_path_spec \
19552 sys_lib_dlsearch_path_spec; do
19553 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19554 *[\\\\\\\`\\"\\\$]*)
19555 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19558 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19563 # Fix-up fallback echo if it was mangled by the above quoting rules.
19565 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19569 ac_aux_dir='$ac_aux_dir'
19570 xsi_shell='$xsi_shell'
19571 lt_shell_append='$lt_shell_append'
19573 # See if we are running on zsh, and set the options which allow our
19574 # commands through without removal of \ escapes INIT.
19575 if test -n "\${ZSH_VERSION+set}" ; then
19576 setopt NO_GLOB_SUBST
19582 TIMESTAMP='$TIMESTAMP'
19591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19593 # Handling of arguments.
19594 for ac_config_target
in $ac_config_targets
19596 case $ac_config_target in
19597 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
19598 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19599 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19600 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19601 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19602 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
19603 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
19604 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
19605 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
19606 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19607 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19608 "spl.spec") CONFIG_FILES
="$CONFIG_FILES spl.spec" ;;
19609 "spl-modules.spec") CONFIG_FILES
="$CONFIG_FILES spl-modules.spec" ;;
19611 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19612 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19613 { (exit 1); exit 1; }; };;
19618 # If the user did not use the arguments to specify the items to instantiate,
19619 # then the envvar interface is used. Set only those that are not.
19620 # We use the long form for the default assignment because of an extremely
19621 # bizarre bug on SunOS 4.1.3.
19622 if $ac_need_defaults; then
19623 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19624 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19625 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19628 # Have a temporary directory for convenience. Make it in the build tree
19629 # simply because there is no reason against having it here, and in addition,
19630 # creating and moving files from /tmp can sometimes cause problems.
19631 # Hook for its removal unless debugging.
19632 # Note that there is a small window in which the directory will not be cleaned:
19633 # after its creation but before its name has been assigned to `$tmp'.
19637 trap 'exit_status=$?
19638 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19640 trap '{ (exit 1); exit 1; }' 1 2 13 15
19642 # Create a (secure) tmp directory for tmp files.
19645 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19646 test -n "$tmp" && test -d "$tmp"
19649 tmp
=.
/conf$$
-$RANDOM
19650 (umask 077 && mkdir
"$tmp")
19653 $as_echo "$as_me: cannot create a temporary directory in ." >&2
19654 { (exit 1); exit 1; }
19657 # Set up the scripts for CONFIG_FILES section.
19658 # No need to generate them if there are no CONFIG_FILES.
19659 # This happens for instance with `./config.status config.h'.
19660 if test -n "$CONFIG_FILES"; then
19664 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19665 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19668 ac_cs_awk_cr
=$ac_cr
19671 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19676 echo "cat >conf$$subs.awk <<_ACEOF" &&
19677 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19679 } >conf$$subs.sh ||
19680 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19681 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19682 { (exit 1); exit 1; }; }
19683 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
19685 for ac_last_try in false false false false false :; do
19686 . ./conf$$subs.sh ||
19687 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19688 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19689 { (exit 1); exit 1; }; }
19691 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19692 if test $ac_delim_n = $ac_delim_num; then
19694 elif $ac_last_try; then
19695 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19696 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19697 { (exit 1); exit 1; }; }
19699 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19702 rm -f conf$$subs.sh
19704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19705 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
19709 s/^/S["/; s
/!.
*/"]=/
19719 s/\(.\{148\}\).*/\1/
19721 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19726 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19733 s/\(.\{148\}\).*/\1/
19735 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19739 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19744 ' <conf$$subs.awk | sed '
19749 ' >>$CONFIG_STATUS || ac_write_fail=1
19750 rm -f conf$$subs.awk
19751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19753 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
19754 for (key in S) S_is_set[key] = 1
19760 nfields = split(line, field, "@
")
19762 len = length(field[1])
19763 for (i = 2; i < nfields; i++) {
19765 keylen = length(key)
19766 if (S_is_set[key]) {
19768 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19769 len += length(value) + length(field[++i])
19780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19781 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19782 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19785 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
19786 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
19787 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
19788 { (exit 1); exit 1; }; }
19791 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19792 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
19793 # trailing colons and then remove the whole line if VPATH becomes empty
19794 # (actually we leave an empty line to preserve line numbers).
19795 if test "x
$srcdir" = x.; then
19796 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19797 s/:*\$(srcdir):*/:/
19798 s/:*\${srcdir}:*/:/
19800 s/^\([^=]*=[ ]*\):*/\1/
19806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19807 fi # test -n "$CONFIG_FILES"
19809 # Set up the scripts for CONFIG_HEADERS section.
19810 # No need to generate them if there are no CONFIG_HEADERS.
19811 # This happens for instance with `./config.status Makefile'.
19812 if test -n "$CONFIG_HEADERS"; then
19813 cat >"$tmp/defines.
awk" <<\_ACAWK ||
19817 # Transform confdefs.h into an awk script `defines.awk', embedded as
19818 # here-document in config.status, that substitutes the proper values into
19819 # config.h.in to produce config.h.
19821 # Create a delimiter string that does not exist in confdefs.h, to ease
19822 # handling of long lines.
19824 for ac_last_try in false false :; do
19825 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
19826 if test -z "$ac_t"; then
19828 elif $ac_last_try; then
19829 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
19830 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
19831 { (exit 1); exit 1; }; }
19833 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19837 # For the awk script, D is an array of macro values keyed by name,
19838 # likewise P contains macro parameters if any. Preserve backslash
19839 # newline sequences.
19841 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19843 s/.\{148\}/&'"$ac_delim"'/g
19846 s/^[ ]*#[ ]*define[ ][ ]*/ /
19853 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19855 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19859 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19860 D["\
1"]=" \
3\\\\\\n
"\\/p
19862 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19867 s/.\{148\}/&'"$ac_delim"'/g
19872 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19875 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19877 ' <confdefs.h | sed '
19878 s/'"$ac_delim"'/"\\\
19879 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19882 for (key in D) D_is_set[key] = 1
19885 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19887 split(line, arg, " ")
19888 if (arg[1] == "#") {
19892 defundef
= substr
(arg
[1], 2)
19895 split(mac1
, mac2
, "(") #)
19897 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19898 if (D_is_set
[macro
]) {
19899 # Preserve the white space surrounding the "#".
19900 print prefix
"define", macro P
[macro
] D
[macro
]
19903 # Replace #undef with comments. This is necessary, for example,
19904 # in the case of _POSIX_SOURCE, which is predefined and required
19905 # on some systems where configure will not decide to define it.
19906 if (defundef
== "undef") {
19907 print
"/*", prefix defundef
, macro
, "*/"
19915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19916 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19917 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19918 { (exit 1); exit 1; }; }
19919 fi # test -n "$CONFIG_HEADERS"
19922 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19927 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19929 case $ac_mode$ac_tag in
19931 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19932 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19933 { (exit 1); exit 1; }; };;
19934 :[FH
]-) ac_tag
=-:-;;
19935 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19952 -) ac_f
="$tmp/stdin";;
19953 *) # Look for the file first in the build tree, then in the source tree
19954 # (if the path is not absolute). The absolute path cannot be DOS-style,
19955 # because $ac_f cannot contain `:'.
19959 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19961 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19962 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19963 { (exit 1); exit 1; }; };;
19965 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19966 ac_file_inputs
="$ac_file_inputs '$ac_f'"
19969 # Let's still pretend it is `configure' which instantiates (i.e., don't
19970 # use $as_me), people would be surprised to read:
19971 # /* config.h. Generated by config.status. */
19972 configure_input
='Generated from '`
19973 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19975 if test x
"$ac_file" != x-
; then
19976 configure_input
="$ac_file. $configure_input"
19977 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
19978 $as_echo "$as_me: creating $ac_file" >&6;}
19980 # Neutralize special characters interpreted by sed in replacement strings.
19981 case $configure_input in #(
19982 *\
&* |
*\|
* |
*\\* )
19983 ac_sed_conf_input
=`$as_echo "$configure_input" |
19984 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19985 *) ac_sed_conf_input
=$configure_input;;
19989 *:-:* |
*:-) cat >"$tmp/stdin" \
19990 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19991 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19992 { (exit 1); exit 1; }; } ;;
19997 ac_dir
=`$as_dirname -- "$ac_file" ||
19998 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19999 X"$ac_file" : 'X\(//\)[^/]' \| \
20000 X"$ac_file" : 'X\(//\)$' \| \
20001 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20002 $as_echo X"$ac_file" |
20003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20007 /^X\(\/\/\)[^/].*/{
20022 -*) as_dir
=.
/$as_dir;;
20024 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20028 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20029 *) as_qdir
=$as_dir;;
20031 as_dirs
="'$as_qdir' $as_dirs"
20032 as_dir
=`$as_dirname -- "$as_dir" ||
20033 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20034 X"$as_dir" : 'X\(//\)[^/]' \| \
20035 X"$as_dir" : 'X\(//\)$' \| \
20036 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20037 $as_echo X"$as_dir" |
20038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20042 /^X\(\/\/\)[^/].*/{
20055 test -d "$as_dir" && break
20057 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20058 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20059 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20060 { (exit 1); exit 1; }; }; }
20064 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20066 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20067 # A ".." for each directory in $ac_dir_suffix.
20068 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20069 case $ac_top_builddir_sub in
20070 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20071 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20074 ac_abs_top_builddir
=$ac_pwd
20075 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20076 # for backward compatibility:
20077 ac_top_builddir
=$ac_top_build_prefix
20080 .
) # We are building in place.
20082 ac_top_srcdir
=$ac_top_builddir_sub
20083 ac_abs_top_srcdir
=$ac_pwd ;;
20084 [\\/]* | ?
:[\\/]* ) # Absolute name.
20085 ac_srcdir
=$srcdir$ac_dir_suffix;
20086 ac_top_srcdir
=$srcdir
20087 ac_abs_top_srcdir
=$srcdir ;;
20088 *) # Relative name.
20089 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20090 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20091 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20093 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20103 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20104 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20106 ac_MKDIR_P
=$MKDIR_P
20108 [\\/$
]* | ?
:[\\/]* ) ;;
20109 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20114 # If the template does not know about datarootdir, expand it.
20115 # FIXME: This hack should be removed a few years after 2.60.
20116 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20129 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20130 *datarootdir
*) ac_datarootdir_seen
=yes;;
20131 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20132 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20133 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20136 ac_datarootdir_hack='
20137 s&@datadir@&$datadir&g
20138 s&@docdir@&$docdir&g
20139 s&@infodir@&$infodir&g
20140 s&@localedir@&$localedir&g
20141 s&@mandir@&$mandir&g
20142 s&\\\${datarootdir}&$datarootdir&g' ;;
20146 # Neutralize VPATH when `$srcdir' = `.'.
20147 # Shell code in configure.ac might set extrasub.
20148 # FIXME: do we really want to maintain this feature?
20149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20150 ac_sed_extra="$ac_vpsub
20153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20155 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20156 s|@configure_input@|
$ac_sed_conf_input|
;t t
20157 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20158 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20159 s
&@srcdir@
&$ac_srcdir&;t t
20160 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20161 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20162 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20163 s
&@builddir@
&$ac_builddir&;t t
20164 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20165 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20166 s
&@INSTALL@
&$ac_INSTALL&;t t
20167 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20168 $ac_datarootdir_hack
20170 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
20171 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
20172 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
20173 { (exit 1); exit 1; }; }
20175 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20176 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20177 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20178 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20179 which seems to be undefined. Please make sure it is defined." >&5
20180 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20181 which seems to be undefined. Please make sure it is defined." >&2;}
20185 -) cat "$tmp/out" && rm -f "$tmp/out";;
20186 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20188 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
20189 $as_echo "$as_me: error: could not create $ac_file" >&2;}
20190 { (exit 1); exit 1; }; }
20196 if test x"$ac_file" != x-; then
20198 $as_echo "/* $configure_input */" \
20199 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20200 } >"$tmp/config.h" \
20201 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
20202 $as_echo "$as_me: error: could not create $ac_file" >&2;}
20203 { (exit 1); exit 1; }; }
20204 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20205 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20206 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20209 mv "$tmp/config.h" "$ac_file" \
20210 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
20211 $as_echo "$as_me: error: could not create $ac_file" >&2;}
20212 { (exit 1); exit 1; }; }
20215 $as_echo "/* $configure_input */" \
20216 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20217 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
20218 $as_echo "$as_me: error: could not create -" >&2;}
20219 { (exit 1); exit 1; }; }
20221 # Compute "$ac_file"'s index
in $config_headers.
20224 for _am_header
in $config_headers :; do
20225 case $_am_header in
20226 $_am_arg |
$_am_arg:* )
20229 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20232 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20233 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20234 X"$_am_arg" : 'X\(//\)[^/]' \| \
20235 X"$_am_arg" : 'X\(//\)$' \| \
20236 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20237 $as_echo X"$_am_arg" |
20238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20242 /^X\(\/\/\)[^/].*/{
20254 s/.*/./; q'`/stamp-h
$_am_stamp_count
20257 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
20258 $as_echo "$as_me: executing $ac_file commands" >&6;}
20263 case $ac_file$ac_mode in
20265 (mv spl_config.h spl_config.h.tmp
&&
20266 awk -f config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
20267 rm spl_config.h.tmp
) ||
exit 1 ;;
20268 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
20269 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20270 # are listed without --file. Let's play safe and only enable the eval
20271 # if we detect the quoting.
20272 case $CONFIG_FILES in
20273 *\'*) eval set x
"$CONFIG_FILES" ;;
20274 *) set x
$CONFIG_FILES ;;
20279 # Strip MF so we end up with the name of the file.
20280 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20281 # Check whether this is an Automake generated Makefile or not.
20282 # We used to match only the files named `Makefile.in', but
20283 # some people rename them; so instead we look at the file content.
20284 # Grep'ing the first line is not enough: some people post-process
20285 # each Makefile.in and add a new line on top of each file to say so.
20286 # Grep'ing the whole file is not good either: AIX grep has a line
20287 # limit of 2048, but all sed's we know have understand at least 4000.
20288 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20289 dirpart
=`$as_dirname -- "$mf" ||
20290 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20291 X"$mf" : 'X\(//\)[^/]' \| \
20292 X"$mf" : 'X\(//\)$' \| \
20293 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20299 /^X\(\/\/\)[^/].*/{
20315 # Extract the definition of DEPDIR, am__include, and am__quote
20316 # from the Makefile without running `make'.
20317 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20318 test -z "$DEPDIR" && continue
20319 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20320 test -z "am__include" && continue
20321 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20322 # When using ansi2knr, U may be empty or an underscore; expand it
20323 U
=`sed -n 's/^U = //p' < "$mf"`
20324 # Find all dependency output files, they are included files with
20325 # $(DEPDIR) in their names. We invoke sed twice because it is the
20326 # simplest approach to changing $(DEPDIR) to its actual value in the
20328 for file in `sed -n "
20329 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20330 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20331 # Make sure the directory exists.
20332 test -f "$dirpart/$file" && continue
20333 fdir
=`$as_dirname -- "$file" ||
20334 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20335 X"$file" : 'X\(//\)[^/]' \| \
20336 X"$file" : 'X\(//\)$' \| \
20337 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20338 $as_echo X"$file" |
20339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20343 /^X\(\/\/\)[^/].*/{
20356 { as_dir
=$dirpart/$fdir
20358 -*) as_dir
=.
/$as_dir;;
20360 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20364 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20365 *) as_qdir
=$as_dir;;
20367 as_dirs
="'$as_qdir' $as_dirs"
20368 as_dir
=`$as_dirname -- "$as_dir" ||
20369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20370 X"$as_dir" : 'X\(//\)[^/]' \| \
20371 X"$as_dir" : 'X\(//\)$' \| \
20372 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20373 $as_echo X"$as_dir" |
20374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20378 /^X\(\/\/\)[^/].*/{
20391 test -d "$as_dir" && break
20393 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20394 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20395 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20396 { (exit 1); exit 1; }; }; }
20397 # echo "creating $dirpart/$file"
20398 echo '# dummy' > "$dirpart/$file"
20405 # See if we are running on zsh, and set the options which allow our
20406 # commands through without removal of \ escapes.
20407 if test -n "${ZSH_VERSION+set}" ; then
20408 setopt NO_GLOB_SUBST
20411 cfgfile
="${ofile}T"
20412 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20415 cat <<_LT_EOF >> "$cfgfile"
20418 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20419 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20420 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20421 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20423 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20424 # 2006, 2007, 2008 Free Software Foundation, Inc.
20425 # Written by Gordon Matzigkeit, 1996
20427 # This file is part of GNU Libtool.
20429 # GNU Libtool is free software; you can redistribute it and/or
20430 # modify it under the terms of the GNU General Public License as
20431 # published by the Free Software Foundation; either version 2 of
20432 # the License, or (at your option) any later version.
20434 # As a special exception to the GNU General Public License,
20435 # if you distribute this file as part of a program or library that
20436 # is built using GNU Libtool, you may include this file under the
20437 # same distribution terms that you use for the rest of that program.
20439 # GNU Libtool is distributed in the hope that it will be useful,
20440 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20441 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20442 # GNU General Public License for more details.
20444 # You should have received a copy of the GNU General Public License
20445 # along with GNU Libtool; see the file COPYING. If not, a copy
20446 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20447 # obtained by writing to the Free Software Foundation, Inc.,
20448 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20451 # The names of the tagged configurations supported by this script.
20454 # ### BEGIN LIBTOOL CONFIG
20456 # Which release of libtool.m4 was used?
20457 macro_version=$macro_version
20458 macro_revision=$macro_revision
20460 # Whether or not to build shared libraries.
20461 build_libtool_libs=$enable_shared
20463 # Whether or not to build static libraries.
20464 build_old_libs=$enable_static
20466 # What type of objects to build.
20469 # Whether or not to optimize for fast installation.
20470 fast_install=$enable_fast_install
20473 host_alias=$host_alias
20477 # The build system.
20478 build_alias=$build_alias
20482 # A sed program that does not truncate output.
20485 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20486 Xsed="\$SED -e 1s/^X//"
20488 # A grep program that handles long lines.
20494 # A literal string matcher.
20497 # A BSD- or MS-compatible name lister.
20500 # Whether we need soft or hard links.
20503 # What is the maximum length of a command?
20504 max_cmd_len=$max_cmd_len
20506 # Object file suffix (normally "o").
20509 # Executable file suffix (normally "").
20512 # whether the shell understands "unset".
20515 # turn spaces into newlines.
20518 # turn newlines into spaces.
20521 # How to create reloadable object files.
20522 reload_flag=$lt_reload_flag
20523 reload_cmds=$lt_reload_cmds
20525 # An object symbol dumper.
20526 OBJDUMP=$lt_OBJDUMP
20528 # Method to check whether dependent libraries are shared objects.
20529 deplibs_check_method=$lt_deplibs_check_method
20531 # Command to use when deplibs_check_method == "file_magic".
20532 file_magic_cmd=$lt_file_magic_cmd
20536 AR_FLAGS=$lt_AR_FLAGS
20538 # A symbol stripping program.
20541 # Commands used to install an old-style archive.
20543 old_postinstall_cmds=$lt_old_postinstall_cmds
20544 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20549 # LTCC compiler flags.
20550 LTCFLAGS=$lt_CFLAGS
20552 # Take the output of nm and produce a listing of raw symbols and C names.
20553 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20555 # Transform the output of nm in a proper C declaration.
20556 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20558 # Transform the output of nm in a C name address pair.
20559 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20561 # Transform the output of nm in a C name address pair when lib prefix is needed.
20562 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20564 # The name of the directory that contains temporary libtool files.
20567 # Shell to use when invoking shell scripts.
20570 # An echo program that does not interpret backslashes.
20573 # Used to examine libraries when file_magic_cmd begins with "file".
20574 MAGIC_CMD=$MAGIC_CMD
20576 # Must we lock files when doing compilation?
20577 need_locks=$lt_need_locks
20579 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20580 DSYMUTIL=$lt_DSYMUTIL
20582 # Tool to change global to local symbols on Mac OS X.
20585 # Tool to manipulate fat objects and archives on Mac OS X.
20588 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20591 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20592 OTOOL64=$lt_OTOOL64
20594 # Old archive suffix (normally "a").
20597 # Shared library suffix (normally ".so").
20598 shrext_cmds=$lt_shrext_cmds
20600 # The commands to extract the exported symbol list from a shared archive.
20601 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20603 # Variables whose values should be saved in libtool wrapper scripts and
20604 # restored at link time.
20605 variables_saved_for_relink=$lt_variables_saved_for_relink
20607 # Do we need the "lib" prefix for modules?
20608 need_lib_prefix=$need_lib_prefix
20610 # Do we need a version for libraries?
20611 need_version=$need_version
20613 # Library versioning type.
20614 version_type=$version_type
20616 # Shared library runtime path variable.
20617 runpath_var=$runpath_var
20619 # Shared library path variable.
20620 shlibpath_var=$shlibpath_var
20622 # Is shlibpath searched before the hard-coded library search path?
20623 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20625 # Format of library name prefix.
20626 libname_spec=$lt_libname_spec
20628 # List of archive names. First name is the real one, the rest are links.
20629 # The last name is the one that the linker finds with -lNAME
20630 library_names_spec=$lt_library_names_spec
20632 # The coded name of the library, if different from the real name.
20633 soname_spec=$lt_soname_spec
20635 # Command to use after installation of a shared archive.
20636 postinstall_cmds=$lt_postinstall_cmds
20638 # Command to use after uninstallation of a shared archive.
20639 postuninstall_cmds=$lt_postuninstall_cmds
20641 # Commands used to finish a libtool library installation in a directory.
20642 finish_cmds=$lt_finish_cmds
20644 # As "finish_cmds", except a single script fragment to be evaled but
20646 finish_eval=$lt_finish_eval
20648 # Whether we should hardcode library paths into libraries.
20649 hardcode_into_libs=$hardcode_into_libs
20651 # Compile-time system search path for libraries.
20652 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20654 # Run-time system search path for libraries.
20655 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20657 # Whether dlopen is supported.
20658 dlopen_support=$enable_dlopen
20660 # Whether dlopen of programs is supported.
20661 dlopen_self=$enable_dlopen_self
20663 # Whether dlopen of statically linked programs is supported.
20664 dlopen_self_static=$enable_dlopen_self_static
20666 # Commands to strip libraries.
20667 old_striplib=$lt_old_striplib
20668 striplib=$lt_striplib
20671 # The linker used to build libraries.
20674 # Commands used to build an old-style archive.
20675 old_archive_cmds=$lt_old_archive_cmds
20677 # A language specific compiler.
20680 # Is the compiler the GNU compiler?
20683 # Compiler flag to turn off builtin functions.
20684 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20686 # How to pass a linker flag through the compiler.
20687 wl=$lt_lt_prog_compiler_wl
20689 # Additional compiler flags for building library objects.
20690 pic_flag=$lt_lt_prog_compiler_pic
20692 # Compiler flag to prevent dynamic linking.
20693 link_static_flag=$lt_lt_prog_compiler_static
20695 # Does compiler simultaneously support -c and -o options?
20696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20698 # Whether or not to add -lc for building shared libraries.
20699 build_libtool_need_lc=$archive_cmds_need_lc
20701 # Whether or not to disallow shared libs when runtime libs are static.
20702 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20704 # Compiler flag to allow reflexive dlopens.
20705 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20707 # Compiler flag to generate shared objects directly from archives.
20708 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20710 # Whether the compiler copes with passing no objects directly.
20711 compiler_needs_object=$lt_compiler_needs_object
20713 # Create an old-style archive from a shared archive.
20714 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20716 # Create a temporary old-style archive to link instead of a shared archive.
20717 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20719 # Commands used to build a shared archive.
20720 archive_cmds=$lt_archive_cmds
20721 archive_expsym_cmds=$lt_archive_expsym_cmds
20723 # Commands used to build a loadable module if different from building
20724 # a shared archive.
20725 module_cmds=$lt_module_cmds
20726 module_expsym_cmds=$lt_module_expsym_cmds
20728 # Whether we are building with GNU ld or not.
20729 with_gnu_ld=$lt_with_gnu_ld
20731 # Flag that allows shared libraries with undefined symbols to be built.
20732 allow_undefined_flag=$lt_allow_undefined_flag
20734 # Flag that enforces no undefined symbols.
20735 no_undefined_flag=$lt_no_undefined_flag
20737 # Flag to hardcode \$libdir into a binary during linking.
20738 # This must work even if \$libdir does not exist
20739 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20741 # If ld is used when linking, flag to hardcode \$libdir into a binary
20742 # during linking. This must work even if \$libdir does not exist.
20743 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20745 # Whether we need a single "-rpath" flag with a separated argument.
20746 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20748 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20749 # DIR into the resulting binary.
20750 hardcode_direct=$hardcode_direct
20752 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20753 # DIR into the resulting binary and the resulting library dependency is
20754 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20755 # library is relocated.
20756 hardcode_direct_absolute=$hardcode_direct_absolute
20758 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20759 # into the resulting binary.
20760 hardcode_minus_L=$hardcode_minus_L
20762 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20763 # into the resulting binary.
20764 hardcode_shlibpath_var=$hardcode_shlibpath_var
20766 # Set to "yes" if building a shared library automatically hardcodes DIR
20767 # into the library and all subsequent libraries and executables linked
20769 hardcode_automatic=$hardcode_automatic
20771 # Set to yes if linker adds runtime paths of dependent libraries
20772 # to runtime path list.
20773 inherit_rpath=$inherit_rpath
20775 # Whether libtool must link a program against all its dependency libraries.
20776 link_all_deplibs=$link_all_deplibs
20778 # Fix the shell variable \$srcfile for the compiler.
20779 fix_srcfile_path=$lt_fix_srcfile_path
20781 # Set to "yes" if exported symbols are required.
20782 always_export_symbols=$always_export_symbols
20784 # The commands to list exported symbols.
20785 export_symbols_cmds=$lt_export_symbols_cmds
20787 # Symbols that should not be listed in the preloaded symbols.
20788 exclude_expsyms=$lt_exclude_expsyms
20790 # Symbols that must always be exported.
20791 include_expsyms=$lt_include_expsyms
20793 # Commands necessary for linking programs (against libraries) with templates.
20794 prelink_cmds=$lt_prelink_cmds
20796 # Specify filename containing input files.
20797 file_list_spec=$lt_file_list_spec
20799 # How to hardcode a shared library path into an executable.
20800 hardcode_action=$hardcode_action
20802 # ### END LIBTOOL CONFIG
20808 cat <<\_LT_EOF
>> "$cfgfile"
20809 # AIX sometimes has problems with the GCC collect2 program. For some
20810 # reason, if we set the COLLECT_NAMES environment variable, the problems
20811 # vanish in a puff of smoke.
20812 if test "X${COLLECT_NAMES+set}" != Xset
; then
20814 export COLLECT_NAMES
20821 ltmain
="$ac_aux_dir/ltmain.sh"
20824 # We use sed instead of cat because bash on DJGPP gets confused if
20825 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20826 # text mode, it properly converts lines to CR/LF. This bash problem
20827 # is reportedly fixed, but why not run on old versions too?
20828 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20829 ||
(rm -f "$cfgfile"; exit 1)
20833 cat << \_LT_EOF
>> "$cfgfile"
20835 # func_dirname file append nondir_replacement
20836 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20837 # otherwise set result to NONDIR_REPLACEMENT.
20841 */*) func_dirname_result
="${1%/*}${2}" ;;
20842 * ) func_dirname_result
="${3}" ;;
20846 # func_basename file
20849 func_basename_result
="${1##*/}"
20852 # func_dirname_and_basename file append nondir_replacement
20853 # perform func_basename and func_dirname in a single function
20855 # dirname: Compute the dirname of FILE. If nonempty,
20856 # add APPEND to the result, otherwise set result
20857 # to NONDIR_REPLACEMENT.
20858 # value returned in "$func_dirname_result"
20859 # basename: Compute filename of FILE.
20860 # value retuned in "$func_basename_result"
20861 # Implementation must be kept synchronized with func_dirname
20862 # and func_basename. For efficiency, we do not delegate to
20863 # those functions but instead duplicate the functionality here.
20864 func_dirname_and_basename
()
20867 */*) func_dirname_result
="${1%/*}${2}" ;;
20868 * ) func_dirname_result
="${3}" ;;
20870 func_basename_result
="${1##*/}"
20873 # func_stripname prefix suffix name
20874 # strip PREFIX and SUFFIX off of NAME.
20875 # PREFIX and SUFFIX must not contain globbing or regex special
20876 # characters, hashes, percent signs, but SUFFIX may contain a leading
20877 # dot (in which case that matches only a dot).
20880 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20881 # positional parameters, so assign one to ordinary parameter first.
20882 func_stripname_result
=${3}
20883 func_stripname_result
=${func_stripname_result#"${1}"}
20884 func_stripname_result
=${func_stripname_result%"${2}"}
20890 func_opt_split_opt
=${1%%=*}
20891 func_opt_split_arg
=${1#*=}
20898 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20899 *) func_lo2o_result
=${1} ;;
20903 # func_xform libobj-or-source
20906 func_xform_result
=${1%.*}.lo
20909 # func_arith arithmetic-term...
20912 func_arith_result
=$
(( $
* ))
20916 # STRING may not start with a hyphen.
20919 func_len_result
=${#1}
20924 *) # Bourne compatible functions.
20925 cat << \_LT_EOF
>> "$cfgfile"
20927 # func_dirname file append nondir_replacement
20928 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20929 # otherwise set result to NONDIR_REPLACEMENT.
20932 # Extract subdirectory from the argument.
20933 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20934 if test "X$func_dirname_result" = "X${1}"; then
20935 func_dirname_result
="${3}"
20937 func_dirname_result
="$func_dirname_result${2}"
20941 # func_basename file
20944 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
20948 # func_stripname prefix suffix name
20949 # strip PREFIX and SUFFIX off of NAME.
20950 # PREFIX and SUFFIX must not contain globbing or regex special
20951 # characters, hashes, percent signs, but SUFFIX may contain a leading
20952 # dot (in which case that matches only a dot).
20953 # func_strip_suffix prefix name
20957 .
*) func_stripname_result
=`$ECHO "X${3}" \
20958 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20959 *) func_stripname_result
=`$ECHO "X${3}" \
20960 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20965 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20966 my_sed_long_arg
='1s/^-[^=]*=//'
20971 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20972 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20978 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20981 # func_xform libobj-or-source
20984 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20987 # func_arith arithmetic-term...
20990 func_arith_result
=`expr "$@"`
20994 # STRING may not start with a hyphen.
20997 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21003 case $lt_shell_append in
21005 cat << \_LT_EOF
>> "$cfgfile"
21007 # func_append var value
21008 # Append VALUE to the end of shell variable VAR.
21016 cat << \_LT_EOF
>> "$cfgfile"
21018 # func_append var value
21019 # Append VALUE to the end of shell variable VAR.
21030 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21031 ||
(rm -f "$cfgfile"; exit 1)
21033 mv -f "$cfgfile" "$ofile" ||
21034 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21043 { (exit 0); exit 0; }
21045 chmod +x
$CONFIG_STATUS
21046 ac_clean_files
=$ac_clean_files_save
21048 test $ac_write_fail = 0 ||
21049 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
21050 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
21051 { (exit 1); exit 1; }; }
21054 # configure is writing to config.log, and then calls config.status.
21055 # config.status does its own redirection, appending to config.log.
21056 # Unfortunately, on DOS this fails, as config.log is still kept open
21057 # by configure, so config.status won't be able to write to it; its
21058 # output is simply discarded. So we exec the FD to /dev/null,
21059 # effectively closing config.log, so it can be properly (re)opened and
21060 # appended to by config.status. When coming back to configure, we
21061 # need to make the FD available again.
21062 if test "$no_create" != yes; then
21064 ac_config_status_args
=
21065 test "$silent" = yes &&
21066 ac_config_status_args
="$ac_config_status_args --quiet"
21068 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21070 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21071 # would make configure fail if this is the last instruction.
21072 $ac_cs_success ||
{ (exit 1); exit 1; }
21074 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21075 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21076 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}