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
864 INSTALL_STRIP_PROGRAM
882 MAINTAINER_MODE_FALSE
932 program_transform_name
944 enable_option_checking
945 enable_maintainer_mode
947 enable_dependency_tracking
959 enable_debug_kmem_tracking
960 enable_atomic_spinlocks
962 ac_precious_vars
='build_alias
973 # Initialize some variables set by options.
975 ac_init_version
=false
976 ac_unrecognized_opts
=
978 # The variables have the same names as the options, with
979 # dashes changed to underlines.
987 program_transform_name
=s
,x
,x
,
995 # Installation directory options.
996 # These are left unexpanded so users can "make install exec_prefix=/foo"
997 # and all the variables that are supposed to be based on exec_prefix
998 # by default will actually change.
999 # Use braces instead of parens because sh, perl, etc. also accept them.
1000 # (The list follows the same order as the GNU Coding Standards.)
1001 bindir
='${exec_prefix}/bin'
1002 sbindir
='${exec_prefix}/sbin'
1003 libexecdir
='${exec_prefix}/libexec'
1004 datarootdir
='${prefix}/share'
1005 datadir
='${datarootdir}'
1006 sysconfdir
='${prefix}/etc'
1007 sharedstatedir
='${prefix}/com'
1008 localstatedir
='${prefix}/var'
1009 includedir
='${prefix}/include'
1010 oldincludedir
='/usr/include'
1011 docdir
='${datarootdir}/doc/${PACKAGE}'
1012 infodir
='${datarootdir}/info'
1017 libdir
='${exec_prefix}/lib'
1018 localedir
='${datarootdir}/locale'
1019 mandir
='${datarootdir}/man'
1025 # If the previous option needs an argument, assign it.
1026 if test -n "$ac_prev"; then
1027 eval $ac_prev=\
$ac_option
1033 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1037 # Accept the important Cygnus configure options, so we can diagnose typos.
1039 case $ac_dashdash$ac_option in
1043 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1045 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1046 bindir
=$ac_optarg ;;
1048 -build |
--build |
--buil |
--bui |
--bu)
1049 ac_prev
=build_alias
;;
1050 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1051 build_alias
=$ac_optarg ;;
1053 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1054 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1055 ac_prev
=cache_file
;;
1056 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1057 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1058 cache_file
=$ac_optarg ;;
1060 --config-cache |
-C)
1061 cache_file
=config.cache
;;
1063 -datadir |
--datadir |
--datadi |
--datad)
1065 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1066 datadir
=$ac_optarg ;;
1068 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1069 |
--dataroo |
--dataro |
--datar)
1070 ac_prev
=datarootdir
;;
1071 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1072 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1073 datarootdir
=$ac_optarg ;;
1075 -disable-* |
--disable-*)
1076 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1079 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1080 { (exit 1); exit 1; }; }
1081 ac_useropt_orig
=$ac_useropt
1082 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1085 "enable_
$ac_useropt"
1087 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1088 ac_unrecognized_sep
=', ';;
1090 eval enable_
$ac_useropt=no
;;
1092 -docdir |
--docdir |
--docdi |
--doc |
--do)
1094 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1095 docdir
=$ac_optarg ;;
1097 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1099 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1100 dvidir
=$ac_optarg ;;
1102 -enable-* |
--enable-*)
1103 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1106 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1107 { (exit 1); exit 1; }; }
1108 ac_useropt_orig
=$ac_useropt
1109 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1112 "enable_
$ac_useropt"
1114 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1115 ac_unrecognized_sep
=', ';;
1117 eval enable_
$ac_useropt=\
$ac_optarg ;;
1119 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1120 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1121 |
--exec |
--exe |
--ex)
1122 ac_prev
=exec_prefix
;;
1123 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1124 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1125 |
--exec=* |
--exe=* |
--ex=*)
1126 exec_prefix
=$ac_optarg ;;
1128 -gas |
--gas |
--ga |
--g)
1129 # Obsolete; use --with-gas.
1132 -help |
--help |
--hel |
--he |
-h)
1133 ac_init_help
=long
;;
1134 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1135 ac_init_help
=recursive
;;
1136 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1137 ac_init_help
=short
;;
1139 -host |
--host |
--hos |
--ho)
1140 ac_prev
=host_alias
;;
1141 -host=* |
--host=* |
--hos=* |
--ho=*)
1142 host_alias
=$ac_optarg ;;
1144 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1146 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1148 htmldir
=$ac_optarg ;;
1150 -includedir |
--includedir |
--includedi |
--included |
--include \
1151 |
--includ |
--inclu |
--incl |
--inc)
1152 ac_prev
=includedir
;;
1153 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1154 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1155 includedir
=$ac_optarg ;;
1157 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1159 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1160 infodir
=$ac_optarg ;;
1162 -libdir |
--libdir |
--libdi |
--libd)
1164 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1165 libdir
=$ac_optarg ;;
1167 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1168 |
--libexe |
--libex |
--libe)
1169 ac_prev
=libexecdir
;;
1170 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1171 |
--libexe=* |
--libex=* |
--libe=*)
1172 libexecdir
=$ac_optarg ;;
1174 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1175 ac_prev
=localedir
;;
1176 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1177 localedir
=$ac_optarg ;;
1179 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1180 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1181 ac_prev
=localstatedir
;;
1182 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1183 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1184 localstatedir
=$ac_optarg ;;
1186 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1188 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1189 mandir
=$ac_optarg ;;
1191 -nfp |
--nfp |
--nf)
1192 # Obsolete; use --without-fp.
1195 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1196 |
--no-cr |
--no-c |
-n)
1199 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1200 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1203 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1204 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1205 |
--oldin |
--oldi |
--old |
--ol |
--o)
1206 ac_prev
=oldincludedir
;;
1207 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1208 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1209 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1210 oldincludedir
=$ac_optarg ;;
1212 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1214 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1215 prefix
=$ac_optarg ;;
1217 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1218 |
--program-pre |
--program-pr |
--program-p)
1219 ac_prev
=program_prefix
;;
1220 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1221 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1222 program_prefix
=$ac_optarg ;;
1224 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1225 |
--program-suf |
--program-su |
--program-s)
1226 ac_prev
=program_suffix
;;
1227 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1228 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1229 program_suffix
=$ac_optarg ;;
1231 -program-transform-name |
--program-transform-name \
1232 |
--program-transform-nam |
--program-transform-na \
1233 |
--program-transform-n |
--program-transform- \
1234 |
--program-transform |
--program-transfor \
1235 |
--program-transfo |
--program-transf \
1236 |
--program-trans |
--program-tran \
1237 |
--progr-tra |
--program-tr |
--program-t)
1238 ac_prev
=program_transform_name
;;
1239 -program-transform-name=* |
--program-transform-name=* \
1240 |
--program-transform-nam=* |
--program-transform-na=* \
1241 |
--program-transform-n=* |
--program-transform-=* \
1242 |
--program-transform=* |
--program-transfor=* \
1243 |
--program-transfo=* |
--program-transf=* \
1244 |
--program-trans=* |
--program-tran=* \
1245 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1246 program_transform_name
=$ac_optarg ;;
1248 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1250 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1251 pdfdir
=$ac_optarg ;;
1253 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1255 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1258 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1259 |
-silent |
--silent |
--silen |
--sile |
--sil)
1262 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1264 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1266 sbindir
=$ac_optarg ;;
1268 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1269 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1270 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1272 ac_prev
=sharedstatedir
;;
1273 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1274 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1275 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1277 sharedstatedir
=$ac_optarg ;;
1279 -site |
--site |
--sit)
1281 -site=* |
--site=* |
--sit=*)
1284 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1286 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1287 srcdir
=$ac_optarg ;;
1289 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1290 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1291 ac_prev
=sysconfdir
;;
1292 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1293 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1294 sysconfdir
=$ac_optarg ;;
1296 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1297 ac_prev
=target_alias
;;
1298 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1299 target_alias
=$ac_optarg ;;
1301 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1304 -version |
--version |
--versio |
--versi |
--vers |
-V)
1305 ac_init_version
=: ;;
1308 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1311 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1312 { (exit 1); exit 1; }; }
1313 ac_useropt_orig
=$ac_useropt
1314 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1315 case $ac_user_opts in
1319 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1320 ac_unrecognized_sep
=', ';;
1322 eval with_
$ac_useropt=\
$ac_optarg ;;
1324 -without-* |
--without-*)
1325 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1326 # Reject names that are not valid shell variable names.
1327 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1328 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1329 { (exit 1); exit 1; }; }
1330 ac_useropt_orig
=$ac_useropt
1331 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1332 case $ac_user_opts in
1336 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1337 ac_unrecognized_sep
=', ';;
1339 eval with_
$ac_useropt=no
;;
1342 # Obsolete; use --with-x.
1345 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1346 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1347 ac_prev
=x_includes
;;
1348 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1349 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1350 x_includes
=$ac_optarg ;;
1352 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1353 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1354 ac_prev
=x_libraries
;;
1355 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1356 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1357 x_libraries
=$ac_optarg ;;
1359 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1360 Try \`$0 --help' for more information." >&2
1361 { (exit 1); exit 1; }; }
1365 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1366 # Reject names that are not valid shell variable names.
1367 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1368 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1369 { (exit 1); exit 1; }; }
1370 eval $ac_envvar=\
$ac_optarg
1371 export $ac_envvar ;;
1374 # FIXME: should be removed in autoconf 3.0.
1375 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1376 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1377 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1378 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1384 if test -n "$ac_prev"; then
1385 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1386 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1387 { (exit 1); exit 1; }; }
1390 if test -n "$ac_unrecognized_opts"; then
1391 case $enable_option_checking in
1393 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1394 { (exit 1); exit 1; }; } ;;
1395 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1399 # Check all directory arguments for consistency.
1400 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1401 datadir sysconfdir sharedstatedir localstatedir includedir \
1402 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1403 libdir localedir mandir
1405 eval ac_val
=\$
$ac_var
1406 # Remove trailing slashes.
1409 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1410 eval $ac_var=\
$ac_val;;
1412 # Be sure to have absolute directory names.
1414 [\\/$
]* | ?
:[\\/]* ) continue;;
1415 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1417 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1418 { (exit 1); exit 1; }; }
1421 # There might be people who depend on the old broken behavior: `$host'
1422 # used to hold the argument of --host etc.
1423 # FIXME: To remove some day.
1426 target
=$target_alias
1428 # FIXME: To remove some day.
1429 if test "x$host_alias" != x
; then
1430 if test "x$build_alias" = x
; then
1431 cross_compiling
=maybe
1432 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1433 If a cross compiler is detected then cross compile mode will be used." >&2
1434 elif test "x$build_alias" != "x$host_alias"; then
1440 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1442 test "$silent" = yes && exec 6>/dev
/null
1445 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1446 ac_ls_di
=`ls -di .` &&
1447 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1448 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1449 { (exit 1); exit 1; }; }
1450 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1451 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1452 { (exit 1); exit 1; }; }
1455 # Find the source files, if location was not specified.
1456 if test -z "$srcdir"; then
1457 ac_srcdir_defaulted
=yes
1458 # Try the directory containing this script, then the parent directory.
1459 ac_confdir
=`$as_dirname -- "$as_myself" ||
1460 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1461 X"$as_myself" : 'X\(//\)[^/]' \| \
1462 X"$as_myself" : 'X\(//\)$' \| \
1463 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1464 $as_echo X"$as_myself" |
1465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1483 if test ! -r "$srcdir/$ac_unique_file"; then
1487 ac_srcdir_defaulted
=no
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1490 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1491 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1492 { (exit 1); exit 1; }; }
1494 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1496 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1497 { (exit 1); exit 1; }; }
1499 # When building in place, set srcdir=.
1500 if test "$ac_abs_confdir" = "$ac_pwd"; then
1503 # Remove unnecessary trailing slashes from srcdir.
1504 # Double slashes in file names in object file debugging info
1505 # mess up M-x gdb in Emacs.
1507 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1509 for ac_var
in $ac_precious_vars; do
1510 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1511 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1512 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1513 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1517 # Report the --help message.
1519 if test "$ac_init_help" = "long"; then
1520 # Omit some internal or obsolete options to make the list less imposing.
1521 # This message is too long to be a string in the A/UX 3.1 sh.
1523 \`configure' configures this package to adapt to many kinds of systems.
1525 Usage: $0 [OPTION]... [VAR=VALUE]...
1527 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1528 VAR=VALUE. See below for descriptions of some of the useful variables.
1530 Defaults for the options are specified in brackets.
1533 -h, --help display this help and exit
1534 --help=short display options specific to this package
1535 --help=recursive display the short help of all the included packages
1536 -V, --version display version information and exit
1537 -q, --quiet, --silent do not print \`checking...' messages
1538 --cache-file=FILE cache test results in FILE [disabled]
1539 -C, --config-cache alias for \`--cache-file=config.cache'
1540 -n, --no-create do not create output files
1541 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1543 Installation directories:
1544 --prefix=PREFIX install architecture-independent files in PREFIX
1545 [$ac_default_prefix]
1546 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1549 By default, \`make install' will install all the files in
1550 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1551 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1552 for instance \`--prefix=\$HOME'.
1554 For better control, use the options below.
1556 Fine tuning of the installation directories:
1557 --bindir=DIR user executables [EPREFIX/bin]
1558 --sbindir=DIR system admin executables [EPREFIX/sbin]
1559 --libexecdir=DIR program executables [EPREFIX/libexec]
1560 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1561 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1562 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1563 --libdir=DIR object code libraries [EPREFIX/lib]
1564 --includedir=DIR C header files [PREFIX/include]
1565 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1566 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1567 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1568 --infodir=DIR info documentation [DATAROOTDIR/info]
1569 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1570 --mandir=DIR man documentation [DATAROOTDIR/man]
1571 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1572 --htmldir=DIR html documentation [DOCDIR]
1573 --dvidir=DIR dvi documentation [DOCDIR]
1574 --pdfdir=DIR pdf documentation [DOCDIR]
1575 --psdir=DIR ps documentation [DOCDIR]
1581 --program-prefix=PREFIX prepend PREFIX to installed program names
1582 --program-suffix=SUFFIX append SUFFIX to installed program names
1583 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1586 --build=BUILD configure
for building on BUILD
[guessed
]
1587 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1588 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1592 if test -n "$ac_init_help"; then
1597 --disable-option-checking ignore unrecognized
--enable/--with options
1598 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1599 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1600 --enable-maintainer-mode enable make rules and dependencies not useful
1601 (and sometimes confusing
) to the casual installer
1602 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1603 --disable-silent-rules verbose build output (undo: `make V
=0')
1604 --disable-dependency-tracking speeds up one-time build
1605 --enable-dependency-tracking do not reject slow dependency extractors
1606 --enable-shared[=PKGS] build shared libraries [default=yes]
1607 --enable-static[=PKGS] build static libraries [default=yes]
1608 --enable-fast-install[=PKGS]
1609 optimize for fast installation [default=yes]
1610 --disable-libtool-lock avoid locking (might break parallel builds)
1611 --enable-debug Enable generic debug support [default=no]
1612 --enable-debug-kmem Enable basic kmem accounting [default=yes]
1613 --enable-debug-kmem-tracking
1614 Enable detailed kmem tracking [default=no]
1615 --enable-atomic-spinlocks
1616 Atomic types use spinlocks [default=check]
1619 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1620 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1621 --with-pic try to use only PIC/non-PIC objects [default=use
1623 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1624 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1625 --with-linux=PATH Path to kernel source
1626 --with-linux-obj=PATH Path to kernel build objects
1628 Some influential environment variables:
1629 CC C compiler command
1630 CFLAGS C compiler flags
1631 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1632 nonstandard directory <lib dir>
1633 LIBS libraries to pass to the linker, e.g. -l<library>
1634 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1635 you have headers in a nonstandard directory <include dir>
1638 Use these variables to override the choices made by `configure' or to
help
1639 it to
find libraries and programs with nonstandard names
/locations.
1645 if test "$ac_init_help" = "recursive"; then
1646 # If there are subdirs, report their specific --help.
1647 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1648 test -d "$ac_dir" ||
1649 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1654 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1656 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1657 # A ".." for each directory in $ac_dir_suffix.
1658 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1659 case $ac_top_builddir_sub in
1660 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1661 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1664 ac_abs_top_builddir
=$ac_pwd
1665 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1666 # for backward compatibility:
1667 ac_top_builddir
=$ac_top_build_prefix
1670 .
) # We are building in place.
1672 ac_top_srcdir
=$ac_top_builddir_sub
1673 ac_abs_top_srcdir
=$ac_pwd ;;
1674 [\\/]* | ?
:[\\/]* ) # Absolute name.
1675 ac_srcdir
=$srcdir$ac_dir_suffix;
1676 ac_top_srcdir
=$srcdir
1677 ac_abs_top_srcdir
=$srcdir ;;
1679 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1680 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1681 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1683 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1685 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1686 # Check for guested configure.
1687 if test -f "$ac_srcdir/configure.gnu"; then
1689 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1690 elif test -f "$ac_srcdir/configure"; then
1692 $SHELL "$ac_srcdir/configure" --help=recursive
1694 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1696 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1700 test -n "$ac_init_help" && exit $ac_status
1701 if $ac_init_version; then
1704 generated by GNU Autoconf
2.63
1706 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1707 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1708 This configure
script is free software
; the Free Software Foundation
1709 gives unlimited permission to copy
, distribute and modify it.
1713 cat >config.log
<<_ACEOF
1714 This file contains any messages produced by compilers while
1715 running configure, to aid debugging if configure makes a mistake.
1717 It was created by $as_me, which was
1718 generated by GNU Autoconf 2.63. Invocation command line was
1730 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1731 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1732 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1733 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1734 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1736 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1737 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1739 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1740 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1741 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1742 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1743 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1744 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1745 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1753 test -z "$as_dir" && as_dir
=.
1754 $as_echo "PATH: $as_dir"
1770 # Keep a trace of the command line.
1771 # Strip out --no-create and --no-recursion so they do not pile up.
1772 # Strip out --silent because we don't want to record it for future runs.
1773 # Also quote any args containing shell meta-characters.
1774 # Make two passes to allow for proper duplicate-argument suppression.
1778 ac_must_keep_next
=false
1784 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1785 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1786 |
-silent |
--silent |
--silen |
--sile |
--sil)
1789 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1792 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1794 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1795 if test $ac_must_keep_next = true
; then
1796 ac_must_keep_next
=false
# Got value, back to normal.
1799 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1800 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1801 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1802 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1803 case "$ac_configure_args0 " in
1804 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1807 -* ) ac_must_keep_next
=true
;;
1810 ac_configure_args
="$ac_configure_args '$ac_arg'"
1815 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1816 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1818 # When interrupted or exit'd, cleanup temporary files, and complete
1819 # config.log. We remove comments because anyway the quotes in there
1820 # would cause problems or look ugly.
1821 # WARNING: Use '\'' to represent an apostrophe within the trap.
1822 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1823 trap 'exit_status=$?
1824 # Save into config.log some information that might help in debugging.
1829 ## ---------------- ##
1830 ## Cache variables. ##
1831 ## ---------------- ##
1834 # The following way of writing the cache mishandles newlines in values,
1836 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1837 eval ac_val=\$$ac_var
1841 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1842 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1845 _ | IFS | as_nl) ;; #(
1846 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1847 *) $as_unset $ac_var ;;
1852 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1853 *${as_nl}ac_space=\ *)
1855 "s/'\''/'\''\\\\'\'''\''/g;
1856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1867 ## ----------------- ##
1868 ## Output variables. ##
1869 ## ----------------- ##
1872 for ac_var in $ac_subst_vars
1874 eval ac_val=\$$ac_var
1876 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1878 $as_echo "$ac_var='\''$ac_val'\''"
1882 if test -n "$ac_subst_files"; then
1884 ## ------------------- ##
1885 ## File substitutions. ##
1886 ## ------------------- ##
1889 for ac_var
in $ac_subst_files
1891 eval ac_val
=\$
$ac_var
1893 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1895 $as_echo "$ac_var='\''$ac_val'\''"
1900 if test -s confdefs.h; then
1910 test "$ac_signal" != 0 &&
1911 $as_echo "$as_me: caught signal $ac_signal"
1912 $as_echo "$as_me: exit $exit_status"
1914 rm -f core *.core core.conftest.* &&
1915 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1918 for ac_signal
in 1 2 13 15; do
1919 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1923 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1924 rm -f -r conftest
* confdefs.h
1926 # Predefined preprocessor variables.
1928 cat >>confdefs.h
<<_ACEOF
1929 #define PACKAGE_NAME "$PACKAGE_NAME"
1933 cat >>confdefs.h
<<_ACEOF
1934 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1938 cat >>confdefs.h
<<_ACEOF
1939 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1943 cat >>confdefs.h
<<_ACEOF
1944 #define PACKAGE_STRING "$PACKAGE_STRING"
1948 cat >>confdefs.h
<<_ACEOF
1949 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1953 # Let the site file select an alternate cache file if it wants to.
1954 # Prefer an explicitly selected file to automatically selected ones.
1957 if test -n "$CONFIG_SITE"; then
1958 ac_site_file1
=$CONFIG_SITE
1959 elif test "x$prefix" != xNONE
; then
1960 ac_site_file1
=$prefix/share
/config.site
1961 ac_site_file2
=$prefix/etc
/config.site
1963 ac_site_file1
=$ac_default_prefix/share
/config.site
1964 ac_site_file2
=$ac_default_prefix/etc
/config.site
1966 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1968 test "x$ac_site_file" = xNONE
&& continue
1969 if test -r "$ac_site_file"; then
1970 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1971 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1972 sed 's/^/| /' "$ac_site_file" >&5
1977 if test -r "$cache_file"; then
1978 # Some versions of bash will fail to source /dev/null (special
1979 # files actually), so we avoid doing that.
1980 if test -f "$cache_file"; then
1981 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1982 $as_echo "$as_me: loading cache $cache_file" >&6;}
1984 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1985 *) .
"./$cache_file";;
1989 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1990 $as_echo "$as_me: creating cache $cache_file" >&6;}
1994 # Check that the precious variables saved in the cache have kept the same
1996 ac_cache_corrupted
=false
1997 for ac_var
in $ac_precious_vars; do
1998 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1999 eval ac_new_set
=\
$ac_env_${ac_var}_set
2000 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2001 eval ac_new_val
=\
$ac_env_${ac_var}_value
2002 case $ac_old_set,$ac_new_set in
2004 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2005 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2006 ac_cache_corrupted
=: ;;
2008 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2009 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2010 ac_cache_corrupted
=: ;;
2013 if test "x$ac_old_val" != "x$ac_new_val"; then
2014 # differences in whitespace do not lead to failure.
2015 ac_old_val_w
=`echo x $ac_old_val`
2016 ac_new_val_w
=`echo x $ac_new_val`
2017 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2018 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2019 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2020 ac_cache_corrupted
=:
2022 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2023 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2024 eval $ac_var=\
$ac_old_val
2026 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2027 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2028 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2029 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2032 # Pass precious variables to config.status.
2033 if test "$ac_new_set" = set; then
2035 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2036 *) ac_arg
=$ac_var=$ac_new_val ;;
2038 case " $ac_configure_args " in
2039 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2040 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2044 if $ac_cache_corrupted; then
2045 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2047 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2048 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2049 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2050 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2051 { (exit 1); exit 1; }; }
2071 ac_cpp
='$CPP $CPPFLAGS'
2072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2078 ac_cpp
='$CPP $CPPFLAGS'
2079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2084 { $as_echo "$as_me:$LINENO: checking metadata" >&5
2085 $as_echo_n "checking metadata... " >&6; }
2088 _spl_ac_meta_got_file
=no
2089 if test -f "$META"; then
2090 _spl_ac_meta_got_file
=yes
2092 SPL_META_NAME
=`perl -n\
2093 -e "BEGIN { \\$key=shift @ARGV; }"\
2094 -e "next unless s/^\s*\\$key[:=]//i;"\
2095 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2098 -e "s/^(['\"])(.*)\1/\\$2/;"\
2100 -e "END { print \\$val if defined \\$val; }"\
2101 '(?:NAME|PROJECT|PACKAGE)' $META`;
2102 if test -n "$SPL_META_NAME"; then
2104 cat >>confdefs.h
<<_ACEOF
2105 #define SPL_META_NAME "$SPL_META_NAME"
2111 SPL_META_VERSION
=`perl -n\
2112 -e "BEGIN { \\$key=shift @ARGV; }"\
2113 -e "next unless s/^\s*\\$key[:=]//i;"\
2114 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2117 -e "s/^(['\"])(.*)\1/\\$2/;"\
2119 -e "END { print \\$val if defined \\$val; }"\
2121 if test -n "$SPL_META_VERSION"; then
2123 cat >>confdefs.h
<<_ACEOF
2124 #define SPL_META_VERSION "$SPL_META_VERSION"
2130 SPL_META_RELEASE
=`perl -n\
2131 -e "BEGIN { \\$key=shift @ARGV; }"\
2132 -e "next unless s/^\s*\\$key[:=]//i;"\
2133 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2136 -e "s/^(['\"])(.*)\1/\\$2/;"\
2138 -e "END { print \\$val if defined \\$val; }"\
2140 if test -n "$SPL_META_RELEASE"; then
2142 cat >>confdefs.h
<<_ACEOF
2143 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2149 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2150 SPL_META_ALIAS
="$SPL_META_NAME-$SPL_META_VERSION"
2151 test -n "$SPL_META_RELEASE" &&
2152 SPL_META_ALIAS
="$SPL_META_ALIAS-$SPL_META_RELEASE"
2154 cat >>confdefs.h
<<_ACEOF
2155 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2161 SPL_META_DATA
=`perl -n\
2162 -e "BEGIN { \\$key=shift @ARGV; }"\
2163 -e "next unless s/^\s*\\$key[:=]//i;"\
2164 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2167 -e "s/^(['\"])(.*)\1/\\$2/;"\
2169 -e "END { print \\$val if defined \\$val; }"\
2171 if test -n "$SPL_META_DATA"; then
2173 cat >>confdefs.h
<<_ACEOF
2174 #define SPL_META_DATA "$SPL_META_DATA"
2180 SPL_META_AUTHOR
=`perl -n\
2181 -e "BEGIN { \\$key=shift @ARGV; }"\
2182 -e "next unless s/^\s*\\$key[:=]//i;"\
2183 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2186 -e "s/^(['\"])(.*)\1/\\$2/;"\
2188 -e "END { print \\$val if defined \\$val; }"\
2190 if test -n "$SPL_META_AUTHOR"; then
2192 cat >>confdefs.h
<<_ACEOF
2193 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2200 SPL_META_LT_CURRENT
=`perl -n\
2201 -e "BEGIN { \\$key=shift @ARGV; }"\
2202 -e "next unless s/^\s*\\$key[:=]//i;"\
2203 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2206 -e "s/^(['\"])(.*)\1/\\$2/;"\
2208 -e "END { print \\$val if defined \\$val; }"\
2209 'LT_CURRENT' $META`;
2210 SPL_META_LT_REVISION
=`perl -n\
2211 -e "BEGIN { \\$key=shift @ARGV; }"\
2212 -e "next unless s/^\s*\\$key[:=]//i;"\
2213 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2216 -e "s/^(['\"])(.*)\1/\\$2/;"\
2218 -e "END { print \\$val if defined \\$val; }"\
2219 'LT_REVISION' $META`;
2220 SPL_META_LT_AGE
=`perl -n\
2221 -e "BEGIN { \\$key=shift @ARGV; }"\
2222 -e "next unless s/^\s*\\$key[:=]//i;"\
2223 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2226 -e "s/^(['\"])(.*)\1/\\$2/;"\
2228 -e "END { print \\$val if defined \\$val; }"\
2230 if test -n "$SPL_META_LT_CURRENT" \
2231 -o -n "$SPL_META_LT_REVISION" \
2232 -o -n "$SPL_META_LT_AGE"; then
2233 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT
="0"
2234 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION
="0"
2235 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE
="0"
2237 cat >>confdefs.h
<<_ACEOF
2238 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2242 cat >>confdefs.h
<<_ACEOF
2243 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2247 cat >>confdefs.h
<<_ACEOF
2248 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2257 { $as_echo "$as_me:$LINENO: result: $_spl_ac_meta_got_file" >&5
2258 $as_echo "$_spl_ac_meta_got_file" >&6; }
2262 for ac_dir
in config
"$srcdir"/config
; do
2263 if test -f "$ac_dir/install-sh"; then
2265 ac_install_sh
="$ac_aux_dir/install-sh -c"
2267 elif test -f "$ac_dir/install.sh"; then
2269 ac_install_sh
="$ac_aux_dir/install.sh -c"
2271 elif test -f "$ac_dir/shtool"; then
2273 ac_install_sh
="$ac_aux_dir/shtool install -c"
2277 if test -z "$ac_aux_dir"; then
2278 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2279 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2280 { (exit 1); exit 1; }; }
2283 # These three variables are undocumented and unsupported,
2284 # and are intended to be withdrawn in a future Autoconf release.
2285 # They can cause serious problems if a builder's source tree is in a directory
2286 # whose full name contains unusual characters.
2287 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2288 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2289 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2292 # Make sure we can run config.sub.
2293 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2294 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2295 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2296 { (exit 1); exit 1; }; }
2298 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2299 $as_echo_n "checking build system type... " >&6; }
2300 if test "${ac_cv_build+set}" = set; then
2301 $as_echo_n "(cached) " >&6
2303 ac_build_alias
=$build_alias
2304 test "x$ac_build_alias" = x
&&
2305 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2306 test "x$ac_build_alias" = x
&&
2307 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2308 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2309 { (exit 1); exit 1; }; }
2310 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2311 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2312 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2313 { (exit 1); exit 1; }; }
2316 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2317 $as_echo "$ac_cv_build" >&6; }
2318 case $ac_cv_build in
2320 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2321 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2322 { (exit 1); exit 1; }; };;
2325 ac_save_IFS
=$IFS; IFS
='-'
2331 # Remember, the first character of IFS is used to create $*,
2332 # except with old shells:
2335 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2338 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2339 $as_echo_n "checking host system type... " >&6; }
2340 if test "${ac_cv_host+set}" = set; then
2341 $as_echo_n "(cached) " >&6
2343 if test "x$host_alias" = x
; then
2344 ac_cv_host
=$ac_cv_build
2346 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2347 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2348 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2349 { (exit 1); exit 1; }; }
2353 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2354 $as_echo "$ac_cv_host" >&6; }
2357 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2358 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2359 { (exit 1); exit 1; }; };;
2362 ac_save_IFS
=$IFS; IFS
='-'
2368 # Remember, the first character of IFS is used to create $*,
2369 # except with old shells:
2372 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2375 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2376 $as_echo_n "checking target system type... " >&6; }
2377 if test "${ac_cv_target+set}" = set; then
2378 $as_echo_n "(cached) " >&6
2380 if test "x$target_alias" = x
; then
2381 ac_cv_target
=$ac_cv_host
2383 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2384 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2385 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2386 { (exit 1); exit 1; }; }
2390 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2391 $as_echo "$ac_cv_target" >&6; }
2392 case $ac_cv_target in
2394 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2395 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2396 { (exit 1); exit 1; }; };;
2398 target
=$ac_cv_target
2399 ac_save_IFS
=$IFS; IFS
='-'
2405 # Remember, the first character of IFS is used to create $*,
2406 # except with old shells:
2409 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2412 # The aliases save the names the user supplied, while $host etc.
2413 # will get canonicalized.
2414 test -n "$target_alias" &&
2415 test "$program_prefix$program_suffix$program_transform_name" = \
2417 program_prefix
=${target_alias}-
2419 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2420 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2421 # Check whether --enable-maintainer-mode was given.
2422 if test "${enable_maintainer_mode+set}" = set; then
2423 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2425 USE_MAINTAINER_MODE
=no
2428 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2429 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2430 if test $USE_MAINTAINER_MODE = yes; then
2431 MAINTAINER_MODE_TRUE
=
2432 MAINTAINER_MODE_FALSE
='#'
2434 MAINTAINER_MODE_TRUE
='#'
2435 MAINTAINER_MODE_FALSE
=
2438 MAINT
=$MAINTAINER_MODE_TRUE
2441 # Check whether --enable-silent-rules was given.
2442 if test "${enable_silent_rules+set}" = set; then
2443 enableval
=$enable_silent_rules;
2446 case $enable_silent_rules in
2447 yes) AM_DEFAULT_VERBOSITY
=0;;
2448 no
) AM_DEFAULT_VERBOSITY
=1;;
2449 *) AM_DEFAULT_VERBOSITY
=1;;
2453 am__api_version='1.11'
2455 # Find a good install program. We prefer a C program (faster),
2456 # so one script is as good as another. But avoid the broken or
2457 # incompatible versions:
2458 # SysV /etc/install, /usr/sbin/install
2459 # SunOS /usr/etc/install
2460 # IRIX /sbin/install
2462 # AmigaOS /C/install, which installs bootblocks on floppy discs
2463 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2464 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2465 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2466 # OS/2's system install, which has a completely different semantic
2467 # ./install, which can be erroneously created by make from ./install.sh.
2468 # Reject install programs that cannot install multiple files.
2469 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2470 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2471 if test -z "$INSTALL"; then
2472 if test "${ac_cv_path_install+set}" = set; then
2473 $as_echo_n "(cached) " >&6
2475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2479 test -z "$as_dir" && as_dir
=.
2480 # Account for people who put trailing slashes in PATH elements.
2482 .
/ | .
// |
/cC
/* | \
2483 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2484 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2487 # OSF1 and SCO ODT 3.0 have their own names for install.
2488 # Don't use installbsd from OSF since it installs stuff as root
2490 for ac_prog
in ginstall scoinst
install; do
2491 for ac_exec_ext
in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2493 if test $ac_prog = install &&
2494 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2495 # AIX install. It has an incompatible calling convention.
2497 elif test $ac_prog = install &&
2498 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2499 # program-specific install script used by HP pwplus--don't use.
2502 rm -rf conftest.one conftest.two conftest.dir
2503 echo one
> conftest.one
2504 echo two
> conftest.two
2506 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2507 test -s conftest.one
&& test -s conftest.two
&&
2508 test -s conftest.dir
/conftest.one
&&
2509 test -s conftest.dir
/conftest.two
2511 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2524 rm -rf conftest.one conftest.two conftest.dir
2527 if test "${ac_cv_path_install+set}" = set; then
2528 INSTALL
=$ac_cv_path_install
2530 # As a last resort, use the slow shell script. Don't cache a
2531 # value for INSTALL within a source directory, because that will
2532 # break other packages using the cache if that directory is
2533 # removed, or if the value is a relative name.
2534 INSTALL
=$ac_install_sh
2537 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2538 $as_echo "$INSTALL" >&6; }
2540 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2541 # It thinks the first close brace ends the variable substitution.
2542 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2544 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2546 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2548 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2549 $as_echo_n "checking whether build environment is sane... " >&6; }
2552 echo timestamp
> conftest.
file
2553 # Reject unsafe characters in $srcdir or the absolute working directory
2554 # name. Accept space and tab only in the latter.
2558 *[\\\"\
#\$\&\'\`$am_lf]*)
2559 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2560 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2561 { (exit 1); exit 1; }; };;
2564 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2565 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2566 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2567 { (exit 1); exit 1; }; };;
2570 # Do `set' in a subshell so we don't clobber the current shell's
2571 # arguments. Must try -L first in case configure is actually a
2572 # symlink; some systems play weird games with the mod time of symlinks
2573 # (eg FreeBSD returns the mod time of the symlink's containing
2576 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2577 if test "$*" = "X"; then
2579 set X
`ls -t "$srcdir/configure" conftest.file`
2582 if test "$*" != "X $srcdir/configure conftest.file" \
2583 && test "$*" != "X conftest.file $srcdir/configure"; then
2585 # If neither matched, then we have a broken ls. This can happen
2586 # if, for instance, CONFIG_SHELL is bash and it inherits a
2587 # broken ls alias from the environment. This has actually
2588 # happened. Such a system could not be considered "sane".
2589 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2590 alias in your environment" >&5
2591 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2592 alias in your environment" >&2;}
2593 { (exit 1); exit 1; }; }
2596 test "$2" = conftest.
file
2602 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2603 Check your system clock" >&5
2604 $as_echo "$as_me: error: newly created file is older than distributed files!
2605 Check your system clock" >&2;}
2606 { (exit 1); exit 1; }; }
2608 { $as_echo "$as_me:$LINENO: result: yes" >&5
2609 $as_echo "yes" >&6; }
2610 test "$program_prefix" != NONE
&&
2611 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2612 # Use a double $ so make ignores it.
2613 test "$program_suffix" != NONE
&&
2614 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2615 # Double any \ or $.
2616 # By default was `s,x,x', remove it if useless.
2617 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2618 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2620 # expand $ac_aux_dir to an absolute path
2621 am_aux_dir
=`cd $ac_aux_dir && pwd`
2623 if test x
"${MISSING+set}" != xset
; then
2626 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2628 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2631 # Use eval to expand $SHELL
2632 if eval "$MISSING --run true"; then
2633 am_missing_run
="$MISSING --run "
2636 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2637 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2640 if test x
"${install_sh}" != xset
; then
2643 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2645 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2649 # Installed binaries are usually stripped using `strip' when the user
2650 # run `make install-strip'. However `strip' might not be the right
2651 # tool to use in cross-compilation environments, therefore Automake
2652 # will honor the `STRIP' environment variable to overrule this program.
2653 if test "$cross_compiling" != no
; then
2654 if test -n "$ac_tool_prefix"; then
2655 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2656 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2657 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if test "${ac_cv_prog_STRIP+set}" = set; then
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$STRIP"; then
2663 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir
=.
2670 for ac_exec_ext
in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2673 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 STRIP
=$ac_cv_prog_STRIP
2683 if test -n "$STRIP"; then
2684 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2685 $as_echo "$STRIP" >&6; }
2687 { $as_echo "$as_me:$LINENO: result: no" >&5
2688 $as_echo "no" >&6; }
2693 if test -z "$ac_cv_prog_STRIP"; then
2695 # Extract the first word of "strip", so it can be a program name with args.
2696 set dummy strip
; ac_word
=$2
2697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$ac_ct_STRIP"; then
2703 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2712 ac_cv_prog_ac_ct_STRIP
="strip"
2713 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2723 if test -n "$ac_ct_STRIP"; then
2724 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2725 $as_echo "$ac_ct_STRIP" >&6; }
2727 { $as_echo "$as_me:$LINENO: result: no" >&5
2728 $as_echo "no" >&6; }
2731 if test "x$ac_ct_STRIP" = x
; then
2734 case $cross_compiling:$ac_tool_warned in
2736 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2738 ac_tool_warned
=yes ;;
2743 STRIP
="$ac_cv_prog_STRIP"
2747 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2749 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2750 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2751 if test -z "$MKDIR_P"; then
2752 if test "${ac_cv_path_mkdir+set}" = set; then
2753 $as_echo_n "(cached) " >&6
2755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2756 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2759 test -z "$as_dir" && as_dir
=.
2760 for ac_prog
in mkdir gmkdir
; do
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2763 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2764 'mkdir (GNU coreutils) '* | \
2765 'mkdir (coreutils) '* | \
2766 'mkdir (fileutils) '4.1*)
2767 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2777 if test "${ac_cv_path_mkdir+set}" = set; then
2778 MKDIR_P
="$ac_cv_path_mkdir -p"
2780 # As a last resort, use the slow shell script. Don't cache a
2781 # value for MKDIR_P within a source directory, because that will
2782 # break other packages using the cache if that directory is
2783 # removed, or if the value is a relative name.
2784 test -d .
/--version && rmdir .
/--version
2785 MKDIR_P
="$ac_install_sh -d"
2788 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2789 $as_echo "$MKDIR_P" >&6; }
2793 [\\/$
]* | ?
:[\\/]*) ;;
2794 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2797 for ac_prog
in gawk mawk nawk
awk
2799 # Extract the first word of "$ac_prog", so it can be a program name with args.
2800 set dummy
$ac_prog; ac_word
=$2
2801 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if test "${ac_cv_prog_AWK+set}" = set; then
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$AWK"; then
2807 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir
=.
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_AWK
="$ac_prog"
2817 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 if test -n "$AWK"; then
2828 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2829 $as_echo "$AWK" >&6; }
2831 { $as_echo "$as_me:$LINENO: result: no" >&5
2832 $as_echo "no" >&6; }
2836 test -n "$AWK" && break
2839 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2840 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2842 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2843 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2844 $as_echo_n "(cached) " >&6
2846 cat >conftest.
make <<\_ACEOF
2849 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2851 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2852 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2854 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2856 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2860 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2861 { $as_echo "$as_me:$LINENO: result: yes" >&5
2862 $as_echo "yes" >&6; }
2865 { $as_echo "$as_me:$LINENO: result: no" >&5
2866 $as_echo "no" >&6; }
2867 SET_MAKE
="MAKE=${MAKE-make}"
2870 rm -rf .tst
2>/dev
/null
2871 mkdir .tst
2>/dev
/null
2872 if test -d .tst
; then
2877 rmdir .tst
2>/dev
/null
2879 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2880 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2881 # is not polluted with repeated "-I."
2882 am__isrc
=' -I$(srcdir)'
2883 # test to see if srcdir already configured
2884 if test -f $srcdir/config.status
; then
2885 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2886 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2887 { (exit 1); exit 1; }; }
2891 # test whether we have cygpath
2892 if test -z "$CYGPATH_W"; then
2893 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2894 CYGPATH_W
='cygpath -w'
2901 # Define the identity of the package.
2902 PACKAGE
=$SPL_META_NAME
2903 VERSION
=$SPL_META_VERSION
2906 cat >>confdefs.h
<<_ACEOF
2907 #define PACKAGE "$PACKAGE"
2911 cat >>confdefs.h
<<_ACEOF
2912 #define VERSION "$VERSION"
2915 # Some tools Automake needs.
2917 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2920 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2923 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2926 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2929 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2931 # We need awk for the "check" target. The system "awk" is bad on
2933 # Always define AMTAR for backward compatibility.
2935 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2937 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2943 ac_config_headers
="$ac_config_headers spl_config.h"
2946 # Find a good install program. We prefer a C program (faster),
2947 # so one script is as good as another. But avoid the broken or
2948 # incompatible versions:
2949 # SysV /etc/install, /usr/sbin/install
2950 # SunOS /usr/etc/install
2951 # IRIX /sbin/install
2953 # AmigaOS /C/install, which installs bootblocks on floppy discs
2954 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2955 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2956 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2957 # OS/2's system install, which has a completely different semantic
2958 # ./install, which can be erroneously created by make from ./install.sh.
2959 # Reject install programs that cannot install multiple files.
2960 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2961 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2962 if test -z "$INSTALL"; then
2963 if test "${ac_cv_path_install+set}" = set; then
2964 $as_echo_n "(cached) " >&6
2966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir
=.
2971 # Account for people who put trailing slashes in PATH elements.
2973 .
/ | .
// |
/cC
/* | \
2974 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2975 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2978 # OSF1 and SCO ODT 3.0 have their own names for install.
2979 # Don't use installbsd from OSF since it installs stuff as root
2981 for ac_prog
in ginstall scoinst
install; do
2982 for ac_exec_ext
in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2984 if test $ac_prog = install &&
2985 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2986 # AIX install. It has an incompatible calling convention.
2988 elif test $ac_prog = install &&
2989 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2990 # program-specific install script used by HP pwplus--don't use.
2993 rm -rf conftest.one conftest.two conftest.dir
2994 echo one
> conftest.one
2995 echo two
> conftest.two
2997 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2998 test -s conftest.one
&& test -s conftest.two
&&
2999 test -s conftest.dir
/conftest.one
&&
3000 test -s conftest.dir
/conftest.two
3002 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3015 rm -rf conftest.one conftest.two conftest.dir
3018 if test "${ac_cv_path_install+set}" = set; then
3019 INSTALL
=$ac_cv_path_install
3021 # As a last resort, use the slow shell script. Don't cache a
3022 # value for INSTALL within a source directory, because that will
3023 # break other packages using the cache if that directory is
3024 # removed, or if the value is a relative name.
3025 INSTALL
=$ac_install_sh
3028 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3029 $as_echo "$INSTALL" >&6; }
3031 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3032 # It thinks the first close brace ends the variable substitution.
3033 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3035 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3037 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3040 ac_cpp
='$CPP $CPPFLAGS'
3041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3044 if test -n "$ac_tool_prefix"; then
3045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3046 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3047 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3048 $as_echo_n "checking for $ac_word... " >&6; }
3049 if test "${ac_cv_prog_CC+set}" = set; then
3050 $as_echo_n "(cached) " >&6
3052 if test -n "$CC"; then
3053 ac_cv_prog_CC
="$CC" # Let the user override the test.
3055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir
=.
3060 for ac_exec_ext
in '' $ac_executable_extensions; do
3061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3062 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3063 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 if test -n "$CC"; then
3074 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3075 $as_echo "$CC" >&6; }
3077 { $as_echo "$as_me:$LINENO: result: no" >&5
3078 $as_echo "no" >&6; }
3083 if test -z "$ac_cv_prog_CC"; then
3085 # Extract the first word of "gcc", so it can be a program name with args.
3086 set dummy gcc
; ac_word
=$2
3087 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3090 $as_echo_n "(cached) " >&6
3092 if test -n "$ac_ct_CC"; then
3093 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_ac_ct_CC
="gcc"
3103 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3113 if test -n "$ac_ct_CC"; then
3114 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3115 $as_echo "$ac_ct_CC" >&6; }
3117 { $as_echo "$as_me:$LINENO: result: no" >&5
3118 $as_echo "no" >&6; }
3121 if test "x$ac_ct_CC" = x
; then
3124 case $cross_compiling:$ac_tool_warned in
3126 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3128 ac_tool_warned
=yes ;;
3136 if test -z "$CC"; then
3137 if test -n "$ac_tool_prefix"; then
3138 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3139 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3140 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3141 $as_echo_n "checking for $ac_word... " >&6; }
3142 if test "${ac_cv_prog_CC+set}" = set; then
3143 $as_echo_n "(cached) " >&6
3145 if test -n "$CC"; then
3146 ac_cv_prog_CC
="$CC" # Let the user override the test.
3148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir
=.
3153 for ac_exec_ext
in '' $ac_executable_extensions; do
3154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3155 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3156 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 if test -n "$CC"; then
3167 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3168 $as_echo "$CC" >&6; }
3170 { $as_echo "$as_me:$LINENO: result: no" >&5
3171 $as_echo "no" >&6; }
3177 if test -z "$CC"; then
3178 # Extract the first word of "cc", so it can be a program name with args.
3179 set dummy cc
; ac_word
=$2
3180 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if test "${ac_cv_prog_CC+set}" = set; then
3183 $as_echo_n "(cached) " >&6
3185 if test -n "$CC"; then
3186 ac_cv_prog_CC
="$CC" # Let the user override the test.
3189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3193 test -z "$as_dir" && as_dir
=.
3194 for ac_exec_ext
in '' $ac_executable_extensions; do
3195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3196 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3197 ac_prog_rejected
=yes
3201 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 if test $ac_prog_rejected = yes; then
3209 # We found a bogon in the path, so make sure we never use it.
3210 set dummy
$ac_cv_prog_CC
3212 if test $# != 0; then
3213 # We chose a different compiler from the bogus one.
3214 # However, it has the same basename, so the bogon will be chosen
3215 # first if we set CC to just the basename; use the full file name.
3217 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3223 if test -n "$CC"; then
3224 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3225 $as_echo "$CC" >&6; }
3227 { $as_echo "$as_me:$LINENO: result: no" >&5
3228 $as_echo "no" >&6; }
3233 if test -z "$CC"; then
3234 if test -n "$ac_tool_prefix"; then
3235 for ac_prog
in cl.exe
3237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3238 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3239 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if test "${ac_cv_prog_CC+set}" = set; then
3242 $as_echo_n "(cached) " >&6
3244 if test -n "$CC"; then
3245 ac_cv_prog_CC
="$CC" # Let the user override the test.
3247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir
=.
3252 for ac_exec_ext
in '' $ac_executable_extensions; do
3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3254 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3255 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 if test -n "$CC"; then
3266 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3267 $as_echo "$CC" >&6; }
3269 { $as_echo "$as_me:$LINENO: result: no" >&5
3270 $as_echo "no" >&6; }
3274 test -n "$CC" && break
3277 if test -z "$CC"; then
3279 for ac_prog
in cl.exe
3281 # Extract the first word of "$ac_prog", so it can be a program name with args.
3282 set dummy
$ac_prog; ac_word
=$2
3283 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3286 $as_echo_n "(cached) " >&6
3288 if test -n "$ac_ct_CC"; then
3289 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3298 ac_cv_prog_ac_ct_CC
="$ac_prog"
3299 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3309 if test -n "$ac_ct_CC"; then
3310 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3311 $as_echo "$ac_ct_CC" >&6; }
3313 { $as_echo "$as_me:$LINENO: result: no" >&5
3314 $as_echo "no" >&6; }
3318 test -n "$ac_ct_CC" && break
3321 if test "x$ac_ct_CC" = x
; then
3324 case $cross_compiling:$ac_tool_warned in
3326 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3328 ac_tool_warned
=yes ;;
3337 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3340 See \`config.log' for more details." >&5
3341 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3342 See \`config.log' for more details." >&2;}
3343 { (exit 1); exit 1; }; }; }
3345 # Provide some information about the compiler.
3346 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3349 { (ac_try
="$ac_compiler --version >&5"
3351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3352 *) ac_try_echo=$ac_try;;
3354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3355 $as_echo "$ac_try_echo") >&5
3356 (eval "$ac_compiler --version >&5") 2>&5
3358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }
3360 { (ac_try="$ac_compiler -v >&5"
3362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3363 *) ac_try_echo
=$ac_try;;
3365 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3366 $as_echo "$ac_try_echo") >&5
3367 (eval "$ac_compiler -v >&5") 2>&5
3369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }
3371 { (ac_try
="$ac_compiler -V >&5"
3373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3377 $as_echo "$ac_try_echo") >&5
3378 (eval "$ac_compiler -V >&5") 2>&5
3380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }
3383 cat >conftest.$ac_ext <<_ACEOF
3386 cat confdefs.h >>conftest.$ac_ext
3387 cat >>conftest.$ac_ext <<_ACEOF
3388 /* end confdefs.h. */
3398 ac_clean_files_save=$ac_clean_files
3399 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3400 # Try to create an executable without -o first, disregard a.out.
3401 # It will help us diagnose broken compilers, and finding out an intuition
3403 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3404 $as_echo_n "checking for C compiler default output file name... " >&6; }
3405 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3407 # The possible output files:
3408 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3411 for ac_file in $ac_files
3414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3415 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3420 if { (ac_try="$ac_link_default"
3422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3423 *) ac_try_echo
=$ac_try;;
3425 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3426 $as_echo "$ac_try_echo") >&5
3427 (eval "$ac_link_default") 2>&5
3429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; then
3431 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3432 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3433 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3434 # so that the user can short-circuit this test for compilers unknown to
3436 for ac_file
in $ac_files ''
3438 test -f "$ac_file" ||
continue
3440 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3443 # We found the default executable, but exeext='' is most
3447 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3449 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3451 # We set ac_cv_exeext here because the later test for it is not
3452 # safe: cross compilers may not add the suffix if given an `-o'
3453 # argument, so we may need to know it at that point already.
3454 # Even if this section looks crufty: it has the advantage of
3461 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3467 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3468 $as_echo "$ac_file" >&6; }
3469 if test -z "$ac_file"; then
3470 $as_echo "$as_me: failed program was:" >&5
3471 sed 's/^/| /' conftest.
$ac_ext >&5
3473 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3475 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3476 See \`config.log' for more details." >&5
3477 $as_echo "$as_me: error: C compiler cannot create executables
3478 See \`config.log' for more details." >&2;}
3479 { (exit 77); exit 77; }; }; }
3482 ac_exeext
=$ac_cv_exeext
3484 # Check that the compiler produces executables we can run. If not, either
3485 # the compiler is broken, or we cross compile.
3486 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3487 $as_echo_n "checking whether the C compiler works... " >&6; }
3488 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3489 # If not cross compiling, check that we can run a simple program.
3490 if test "$cross_compiling" != yes; then
3491 if { ac_try
='./$ac_file'
3492 { (case "(($ac_try" in
3493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3497 $as_echo "$ac_try_echo") >&5
3498 (eval "$ac_try") 2>&5
3500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); }; }; then
3504 if test "$cross_compiling" = maybe; then
3507 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3510 If you meant to cross compile
, use \
`--host'.
3511 See \`config.log
' for more details." >&5
3512 $as_echo "$as_me: error: cannot run C compiled programs.
3513 If you meant to cross compile, use \`--host'.
3514 See \
`config.log' for more details." >&2;}
3515 { (exit 1); exit 1; }; }; }
3519 { $as_echo "$as_me:$LINENO: result: yes" >&5
3520 $as_echo "yes" >&6; }
3522 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3523 ac_clean_files=$ac_clean_files_save
3524 # Check that the compiler produces executables we can run. If not, either
3525 # the compiler is broken, or we cross compile.
3526 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3527 $as_echo_n "checking whether we are cross compiling... " >&6; }
3528 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3529 $as_echo "$cross_compiling" >&6; }
3531 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3532 $as_echo_n "checking for suffix of executables... " >&6; }
3533 if { (ac_try="$ac_link"
3535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3536 *) ac_try_echo
=$ac_try;;
3538 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3539 $as_echo "$ac_try_echo") >&5
3540 (eval "$ac_link") 2>&5
3542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); }; then
3544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3546 # work properly (i.e., refer to `conftest.exe'), while it won't with
3548 for ac_file
in conftest.exe conftest conftest.
*; do
3549 test -f "$ac_file" ||
continue
3551 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3552 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3558 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3561 See \`config.log' for more details." >&5
3562 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3563 See \`config.log' for more details." >&2;}
3564 { (exit 1); exit 1; }; }; }
3567 rm -f conftest
$ac_cv_exeext
3568 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3569 $as_echo "$ac_cv_exeext" >&6; }
3571 rm -f conftest.
$ac_ext
3572 EXEEXT
=$ac_cv_exeext
3574 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3575 $as_echo_n "checking for suffix of object files... " >&6; }
3576 if test "${ac_cv_objext+set}" = set; then
3577 $as_echo_n "(cached) " >&6
3579 cat >conftest.
$ac_ext <<_ACEOF
3582 cat confdefs.h
>>conftest.
$ac_ext
3583 cat >>conftest.
$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3594 rm -f conftest.o conftest.obj
3595 if { (ac_try
="$ac_compile"
3597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3601 $as_echo "$ac_try_echo") >&5
3602 (eval "$ac_compile") 2>&5
3604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; then
3606 for ac_file in conftest.o conftest.obj conftest.*; do
3607 test -f "$ac_file" || continue;
3609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3610 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3615 $as_echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3621 See \
`config.log' for more details." >&5
3622 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3623 See \`config.log
' for more details." >&2;}
3624 { (exit 1); exit 1; }; }; }
3627 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3629 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3630 $as_echo "$ac_cv_objext" >&6; }
3631 OBJEXT=$ac_cv_objext
3633 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3634 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3635 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3636 $as_echo_n "(cached) " >&6
3638 cat >conftest.$ac_ext <<_ACEOF
3641 cat confdefs.h >>conftest.$ac_ext
3642 cat >>conftest.$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3656 rm -f conftest.$ac_objext
3657 if { (ac_try="$ac_compile"
3659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3660 *) ac_try_echo=$ac_try;;
3662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3663 $as_echo "$ac_try_echo") >&5
3664 (eval "$ac_compile") 2>conftest.er1
3666 grep -v '^
*+' conftest.er1 >conftest.err
3668 cat conftest.err >&5
3669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } && {
3671 test -z "$ac_c_werror_flag" ||
3672 test ! -s conftest.err
3673 } && test -s conftest.$ac_objext; then
3676 $as_echo "$as_me: failed program was:" >&5
3677 sed 's
/^
/|
/' conftest.$ac_ext >&5
3682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3683 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3686 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3687 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3688 if test $ac_compiler_gnu = yes; then
3693 ac_test_CFLAGS=${CFLAGS+set}
3694 ac_save_CFLAGS=$CFLAGS
3695 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3696 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3697 if test "${ac_cv_prog_cc_g+set}" = set; then
3698 $as_echo_n "(cached) " >&6
3700 ac_save_c_werror_flag=$ac_c_werror_flag
3701 ac_c_werror_flag=yes
3704 cat >conftest.$ac_ext <<_ACEOF
3707 cat confdefs.h >>conftest.$ac_ext
3708 cat >>conftest.$ac_ext <<_ACEOF
3709 /* end confdefs.h. */
3719 rm -f conftest.$ac_objext
3720 if { (ac_try="$ac_compile"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3726 $as_echo "$ac_try_echo") >&5
3727 (eval "$ac_compile") 2>conftest.er1
3729 grep -v '^
*+' conftest.er1 >conftest.err
3731 cat conftest.err >&5
3732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } && {
3734 test -z "$ac_c_werror_flag" ||
3735 test ! -s conftest.err
3736 } && test -s conftest.$ac_objext; then
3739 $as_echo "$as_me: failed program was:" >&5
3740 sed 's
/^
/|
/' conftest.$ac_ext >&5
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3758 rm -f conftest.$ac_objext
3759 if { (ac_try="$ac_compile"
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3765 $as_echo "$ac_try_echo") >&5
3766 (eval "$ac_compile") 2>conftest.er1
3768 grep -v '^
*+' conftest.er1 >conftest.err
3770 cat conftest.err >&5
3771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } && {
3773 test -z "$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3775 } && test -s conftest.$ac_objext; then
3778 $as_echo "$as_me: failed program was:" >&5
3779 sed 's
/^
/|
/' conftest.$ac_ext >&5
3781 ac_c_werror_flag=$ac_save_c_werror_flag
3783 cat >conftest.$ac_ext <<_ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3798 rm -f conftest.$ac_objext
3799 if { (ac_try="$ac_compile"
3801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3802 *) ac_try_echo=$ac_try;;
3804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3805 $as_echo "$ac_try_echo") >&5
3806 (eval "$ac_compile") 2>conftest.er1
3808 grep -v '^
*+' conftest.er1 >conftest.err
3810 cat conftest.err >&5
3811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); } && {
3813 test -z "$ac_c_werror_flag" ||
3814 test ! -s conftest.err
3815 } && test -s conftest.$ac_objext; then
3818 $as_echo "$as_me: failed program was:" >&5
3819 sed 's
/^
/|
/' conftest.$ac_ext >&5
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3831 ac_c_werror_flag=$ac_save_c_werror_flag
3833 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3834 $as_echo "$ac_cv_prog_cc_g" >&6; }
3835 if test "$ac_test_CFLAGS" = set; then
3836 CFLAGS=$ac_save_CFLAGS
3837 elif test $ac_cv_prog_cc_g = yes; then
3838 if test "$GCC" = yes; then
3844 if test "$GCC" = yes; then
3850 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3851 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3852 if test "${ac_cv_prog_cc_c89+set}" = set; then
3853 $as_echo_n "(cached) " >&6
3855 ac_cv_prog_cc_c89=no
3857 cat >conftest.$ac_ext <<_ACEOF
3860 cat confdefs.h >>conftest.$ac_ext
3861 cat >>conftest.$ac_ext <<_ACEOF
3862 /* end confdefs.h. */
3865 #include <sys/types.h>
3866 #include <sys/stat.h>
3867 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3868 struct buf
{ int x
; };
3869 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3870 static char
*e
(p
, i
)
3876 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3881 s
= g
(p
, va_arg
(v
,int
));
3886 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3887 function prototypes and stuff
, but not
'\xHH' hex character constants.
3888 These don
't provoke an error unfortunately, instead are silently treated
3889 as 'x
'. The following induces an error, until -std is added to get
3890 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3891 array size at least. It's necessary to
write '\x00'==0 to get something
3892 that
's true only with -std. */
3893 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3895 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3896 inside strings and character constants. */
3898 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3900 int test (int i, double x);
3901 struct s1 {int (*f) (int a);};
3902 struct s2 {int (*f) (double a);};
3903 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3909 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3914 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3915 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3917 CC="$ac_save_CC $ac_arg"
3918 rm -f conftest.$ac_objext
3919 if { (ac_try="$ac_compile"
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3925 $as_echo "$ac_try_echo") >&5
3926 (eval "$ac_compile") 2>conftest.er1
3928 grep -v '^
*+' conftest.er1 >conftest.err
3930 cat conftest.err >&5
3931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); } && {
3933 test -z "$ac_c_werror_flag" ||
3934 test ! -s conftest.err
3935 } && test -s conftest.$ac_objext; then
3936 ac_cv_prog_cc_c89=$ac_arg
3938 $as_echo "$as_me: failed program was:" >&5
3939 sed 's
/^
/|
/' conftest.$ac_ext >&5
3944 rm -f core conftest.err conftest.$ac_objext
3945 test "x$ac_cv_prog_cc_c89" != "xno" && break
3947 rm -f conftest.$ac_ext
3952 case "x$ac_cv_prog_cc_c89" in
3954 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3955 $as_echo "none needed" >&6; } ;;
3957 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3958 $as_echo "unsupported" >&6; } ;;
3960 CC="$CC $ac_cv_prog_cc_c89"
3961 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3962 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3967 ac_cpp='$CPP $CPPFLAGS'
3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3969 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3971 DEPDIR="${am__leading_dot}deps"
3973 ac_config_commands="$ac_config_commands depfiles"
3976 am_make=${MAKE-make}
3977 cat > confinc << 'END
'
3979 @echo this is the am__doit target
3982 # If we don't
find an include directive
, just comment out the code.
3983 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3984 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3988 # First try GNU make style include.
3989 echo "include confinc" > confmf
3990 # Ignore all kinds of additional output from `make'.
3991 case `$am_make -s -f confmf 2> /dev/null` in #(
3992 *the\ am__doit\ target
*)
3998 # Now try BSD make style include.
3999 if test "$am__include" = "#"; then
4000 echo '.include "confinc"' > confmf
4001 case `$am_make -s -f confmf 2> /dev/null` in #(
4002 *the\ am__doit\ target
*)
4003 am__include
=.include
4011 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4012 $as_echo "$_am_result" >&6; }
4013 rm -f confinc confmf
4015 # Check whether --enable-dependency-tracking was given.
4016 if test "${enable_dependency_tracking+set}" = set; then
4017 enableval
=$enable_dependency_tracking;
4020 if test "x$enable_dependency_tracking" != xno
; then
4021 am_depcomp
="$ac_aux_dir/depcomp"
4024 if test "x$enable_dependency_tracking" != xno; then
4034 depcc
="$CC" am_compiler_list
=
4036 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4037 $as_echo_n "checking dependency style of $depcc... " >&6; }
4038 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4039 $as_echo_n "(cached) " >&6
4041 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4042 # We make a subdir and do the tests there. Otherwise we can end up
4043 # making bogus files that we don't know about and never remove. For
4044 # instance it was reported that on HP-UX the gcc test will end up
4045 # making a dummy file named `D' -- because `-MD' means `put the output
4048 # Copy depcomp to subdir because otherwise we won't find it if we're
4049 # using a relative directory.
4050 cp "$am_depcomp" conftest.dir
4052 # We will build objects and dependencies in a subdirectory because
4053 # it helps to detect inapplicable dependency modes. For instance
4054 # both Tru64's cc and ICC support -MD to output dependencies as a
4055 # side effect of compilation, but ICC will put the dependencies in
4056 # the current directory while Tru64 will put them in the object
4060 am_cv_CC_dependencies_compiler_type
=none
4061 if test "$am_compiler_list" = ""; then
4062 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4065 case " $depcc " in #(
4066 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4069 for depmode
in $am_compiler_list; do
4070 # Setup a source with many dependencies, because some compilers
4071 # like to wrap large dependency lists on column 80 (with \), and
4072 # we should not choose a depcomp mode which is confused by this.
4074 # We need to recreate these files for each test, as the compiler may
4075 # overwrite some of them when testing with obscure command lines.
4076 # This happens at least with the AIX C compiler.
4078 for i
in 1 2 3 4 5 6; do
4079 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4080 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4081 # Solaris 8's {/usr,}/bin/sh.
4082 touch sub
/conftst
$i.h
4084 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4086 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4087 # mode. It turns out that the SunPro C++ compiler does not properly
4088 # handle `-M -o', and we need to detect this. Also, some Intel
4089 # versions had trouble with output in subdirs
4090 am__obj
=sub
/conftest.
${OBJEXT-o}
4091 am__minus_obj
="-o $am__obj"
4094 # This depmode causes a compiler race in universal mode.
4095 test "$am__universal" = false ||
continue
4098 # after this tag, mechanisms are not by side-effect, so they'll
4099 # only be used when explicitly requested
4100 if test "x$enable_dependency_tracking" = xyes
; then
4106 msvisualcpp | msvcmsys
)
4107 # This compiler won't grok `-c -o', but also, the minuso test has
4108 # not run yet. These depmodes are late enough in the game, and
4109 # so weak that their functioning should not be impacted.
4110 am__obj
=conftest.
${OBJEXT-o}
4115 if depmode
=$depmode \
4116 source=sub
/conftest.c object
=$am__obj \
4117 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4118 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4119 >/dev
/null
2>conftest.err
&&
4120 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4121 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4122 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4123 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4124 # icc doesn't choke on unknown options, it will just issue warnings
4125 # or remarks (even with -Werror). So we grep stderr for any message
4126 # that says an option was ignored or not supported.
4127 # When given -MP, icc 7.0 and 7.1 complain thusly:
4128 # icc: Command line warning: ignoring option '-M'; no argument required
4129 # The diagnosis changed in icc 8.0:
4130 # icc: Command line remark: option '-MP' not supported
4131 if (grep 'ignoring option' conftest.err ||
4132 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4133 am_cv_CC_dependencies_compiler_type
=$depmode
4142 am_cv_CC_dependencies_compiler_type
=none
4146 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4147 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4148 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4151 test "x$enable_dependency_tracking" != xno \
4152 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4154 am__fastdepCC_FALSE
='#'
4156 am__fastdepCC_TRUE
='#'
4157 am__fastdepCC_FALSE
=
4163 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4164 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4169 macro_version
='2.2.6'
4170 macro_revision
='1.3012'
4184 ltmain
="$ac_aux_dir/ltmain.sh"
4186 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4187 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4188 if test "${ac_cv_path_SED+set}" = set; then
4189 $as_echo_n "(cached) " >&6
4191 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4192 for ac_i
in 1 2 3 4 5 6 7; do
4193 ac_script
="$ac_script$as_nl$ac_script"
4195 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4196 $as_unset ac_script || ac_script
=
4197 if test -z "$SED"; then
4198 ac_path_SED_found
=false
4199 # Loop through the user's path and test for each of PROGNAME-LIST
4200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4204 test -z "$as_dir" && as_dir
=.
4205 for ac_prog
in sed gsed
; do
4206 for ac_exec_ext
in '' $ac_executable_extensions; do
4207 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4208 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4209 # Check for GNU ac_path_SED and select it if it is found.
4210 # Check for GNU $ac_path_SED
4211 case `"$ac_path_SED" --version 2>&1` in
4213 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4216 $as_echo_n 0123456789 >"conftest.in"
4219 cat "conftest.in" "conftest.in" >"conftest.tmp"
4220 mv "conftest.tmp" "conftest.in"
4221 cp "conftest.in" "conftest.nl"
4222 $as_echo '' >> "conftest.nl"
4223 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4224 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4225 ac_count
=`expr $ac_count + 1`
4226 if test $ac_count -gt ${ac_path_SED_max-0}; then
4227 # Best one so far, save it but keep looking for a better one
4228 ac_cv_path_SED
="$ac_path_SED"
4229 ac_path_SED_max
=$ac_count
4231 # 10*(2^10) chars as input seems more than enough
4232 test $ac_count -gt 10 && break
4234 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4237 $ac_path_SED_found && break 3
4242 if test -z "$ac_cv_path_SED"; then
4243 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4244 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4245 { (exit 1); exit 1; }; }
4252 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4253 $as_echo "$ac_cv_path_SED" >&6; }
4254 SED
="$ac_cv_path_SED"
4257 test -z "$SED" && SED
=sed
4258 Xsed
="$SED -e 1s/^X//"
4270 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4271 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4272 if test "${ac_cv_path_GREP+set}" = set; then
4273 $as_echo_n "(cached) " >&6
4275 if test -z "$GREP"; then
4276 ac_path_GREP_found
=false
4277 # Loop through the user's path and test for each of PROGNAME-LIST
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4279 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_prog
in grep ggrep
; do
4284 for ac_exec_ext
in '' $ac_executable_extensions; do
4285 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4286 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4287 # Check for GNU ac_path_GREP and select it if it is found.
4288 # Check for GNU $ac_path_GREP
4289 case `"$ac_path_GREP" --version 2>&1` in
4291 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4294 $as_echo_n 0123456789 >"conftest.in"
4297 cat "conftest.in" "conftest.in" >"conftest.tmp"
4298 mv "conftest.tmp" "conftest.in"
4299 cp "conftest.in" "conftest.nl"
4300 $as_echo 'GREP' >> "conftest.nl"
4301 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4302 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4303 ac_count
=`expr $ac_count + 1`
4304 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4305 # Best one so far, save it but keep looking for a better one
4306 ac_cv_path_GREP
="$ac_path_GREP"
4307 ac_path_GREP_max
=$ac_count
4309 # 10*(2^10) chars as input seems more than enough
4310 test $ac_count -gt 10 && break
4312 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4315 $ac_path_GREP_found && break 3
4320 if test -z "$ac_cv_path_GREP"; then
4321 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4322 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4323 { (exit 1); exit 1; }; }
4326 ac_cv_path_GREP
=$GREP
4330 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4331 $as_echo "$ac_cv_path_GREP" >&6; }
4332 GREP
="$ac_cv_path_GREP"
4335 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4336 $as_echo_n "checking for egrep... " >&6; }
4337 if test "${ac_cv_path_EGREP+set}" = set; then
4338 $as_echo_n "(cached) " >&6
4340 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4341 then ac_cv_path_EGREP
="$GREP -E"
4343 if test -z "$EGREP"; then
4344 ac_path_EGREP_found
=false
4345 # Loop through the user's path and test for each of PROGNAME-LIST
4346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4347 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4350 test -z "$as_dir" && as_dir
=.
4351 for ac_prog
in egrep; do
4352 for ac_exec_ext
in '' $ac_executable_extensions; do
4353 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4354 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4355 # Check for GNU ac_path_EGREP and select it if it is found.
4356 # Check for GNU $ac_path_EGREP
4357 case `"$ac_path_EGREP" --version 2>&1` in
4359 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4362 $as_echo_n 0123456789 >"conftest.in"
4365 cat "conftest.in" "conftest.in" >"conftest.tmp"
4366 mv "conftest.tmp" "conftest.in"
4367 cp "conftest.in" "conftest.nl"
4368 $as_echo 'EGREP' >> "conftest.nl"
4369 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4370 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4371 ac_count
=`expr $ac_count + 1`
4372 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4373 # Best one so far, save it but keep looking for a better one
4374 ac_cv_path_EGREP
="$ac_path_EGREP"
4375 ac_path_EGREP_max
=$ac_count
4377 # 10*(2^10) chars as input seems more than enough
4378 test $ac_count -gt 10 && break
4380 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4383 $ac_path_EGREP_found && break 3
4388 if test -z "$ac_cv_path_EGREP"; then
4389 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4390 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4391 { (exit 1); exit 1; }; }
4394 ac_cv_path_EGREP
=$EGREP
4399 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4400 $as_echo "$ac_cv_path_EGREP" >&6; }
4401 EGREP
="$ac_cv_path_EGREP"
4404 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4405 $as_echo_n "checking for fgrep... " >&6; }
4406 if test "${ac_cv_path_FGREP+set}" = set; then
4407 $as_echo_n "(cached) " >&6
4409 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4410 then ac_cv_path_FGREP
="$GREP -F"
4412 if test -z "$FGREP"; then
4413 ac_path_FGREP_found
=false
4414 # Loop through the user's path and test for each of PROGNAME-LIST
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4419 test -z "$as_dir" && as_dir
=.
4420 for ac_prog
in fgrep
; do
4421 for ac_exec_ext
in '' $ac_executable_extensions; do
4422 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4423 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4424 # Check for GNU ac_path_FGREP and select it if it is found.
4425 # Check for GNU $ac_path_FGREP
4426 case `"$ac_path_FGREP" --version 2>&1` in
4428 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4431 $as_echo_n 0123456789 >"conftest.in"
4434 cat "conftest.in" "conftest.in" >"conftest.tmp"
4435 mv "conftest.tmp" "conftest.in"
4436 cp "conftest.in" "conftest.nl"
4437 $as_echo 'FGREP' >> "conftest.nl"
4438 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4439 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4440 ac_count
=`expr $ac_count + 1`
4441 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4442 # Best one so far, save it but keep looking for a better one
4443 ac_cv_path_FGREP
="$ac_path_FGREP"
4444 ac_path_FGREP_max
=$ac_count
4446 # 10*(2^10) chars as input seems more than enough
4447 test $ac_count -gt 10 && break
4449 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4452 $ac_path_FGREP_found && break 3
4457 if test -z "$ac_cv_path_FGREP"; then
4458 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4459 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4460 { (exit 1); exit 1; }; }
4463 ac_cv_path_FGREP
=$FGREP
4468 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4469 $as_echo "$ac_cv_path_FGREP" >&6; }
4470 FGREP
="$ac_cv_path_FGREP"
4473 test -z "$GREP" && GREP
=grep
4493 # Check whether --with-gnu-ld was given.
4494 if test "${with_gnu_ld+set}" = set; then
4495 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4501 if test "$GCC" = yes; then
4502 # Check if gcc -print-prog-name=ld gives a path.
4503 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4504 $as_echo_n "checking for ld used by $CC... " >&6; }
4507 # gcc leaves a trailing carriage return which upsets mingw
4508 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4510 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4513 # Accept absolute paths.
4515 re_direlt
='/[^/][^/]*/\.\./'
4516 # Canonicalize the pathname of ld
4517 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4518 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4519 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4521 test -z "$LD" && LD
="$ac_prog"
4524 # If it fails, then pretend we aren't using GCC.
4528 # If it is relative, then search for the first ld in PATH.
4532 elif test "$with_gnu_ld" = yes; then
4533 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4534 $as_echo_n "checking for GNU ld... " >&6; }
4536 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4537 $as_echo_n "checking for non-GNU ld... " >&6; }
4539 if test "${lt_cv_path_LD+set}" = set; then
4540 $as_echo_n "(cached) " >&6
4542 if test -z "$LD"; then
4543 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4544 for ac_dir
in $PATH; do
4546 test -z "$ac_dir" && ac_dir
=.
4547 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4548 lt_cv_path_LD
="$ac_dir/$ac_prog"
4549 # Check to see if the program is GNU ld. I'd rather use --version,
4550 # but apparently some variants of GNU ld only accept -v.
4551 # Break only if it was the GNU/non-GNU ld that we prefer.
4552 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4553 *GNU
* |
*'with BFD'*)
4554 test "$with_gnu_ld" != no
&& break
4557 test "$with_gnu_ld" != yes && break
4564 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4569 if test -n "$LD"; then
4570 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4571 $as_echo "$LD" >&6; }
4573 { $as_echo "$as_me:$LINENO: result: no" >&5
4574 $as_echo "no" >&6; }
4576 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4577 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4578 { (exit 1); exit 1; }; }
4579 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4580 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4581 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4582 $as_echo_n "(cached) " >&6
4584 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4585 case `$LD -v 2>&1 </dev/null` in
4586 *GNU
* |
*'with BFD'*)
4587 lt_cv_prog_gnu_ld
=yes
4590 lt_cv_prog_gnu_ld
=no
4594 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4595 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4596 with_gnu_ld
=$lt_cv_prog_gnu_ld
4606 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4607 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4608 if test "${lt_cv_path_NM+set}" = set; then
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$NM"; then
4612 # Let the user override the test.
4615 lt_nm_to_check
="${ac_tool_prefix}nm"
4616 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4617 lt_nm_to_check
="$lt_nm_to_check nm"
4619 for lt_tmp_nm
in $lt_nm_to_check; do
4620 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4621 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4623 test -z "$ac_dir" && ac_dir
=.
4624 tmp_nm
="$ac_dir/$lt_tmp_nm"
4625 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4626 # Check to see if the nm accepts a BSD-compat flag.
4627 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4628 # nm: unknown option "B" ignored
4629 # Tru64's nm complains that /dev/null is an invalid object file
4630 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4631 */dev
/null
* |
*'Invalid file or object type'*)
4632 lt_cv_path_NM
="$tmp_nm -B"
4636 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4638 lt_cv_path_NM
="$tmp_nm -p"
4642 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4643 continue # so that we can try to find one that supports BSD flags
4652 : ${lt_cv_path_NM=no}
4655 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4656 $as_echo "$lt_cv_path_NM" >&6; }
4657 if test "$lt_cv_path_NM" != "no"; then
4660 # Didn't find any BSD compatible name lister, look for dumpbin.
4661 if test -n "$ac_tool_prefix"; then
4662 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4665 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4669 $as_echo_n "(cached) " >&6
4671 if test -n "$DUMPBIN"; then
4672 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir
=.
4679 for ac_exec_ext
in '' $ac_executable_extensions; do
4680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4682 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 DUMPBIN
=$ac_cv_prog_DUMPBIN
4692 if test -n "$DUMPBIN"; then
4693 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4694 $as_echo "$DUMPBIN" >&6; }
4696 { $as_echo "$as_me:$LINENO: result: no" >&5
4697 $as_echo "no" >&6; }
4701 test -n "$DUMPBIN" && break
4704 if test -z "$DUMPBIN"; then
4705 ac_ct_DUMPBIN
=$DUMPBIN
4706 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4708 # Extract the first word of "$ac_prog", so it can be a program name with args.
4709 set dummy
$ac_prog; ac_word
=$2
4710 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4711 $as_echo_n "checking for $ac_word... " >&6; }
4712 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4713 $as_echo_n "(cached) " >&6
4715 if test -n "$ac_ct_DUMPBIN"; then
4716 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4722 test -z "$as_dir" && as_dir
=.
4723 for ac_exec_ext
in '' $ac_executable_extensions; do
4724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4725 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4726 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4736 if test -n "$ac_ct_DUMPBIN"; then
4737 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4738 $as_echo "$ac_ct_DUMPBIN" >&6; }
4740 { $as_echo "$as_me:$LINENO: result: no" >&5
4741 $as_echo "no" >&6; }
4745 test -n "$ac_ct_DUMPBIN" && break
4748 if test "x$ac_ct_DUMPBIN" = x
; then
4751 case $cross_compiling:$ac_tool_warned in
4753 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4755 ac_tool_warned
=yes ;;
4757 DUMPBIN
=$ac_ct_DUMPBIN
4762 if test "$DUMPBIN" != ":"; then
4766 test -z "$NM" && NM
=nm
4773 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4774 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4775 if test "${lt_cv_nm_interface+set}" = set; then
4776 $as_echo_n "(cached) " >&6
4778 lt_cv_nm_interface
="BSD nm"
4779 echo "int some_variable = 0;" > conftest.
$ac_ext
4780 (eval echo "\"\$as_me:4780: $ac_compile\"" >&5)
4781 (eval "$ac_compile" 2>conftest.err
)
4782 cat conftest.err
>&5
4783 (eval echo "\"\$as_me:4783: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4784 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4785 cat conftest.err
>&5
4786 (eval echo "\"\$as_me:4786: output\"" >&5)
4787 cat conftest.out
>&5
4788 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4789 lt_cv_nm_interface
="MS dumpbin"
4793 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4794 $as_echo "$lt_cv_nm_interface" >&6; }
4796 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4797 $as_echo_n "checking whether ln -s works... " >&6; }
4799 if test "$LN_S" = "ln -s"; then
4800 { $as_echo "$as_me:$LINENO: result: yes" >&5
4801 $as_echo "yes" >&6; }
4803 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4804 $as_echo "no, using $LN_S" >&6; }
4807 # find the maximum length of command line arguments
4808 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4809 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4810 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4811 $as_echo_n "(cached) " >&6
4818 # On DJGPP, this test can blow up pretty badly due to problems in libc
4819 # (any single argument exceeding 2000 bytes causes a buffer overrun
4820 # during glob expansion). Even if it were fixed, the result of this
4821 # check would be larger than it should be.
4822 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4826 # Under GNU Hurd, this test is not required because there is
4827 # no limit to the length of command line arguments.
4828 # Libtool will interpret -1 as no limit whatsoever
4829 lt_cv_sys_max_cmd_len
=-1;
4832 cygwin
* | mingw
* | cegcc
*)
4833 # On Win9x/ME, this test blows up -- it succeeds, but takes
4834 # about 5 minutes as the teststring grows exponentially.
4835 # Worse, since 9x/ME are not pre-emptively multitasking,
4836 # you end up with a "frozen" computer, even though with patience
4837 # the test eventually succeeds (with a max line length of 256k).
4838 # Instead, let's just punt: use the minimum linelength reported by
4839 # all of the supported platforms: 8192 (on NT/2K/XP).
4840 lt_cv_sys_max_cmd_len
=8192;
4844 # On AmigaOS with pdksh, this test takes hours, literally.
4845 # So we just punt and use a minimum line length of 8192.
4846 lt_cv_sys_max_cmd_len
=8192;
4849 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4850 # This has been around since 386BSD, at least. Likely further.
4851 if test -x /sbin
/sysctl
; then
4852 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4853 elif test -x /usr
/sbin
/sysctl
; then
4854 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4856 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4858 # And add a safety zone
4859 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4860 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4864 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4865 lt_cv_sys_max_cmd_len
=196608
4869 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4870 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4871 # nice to cause kernel panics so lets avoid the loop below.
4872 # First set a reasonable default.
4873 lt_cv_sys_max_cmd_len
=16384
4875 if test -x /sbin
/sysconfig
; then
4876 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4877 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4882 lt_cv_sys_max_cmd_len
=102400
4884 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4885 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4886 if test -n "$kargmax"; then
4887 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4889 lt_cv_sys_max_cmd_len
=32768
4893 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4894 if test -n "$lt_cv_sys_max_cmd_len"; then
4895 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4896 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4898 # Make teststring a little bigger before we do anything with it.
4899 # a 1K string should be a reasonable start.
4900 for i
in 1 2 3 4 5 6 7 8 ; do
4901 teststring
=$teststring$teststring
4903 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4904 # If test is not a shell built-in, we'll probably end up computing a
4905 # maximum length that is only half of the actual maximum length, but
4907 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4908 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4909 test $i != 17 # 1/2 MB should be enough
4912 teststring
=$teststring$teststring
4914 # Only check the string length outside the loop.
4915 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4917 # Add a significant safety factor because C++ compilers can tack on
4918 # massive amounts of additional arguments before passing them to the
4919 # linker. It appears as though 1/2 is a usable value.
4920 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4927 if test -n $lt_cv_sys_max_cmd_len ; then
4928 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4929 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4931 { $as_echo "$as_me:$LINENO: result: none" >&5
4932 $as_echo "none" >&6; }
4934 max_cmd_len
=$lt_cv_sys_max_cmd_len
4945 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4946 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4947 # Try some XSI features
4950 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4952 && eval 'test $(( 1 + 1 )) -eq 2 \
4953 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4955 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4956 $as_echo "$xsi_shell" >&6; }
4959 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4960 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4962 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4964 && lt_shell_append=yes
4965 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4966 $as_echo "$lt_shell_append" >&6; }
4969 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4979 # test EBCDIC or ASCII
4980 case `echo X|tr X '\101'` in
4981 A) # ASCII based system
4982 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4983 lt_SP2NL='tr \040 \012'
4984 lt_NL2SP='tr \015\012 \040\040'
4986 *) # EBCDIC based system
4987 lt_SP2NL='tr \100 \n'
4988 lt_NL2SP='tr \r\n \100\100'
5000 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5001 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5002 if test "${lt_cv_ld_reload_flag+set}" = set; then
5003 $as_echo_n "(cached
) " >&6
5005 lt_cv_ld_reload_flag='-r'
5007 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5008 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5009 reload_flag=$lt_cv_ld_reload_flag
5010 case $reload_flag in
5012 *) reload_flag=" $reload_flag" ;;
5014 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5017 if test "$GCC" = yes; then
5018 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5020 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5033 if test -n "$ac_tool_prefix"; then
5034 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5035 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5036 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5037 $as_echo_n "checking
for $ac_word...
" >&6; }
5038 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5039 $as_echo_n "(cached
) " >&6
5041 if test -n "$OBJDUMP"; then
5042 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5051 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5052 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5061 OBJDUMP=$ac_cv_prog_OBJDUMP
5062 if test -n "$OBJDUMP"; then
5063 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5064 $as_echo "$OBJDUMP" >&6; }
5066 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5067 $as_echo "no
" >&6; }
5072 if test -z "$ac_cv_prog_OBJDUMP"; then
5073 ac_ct_OBJDUMP=$OBJDUMP
5074 # Extract the first word of "objdump
", so it can be a program name with args.
5075 set dummy objdump; ac_word=$2
5076 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5077 $as_echo_n "checking
for $ac_word...
" >&6; }
5078 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5079 $as_echo_n "(cached
) " >&6
5081 if test -n "$ac_ct_OBJDUMP"; then
5082 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5091 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5092 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5101 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5102 if test -n "$ac_ct_OBJDUMP"; then
5103 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5104 $as_echo "$ac_ct_OBJDUMP" >&6; }
5106 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5107 $as_echo "no
" >&6; }
5110 if test "x
$ac_ct_OBJDUMP" = x; then
5113 case $cross_compiling:$ac_tool_warned in
5115 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5116 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5117 ac_tool_warned=yes ;;
5119 OBJDUMP=$ac_ct_OBJDUMP
5122 OBJDUMP="$ac_cv_prog_OBJDUMP"
5125 test -z "$OBJDUMP" && OBJDUMP=objdump
5135 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5136 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5137 if test "${lt_cv_deplibs_check_method+set}" = set; then
5138 $as_echo_n "(cached
) " >&6
5140 lt_cv_file_magic_cmd='$MAGIC_CMD'
5141 lt_cv_file_magic_test_file=
5142 lt_cv_deplibs_check_method='unknown'
5143 # Need to set the preceding variable on all platforms that support
5144 # interlibrary dependencies.
5145 # 'none' -- dependencies not supported.
5146 # `unknown' -- same as none, but documents that we really don't know.
5147 # 'pass_all' -- all dependencies passed with no checks.
5148 # 'test_compile' -- check by making test program.
5149 # 'file_magic [[regex]]' -- check by looking for files in library path
5150 # which responds to the $file_magic_cmd with a given extended regex.
5151 # If you have `file' or equivalent on your system and you're not sure
5152 # whether `pass_all' will *always* work, you probably want this one.
5156 lt_cv_deplibs_check_method=pass_all
5160 lt_cv_deplibs_check_method=pass_all
5164 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5165 lt_cv_file_magic_cmd='/usr/bin/file -L'
5166 lt_cv_file_magic_test_file=/shlib/libc.so
5170 # func_win32_libid is a shell function defined in ltmain.sh
5171 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5172 lt_cv_file_magic_cmd='func_win32_libid'
5176 # Base MSYS/MinGW do not provide the 'file' command needed by
5177 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5178 # unless we find 'file', for example because we are cross-compiling.
5179 if ( file / ) >/dev/null 2>&1; then
5180 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5181 lt_cv_file_magic_cmd='func_win32_libid'
5183 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5184 lt_cv_file_magic_cmd='$OBJDUMP -f'
5189 # use the weaker test based on 'objdump'. See mingw*.
5190 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5191 lt_cv_file_magic_cmd='$OBJDUMP -f'
5194 darwin* | rhapsody*)
5195 lt_cv_deplibs_check_method=pass_all
5198 freebsd* | dragonfly*)
5199 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5202 # Not sure whether the presence of OpenBSD here was a mistake.
5203 # Let's accept both of them until this is cleared up.
5204 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5205 lt_cv_file_magic_cmd=/usr/bin/file
5206 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5210 lt_cv_deplibs_check_method=pass_all
5215 lt_cv_deplibs_check_method=pass_all
5218 hpux10.20* | hpux11*)
5219 lt_cv_file_magic_cmd=/usr/bin/file
5222 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5223 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5226 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]'
5227 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5230 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5231 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5237 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5238 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5241 irix5* | irix6* | nonstopux*)
5243 *-32|*"-32 ") libmagic=32-bit;;
5244 *-n32|*"-n32 ") libmagic=N32;;
5245 *-64|*"-64 ") libmagic=64-bit;;
5246 *) libmagic=never-match;;
5248 lt_cv_deplibs_check_method=pass_all
5251 # This must be Linux ELF.
5252 linux* | k*bsd*-gnu)
5253 lt_cv_deplibs_check_method=pass_all
5257 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5258 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5260 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5265 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5266 lt_cv_file_magic_cmd=/usr/bin/file
5267 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5271 lt_cv_deplibs_check_method=pass_all
5275 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5276 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5278 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5282 osf3* | osf4* | osf5*)
5283 lt_cv_deplibs_check_method=pass_all
5287 lt_cv_deplibs_check_method=pass_all
5291 lt_cv_deplibs_check_method=pass_all
5294 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5295 lt_cv_deplibs_check_method=pass_all
5299 case $host_vendor in
5301 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]'
5302 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5305 lt_cv_deplibs_check_method=pass_all
5308 lt_cv_file_magic_cmd='/bin/file'
5309 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5312 lt_cv_file_magic_cmd='/bin/file'
5313 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5314 lt_cv_file_magic_test_file=/lib/libc.so
5317 lt_cv_deplibs_check_method=pass_all
5320 lt_cv_deplibs_check_method=pass_all
5326 lt_cv_deplibs_check_method=pass_all
5331 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5332 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5333 file_magic_cmd=$lt_cv_file_magic_cmd
5334 deplibs_check_method=$lt_cv_deplibs_check_method
5335 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5348 if test -n "$ac_tool_prefix"; then
5349 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5350 set dummy ${ac_tool_prefix}ar; ac_word=$2
5351 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5352 $as_echo_n "checking
for $ac_word...
" >&6; }
5353 if test "${ac_cv_prog_AR+set}" = set; then
5354 $as_echo_n "(cached
) " >&6
5356 if test -n "$AR"; then
5357 ac_cv_prog_AR="$AR" # Let the user override the test.
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5366 ac_cv_prog_AR="${ac_tool_prefix}ar"
5367 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5377 if test -n "$AR"; then
5378 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5379 $as_echo "$AR" >&6; }
5381 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5382 $as_echo "no
" >&6; }
5387 if test -z "$ac_cv_prog_AR"; then
5389 # Extract the first word of "ar", so it can be a program name with args.
5390 set dummy ar; ac_word=$2
5391 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5392 $as_echo_n "checking
for $ac_word...
" >&6; }
5393 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5394 $as_echo_n "(cached
) " >&6
5396 if test -n "$ac_ct_AR"; then
5397 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_prog_ac_ct_AR="ar"
5407 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5416 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5417 if test -n "$ac_ct_AR"; then
5418 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5419 $as_echo "$ac_ct_AR" >&6; }
5421 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5422 $as_echo "no
" >&6; }
5425 if test "x
$ac_ct_AR" = x; then
5428 case $cross_compiling:$ac_tool_warned in
5430 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5431 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5432 ac_tool_warned=yes ;;
5440 test -z "$AR" && AR=ar
5441 test -z "$AR_FLAGS" && AR_FLAGS=cru
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}strip; ac_word=$2
5456 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5457 $as_echo_n "checking
for $ac_word...
" >&6; }
5458 if test "${ac_cv_prog_STRIP+set}" = set; then
5459 $as_echo_n "(cached
) " >&6
5461 if test -n "$STRIP"; then
5462 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5471 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5472 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5481 STRIP=$ac_cv_prog_STRIP
5482 if test -n "$STRIP"; then
5483 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5484 $as_echo "$STRIP" >&6; }
5486 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5487 $as_echo "no
" >&6; }
5492 if test -z "$ac_cv_prog_STRIP"; then
5494 # Extract the first word of "strip
", so it can be a program name with args.
5495 set dummy strip; ac_word=$2
5496 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5497 $as_echo_n "checking
for $ac_word...
" >&6; }
5498 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5499 $as_echo_n "(cached
) " >&6
5501 if test -n "$ac_ct_STRIP"; then
5502 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5511 ac_cv_prog_ac_ct_STRIP="strip
"
5512 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5521 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5522 if test -n "$ac_ct_STRIP"; then
5523 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5524 $as_echo "$ac_ct_STRIP" >&6; }
5526 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5527 $as_echo "no
" >&6; }
5530 if test "x
$ac_ct_STRIP" = x; then
5533 case $cross_compiling:$ac_tool_warned in
5535 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5536 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5537 ac_tool_warned=yes ;;
5542 STRIP="$ac_cv_prog_STRIP"
5545 test -z "$STRIP" && STRIP=:
5552 if test -n "$ac_tool_prefix"; then
5553 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5554 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5555 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5556 $as_echo_n "checking
for $ac_word...
" >&6; }
5557 if test "${ac_cv_prog_RANLIB+set}" = set; then
5558 $as_echo_n "(cached
) " >&6
5560 if test -n "$RANLIB"; then
5561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5571 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5580 RANLIB=$ac_cv_prog_RANLIB
5581 if test -n "$RANLIB"; then
5582 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5583 $as_echo "$RANLIB" >&6; }
5585 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5586 $as_echo "no
" >&6; }
5591 if test -z "$ac_cv_prog_RANLIB"; then
5592 ac_ct_RANLIB=$RANLIB
5593 # Extract the first word of "ranlib
", so it can be a program name with args.
5594 set dummy ranlib; ac_word=$2
5595 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5596 $as_echo_n "checking
for $ac_word...
" >&6; }
5597 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5598 $as_echo_n "(cached
) " >&6
5600 if test -n "$ac_ct_RANLIB"; then
5601 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5610 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5611 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5620 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5621 if test -n "$ac_ct_RANLIB"; then
5622 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5623 $as_echo "$ac_ct_RANLIB" >&6; }
5625 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5626 $as_echo "no
" >&6; }
5629 if test "x
$ac_ct_RANLIB" = x; then
5632 case $cross_compiling:$ac_tool_warned in
5634 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5635 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5636 ac_tool_warned=yes ;;
5638 RANLIB=$ac_ct_RANLIB
5641 RANLIB="$ac_cv_prog_RANLIB"
5644 test -z "$RANLIB" && RANLIB=:
5651 # Determine commands to create old-style static archives.
5652 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5653 old_postinstall_cmds='chmod 644 $oldlib'
5654 old_postuninstall_cmds=
5656 if test -n "$RANLIB"; then
5659 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5662 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5665 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5701 # If no C compiler was specified, use CC.
5704 # If no C compiler flags were specified, use CFLAGS.
5705 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5707 # Allow CC to be a program name with arguments.
5711 # Check for command to grab the raw symbol name followed by C symbol from nm.
5712 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5713 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5714 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5715 $as_echo_n "(cached
) " >&6
5718 # These are sane defaults that work on at least a few old systems.
5719 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5721 # Character class describing NM global symbol codes.
5722 symcode='[BCDEGRST]'
5724 # Regexp to match symbols that can be accessed directly from C.
5725 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5727 # Define system-specific variables.
5732 cygwin* | mingw* | pw32* | cegcc*)
5733 symcode='[ABCDGISTW]'
5736 if test "$host_cpu" = ia64; then
5737 symcode='[ABCDEGRST]'
5741 symcode='[BCDEGRST]'
5744 symcode='[BCDEGQRST]'
5755 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5763 # If we're using GNU nm, then use its standard symbol codes.
5764 case `$NM -V 2>&1` in
5765 *GNU* | *'with BFD'*)
5766 symcode='[ABCDGIRSTW]' ;;
5769 # Transform an extracted symbol line into a proper C declaration.
5770 # Some systems (esp. on ia64) link data and code symbols differently,
5771 # so use this general approach.
5772 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5774 # Transform an extracted symbol line into symbol name and symbol address
5775 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5776 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'"
5778 # Handle CRLF in mingw tool chain
5782 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5786 # Try without a prefix underscore, then with it.
5787 for ac_symprfx in "" "_
"; do
5789 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5790 symxfrm="\\1 $ac_symprfx\\2 \\2"
5792 # Write the raw and C identifiers.
5793 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5794 # Fake it for dumpbin and say T for any non-static function
5795 # and D for any global variable.
5796 # Also find C++ and __fastcall symbols from MSVC++,
5797 # which start with @ or ?.
5798 lt_cv_sys_global_symbol_pipe="$AWK '"\
5799 " {last_section=section; section=\$ 3};"\
5800 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5801 " \$ 0!~/External *\|/{next};"\
5802 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5803 " {if(hide[section]) next};"\
5804 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5805 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5806 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5807 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5808 " ' prfx
=^
$ac_symprfx"
5810 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5813 # Check to see that the pipe works correctly.
5817 cat > conftest.$ac_ext <<_LT_EOF
5822 void nm_test_func(void);
5823 void nm_test_func(void){}
5827 int main(){nm_test_var='a';nm_test_func();return(0);}
5830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5831 (eval $ac_compile) 2>&5
5833 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5834 (exit $ac_status); }; then
5835 # Now try to grab the symbols.
5837 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5838 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5840 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5841 (exit $ac_status); } && test -s "$nlist"; then
5842 # Try sorting and uniquifying the output.
5843 if sort "$nlist" | uniq > "$nlist"T; then
5844 mv -f "$nlist"T "$nlist"
5849 # Make sure that we snagged all the symbols we need.
5850 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5851 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5852 cat <<_LT_EOF > conftest.$ac_ext
5858 # Now generate the symbol file.
5859 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5861 cat <<_LT_EOF >> conftest.$ac_ext
5863 /* The mapping between symbol names and symbols. */
5868 lt__PROGRAM__LTX_preloaded_symbols[] =
5870 { "@PROGRAM@
", (void *) 0 },
5872 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5873 cat <<\_LT_EOF >> conftest.$ac_ext
5877 /* This works around a problem in FreeBSD linker */
5878 #ifdef FREEBSD_WORKAROUND
5879 static const void *lt_preloaded_setup() {
5880 return lt__PROGRAM__LTX_preloaded_symbols;
5888 # Now try linking the two files.
5889 mv conftest.$ac_objext conftstm.$ac_objext
5890 lt_save_LIBS="$LIBS"
5891 lt_save_CFLAGS="$CFLAGS"
5892 LIBS="conftstm.
$ac_objext"
5893 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5895 (eval $ac_link) 2>&5
5897 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5898 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5901 LIBS="$lt_save_LIBS"
5902 CFLAGS="$lt_save_CFLAGS"
5904 echo "cannot
find nm_test_func
in $nlist" >&5
5907 echo "cannot
find nm_test_var
in $nlist" >&5
5910 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5913 echo "$progname: failed program was
:" >&5
5914 cat conftest.$ac_ext >&5
5916 rm -rf conftest* conftst*
5918 # Do not use the global_symbol_pipe unless it works.
5919 if test "$pipe_works" = yes; then
5922 lt_cv_sys_global_symbol_pipe=
5928 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5929 lt_cv_sys_global_symbol_to_cdecl=
5931 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5932 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5933 $as_echo "failed
" >&6; }
5935 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5936 $as_echo "ok
" >&6; }
5961 # Check whether --enable-libtool-lock was given.
5962 if test "${enable_libtool_lock+set}" = set; then
5963 enableval=$enable_libtool_lock;
5966 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5968 # Some flags need to be propagated to the compiler or linker for good
5972 # Find out which ABI we are using.
5973 echo 'int i;' > conftest.$ac_ext
5974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5975 (eval $ac_compile) 2>&5
5977 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5978 (exit $ac_status); }; then
5979 case `/usr/bin/file conftest.$ac_objext` in
5991 # Find out which ABI we are using.
5992 echo '#line 5992 "configure
"' > conftest.$ac_ext
5993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5994 (eval $ac_compile) 2>&5
5996 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5997 (exit $ac_status); }; then
5998 if test "$lt_cv_prog_gnu_ld" = yes; then
5999 case `/usr/bin/file conftest.$ac_objext` in
6001 LD="${LD-ld} -melf32bsmip"
6004 LD="${LD-ld} -melf32bmipn32"
6007 LD="${LD-ld} -melf64bmip"
6011 case `/usr/bin/file conftest.$ac_objext` in
6027 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6028 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6029 # Find out which ABI we are using.
6030 echo 'int i;' > conftest.$ac_ext
6031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6032 (eval $ac_compile) 2>&5
6034 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6035 (exit $ac_status); }; then
6036 case `/usr/bin/file conftest.o` in
6039 x86_64-*kfreebsd*-gnu)
6040 LD="${LD-ld} -m elf_i386_fbsd
"
6043 LD="${LD-ld} -m elf_i386
"
6045 ppc64-*linux*|powerpc64-*linux*)
6046 LD="${LD-ld} -m elf32ppclinux
"
6049 LD="${LD-ld} -m elf_s390
"
6052 LD="${LD-ld} -m elf32_sparc
"
6058 x86_64-*kfreebsd*-gnu)
6059 LD="${LD-ld} -m elf_x86_64_fbsd
"
6062 LD="${LD-ld} -m elf_x86_64
"
6064 ppc*-*linux*|powerpc*-*linux*)
6065 LD="${LD-ld} -m elf64ppc
"
6067 s390*-*linux*|s390*-*tpf*)
6068 LD="${LD-ld} -m elf64_s390
"
6071 LD="${LD-ld} -m elf64_sparc
"
6081 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6082 SAVE_CFLAGS="$CFLAGS"
6083 CFLAGS="$CFLAGS -belf"
6084 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6085 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6086 if test "${lt_cv_cc_needs_belf+set}" = set; then
6087 $as_echo_n "(cached
) " >&6
6090 ac_cpp='$CPP $CPPFLAGS'
6091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6095 cat >conftest.$ac_ext <<_ACEOF
6098 cat confdefs.h >>conftest.$ac_ext
6099 cat >>conftest.$ac_ext <<_ACEOF
6100 /* end confdefs.h. */
6110 rm -f conftest.$ac_objext conftest$ac_exeext
6111 if { (ac_try="$ac_link"
6113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6114 *) ac_try_echo=$ac_try;;
6116 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6117 $as_echo "$ac_try_echo") >&5
6118 (eval "$ac_link") 2>conftest.er1
6120 grep -v '^ *+' conftest.er1 >conftest.err
6122 cat conftest.err >&5
6123 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6124 (exit $ac_status); } && {
6125 test -z "$ac_c_werror_flag" ||
6126 test ! -s conftest.err
6127 } && test -s conftest$ac_exeext && {
6128 test "$cross_compiling" = yes ||
6129 $as_test_x conftest$ac_exeext
6131 lt_cv_cc_needs_belf=yes
6133 $as_echo "$as_me: failed program was
:" >&5
6134 sed 's/^/| /' conftest.$ac_ext >&5
6136 lt_cv_cc_needs_belf=no
6139 rm -rf conftest.dSYM
6140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6141 conftest$ac_exeext conftest.$ac_ext
6143 ac_cpp='$CPP $CPPFLAGS'
6144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6149 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6150 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6151 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6152 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6153 CFLAGS="$SAVE_CFLAGS"
6157 # Find out which ABI we are using.
6158 echo 'int i;' > conftest.$ac_ext
6159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6160 (eval $ac_compile) 2>&5
6162 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6163 (exit $ac_status); }; then
6164 case `/usr/bin/file conftest.o` in
6166 case $lt_cv_prog_gnu_ld in
6167 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6169 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6181 need_locks="$enable_libtool_lock"
6185 rhapsody* | darwin*)
6186 if test -n "$ac_tool_prefix"; then
6187 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6188 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6189 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6190 $as_echo_n "checking
for $ac_word...
" >&6; }
6191 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6192 $as_echo_n "(cached
) " >&6
6194 if test -n "$DSYMUTIL"; then
6195 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6204 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6205 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6214 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6215 if test -n "$DSYMUTIL"; then
6216 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6217 $as_echo "$DSYMUTIL" >&6; }
6219 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6220 $as_echo "no
" >&6; }
6225 if test -z "$ac_cv_prog_DSYMUTIL"; then
6226 ac_ct_DSYMUTIL=$DSYMUTIL
6227 # Extract the first word of "dsymutil
", so it can be a program name with args.
6228 set dummy dsymutil; ac_word=$2
6229 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6230 $as_echo_n "checking
for $ac_word...
" >&6; }
6231 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6232 $as_echo_n "(cached
) " >&6
6234 if test -n "$ac_ct_DSYMUTIL"; then
6235 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6245 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6254 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6255 if test -n "$ac_ct_DSYMUTIL"; then
6256 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6257 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6259 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6260 $as_echo "no
" >&6; }
6263 if test "x
$ac_ct_DSYMUTIL" = x; then
6266 case $cross_compiling:$ac_tool_warned in
6268 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6269 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6270 ac_tool_warned=yes ;;
6272 DSYMUTIL=$ac_ct_DSYMUTIL
6275 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6278 if test -n "$ac_tool_prefix"; then
6279 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6280 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6281 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6282 $as_echo_n "checking
for $ac_word...
" >&6; }
6283 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6284 $as_echo_n "(cached
) " >&6
6286 if test -n "$NMEDIT"; then
6287 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6296 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6297 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6306 NMEDIT=$ac_cv_prog_NMEDIT
6307 if test -n "$NMEDIT"; then
6308 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6309 $as_echo "$NMEDIT" >&6; }
6311 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6312 $as_echo "no
" >&6; }
6317 if test -z "$ac_cv_prog_NMEDIT"; then
6318 ac_ct_NMEDIT=$NMEDIT
6319 # Extract the first word of "nmedit
", so it can be a program name with args.
6320 set dummy nmedit; ac_word=$2
6321 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6322 $as_echo_n "checking
for $ac_word...
" >&6; }
6323 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6324 $as_echo_n "(cached
) " >&6
6326 if test -n "$ac_ct_NMEDIT"; then
6327 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333 test -z "$as_dir" && as_dir=.
6334 for ac_exec_ext in '' $ac_executable_extensions; do
6335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6336 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6337 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6346 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6347 if test -n "$ac_ct_NMEDIT"; then
6348 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6349 $as_echo "$ac_ct_NMEDIT" >&6; }
6351 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6352 $as_echo "no
" >&6; }
6355 if test "x
$ac_ct_NMEDIT" = x; then
6358 case $cross_compiling:$ac_tool_warned in
6360 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6361 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6362 ac_tool_warned=yes ;;
6364 NMEDIT=$ac_ct_NMEDIT
6367 NMEDIT="$ac_cv_prog_NMEDIT"
6370 if test -n "$ac_tool_prefix"; then
6371 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6372 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6373 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6374 $as_echo_n "checking
for $ac_word...
" >&6; }
6375 if test "${ac_cv_prog_LIPO+set}" = set; then
6376 $as_echo_n "(cached
) " >&6
6378 if test -n "$LIPO"; then
6379 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 test -z "$as_dir" && as_dir=.
6386 for ac_exec_ext in '' $ac_executable_extensions; do
6387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6388 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6389 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6398 LIPO=$ac_cv_prog_LIPO
6399 if test -n "$LIPO"; then
6400 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6401 $as_echo "$LIPO" >&6; }
6403 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6404 $as_echo "no
" >&6; }
6409 if test -z "$ac_cv_prog_LIPO"; then
6411 # Extract the first word of "lipo
", so it can be a program name with args.
6412 set dummy lipo; ac_word=$2
6413 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6414 $as_echo_n "checking
for $ac_word...
" >&6; }
6415 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6416 $as_echo_n "(cached
) " >&6
6418 if test -n "$ac_ct_LIPO"; then
6419 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 test -z "$as_dir" && as_dir=.
6426 for ac_exec_ext in '' $ac_executable_extensions; do
6427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6428 ac_cv_prog_ac_ct_LIPO="lipo
"
6429 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6438 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6439 if test -n "$ac_ct_LIPO"; then
6440 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6441 $as_echo "$ac_ct_LIPO" >&6; }
6443 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6444 $as_echo "no
" >&6; }
6447 if test "x
$ac_ct_LIPO" = x; then
6450 case $cross_compiling:$ac_tool_warned in
6452 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6453 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6454 ac_tool_warned=yes ;;
6459 LIPO="$ac_cv_prog_LIPO"
6462 if test -n "$ac_tool_prefix"; then
6463 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6464 set dummy ${ac_tool_prefix}otool; ac_word=$2
6465 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6466 $as_echo_n "checking
for $ac_word...
" >&6; }
6467 if test "${ac_cv_prog_OTOOL+set}" = set; then
6468 $as_echo_n "(cached
) " >&6
6470 if test -n "$OTOOL"; then
6471 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6480 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6481 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6490 OTOOL=$ac_cv_prog_OTOOL
6491 if test -n "$OTOOL"; then
6492 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6493 $as_echo "$OTOOL" >&6; }
6495 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6496 $as_echo "no
" >&6; }
6501 if test -z "$ac_cv_prog_OTOOL"; then
6503 # Extract the first word of "otool
", so it can be a program name with args.
6504 set dummy otool; ac_word=$2
6505 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6506 $as_echo_n "checking
for $ac_word...
" >&6; }
6507 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6508 $as_echo_n "(cached
) " >&6
6510 if test -n "$ac_ct_OTOOL"; then
6511 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6520 ac_cv_prog_ac_ct_OTOOL="otool
"
6521 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6530 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6531 if test -n "$ac_ct_OTOOL"; then
6532 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6533 $as_echo "$ac_ct_OTOOL" >&6; }
6535 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6536 $as_echo "no
" >&6; }
6539 if test "x
$ac_ct_OTOOL" = x; then
6542 case $cross_compiling:$ac_tool_warned in
6544 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6545 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6546 ac_tool_warned=yes ;;
6551 OTOOL="$ac_cv_prog_OTOOL"
6554 if test -n "$ac_tool_prefix"; then
6555 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6556 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6557 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6558 $as_echo_n "checking
for $ac_word...
" >&6; }
6559 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6560 $as_echo_n "(cached
) " >&6
6562 if test -n "$OTOOL64"; then
6563 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569 test -z "$as_dir" && as_dir=.
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6572 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6573 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6582 OTOOL64=$ac_cv_prog_OTOOL64
6583 if test -n "$OTOOL64"; then
6584 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6585 $as_echo "$OTOOL64" >&6; }
6587 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6588 $as_echo "no
" >&6; }
6593 if test -z "$ac_cv_prog_OTOOL64"; then
6594 ac_ct_OTOOL64=$OTOOL64
6595 # Extract the first word of "otool64
", so it can be a program name with args.
6596 set dummy otool64; ac_word=$2
6597 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6598 $as_echo_n "checking
for $ac_word...
" >&6; }
6599 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6600 $as_echo_n "(cached
) " >&6
6602 if test -n "$ac_ct_OTOOL64"; then
6603 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 test -z "$as_dir" && as_dir=.
6610 for ac_exec_ext in '' $ac_executable_extensions; do
6611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6612 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6613 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6622 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6623 if test -n "$ac_ct_OTOOL64"; then
6624 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6625 $as_echo "$ac_ct_OTOOL64" >&6; }
6627 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6628 $as_echo "no
" >&6; }
6631 if test "x
$ac_ct_OTOOL64" = x; then
6634 case $cross_compiling:$ac_tool_warned in
6636 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6637 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6638 ac_tool_warned=yes ;;
6640 OTOOL64=$ac_ct_OTOOL64
6643 OTOOL64="$ac_cv_prog_OTOOL64"
6672 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6673 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6674 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6675 $as_echo_n "(cached
) " >&6
6677 lt_cv_apple_cc_single_mod=no
6678 if test -z "${LT_MULTI_MODULE}"; then
6679 # By default we will add the -single_module flag. You can override
6680 # by either setting the environment variable LT_MULTI_MODULE
6681 # non-empty at configure time, or by adding -multi_module to the
6683 rm -rf libconftest.dylib*
6684 echo "int foo
(void
){return 1;}" > conftest.c
6685 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6686 -dynamiclib -Wl,-single_module conftest.c
" >&5
6687 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6688 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6690 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6691 lt_cv_apple_cc_single_mod=yes
6693 cat conftest.err >&5
6695 rm -rf libconftest.dylib*
6699 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6700 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6701 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6702 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6703 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6704 $as_echo_n "(cached
) " >&6
6706 lt_cv_ld_exported_symbols_list=no
6707 save_LDFLAGS=$LDFLAGS
6708 echo "_main
" > conftest.sym
6709 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6710 cat >conftest.$ac_ext <<_ACEOF
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6725 rm -f conftest.$ac_objext conftest$ac_exeext
6726 if { (ac_try="$ac_link"
6728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6729 *) ac_try_echo=$ac_try;;
6731 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6732 $as_echo "$ac_try_echo") >&5
6733 (eval "$ac_link") 2>conftest.er1
6735 grep -v '^ *+' conftest.er1 >conftest.err
6737 cat conftest.err >&5
6738 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6739 (exit $ac_status); } && {
6740 test -z "$ac_c_werror_flag" ||
6741 test ! -s conftest.err
6742 } && test -s conftest$ac_exeext && {
6743 test "$cross_compiling" = yes ||
6744 $as_test_x conftest$ac_exeext
6746 lt_cv_ld_exported_symbols_list=yes
6748 $as_echo "$as_me: failed program was
:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6751 lt_cv_ld_exported_symbols_list=no
6754 rm -rf conftest.dSYM
6755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6756 conftest$ac_exeext conftest.$ac_ext
6757 LDFLAGS="$save_LDFLAGS"
6760 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6761 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6763 rhapsody* | darwin1.[012])
6764 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6766 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6767 darwin*) # darwin 5.x on
6768 # if running on 10.5 or later, the deployment target defaults
6769 # to the OS version, if on x86, and 10.4, the deployment
6770 # target defaults to 10.4. Don't you love it?
6771 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6772 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6773 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6775 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6777 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6781 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6782 _lt_dar_single_mod='$single_module'
6784 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6785 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6787 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6789 if test "$DSYMUTIL" != ":"; then
6790 _lt_dsymutil='~$DSYMUTIL $lib || :'
6798 ac_cpp='$CPP $CPPFLAGS'
6799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6802 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6803 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6804 # On Suns, sometimes $CPP names a directory.
6805 if test -n "$CPP" && test -d "$CPP"; then
6808 if test -z "$CPP"; then
6809 if test "${ac_cv_prog_CPP+set}" = set; then
6810 $as_echo_n "(cached
) " >&6
6812 # Double quotes because CPP needs to be expanded
6813 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6816 for ac_c_preproc_warn_flag in '' yes
6818 # Use a header file that comes with gcc, so configuring glibc
6819 # with a fresh cross-compiler works.
6820 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6821 # <limits.h> exists even on freestanding compilers.
6822 # On the NeXT, cc -E runs the code through the compiler's parser,
6823 # not just through cpp. "Syntax error
" is here to catch this case.
6824 cat >conftest.$ac_ext <<_ACEOF
6827 cat confdefs.h >>conftest.$ac_ext
6828 cat >>conftest.$ac_ext <<_ACEOF
6829 /* end confdefs.h. */
6831 # include <limits.h>
6833 # include <assert.h>
6837 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6840 *) ac_try_echo=$ac_try;;
6842 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6843 $as_echo "$ac_try_echo") >&5
6844 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6846 grep -v '^ *+' conftest.er1 >conftest.err
6848 cat conftest.err >&5
6849 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6850 (exit $ac_status); } >/dev/null && {
6851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6852 test ! -s conftest.err
6856 $as_echo "$as_me: failed program was
:" >&5
6857 sed 's/^/| /' conftest.$ac_ext >&5
6859 # Broken: fails on valid input.
6863 rm -f conftest.err conftest.$ac_ext
6865 # OK, works on sane cases. Now check whether nonexistent headers
6866 # can be detected and how.
6867 cat >conftest.$ac_ext <<_ACEOF
6870 cat confdefs.h >>conftest.$ac_ext
6871 cat >>conftest.$ac_ext <<_ACEOF
6872 /* end confdefs.h. */
6873 #include <ac_nonexistent.h>
6875 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6878 *) ac_try_echo=$ac_try;;
6880 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6881 $as_echo "$ac_try_echo") >&5
6882 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6884 grep -v '^ *+' conftest.er1 >conftest.err
6886 cat conftest.err >&5
6887 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6888 (exit $ac_status); } >/dev/null && {
6889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6890 test ! -s conftest.err
6892 # Broken: success on invalid input.
6895 $as_echo "$as_me: failed program was
:" >&5
6896 sed 's/^/| /' conftest.$ac_ext >&5
6898 # Passes both tests.
6903 rm -f conftest.err conftest.$ac_ext
6906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6907 rm -f conftest.err conftest.$ac_ext
6908 if $ac_preproc_ok; then
6920 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6921 $as_echo "$CPP" >&6; }
6923 for ac_c_preproc_warn_flag in '' yes
6925 # Use a header file that comes with gcc, so configuring glibc
6926 # with a fresh cross-compiler works.
6927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6928 # <limits.h> exists even on freestanding compilers.
6929 # On the NeXT, cc -E runs the code through the compiler's parser,
6930 # not just through cpp. "Syntax error
" is here to catch this case.
6931 cat >conftest.$ac_ext <<_ACEOF
6934 cat confdefs.h >>conftest.$ac_ext
6935 cat >>conftest.$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6938 # include <limits.h>
6940 # include <assert.h>
6944 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6947 *) ac_try_echo=$ac_try;;
6949 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6950 $as_echo "$ac_try_echo") >&5
6951 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6953 grep -v '^ *+' conftest.er1 >conftest.err
6955 cat conftest.err >&5
6956 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6957 (exit $ac_status); } >/dev/null && {
6958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6959 test ! -s conftest.err
6963 $as_echo "$as_me: failed program was
:" >&5
6964 sed 's/^/| /' conftest.$ac_ext >&5
6966 # Broken: fails on valid input.
6970 rm -f conftest.err conftest.$ac_ext
6972 # OK, works on sane cases. Now check whether nonexistent headers
6973 # can be detected and how.
6974 cat >conftest.$ac_ext <<_ACEOF
6977 cat confdefs.h >>conftest.$ac_ext
6978 cat >>conftest.$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 #include <ac_nonexistent.h>
6982 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6985 *) ac_try_echo=$ac_try;;
6987 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6988 $as_echo "$ac_try_echo") >&5
6989 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6991 grep -v '^ *+' conftest.er1 >conftest.err
6993 cat conftest.err >&5
6994 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6995 (exit $ac_status); } >/dev/null && {
6996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6997 test ! -s conftest.err
6999 # Broken: success on invalid input.
7002 $as_echo "$as_me: failed program was
:" >&5
7003 sed 's/^/| /' conftest.$ac_ext >&5
7005 # Passes both tests.
7010 rm -f conftest.err conftest.$ac_ext
7013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7014 rm -f conftest.err conftest.$ac_ext
7015 if $ac_preproc_ok; then
7018 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7020 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7021 See \`config.log' for more details.
" >&5
7022 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
7023 See \
`config.log' for more details." >&2;}
7024 { (exit 1); exit 1; }; }; }
7028 ac_cpp='$CPP $CPPFLAGS'
7029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7034 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7035 $as_echo_n "checking for ANSI C header files... " >&6; }
7036 if test "${ac_cv_header_stdc+set}" = set; then
7037 $as_echo_n "(cached) " >&6
7039 cat >conftest.$ac_ext <<_ACEOF
7042 cat confdefs.h >>conftest.$ac_ext
7043 cat >>conftest.$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7058 rm -f conftest.$ac_objext
7059 if { (ac_try="$ac_compile"
7061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7062 *) ac_try_echo
=$ac_try;;
7064 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7065 $as_echo "$ac_try_echo") >&5
7066 (eval "$ac_compile") 2>conftest.er1
7068 grep -v '^ *+' conftest.er1
>conftest.err
7070 cat conftest.err
>&5
7071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } && {
7073 test -z "$ac_c_werror_flag" ||
7074 test ! -s conftest.err
7075 } && test -s conftest.
$ac_objext; then
7076 ac_cv_header_stdc
=yes
7078 $as_echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.
$ac_ext >&5
7081 ac_cv_header_stdc
=no
7084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7086 if test $ac_cv_header_stdc = yes; then
7087 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7088 cat >conftest.
$ac_ext <<_ACEOF
7091 cat confdefs.h
>>conftest.
$ac_ext
7092 cat >>conftest.
$ac_ext <<_ACEOF
7093 /* end confdefs.h. */
7097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7098 $EGREP "memchr" >/dev
/null
2>&1; then
7101 ac_cv_header_stdc
=no
7107 if test $ac_cv_header_stdc = yes; then
7108 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7109 cat >conftest.
$ac_ext <<_ACEOF
7112 cat confdefs.h
>>conftest.
$ac_ext
7113 cat >>conftest.
$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7119 $EGREP "free" >/dev
/null
2>&1; then
7122 ac_cv_header_stdc
=no
7128 if test $ac_cv_header_stdc = yes; then
7129 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7130 if test "$cross_compiling" = yes; then
7133 cat >conftest.
$ac_ext <<_ACEOF
7136 cat confdefs.h
>>conftest.
$ac_ext
7137 cat >>conftest.
$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7141 #if ((' ' & 0x0FF) == 0x020)
7142 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7143 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7145 # define ISLOWER(c) \
7146 (('a' <= (c) && (c) <= 'i') \
7147 || ('j' <= (c) && (c) <= 'r') \
7148 || ('s' <= (c) && (c) <= 'z'))
7149 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7152 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7157 for (i = 0; i < 256; i++)
7158 if (XOR (islower (i), ISLOWER (i))
7159 || toupper (i) != TOUPPER (i))
7164 rm -f conftest
$ac_exeext
7165 if { (ac_try
="$ac_link"
7167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7168 *) ac_try_echo=$ac_try;;
7170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7171 $as_echo "$ac_try_echo") >&5
7172 (eval "$ac_link") 2>&5
7174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7176 { (case "(($ac_try" in
7177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7178 *) ac_try_echo
=$ac_try;;
7180 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7181 $as_echo "$ac_try_echo") >&5
7182 (eval "$ac_try") 2>&5
7184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; }; then
7188 $as_echo "$as_me: program exited with status $ac_status" >&5
7189 $as_echo "$as_me: failed program was:" >&5
7190 sed 's/^/| /' conftest.
$ac_ext >&5
7193 ac_cv_header_stdc
=no
7195 rm -rf conftest.dSYM
7196 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7202 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7203 $as_echo "$ac_cv_header_stdc" >&6; }
7204 if test $ac_cv_header_stdc = yes; then
7206 cat >>confdefs.h
<<\_ACEOF
7207 #define STDC_HEADERS 1
7212 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7222 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7223 inttypes.h stdint.h unistd.h
7225 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7226 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7227 $as_echo_n "checking for $ac_header... " >&6; }
7228 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7229 $as_echo_n "(cached) " >&6
7231 cat >conftest.
$ac_ext <<_ACEOF
7234 cat confdefs.h
>>conftest.
$ac_ext
7235 cat >>conftest.
$ac_ext <<_ACEOF
7236 /* end confdefs.h. */
7237 $ac_includes_default
7239 #include <$ac_header>
7241 rm -f conftest.
$ac_objext
7242 if { (ac_try
="$ac_compile"
7244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7248 $as_echo "$ac_try_echo") >&5
7249 (eval "$ac_compile") 2>conftest.er1
7251 grep -v '^ *+' conftest.er1 >conftest.err
7253 cat conftest.err >&5
7254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); } && {
7256 test -z "$ac_c_werror_flag" ||
7257 test ! -s conftest.err
7258 } && test -s conftest.$ac_objext; then
7259 eval "$as_ac_Header=yes"
7261 $as_echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.$ac_ext >&5
7264 eval "$as_ac_Header=no"
7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269 ac_res=`eval 'as_val=${'$as_ac_Header'}
7270 $as_echo "$as_val"'`
7271 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7272 $as_echo "$ac_res" >&6; }
7273 as_val=`eval 'as_val=${'$as_ac_Header'}
7274 $as_echo "$as_val"'`
7275 if test "x$as_val" = x""yes; then
7276 cat >>confdefs.h <<_ACEOF
7277 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7286 for ac_header in dlfcn.h
7288 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7289 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7290 $as_echo_n "checking for $ac_header... " >&6; }
7291 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7292 $as_echo_n "(cached) " >&6
7294 cat >conftest.$ac_ext <<_ACEOF
7297 cat confdefs.h >>conftest.$ac_ext
7298 cat >>conftest.$ac_ext <<_ACEOF
7299 /* end confdefs.h. */
7300 $ac_includes_default
7302 #include <$ac_header>
7304 rm -f conftest.$ac_objext
7305 if { (ac_try="$ac_compile"
7307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7308 *) ac_try_echo
=$ac_try;;
7310 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7311 $as_echo "$ac_try_echo") >&5
7312 (eval "$ac_compile") 2>conftest.er1
7314 grep -v '^ *+' conftest.er1
>conftest.err
7316 cat conftest.err
>&5
7317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318 (exit $ac_status); } && {
7319 test -z "$ac_c_werror_flag" ||
7320 test ! -s conftest.err
7321 } && test -s conftest.
$ac_objext; then
7322 eval "$as_ac_Header=yes"
7324 $as_echo "$as_me: failed program was:" >&5
7325 sed 's/^/| /' conftest.
$ac_ext >&5
7327 eval "$as_ac_Header=no"
7330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7332 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7333 $as_echo "$as_val"'`
7334 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7335 $as_echo "$ac_res" >&6; }
7336 as_val
=`eval 'as_val=${'$as_ac_Header'}
7337 $as_echo "$as_val"'`
7338 if test "x$as_val" = x
""yes; then
7339 cat >>confdefs.h
<<_ACEOF
7340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7359 # Check whether --enable-shared was given.
7360 if test "${enable_shared+set}" = set; then
7361 enableval
=$enable_shared; p
=${PACKAGE-default}
7363 yes) enable_shared
=yes ;;
7364 no
) enable_shared
=no
;;
7367 # Look at the argument we got. We use all the common list separators.
7368 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7369 for pkg
in $enableval; do
7371 if test "X$pkg" = "X$p"; then
7390 # Check whether --enable-static was given.
7391 if test "${enable_static+set}" = set; then
7392 enableval
=$enable_static; p
=${PACKAGE-default}
7394 yes) enable_static
=yes ;;
7395 no
) enable_static
=no
;;
7398 # Look at the argument we got. We use all the common list separators.
7399 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7400 for pkg
in $enableval; do
7402 if test "X$pkg" = "X$p"; then
7422 # Check whether --with-pic was given.
7423 if test "${with_pic+set}" = set; then
7424 withval
=$with_pic; pic_mode
="$withval"
7430 test -z "$pic_mode" && pic_mode
=default
7438 # Check whether --enable-fast-install was given.
7439 if test "${enable_fast_install+set}" = set; then
7440 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7442 yes) enable_fast_install
=yes ;;
7443 no
) enable_fast_install
=no
;;
7445 enable_fast_install
=no
7446 # Look at the argument we got. We use all the common list separators.
7447 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7448 for pkg
in $enableval; do
7450 if test "X$pkg" = "X$p"; then
7451 enable_fast_install
=yes
7458 enable_fast_install
=yes
7471 # This can be used to rebuild libtool when needed
7472 LIBTOOL_DEPS
="$ltmain"
7474 # Always use our own libtool.
7475 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7501 test -z "$LN_S" && LN_S
="ln -s"
7516 if test -n "${ZSH_VERSION+set}" ; then
7517 setopt NO_GLOB_SUBST
7520 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7521 $as_echo_n "checking for objdir... " >&6; }
7522 if test "${lt_cv_objdir+set}" = set; then
7523 $as_echo_n "(cached) " >&6
7525 rm -f .libs
2>/dev
/null
7526 mkdir .libs
2>/dev
/null
7527 if test -d .libs
; then
7530 # MS-DOS does not allow filenames that begin with a dot.
7533 rmdir .libs
2>/dev
/null
7535 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7536 $as_echo "$lt_cv_objdir" >&6; }
7537 objdir
=$lt_cv_objdir
7543 cat >>confdefs.h
<<_ACEOF
7544 #define LT_OBJDIR "$lt_cv_objdir/"
7565 # AIX sometimes has problems with the GCC collect2 program. For some
7566 # reason, if we set the COLLECT_NAMES environment variable, the problems
7567 # vanish in a puff of smoke.
7568 if test "X${COLLECT_NAMES+set}" != Xset
; then
7570 export COLLECT_NAMES
7575 # Sed substitution that helps us do robust quoting. It backslashifies
7576 # metacharacters that are still active within double-quoted strings.
7577 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7579 # Same as above, but do not quote variable references.
7580 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7582 # Sed substitution to delay expansion of an escaped shell variable in a
7583 # double_quote_subst'ed string.
7584 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7586 # Sed substitution to delay expansion of an escaped single quote.
7587 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7589 # Sed substitution to avoid accidental globbing in evaled expressions
7590 no_glob_subst
='s/\*/\\\*/g'
7594 can_build_shared
=yes
7596 # All known linkers require a `.a' archive for static linking (except MSVC,
7597 # which needs '.lib').
7600 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7603 old_CFLAGS
="$CFLAGS"
7605 # Set sane defaults for various variables
7606 test -z "$CC" && CC
=cc
7607 test -z "$LTCC" && LTCC
=$CC
7608 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7609 test -z "$LD" && LD
=ld
7610 test -z "$ac_objext" && ac_objext
=o
7612 for cc_temp
in $compiler""; do
7614 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7615 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7620 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7623 # Only perform the check for file, if the check method requires it
7624 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7625 case $deplibs_check_method in
7627 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7628 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7629 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7630 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7631 $as_echo_n "(cached) " >&6
7635 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7638 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7639 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7640 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7641 for ac_dir
in $ac_dummy; do
7643 test -z "$ac_dir" && ac_dir
=.
7644 if test -f $ac_dir/${ac_tool_prefix}file; then
7645 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7646 if test -n "$file_magic_test_file"; then
7647 case $deplibs_check_method in
7649 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7650 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7651 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7652 $EGREP "$file_magic_regex" > /dev
/null
; then
7657 *** Warning: the command libtool uses to detect shared libraries,
7658 *** $file_magic_cmd, produces output that libtool cannot recognize.
7659 *** The result is that libtool may fail to recognize shared libraries
7660 *** as such. This will affect the creation of libtool libraries that
7661 *** depend on shared libraries, but programs linked with such libtool
7662 *** libraries will work regardless of this problem. Nevertheless, you
7663 *** may want to report the problem to your system manager and/or to
7664 *** bug-libtool@gnu.org
7674 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7679 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7680 if test -n "$MAGIC_CMD"; then
7681 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7682 $as_echo "$MAGIC_CMD" >&6; }
7684 { $as_echo "$as_me:$LINENO: result: no" >&5
7685 $as_echo "no" >&6; }
7692 if test -z "$lt_cv_path_MAGIC_CMD"; then
7693 if test -n "$ac_tool_prefix"; then
7694 { $as_echo "$as_me:$LINENO: checking for file" >&5
7695 $as_echo_n "checking for file... " >&6; }
7696 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7697 $as_echo_n "(cached) " >&6
7701 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7704 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7705 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7706 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7707 for ac_dir
in $ac_dummy; do
7709 test -z "$ac_dir" && ac_dir
=.
7710 if test -f $ac_dir/file; then
7711 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7712 if test -n "$file_magic_test_file"; then
7713 case $deplibs_check_method in
7715 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7716 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7717 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7718 $EGREP "$file_magic_regex" > /dev
/null
; then
7723 *** Warning: the command libtool uses to detect shared libraries,
7724 *** $file_magic_cmd, produces output that libtool cannot recognize.
7725 *** The result is that libtool may fail to recognize shared libraries
7726 *** as such. This will affect the creation of libtool libraries that
7727 *** depend on shared libraries, but programs linked with such libtool
7728 *** libraries will work regardless of this problem. Nevertheless, you
7729 *** may want to report the problem to your system manager and/or to
7730 *** bug-libtool@gnu.org
7740 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7745 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7746 if test -n "$MAGIC_CMD"; then
7747 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7748 $as_echo "$MAGIC_CMD" >&6; }
7750 { $as_echo "$as_me:$LINENO: result: no" >&5
7751 $as_echo "no" >&6; }
7764 # Use C for the default configuration in the libtool script
7768 ac_cpp
='$CPP $CPPFLAGS'
7769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7774 # Source file extension for C test sources.
7777 # Object file extension for compiled C test sources.
7781 # Code to be used in simple compile tests
7782 lt_simple_compile_test_code
="int some_variable = 0;"
7784 # Code to be used in simple link tests
7785 lt_simple_link_test_code
='int main(){return(0);}'
7793 # If no C compiler was specified, use CC.
7796 # If no C compiler flags were specified, use CFLAGS.
7797 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7799 # Allow CC to be a program name with arguments.
7802 # Save the default compiler, since it gets overwritten when the other
7803 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7804 compiler_DEFAULT
=$CC
7806 # save warnings/boilerplate of simple test code
7807 ac_outfile
=conftest.
$ac_objext
7808 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7809 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7810 _lt_compiler_boilerplate
=`cat conftest.err`
7813 ac_outfile
=conftest.
$ac_objext
7814 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7815 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7816 _lt_linker_boilerplate
=`cat conftest.err`
7820 if test -n "$compiler"; then
7822 lt_prog_compiler_no_builtin_flag
=
7824 if test "$GCC" = yes; then
7825 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7827 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7828 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7829 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7830 $as_echo_n "(cached) " >&6
7832 lt_cv_prog_compiler_rtti_exceptions
=no
7833 ac_outfile
=conftest.
$ac_objext
7834 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7835 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7836 # Insert the option either (1) after the last *FLAGS variable, or
7837 # (2) before a word containing "conftest.", or (3) at the end.
7838 # Note that $ac_compile itself does not contain backslashes and begins
7839 # with a dollar sign (not a hyphen), so the echo should work correctly.
7840 # The option is referenced via a variable to avoid confusing sed.
7841 lt_compile
=`echo "$ac_compile" | $SED \
7842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7844 -e 's:$: $lt_compiler_flag:'`
7845 (eval echo "\"\$as_me:7845: $lt_compile\"" >&5)
7846 (eval "$lt_compile" 2>conftest.err
)
7848 cat conftest.err
>&5
7849 echo "$as_me:7849: \$? = $ac_status" >&5
7850 if (exit $ac_status) && test -s "$ac_outfile"; then
7851 # The compiler can only warn and ignore the option if not recognized
7852 # So say no if there are warnings other than the usual output.
7853 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7854 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7855 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7856 lt_cv_prog_compiler_rtti_exceptions
=yes
7862 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7863 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7865 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7866 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7878 lt_prog_compiler_wl
=
7879 lt_prog_compiler_pic
=
7880 lt_prog_compiler_static
=
7882 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7883 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7885 if test "$GCC" = yes; then
7886 lt_prog_compiler_wl
='-Wl,'
7887 lt_prog_compiler_static
='-static'
7891 # All AIX code is PIC.
7892 if test "$host_cpu" = ia64
; then
7893 # AIX 5 now supports IA64 processor
7894 lt_prog_compiler_static
='-Bstatic'
7901 # see comment about AmigaOS4 .so support
7902 lt_prog_compiler_pic
='-fPIC'
7905 # FIXME: we need at least 68020 code to build shared libraries, but
7906 # adding the `-m68020' flag to GCC prevents building anything better,
7908 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7913 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7914 # PIC is the default for these OSes.
7917 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7918 # This hack is so that the source file can tell whether it is being
7919 # built for inclusion in a dll (and should export symbols for example).
7920 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7921 # (--disable-auto-import) libraries
7922 lt_prog_compiler_pic
='-DDLL_EXPORT'
7925 darwin
* | rhapsody
*)
7926 # PIC is the default on this platform
7927 # Common symbols not allowed in MH_DYLIB files
7928 lt_prog_compiler_pic
='-fno-common'
7932 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7933 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7934 # sets the default TLS model and affects inlining.
7940 lt_prog_compiler_pic
='-fPIC'
7946 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7947 # Instead, we relocate shared libraries at runtime.
7951 # Just because we use GCC doesn't mean we suddenly get shared libraries
7952 # on systems that don't support them.
7953 lt_prog_compiler_can_build_shared
=no
7958 # QNX uses GNU C++, but need to define -shared option too, otherwise
7960 lt_prog_compiler_pic
='-fPIC -shared'
7964 if test -d /usr
/nec
; then
7965 lt_prog_compiler_pic
=-Kconform_pic
7970 lt_prog_compiler_pic
='-fPIC'
7974 # PORTME Check for flag to pass linker flags through the system compiler.
7977 lt_prog_compiler_wl
='-Wl,'
7978 if test "$host_cpu" = ia64
; then
7979 # AIX 5 now supports IA64 processor
7980 lt_prog_compiler_static
='-Bstatic'
7982 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7986 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7987 # This hack is so that the source file can tell whether it is being
7988 # built for inclusion in a dll (and should export symbols for example).
7989 lt_prog_compiler_pic
='-DDLL_EXPORT'
7992 hpux9
* | hpux10
* | hpux11
*)
7993 lt_prog_compiler_wl
='-Wl,'
7994 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8001 lt_prog_compiler_pic
='+Z'
8004 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8005 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8008 irix5
* | irix6
* | nonstopux
*)
8009 lt_prog_compiler_wl
='-Wl,'
8010 # PIC (with -KPIC) is the default.
8011 lt_prog_compiler_static
='-non_shared'
8014 linux
* | k
*bsd
*-gnu)
8015 case $cc_basename in
8016 # old Intel for x86_64 which still supported -KPIC.
8018 lt_prog_compiler_wl
='-Wl,'
8019 lt_prog_compiler_pic
='-KPIC'
8020 lt_prog_compiler_static
='-static'
8022 # icc used to be incompatible with GCC.
8023 # ICC 10 doesn't accept -KPIC any more.
8025 lt_prog_compiler_wl
='-Wl,'
8026 lt_prog_compiler_pic
='-fPIC'
8027 lt_prog_compiler_static
='-static'
8029 # Lahey Fortran 8.1.
8031 lt_prog_compiler_wl
='-Wl,'
8032 lt_prog_compiler_pic
='--shared'
8033 lt_prog_compiler_static
='--static'
8035 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8036 # Portland Group compilers (*not* the Pentium gcc compiler,
8037 # which looks to be a dead project)
8038 lt_prog_compiler_wl
='-Wl,'
8039 lt_prog_compiler_pic
='-fpic'
8040 lt_prog_compiler_static
='-Bstatic'
8043 lt_prog_compiler_wl
='-Wl,'
8044 # All Alpha code is PIC.
8045 lt_prog_compiler_static
='-non_shared'
8048 # IBM XL C 8.0/Fortran 10.1 on PPC
8049 lt_prog_compiler_wl
='-Wl,'
8050 lt_prog_compiler_pic
='-qpic'
8051 lt_prog_compiler_static
='-qstaticlink'
8054 case `$CC -V 2>&1 | sed 5q` in
8057 lt_prog_compiler_pic
='-KPIC'
8058 lt_prog_compiler_static
='-Bstatic'
8059 lt_prog_compiler_wl
='-Wl,'
8062 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8063 lt_prog_compiler_pic
='-KPIC'
8064 lt_prog_compiler_static
='-Bstatic'
8065 lt_prog_compiler_wl
=''
8073 lt_prog_compiler_pic
='-KPIC'
8074 lt_prog_compiler_static
='-Bstatic'
8078 # QNX uses GNU C++, but need to define -shared option too, otherwise
8080 lt_prog_compiler_pic
='-fPIC -shared'
8083 osf3
* | osf4
* | osf5
*)
8084 lt_prog_compiler_wl
='-Wl,'
8085 # All OSF/1 code is PIC.
8086 lt_prog_compiler_static
='-non_shared'
8090 lt_prog_compiler_static
='-non_shared'
8094 lt_prog_compiler_pic
='-KPIC'
8095 lt_prog_compiler_static
='-Bstatic'
8096 case $cc_basename in
8098 lt_prog_compiler_wl
='-Qoption ld ';;
8100 lt_prog_compiler_wl
='-Wl,';;
8105 lt_prog_compiler_wl
='-Qoption ld '
8106 lt_prog_compiler_pic
='-PIC'
8107 lt_prog_compiler_static
='-Bstatic'
8110 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8111 lt_prog_compiler_wl
='-Wl,'
8112 lt_prog_compiler_pic
='-KPIC'
8113 lt_prog_compiler_static
='-Bstatic'
8117 if test -d /usr
/nec
;then
8118 lt_prog_compiler_pic
='-Kconform_pic'
8119 lt_prog_compiler_static
='-Bstatic'
8123 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8124 lt_prog_compiler_wl
='-Wl,'
8125 lt_prog_compiler_pic
='-KPIC'
8126 lt_prog_compiler_static
='-Bstatic'
8130 lt_prog_compiler_wl
='-Wl,'
8131 lt_prog_compiler_can_build_shared
=no
8135 lt_prog_compiler_pic
='-pic'
8136 lt_prog_compiler_static
='-Bstatic'
8140 lt_prog_compiler_can_build_shared
=no
8146 # For platforms which do not support PIC, -DPIC is meaningless:
8148 lt_prog_compiler_pic
=
8151 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8154 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8155 $as_echo "$lt_prog_compiler_pic" >&6; }
8163 # Check to make sure the PIC flag actually works.
8165 if test -n "$lt_prog_compiler_pic"; then
8166 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8167 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8168 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8169 $as_echo_n "(cached) " >&6
8171 lt_cv_prog_compiler_pic_works
=no
8172 ac_outfile
=conftest.
$ac_objext
8173 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8174 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8175 # Insert the option either (1) after the last *FLAGS variable, or
8176 # (2) before a word containing "conftest.", or (3) at the end.
8177 # Note that $ac_compile itself does not contain backslashes and begins
8178 # with a dollar sign (not a hyphen), so the echo should work correctly.
8179 # The option is referenced via a variable to avoid confusing sed.
8180 lt_compile
=`echo "$ac_compile" | $SED \
8181 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8182 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8183 -e 's:$: $lt_compiler_flag:'`
8184 (eval echo "\"\$as_me:8184: $lt_compile\"" >&5)
8185 (eval "$lt_compile" 2>conftest.err
)
8187 cat conftest.err
>&5
8188 echo "$as_me:8188: \$? = $ac_status" >&5
8189 if (exit $ac_status) && test -s "$ac_outfile"; then
8190 # The compiler can only warn and ignore the option if not recognized
8191 # So say no if there are warnings other than the usual output.
8192 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8193 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8194 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8195 lt_cv_prog_compiler_pic_works
=yes
8201 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8202 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8204 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8205 case $lt_prog_compiler_pic in
8207 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8210 lt_prog_compiler_pic
=
8211 lt_prog_compiler_can_build_shared
=no
8222 # Check to make sure the static flag actually works.
8224 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8225 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8226 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8227 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8228 $as_echo_n "(cached) " >&6
8230 lt_cv_prog_compiler_static_works
=no
8231 save_LDFLAGS
="$LDFLAGS"
8232 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8233 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8234 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8235 # The linker can only warn and ignore the option if not recognized
8236 # So say no if there are warnings
8237 if test -s conftest.err
; then
8238 # Append any errors to the config.log.
8239 cat conftest.err
1>&5
8240 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8241 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8242 if diff conftest.exp conftest.er2
>/dev
/null
; then
8243 lt_cv_prog_compiler_static_works
=yes
8246 lt_cv_prog_compiler_static_works
=yes
8250 LDFLAGS
="$save_LDFLAGS"
8253 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8254 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8256 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8259 lt_prog_compiler_static
=
8268 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8269 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8270 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8271 $as_echo_n "(cached) " >&6
8273 lt_cv_prog_compiler_c_o
=no
8274 $RM -r conftest
2>/dev
/null
8278 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8280 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8281 # Insert the option either (1) after the last *FLAGS variable, or
8282 # (2) before a word containing "conftest.", or (3) at the end.
8283 # Note that $ac_compile itself does not contain backslashes and begins
8284 # with a dollar sign (not a hyphen), so the echo should work correctly.
8285 lt_compile
=`echo "$ac_compile" | $SED \
8286 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8287 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8288 -e 's:$: $lt_compiler_flag:'`
8289 (eval echo "\"\$as_me:8289: $lt_compile\"" >&5)
8290 (eval "$lt_compile" 2>out
/conftest.err
)
8292 cat out
/conftest.err
>&5
8293 echo "$as_me:8293: \$? = $ac_status" >&5
8294 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8296 # The compiler can only warn and ignore the option if not recognized
8297 # So say no if there are warnings
8298 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8299 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8300 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8301 lt_cv_prog_compiler_c_o
=yes
8306 # SGI C++ compiler will create directory out/ii_files/ for
8307 # template instantiation
8308 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8309 $RM out
/* && rmdir out
8315 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8316 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8323 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8324 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8325 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8326 $as_echo_n "(cached) " >&6
8328 lt_cv_prog_compiler_c_o
=no
8329 $RM -r conftest
2>/dev
/null
8333 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8335 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8336 # Insert the option either (1) after the last *FLAGS variable, or
8337 # (2) before a word containing "conftest.", or (3) at the end.
8338 # Note that $ac_compile itself does not contain backslashes and begins
8339 # with a dollar sign (not a hyphen), so the echo should work correctly.
8340 lt_compile
=`echo "$ac_compile" | $SED \
8341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8343 -e 's:$: $lt_compiler_flag:'`
8344 (eval echo "\"\$as_me:8344: $lt_compile\"" >&5)
8345 (eval "$lt_compile" 2>out
/conftest.err
)
8347 cat out
/conftest.err
>&5
8348 echo "$as_me:8348: \$? = $ac_status" >&5
8349 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8351 # The compiler can only warn and ignore the option if not recognized
8352 # So say no if there are warnings
8353 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8354 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8355 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8356 lt_cv_prog_compiler_c_o
=yes
8361 # SGI C++ compiler will create directory out/ii_files/ for
8362 # template instantiation
8363 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8364 $RM out
/* && rmdir out
8370 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8371 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8376 hard_links
="nottested"
8377 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8378 # do not overwrite the value of need_locks provided by the user
8379 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8380 $as_echo_n "checking if we can lock with hard links... " >&6; }
8383 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8385 ln conftest.a conftest.b
2>&5 || hard_links
=no
8386 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8387 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8388 $as_echo "$hard_links" >&6; }
8389 if test "$hard_links" = no
; then
8390 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8391 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8403 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8404 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8407 allow_undefined_flag
=
8408 always_export_symbols
=no
8410 archive_expsym_cmds
=
8411 compiler_needs_object
=no
8412 enable_shared_with_static_runtimes
=no
8413 export_dynamic_flag_spec
=
8414 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8415 hardcode_automatic
=no
8417 hardcode_direct_absolute
=no
8418 hardcode_libdir_flag_spec
=
8419 hardcode_libdir_flag_spec_ld
=
8420 hardcode_libdir_separator
=
8422 hardcode_shlibpath_var
=unsupported
8424 link_all_deplibs
=unknown
8427 old_archive_from_new_cmds
=
8428 old_archive_from_expsyms_cmds
=
8429 thread_safe_flag_spec
=
8430 whole_archive_flag_spec
=
8431 # include_expsyms should be a list of space-separated symbols to be *always*
8432 # included in the symbol list
8434 # exclude_expsyms can be an extended regexp of symbols to exclude
8435 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8436 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8437 # as well as any symbol that contains `d'.
8438 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8439 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8440 # platforms (ab)use it in PIC code, but their linkers get confused if
8441 # the symbol is explicitly referenced. Since portable code cannot
8442 # rely on this symbol name, it's probably fine to never include it in
8443 # preloaded symbol tables.
8444 # Exclude shared library initialization/finalization symbols.
8445 extract_expsyms_cmds
=
8448 cygwin
* | mingw
* | pw32
* | cegcc
*)
8449 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8450 # When not using gcc, we currently assume that we are using
8451 # Microsoft Visual C++.
8452 if test "$GCC" != yes; then
8457 # we just hope/assume this is gcc and not c89 (= MSVC++)
8466 if test "$with_gnu_ld" = yes; then
8467 # If archive_cmds runs LD, not CC, wlarc should be empty
8470 # Set some defaults for GNU ld with shared library support. These
8471 # are reset later if shared libraries are not supported. Putting them
8472 # here allows them to be overridden if necessary.
8473 runpath_var
=LD_RUN_PATH
8474 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8475 export_dynamic_flag_spec
='${wl}--export-dynamic'
8476 # ancient GNU ld didn't support --whole-archive et. al.
8477 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8478 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8480 whole_archive_flag_spec
=
8482 supports_anon_versioning
=no
8483 case `$LD -v 2>&1` in
8484 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8485 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8486 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8487 *\
2.11.
*) ;; # other 2.11 versions
8488 *) supports_anon_versioning
=yes ;;
8491 # See if GNU ld supports shared libraries.
8494 # On AIX/PPC, the GNU linker is very broken
8495 if test "$host_cpu" != ia64
; then
8499 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8500 *** to be unable to reliably create shared libraries on AIX.
8501 *** Therefore, libtool is disabling shared libraries support. If you
8502 *** really care for shared libraries, you may want to modify your PATH
8503 *** so that a non-GNU linker is found, and then restart.
8512 # see comment about AmigaOS4 .so support
8513 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8514 archive_expsym_cmds
=''
8517 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)'
8518 hardcode_libdir_flag_spec
='-L$libdir'
8519 hardcode_minus_L
=yes
8525 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8526 allow_undefined_flag
=unsupported
8527 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8528 # support --undefined. This deserves some investigation. FIXME
8529 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8535 cygwin
* | mingw
* | pw32
* | cegcc
*)
8536 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8537 # as there is no search path for DLLs.
8538 hardcode_libdir_flag_spec
='-L$libdir'
8539 allow_undefined_flag
=unsupported
8540 always_export_symbols
=no
8541 enable_shared_with_static_runtimes
=yes
8542 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8544 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8545 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8546 # If the export-symbols file already is a .def file (1st line
8547 # is EXPORTS), use it as is; otherwise, prepend...
8548 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8549 cp $export_symbols $output_objdir/$soname.def;
8551 echo EXPORTS > $output_objdir/$soname.def;
8552 cat $export_symbols >> $output_objdir/$soname.def;
8554 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8562 hardcode_shlibpath_var
=no
8563 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8564 export_dynamic_flag_spec
='${wl}-E'
8565 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8566 # Instead, shared libraries are loaded at an image base (0x10000000 by
8567 # default) and relocated if they conflict, which is a slow very memory
8568 # consuming and fragmenting process. To avoid this, we pick a random,
8569 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8570 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8571 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8572 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'
8575 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8577 if test "$host_os" = linux-dietlibc
; then
8578 case $cc_basename in
8579 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8582 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8583 && test "$tmp_diet" = no
8586 tmp_sharedflag
='-shared'
8587 case $cc_basename,$host_cpu in
8588 pgcc
*) # Portland Group C compiler
8589 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'
8590 tmp_addflag
=' $pic_flag'
8592 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8593 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'
8594 tmp_addflag
=' $pic_flag -Mnomain' ;;
8595 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8596 tmp_addflag
=' -i_dynamic' ;;
8597 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8598 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8599 ifc
* | ifort
*) # Intel Fortran compiler
8600 tmp_addflag
=' -nofor_main' ;;
8601 lf95
*) # Lahey Fortran 8.1
8602 whole_archive_flag_spec
=
8603 tmp_sharedflag
='--shared' ;;
8604 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8605 tmp_sharedflag
='-qmkshrobj'
8608 case `$CC -V 2>&1 | sed 5q` in
8609 *Sun\ C
*) # Sun C 5.9
8610 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'
8611 compiler_needs_object
=yes
8612 tmp_sharedflag
='-G' ;;
8613 *Sun\ F
*) # Sun Fortran 8.3
8614 tmp_sharedflag
='-G' ;;
8616 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8618 if test "x$supports_anon_versioning" = xyes
; then
8619 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8620 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8621 echo "local: *; };" >> $output_objdir/$libname.ver~
8622 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8625 case $cc_basename in
8627 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8628 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8629 hardcode_libdir_flag_spec
=
8630 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8631 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8632 if test "x$supports_anon_versioning" = xyes
; then
8633 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8634 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8635 echo "local: *; };" >> $output_objdir/$libname.ver~
8636 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8646 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8647 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8650 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8651 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8656 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8660 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8661 *** create shared libraries on Solaris systems. Therefore, libtool
8662 *** is disabling shared libraries support. We urge you to upgrade GNU
8663 *** binutils to release 2.9.1 or newer. Another option is to modify
8664 *** your PATH or compiler configuration so that the native linker is
8665 *** used, and then restart.
8668 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8669 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8670 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8676 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8677 case `$LD -v 2>&1` in
8678 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8682 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8683 *** reliably create shared libraries on SCO systems. Therefore, libtool
8684 *** is disabling shared libraries support. We urge you to upgrade GNU
8685 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8686 *** your PATH or compiler configuration so that the native linker is
8687 *** used, and then restart.
8692 # For security reasons, it is highly recommended that you always
8693 # use absolute paths for naming shared libraries, and exclude the
8694 # DT_RUNPATH tag from executables and libraries. But doing so
8695 # requires that you compile everything twice, which is a pain.
8696 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8697 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8698 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8699 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8708 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8711 hardcode_shlibpath_var
=no
8715 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8716 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8717 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8724 if test "$ld_shlibs" = no
; then
8726 hardcode_libdir_flag_spec
=
8727 export_dynamic_flag_spec
=
8728 whole_archive_flag_spec
=
8731 # PORTME fill in a description of your system's linker (not GNU ld)
8734 allow_undefined_flag
=unsupported
8735 always_export_symbols
=yes
8736 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'
8737 # Note: this linker hardcodes the directories in LIBPATH if there
8738 # are no directories specified by -L.
8739 hardcode_minus_L
=yes
8740 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8741 # Neither direct hardcoding nor static linking is supported with a
8743 hardcode_direct
=unsupported
8748 if test "$host_cpu" = ia64
; then
8749 # On IA64, the linker does run time linking by default, so we don't
8750 # have to do anything special.
8751 aix_use_runtimelinking
=no
8752 exp_sym_flag
='-Bexport'
8755 # If we're using GNU nm, then we don't want the "-C" option.
8756 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8757 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8758 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'
8760 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'
8762 aix_use_runtimelinking
=no
8764 # Test if we are trying to use run time linking or normal
8765 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8766 # need to do runtime linking.
8767 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8768 for ld_flag
in $LDFLAGS; do
8769 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8770 aix_use_runtimelinking
=yes
8777 exp_sym_flag
='-bexport'
8778 no_entry_flag
='-bnoentry'
8781 # When large executables or shared objects are built, AIX ld can
8782 # have problems creating the table of contents. If linking a library
8783 # or program results in "error TOC overflow" add -mminimal-toc to
8784 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8785 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8789 hardcode_direct_absolute
=yes
8790 hardcode_libdir_separator
=':'
8791 link_all_deplibs
=yes
8792 file_list_spec
='${wl}-f,'
8794 if test "$GCC" = yes; then
8795 case $host_os in aix4.
[012]|aix4.
[012].
*)
8796 # We only want to do this on AIX 4.2 and lower, the check
8797 # below for broken collect2 doesn't work under 4.3+
8798 collect2name
=`${CC} -print-prog-name=collect2`
8799 if test -f "$collect2name" &&
8800 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8802 # We have reworked collect2
8805 # We have old collect2
8806 hardcode_direct
=unsupported
8807 # It fails to find uninstalled libraries when the uninstalled
8808 # path is not listed in the libpath. Setting hardcode_minus_L
8809 # to unsupported forces relinking
8810 hardcode_minus_L
=yes
8811 hardcode_libdir_flag_spec
='-L$libdir'
8812 hardcode_libdir_separator
=
8816 shared_flag
='-shared'
8817 if test "$aix_use_runtimelinking" = yes; then
8818 shared_flag
="$shared_flag "'${wl}-G'
8822 if test "$host_cpu" = ia64
; then
8823 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8824 # chokes on -Wl,-G. The following line is correct:
8827 if test "$aix_use_runtimelinking" = yes; then
8828 shared_flag
='${wl}-G'
8830 shared_flag
='${wl}-bM:SRE'
8835 export_dynamic_flag_spec
='${wl}-bexpall'
8836 # It seems that -bexpall does not export symbols beginning with
8837 # underscore (_), so it is better to generate a list of symbols to export.
8838 always_export_symbols
=yes
8839 if test "$aix_use_runtimelinking" = yes; then
8840 # Warning - without using the other runtime loading flags (-brtl),
8841 # -berok will link without error, but may produce a broken library.
8842 allow_undefined_flag
='-berok'
8843 # Determine the default libpath from the value encoded in an
8845 cat >conftest.
$ac_ext <<_ACEOF
8848 cat confdefs.h
>>conftest.
$ac_ext
8849 cat >>conftest.
$ac_ext <<_ACEOF
8850 /* end confdefs.h. */
8860 rm -f conftest.
$ac_objext conftest
$ac_exeext
8861 if { (ac_try
="$ac_link"
8863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8864 *) ac_try_echo=$ac_try;;
8866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8867 $as_echo "$ac_try_echo") >&5
8868 (eval "$ac_link") 2>conftest.er1
8870 grep -v '^ *+' conftest.er1 >conftest.err
8872 cat conftest.err >&5
8873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); } && {
8875 test -z "$ac_c_werror_flag" ||
8876 test ! -s conftest.err
8877 } && test -s conftest$ac_exeext && {
8878 test "$cross_compiling" = yes ||
8879 $as_test_x conftest$ac_exeext
8882 lt_aix_libpath_sed='
8883 /Import File Strings/,/^$/ {
8889 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8890 # Check for a 64-bit object if we didn't find anything.
8891 if test -z "$aix_libpath"; then
8892 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8895 $as_echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.$ac_ext >&5
8901 rm -rf conftest.dSYM
8902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8903 conftest$ac_exeext conftest.$ac_ext
8904 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8906 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8907 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"
8909 if test "$host_cpu" = ia64; then
8910 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8911 allow_undefined_flag="-z nodefs"
8912 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"
8914 # Determine the default libpath from the value encoded in an
8916 cat >conftest.$ac_ext <<_ACEOF
8919 cat confdefs.h >>conftest.$ac_ext
8920 cat >>conftest.$ac_ext <<_ACEOF
8921 /* end confdefs.h. */
8931 rm -f conftest.$ac_objext conftest$ac_exeext
8932 if { (ac_try="$ac_link"
8934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8935 *) ac_try_echo
=$ac_try;;
8937 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8938 $as_echo "$ac_try_echo") >&5
8939 (eval "$ac_link") 2>conftest.er1
8941 grep -v '^ *+' conftest.er1
>conftest.err
8943 cat conftest.err
>&5
8944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); } && {
8946 test -z "$ac_c_werror_flag" ||
8947 test ! -s conftest.err
8948 } && test -s conftest
$ac_exeext && {
8949 test "$cross_compiling" = yes ||
8950 $as_test_x conftest
$ac_exeext
8953 lt_aix_libpath_sed
='
8954 /Import File Strings/,/^$/ {
8960 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8961 # Check for a 64-bit object if we didn't find anything.
8962 if test -z "$aix_libpath"; then
8963 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8966 $as_echo "$as_me: failed program was:" >&5
8967 sed 's/^/| /' conftest.
$ac_ext >&5
8972 rm -rf conftest.dSYM
8973 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8974 conftest
$ac_exeext conftest.
$ac_ext
8975 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8977 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8978 # Warning - without using the other run time loading flags,
8979 # -berok will link without error, but may produce a broken library.
8980 no_undefined_flag
=' ${wl}-bernotok'
8981 allow_undefined_flag
=' ${wl}-berok'
8982 # Exported symbols can be pulled into shared objects from archives
8983 whole_archive_flag_spec
='$convenience'
8984 archive_cmds_need_lc
=yes
8985 # This is similar to how AIX traditionally builds its shared libraries.
8986 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'
8994 # see comment about AmigaOS4 .so support
8995 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8996 archive_expsym_cmds
=''
8999 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)'
9000 hardcode_libdir_flag_spec
='-L$libdir'
9001 hardcode_minus_L
=yes
9007 export_dynamic_flag_spec
=-rdynamic
9010 cygwin
* | mingw
* | pw32
* | cegcc
*)
9011 # When not using gcc, we currently assume that we are using
9012 # Microsoft Visual C++.
9013 # hardcode_libdir_flag_spec is actually meaningless, as there is
9014 # no search path for DLLs.
9015 hardcode_libdir_flag_spec
=' '
9016 allow_undefined_flag
=unsupported
9017 # Tell ltmain to make .lib files, not .a files.
9019 # Tell ltmain to make .dll files, not .so files.
9021 # FIXME: Setting linknames here is a bad hack.
9022 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9023 # The linker will automatically build a .lib file if we build a DLL.
9024 old_archive_from_new_cmds
='true'
9025 # FIXME: Should let the user specify the lib program.
9026 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9027 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9028 enable_shared_with_static_runtimes
=yes
9031 darwin
* | rhapsody
*)
9034 archive_cmds_need_lc
=no
9036 hardcode_automatic
=yes
9037 hardcode_shlibpath_var
=unsupported
9038 whole_archive_flag_spec
=''
9039 link_all_deplibs
=yes
9040 allow_undefined_flag
="$_lt_dar_allow_undefined"
9041 case $cc_basename in
9042 ifort
*) _lt_dar_can_shared
=yes ;;
9043 *) _lt_dar_can_shared
=$GCC ;;
9045 if test "$_lt_dar_can_shared" = "yes"; then
9046 output_verbose_link_cmd
=echo
9047 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9048 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9049 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}"
9050 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}"
9059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9060 hardcode_libdir_flag_spec
='-L$libdir'
9061 hardcode_shlibpath_var
=no
9068 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9069 # support. Future versions do this automatically, but an explicit c++rt0.o
9070 # does not break anything, and helps significantly (at the cost of a little
9073 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9074 hardcode_libdir_flag_spec
='-R$libdir'
9076 hardcode_shlibpath_var
=no
9079 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9081 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9083 hardcode_minus_L
=yes
9084 hardcode_shlibpath_var
=no
9087 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9088 freebsd
* | dragonfly
*)
9089 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9090 hardcode_libdir_flag_spec
='-R$libdir'
9092 hardcode_shlibpath_var
=no
9096 if test "$GCC" = yes; then
9097 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'
9099 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'
9101 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9102 hardcode_libdir_separator
=:
9105 # hardcode_minus_L: Not really in the search PATH,
9106 # but as the default location of the library.
9107 hardcode_minus_L
=yes
9108 export_dynamic_flag_spec
='${wl}-E'
9112 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9113 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9115 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9117 if test "$with_gnu_ld" = no
; then
9118 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9119 hardcode_libdir_flag_spec_ld
='+b $libdir'
9120 hardcode_libdir_separator
=:
9122 hardcode_direct_absolute
=yes
9123 export_dynamic_flag_spec
='${wl}-E'
9124 # hardcode_minus_L: Not really in the search PATH,
9125 # but as the default location of the library.
9126 hardcode_minus_L
=yes
9131 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9134 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9137 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9140 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9146 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9149 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9152 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9156 if test "$with_gnu_ld" = no
; then
9157 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9158 hardcode_libdir_separator
=:
9163 hardcode_shlibpath_var
=no
9167 hardcode_direct_absolute
=yes
9168 export_dynamic_flag_spec
='${wl}-E'
9170 # hardcode_minus_L: Not really in the search PATH,
9171 # but as the default location of the library.
9172 hardcode_minus_L
=yes
9178 irix5
* | irix6
* | nonstopux
*)
9179 if test "$GCC" = yes; then
9180 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'
9181 # Try to use the -exported_symbol ld option, if it does not
9182 # work, assume that -exports_file does not work either and
9183 # implicitly export all symbols.
9184 save_LDFLAGS
="$LDFLAGS"
9185 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9186 cat >conftest.
$ac_ext <<_ACEOF
9189 rm -f conftest.
$ac_objext conftest
$ac_exeext
9190 if { (ac_try
="$ac_link"
9192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9193 *) ac_try_echo=$ac_try;;
9195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9196 $as_echo "$ac_try_echo") >&5
9197 (eval "$ac_link") 2>conftest.er1
9199 grep -v '^ *+' conftest.er1 >conftest.err
9201 cat conftest.err >&5
9202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } && {
9204 test -z "$ac_c_werror_flag" ||
9205 test ! -s conftest.err
9206 } && test -s conftest$ac_exeext && {
9207 test "$cross_compiling" = yes ||
9208 $as_test_x conftest$ac_exeext
9210 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'
9213 $as_echo "$as_me: failed program was:" >&5
9214 sed 's/^/| /' conftest.$ac_ext >&5
9219 rm -rf conftest.dSYM
9220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9221 conftest$ac_exeext conftest.$ac_ext
9222 LDFLAGS="$save_LDFLAGS"
9224 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'
9225 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'
9227 archive_cmds_need_lc='no'
9228 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9229 hardcode_libdir_separator=:
9231 link_all_deplibs=yes
9235 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9236 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9238 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9240 hardcode_libdir_flag_spec='-R$libdir'
9242 hardcode_shlibpath_var=no
9246 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9248 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9249 hardcode_libdir_separator=:
9250 hardcode_shlibpath_var=no
9257 if test -f /usr/libexec/ld.so; then
9259 hardcode_shlibpath_var=no
9260 hardcode_direct_absolute=yes
9261 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9262 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9263 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9264 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9265 export_dynamic_flag_spec='${wl}-E'
9268 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9269 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9270 hardcode_libdir_flag_spec='-R$libdir'
9273 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9274 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9284 hardcode_libdir_flag_spec='-L$libdir'
9285 hardcode_minus_L=yes
9286 allow_undefined_flag=unsupported
9287 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'
9288 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9292 if test "$GCC" = yes; then
9293 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9294 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'
9296 allow_undefined_flag=' -expect_unresolved \*'
9297 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'
9299 archive_cmds_need_lc='no'
9300 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9301 hardcode_libdir_separator=:
9304 osf4* | osf5*) # as osf3* with the addition of -msym flag
9305 if test "$GCC" = yes; then
9306 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9307 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'
9308 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310 allow_undefined_flag=' -expect_unresolved \*'
9311 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'
9312 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~
9313 $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'
9315 # Both c and cxx compiler support -rpath directly
9316 hardcode_libdir_flag_spec='-rpath $libdir'
9318 archive_cmds_need_lc='no'
9319 hardcode_libdir_separator=:
9323 no_undefined_flag=' -z defs'
9324 if test "$GCC" = yes; then
9326 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9327 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9328 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9330 case `$CC -V 2>&1` in
9333 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9334 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9335 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9339 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9340 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9341 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9345 hardcode_libdir_flag_spec='-R$libdir'
9346 hardcode_shlibpath_var=no
9348 solaris2.[0-5] | solaris2.[0-5].*) ;;
9350 # The compiler driver will combine and reorder linker options,
9351 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9352 # but is careful enough not to reorder.
9353 # Supported since Solaris 2.6 (maybe 2.5.1?)
9354 if test "$GCC" = yes; then
9355 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9357 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9361 link_all_deplibs
=yes
9365 if test "x$host_vendor" = xsequent
; then
9366 # Use $CC to link under sequent, because it throws in some extra .o
9367 # files that make .init and .fini sections work.
9368 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9372 hardcode_libdir_flag_spec
='-L$libdir'
9374 hardcode_minus_L
=yes
9375 hardcode_shlibpath_var
=no
9379 case $host_vendor in
9381 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9382 hardcode_direct
=yes # is this really true???
9385 ## LD is ld it makes a PLAMLIB
9386 ## CC just makes a GrossModule.
9387 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9388 reload_cmds
='$CC -r -o $output$reload_objs'
9392 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9393 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9396 runpath_var
='LD_RUN_PATH'
9397 hardcode_shlibpath_var
=no
9401 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9402 hardcode_shlibpath_var
=no
9403 export_dynamic_flag_spec
='-Bexport'
9407 if test -d /usr
/nec
; then
9408 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9409 hardcode_shlibpath_var
=no
9410 runpath_var
=LD_RUN_PATH
9411 hardcode_runpath_var
=yes
9416 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9417 no_undefined_flag
='${wl}-z,text'
9418 archive_cmds_need_lc
=no
9419 hardcode_shlibpath_var
=no
9420 runpath_var
='LD_RUN_PATH'
9422 if test "$GCC" = yes; then
9423 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9424 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9426 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9427 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9431 sysv5
* | sco3.2v5
* | sco5v6
*)
9432 # Note: We can NOT use -z defs as we might desire, because we do not
9433 # link with -lc, and that would cause any symbols used from libc to
9434 # always be unresolved, which means just about no library would
9435 # ever link correctly. If we're not using GNU ld we use -z text
9436 # though, which does catch some bad symbols but isn't as heavy-handed
9438 no_undefined_flag
='${wl}-z,text'
9439 allow_undefined_flag
='${wl}-z,nodefs'
9440 archive_cmds_need_lc
=no
9441 hardcode_shlibpath_var
=no
9442 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9443 hardcode_libdir_separator
=':'
9444 link_all_deplibs
=yes
9445 export_dynamic_flag_spec
='${wl}-Bexport'
9446 runpath_var
='LD_RUN_PATH'
9448 if test "$GCC" = yes; then
9449 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9450 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9452 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9453 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9458 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9459 hardcode_libdir_flag_spec
='-L$libdir'
9460 hardcode_shlibpath_var
=no
9468 if test x
$host_vendor = xsni
; then
9470 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9471 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9477 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9478 $as_echo "$ld_shlibs" >&6; }
9479 test "$ld_shlibs" = no
&& can_build_shared
=no
9481 with_gnu_ld
=$with_gnu_ld
9498 # Do we need to explicitly link libc?
9500 case "x$archive_cmds_need_lc" in
9502 # Assume -lc should be added
9503 archive_cmds_need_lc
=yes
9505 if test "$enable_shared" = yes && test "$GCC" = yes; then
9506 case $archive_cmds in
9508 # FIXME: we may have to deal with multi-command sequences.
9511 # Test whether the compiler implicitly links with -lc since on some
9512 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9513 # to ld, don't add -lc before -lgcc.
9514 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9515 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9517 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9520 (eval $ac_compile) 2>&5
9522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } 2>conftest.err
; then
9526 libobjs
=conftest.
$ac_objext
9528 wl
=$lt_prog_compiler_wl
9529 pic_flag
=$lt_prog_compiler_pic
9535 lt_save_allow_undefined_flag
=$allow_undefined_flag
9536 allow_undefined_flag
=
9537 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9538 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }
9543 archive_cmds_need_lc
=no
9545 archive_cmds_need_lc
=yes
9547 allow_undefined_flag
=$lt_save_allow_undefined_flag
9549 cat conftest.err
1>&5
9552 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9553 $as_echo "$archive_cmds_need_lc" >&6; }
9716 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9717 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9719 if test "$GCC" = yes; then
9721 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9722 *) lt_awk_arg
="/^libraries:/" ;;
9724 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9725 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9726 # if the path contains ";" then we assume it to be the separator
9727 # otherwise default to the standard path separator (i.e. ":") - it is
9728 # assumed that no part of a normal pathname contains ";" but that should
9729 # okay in the real world where ";" in dirpaths is itself problematic.
9730 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9732 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9734 # Ok, now we have the path, separated by spaces, we can step through it
9735 # and add multilib dir if necessary.
9736 lt_tmp_lt_search_path_spec
=
9737 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9738 for lt_sys_path
in $lt_search_path_spec; do
9739 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9740 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9742 test -d "$lt_sys_path" && \
9743 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9746 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9747 BEGIN {RS=" "; FS="/|\n";} {
9750 for (lt_i = NF; lt_i > 0; lt_i--) {
9751 if ($lt_i != "" && $lt_i != ".") {
9752 if ($lt_i == "..") {
9755 if (lt_count == 0) {
9756 lt_foo="/" $lt_i lt_foo;
9763 if (lt_foo != "") { lt_freq[lt_foo]++; }
9764 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9766 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9768 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9771 libname_spec
='lib$name'
9779 shlibpath_overrides_runpath
=unknown
9781 dynamic_linker
="$host_os ld.so"
9782 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9783 need_lib_prefix
=unknown
9784 hardcode_into_libs
=no
9786 # when you set need_version to no, make sure it does not cause -set_version
9787 # flags to be left without arguments
9788 need_version
=unknown
9793 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9794 shlibpath_var
=LIBPATH
9796 # AIX 3 has no versioning support, so we append a major version to the name.
9797 soname_spec
='${libname}${release}${shared_ext}$major'
9804 hardcode_into_libs
=yes
9805 if test "$host_cpu" = ia64
; then
9806 # AIX 5 supports IA64
9807 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9808 shlibpath_var
=LD_LIBRARY_PATH
9810 # With GCC up to 2.95.x, collect2 would create an import file
9811 # for dependence libraries. The import file would start with
9812 # the line `#! .'. This would cause the generated library to
9813 # depend on `.', always an invalid library. This was fixed in
9814 # development snapshots of GCC prior to 3.0.
9816 aix4 | aix4.
[01] | aix4.
[01].
*)
9817 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9819 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9826 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9827 # soname into executable. Probably we can add versioning support to
9828 # collect2, so additional links can be useful in future.
9829 if test "$aix_use_runtimelinking" = yes; then
9830 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9831 # instead of lib<name>.a to let people know that these are not
9832 # typical AIX shared libraries.
9833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9835 # We preserve .a as extension for shared libraries through AIX4.2
9836 # and later when we are not doing run time linking.
9837 library_names_spec
='${libname}${release}.a $libname.a'
9838 soname_spec
='${libname}${release}${shared_ext}$major'
9840 shlibpath_var
=LIBPATH
9847 # Since July 2007 AmigaOS4 officially supports .so libraries.
9848 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9852 library_names_spec
='$libname.ixlibrary $libname.a'
9853 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9854 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'
9860 library_names_spec
='${libname}${shared_ext}'
9861 dynamic_linker
="$host_os ld.so"
9862 shlibpath_var
=LIBRARY_PATH
9868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9869 soname_spec
='${libname}${release}${shared_ext}$major'
9870 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9871 shlibpath_var
=LD_LIBRARY_PATH
9872 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9873 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9874 # the default ld.so.conf also contains /usr/contrib/lib and
9875 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9876 # libtool to hard-code these into programs
9879 cygwin
* | mingw
* | pw32
* | cegcc
*)
9880 version_type
=windows
9885 case $GCC,$host_os in
9886 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9887 library_names_spec
='$libname.dll.a'
9888 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9889 postinstall_cmds
='base_file=`basename \${file}`~
9890 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9891 dldir=$destdir/`dirname \$dlpath`~
9892 test -d \$dldir || mkdir -p \$dldir~
9893 $install_prog $dir/$dlname \$dldir/$dlname~
9894 chmod a+x \$dldir/$dlname~
9895 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9896 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9898 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9899 dlpath=$dir/\$dldll~
9901 shlibpath_overrides_runpath
=yes
9905 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9906 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9907 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9910 # MinGW DLLs use traditional 'lib' prefix
9911 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9912 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9913 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9914 # It is most probably a Windows format PATH printed by
9915 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9916 # path with ; separators, and with drive letters. We can handle the
9917 # drive letters (cygwin fileutils understands them), so leave them,
9918 # especially as we might pass files found there to a mingw objdump,
9919 # which wouldn't understand a cygwinified path. Ahh.
9920 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9922 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9926 # pw32 DLLs use 'pw' prefix rather than 'lib'
9927 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9933 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9936 dynamic_linker
='Win32 ld.exe'
9937 # FIXME: first we should search . and the directory the executable is in
9941 darwin
* | rhapsody
*)
9942 dynamic_linker
="$host_os dyld"
9946 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9947 soname_spec
='${libname}${release}${major}$shared_ext'
9948 shlibpath_overrides_runpath
=yes
9949 shlibpath_var
=DYLD_LIBRARY_PATH
9950 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9952 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9953 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9961 soname_spec
='${libname}${release}${shared_ext}$major'
9962 shlibpath_var
=LD_LIBRARY_PATH
9969 freebsd
* | dragonfly
*)
9970 # DragonFly does not have aout. When/if they implement a new
9971 # versioning mechanism, adjust this.
9972 if test -x /usr
/bin
/objformat
; then
9973 objformat
=`/usr/bin/objformat`
9976 freebsd
[123]*) objformat
=aout
;;
9980 version_type
=freebsd-
$objformat
9981 case $version_type in
9983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9988 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9992 shlibpath_var
=LD_LIBRARY_PATH
9995 shlibpath_overrides_runpath
=yes
9997 freebsd3.
[01]* | freebsdelf3.
[01]*)
9998 shlibpath_overrides_runpath
=yes
9999 hardcode_into_libs
=yes
10001 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10002 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10003 shlibpath_overrides_runpath
=no
10004 hardcode_into_libs
=yes
10006 *) # from 4.6 on, and DragonFly
10007 shlibpath_overrides_runpath
=yes
10008 hardcode_into_libs
=yes
10017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10018 soname_spec
='${libname}${release}${shared_ext}$major'
10019 shlibpath_var
=LD_LIBRARY_PATH
10020 hardcode_into_libs
=yes
10023 hpux9
* | hpux10
* | hpux11
*)
10024 # Give a soname corresponding to the major version so that dld.sl refuses to
10025 # link against other versions.
10032 hardcode_into_libs
=yes
10033 dynamic_linker
="$host_os dld.so"
10034 shlibpath_var
=LD_LIBRARY_PATH
10035 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10037 soname_spec
='${libname}${release}${shared_ext}$major'
10038 if test "X$HPUX_IA64_MODE" = X32
; then
10039 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10041 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10043 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10047 hardcode_into_libs
=yes
10048 dynamic_linker
="$host_os dld.sl"
10049 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10050 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10052 soname_spec
='${libname}${release}${shared_ext}$major'
10053 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10054 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10058 dynamic_linker
="$host_os dld.sl"
10059 shlibpath_var
=SHLIB_PATH
10060 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10062 soname_spec
='${libname}${release}${shared_ext}$major'
10065 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10066 postinstall_cmds
='chmod 555 $lib'
10073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10074 soname_spec
='${libname}${release}${shared_ext}$major'
10075 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10076 shlibpath_var
=LD_LIBRARY_PATH
10077 shlibpath_overrides_runpath
=no
10078 hardcode_into_libs
=yes
10081 irix5
* | irix6
* | nonstopux
*)
10083 nonstopux
*) version_type
=nonstopux
;;
10085 if test "$lt_cv_prog_gnu_ld" = yes; then
10093 soname_spec
='${libname}${release}${shared_ext}$major'
10094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10096 irix5
* | nonstopux
*)
10097 libsuff
= shlibsuff
=
10100 case $LD in # libtool.m4 will add one of these switches to LD
10101 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10102 libsuff
= shlibsuff
= libmagic
=32-bit;;
10103 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10104 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10105 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10106 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10107 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10111 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10112 shlibpath_overrides_runpath
=no
10113 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10114 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10115 hardcode_into_libs
=yes
10118 # No shared lib support for Linux oldld, aout, or coff.
10119 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10123 # This must be Linux ELF.
10124 linux
* | k
*bsd
*-gnu)
10128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10129 soname_spec
='${libname}${release}${shared_ext}$major'
10130 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10131 shlibpath_var
=LD_LIBRARY_PATH
10132 shlibpath_overrides_runpath
=no
10133 # Some binutils ld are patched to set DT_RUNPATH
10134 save_LDFLAGS
=$LDFLAGS
10135 save_libdir
=$libdir
10136 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10137 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10138 cat >conftest.
$ac_ext <<_ACEOF
10141 cat confdefs.h
>>conftest.
$ac_ext
10142 cat >>conftest.
$ac_ext <<_ACEOF
10143 /* end confdefs.h. */
10153 rm -f conftest.
$ac_objext conftest
$ac_exeext
10154 if { (ac_try
="$ac_link"
10155 case "(($ac_try" in
10156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10157 *) ac_try_echo=$ac_try;;
10159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10160 $as_echo "$ac_try_echo") >&5
10161 (eval "$ac_link") 2>conftest.er1
10163 grep -v '^ *+' conftest.er1 >conftest.err
10165 cat conftest.err >&5
10166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); } && {
10168 test -z "$ac_c_werror_flag" ||
10169 test ! -s conftest.err
10170 } && test -s conftest$ac_exeext && {
10171 test "$cross_compiling" = yes ||
10172 $as_test_x conftest$ac_exeext
10174 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10175 shlibpath_overrides_runpath=yes
10179 $as_echo "$as_me: failed program was:" >&5
10180 sed 's/^/| /' conftest.$ac_ext >&5
10185 rm -rf conftest.dSYM
10186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10187 conftest$ac_exeext conftest.$ac_ext
10188 LDFLAGS=$save_LDFLAGS
10189 libdir=$save_libdir
10191 # This implies no fast_install, which is unacceptable.
10192 # Some rework will be needed to allow for fast_install
10193 # before this can be enabled.
10194 hardcode_into_libs=yes
10196 # Add ABI-specific directories to the system library path.
10197 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10199 # Append ld.so.conf contents to the search path
10200 if test -f /etc/ld.so.conf; then
10201 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' ' '`
10202 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10205 # We used to test for /lib/ld.so.1 and disable shared libraries on
10206 # powerpc, because MkLinux only supported shared libraries with the
10207 # GNU dynamic linker. Since this was broken with cross compilers,
10208 # most powerpc-linux boxes support dynamic linking these days and
10209 # people can always --disable-shared, the test was removed, and we
10210 # assume the GNU/Linux dynamic linker is in use.
10211 dynamic_linker='GNU/Linux ld.so'
10218 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10220 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10221 dynamic_linker='NetBSD (a.out) ld.so'
10223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10224 soname_spec='${libname}${release}${shared_ext}$major'
10225 dynamic_linker='NetBSD ld.elf_so'
10227 shlibpath_var=LD_LIBRARY_PATH
10228 shlibpath_overrides_runpath=yes
10229 hardcode_into_libs=yes
10234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10235 shlibpath_var=LD_LIBRARY_PATH
10236 shlibpath_overrides_runpath=yes
10243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10244 soname_spec='${libname}${release}${shared_ext}$major'
10245 shlibpath_var=LD_LIBRARY_PATH
10246 shlibpath_overrides_runpath=no
10247 hardcode_into_libs=yes
10248 dynamic_linker='ldqnx.so'
10253 sys_lib_dlsearch_path_spec="/usr/lib"
10255 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10257 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10258 *) need_version=no ;;
10260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10261 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10262 shlibpath_var=LD_LIBRARY_PATH
10263 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10265 openbsd2.[89] | openbsd2.[89].*)
10266 shlibpath_overrides_runpath=no
10269 shlibpath_overrides_runpath=yes
10273 shlibpath_overrides_runpath=yes
10278 libname_spec='$name'
10281 library_names_spec='$libname${shared_ext} $libname.a'
10282 dynamic_linker='OS/2 ld.exe'
10283 shlibpath_var=LIBPATH
10286 osf3* | osf4* | osf5*)
10290 soname_spec='${libname}${release}${shared_ext}$major'
10291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10292 shlibpath_var=LD_LIBRARY_PATH
10293 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10294 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10306 soname_spec='${libname}${release}${shared_ext}$major'
10307 shlibpath_var=LD_LIBRARY_PATH
10308 shlibpath_overrides_runpath=yes
10309 hardcode_into_libs=yes
10310 # ldd complains unless libraries are executable
10311 postinstall_cmds='chmod +x $lib'
10316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10317 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10318 shlibpath_var=LD_LIBRARY_PATH
10319 shlibpath_overrides_runpath=yes
10320 if test "$with_gnu_ld" = yes; then
10328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10329 soname_spec='${libname}${release}${shared_ext}$major'
10330 shlibpath_var=LD_LIBRARY_PATH
10331 case $host_vendor in
10333 shlibpath_overrides_runpath=no
10335 runpath_var=LD_RUN_PATH
10343 shlibpath_overrides_runpath=no
10344 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10350 if test -d /usr/nec ;then
10352 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10353 soname_spec='$libname${shared_ext}.$major'
10354 shlibpath_var=LD_LIBRARY_PATH
10358 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10359 version_type=freebsd-elf
10362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10363 soname_spec='${libname}${release}${shared_ext}$major'
10364 shlibpath_var=LD_LIBRARY_PATH
10365 shlibpath_overrides_runpath=yes
10366 hardcode_into_libs=yes
10367 if test "$with_gnu_ld" = yes; then
10368 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10370 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10373 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10377 sys_lib_dlsearch_path_spec='/usr/lib'
10381 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10386 shlibpath_var=LD_LIBRARY_PATH
10387 shlibpath_overrides_runpath=no
10388 hardcode_into_libs=yes
10393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10394 soname_spec='${libname}${release}${shared_ext}$major'
10395 shlibpath_var=LD_LIBRARY_PATH
10402 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10403 $as_echo "$dynamic_linker" >&6; }
10404 test "$dynamic_linker" = no && can_build_shared=no
10406 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10407 if test "$GCC" = yes; then
10408 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10411 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10412 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10414 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10415 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10504 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10505 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10507 if test -n "$hardcode_libdir_flag_spec" ||
10508 test -n "$runpath_var" ||
10509 test "X$hardcode_automatic" = "Xyes" ; then
10511 # We can hardcode non-existent directories.
10512 if test "$hardcode_direct" != no &&
10513 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10514 # have to relink, otherwise we might link with an installed library
10515 # when we should be linking with a yet-to-be-installed one
10516 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10517 test "$hardcode_minus_L" != no; then
10518 # Linking always hardcodes the temporary library directory.
10519 hardcode_action=relink
10521 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10522 hardcode_action=immediate
10525 # We cannot hardcode anything, or else we can only hardcode existing
10527 hardcode_action=unsupported
10529 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10530 $as_echo "$hardcode_action" >&6; }
10532 if test "$hardcode_action" = relink ||
10533 test "$inherit_rpath" = yes; then
10534 # Fast installation is not supported
10535 enable_fast_install=no
10536 elif test "$shlibpath_overrides_runpath" = yes ||
10537 test "$enable_shared" = no; then
10538 # Fast installation is not necessary
10539 enable_fast_install=needless
10547 if test "x$enable_dlopen" != xyes; then
10548 enable_dlopen=unknown
10549 enable_dlopen_self=unknown
10550 enable_dlopen_self_static=unknown
10557 lt_cv_dlopen="load_add_on"
10559 lt_cv_dlopen_self=yes
10562 mingw* | pw32* | cegcc*)
10563 lt_cv_dlopen="LoadLibrary"
10568 lt_cv_dlopen="dlopen"
10573 # if libdl is installed we need to link against it
10574 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10575 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10576 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10577 $as_echo_n "(cached) " >&6
10579 ac_check_lib_save_LIBS=$LIBS
10581 cat >conftest.$ac_ext <<_ACEOF
10584 cat confdefs.h >>conftest.$ac_ext
10585 cat >>conftest.$ac_ext <<_ACEOF
10586 /* end confdefs.h. */
10588 /* Override any GCC internal prototype to avoid an error.
10589 Use char because int might match the return type of a GCC
10590 builtin and then its argument prototype would still apply. */
10603 rm -f conftest.$ac_objext conftest$ac_exeext
10604 if { (ac_try="$ac_link"
10605 case "(($ac_try" in
10606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10607 *) ac_try_echo
=$ac_try;;
10609 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10610 $as_echo "$ac_try_echo") >&5
10611 (eval "$ac_link") 2>conftest.er1
10613 grep -v '^ *+' conftest.er1
>conftest.err
10615 cat conftest.err
>&5
10616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); } && {
10618 test -z "$ac_c_werror_flag" ||
10619 test ! -s conftest.err
10620 } && test -s conftest
$ac_exeext && {
10621 test "$cross_compiling" = yes ||
10622 $as_test_x conftest
$ac_exeext
10624 ac_cv_lib_dl_dlopen
=yes
10626 $as_echo "$as_me: failed program was:" >&5
10627 sed 's/^/| /' conftest.
$ac_ext >&5
10629 ac_cv_lib_dl_dlopen
=no
10632 rm -rf conftest.dSYM
10633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10634 conftest
$ac_exeext conftest.
$ac_ext
10635 LIBS
=$ac_check_lib_save_LIBS
10637 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10638 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10639 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10640 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10643 lt_cv_dlopen
="dyld"
10645 lt_cv_dlopen_self
=yes
10652 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10653 $as_echo_n "checking for shl_load... " >&6; }
10654 if test "${ac_cv_func_shl_load+set}" = set; then
10655 $as_echo_n "(cached) " >&6
10657 cat >conftest.
$ac_ext <<_ACEOF
10660 cat confdefs.h
>>conftest.
$ac_ext
10661 cat >>conftest.
$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10663 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10665 #define shl_load innocuous_shl_load
10667 /* System header to define __stub macros and hopefully few prototypes,
10668 which can conflict with char shl_load (); below.
10669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10670 <limits.h> exists even on freestanding compilers. */
10673 # include <limits.h>
10675 # include <assert.h>
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10687 /* The GNU C library defines this for functions which it implements
10688 to always fail with ENOSYS. Some functions are actually named
10689 something starting with __ and the normal name is an alias. */
10690 #if defined __stub_shl_load || defined __stub___shl_load
10697 return shl_load ();
10702 rm -f conftest.
$ac_objext conftest
$ac_exeext
10703 if { (ac_try
="$ac_link"
10704 case "(($ac_try" in
10705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10706 *) ac_try_echo=$ac_try;;
10708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10709 $as_echo "$ac_try_echo") >&5
10710 (eval "$ac_link") 2>conftest.er1
10712 grep -v '^ *+' conftest.er1 >conftest.err
10714 cat conftest.err >&5
10715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); } && {
10717 test -z "$ac_c_werror_flag" ||
10718 test ! -s conftest.err
10719 } && test -s conftest$ac_exeext && {
10720 test "$cross_compiling" = yes ||
10721 $as_test_x conftest$ac_exeext
10723 ac_cv_func_shl_load=yes
10725 $as_echo "$as_me: failed program was:" >&5
10726 sed 's/^/| /' conftest.$ac_ext >&5
10728 ac_cv_func_shl_load=no
10731 rm -rf conftest.dSYM
10732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10733 conftest$ac_exeext conftest.$ac_ext
10735 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10736 $as_echo "$ac_cv_func_shl_load" >&6; }
10737 if test "x$ac_cv_func_shl_load" = x""yes; then
10738 lt_cv_dlopen="shl_load"
10740 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10741 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10742 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS=$LIBS
10747 cat >conftest.$ac_ext <<_ACEOF
10750 cat confdefs.h >>conftest.$ac_ext
10751 cat >>conftest.$ac_ext <<_ACEOF
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10764 return shl_load ();
10769 rm -f conftest.$ac_objext conftest$ac_exeext
10770 if { (ac_try="$ac_link"
10771 case "(($ac_try" in
10772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10773 *) ac_try_echo
=$ac_try;;
10775 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10776 $as_echo "$ac_try_echo") >&5
10777 (eval "$ac_link") 2>conftest.er1
10779 grep -v '^ *+' conftest.er1
>conftest.err
10781 cat conftest.err
>&5
10782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } && {
10784 test -z "$ac_c_werror_flag" ||
10785 test ! -s conftest.err
10786 } && test -s conftest
$ac_exeext && {
10787 test "$cross_compiling" = yes ||
10788 $as_test_x conftest
$ac_exeext
10790 ac_cv_lib_dld_shl_load
=yes
10792 $as_echo "$as_me: failed program was:" >&5
10793 sed 's/^/| /' conftest.
$ac_ext >&5
10795 ac_cv_lib_dld_shl_load
=no
10798 rm -rf conftest.dSYM
10799 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10800 conftest
$ac_exeext conftest.
$ac_ext
10801 LIBS
=$ac_check_lib_save_LIBS
10803 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10804 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10805 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10806 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10808 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10809 $as_echo_n "checking for dlopen... " >&6; }
10810 if test "${ac_cv_func_dlopen+set}" = set; then
10811 $as_echo_n "(cached) " >&6
10813 cat >conftest.
$ac_ext <<_ACEOF
10816 cat confdefs.h
>>conftest.
$ac_ext
10817 cat >>conftest.
$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10819 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10821 #define dlopen innocuous_dlopen
10823 /* System header to define __stub macros and hopefully few prototypes,
10824 which can conflict with char dlopen (); below.
10825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10826 <limits.h> exists even on freestanding compilers. */
10829 # include <limits.h>
10831 # include <assert.h>
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10843 /* The GNU C library defines this for functions which it implements
10844 to always fail with ENOSYS. Some functions are actually named
10845 something starting with __ and the normal name is an alias. */
10846 #if defined __stub_dlopen || defined __stub___dlopen
10858 rm -f conftest.
$ac_objext conftest
$ac_exeext
10859 if { (ac_try
="$ac_link"
10860 case "(($ac_try" in
10861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10862 *) ac_try_echo=$ac_try;;
10864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10865 $as_echo "$ac_try_echo") >&5
10866 (eval "$ac_link") 2>conftest.er1
10868 grep -v '^ *+' conftest.er1 >conftest.err
10870 cat conftest.err >&5
10871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); } && {
10873 test -z "$ac_c_werror_flag" ||
10874 test ! -s conftest.err
10875 } && test -s conftest$ac_exeext && {
10876 test "$cross_compiling" = yes ||
10877 $as_test_x conftest$ac_exeext
10879 ac_cv_func_dlopen=yes
10881 $as_echo "$as_me: failed program was:" >&5
10882 sed 's/^/| /' conftest.$ac_ext >&5
10884 ac_cv_func_dlopen=no
10887 rm -rf conftest.dSYM
10888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10889 conftest$ac_exeext conftest.$ac_ext
10891 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10892 $as_echo "$ac_cv_func_dlopen" >&6; }
10893 if test "x$ac_cv_func_dlopen" = x""yes; then
10894 lt_cv_dlopen="dlopen"
10896 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10897 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10898 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10899 $as_echo_n "(cached) " >&6
10901 ac_check_lib_save_LIBS=$LIBS
10903 cat >conftest.$ac_ext <<_ACEOF
10906 cat confdefs.h >>conftest.$ac_ext
10907 cat >>conftest.$ac_ext <<_ACEOF
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10925 rm -f conftest.$ac_objext conftest$ac_exeext
10926 if { (ac_try="$ac_link"
10927 case "(($ac_try" in
10928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10929 *) ac_try_echo
=$ac_try;;
10931 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10932 $as_echo "$ac_try_echo") >&5
10933 (eval "$ac_link") 2>conftest.er1
10935 grep -v '^ *+' conftest.er1
>conftest.err
10937 cat conftest.err
>&5
10938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } && {
10940 test -z "$ac_c_werror_flag" ||
10941 test ! -s conftest.err
10942 } && test -s conftest
$ac_exeext && {
10943 test "$cross_compiling" = yes ||
10944 $as_test_x conftest
$ac_exeext
10946 ac_cv_lib_dl_dlopen
=yes
10948 $as_echo "$as_me: failed program was:" >&5
10949 sed 's/^/| /' conftest.
$ac_ext >&5
10951 ac_cv_lib_dl_dlopen
=no
10954 rm -rf conftest.dSYM
10955 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10956 conftest
$ac_exeext conftest.
$ac_ext
10957 LIBS
=$ac_check_lib_save_LIBS
10959 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10960 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10961 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10962 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10964 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10965 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10966 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10967 $as_echo_n "(cached) " >&6
10969 ac_check_lib_save_LIBS
=$LIBS
10970 LIBS
="-lsvld $LIBS"
10971 cat >conftest.
$ac_ext <<_ACEOF
10974 cat confdefs.h
>>conftest.
$ac_ext
10975 cat >>conftest.
$ac_ext <<_ACEOF
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10993 rm -f conftest.
$ac_objext conftest
$ac_exeext
10994 if { (ac_try
="$ac_link"
10995 case "(($ac_try" in
10996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10997 *) ac_try_echo=$ac_try;;
10999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11000 $as_echo "$ac_try_echo") >&5
11001 (eval "$ac_link") 2>conftest.er1
11003 grep -v '^ *+' conftest.er1 >conftest.err
11005 cat conftest.err >&5
11006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); } && {
11008 test -z "$ac_c_werror_flag" ||
11009 test ! -s conftest.err
11010 } && test -s conftest$ac_exeext && {
11011 test "$cross_compiling" = yes ||
11012 $as_test_x conftest$ac_exeext
11014 ac_cv_lib_svld_dlopen=yes
11016 $as_echo "$as_me: failed program was:" >&5
11017 sed 's/^/| /' conftest.$ac_ext >&5
11019 ac_cv_lib_svld_dlopen=no
11022 rm -rf conftest.dSYM
11023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11024 conftest$ac_exeext conftest.$ac_ext
11025 LIBS=$ac_check_lib_save_LIBS
11027 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11028 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11029 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11030 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11032 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11033 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11034 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11035 $as_echo_n "(cached) " >&6
11037 ac_check_lib_save_LIBS=$LIBS
11039 cat >conftest.$ac_ext <<_ACEOF
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11046 /* Override any GCC internal prototype to avoid an error.
11047 Use char because int might match the return type of a GCC
11048 builtin and then its argument prototype would still apply. */
11056 return dld_link ();
11061 rm -f conftest.$ac_objext conftest$ac_exeext
11062 if { (ac_try="$ac_link"
11063 case "(($ac_try" in
11064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11065 *) ac_try_echo
=$ac_try;;
11067 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11068 $as_echo "$ac_try_echo") >&5
11069 (eval "$ac_link") 2>conftest.er1
11071 grep -v '^ *+' conftest.er1
>conftest.err
11073 cat conftest.err
>&5
11074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); } && {
11076 test -z "$ac_c_werror_flag" ||
11077 test ! -s conftest.err
11078 } && test -s conftest
$ac_exeext && {
11079 test "$cross_compiling" = yes ||
11080 $as_test_x conftest
$ac_exeext
11082 ac_cv_lib_dld_dld_link
=yes
11084 $as_echo "$as_me: failed program was:" >&5
11085 sed 's/^/| /' conftest.
$ac_ext >&5
11087 ac_cv_lib_dld_dld_link
=no
11090 rm -rf conftest.dSYM
11091 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11092 conftest
$ac_exeext conftest.
$ac_ext
11093 LIBS
=$ac_check_lib_save_LIBS
11095 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11096 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11097 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11098 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11119 if test "x$lt_cv_dlopen" != xno
; then
11125 case $lt_cv_dlopen in
11127 save_CPPFLAGS
="$CPPFLAGS"
11128 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11130 save_LDFLAGS
="$LDFLAGS"
11131 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11134 LIBS
="$lt_cv_dlopen_libs $LIBS"
11136 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11137 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11138 if test "${lt_cv_dlopen_self+set}" = set; then
11139 $as_echo_n "(cached) " >&6
11141 if test "$cross_compiling" = yes; then :
11142 lt_cv_dlopen_self
=cross
11144 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11145 lt_status
=$lt_dlunknown
11146 cat > conftest.
$ac_ext <<_LT_EOF
11147 #line 11147 "configure"
11148 #include "confdefs.h"
11157 # define LT_DLGLOBAL RTLD_GLOBAL
11160 # define LT_DLGLOBAL DL_GLOBAL
11162 # define LT_DLGLOBAL 0
11166 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11167 find out it does not work in some platform. */
11168 #ifndef LT_DLLAZY_OR_NOW
11170 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11173 # define LT_DLLAZY_OR_NOW DL_LAZY
11176 # define LT_DLLAZY_OR_NOW RTLD_NOW
11179 # define LT_DLLAZY_OR_NOW DL_NOW
11181 # define LT_DLLAZY_OR_NOW 0
11188 void fnord() { int i=42;}
11191 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11192 int status = $lt_dlunknown;
11196 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11197 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11198 /* dlclose (self); */
11206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11207 (eval $ac_link) 2>&5
11209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11211 (.
/conftest
; exit; ) >&5 2>/dev
/null
11213 case x
$lt_status in
11214 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11215 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11216 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11219 # compilation failed
11220 lt_cv_dlopen_self
=no
11227 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11228 $as_echo "$lt_cv_dlopen_self" >&6; }
11230 if test "x$lt_cv_dlopen_self" = xyes
; then
11231 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11232 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11233 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11234 if test "${lt_cv_dlopen_self_static+set}" = set; then
11235 $as_echo_n "(cached) " >&6
11237 if test "$cross_compiling" = yes; then :
11238 lt_cv_dlopen_self_static
=cross
11240 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11241 lt_status
=$lt_dlunknown
11242 cat > conftest.
$ac_ext <<_LT_EOF
11243 #line 11243 "configure"
11244 #include "confdefs.h"
11253 # define LT_DLGLOBAL RTLD_GLOBAL
11256 # define LT_DLGLOBAL DL_GLOBAL
11258 # define LT_DLGLOBAL 0
11262 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11263 find out it does not work in some platform. */
11264 #ifndef LT_DLLAZY_OR_NOW
11266 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11269 # define LT_DLLAZY_OR_NOW DL_LAZY
11272 # define LT_DLLAZY_OR_NOW RTLD_NOW
11275 # define LT_DLLAZY_OR_NOW DL_NOW
11277 # define LT_DLLAZY_OR_NOW 0
11284 void fnord() { int i=42;}
11287 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11288 int status = $lt_dlunknown;
11292 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11293 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11294 /* dlclose (self); */
11302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11303 (eval $ac_link) 2>&5
11305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11307 (.
/conftest
; exit; ) >&5 2>/dev
/null
11309 case x
$lt_status in
11310 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11311 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11312 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11315 # compilation failed
11316 lt_cv_dlopen_self_static
=no
11323 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11324 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11327 CPPFLAGS
="$save_CPPFLAGS"
11328 LDFLAGS
="$save_LDFLAGS"
11333 case $lt_cv_dlopen_self in
11334 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11335 *) enable_dlopen_self
=unknown
;;
11338 case $lt_cv_dlopen_self_static in
11339 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11340 *) enable_dlopen_self_static
=unknown
;;
11362 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11363 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11364 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11365 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11366 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11367 { $as_echo "$as_me:$LINENO: result: yes" >&5
11368 $as_echo "yes" >&6; }
11370 # FIXME - insert some real tests, host_os isn't really good enough
11373 if test -n "$STRIP" ; then
11374 striplib
="$STRIP -x"
11375 old_striplib
="$STRIP -S"
11376 { $as_echo "$as_me:$LINENO: result: yes" >&5
11377 $as_echo "yes" >&6; }
11379 { $as_echo "$as_me:$LINENO: result: no" >&5
11380 $as_echo "no" >&6; }
11384 { $as_echo "$as_me:$LINENO: result: no" >&5
11385 $as_echo "no" >&6; }
11401 # Report which library types will actually be built
11402 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11403 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11404 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11405 $as_echo "$can_build_shared" >&6; }
11407 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11408 $as_echo_n "checking whether to build shared libraries... " >&6; }
11409 test "$can_build_shared" = "no" && enable_shared
=no
11411 # On AIX, shared libraries and static libraries use the same namespace, and
11412 # are all built from PIC.
11415 test "$enable_shared" = yes && enable_static
=no
11416 if test -n "$RANLIB"; then
11417 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11418 postinstall_cmds
='$RANLIB $lib'
11423 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11424 test "$enable_shared" = yes && enable_static
=no
11428 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11429 $as_echo "$enable_shared" >&6; }
11431 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11432 $as_echo_n "checking whether to build static libraries... " >&6; }
11433 # Make sure either enable_shared or enable_static is yes.
11434 test "$enable_shared" = yes || enable_static
=yes
11435 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11436 $as_echo "$enable_static" >&6; }
11443 ac_cpp
='$CPP $CPPFLAGS'
11444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11462 ac_config_commands
="$ac_config_commands libtool"
11467 # Only expand once:
11472 { $as_echo "$as_me:$LINENO: checking spl license" >&5
11473 $as_echo_n "checking spl license... " >&6; }
11475 { $as_echo "$as_me:$LINENO: result: $LICENSE" >&5
11476 $as_echo "$LICENSE" >&6; }
11477 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DHAVE_GPL_ONLY_SYMBOLS"
11485 { $as_echo "$as_me:$LINENO: checking whether $RPM is available" >&5
11486 $as_echo_n "checking whether $RPM is available... " >&6; }
11487 if tmp
=$
($RPM --version 2>/dev
/null
); then
11489 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11491 { $as_echo "$as_me:$LINENO: result: $HAVE_RPM ($RPM_VERSION)" >&5
11492 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
11497 { $as_echo "$as_me:$LINENO: result: $HAVE_RPM" >&5
11498 $as_echo "$HAVE_RPM" >&6; }
11503 { $as_echo "$as_me:$LINENO: checking whether $RPMBUILD is available" >&5
11504 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
11505 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then
11507 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11509 { $as_echo "$as_me:$LINENO: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
11510 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
11515 { $as_echo "$as_me:$LINENO: result: $HAVE_RPMBUILD" >&5
11516 $as_echo "$HAVE_RPMBUILD" >&6; }
11531 DPKGBUILD
=dpkg-buildpackage
11533 { $as_echo "$as_me:$LINENO: checking whether $DPKG is available" >&5
11534 $as_echo_n "checking whether $DPKG is available... " >&6; }
11535 if tmp
=$
($DPKG --version 2>/dev
/null
); then
11537 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
11539 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
11540 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
11545 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKG" >&5
11546 $as_echo "$HAVE_DPKG" >&6; }
11551 { $as_echo "$as_me:$LINENO: checking whether $DPKGBUILD is available" >&5
11552 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
11553 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then
11555 DPKGBUILD_VERSION
=$
(echo $tmp | \
11556 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
11558 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
11559 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
11564 { $as_echo "$as_me:$LINENO: result: $HAVE_DPKGBUILD" >&5
11565 $as_echo "$HAVE_DPKGBUILD" >&6; }
11581 { $as_echo "$as_me:$LINENO: checking whether $ALIEN is available" >&5
11582 $as_echo_n "checking whether $ALIEN is available... " >&6; }
11583 if tmp
=$
($ALIEN --version 2>/dev
/null
); then
11585 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
11587 { $as_echo "$as_me:$LINENO: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
11588 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
11593 { $as_echo "$as_me:$LINENO: result: $HAVE_ALIEN" >&5
11594 $as_echo "$HAVE_ALIEN" >&6; }
11604 { $as_echo "$as_me:$LINENO: checking linux distribution" >&5
11605 $as_echo_n "checking linux distribution... " >&6; }
11606 if test -f /etc
/redhat-release
; then
11608 elif test -f /etc
/fedora-release
; then
11610 elif test -f /etc
/lsb-release
; then
11612 elif test -f /etc
/debian_version
; then
11614 elif test -f /etc
/SuSE-release
; then
11616 elif test -f /etc
/slackware-version
; then
11618 elif test -f /etc
/gentoo-release
; then
11623 { $as_echo "$as_me:$LINENO: result: $VENDOR" >&5
11624 $as_echo "$VENDOR" >&6; }
11627 { $as_echo "$as_me:$LINENO: checking default package type" >&5
11628 $as_echo_n "checking default package type... " >&6; }
11630 fedora
) DEFAULT_PACKAGE
=rpm
;;
11631 redhat
) DEFAULT_PACKAGE
=rpm
;;
11632 sles
) DEFAULT_PACKAGE
=rpm
;;
11633 ubuntu
) DEFAULT_PACKAGE
=deb
;;
11634 debian
) DEFAULT_PACKAGE
=deb
;;
11635 slackware
) DEFAULT_PACKAGE
=tgz
;;
11636 *) DEFAULT_PACKAGE
=rpm
;;
11639 { $as_echo "$as_me:$LINENO: result: $DEFAULT_PACKAGE" >&5
11640 $as_echo "$DEFAULT_PACKAGE" >&6; }
11647 # Check whether --with-config was given.
11648 if test "${with_config+set}" = set; then
11649 withval
=$with_config; SPL_CONFIG
="$withval"
11653 { $as_echo "$as_me:$LINENO: checking spl config" >&5
11654 $as_echo_n "checking spl config... " >&6; }
11655 { $as_echo "$as_me:$LINENO: result: $SPL_CONFIG" >&5
11656 $as_echo "$SPL_CONFIG" >&6; };
11659 case "$SPL_CONFIG" in
11663 # Check whether --with-linux was given.
11664 if test "${with_linux+set}" = set; then
11665 withval
=$with_linux; kernelsrc
="$withval"
11670 # Check whether --with-linux-obj was given.
11671 if test "${with_linux_obj+set}" = set; then
11672 withval
=$with_linux_obj; kernelbuild
="$withval"
11676 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
11677 $as_echo_n "checking kernel source directory... " >&6; }
11678 if test -z "$kernelsrc"; then
11679 headersdir
="/lib/modules/$(uname -r)/build"
11680 if test -e "$headersdir"; then
11681 sourcelink
=$
(readlink
-f "$headersdir")
11683 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
11685 2>/dev
/null |
grep -v obj |
tail -1)
11688 if test -n "$sourcelink" && test -e ${sourcelink}; then
11689 kernelsrc
=`readlink -f ${sourcelink}`
11691 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11692 $as_echo "Not found" >&6; }
11693 { { $as_echo "$as_me:$LINENO: error:
11694 *** Please make sure the kernel devel package for your distribution
11695 *** is installed then try again. If that fails you can specify the
11696 *** location of the kernel source with the '--with-linux=PATH' option." >&5
11697 $as_echo "$as_me: error:
11698 *** Please make sure the kernel devel package for your distribution
11699 *** is installed then try again. If that fails you can specify the
11700 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
11701 { (exit 1); exit 1; }; }
11704 if test "$kernelsrc" = "NONE"; then
11709 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
11710 $as_echo "$kernelsrc" >&6; }
11711 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
11712 $as_echo_n "checking kernel build directory... " >&6; }
11713 if test -z "$kernelbuild"; then
11714 if test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
11715 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
11716 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
11717 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
11718 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
11719 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
11721 kernelbuild
=${kernelsrc}
11724 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
11725 $as_echo "$kernelbuild" >&6; }
11727 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
11728 $as_echo_n "checking kernel source version... " >&6; }
11729 utsrelease1
=$kernelbuild/include
/linux
/version.h
11730 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
11731 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
11732 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
11733 utsrelease
=linux
/version.h
11734 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
11735 utsrelease
=linux
/utsrelease.h
11736 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
11737 utsrelease
=generated
/utsrelease.h
11740 if test "$utsrelease"; then
11741 kernsrcver
=`(echo "#include <$utsrelease>";
11742 echo "kernsrcver=UTS_RELEASE") |
11743 cpp -I $kernelbuild/include |
11744 grep "^kernsrcver=" | cut -d \" -f 2`
11746 if test -z "$kernsrcver"; then
11747 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11748 $as_echo "Not found" >&6; }
11749 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
11750 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
11751 { (exit 1); exit 1; }; }
11754 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11755 $as_echo "Not found" >&6; }
11756 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
11757 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
11758 { (exit 1); exit 1; }; }
11761 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
11762 $as_echo "$kernsrcver" >&6; }
11765 LINUX_OBJ
=${kernelbuild}
11766 LINUX_VERSION
=${kernsrcver}
11773 modpost
=$LINUX/scripts
/Makefile.modpost
11774 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
11775 $as_echo_n "checking kernel file name for module symbols... " >&6; }
11776 if test -f "$modpost"; then
11777 if grep -q Modules.symvers
$modpost; then
11778 LINUX_SYMBOLS
=Modules.symvers
11780 LINUX_SYMBOLS
=Module.symvers
11785 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
11786 $as_echo "$LINUX_SYMBOLS" >&6; }
11791 if test "${LINUX_OBJ}" != "${LINUX}"; then
11792 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
11796 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
11800 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
11801 $as_echo_n "checking whether debugging is enabled... " >&6; }
11802 # Check whether --enable-debug was given.
11803 if test "${enable_debug+set}" = set; then
11804 enableval
=$enable_debug;
11810 if test "x$enable_debug" = xyes
; then
11812 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
11813 DEBUG_CFLAGS
="-DDEBUG -Werror"
11817 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
11818 DEBUG_CFLAGS
="-DNDEBUG"
11824 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
11825 $as_echo "$enable_debug" >&6; }
11828 # Check whether --enable-debug-kmem was given.
11829 if test "${enable_debug_kmem+set}" = set; then
11830 enableval
=$enable_debug_kmem;
11832 enable_debug_kmem
=yes
11836 if test "x$enable_debug_kmem" = xyes
; then
11838 cat >>confdefs.h
<<\_ACEOF
11839 #define DEBUG_KMEM 1
11842 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
11846 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
11847 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
11848 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
11849 $as_echo "$enable_debug_kmem" >&6; }
11852 # Check whether --enable-debug-kmem-tracking was given.
11853 if test "${enable_debug_kmem_tracking+set}" = set; then
11854 enableval
=$enable_debug_kmem_tracking;
11856 enable_debug_kmem_tracking
=no
11860 if test "x$enable_debug_kmem_tracking" = xyes
; then
11862 cat >>confdefs.h
<<\_ACEOF
11863 #define DEBUG_KMEM_TRACKING 1
11866 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
11870 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
11871 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
11872 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
11873 $as_echo "$enable_debug_kmem_tracking" >&6; }
11876 # Check whether --enable-atomic-spinlocks was given.
11877 if test "${enable_atomic_spinlocks+set}" = set; then
11878 enableval
=$enable_atomic_spinlocks;
11880 enable_atomic_spinlocks
=check
11886 cat confdefs.h
- <<_ACEOF >conftest.c
11889 cat confdefs.h
>>conftest.
$ac_ext
11890 cat >>conftest.
$ac_ext <<_ACEOF
11891 /* end confdefs.h. */
11894 #include <asm/atomic.h>
11909 rm -Rf build
&& mkdir
-p build
11910 echo "obj-m := conftest.o" >build
/Makefile
11911 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11913 (eval $ac_try) 2>&5
11915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; }; then
11923 have_atomic64_t
=yes
11925 cat >>confdefs.h
<<\_ACEOF
11926 #define HAVE_ATOMIC64_T 1
11931 $as_echo "$as_me: failed program was:" >&5
11932 sed 's/^/| /' conftest.
$ac_ext >&5
11944 if test "x$enable_atomic_spinlocks" = xcheck
; then
11946 if test "x$have_atomic64_t" = xyes
; then
11948 enable_atomic_spinlocks
=no
11952 enable_atomic_spinlocks
=yes
11960 if test "x$enable_atomic_spinlocks" = xyes
; then
11963 cat >>confdefs.h
<<\_ACEOF
11964 #define ATOMIC_SPINLOCK 1
11970 if test "x$have_atomic64_t" = xno
; then
11972 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11974 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
11975 See \`config.log' for more details." >&5
11976 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
11977 See \`config.log' for more details." >&2;}
11978 { (exit 1); exit 1; }; }; }
11986 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
11987 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
11988 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
11989 $as_echo "$enable_atomic_spinlocks" >&6; }
11991 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
11992 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
11993 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
11994 $as_echo "$have_atomic64_t" >&6; }
11996 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
11997 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
12000 cat confdefs.h
- <<_ACEOF >conftest.c
12003 cat confdefs.h
>>conftest.
$ac_ext
12004 cat >>conftest.
$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12008 #include <asm/atomic.h>
12009 #include <asm/system.h>
12015 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
12024 rm -Rf build
&& mkdir
-p build
12025 echo "obj-m := conftest.o" >build
/Makefile
12026 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; }; then
12038 { $as_echo "$as_me:$LINENO: result: yes" >&5
12039 $as_echo "yes" >&6; }
12041 cat >>confdefs.h
<<\_ACEOF
12042 #define HAVE_ATOMIC64_CMPXCHG 1
12047 $as_echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.
$ac_ext >&5
12050 { $as_echo "$as_me:$LINENO: result: no" >&5
12051 $as_echo "no" >&6; }
12061 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
12062 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
12065 cat confdefs.h
- <<_ACEOF >conftest.c
12068 cat confdefs.h
>>conftest.
$ac_ext
12069 cat >>conftest.
$ac_ext <<_ACEOF
12070 /* end confdefs.h. */
12073 #include <asm/atomic.h>
12079 atomic64_xchg((atomic64_t *)NULL, 0);
12088 rm -Rf build
&& mkdir
-p build
12089 echo "obj-m := conftest.o" >build
/Makefile
12090 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12092 (eval $ac_try) 2>&5
12094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12097 (eval $ac_try) 2>&5
12099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); }; }; then
12102 { $as_echo "$as_me:$LINENO: result: yes" >&5
12103 $as_echo "yes" >&6; }
12105 cat >>confdefs.h
<<\_ACEOF
12106 #define HAVE_ATOMIC64_XCHG 1
12111 $as_echo "$as_me: failed program was:" >&5
12112 sed 's/^/| /' conftest.
$ac_ext >&5
12114 { $as_echo "$as_me:$LINENO: result: no" >&5
12115 $as_echo "no" >&6; }
12125 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
12126 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
12129 cat confdefs.h
- <<_ACEOF >conftest.c
12132 cat confdefs.h
>>conftest.
$ac_ext
12133 cat >>conftest.
$ac_ext <<_ACEOF
12134 /* end confdefs.h. */
12137 #include <linux/types.h>
12152 rm -Rf build
&& mkdir
-p build
12153 echo "obj-m := conftest.o" >build
/Makefile
12154 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12156 (eval $ac_try) 2>&5
12158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; }; then
12166 { $as_echo "$as_me:$LINENO: result: yes" >&5
12167 $as_echo "yes" >&6; }
12169 cat >>confdefs.h
<<\_ACEOF
12170 #define HAVE_UINTPTR_T 1
12175 $as_echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.
$ac_ext >&5
12178 { $as_echo "$as_me:$LINENO: result: no" >&5
12179 $as_echo "no" >&6; }
12189 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
12190 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
12193 cat confdefs.h
- <<_ACEOF >conftest.c
12196 cat confdefs.h
>>conftest.
$ac_ext
12197 cat >>conftest.
$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12201 #include <linux/workqueue.h>
12207 struct work_struct work;
12208 INIT_WORK(&work, NULL, NULL);
12217 rm -Rf build
&& mkdir
-p build
12218 echo "obj-m := conftest.o" >build
/Makefile
12219 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221 (eval $ac_try) 2>&5
12223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5
12228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; }; then
12231 { $as_echo "$as_me:$LINENO: result: yes" >&5
12232 $as_echo "yes" >&6; }
12234 cat >>confdefs.h
<<\_ACEOF
12235 #define HAVE_3ARGS_INIT_WORK 1
12240 $as_echo "$as_me: failed program was:" >&5
12241 sed 's/^/| /' conftest.
$ac_ext >&5
12243 { $as_echo "$as_me:$LINENO: result: no" >&5
12244 $as_echo "no" >&6; }
12254 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
12255 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
12258 cat confdefs.h
- <<_ACEOF >conftest.c
12261 cat confdefs.h
>>conftest.
$ac_ext
12262 cat >>conftest.
$ac_ext <<_ACEOF
12263 /* end confdefs.h. */
12266 #include <linux/sysctl.h>
12272 return register_sysctl_table(NULL,0);
12281 rm -Rf build
&& mkdir
-p build
12282 echo "obj-m := conftest.o" >build
/Makefile
12283 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; }; then
12295 { $as_echo "$as_me:$LINENO: result: yes" >&5
12296 $as_echo "yes" >&6; }
12298 cat >>confdefs.h
<<\_ACEOF
12299 #define HAVE_2ARGS_REGISTER_SYSCTL 1
12304 $as_echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.
$ac_ext >&5
12307 { $as_echo "$as_me:$LINENO: result: no" >&5
12308 $as_echo "no" >&6; }
12319 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
12320 $as_echo_n "checking whether set_shrinker() available... " >&6; }
12323 cat confdefs.h
- <<_ACEOF >conftest.c
12326 cat confdefs.h
>>conftest.
$ac_ext
12327 cat >>conftest.
$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12331 #include <linux/mm.h>
12337 return set_shrinker(DEFAULT_SEEKS, NULL);
12346 rm -Rf build
&& mkdir
-p build
12347 echo "obj-m := conftest.o" >build
/Makefile
12348 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 (eval $ac_try) 2>&5
12357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); }; }; then
12360 { $as_echo "$as_me:$LINENO: result: yes" >&5
12361 $as_echo "yes" >&6; }
12363 cat >>confdefs.h
<<\_ACEOF
12364 #define HAVE_SET_SHRINKER 1
12369 $as_echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.
$ac_ext >&5
12372 { $as_echo "$as_me:$LINENO: result: no" >&5
12373 $as_echo "no" >&6; }
12383 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
12384 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
12387 cat confdefs.h
- <<_ACEOF >conftest.c
12390 cat confdefs.h
>>conftest.
$ac_ext
12391 cat >>conftest.
$ac_ext <<_ACEOF
12392 /* end confdefs.h. */
12395 #include <linux/namei.h>
12401 struct nameidata nd;
12403 nd.path.mnt = NULL;
12404 nd.path.dentry = NULL;
12413 rm -Rf build
&& mkdir
-p build
12414 echo "obj-m := conftest.o" >build
/Makefile
12415 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; }; then
12427 { $as_echo "$as_me:$LINENO: result: yes" >&5
12428 $as_echo "yes" >&6; }
12430 cat >>confdefs.h
<<\_ACEOF
12431 #define HAVE_PATH_IN_NAMEIDATA 1
12436 $as_echo "$as_me: failed program was:" >&5
12437 sed 's/^/| /' conftest.
$ac_ext >&5
12439 { $as_echo "$as_me:$LINENO: result: no" >&5
12440 $as_echo "no" >&6; }
12451 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
12452 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
12453 grep -q -E '[[:space:]]task_curr[[:space:]]' \
12454 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12456 if test $rc -ne 0; then
12458 for file in kernel
/sched.c
; do
12459 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
12460 "$LINUX_OBJ/$file" 2>/dev
/null
12462 if test $rc -eq 0; then
12467 if test $export -eq 0; then
12468 { $as_echo "$as_me:$LINENO: result: no" >&5
12469 $as_echo "no" >&6; }
12472 { $as_echo "$as_me:$LINENO: result: yes" >&5
12473 $as_echo "yes" >&6; }
12475 cat >>confdefs.h
<<\_ACEOF
12476 #define HAVE_TASK_CURR 1
12481 { $as_echo "$as_me:$LINENO: result: yes" >&5
12482 $as_echo "yes" >&6; }
12484 cat >>confdefs.h
<<\_ACEOF
12485 #define HAVE_TASK_CURR 1
12491 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
12492 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
12495 cat confdefs.h
- <<_ACEOF >conftest.c
12498 cat confdefs.h
>>conftest.
$ac_ext
12499 cat >>conftest.
$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12503 #include <linux/sysctl.h>
12509 #ifndef CTL_UNNUMBERED
12510 #error CTL_UNNUMBERED undefined
12520 rm -Rf build
&& mkdir
-p build
12521 echo "obj-m := conftest.o" >build
/Makefile
12522 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12524 (eval $ac_try) 2>&5
12526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; }; then
12534 { $as_echo "$as_me:$LINENO: result: yes" >&5
12535 $as_echo "yes" >&6; }
12537 cat >>confdefs.h
<<\_ACEOF
12538 #define HAVE_CTL_UNNUMBERED 1
12543 $as_echo "$as_me: failed program was:" >&5
12544 sed 's/^/| /' conftest.
$ac_ext >&5
12546 { $as_echo "$as_me:$LINENO: result: no" >&5
12547 $as_echo "no" >&6; }
12558 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
12559 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
12562 cat confdefs.h
- <<_ACEOF >conftest.c
12565 cat confdefs.h
>>conftest.
$ac_ext
12566 cat >>conftest.
$ac_ext <<_ACEOF
12567 /* end confdefs.h. */
12570 #include <linux/sysctl.h>
12576 struct ctl_table ctl;
12586 rm -Rf build
&& mkdir
-p build
12587 echo "obj-m := conftest.o" >build
/Makefile
12588 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; }; then
12600 { $as_echo "$as_me:$LINENO: result: yes" >&5
12601 $as_echo "yes" >&6; }
12603 cat >>confdefs.h
<<\_ACEOF
12604 #define HAVE_CTL_NAME 1
12609 $as_echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.
$ac_ext >&5
12612 { $as_echo "$as_me:$LINENO: result: no" >&5
12613 $as_echo "no" >&6; }
12623 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
12624 $as_echo_n "checking whether fls64() is available... " >&6; }
12627 cat confdefs.h
- <<_ACEOF >conftest.c
12630 cat confdefs.h
>>conftest.
$ac_ext
12631 cat >>conftest.
$ac_ext <<_ACEOF
12632 /* end confdefs.h. */
12635 #include <linux/bitops.h>
12650 rm -Rf build
&& mkdir
-p build
12651 echo "obj-m := conftest.o" >build
/Makefile
12652 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 (eval $ac_try) 2>&5
12656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12659 (eval $ac_try) 2>&5
12661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); }; }; then
12664 { $as_echo "$as_me:$LINENO: result: yes" >&5
12665 $as_echo "yes" >&6; }
12667 cat >>confdefs.h
<<\_ACEOF
12668 #define HAVE_FLS64 1
12673 $as_echo "$as_me: failed program was:" >&5
12674 sed 's/^/| /' conftest.
$ac_ext >&5
12676 { $as_echo "$as_me:$LINENO: result: no" >&5
12677 $as_echo "no" >&6; }
12688 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
12689 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
12690 grep -q -E '[[:space:]]device_create[[:space:]]' \
12691 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12693 if test $rc -ne 0; then
12695 for file in drivers
/base
/core.c
; do
12696 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
12697 "$LINUX_OBJ/$file" 2>/dev
/null
12699 if test $rc -eq 0; then
12704 if test $export -eq 0; then
12705 { $as_echo "$as_me:$LINENO: result: no" >&5
12706 $as_echo "no" >&6; }
12709 { $as_echo "$as_me:$LINENO: result: yes" >&5
12710 $as_echo "yes" >&6; }
12712 cat >>confdefs.h
<<\_ACEOF
12713 #define HAVE_DEVICE_CREATE 1
12718 { $as_echo "$as_me:$LINENO: result: yes" >&5
12719 $as_echo "yes" >&6; }
12721 cat >>confdefs.h
<<\_ACEOF
12722 #define HAVE_DEVICE_CREATE 1
12729 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
12730 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
12731 tmp_flags
="$EXTRA_KCFLAGS"
12732 EXTRA_KCFLAGS
="-Werror"
12735 cat confdefs.h
- <<_ACEOF >conftest.c
12738 cat confdefs.h
>>conftest.
$ac_ext
12739 cat >>conftest.
$ac_ext <<_ACEOF
12740 /* end confdefs.h. */
12743 #include <linux/device.h>
12749 device_create(NULL, NULL, 0, NULL, "%d", 1);
12758 rm -Rf build
&& mkdir
-p build
12759 echo "obj-m := conftest.o" >build
/Makefile
12760 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12767 (eval $ac_try) 2>&5
12769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); }; }; then
12772 { $as_echo "$as_me:$LINENO: result: yes" >&5
12773 $as_echo "yes" >&6; }
12775 cat >>confdefs.h
<<\_ACEOF
12776 #define HAVE_5ARGS_DEVICE_CREATE 1
12781 $as_echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.
$ac_ext >&5
12784 { $as_echo "$as_me:$LINENO: result: no" >&5
12785 $as_echo "no" >&6; }
12794 EXTRA_KCFLAGS
="$tmp_flags"
12797 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
12798 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
12799 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
12800 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12802 if test $rc -ne 0; then
12804 for file in drivers
/base
/class.c
; do
12805 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
12806 "$LINUX_OBJ/$file" 2>/dev
/null
12808 if test $rc -eq 0; then
12813 if test $export -eq 0; then
12814 { $as_echo "$as_me:$LINENO: result: no" >&5
12815 $as_echo "no" >&6; }
12818 { $as_echo "$as_me:$LINENO: result: yes" >&5
12819 $as_echo "yes" >&6; }
12821 cat >>confdefs.h
<<\_ACEOF
12822 #define HAVE_CLASS_DEVICE_CREATE 1
12827 { $as_echo "$as_me:$LINENO: result: yes" >&5
12828 $as_echo "yes" >&6; }
12830 cat >>confdefs.h
<<\_ACEOF
12831 #define HAVE_CLASS_DEVICE_CREATE 1
12838 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
12839 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
12840 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
12841 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12843 if test $rc -ne 0; then
12845 for file in kernel
/time.c
; do
12846 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
12847 "$LINUX_OBJ/$file" 2>/dev
/null
12849 if test $rc -eq 0; then
12854 if test $export -eq 0; then
12855 { $as_echo "$as_me:$LINENO: result: no" >&5
12856 $as_echo "no" >&6; }
12859 { $as_echo "$as_me:$LINENO: result: yes" >&5
12860 $as_echo "yes" >&6; }
12862 cat >>confdefs.h
<<\_ACEOF
12863 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
12868 { $as_echo "$as_me:$LINENO: result: yes" >&5
12869 $as_echo "yes" >&6; }
12871 cat >>confdefs.h
<<\_ACEOF
12872 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
12879 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
12880 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
12883 cat confdefs.h
- <<_ACEOF >conftest.c
12886 cat confdefs.h
>>conftest.
$ac_ext
12887 cat >>conftest.
$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12891 #include <linux/time.h>
12892 void set_normalized_timespec(struct timespec *ts,
12893 time_t sec, long nsec) { }
12906 rm -Rf build
&& mkdir
-p build
12907 echo "obj-m := conftest.o" >build
/Makefile
12908 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; }; then
12920 { $as_echo "$as_me:$LINENO: result: no" >&5
12921 $as_echo "no" >&6; }
12924 $as_echo "$as_me: failed program was:" >&5
12925 sed 's/^/| /' conftest.
$ac_ext >&5
12927 { $as_echo "$as_me:$LINENO: result: yes" >&5
12928 $as_echo "yes" >&6; }
12930 cat >>confdefs.h
<<\_ACEOF
12931 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
12944 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
12945 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
12948 cat confdefs.h
- <<_ACEOF >conftest.c
12951 cat confdefs.h
>>conftest.
$ac_ext
12952 cat >>conftest.
$ac_ext <<_ACEOF
12953 /* end confdefs.h. */
12956 #include <linux/time.h>
12962 struct timespec a, b, c = { 0 };
12963 c = timespec_sub(a, b);
12972 rm -Rf build
&& mkdir
-p build
12973 echo "obj-m := conftest.o" >build
/Makefile
12974 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12976 (eval $ac_try) 2>&5
12978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; }; then
12986 { $as_echo "$as_me:$LINENO: result: yes" >&5
12987 $as_echo "yes" >&6; }
12989 cat >>confdefs.h
<<\_ACEOF
12990 #define HAVE_TIMESPEC_SUB 1
12995 $as_echo "$as_me: failed program was:" >&5
12996 sed 's/^/| /' conftest.
$ac_ext >&5
12998 { $as_echo "$as_me:$LINENO: result: no" >&5
12999 $as_echo "no" >&6; }
13010 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
13011 $as_echo_n "checking whether init_utsname() is available... " >&6; }
13014 cat confdefs.h
- <<_ACEOF >conftest.c
13017 cat confdefs.h
>>conftest.
$ac_ext
13018 cat >>conftest.
$ac_ext <<_ACEOF
13019 /* end confdefs.h. */
13022 #include <linux/utsname.h>
13028 struct new_utsname *a = init_utsname();
13037 rm -Rf build
&& mkdir
-p build
13038 echo "obj-m := conftest.o" >build
/Makefile
13039 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13041 (eval $ac_try) 2>&5
13043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13046 (eval $ac_try) 2>&5
13048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049 (exit $ac_status); }; }; then
13051 { $as_echo "$as_me:$LINENO: result: yes" >&5
13052 $as_echo "yes" >&6; }
13054 cat >>confdefs.h
<<\_ACEOF
13055 #define HAVE_INIT_UTSNAME 1
13060 $as_echo "$as_me: failed program was:" >&5
13061 sed 's/^/| /' conftest.
$ac_ext >&5
13063 { $as_echo "$as_me:$LINENO: result: no" >&5
13064 $as_echo "no" >&6; }
13075 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
13076 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
13079 cat confdefs.h
- <<_ACEOF >conftest.c
13082 cat confdefs.h
>>conftest.
$ac_ext
13083 cat >>conftest.
$ac_ext <<_ACEOF
13084 /* end confdefs.h. */
13087 #include <linux/fdtable.h>
13102 rm -Rf build
&& mkdir
-p build
13103 echo "obj-m := conftest.o" >build
/Makefile
13104 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13106 (eval $ac_try) 2>&5
13108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 (eval $ac_try) 2>&5
13113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; }; then
13117 cat >>confdefs.h
<<\_ACEOF
13118 #define HAVE_FDTABLE_HEADER 1
13121 { $as_echo "$as_me:$LINENO: result: yes" >&5
13122 $as_echo "yes" >&6; }
13126 $as_echo "$as_me: failed program was:" >&5
13127 sed 's/^/| /' conftest.
$ac_ext >&5
13129 { $as_echo "$as_me:$LINENO: result: no" >&5
13130 $as_echo "no" >&6; }
13143 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
13144 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
13147 cat confdefs.h
- <<_ACEOF >conftest.c
13150 cat confdefs.h
>>conftest.
$ac_ext
13151 cat >>conftest.
$ac_ext <<_ACEOF
13152 /* end confdefs.h. */
13155 #include <linux/sched.h>
13156 #include <linux/file.h>
13157 #ifdef HAVE_FDTABLE_HEADER
13158 #include <linux/fdtable.h>
13165 struct files_struct *files = current->files;
13166 struct fdtable *fdt = files_fdtable(files);
13175 rm -Rf build
&& mkdir
-p build
13176 echo "obj-m := conftest.o" >build
/Makefile
13177 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13179 (eval $ac_try) 2>&5
13181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13184 (eval $ac_try) 2>&5
13186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); }; }; then
13189 { $as_echo "$as_me:$LINENO: result: yes" >&5
13190 $as_echo "yes" >&6; }
13192 cat >>confdefs.h
<<\_ACEOF
13193 #define HAVE_FILES_FDTABLE 1
13198 $as_echo "$as_me: failed program was:" >&5
13199 sed 's/^/| /' conftest.
$ac_ext >&5
13201 { $as_echo "$as_me:$LINENO: result: no" >&5
13202 $as_echo "no" >&6; }
13213 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
13214 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
13217 cat confdefs.h
- <<_ACEOF >conftest.c
13220 cat confdefs.h
>>conftest.
$ac_ext
13221 cat >>conftest.
$ac_ext <<_ACEOF
13222 /* end confdefs.h. */
13225 #include <linux/uaccess.h>
13240 rm -Rf build
&& mkdir
-p build
13241 echo "obj-m := conftest.o" >build
/Makefile
13242 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13244 (eval $ac_try) 2>&5
13246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13249 (eval $ac_try) 2>&5
13251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; }; then
13255 cat >>confdefs.h
<<\_ACEOF
13256 #define HAVE_UACCESS_HEADER 1
13259 { $as_echo "$as_me:$LINENO: result: yes" >&5
13260 $as_echo "yes" >&6; }
13264 $as_echo "$as_me: failed program was:" >&5
13265 sed 's/^/| /' conftest.
$ac_ext >&5
13267 { $as_echo "$as_me:$LINENO: result: no" >&5
13268 $as_echo "no" >&6; }
13281 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
13282 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
13285 cat confdefs.h
- <<_ACEOF >conftest.c
13288 cat confdefs.h
>>conftest.
$ac_ext
13289 cat >>conftest.
$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13293 #include <linux/slab.h>
13299 void *a = kmalloc_node(1, GFP_KERNEL, 0);
13308 rm -Rf build
&& mkdir
-p build
13309 echo "obj-m := conftest.o" >build
/Makefile
13310 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13322 { $as_echo "$as_me:$LINENO: result: yes" >&5
13323 $as_echo "yes" >&6; }
13325 cat >>confdefs.h
<<\_ACEOF
13326 #define HAVE_KMALLOC_NODE 1
13331 $as_echo "$as_me: failed program was:" >&5
13332 sed 's/^/| /' conftest.
$ac_ext >&5
13334 { $as_echo "$as_me:$LINENO: result: no" >&5
13335 $as_echo "no" >&6; }
13346 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
13347 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
13348 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
13349 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13351 if test $rc -ne 0; then
13354 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
13355 "$LINUX_OBJ/$file" 2>/dev
/null
13357 if test $rc -eq 0; then
13362 if test $export -eq 0; then
13363 { $as_echo "$as_me:$LINENO: result: no" >&5
13364 $as_echo "no" >&6; }
13367 { $as_echo "$as_me:$LINENO: result: yes" >&5
13368 $as_echo "yes" >&6; }
13370 cat >>confdefs.h
<<\_ACEOF
13371 #define HAVE_MONOTONIC_CLOCK 1
13376 { $as_echo "$as_me:$LINENO: result: yes" >&5
13377 $as_echo "yes" >&6; }
13379 cat >>confdefs.h
<<\_ACEOF
13380 #define HAVE_MONOTONIC_CLOCK 1
13387 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
13388 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
13391 cat confdefs.h
- <<_ACEOF >conftest.c
13394 cat confdefs.h
>>conftest.
$ac_ext
13395 cat >>conftest.
$ac_ext <<_ACEOF
13396 /* end confdefs.h. */
13399 #include <linux/fs.h>
13400 #include <linux/mutex.h>
13407 mutex_init(&i.i_mutex);
13416 rm -Rf build
&& mkdir
-p build
13417 echo "obj-m := conftest.o" >build
/Makefile
13418 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13420 (eval $ac_try) 2>&5
13422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; }; then
13430 { $as_echo "$as_me:$LINENO: result: yes" >&5
13431 $as_echo "yes" >&6; }
13433 cat >>confdefs.h
<<\_ACEOF
13434 #define HAVE_INODE_I_MUTEX 1
13439 $as_echo "$as_me: failed program was:" >&5
13440 sed 's/^/| /' conftest.
$ac_ext >&5
13442 { $as_echo "$as_me:$LINENO: result: no" >&5
13443 $as_echo "no" >&6; }
13454 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
13455 $as_echo_n "checking whether struct mutex has owner... " >&6; }
13458 cat confdefs.h
- <<_ACEOF >conftest.c
13461 cat confdefs.h
>>conftest.
$ac_ext
13462 cat >>conftest.
$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13466 #include <linux/mutex.h>
13482 rm -Rf build
&& mkdir
-p build
13483 echo "obj-m := conftest.o" >build
/Makefile
13484 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13486 (eval $ac_try) 2>&5
13488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13491 (eval $ac_try) 2>&5
13493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); }; }; then
13496 { $as_echo "$as_me:$LINENO: result: yes" >&5
13497 $as_echo "yes" >&6; }
13499 cat >>confdefs.h
<<\_ACEOF
13500 #define HAVE_MUTEX_OWNER 1
13505 $as_echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.
$ac_ext >&5
13508 { $as_echo "$as_me:$LINENO: result: no" >&5
13509 $as_echo "no" >&6; }
13520 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
13521 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
13524 cat confdefs.h
- <<_ACEOF >conftest.c
13527 cat confdefs.h
>>conftest.
$ac_ext
13528 cat >>conftest.
$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13532 #include <linux/mutex.h>
13538 struct mutex mutex;
13539 mutex_init(&mutex);
13540 mutex_lock_nested(&mutex, 0);
13549 rm -Rf build
&& mkdir
-p build
13550 echo "obj-m := conftest.o" >build
/Makefile
13551 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13553 (eval $ac_try) 2>&5
13555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13558 (eval $ac_try) 2>&5
13560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); }; }; then
13563 { $as_echo "$as_me:$LINENO: result: yes" >&5
13564 $as_echo "yes" >&6; }
13566 cat >>confdefs.h
<<\_ACEOF
13567 #define HAVE_MUTEX_LOCK_NESTED 1
13572 $as_echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13575 { $as_echo "$as_me:$LINENO: result: no" >&5
13576 $as_echo "no" >&6; }
13587 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
13588 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
13591 cat confdefs.h
- <<_ACEOF >conftest.c
13594 cat confdefs.h
>>conftest.
$ac_ext
13595 cat >>conftest.
$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13599 #include <linux/smp.h>
13605 on_each_cpu(NULL, NULL, 0);
13614 rm -Rf build
&& mkdir
-p build
13615 echo "obj-m := conftest.o" >build
/Makefile
13616 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then
13628 { $as_echo "$as_me:$LINENO: result: yes" >&5
13629 $as_echo "yes" >&6; }
13631 cat >>confdefs.h
<<\_ACEOF
13632 #define HAVE_3ARGS_ON_EACH_CPU 1
13637 $as_echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.
$ac_ext >&5
13640 { $as_echo "$as_me:$LINENO: result: no" >&5
13641 $as_echo "no" >&6; }
13652 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
13653 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
13654 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
13655 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13657 if test $rc -ne 0; then
13660 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
13661 "$LINUX_OBJ/$file" 2>/dev
/null
13663 if test $rc -eq 0; then
13668 if test $export -eq 0; then
13669 { $as_echo "$as_me:$LINENO: result: no" >&5
13670 $as_echo "no" >&6; }
13673 { $as_echo "$as_me:$LINENO: result: yes" >&5
13674 $as_echo "yes" >&6; }
13676 cat >>confdefs.h
<<\_ACEOF
13677 #define HAVE_KALLSYMS_LOOKUP_NAME 1
13682 { $as_echo "$as_me:$LINENO: result: yes" >&5
13683 $as_echo "yes" >&6; }
13685 cat >>confdefs.h
<<\_ACEOF
13686 #define HAVE_KALLSYMS_LOOKUP_NAME 1
13693 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
13694 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
13695 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
13696 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13698 if test $rc -ne 0; then
13701 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
13702 "$LINUX_OBJ/$file" 2>/dev
/null
13704 if test $rc -eq 0; then
13709 if test $export -eq 0; then
13710 { $as_echo "$as_me:$LINENO: result: no" >&5
13711 $as_echo "no" >&6; }
13714 { $as_echo "$as_me:$LINENO: result: yes" >&5
13715 $as_echo "yes" >&6; }
13717 cat >>confdefs.h
<<\_ACEOF
13718 #define HAVE_GET_VMALLOC_INFO 1
13723 { $as_echo "$as_me:$LINENO: result: yes" >&5
13724 $as_echo "yes" >&6; }
13726 cat >>confdefs.h
<<\_ACEOF
13727 #define HAVE_GET_VMALLOC_INFO 1
13734 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
13735 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
13736 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
13738 if test $rc -eq 0; then
13739 { $as_echo "$as_me:$LINENO: result: yes" >&5
13740 $as_echo "yes" >&6; }
13742 cat >>confdefs.h
<<\_ACEOF
13743 #define HAVE_PGDAT_HELPERS 1
13747 { $as_echo "$as_me:$LINENO: result: no" >&5
13748 $as_echo "no" >&6; }
13752 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
13753 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
13754 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
13755 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13757 if test $rc -ne 0; then
13760 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
13761 "$LINUX_OBJ/$file" 2>/dev
/null
13763 if test $rc -eq 0; then
13768 if test $export -eq 0; then
13769 { $as_echo "$as_me:$LINENO: result: no" >&5
13770 $as_echo "no" >&6; }
13773 { $as_echo "$as_me:$LINENO: result: yes" >&5
13774 $as_echo "yes" >&6; }
13776 cat >>confdefs.h
<<\_ACEOF
13777 #define HAVE_FIRST_ONLINE_PGDAT 1
13782 { $as_echo "$as_me:$LINENO: result: yes" >&5
13783 $as_echo "yes" >&6; }
13785 cat >>confdefs.h
<<\_ACEOF
13786 #define HAVE_FIRST_ONLINE_PGDAT 1
13793 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
13794 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
13795 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
13796 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13798 if test $rc -ne 0; then
13801 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
13802 "$LINUX_OBJ/$file" 2>/dev
/null
13804 if test $rc -eq 0; then
13809 if test $export -eq 0; then
13810 { $as_echo "$as_me:$LINENO: result: no" >&5
13811 $as_echo "no" >&6; }
13814 { $as_echo "$as_me:$LINENO: result: yes" >&5
13815 $as_echo "yes" >&6; }
13817 cat >>confdefs.h
<<\_ACEOF
13818 #define HAVE_NEXT_ONLINE_PGDAT 1
13823 { $as_echo "$as_me:$LINENO: result: yes" >&5
13824 $as_echo "yes" >&6; }
13826 cat >>confdefs.h
<<\_ACEOF
13827 #define HAVE_NEXT_ONLINE_PGDAT 1
13834 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
13835 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
13836 grep -q -E '[[:space:]]next_zone[[:space:]]' \
13837 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13839 if test $rc -ne 0; then
13842 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
13843 "$LINUX_OBJ/$file" 2>/dev
/null
13845 if test $rc -eq 0; then
13850 if test $export -eq 0; then
13851 { $as_echo "$as_me:$LINENO: result: no" >&5
13852 $as_echo "no" >&6; }
13855 { $as_echo "$as_me:$LINENO: result: yes" >&5
13856 $as_echo "yes" >&6; }
13858 cat >>confdefs.h
<<\_ACEOF
13859 #define HAVE_NEXT_ZONE 1
13864 { $as_echo "$as_me:$LINENO: result: yes" >&5
13865 $as_echo "yes" >&6; }
13867 cat >>confdefs.h
<<\_ACEOF
13868 #define HAVE_NEXT_ZONE 1
13875 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
13876 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
13877 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
13878 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13880 if test $rc -ne 0; then
13883 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
13884 "$LINUX_OBJ/$file" 2>/dev
/null
13886 if test $rc -eq 0; then
13891 if test $export -eq 0; then
13892 { $as_echo "$as_me:$LINENO: result: no" >&5
13893 $as_echo "no" >&6; }
13896 { $as_echo "$as_me:$LINENO: result: yes" >&5
13897 $as_echo "yes" >&6; }
13899 cat >>confdefs.h
<<\_ACEOF
13900 #define HAVE_PGDAT_LIST 1
13905 { $as_echo "$as_me:$LINENO: result: yes" >&5
13906 $as_echo "yes" >&6; }
13908 cat >>confdefs.h
<<\_ACEOF
13909 #define HAVE_PGDAT_LIST 1
13916 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
13917 $as_echo_n "checking whether global_page_state() is available... " >&6; }
13920 cat confdefs.h
- <<_ACEOF >conftest.c
13923 cat confdefs.h
>>conftest.
$ac_ext
13924 cat >>conftest.
$ac_ext <<_ACEOF
13925 /* end confdefs.h. */
13928 #include <linux/mm.h>
13934 unsigned long state;
13935 state = global_page_state(0);
13944 rm -Rf build
&& mkdir
-p build
13945 echo "obj-m := conftest.o" >build
/Makefile
13946 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; }; then
13958 { $as_echo "$as_me:$LINENO: result: yes" >&5
13959 $as_echo "yes" >&6; }
13961 cat >>confdefs.h
<<\_ACEOF
13962 #define HAVE_GLOBAL_PAGE_STATE 1
13967 $as_echo "$as_me: failed program was:" >&5
13968 sed 's/^/| /' conftest.
$ac_ext >&5
13970 { $as_echo "$as_me:$LINENO: result: no" >&5
13971 $as_echo "no" >&6; }
13982 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
13983 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
13986 cat confdefs.h
- <<_ACEOF >conftest.c
13989 cat confdefs.h
>>conftest.
$ac_ext
13990 cat >>conftest.
$ac_ext <<_ACEOF
13991 /* end confdefs.h. */
13994 #include <linux/mm.h>
14000 enum zone_stat_item zsi;
14001 zsi = NR_FREE_PAGES;
14010 rm -Rf build
&& mkdir
-p build
14011 echo "obj-m := conftest.o" >build
/Makefile
14012 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14014 (eval $ac_try) 2>&5
14016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14019 (eval $ac_try) 2>&5
14021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); }; }; then
14024 { $as_echo "$as_me:$LINENO: result: yes" >&5
14025 $as_echo "yes" >&6; }
14027 cat >>confdefs.h
<<\_ACEOF
14028 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
14033 $as_echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.
$ac_ext >&5
14036 { $as_echo "$as_me:$LINENO: result: no" >&5
14037 $as_echo "no" >&6; }
14048 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
14049 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
14052 cat confdefs.h
- <<_ACEOF >conftest.c
14055 cat confdefs.h
>>conftest.
$ac_ext
14056 cat >>conftest.
$ac_ext <<_ACEOF
14057 /* end confdefs.h. */
14060 #include <linux/mm.h>
14066 enum zone_stat_item zsi;
14076 rm -Rf build
&& mkdir
-p build
14077 echo "obj-m := conftest.o" >build
/Makefile
14078 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14090 { $as_echo "$as_me:$LINENO: result: yes" >&5
14091 $as_echo "yes" >&6; }
14093 cat >>confdefs.h
<<\_ACEOF
14094 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
14099 $as_echo "$as_me: failed program was:" >&5
14100 sed 's/^/| /' conftest.
$ac_ext >&5
14102 { $as_echo "$as_me:$LINENO: result: no" >&5
14103 $as_echo "no" >&6; }
14113 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
14114 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
14117 cat confdefs.h
- <<_ACEOF >conftest.c
14120 cat confdefs.h
>>conftest.
$ac_ext
14121 cat >>conftest.
$ac_ext <<_ACEOF
14122 /* end confdefs.h. */
14125 #include <linux/mm.h>
14131 enum zone_stat_item zsi;
14132 zsi = NR_INACTIVE_ANON;
14141 rm -Rf build
&& mkdir
-p build
14142 echo "obj-m := conftest.o" >build
/Makefile
14143 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; }; then
14155 { $as_echo "$as_me:$LINENO: result: yes" >&5
14156 $as_echo "yes" >&6; }
14158 cat >>confdefs.h
<<\_ACEOF
14159 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
14164 $as_echo "$as_me: failed program was:" >&5
14165 sed 's/^/| /' conftest.
$ac_ext >&5
14167 { $as_echo "$as_me:$LINENO: result: no" >&5
14168 $as_echo "no" >&6; }
14178 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
14179 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
14182 cat confdefs.h
- <<_ACEOF >conftest.c
14185 cat confdefs.h
>>conftest.
$ac_ext
14186 cat >>conftest.
$ac_ext <<_ACEOF
14187 /* end confdefs.h. */
14190 #include <linux/mm.h>
14196 enum zone_stat_item zsi;
14197 zsi = NR_INACTIVE_FILE;
14206 rm -Rf build
&& mkdir
-p build
14207 echo "obj-m := conftest.o" >build
/Makefile
14208 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14210 (eval $ac_try) 2>&5
14212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14220 { $as_echo "$as_me:$LINENO: result: yes" >&5
14221 $as_echo "yes" >&6; }
14223 cat >>confdefs.h
<<\_ACEOF
14224 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
14229 $as_echo "$as_me: failed program was:" >&5
14230 sed 's/^/| /' conftest.
$ac_ext >&5
14232 { $as_echo "$as_me:$LINENO: result: no" >&5
14233 $as_echo "no" >&6; }
14244 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
14245 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
14248 cat confdefs.h
- <<_ACEOF >conftest.c
14251 cat confdefs.h
>>conftest.
$ac_ext
14252 cat >>conftest.
$ac_ext <<_ACEOF
14253 /* end confdefs.h. */
14256 #include <linux/mm.h>
14262 enum zone_stat_item zsi;
14272 rm -Rf build
&& mkdir
-p build
14273 echo "obj-m := conftest.o" >build
/Makefile
14274 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; }; then
14286 { $as_echo "$as_me:$LINENO: result: yes" >&5
14287 $as_echo "yes" >&6; }
14289 cat >>confdefs.h
<<\_ACEOF
14290 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
14295 $as_echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14298 { $as_echo "$as_me:$LINENO: result: no" >&5
14299 $as_echo "no" >&6; }
14309 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
14310 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
14313 cat confdefs.h
- <<_ACEOF >conftest.c
14316 cat confdefs.h
>>conftest.
$ac_ext
14317 cat >>conftest.
$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14321 #include <linux/mm.h>
14327 enum zone_stat_item zsi;
14328 zsi = NR_ACTIVE_ANON;
14337 rm -Rf build
&& mkdir
-p build
14338 echo "obj-m := conftest.o" >build
/Makefile
14339 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14341 (eval $ac_try) 2>&5
14343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; }; then
14351 { $as_echo "$as_me:$LINENO: result: yes" >&5
14352 $as_echo "yes" >&6; }
14354 cat >>confdefs.h
<<\_ACEOF
14355 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
14360 $as_echo "$as_me: failed program was:" >&5
14361 sed 's/^/| /' conftest.
$ac_ext >&5
14363 { $as_echo "$as_me:$LINENO: result: no" >&5
14364 $as_echo "no" >&6; }
14374 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
14375 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
14378 cat confdefs.h
- <<_ACEOF >conftest.c
14381 cat confdefs.h
>>conftest.
$ac_ext
14382 cat >>conftest.
$ac_ext <<_ACEOF
14383 /* end confdefs.h. */
14386 #include <linux/mm.h>
14392 enum zone_stat_item zsi;
14393 zsi = NR_ACTIVE_FILE;
14402 rm -Rf build
&& mkdir
-p build
14403 echo "obj-m := conftest.o" >build
/Makefile
14404 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14416 { $as_echo "$as_me:$LINENO: result: yes" >&5
14417 $as_echo "yes" >&6; }
14419 cat >>confdefs.h
<<\_ACEOF
14420 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
14425 $as_echo "$as_me: failed program was:" >&5
14426 sed 's/^/| /' conftest.
$ac_ext >&5
14428 { $as_echo "$as_me:$LINENO: result: no" >&5
14429 $as_echo "no" >&6; }
14440 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
14441 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
14444 cat confdefs.h
- <<_ACEOF >conftest.c
14447 cat confdefs.h
>>conftest.
$ac_ext
14448 cat >>conftest.
$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14457 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
14458 #error "global_page_state needs NR_FREE_PAGES"
14461 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
14462 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
14463 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
14464 #error "global_page_state needs NR_ACTIVE*"
14467 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
14468 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
14469 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
14470 #error "global_page_state needs NR_INACTIVE*"
14480 rm -Rf build
&& mkdir
-p build
14481 echo "obj-m := conftest.o" >build
/Makefile
14482 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14484 (eval $ac_try) 2>&5
14486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14494 { $as_echo "$as_me:$LINENO: result: no" >&5
14495 $as_echo "no" >&6; }
14498 $as_echo "$as_me: failed program was:" >&5
14499 sed 's/^/| /' conftest.
$ac_ext >&5
14501 { $as_echo "$as_me:$LINENO: result: yes" >&5
14502 $as_echo "yes" >&6; }
14504 cat >>confdefs.h
<<\_ACEOF
14505 #define NEED_GET_ZONE_COUNTS 1
14509 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
14510 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
14511 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
14512 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14514 if test $rc -ne 0; then
14517 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
14518 "$LINUX_OBJ/$file" 2>/dev
/null
14520 if test $rc -eq 0; then
14525 if test $export -eq 0; then
14526 { $as_echo "$as_me:$LINENO: result: no" >&5
14527 $as_echo "no" >&6; }
14530 { $as_echo "$as_me:$LINENO: result: yes" >&5
14531 $as_echo "yes" >&6; }
14533 cat >>confdefs.h
<<\_ACEOF
14534 #define HAVE_GET_ZONE_COUNTS 1
14539 { $as_echo "$as_me:$LINENO: result: yes" >&5
14540 $as_echo "yes" >&6; }
14542 cat >>confdefs.h
<<\_ACEOF
14543 #define HAVE_GET_ZONE_COUNTS 1
14558 { $as_echo "$as_me:$LINENO: checking whether symbol user_path_at is exported" >&5
14559 $as_echo_n "checking whether symbol user_path_at is exported... " >&6; }
14560 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
14561 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14563 if test $rc -ne 0; then
14566 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
14567 "$LINUX_OBJ/$file" 2>/dev
/null
14569 if test $rc -eq 0; then
14574 if test $export -eq 0; then
14575 { $as_echo "$as_me:$LINENO: result: no" >&5
14576 $as_echo "no" >&6; }
14579 { $as_echo "$as_me:$LINENO: result: yes" >&5
14580 $as_echo "yes" >&6; }
14582 cat >>confdefs.h
<<\_ACEOF
14583 #define HAVE_USER_PATH_DIR 1
14588 { $as_echo "$as_me:$LINENO: result: yes" >&5
14589 $as_echo "yes" >&6; }
14591 cat >>confdefs.h
<<\_ACEOF
14592 #define HAVE_USER_PATH_DIR 1
14599 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
14600 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
14601 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
14602 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14604 if test $rc -ne 0; then
14607 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
14608 "$LINUX_OBJ/$file" 2>/dev
/null
14610 if test $rc -eq 0; then
14615 if test $export -eq 0; then
14616 { $as_echo "$as_me:$LINENO: result: no" >&5
14617 $as_echo "no" >&6; }
14620 { $as_echo "$as_me:$LINENO: result: yes" >&5
14621 $as_echo "yes" >&6; }
14623 cat >>confdefs.h
<<\_ACEOF
14624 #define HAVE_SET_FS_PWD 1
14629 { $as_echo "$as_me:$LINENO: result: yes" >&5
14630 $as_echo "yes" >&6; }
14632 cat >>confdefs.h
<<\_ACEOF
14633 #define HAVE_SET_FS_PWD 1
14639 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
14640 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
14643 cat confdefs.h
- <<_ACEOF >conftest.c
14646 cat confdefs.h
>>conftest.
$ac_ext
14647 cat >>conftest.
$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14651 #include <linux/sched.h>
14652 #include <linux/fs_struct.h>
14658 set_fs_pwd(NULL, NULL);
14667 rm -Rf build
&& mkdir
-p build
14668 echo "obj-m := conftest.o" >build
/Makefile
14669 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14681 { $as_echo "$as_me:$LINENO: result: yes" >&5
14682 $as_echo "yes" >&6; }
14684 cat >>confdefs.h
<<\_ACEOF
14685 #define HAVE_2ARGS_SET_FS_PWD 1
14690 $as_echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.
$ac_ext >&5
14693 { $as_echo "$as_me:$LINENO: result: no" >&5
14694 $as_echo "no" >&6; }
14704 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
14705 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
14708 cat confdefs.h
- <<_ACEOF >conftest.c
14711 cat confdefs.h
>>conftest.
$ac_ext
14712 cat >>conftest.
$ac_ext <<_ACEOF
14713 /* end confdefs.h. */
14716 #include <linux/fs.h>
14722 vfs_unlink(NULL, NULL);
14731 rm -Rf build
&& mkdir
-p build
14732 echo "obj-m := conftest.o" >build
/Makefile
14733 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; }; then
14745 { $as_echo "$as_me:$LINENO: result: yes" >&5
14746 $as_echo "yes" >&6; }
14748 cat >>confdefs.h
<<\_ACEOF
14749 #define HAVE_2ARGS_VFS_UNLINK 1
14754 $as_echo "$as_me: failed program was:" >&5
14755 sed 's/^/| /' conftest.
$ac_ext >&5
14757 { $as_echo "$as_me:$LINENO: result: no" >&5
14758 $as_echo "no" >&6; }
14768 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
14769 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
14772 cat confdefs.h
- <<_ACEOF >conftest.c
14775 cat confdefs.h
>>conftest.
$ac_ext
14776 cat >>conftest.
$ac_ext <<_ACEOF
14777 /* end confdefs.h. */
14780 #include <linux/fs.h>
14786 vfs_rename(NULL, NULL, NULL, NULL);
14795 rm -Rf build
&& mkdir
-p build
14796 echo "obj-m := conftest.o" >build
/Makefile
14797 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14799 (eval $ac_try) 2>&5
14801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804 (eval $ac_try) 2>&5
14806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; }; then
14809 { $as_echo "$as_me:$LINENO: result: yes" >&5
14810 $as_echo "yes" >&6; }
14812 cat >>confdefs.h
<<\_ACEOF
14813 #define HAVE_4ARGS_VFS_RENAME 1
14818 $as_echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.
$ac_ext >&5
14821 { $as_echo "$as_me:$LINENO: result: no" >&5
14822 $as_echo "no" >&6; }
14833 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
14834 $as_echo_n "checking whether struct cred exists... " >&6; }
14837 cat confdefs.h
- <<_ACEOF >conftest.c
14840 cat confdefs.h
>>conftest.
$ac_ext
14841 cat >>conftest.
$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14845 #include <linux/cred.h>
14861 rm -Rf build
&& mkdir
-p build
14862 echo "obj-m := conftest.o" >build
/Makefile
14863 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14865 (eval $ac_try) 2>&5
14867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; }; then
14875 { $as_echo "$as_me:$LINENO: result: yes" >&5
14876 $as_echo "yes" >&6; }
14878 cat >>confdefs.h
<<\_ACEOF
14879 #define HAVE_CRED_STRUCT 1
14884 $as_echo "$as_me: failed program was:" >&5
14885 sed 's/^/| /' conftest.
$ac_ext >&5
14887 { $as_echo "$as_me:$LINENO: result: no" >&5
14888 $as_echo "no" >&6; }
14899 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
14900 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
14901 grep -q -E '[[:space:]]groups_search[[:space:]]' \
14902 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14904 if test $rc -ne 0; then
14907 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
14908 "$LINUX_OBJ/$file" 2>/dev
/null
14910 if test $rc -eq 0; then
14915 if test $export -eq 0; then
14916 { $as_echo "$as_me:$LINENO: result: no" >&5
14917 $as_echo "no" >&6; }
14920 { $as_echo "$as_me:$LINENO: result: yes" >&5
14921 $as_echo "yes" >&6; }
14923 cat >>confdefs.h
<<\_ACEOF
14924 #define HAVE_GROUPS_SEARCH 1
14929 { $as_echo "$as_me:$LINENO: result: yes" >&5
14930 $as_echo "yes" >&6; }
14932 cat >>confdefs.h
<<\_ACEOF
14933 #define HAVE_GROUPS_SEARCH 1
14940 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
14941 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
14942 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
14943 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14945 if test $rc -ne 0; then
14948 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
14949 "$LINUX_OBJ/$file" 2>/dev
/null
14951 if test $rc -eq 0; then
14956 if test $export -eq 0; then
14957 { $as_echo "$as_me:$LINENO: result: no" >&5
14958 $as_echo "no" >&6; }
14961 { $as_echo "$as_me:$LINENO: result: yes" >&5
14962 $as_echo "yes" >&6; }
14964 cat >>confdefs.h
<<\_ACEOF
14965 #define HAVE_PUT_TASK_STRUCT 1
14970 { $as_echo "$as_me:$LINENO: result: yes" >&5
14971 $as_echo "yes" >&6; }
14973 cat >>confdefs.h
<<\_ACEOF
14974 #define HAVE_PUT_TASK_STRUCT 1
14981 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
14982 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
14985 cat confdefs.h
- <<_ACEOF >conftest.c
14988 cat confdefs.h
>>conftest.
$ac_ext
14989 cat >>conftest.
$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14993 #include <linux/sysctl.h>
14999 proc_dostring(NULL, 0, NULL, NULL, NULL);
15008 rm -Rf build
&& mkdir
-p build
15009 echo "obj-m := conftest.o" >build
/Makefile
15010 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012 (eval $ac_try) 2>&5
15014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; }; then
15022 { $as_echo "$as_me:$LINENO: result: yes" >&5
15023 $as_echo "yes" >&6; }
15025 cat >>confdefs.h
<<\_ACEOF
15026 #define HAVE_5ARGS_PROC_HANDLER 1
15031 $as_echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.
$ac_ext >&5
15034 { $as_echo "$as_me:$LINENO: result: no" >&5
15035 $as_echo "no" >&6; }
15046 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
15047 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
15048 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
15049 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15051 if test $rc -ne 0; then
15054 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
15055 "$LINUX_OBJ/$file" 2>/dev
/null
15057 if test $rc -eq 0; then
15062 if test $export -eq 0; then
15063 { $as_echo "$as_me:$LINENO: result: no" >&5
15064 $as_echo "no" >&6; }
15067 { $as_echo "$as_me:$LINENO: result: yes" >&5
15068 $as_echo "yes" >&6; }
15070 cat >>confdefs.h
<<\_ACEOF
15071 #define HAVE_KVASPRINTF 1
15076 { $as_echo "$as_me:$LINENO: result: yes" >&5
15077 $as_echo "yes" >&6; }
15079 cat >>confdefs.h
<<\_ACEOF
15080 #define HAVE_KVASPRINTF 1
15087 { $as_echo "$as_me:$LINENO: checking whether file_fsync() wants 3 args" >&5
15088 $as_echo_n "checking whether file_fsync() wants 3 args... " >&6; }
15091 cat confdefs.h
- <<_ACEOF >conftest.c
15094 cat confdefs.h
>>conftest.
$ac_ext
15095 cat >>conftest.
$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15099 #include <linux/buffer_head.h>
15105 file_fsync(NULL, NULL, 0);
15114 rm -Rf build
&& mkdir
-p build
15115 echo "obj-m := conftest.o" >build
/Makefile
15116 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15123 (eval $ac_try) 2>&5
15125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }; }; then
15128 { $as_echo "$as_me:$LINENO: result: yes" >&5
15129 $as_echo "yes" >&6; }
15131 cat >>confdefs.h
<<\_ACEOF
15132 #define HAVE_3ARGS_FILE_FSYNC 1
15137 $as_echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.
$ac_ext >&5
15140 { $as_echo "$as_me:$LINENO: result: no" >&5
15141 $as_echo "no" >&6; }
15152 { $as_echo "$as_me:$LINENO: checking whether symbol rwsem_is_locked is exported" >&5
15153 $as_echo_n "checking whether symbol rwsem_is_locked is exported... " >&6; }
15154 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
15155 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15157 if test $rc -ne 0; then
15159 for file in lib
/rwsem-spinlock.c
; do
15160 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
15161 "$LINUX_OBJ/$file" 2>/dev
/null
15163 if test $rc -eq 0; then
15168 if test $export -eq 0; then
15169 { $as_echo "$as_me:$LINENO: result: no" >&5
15170 $as_echo "no" >&6; }
15173 { $as_echo "$as_me:$LINENO: result: yes" >&5
15174 $as_echo "yes" >&6; }
15176 cat >>confdefs.h
<<\_ACEOF
15177 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
15182 { $as_echo "$as_me:$LINENO: result: yes" >&5
15183 $as_echo "yes" >&6; }
15185 cat >>confdefs.h
<<\_ACEOF
15186 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
15195 if test "x$AWK" != xgawk
; then
15197 { { $as_echo "$as_me:$LINENO: error:
15198 *** Required util gawk missing. Please install the required
15199 *** gawk package for your distribution and try again." >&5
15200 $as_echo "$as_me: error:
15201 *** Required util gawk missing. Please install the required
15202 *** gawk package for your distribution and try again." >&2;}
15203 { (exit 1); exit 1; }; }
15212 # Check whether --with-linux was given.
15213 if test "${with_linux+set}" = set; then
15214 withval
=$with_linux; kernelsrc
="$withval"
15219 # Check whether --with-linux-obj was given.
15220 if test "${with_linux_obj+set}" = set; then
15221 withval
=$with_linux_obj; kernelbuild
="$withval"
15225 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
15226 $as_echo_n "checking kernel source directory... " >&6; }
15227 if test -z "$kernelsrc"; then
15228 headersdir
="/lib/modules/$(uname -r)/build"
15229 if test -e "$headersdir"; then
15230 sourcelink
=$
(readlink
-f "$headersdir")
15232 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
15234 2>/dev
/null |
grep -v obj |
tail -1)
15237 if test -n "$sourcelink" && test -e ${sourcelink}; then
15238 kernelsrc
=`readlink -f ${sourcelink}`
15240 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15241 $as_echo "Not found" >&6; }
15242 { { $as_echo "$as_me:$LINENO: error:
15243 *** Please make sure the kernel devel package for your distribution
15244 *** is installed then try again. If that fails you can specify the
15245 *** location of the kernel source with the '--with-linux=PATH' option." >&5
15246 $as_echo "$as_me: error:
15247 *** Please make sure the kernel devel package for your distribution
15248 *** is installed then try again. If that fails you can specify the
15249 *** location of the kernel source with the '--with-linux=PATH' option." >&2;}
15250 { (exit 1); exit 1; }; }
15253 if test "$kernelsrc" = "NONE"; then
15258 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
15259 $as_echo "$kernelsrc" >&6; }
15260 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
15261 $as_echo_n "checking kernel build directory... " >&6; }
15262 if test -z "$kernelbuild"; then
15263 if test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
15264 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
15265 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
15266 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
15267 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
15268 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
15270 kernelbuild
=${kernelsrc}
15273 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
15274 $as_echo "$kernelbuild" >&6; }
15276 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
15277 $as_echo_n "checking kernel source version... " >&6; }
15278 utsrelease1
=$kernelbuild/include
/linux
/version.h
15279 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
15280 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
15281 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
15282 utsrelease
=linux
/version.h
15283 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
15284 utsrelease
=linux
/utsrelease.h
15285 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
15286 utsrelease
=generated
/utsrelease.h
15289 if test "$utsrelease"; then
15290 kernsrcver
=`(echo "#include <$utsrelease>";
15291 echo "kernsrcver=UTS_RELEASE") |
15292 cpp -I $kernelbuild/include |
15293 grep "^kernsrcver=" | cut -d \" -f 2`
15295 if test -z "$kernsrcver"; then
15296 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15297 $as_echo "Not found" >&6; }
15298 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
15299 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
15300 { (exit 1); exit 1; }; }
15303 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15304 $as_echo "Not found" >&6; }
15305 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
15306 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
15307 { (exit 1); exit 1; }; }
15310 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
15311 $as_echo "$kernsrcver" >&6; }
15314 LINUX_OBJ
=${kernelbuild}
15315 LINUX_VERSION
=${kernsrcver}
15322 modpost
=$LINUX/scripts
/Makefile.modpost
15323 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
15324 $as_echo_n "checking kernel file name for module symbols... " >&6; }
15325 if test -f "$modpost"; then
15326 if grep -q Modules.symvers
$modpost; then
15327 LINUX_SYMBOLS
=Modules.symvers
15329 LINUX_SYMBOLS
=Module.symvers
15334 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
15335 $as_echo "$LINUX_SYMBOLS" >&6; }
15340 if test "${LINUX_OBJ}" != "${LINUX}"; then
15341 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
15345 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
15349 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
15350 $as_echo_n "checking whether debugging is enabled... " >&6; }
15351 # Check whether --enable-debug was given.
15352 if test "${enable_debug+set}" = set; then
15353 enableval
=$enable_debug;
15359 if test "x$enable_debug" = xyes
; then
15361 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
15362 DEBUG_CFLAGS
="-DDEBUG -Werror"
15366 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
15367 DEBUG_CFLAGS
="-DNDEBUG"
15373 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
15374 $as_echo "$enable_debug" >&6; }
15377 # Check whether --enable-debug-kmem was given.
15378 if test "${enable_debug_kmem+set}" = set; then
15379 enableval
=$enable_debug_kmem;
15381 enable_debug_kmem
=yes
15385 if test "x$enable_debug_kmem" = xyes
; then
15387 cat >>confdefs.h
<<\_ACEOF
15388 #define DEBUG_KMEM 1
15391 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
15395 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
15396 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
15397 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
15398 $as_echo "$enable_debug_kmem" >&6; }
15401 # Check whether --enable-debug-kmem-tracking was given.
15402 if test "${enable_debug_kmem_tracking+set}" = set; then
15403 enableval
=$enable_debug_kmem_tracking;
15405 enable_debug_kmem_tracking
=no
15409 if test "x$enable_debug_kmem_tracking" = xyes
; then
15411 cat >>confdefs.h
<<\_ACEOF
15412 #define DEBUG_KMEM_TRACKING 1
15415 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
15419 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
15420 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
15421 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
15422 $as_echo "$enable_debug_kmem_tracking" >&6; }
15425 # Check whether --enable-atomic-spinlocks was given.
15426 if test "${enable_atomic_spinlocks+set}" = set; then
15427 enableval
=$enable_atomic_spinlocks;
15429 enable_atomic_spinlocks
=check
15435 cat confdefs.h
- <<_ACEOF >conftest.c
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15443 #include <asm/atomic.h>
15458 rm -Rf build
&& mkdir
-p build
15459 echo "obj-m := conftest.o" >build
/Makefile
15460 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15467 (eval $ac_try) 2>&5
15469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); }; }; then
15472 have_atomic64_t
=yes
15474 cat >>confdefs.h
<<\_ACEOF
15475 #define HAVE_ATOMIC64_T 1
15480 $as_echo "$as_me: failed program was:" >&5
15481 sed 's/^/| /' conftest.
$ac_ext >&5
15493 if test "x$enable_atomic_spinlocks" = xcheck
; then
15495 if test "x$have_atomic64_t" = xyes
; then
15497 enable_atomic_spinlocks
=no
15501 enable_atomic_spinlocks
=yes
15509 if test "x$enable_atomic_spinlocks" = xyes
; then
15512 cat >>confdefs.h
<<\_ACEOF
15513 #define ATOMIC_SPINLOCK 1
15519 if test "x$have_atomic64_t" = xno
; then
15521 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15523 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
15524 See \`config.log' for more details." >&5
15525 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
15526 See \`config.log' for more details." >&2;}
15527 { (exit 1); exit 1; }; }; }
15535 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
15536 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
15537 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
15538 $as_echo "$enable_atomic_spinlocks" >&6; }
15540 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
15541 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
15542 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
15543 $as_echo "$have_atomic64_t" >&6; }
15545 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
15546 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
15549 cat confdefs.h
- <<_ACEOF >conftest.c
15552 cat confdefs.h
>>conftest.
$ac_ext
15553 cat >>conftest.
$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15557 #include <asm/atomic.h>
15558 #include <asm/system.h>
15564 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
15573 rm -Rf build
&& mkdir
-p build
15574 echo "obj-m := conftest.o" >build
/Makefile
15575 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15577 (eval $ac_try) 2>&5
15579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15587 { $as_echo "$as_me:$LINENO: result: yes" >&5
15588 $as_echo "yes" >&6; }
15590 cat >>confdefs.h
<<\_ACEOF
15591 #define HAVE_ATOMIC64_CMPXCHG 1
15596 $as_echo "$as_me: failed program was:" >&5
15597 sed 's/^/| /' conftest.
$ac_ext >&5
15599 { $as_echo "$as_me:$LINENO: result: no" >&5
15600 $as_echo "no" >&6; }
15610 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
15611 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
15614 cat confdefs.h
- <<_ACEOF >conftest.c
15617 cat confdefs.h
>>conftest.
$ac_ext
15618 cat >>conftest.
$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15622 #include <asm/atomic.h>
15628 atomic64_xchg((atomic64_t *)NULL, 0);
15637 rm -Rf build
&& mkdir
-p build
15638 echo "obj-m := conftest.o" >build
/Makefile
15639 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15646 (eval $ac_try) 2>&5
15648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; }; then
15651 { $as_echo "$as_me:$LINENO: result: yes" >&5
15652 $as_echo "yes" >&6; }
15654 cat >>confdefs.h
<<\_ACEOF
15655 #define HAVE_ATOMIC64_XCHG 1
15660 $as_echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.
$ac_ext >&5
15663 { $as_echo "$as_me:$LINENO: result: no" >&5
15664 $as_echo "no" >&6; }
15674 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
15675 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
15678 cat confdefs.h
- <<_ACEOF >conftest.c
15681 cat confdefs.h
>>conftest.
$ac_ext
15682 cat >>conftest.
$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15686 #include <linux/types.h>
15701 rm -Rf build
&& mkdir
-p build
15702 echo "obj-m := conftest.o" >build
/Makefile
15703 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; }; then
15715 { $as_echo "$as_me:$LINENO: result: yes" >&5
15716 $as_echo "yes" >&6; }
15718 cat >>confdefs.h
<<\_ACEOF
15719 #define HAVE_UINTPTR_T 1
15724 $as_echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.
$ac_ext >&5
15727 { $as_echo "$as_me:$LINENO: result: no" >&5
15728 $as_echo "no" >&6; }
15738 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
15739 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
15742 cat confdefs.h
- <<_ACEOF >conftest.c
15745 cat confdefs.h
>>conftest.
$ac_ext
15746 cat >>conftest.
$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15750 #include <linux/workqueue.h>
15756 struct work_struct work;
15757 INIT_WORK(&work, NULL, NULL);
15766 rm -Rf build
&& mkdir
-p build
15767 echo "obj-m := conftest.o" >build
/Makefile
15768 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; }; then
15780 { $as_echo "$as_me:$LINENO: result: yes" >&5
15781 $as_echo "yes" >&6; }
15783 cat >>confdefs.h
<<\_ACEOF
15784 #define HAVE_3ARGS_INIT_WORK 1
15789 $as_echo "$as_me: failed program was:" >&5
15790 sed 's/^/| /' conftest.
$ac_ext >&5
15792 { $as_echo "$as_me:$LINENO: result: no" >&5
15793 $as_echo "no" >&6; }
15803 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
15804 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
15807 cat confdefs.h
- <<_ACEOF >conftest.c
15810 cat confdefs.h
>>conftest.
$ac_ext
15811 cat >>conftest.
$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15815 #include <linux/sysctl.h>
15821 return register_sysctl_table(NULL,0);
15830 rm -Rf build
&& mkdir
-p build
15831 echo "obj-m := conftest.o" >build
/Makefile
15832 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15844 { $as_echo "$as_me:$LINENO: result: yes" >&5
15845 $as_echo "yes" >&6; }
15847 cat >>confdefs.h
<<\_ACEOF
15848 #define HAVE_2ARGS_REGISTER_SYSCTL 1
15853 $as_echo "$as_me: failed program was:" >&5
15854 sed 's/^/| /' conftest.
$ac_ext >&5
15856 { $as_echo "$as_me:$LINENO: result: no" >&5
15857 $as_echo "no" >&6; }
15868 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
15869 $as_echo_n "checking whether set_shrinker() available... " >&6; }
15872 cat confdefs.h
- <<_ACEOF >conftest.c
15875 cat confdefs.h
>>conftest.
$ac_ext
15876 cat >>conftest.
$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15880 #include <linux/mm.h>
15886 return set_shrinker(DEFAULT_SEEKS, NULL);
15895 rm -Rf build
&& mkdir
-p build
15896 echo "obj-m := conftest.o" >build
/Makefile
15897 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; }; then
15909 { $as_echo "$as_me:$LINENO: result: yes" >&5
15910 $as_echo "yes" >&6; }
15912 cat >>confdefs.h
<<\_ACEOF
15913 #define HAVE_SET_SHRINKER 1
15918 $as_echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.
$ac_ext >&5
15921 { $as_echo "$as_me:$LINENO: result: no" >&5
15922 $as_echo "no" >&6; }
15932 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
15933 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
15936 cat confdefs.h
- <<_ACEOF >conftest.c
15939 cat confdefs.h
>>conftest.
$ac_ext
15940 cat >>conftest.
$ac_ext <<_ACEOF
15941 /* end confdefs.h. */
15944 #include <linux/namei.h>
15950 struct nameidata nd;
15952 nd.path.mnt = NULL;
15953 nd.path.dentry = NULL;
15962 rm -Rf build
&& mkdir
-p build
15963 echo "obj-m := conftest.o" >build
/Makefile
15964 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15966 (eval $ac_try) 2>&5
15968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; }; then
15976 { $as_echo "$as_me:$LINENO: result: yes" >&5
15977 $as_echo "yes" >&6; }
15979 cat >>confdefs.h
<<\_ACEOF
15980 #define HAVE_PATH_IN_NAMEIDATA 1
15985 $as_echo "$as_me: failed program was:" >&5
15986 sed 's/^/| /' conftest.
$ac_ext >&5
15988 { $as_echo "$as_me:$LINENO: result: no" >&5
15989 $as_echo "no" >&6; }
16000 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
16001 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
16002 grep -q -E '[[:space:]]task_curr[[:space:]]' \
16003 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16005 if test $rc -ne 0; then
16007 for file in kernel
/sched.c
; do
16008 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
16009 "$LINUX_OBJ/$file" 2>/dev
/null
16011 if test $rc -eq 0; then
16016 if test $export -eq 0; then
16017 { $as_echo "$as_me:$LINENO: result: no" >&5
16018 $as_echo "no" >&6; }
16021 { $as_echo "$as_me:$LINENO: result: yes" >&5
16022 $as_echo "yes" >&6; }
16024 cat >>confdefs.h
<<\_ACEOF
16025 #define HAVE_TASK_CURR 1
16030 { $as_echo "$as_me:$LINENO: result: yes" >&5
16031 $as_echo "yes" >&6; }
16033 cat >>confdefs.h
<<\_ACEOF
16034 #define HAVE_TASK_CURR 1
16040 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
16041 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
16044 cat confdefs.h
- <<_ACEOF >conftest.c
16047 cat confdefs.h
>>conftest.
$ac_ext
16048 cat >>conftest.
$ac_ext <<_ACEOF
16049 /* end confdefs.h. */
16052 #include <linux/sysctl.h>
16058 #ifndef CTL_UNNUMBERED
16059 #error CTL_UNNUMBERED undefined
16069 rm -Rf build
&& mkdir
-p build
16070 echo "obj-m := conftest.o" >build
/Makefile
16071 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16078 (eval $ac_try) 2>&5
16080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); }; }; then
16083 { $as_echo "$as_me:$LINENO: result: yes" >&5
16084 $as_echo "yes" >&6; }
16086 cat >>confdefs.h
<<\_ACEOF
16087 #define HAVE_CTL_UNNUMBERED 1
16092 $as_echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.
$ac_ext >&5
16095 { $as_echo "$as_me:$LINENO: result: no" >&5
16096 $as_echo "no" >&6; }
16107 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
16108 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
16111 cat confdefs.h
- <<_ACEOF >conftest.c
16114 cat confdefs.h
>>conftest.
$ac_ext
16115 cat >>conftest.
$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16119 #include <linux/sysctl.h>
16125 struct ctl_table ctl;
16135 rm -Rf build
&& mkdir
-p build
16136 echo "obj-m := conftest.o" >build
/Makefile
16137 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16149 { $as_echo "$as_me:$LINENO: result: yes" >&5
16150 $as_echo "yes" >&6; }
16152 cat >>confdefs.h
<<\_ACEOF
16153 #define HAVE_CTL_NAME 1
16158 $as_echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.
$ac_ext >&5
16161 { $as_echo "$as_me:$LINENO: result: no" >&5
16162 $as_echo "no" >&6; }
16172 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
16173 $as_echo_n "checking whether fls64() is available... " >&6; }
16176 cat confdefs.h
- <<_ACEOF >conftest.c
16179 cat confdefs.h
>>conftest.
$ac_ext
16180 cat >>conftest.
$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16184 #include <linux/bitops.h>
16199 rm -Rf build
&& mkdir
-p build
16200 echo "obj-m := conftest.o" >build
/Makefile
16201 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16213 { $as_echo "$as_me:$LINENO: result: yes" >&5
16214 $as_echo "yes" >&6; }
16216 cat >>confdefs.h
<<\_ACEOF
16217 #define HAVE_FLS64 1
16222 $as_echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.
$ac_ext >&5
16225 { $as_echo "$as_me:$LINENO: result: no" >&5
16226 $as_echo "no" >&6; }
16237 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
16238 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
16239 grep -q -E '[[:space:]]device_create[[:space:]]' \
16240 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16242 if test $rc -ne 0; then
16244 for file in drivers
/base
/core.c
; do
16245 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
16246 "$LINUX_OBJ/$file" 2>/dev
/null
16248 if test $rc -eq 0; then
16253 if test $export -eq 0; then
16254 { $as_echo "$as_me:$LINENO: result: no" >&5
16255 $as_echo "no" >&6; }
16258 { $as_echo "$as_me:$LINENO: result: yes" >&5
16259 $as_echo "yes" >&6; }
16261 cat >>confdefs.h
<<\_ACEOF
16262 #define HAVE_DEVICE_CREATE 1
16267 { $as_echo "$as_me:$LINENO: result: yes" >&5
16268 $as_echo "yes" >&6; }
16270 cat >>confdefs.h
<<\_ACEOF
16271 #define HAVE_DEVICE_CREATE 1
16278 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
16279 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
16280 tmp_flags
="$EXTRA_KCFLAGS"
16281 EXTRA_KCFLAGS
="-Werror"
16284 cat confdefs.h
- <<_ACEOF >conftest.c
16287 cat confdefs.h
>>conftest.
$ac_ext
16288 cat >>conftest.
$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16292 #include <linux/device.h>
16298 device_create(NULL, NULL, 0, NULL, "%d", 1);
16307 rm -Rf build
&& mkdir
-p build
16308 echo "obj-m := conftest.o" >build
/Makefile
16309 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; }; then
16321 { $as_echo "$as_me:$LINENO: result: yes" >&5
16322 $as_echo "yes" >&6; }
16324 cat >>confdefs.h
<<\_ACEOF
16325 #define HAVE_5ARGS_DEVICE_CREATE 1
16330 $as_echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.
$ac_ext >&5
16333 { $as_echo "$as_me:$LINENO: result: no" >&5
16334 $as_echo "no" >&6; }
16343 EXTRA_KCFLAGS
="$tmp_flags"
16346 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
16347 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
16348 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
16349 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16351 if test $rc -ne 0; then
16353 for file in drivers
/base
/class.c
; do
16354 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
16355 "$LINUX_OBJ/$file" 2>/dev
/null
16357 if test $rc -eq 0; then
16362 if test $export -eq 0; then
16363 { $as_echo "$as_me:$LINENO: result: no" >&5
16364 $as_echo "no" >&6; }
16367 { $as_echo "$as_me:$LINENO: result: yes" >&5
16368 $as_echo "yes" >&6; }
16370 cat >>confdefs.h
<<\_ACEOF
16371 #define HAVE_CLASS_DEVICE_CREATE 1
16376 { $as_echo "$as_me:$LINENO: result: yes" >&5
16377 $as_echo "yes" >&6; }
16379 cat >>confdefs.h
<<\_ACEOF
16380 #define HAVE_CLASS_DEVICE_CREATE 1
16387 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
16388 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
16389 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
16390 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16392 if test $rc -ne 0; then
16394 for file in kernel
/time.c
; do
16395 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
16396 "$LINUX_OBJ/$file" 2>/dev
/null
16398 if test $rc -eq 0; then
16403 if test $export -eq 0; then
16404 { $as_echo "$as_me:$LINENO: result: no" >&5
16405 $as_echo "no" >&6; }
16408 { $as_echo "$as_me:$LINENO: result: yes" >&5
16409 $as_echo "yes" >&6; }
16411 cat >>confdefs.h
<<\_ACEOF
16412 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
16417 { $as_echo "$as_me:$LINENO: result: yes" >&5
16418 $as_echo "yes" >&6; }
16420 cat >>confdefs.h
<<\_ACEOF
16421 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
16428 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
16429 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
16432 cat confdefs.h
- <<_ACEOF >conftest.c
16435 cat confdefs.h
>>conftest.
$ac_ext
16436 cat >>conftest.
$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16440 #include <linux/time.h>
16441 void set_normalized_timespec(struct timespec *ts,
16442 time_t sec, long nsec) { }
16455 rm -Rf build
&& mkdir
-p build
16456 echo "obj-m := conftest.o" >build
/Makefile
16457 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464 (eval $ac_try) 2>&5
16466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; }; then
16469 { $as_echo "$as_me:$LINENO: result: no" >&5
16470 $as_echo "no" >&6; }
16473 $as_echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.
$ac_ext >&5
16476 { $as_echo "$as_me:$LINENO: result: yes" >&5
16477 $as_echo "yes" >&6; }
16479 cat >>confdefs.h
<<\_ACEOF
16480 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
16493 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
16494 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
16497 cat confdefs.h
- <<_ACEOF >conftest.c
16500 cat confdefs.h
>>conftest.
$ac_ext
16501 cat >>conftest.
$ac_ext <<_ACEOF
16502 /* end confdefs.h. */
16505 #include <linux/time.h>
16511 struct timespec a, b, c = { 0 };
16512 c = timespec_sub(a, b);
16521 rm -Rf build
&& mkdir
-p build
16522 echo "obj-m := conftest.o" >build
/Makefile
16523 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16525 (eval $ac_try) 2>&5
16527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; }; then
16535 { $as_echo "$as_me:$LINENO: result: yes" >&5
16536 $as_echo "yes" >&6; }
16538 cat >>confdefs.h
<<\_ACEOF
16539 #define HAVE_TIMESPEC_SUB 1
16544 $as_echo "$as_me: failed program was:" >&5
16545 sed 's/^/| /' conftest.
$ac_ext >&5
16547 { $as_echo "$as_me:$LINENO: result: no" >&5
16548 $as_echo "no" >&6; }
16559 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
16560 $as_echo_n "checking whether init_utsname() is available... " >&6; }
16563 cat confdefs.h
- <<_ACEOF >conftest.c
16566 cat confdefs.h
>>conftest.
$ac_ext
16567 cat >>conftest.
$ac_ext <<_ACEOF
16568 /* end confdefs.h. */
16571 #include <linux/utsname.h>
16577 struct new_utsname *a = init_utsname();
16586 rm -Rf build
&& mkdir
-p build
16587 echo "obj-m := conftest.o" >build
/Makefile
16588 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590 (eval $ac_try) 2>&5
16592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; }; then
16600 { $as_echo "$as_me:$LINENO: result: yes" >&5
16601 $as_echo "yes" >&6; }
16603 cat >>confdefs.h
<<\_ACEOF
16604 #define HAVE_INIT_UTSNAME 1
16609 $as_echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.
$ac_ext >&5
16612 { $as_echo "$as_me:$LINENO: result: no" >&5
16613 $as_echo "no" >&6; }
16624 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
16625 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
16628 cat confdefs.h
- <<_ACEOF >conftest.c
16631 cat confdefs.h
>>conftest.
$ac_ext
16632 cat >>conftest.
$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16636 #include <linux/fdtable.h>
16651 rm -Rf build
&& mkdir
-p build
16652 echo "obj-m := conftest.o" >build
/Makefile
16653 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16666 cat >>confdefs.h
<<\_ACEOF
16667 #define HAVE_FDTABLE_HEADER 1
16670 { $as_echo "$as_me:$LINENO: result: yes" >&5
16671 $as_echo "yes" >&6; }
16675 $as_echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.
$ac_ext >&5
16678 { $as_echo "$as_me:$LINENO: result: no" >&5
16679 $as_echo "no" >&6; }
16692 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
16693 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
16696 cat confdefs.h
- <<_ACEOF >conftest.c
16699 cat confdefs.h
>>conftest.
$ac_ext
16700 cat >>conftest.
$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16704 #include <linux/sched.h>
16705 #include <linux/file.h>
16706 #ifdef HAVE_FDTABLE_HEADER
16707 #include <linux/fdtable.h>
16714 struct files_struct *files = current->files;
16715 struct fdtable *fdt = files_fdtable(files);
16724 rm -Rf build
&& mkdir
-p build
16725 echo "obj-m := conftest.o" >build
/Makefile
16726 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16733 (eval $ac_try) 2>&5
16735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); }; }; then
16738 { $as_echo "$as_me:$LINENO: result: yes" >&5
16739 $as_echo "yes" >&6; }
16741 cat >>confdefs.h
<<\_ACEOF
16742 #define HAVE_FILES_FDTABLE 1
16747 $as_echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.
$ac_ext >&5
16750 { $as_echo "$as_me:$LINENO: result: no" >&5
16751 $as_echo "no" >&6; }
16762 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
16763 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
16766 cat confdefs.h
- <<_ACEOF >conftest.c
16769 cat confdefs.h
>>conftest.
$ac_ext
16770 cat >>conftest.
$ac_ext <<_ACEOF
16771 /* end confdefs.h. */
16774 #include <linux/uaccess.h>
16789 rm -Rf build
&& mkdir
-p build
16790 echo "obj-m := conftest.o" >build
/Makefile
16791 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; }; then
16804 cat >>confdefs.h
<<\_ACEOF
16805 #define HAVE_UACCESS_HEADER 1
16808 { $as_echo "$as_me:$LINENO: result: yes" >&5
16809 $as_echo "yes" >&6; }
16813 $as_echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.
$ac_ext >&5
16816 { $as_echo "$as_me:$LINENO: result: no" >&5
16817 $as_echo "no" >&6; }
16830 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
16831 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
16834 cat confdefs.h
- <<_ACEOF >conftest.c
16837 cat confdefs.h
>>conftest.
$ac_ext
16838 cat >>conftest.
$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16842 #include <linux/slab.h>
16848 void *a = kmalloc_node(1, GFP_KERNEL, 0);
16857 rm -Rf build
&& mkdir
-p build
16858 echo "obj-m := conftest.o" >build
/Makefile
16859 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16871 { $as_echo "$as_me:$LINENO: result: yes" >&5
16872 $as_echo "yes" >&6; }
16874 cat >>confdefs.h
<<\_ACEOF
16875 #define HAVE_KMALLOC_NODE 1
16880 $as_echo "$as_me: failed program was:" >&5
16881 sed 's/^/| /' conftest.
$ac_ext >&5
16883 { $as_echo "$as_me:$LINENO: result: no" >&5
16884 $as_echo "no" >&6; }
16895 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
16896 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
16897 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
16898 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16900 if test $rc -ne 0; then
16903 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
16904 "$LINUX_OBJ/$file" 2>/dev
/null
16906 if test $rc -eq 0; then
16911 if test $export -eq 0; then
16912 { $as_echo "$as_me:$LINENO: result: no" >&5
16913 $as_echo "no" >&6; }
16916 { $as_echo "$as_me:$LINENO: result: yes" >&5
16917 $as_echo "yes" >&6; }
16919 cat >>confdefs.h
<<\_ACEOF
16920 #define HAVE_MONOTONIC_CLOCK 1
16925 { $as_echo "$as_me:$LINENO: result: yes" >&5
16926 $as_echo "yes" >&6; }
16928 cat >>confdefs.h
<<\_ACEOF
16929 #define HAVE_MONOTONIC_CLOCK 1
16936 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
16937 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
16940 cat confdefs.h
- <<_ACEOF >conftest.c
16943 cat confdefs.h
>>conftest.
$ac_ext
16944 cat >>conftest.
$ac_ext <<_ACEOF
16945 /* end confdefs.h. */
16948 #include <linux/fs.h>
16949 #include <linux/mutex.h>
16956 mutex_init(&i.i_mutex);
16965 rm -Rf build
&& mkdir
-p build
16966 echo "obj-m := conftest.o" >build
/Makefile
16967 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; }; then
16979 { $as_echo "$as_me:$LINENO: result: yes" >&5
16980 $as_echo "yes" >&6; }
16982 cat >>confdefs.h
<<\_ACEOF
16983 #define HAVE_INODE_I_MUTEX 1
16988 $as_echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.
$ac_ext >&5
16991 { $as_echo "$as_me:$LINENO: result: no" >&5
16992 $as_echo "no" >&6; }
17003 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
17004 $as_echo_n "checking whether struct mutex has owner... " >&6; }
17007 cat confdefs.h
- <<_ACEOF >conftest.c
17010 cat confdefs.h
>>conftest.
$ac_ext
17011 cat >>conftest.
$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17015 #include <linux/mutex.h>
17031 rm -Rf build
&& mkdir
-p build
17032 echo "obj-m := conftest.o" >build
/Makefile
17033 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; }; then
17045 { $as_echo "$as_me:$LINENO: result: yes" >&5
17046 $as_echo "yes" >&6; }
17048 cat >>confdefs.h
<<\_ACEOF
17049 #define HAVE_MUTEX_OWNER 1
17054 $as_echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.
$ac_ext >&5
17057 { $as_echo "$as_me:$LINENO: result: no" >&5
17058 $as_echo "no" >&6; }
17069 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
17070 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
17073 cat confdefs.h
- <<_ACEOF >conftest.c
17076 cat confdefs.h
>>conftest.
$ac_ext
17077 cat >>conftest.
$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17081 #include <linux/mutex.h>
17087 struct mutex mutex;
17088 mutex_init(&mutex);
17089 mutex_lock_nested(&mutex, 0);
17098 rm -Rf build
&& mkdir
-p build
17099 echo "obj-m := conftest.o" >build
/Makefile
17100 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17112 { $as_echo "$as_me:$LINENO: result: yes" >&5
17113 $as_echo "yes" >&6; }
17115 cat >>confdefs.h
<<\_ACEOF
17116 #define HAVE_MUTEX_LOCK_NESTED 1
17121 $as_echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.
$ac_ext >&5
17124 { $as_echo "$as_me:$LINENO: result: no" >&5
17125 $as_echo "no" >&6; }
17136 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
17137 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
17140 cat confdefs.h
- <<_ACEOF >conftest.c
17143 cat confdefs.h
>>conftest.
$ac_ext
17144 cat >>conftest.
$ac_ext <<_ACEOF
17145 /* end confdefs.h. */
17148 #include <linux/smp.h>
17154 on_each_cpu(NULL, NULL, 0);
17163 rm -Rf build
&& mkdir
-p build
17164 echo "obj-m := conftest.o" >build
/Makefile
17165 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; }; then
17177 { $as_echo "$as_me:$LINENO: result: yes" >&5
17178 $as_echo "yes" >&6; }
17180 cat >>confdefs.h
<<\_ACEOF
17181 #define HAVE_3ARGS_ON_EACH_CPU 1
17186 $as_echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.
$ac_ext >&5
17189 { $as_echo "$as_me:$LINENO: result: no" >&5
17190 $as_echo "no" >&6; }
17201 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
17202 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
17203 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
17204 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17206 if test $rc -ne 0; then
17209 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
17210 "$LINUX_OBJ/$file" 2>/dev
/null
17212 if test $rc -eq 0; then
17217 if test $export -eq 0; then
17218 { $as_echo "$as_me:$LINENO: result: no" >&5
17219 $as_echo "no" >&6; }
17222 { $as_echo "$as_me:$LINENO: result: yes" >&5
17223 $as_echo "yes" >&6; }
17225 cat >>confdefs.h
<<\_ACEOF
17226 #define HAVE_KALLSYMS_LOOKUP_NAME 1
17231 { $as_echo "$as_me:$LINENO: result: yes" >&5
17232 $as_echo "yes" >&6; }
17234 cat >>confdefs.h
<<\_ACEOF
17235 #define HAVE_KALLSYMS_LOOKUP_NAME 1
17242 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
17243 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
17244 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
17245 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17247 if test $rc -ne 0; then
17250 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
17251 "$LINUX_OBJ/$file" 2>/dev
/null
17253 if test $rc -eq 0; then
17258 if test $export -eq 0; then
17259 { $as_echo "$as_me:$LINENO: result: no" >&5
17260 $as_echo "no" >&6; }
17263 { $as_echo "$as_me:$LINENO: result: yes" >&5
17264 $as_echo "yes" >&6; }
17266 cat >>confdefs.h
<<\_ACEOF
17267 #define HAVE_GET_VMALLOC_INFO 1
17272 { $as_echo "$as_me:$LINENO: result: yes" >&5
17273 $as_echo "yes" >&6; }
17275 cat >>confdefs.h
<<\_ACEOF
17276 #define HAVE_GET_VMALLOC_INFO 1
17283 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
17284 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
17285 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
17287 if test $rc -eq 0; then
17288 { $as_echo "$as_me:$LINENO: result: yes" >&5
17289 $as_echo "yes" >&6; }
17291 cat >>confdefs.h
<<\_ACEOF
17292 #define HAVE_PGDAT_HELPERS 1
17296 { $as_echo "$as_me:$LINENO: result: no" >&5
17297 $as_echo "no" >&6; }
17301 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
17302 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
17303 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
17304 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17306 if test $rc -ne 0; then
17309 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
17310 "$LINUX_OBJ/$file" 2>/dev
/null
17312 if test $rc -eq 0; then
17317 if test $export -eq 0; then
17318 { $as_echo "$as_me:$LINENO: result: no" >&5
17319 $as_echo "no" >&6; }
17322 { $as_echo "$as_me:$LINENO: result: yes" >&5
17323 $as_echo "yes" >&6; }
17325 cat >>confdefs.h
<<\_ACEOF
17326 #define HAVE_FIRST_ONLINE_PGDAT 1
17331 { $as_echo "$as_me:$LINENO: result: yes" >&5
17332 $as_echo "yes" >&6; }
17334 cat >>confdefs.h
<<\_ACEOF
17335 #define HAVE_FIRST_ONLINE_PGDAT 1
17342 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
17343 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
17344 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
17345 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17347 if test $rc -ne 0; then
17350 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
17351 "$LINUX_OBJ/$file" 2>/dev
/null
17353 if test $rc -eq 0; then
17358 if test $export -eq 0; then
17359 { $as_echo "$as_me:$LINENO: result: no" >&5
17360 $as_echo "no" >&6; }
17363 { $as_echo "$as_me:$LINENO: result: yes" >&5
17364 $as_echo "yes" >&6; }
17366 cat >>confdefs.h
<<\_ACEOF
17367 #define HAVE_NEXT_ONLINE_PGDAT 1
17372 { $as_echo "$as_me:$LINENO: result: yes" >&5
17373 $as_echo "yes" >&6; }
17375 cat >>confdefs.h
<<\_ACEOF
17376 #define HAVE_NEXT_ONLINE_PGDAT 1
17383 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
17384 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
17385 grep -q -E '[[:space:]]next_zone[[:space:]]' \
17386 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17388 if test $rc -ne 0; then
17391 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
17392 "$LINUX_OBJ/$file" 2>/dev
/null
17394 if test $rc -eq 0; then
17399 if test $export -eq 0; then
17400 { $as_echo "$as_me:$LINENO: result: no" >&5
17401 $as_echo "no" >&6; }
17404 { $as_echo "$as_me:$LINENO: result: yes" >&5
17405 $as_echo "yes" >&6; }
17407 cat >>confdefs.h
<<\_ACEOF
17408 #define HAVE_NEXT_ZONE 1
17413 { $as_echo "$as_me:$LINENO: result: yes" >&5
17414 $as_echo "yes" >&6; }
17416 cat >>confdefs.h
<<\_ACEOF
17417 #define HAVE_NEXT_ZONE 1
17424 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
17425 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
17426 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
17427 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17429 if test $rc -ne 0; then
17432 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
17433 "$LINUX_OBJ/$file" 2>/dev
/null
17435 if test $rc -eq 0; then
17440 if test $export -eq 0; then
17441 { $as_echo "$as_me:$LINENO: result: no" >&5
17442 $as_echo "no" >&6; }
17445 { $as_echo "$as_me:$LINENO: result: yes" >&5
17446 $as_echo "yes" >&6; }
17448 cat >>confdefs.h
<<\_ACEOF
17449 #define HAVE_PGDAT_LIST 1
17454 { $as_echo "$as_me:$LINENO: result: yes" >&5
17455 $as_echo "yes" >&6; }
17457 cat >>confdefs.h
<<\_ACEOF
17458 #define HAVE_PGDAT_LIST 1
17465 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
17466 $as_echo_n "checking whether global_page_state() is available... " >&6; }
17469 cat confdefs.h
- <<_ACEOF >conftest.c
17472 cat confdefs.h
>>conftest.
$ac_ext
17473 cat >>conftest.
$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17477 #include <linux/mm.h>
17483 unsigned long state;
17484 state = global_page_state(0);
17493 rm -Rf build
&& mkdir
-p build
17494 echo "obj-m := conftest.o" >build
/Makefile
17495 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17497 (eval $ac_try) 2>&5
17499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; }; then
17507 { $as_echo "$as_me:$LINENO: result: yes" >&5
17508 $as_echo "yes" >&6; }
17510 cat >>confdefs.h
<<\_ACEOF
17511 #define HAVE_GLOBAL_PAGE_STATE 1
17516 $as_echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 { $as_echo "$as_me:$LINENO: result: no" >&5
17520 $as_echo "no" >&6; }
17531 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
17532 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
17535 cat confdefs.h
- <<_ACEOF >conftest.c
17538 cat confdefs.h
>>conftest.
$ac_ext
17539 cat >>conftest.
$ac_ext <<_ACEOF
17540 /* end confdefs.h. */
17543 #include <linux/mm.h>
17549 enum zone_stat_item zsi;
17550 zsi = NR_FREE_PAGES;
17559 rm -Rf build
&& mkdir
-p build
17560 echo "obj-m := conftest.o" >build
/Makefile
17561 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; }; then
17573 { $as_echo "$as_me:$LINENO: result: yes" >&5
17574 $as_echo "yes" >&6; }
17576 cat >>confdefs.h
<<\_ACEOF
17577 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
17582 $as_echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.
$ac_ext >&5
17585 { $as_echo "$as_me:$LINENO: result: no" >&5
17586 $as_echo "no" >&6; }
17597 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
17598 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
17601 cat confdefs.h
- <<_ACEOF >conftest.c
17604 cat confdefs.h
>>conftest.
$ac_ext
17605 cat >>conftest.
$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17609 #include <linux/mm.h>
17615 enum zone_stat_item zsi;
17625 rm -Rf build
&& mkdir
-p build
17626 echo "obj-m := conftest.o" >build
/Makefile
17627 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17629 (eval $ac_try) 2>&5
17631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then
17639 { $as_echo "$as_me:$LINENO: result: yes" >&5
17640 $as_echo "yes" >&6; }
17642 cat >>confdefs.h
<<\_ACEOF
17643 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
17648 $as_echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.
$ac_ext >&5
17651 { $as_echo "$as_me:$LINENO: result: no" >&5
17652 $as_echo "no" >&6; }
17662 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
17663 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
17666 cat confdefs.h
- <<_ACEOF >conftest.c
17669 cat confdefs.h
>>conftest.
$ac_ext
17670 cat >>conftest.
$ac_ext <<_ACEOF
17671 /* end confdefs.h. */
17674 #include <linux/mm.h>
17680 enum zone_stat_item zsi;
17681 zsi = NR_INACTIVE_ANON;
17690 rm -Rf build
&& mkdir
-p build
17691 echo "obj-m := conftest.o" >build
/Makefile
17692 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17694 (eval $ac_try) 2>&5
17696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; }; then
17704 { $as_echo "$as_me:$LINENO: result: yes" >&5
17705 $as_echo "yes" >&6; }
17707 cat >>confdefs.h
<<\_ACEOF
17708 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
17713 $as_echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.
$ac_ext >&5
17716 { $as_echo "$as_me:$LINENO: result: no" >&5
17717 $as_echo "no" >&6; }
17727 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
17728 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
17731 cat confdefs.h
- <<_ACEOF >conftest.c
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17739 #include <linux/mm.h>
17745 enum zone_stat_item zsi;
17746 zsi = NR_INACTIVE_FILE;
17755 rm -Rf build
&& mkdir
-p build
17756 echo "obj-m := conftest.o" >build
/Makefile
17757 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17769 { $as_echo "$as_me:$LINENO: result: yes" >&5
17770 $as_echo "yes" >&6; }
17772 cat >>confdefs.h
<<\_ACEOF
17773 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
17778 $as_echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 { $as_echo "$as_me:$LINENO: result: no" >&5
17782 $as_echo "no" >&6; }
17793 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
17794 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
17797 cat confdefs.h
- <<_ACEOF >conftest.c
17800 cat confdefs.h
>>conftest.
$ac_ext
17801 cat >>conftest.
$ac_ext <<_ACEOF
17802 /* end confdefs.h. */
17805 #include <linux/mm.h>
17811 enum zone_stat_item zsi;
17821 rm -Rf build
&& mkdir
-p build
17822 echo "obj-m := conftest.o" >build
/Makefile
17823 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17830 (eval $ac_try) 2>&5
17832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); }; }; then
17835 { $as_echo "$as_me:$LINENO: result: yes" >&5
17836 $as_echo "yes" >&6; }
17838 cat >>confdefs.h
<<\_ACEOF
17839 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
17844 $as_echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.
$ac_ext >&5
17847 { $as_echo "$as_me:$LINENO: result: no" >&5
17848 $as_echo "no" >&6; }
17858 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
17859 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
17862 cat confdefs.h
- <<_ACEOF >conftest.c
17865 cat confdefs.h
>>conftest.
$ac_ext
17866 cat >>conftest.
$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17870 #include <linux/mm.h>
17876 enum zone_stat_item zsi;
17877 zsi = NR_ACTIVE_ANON;
17886 rm -Rf build
&& mkdir
-p build
17887 echo "obj-m := conftest.o" >build
/Makefile
17888 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17895 (eval $ac_try) 2>&5
17897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); }; }; then
17900 { $as_echo "$as_me:$LINENO: result: yes" >&5
17901 $as_echo "yes" >&6; }
17903 cat >>confdefs.h
<<\_ACEOF
17904 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
17909 $as_echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.
$ac_ext >&5
17912 { $as_echo "$as_me:$LINENO: result: no" >&5
17913 $as_echo "no" >&6; }
17923 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
17924 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
17927 cat confdefs.h
- <<_ACEOF >conftest.c
17930 cat confdefs.h
>>conftest.
$ac_ext
17931 cat >>conftest.
$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17935 #include <linux/mm.h>
17941 enum zone_stat_item zsi;
17942 zsi = NR_ACTIVE_FILE;
17951 rm -Rf build
&& mkdir
-p build
17952 echo "obj-m := conftest.o" >build
/Makefile
17953 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17955 (eval $ac_try) 2>&5
17957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17960 (eval $ac_try) 2>&5
17962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); }; }; then
17965 { $as_echo "$as_me:$LINENO: result: yes" >&5
17966 $as_echo "yes" >&6; }
17968 cat >>confdefs.h
<<\_ACEOF
17969 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
17974 $as_echo "$as_me: failed program was:" >&5
17975 sed 's/^/| /' conftest.
$ac_ext >&5
17977 { $as_echo "$as_me:$LINENO: result: no" >&5
17978 $as_echo "no" >&6; }
17989 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
17990 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
17993 cat confdefs.h
- <<_ACEOF >conftest.c
17996 cat confdefs.h
>>conftest.
$ac_ext
17997 cat >>conftest.
$ac_ext <<_ACEOF
17998 /* end confdefs.h. */
18006 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
18007 #error "global_page_state needs NR_FREE_PAGES"
18010 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
18011 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
18012 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
18013 #error "global_page_state needs NR_ACTIVE*"
18016 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
18017 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
18018 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
18019 #error "global_page_state needs NR_INACTIVE*"
18029 rm -Rf build
&& mkdir
-p build
18030 echo "obj-m := conftest.o" >build
/Makefile
18031 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18033 (eval $ac_try) 2>&5
18035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18038 (eval $ac_try) 2>&5
18040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); }; }; then
18043 { $as_echo "$as_me:$LINENO: result: no" >&5
18044 $as_echo "no" >&6; }
18047 $as_echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.
$ac_ext >&5
18050 { $as_echo "$as_me:$LINENO: result: yes" >&5
18051 $as_echo "yes" >&6; }
18053 cat >>confdefs.h
<<\_ACEOF
18054 #define NEED_GET_ZONE_COUNTS 1
18058 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
18059 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
18060 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
18061 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18063 if test $rc -ne 0; then
18066 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
18067 "$LINUX_OBJ/$file" 2>/dev
/null
18069 if test $rc -eq 0; then
18074 if test $export -eq 0; then
18075 { $as_echo "$as_me:$LINENO: result: no" >&5
18076 $as_echo "no" >&6; }
18079 { $as_echo "$as_me:$LINENO: result: yes" >&5
18080 $as_echo "yes" >&6; }
18082 cat >>confdefs.h
<<\_ACEOF
18083 #define HAVE_GET_ZONE_COUNTS 1
18088 { $as_echo "$as_me:$LINENO: result: yes" >&5
18089 $as_echo "yes" >&6; }
18091 cat >>confdefs.h
<<\_ACEOF
18092 #define HAVE_GET_ZONE_COUNTS 1
18107 { $as_echo "$as_me:$LINENO: checking whether symbol user_path_at is exported" >&5
18108 $as_echo_n "checking whether symbol user_path_at is exported... " >&6; }
18109 grep -q -E '[[:space:]]user_path_at[[:space:]]' \
18110 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18112 if test $rc -ne 0; then
18115 grep -q -E "EXPORT_SYMBOL.*(user_path_at)" \
18116 "$LINUX_OBJ/$file" 2>/dev
/null
18118 if test $rc -eq 0; then
18123 if test $export -eq 0; then
18124 { $as_echo "$as_me:$LINENO: result: no" >&5
18125 $as_echo "no" >&6; }
18128 { $as_echo "$as_me:$LINENO: result: yes" >&5
18129 $as_echo "yes" >&6; }
18131 cat >>confdefs.h
<<\_ACEOF
18132 #define HAVE_USER_PATH_DIR 1
18137 { $as_echo "$as_me:$LINENO: result: yes" >&5
18138 $as_echo "yes" >&6; }
18140 cat >>confdefs.h
<<\_ACEOF
18141 #define HAVE_USER_PATH_DIR 1
18148 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
18149 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
18150 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
18151 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18153 if test $rc -ne 0; then
18156 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
18157 "$LINUX_OBJ/$file" 2>/dev
/null
18159 if test $rc -eq 0; then
18164 if test $export -eq 0; then
18165 { $as_echo "$as_me:$LINENO: result: no" >&5
18166 $as_echo "no" >&6; }
18169 { $as_echo "$as_me:$LINENO: result: yes" >&5
18170 $as_echo "yes" >&6; }
18172 cat >>confdefs.h
<<\_ACEOF
18173 #define HAVE_SET_FS_PWD 1
18178 { $as_echo "$as_me:$LINENO: result: yes" >&5
18179 $as_echo "yes" >&6; }
18181 cat >>confdefs.h
<<\_ACEOF
18182 #define HAVE_SET_FS_PWD 1
18188 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
18189 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
18192 cat confdefs.h
- <<_ACEOF >conftest.c
18195 cat confdefs.h
>>conftest.
$ac_ext
18196 cat >>conftest.
$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18200 #include <linux/sched.h>
18201 #include <linux/fs_struct.h>
18207 set_fs_pwd(NULL, NULL);
18216 rm -Rf build
&& mkdir
-p build
18217 echo "obj-m := conftest.o" >build
/Makefile
18218 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18230 { $as_echo "$as_me:$LINENO: result: yes" >&5
18231 $as_echo "yes" >&6; }
18233 cat >>confdefs.h
<<\_ACEOF
18234 #define HAVE_2ARGS_SET_FS_PWD 1
18239 $as_echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.
$ac_ext >&5
18242 { $as_echo "$as_me:$LINENO: result: no" >&5
18243 $as_echo "no" >&6; }
18253 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
18254 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
18257 cat confdefs.h
- <<_ACEOF >conftest.c
18260 cat confdefs.h
>>conftest.
$ac_ext
18261 cat >>conftest.
$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18265 #include <linux/fs.h>
18271 vfs_unlink(NULL, NULL);
18280 rm -Rf build
&& mkdir
-p build
18281 echo "obj-m := conftest.o" >build
/Makefile
18282 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18294 { $as_echo "$as_me:$LINENO: result: yes" >&5
18295 $as_echo "yes" >&6; }
18297 cat >>confdefs.h
<<\_ACEOF
18298 #define HAVE_2ARGS_VFS_UNLINK 1
18303 $as_echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.
$ac_ext >&5
18306 { $as_echo "$as_me:$LINENO: result: no" >&5
18307 $as_echo "no" >&6; }
18317 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
18318 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
18321 cat confdefs.h
- <<_ACEOF >conftest.c
18324 cat confdefs.h
>>conftest.
$ac_ext
18325 cat >>conftest.
$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18329 #include <linux/fs.h>
18335 vfs_rename(NULL, NULL, NULL, NULL);
18344 rm -Rf build
&& mkdir
-p build
18345 echo "obj-m := conftest.o" >build
/Makefile
18346 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; }; then
18358 { $as_echo "$as_me:$LINENO: result: yes" >&5
18359 $as_echo "yes" >&6; }
18361 cat >>confdefs.h
<<\_ACEOF
18362 #define HAVE_4ARGS_VFS_RENAME 1
18367 $as_echo "$as_me: failed program was:" >&5
18368 sed 's/^/| /' conftest.
$ac_ext >&5
18370 { $as_echo "$as_me:$LINENO: result: no" >&5
18371 $as_echo "no" >&6; }
18382 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
18383 $as_echo_n "checking whether struct cred exists... " >&6; }
18386 cat confdefs.h
- <<_ACEOF >conftest.c
18389 cat confdefs.h
>>conftest.
$ac_ext
18390 cat >>conftest.
$ac_ext <<_ACEOF
18391 /* end confdefs.h. */
18394 #include <linux/cred.h>
18410 rm -Rf build
&& mkdir
-p build
18411 echo "obj-m := conftest.o" >build
/Makefile
18412 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; }; then
18424 { $as_echo "$as_me:$LINENO: result: yes" >&5
18425 $as_echo "yes" >&6; }
18427 cat >>confdefs.h
<<\_ACEOF
18428 #define HAVE_CRED_STRUCT 1
18433 $as_echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.
$ac_ext >&5
18436 { $as_echo "$as_me:$LINENO: result: no" >&5
18437 $as_echo "no" >&6; }
18448 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
18449 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
18450 grep -q -E '[[:space:]]groups_search[[:space:]]' \
18451 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18453 if test $rc -ne 0; then
18456 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
18457 "$LINUX_OBJ/$file" 2>/dev
/null
18459 if test $rc -eq 0; then
18464 if test $export -eq 0; then
18465 { $as_echo "$as_me:$LINENO: result: no" >&5
18466 $as_echo "no" >&6; }
18469 { $as_echo "$as_me:$LINENO: result: yes" >&5
18470 $as_echo "yes" >&6; }
18472 cat >>confdefs.h
<<\_ACEOF
18473 #define HAVE_GROUPS_SEARCH 1
18478 { $as_echo "$as_me:$LINENO: result: yes" >&5
18479 $as_echo "yes" >&6; }
18481 cat >>confdefs.h
<<\_ACEOF
18482 #define HAVE_GROUPS_SEARCH 1
18489 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
18490 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
18491 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
18492 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18494 if test $rc -ne 0; then
18497 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
18498 "$LINUX_OBJ/$file" 2>/dev
/null
18500 if test $rc -eq 0; then
18505 if test $export -eq 0; then
18506 { $as_echo "$as_me:$LINENO: result: no" >&5
18507 $as_echo "no" >&6; }
18510 { $as_echo "$as_me:$LINENO: result: yes" >&5
18511 $as_echo "yes" >&6; }
18513 cat >>confdefs.h
<<\_ACEOF
18514 #define HAVE_PUT_TASK_STRUCT 1
18519 { $as_echo "$as_me:$LINENO: result: yes" >&5
18520 $as_echo "yes" >&6; }
18522 cat >>confdefs.h
<<\_ACEOF
18523 #define HAVE_PUT_TASK_STRUCT 1
18530 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
18531 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
18534 cat confdefs.h
- <<_ACEOF >conftest.c
18537 cat confdefs.h
>>conftest.
$ac_ext
18538 cat >>conftest.
$ac_ext <<_ACEOF
18539 /* end confdefs.h. */
18542 #include <linux/sysctl.h>
18548 proc_dostring(NULL, 0, NULL, NULL, NULL);
18557 rm -Rf build
&& mkdir
-p build
18558 echo "obj-m := conftest.o" >build
/Makefile
18559 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18561 (eval $ac_try) 2>&5
18563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18571 { $as_echo "$as_me:$LINENO: result: yes" >&5
18572 $as_echo "yes" >&6; }
18574 cat >>confdefs.h
<<\_ACEOF
18575 #define HAVE_5ARGS_PROC_HANDLER 1
18580 $as_echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.
$ac_ext >&5
18583 { $as_echo "$as_me:$LINENO: result: no" >&5
18584 $as_echo "no" >&6; }
18595 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
18596 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
18597 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
18598 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18600 if test $rc -ne 0; then
18603 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
18604 "$LINUX_OBJ/$file" 2>/dev
/null
18606 if test $rc -eq 0; then
18611 if test $export -eq 0; then
18612 { $as_echo "$as_me:$LINENO: result: no" >&5
18613 $as_echo "no" >&6; }
18616 { $as_echo "$as_me:$LINENO: result: yes" >&5
18617 $as_echo "yes" >&6; }
18619 cat >>confdefs.h
<<\_ACEOF
18620 #define HAVE_KVASPRINTF 1
18625 { $as_echo "$as_me:$LINENO: result: yes" >&5
18626 $as_echo "yes" >&6; }
18628 cat >>confdefs.h
<<\_ACEOF
18629 #define HAVE_KVASPRINTF 1
18636 { $as_echo "$as_me:$LINENO: checking whether file_fsync() wants 3 args" >&5
18637 $as_echo_n "checking whether file_fsync() wants 3 args... " >&6; }
18640 cat confdefs.h
- <<_ACEOF >conftest.c
18643 cat confdefs.h
>>conftest.
$ac_ext
18644 cat >>conftest.
$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18648 #include <linux/buffer_head.h>
18654 file_fsync(NULL, NULL, 0);
18663 rm -Rf build
&& mkdir
-p build
18664 echo "obj-m := conftest.o" >build
/Makefile
18665 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18677 { $as_echo "$as_me:$LINENO: result: yes" >&5
18678 $as_echo "yes" >&6; }
18680 cat >>confdefs.h
<<\_ACEOF
18681 #define HAVE_3ARGS_FILE_FSYNC 1
18686 $as_echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.
$ac_ext >&5
18689 { $as_echo "$as_me:$LINENO: result: no" >&5
18690 $as_echo "no" >&6; }
18701 { $as_echo "$as_me:$LINENO: checking whether symbol rwsem_is_locked is exported" >&5
18702 $as_echo_n "checking whether symbol rwsem_is_locked is exported... " >&6; }
18703 grep -q -E '[[:space:]]rwsem_is_locked[[:space:]]' \
18704 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18706 if test $rc -ne 0; then
18708 for file in lib
/rwsem-spinlock.c
; do
18709 grep -q -E "EXPORT_SYMBOL.*(rwsem_is_locked)" \
18710 "$LINUX_OBJ/$file" 2>/dev
/null
18712 if test $rc -eq 0; then
18717 if test $export -eq 0; then
18718 { $as_echo "$as_me:$LINENO: result: no" >&5
18719 $as_echo "no" >&6; }
18722 { $as_echo "$as_me:$LINENO: result: yes" >&5
18723 $as_echo "yes" >&6; }
18725 cat >>confdefs.h
<<\_ACEOF
18726 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
18731 { $as_echo "$as_me:$LINENO: result: yes" >&5
18732 $as_echo "yes" >&6; }
18734 cat >>confdefs.h
<<\_ACEOF
18735 #define RWSEM_IS_LOCKED_TAKES_WAIT_LOCK 1
18744 if test "x$AWK" != xgawk
; then
18746 { { $as_echo "$as_me:$LINENO: error:
18747 *** Required util gawk missing. Please install the required
18748 *** gawk package for your distribution and try again." >&5
18749 $as_echo "$as_me: error:
18750 *** Required util gawk missing. Please install the required
18751 *** gawk package for your distribution and try again." >&2;}
18752 { (exit 1); exit 1; }; }
18760 { $as_echo "$as_me:$LINENO: result: Error!" >&5
18761 $as_echo "Error!" >&6; }
18762 { { $as_echo "$as_me:$LINENO: error: Bad value \"$SPL_CONFIG\" for --with-config,
18763 user kernel|user|all|srpm" >&5
18764 $as_echo "$as_me: error: Bad value \"$SPL_CONFIG\" for --with-config,
18765 user kernel|user|all|srpm" >&2;}
18766 { (exit 1); exit 1; }; } ;;
18769 if test "$SPL_CONFIG" = user ||
18770 test "$SPL_CONFIG" = all
; then
18772 CONFIG_USER_FALSE
='#'
18774 CONFIG_USER_TRUE
='#'
18778 if test "$SPL_CONFIG" = kernel ||
18779 test "$SPL_CONFIG" = all
; then
18780 CONFIG_KERNEL_TRUE
=
18781 CONFIG_KERNEL_FALSE
='#'
18783 CONFIG_KERNEL_TRUE
='#'
18784 CONFIG_KERNEL_FALSE
=
18789 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"
18792 cat >confcache
<<\_ACEOF
18793 # This file is a shell script that caches the results of configure
18794 # tests run on this system so they can be shared between configure
18795 # scripts and configure runs, see configure's option --config-cache.
18796 # It is not useful on other systems. If it contains results you don't
18797 # want to keep, you may remove or edit it.
18799 # config.status only pays attention to the cache file if you give it
18800 # the --recheck option to rerun configure.
18802 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18803 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18804 # following values.
18808 # The following way of writing the cache mishandles newlines in values,
18809 # but we know of no workaround that is simple, portable, and efficient.
18810 # So, we kill variables containing newlines.
18811 # Ultrix sh set writes to stderr and can't be redirected directly,
18812 # and sets the high bit in the cache file unless we assign to the vars.
18814 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18815 eval ac_val
=\$
$ac_var
18819 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
18820 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18823 _ | IFS | as_nl
) ;; #(
18824 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18825 *) $as_unset $ac_var ;;
18831 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18832 *${as_nl}ac_space
=\
*)
18833 # `set' does not quote correctly, so add quotes (double-quote
18834 # substitution turns \\\\ into \\, and sed turns \\ into \).
18837 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18840 # `set' quotes correctly as required by POSIX, so do not add quotes.
18841 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18850 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18852 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18854 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18855 if test -w "$cache_file"; then
18856 test "x$cache_file" != "x/dev/null" &&
18857 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
18858 $as_echo "$as_me: updating cache $cache_file" >&6;}
18859 cat confcache
>$cache_file
18861 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18862 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18867 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18868 # Let make expand exec_prefix.
18869 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18871 DEFS
=-DHAVE_CONFIG_H
18875 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18876 # 1. Remove the extension, and $U if already installed.
18877 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18878 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18879 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18880 # will be set to the directory where LIBOBJS objects are built.
18881 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18882 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18884 LIBOBJS
=$ac_libobjs
18886 LTLIBOBJS
=$ac_ltlibobjs
18889 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18890 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18891 Usually this means the macro was only invoked conditionally." >&5
18892 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18893 Usually this means the macro was only invoked conditionally." >&2;}
18894 { (exit 1); exit 1; }; }
18896 if test -n "$EXEEXT"; then
18898 am__EXEEXT_FALSE
='#'
18900 am__EXEEXT_TRUE
='#'
18904 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18905 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18906 Usually this means the macro was only invoked conditionally." >&5
18907 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
18908 Usually this means the macro was only invoked conditionally." >&2;}
18909 { (exit 1); exit 1; }; }
18911 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18912 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18913 Usually this means the macro was only invoked conditionally." >&5
18914 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18915 Usually this means the macro was only invoked conditionally." >&2;}
18916 { (exit 1); exit 1; }; }
18918 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
18919 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_USER\" was never defined.
18920 Usually this means the macro was only invoked conditionally." >&5
18921 $as_echo "$as_me: error: conditional \"CONFIG_USER\" was never defined.
18922 Usually this means the macro was only invoked conditionally." >&2;}
18923 { (exit 1); exit 1; }; }
18925 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
18926 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_KERNEL\" was never defined.
18927 Usually this means the macro was only invoked conditionally." >&5
18928 $as_echo "$as_me: error: conditional \"CONFIG_KERNEL\" was never defined.
18929 Usually this means the macro was only invoked conditionally." >&2;}
18930 { (exit 1); exit 1; }; }
18933 : ${CONFIG_STATUS=./config.status}
18935 ac_clean_files_save
=$ac_clean_files
18936 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18937 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18938 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18939 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18941 # Generated by $as_me.
18942 # Run this file to recreate the current configuration.
18943 # Compiler output produced by configure, useful for debugging
18944 # configure, is in config.log if it exists.
18947 ac_cs_recheck=false
18949 SHELL=\${CONFIG_SHELL-$SHELL}
18952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18953 ## --------------------- ##
18954 ## M4sh Initialization. ##
18955 ## --------------------- ##
18957 # Be more Bourne compatible
18958 DUALCASE
=1; export DUALCASE
# for MKS sh
18959 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18962 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18963 # is contrary to our usage. Disable this feature.
18964 alias -g '${1+"$@"}'='"$@"'
18965 setopt NO_GLOB_SUBST
18967 case `(set -o) 2>/dev/null` in
18968 *posix
*) set -o posix
;;
18977 # Avoid depending upon Character Ranges.
18978 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18979 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18980 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18981 as_cr_digits
='0123456789'
18982 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18987 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18988 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18989 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18990 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18991 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18992 as_echo='printf %s
\n'
18993 as_echo_n='printf %s
'
18995 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18996 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18997 as_echo_n='/usr
/ucb
/echo -n'
18999 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19000 as_echo_n_body='eval
19004 expr "X$arg" : "X\\(.*\\)$as_nl";
19005 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19007 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19009 export as_echo_n_body
19010 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19012 export as_echo_body
19013 as_echo='sh
-c $as_echo_body as_echo
'
19016 # The user is always right.
19017 if test "${PATH_SEPARATOR+set}" != set; then
19019 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19020 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19025 # Support unset when possible.
19026 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19034 # We need space, tab and new line, in precisely that order. Quoting is
19035 # there to prevent editors from complaining about space-tab.
19036 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19037 # splitting by setting IFS to empty value.)
19040 # Find who we are. Look in the path if we contain no directory separator.
19042 *[\\/]* ) as_myself=$0 ;;
19043 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19044 for as_dir in $PATH
19047 test -z "$as_dir" && as_dir=.
19048 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19054 # We did not find ourselves, most probably we were run as `sh COMMAND'
19055 # in which case we are not to be found in the path.
19056 if test "x$as_myself" = x
; then
19059 if test ! -f "$as_myself"; then
19060 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19061 { (exit 1); exit 1; }
19064 # Work around bugs in pre-3.0 UWIN ksh.
19065 for as_var
in ENV MAIL MAILPATH
19066 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
19078 # Required to use basename.
19079 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19080 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19086 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19087 as_basename
=basename
19093 # Name of the executable.
19094 as_me
=`$as_basename -- "$0" ||
19095 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19096 X"$0" : 'X\(//\)$' \| \
19097 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19099 sed '/^.*\/\([^/][^/]*\)\/*$/{
19118 as_lineno_1
=$LINENO
19119 as_lineno_2
=$LINENO
19120 test "x$as_lineno_1" != "x$as_lineno_2" &&
19121 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
19123 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19124 # uniformly replaced by the line number. The first 'sed' inserts a
19125 # line-number line after each line using $LINENO; the second 'sed'
19126 # does the real work. The second script uses 'N' to pair each
19127 # line-number line with the line containing $LINENO, and appends
19128 # trailing '-' during substitution so that $LINENO is not a special
19129 # case at line end.
19130 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19131 # scripts with optimization help from Paolo Bonzini. Blame Lee
19132 # E. McMahon (1931-1989) for sed's syntax. :-)
19144 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19147 ' >$as_me.lineno
&&
19148 chmod +x
"$as_me.lineno" ||
19149 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19150 { (exit 1); exit 1; }; }
19152 # Don't try to exec as it changes $[0], causing all sort of problems
19153 # (the dirname of $[0] is not the place where we might find the
19154 # original and so on. Autoconf is especially sensitive to this).
19155 .
"./$as_me.lineno"
19156 # Exit status is that of the last command.
19161 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19167 ECHO_C
= ECHO_N
= ECHO_T
=
19168 case `echo -n x` in
19170 case `echo 'x\c'` in
19171 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19177 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19178 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19184 rm -f conf$$ conf$$.exe conf$$.
file
19185 if test -d conf$$.dir
; then
19186 rm -f conf$$.dir
/conf$$.
file
19189 mkdir conf$$.dir
2>/dev
/null
19191 if (echo >conf$$.
file) 2>/dev
/null
; then
19192 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19194 # ... but there are two gotchas:
19195 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19196 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19197 # In both cases, we have to default to `cp -p'.
19198 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19200 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19208 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19209 rmdir conf$$.dir
2>/dev
/null
19211 if mkdir
-p .
2>/dev
/null
; then
19214 test -d .
/-p && rmdir .
/-p
19218 if test -x / >/dev
/null
2>&1; then
19219 as_test_x
='test -x'
19221 if ls -dL / >/dev
/null
2>&1; then
19228 if test -d "$1"; then
19234 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
19235 ???[sx]*):;;*)false;;esac;fi
19239 as_executable_p
=$as_test_x
19241 # Sed expression to map a string onto a valid CPP name.
19242 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19244 # Sed expression to map a string onto a valid variable name.
19245 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19250 # Save the log message, to keep $[0] and so on meaningful, and to
19251 # report actual input values of CONFIG_FILES etc. instead of their
19252 # values after options handling.
19254 This file was extended by $as_me, which was
19255 generated by GNU Autoconf 2.63. Invocation command line was
19257 CONFIG_FILES = $CONFIG_FILES
19258 CONFIG_HEADERS = $CONFIG_HEADERS
19259 CONFIG_LINKS = $CONFIG_LINKS
19260 CONFIG_COMMANDS = $CONFIG_COMMANDS
19263 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19268 case $ac_config_files in *"
19269 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19272 case $ac_config_headers in *"
19273 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19278 # Files that config.status was made for.
19279 config_files="$ac_config_files"
19280 config_headers="$ac_config_headers"
19281 config_commands="$ac_config_commands"
19285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19287 \`$as_me' instantiates files from templates according to the
19288 current configuration.
19290 Usage: $0 [OPTION]... [FILE]...
19292 -h, --help print this help, then exit
19293 -V, --version print version number and configuration settings, then exit
19294 -q, --quiet, --silent
19295 do not print progress messages
19296 -d, --debug don't remove temporary files
19297 --recheck update $as_me by reconfiguring in the same conditions
19298 --file=FILE[:TEMPLATE]
19299 instantiate the configuration file FILE
19300 --header=FILE[:TEMPLATE]
19301 instantiate the configuration header FILE
19303 Configuration files:
19306 Configuration headers:
19309 Configuration commands:
19312 Report bugs to <bug-autoconf@gnu.org>."
19315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19318 configured by $0, generated by GNU Autoconf 2.63,
19319 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19321 Copyright (C) 2008 Free Software Foundation, Inc.
19322 This config.status script is free software; the Free Software Foundation
19323 gives unlimited permission to copy, distribute and modify it."
19330 test -n "\$AWK" || AWK=awk
19333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19334 # The default lists apply if the user does not specify any file.
19340 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19341 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19352 # Handling of the options.
19353 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19355 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19356 $as_echo "$ac_cs_version"; exit ;;
19357 --debug |
--debu |
--deb |
--de |
--d |
-d )
19359 --file |
--fil |
--fi |
--f )
19362 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19364 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
19365 ac_need_defaults
=false
;;
19366 --header |
--heade |
--head |
--hea )
19369 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19371 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
19372 ac_need_defaults
=false
;;
19374 # Conflict between --help and --header
19375 { $as_echo "$as_me: error: ambiguous option: $1
19376 Try \`$0 --help' for more information." >&2
19377 { (exit 1); exit 1; }; };;
19378 --help |
--hel |
-h )
19379 $as_echo "$ac_cs_usage"; exit ;;
19380 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19381 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19384 # This is an error.
19385 -*) { $as_echo "$as_me: error: unrecognized option: $1
19386 Try \`$0 --help' for more information." >&2
19387 { (exit 1); exit 1; }; } ;;
19389 *) ac_config_targets
="$ac_config_targets $1"
19390 ac_need_defaults
=false
;;
19396 ac_configure_extra_args
=
19398 if $ac_cs_silent; then
19400 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19405 if \$ac_cs_recheck; then
19406 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19408 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19409 CONFIG_SHELL='$SHELL'
19410 export CONFIG_SHELL
19415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19419 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19420 ## Running $as_me. ##
19426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19430 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19433 # The HP-UX ksh and POSIX shell print the target directory to stdout
19434 # if CDPATH is set.
19435 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19437 sed_quote_subst='$sed_quote_subst'
19438 double_quote_subst='$double_quote_subst'
19439 delay_variable_subst='$delay_variable_subst'
19440 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19441 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19442 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19443 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19444 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19445 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19446 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19447 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19448 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19449 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19450 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19451 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19452 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19453 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19454 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19455 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19456 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19457 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19458 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19459 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19460 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19461 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19462 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19463 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19464 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19465 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19466 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19467 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19468 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19469 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19470 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19471 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19472 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19473 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19474 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19475 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19476 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19477 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19478 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19479 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19480 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19481 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19482 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19483 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19484 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"`'
19485 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"`'
19486 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19487 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19488 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19489 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19490 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19491 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19492 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19493 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19494 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19495 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19496 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19497 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19498 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19499 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19500 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19501 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19502 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19503 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19504 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19505 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19506 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19507 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19508 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19509 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19510 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19511 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19512 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19513 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19514 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19515 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19516 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19517 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19518 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19519 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19520 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19521 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19522 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19523 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19524 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19525 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19526 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19527 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19528 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19529 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19530 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19531 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19532 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19533 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19534 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19535 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19536 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19537 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19538 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19539 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19540 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19541 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19542 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19543 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19544 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19545 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19546 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19547 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19548 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19549 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19550 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19551 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19552 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19553 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19554 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19555 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19556 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19557 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19560 LTCFLAGS='$LTCFLAGS'
19561 compiler='$compiler_DEFAULT'
19563 # Quote evaled strings.
19575 deplibs_check_method \
19584 lt_cv_sys_global_symbol_pipe \
19585 lt_cv_sys_global_symbol_to_cdecl \
19586 lt_cv_sys_global_symbol_to_c_name_address \
19587 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19590 lt_prog_compiler_no_builtin_flag \
19591 lt_prog_compiler_wl \
19592 lt_prog_compiler_pic \
19593 lt_prog_compiler_static \
19594 lt_cv_prog_compiler_c_o \
19602 export_dynamic_flag_spec \
19603 whole_archive_flag_spec \
19604 compiler_needs_object \
19606 allow_undefined_flag \
19607 no_undefined_flag \
19608 hardcode_libdir_flag_spec \
19609 hardcode_libdir_flag_spec_ld \
19610 hardcode_libdir_separator \
19615 variables_saved_for_relink \
19617 library_names_spec \
19622 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19623 *[\\\\\\\`\\"\\\$]*)
19624 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19627 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19632 # Double-quote double-evaled strings.
19633 for var in reload_cmds \
19634 old_postinstall_cmds \
19635 old_postuninstall_cmds \
19637 extract_expsyms_cmds \
19638 old_archive_from_new_cmds \
19639 old_archive_from_expsyms_cmds \
19641 archive_expsym_cmds \
19643 module_expsym_cmds \
19644 export_symbols_cmds \
19647 postuninstall_cmds \
19649 sys_lib_search_path_spec \
19650 sys_lib_dlsearch_path_spec; do
19651 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19652 *[\\\\\\\`\\"\\\$]*)
19653 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19656 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19661 # Fix-up fallback echo if it was mangled by the above quoting rules.
19663 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19667 ac_aux_dir='$ac_aux_dir'
19668 xsi_shell='$xsi_shell'
19669 lt_shell_append='$lt_shell_append'
19671 # See if we are running on zsh, and set the options which allow our
19672 # commands through without removal of \ escapes INIT.
19673 if test -n "\${ZSH_VERSION+set}" ; then
19674 setopt NO_GLOB_SUBST
19680 TIMESTAMP='$TIMESTAMP'
19689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19691 # Handling of arguments.
19692 for ac_config_target
in $ac_config_targets
19694 case $ac_config_target in
19695 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
19696 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19697 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19698 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19699 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19700 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
19701 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
19702 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
19703 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
19704 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19705 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19706 "spl.spec") CONFIG_FILES
="$CONFIG_FILES spl.spec" ;;
19707 "spl-modules.spec") CONFIG_FILES
="$CONFIG_FILES spl-modules.spec" ;;
19709 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19710 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19711 { (exit 1); exit 1; }; };;
19716 # If the user did not use the arguments to specify the items to instantiate,
19717 # then the envvar interface is used. Set only those that are not.
19718 # We use the long form for the default assignment because of an extremely
19719 # bizarre bug on SunOS 4.1.3.
19720 if $ac_need_defaults; then
19721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19723 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19726 # Have a temporary directory for convenience. Make it in the build tree
19727 # simply because there is no reason against having it here, and in addition,
19728 # creating and moving files from /tmp can sometimes cause problems.
19729 # Hook for its removal unless debugging.
19730 # Note that there is a small window in which the directory will not be cleaned:
19731 # after its creation but before its name has been assigned to `$tmp'.
19735 trap 'exit_status=$?
19736 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19738 trap '{ (exit 1); exit 1; }' 1 2 13 15
19740 # Create a (secure) tmp directory for tmp files.
19743 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19744 test -n "$tmp" && test -d "$tmp"
19747 tmp
=.
/conf$$
-$RANDOM
19748 (umask 077 && mkdir
"$tmp")
19751 $as_echo "$as_me: cannot create a temporary directory in ." >&2
19752 { (exit 1); exit 1; }
19755 # Set up the scripts for CONFIG_FILES section.
19756 # No need to generate them if there are no CONFIG_FILES.
19757 # This happens for instance with `./config.status config.h'.
19758 if test -n "$CONFIG_FILES"; then
19762 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19763 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19766 ac_cs_awk_cr
=$ac_cr
19769 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19774 echo "cat >conf$$subs.awk <<_ACEOF" &&
19775 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19777 } >conf$$subs.sh ||
19778 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19779 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19780 { (exit 1); exit 1; }; }
19781 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
19783 for ac_last_try in false false false false false :; do
19784 . ./conf$$subs.sh ||
19785 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19786 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19787 { (exit 1); exit 1; }; }
19789 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19790 if test $ac_delim_n = $ac_delim_num; then
19792 elif $ac_last_try; then
19793 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19794 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19795 { (exit 1); exit 1; }; }
19797 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19800 rm -f conf$$subs.sh
19802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19803 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
19807 s/^/S["/; s
/!.
*/"]=/
19817 s/\(.\{148\}\).*/\1/
19819 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19824 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19831 s/\(.\{148\}\).*/\1/
19833 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19837 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19842 ' <conf$$subs.awk | sed '
19847 ' >>$CONFIG_STATUS || ac_write_fail=1
19848 rm -f conf$$subs.awk
19849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19851 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
19852 for (key in S) S_is_set[key] = 1
19858 nfields = split(line, field, "@
")
19860 len = length(field[1])
19861 for (i = 2; i < nfields; i++) {
19863 keylen = length(key)
19864 if (S_is_set[key]) {
19866 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19867 len += length(value) + length(field[++i])
19878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19879 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19880 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19883 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
19884 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
19885 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
19886 { (exit 1); exit 1; }; }
19889 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19890 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
19891 # trailing colons and then remove the whole line if VPATH becomes empty
19892 # (actually we leave an empty line to preserve line numbers).
19893 if test "x
$srcdir" = x.; then
19894 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19895 s/:*\$(srcdir):*/:/
19896 s/:*\${srcdir}:*/:/
19898 s/^\([^=]*=[ ]*\):*/\1/
19904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19905 fi # test -n "$CONFIG_FILES"
19907 # Set up the scripts for CONFIG_HEADERS section.
19908 # No need to generate them if there are no CONFIG_HEADERS.
19909 # This happens for instance with `./config.status Makefile'.
19910 if test -n "$CONFIG_HEADERS"; then
19911 cat >"$tmp/defines.
awk" <<\_ACAWK ||
19915 # Transform confdefs.h into an awk script `defines.awk', embedded as
19916 # here-document in config.status, that substitutes the proper values into
19917 # config.h.in to produce config.h.
19919 # Create a delimiter string that does not exist in confdefs.h, to ease
19920 # handling of long lines.
19922 for ac_last_try in false false :; do
19923 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
19924 if test -z "$ac_t"; then
19926 elif $ac_last_try; then
19927 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
19928 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
19929 { (exit 1); exit 1; }; }
19931 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19935 # For the awk script, D is an array of macro values keyed by name,
19936 # likewise P contains macro parameters if any. Preserve backslash
19937 # newline sequences.
19939 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19941 s/.\{148\}/&'"$ac_delim"'/g
19944 s/^[ ]*#[ ]*define[ ][ ]*/ /
19951 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19953 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19957 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19958 D["\
1"]=" \
3\\\\\\n
"\\/p
19960 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19965 s/.\{148\}/&'"$ac_delim"'/g
19970 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19973 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19975 ' <confdefs.h | sed '
19976 s/'"$ac_delim"'/"\\\
19977 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19980 for (key in D) D_is_set[key] = 1
19983 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19985 split(line, arg, " ")
19986 if (arg[1] == "#") {
19990 defundef
= substr
(arg
[1], 2)
19993 split(mac1
, mac2
, "(") #)
19995 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19996 if (D_is_set
[macro
]) {
19997 # Preserve the white space surrounding the "#".
19998 print prefix
"define", macro P
[macro
] D
[macro
]
20001 # Replace #undef with comments. This is necessary, for example,
20002 # in the case of _POSIX_SOURCE, which is predefined and required
20003 # on some systems where configure will not decide to define it.
20004 if (defundef
== "undef") {
20005 print
"/*", prefix defundef
, macro
, "*/"
20013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20014 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
20015 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
20016 { (exit 1); exit 1; }; }
20017 fi # test -n "$CONFIG_HEADERS"
20020 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20025 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20027 case $ac_mode$ac_tag in
20029 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
20030 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
20031 { (exit 1); exit 1; }; };;
20032 :[FH
]-) ac_tag
=-:-;;
20033 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20050 -) ac_f
="$tmp/stdin";;
20051 *) # Look for the file first in the build tree, then in the source tree
20052 # (if the path is not absolute). The absolute path cannot be DOS-style,
20053 # because $ac_f cannot contain `:'.
20057 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20059 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20060 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20061 { (exit 1); exit 1; }; };;
20063 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20064 ac_file_inputs
="$ac_file_inputs '$ac_f'"
20067 # Let's still pretend it is `configure' which instantiates (i.e., don't
20068 # use $as_me), people would be surprised to read:
20069 # /* config.h. Generated by config.status. */
20070 configure_input
='Generated from '`
20071 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20073 if test x
"$ac_file" != x-
; then
20074 configure_input
="$ac_file. $configure_input"
20075 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
20076 $as_echo "$as_me: creating $ac_file" >&6;}
20078 # Neutralize special characters interpreted by sed in replacement strings.
20079 case $configure_input in #(
20080 *\
&* |
*\|
* |
*\\* )
20081 ac_sed_conf_input
=`$as_echo "$configure_input" |
20082 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20083 *) ac_sed_conf_input
=$configure_input;;
20087 *:-:* |
*:-) cat >"$tmp/stdin" \
20088 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
20089 $as_echo "$as_me: error: could not create $ac_file" >&2;}
20090 { (exit 1); exit 1; }; } ;;
20095 ac_dir
=`$as_dirname -- "$ac_file" ||
20096 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20097 X"$ac_file" : 'X\(//\)[^/]' \| \
20098 X"$ac_file" : 'X\(//\)$' \| \
20099 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20100 $as_echo X"$ac_file" |
20101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20105 /^X\(\/\/\)[^/].*/{
20120 -*) as_dir
=.
/$as_dir;;
20122 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20126 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20127 *) as_qdir
=$as_dir;;
20129 as_dirs
="'$as_qdir' $as_dirs"
20130 as_dir
=`$as_dirname -- "$as_dir" ||
20131 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20132 X"$as_dir" : 'X\(//\)[^/]' \| \
20133 X"$as_dir" : 'X\(//\)$' \| \
20134 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20135 $as_echo X"$as_dir" |
20136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20140 /^X\(\/\/\)[^/].*/{
20153 test -d "$as_dir" && break
20155 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20156 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20157 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20158 { (exit 1); exit 1; }; }; }
20162 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20164 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20165 # A ".." for each directory in $ac_dir_suffix.
20166 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20167 case $ac_top_builddir_sub in
20168 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20169 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20172 ac_abs_top_builddir
=$ac_pwd
20173 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20174 # for backward compatibility:
20175 ac_top_builddir
=$ac_top_build_prefix
20178 .
) # We are building in place.
20180 ac_top_srcdir
=$ac_top_builddir_sub
20181 ac_abs_top_srcdir
=$ac_pwd ;;
20182 [\\/]* | ?
:[\\/]* ) # Absolute name.
20183 ac_srcdir
=$srcdir$ac_dir_suffix;
20184 ac_top_srcdir
=$srcdir
20185 ac_abs_top_srcdir
=$srcdir ;;
20186 *) # Relative name.
20187 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20188 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20189 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20191 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20201 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20202 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20204 ac_MKDIR_P
=$MKDIR_P
20206 [\\/$
]* | ?
:[\\/]* ) ;;
20207 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20212 # If the template does not know about datarootdir, expand it.
20213 # FIXME: This hack should be removed a few years after 2.60.
20214 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20227 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20228 *datarootdir
*) ac_datarootdir_seen
=yes;;
20229 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20230 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20231 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20234 ac_datarootdir_hack='
20235 s&@datadir@&$datadir&g
20236 s&@docdir@&$docdir&g
20237 s&@infodir@&$infodir&g
20238 s&@localedir@&$localedir&g
20239 s&@mandir@&$mandir&g
20240 s&\\\${datarootdir}&$datarootdir&g' ;;
20244 # Neutralize VPATH when `$srcdir' = `.'.
20245 # Shell code in configure.ac might set extrasub.
20246 # FIXME: do we really want to maintain this feature?
20247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20248 ac_sed_extra="$ac_vpsub
20251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20253 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20254 s|@configure_input@|
$ac_sed_conf_input|
;t t
20255 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20256 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20257 s
&@srcdir@
&$ac_srcdir&;t t
20258 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20259 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20260 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20261 s
&@builddir@
&$ac_builddir&;t t
20262 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20263 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20264 s
&@INSTALL@
&$ac_INSTALL&;t t
20265 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20266 $ac_datarootdir_hack
20268 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
20269 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
20270 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
20271 { (exit 1); exit 1; }; }
20273 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20274 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20275 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20276 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20277 which seems to be undefined. Please make sure it is defined." >&5
20278 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20279 which seems to be undefined. Please make sure it is defined." >&2;}
20283 -) cat "$tmp/out" && rm -f "$tmp/out";;
20284 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20286 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
20287 $as_echo "$as_me: error: could not create $ac_file" >&2;}
20288 { (exit 1); exit 1; }; }
20294 if test x"$ac_file" != x-; then
20296 $as_echo "/* $configure_input */" \
20297 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20298 } >"$tmp/config.h" \
20299 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
20300 $as_echo "$as_me: error: could not create $ac_file" >&2;}
20301 { (exit 1); exit 1; }; }
20302 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20303 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20304 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20307 mv "$tmp/config.h" "$ac_file" \
20308 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
20309 $as_echo "$as_me: error: could not create $ac_file" >&2;}
20310 { (exit 1); exit 1; }; }
20313 $as_echo "/* $configure_input */" \
20314 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20315 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
20316 $as_echo "$as_me: error: could not create -" >&2;}
20317 { (exit 1); exit 1; }; }
20319 # Compute "$ac_file"'s index
in $config_headers.
20322 for _am_header
in $config_headers :; do
20323 case $_am_header in
20324 $_am_arg |
$_am_arg:* )
20327 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20330 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20331 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20332 X"$_am_arg" : 'X\(//\)[^/]' \| \
20333 X"$_am_arg" : 'X\(//\)$' \| \
20334 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20335 $as_echo X"$_am_arg" |
20336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20340 /^X\(\/\/\)[^/].*/{
20352 s/.*/./; q'`/stamp-h
$_am_stamp_count
20355 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
20356 $as_echo "$as_me: executing $ac_file commands" >&6;}
20361 case $ac_file$ac_mode in
20363 (mv spl_config.h spl_config.h.tmp
&&
20364 awk -f ${ac_srcdir}/config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
20365 rm spl_config.h.tmp
) ||
exit 1 ;;
20366 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
20367 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20368 # are listed without --file. Let's play safe and only enable the eval
20369 # if we detect the quoting.
20370 case $CONFIG_FILES in
20371 *\'*) eval set x
"$CONFIG_FILES" ;;
20372 *) set x
$CONFIG_FILES ;;
20377 # Strip MF so we end up with the name of the file.
20378 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20379 # Check whether this is an Automake generated Makefile or not.
20380 # We used to match only the files named `Makefile.in', but
20381 # some people rename them; so instead we look at the file content.
20382 # Grep'ing the first line is not enough: some people post-process
20383 # each Makefile.in and add a new line on top of each file to say so.
20384 # Grep'ing the whole file is not good either: AIX grep has a line
20385 # limit of 2048, but all sed's we know have understand at least 4000.
20386 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20387 dirpart
=`$as_dirname -- "$mf" ||
20388 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20389 X"$mf" : 'X\(//\)[^/]' \| \
20390 X"$mf" : 'X\(//\)$' \| \
20391 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20397 /^X\(\/\/\)[^/].*/{
20413 # Extract the definition of DEPDIR, am__include, and am__quote
20414 # from the Makefile without running `make'.
20415 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20416 test -z "$DEPDIR" && continue
20417 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20418 test -z "am__include" && continue
20419 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20420 # When using ansi2knr, U may be empty or an underscore; expand it
20421 U
=`sed -n 's/^U = //p' < "$mf"`
20422 # Find all dependency output files, they are included files with
20423 # $(DEPDIR) in their names. We invoke sed twice because it is the
20424 # simplest approach to changing $(DEPDIR) to its actual value in the
20426 for file in `sed -n "
20427 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20428 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20429 # Make sure the directory exists.
20430 test -f "$dirpart/$file" && continue
20431 fdir
=`$as_dirname -- "$file" ||
20432 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20433 X"$file" : 'X\(//\)[^/]' \| \
20434 X"$file" : 'X\(//\)$' \| \
20435 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20436 $as_echo X"$file" |
20437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20441 /^X\(\/\/\)[^/].*/{
20454 { as_dir
=$dirpart/$fdir
20456 -*) as_dir
=.
/$as_dir;;
20458 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20462 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20463 *) as_qdir
=$as_dir;;
20465 as_dirs
="'$as_qdir' $as_dirs"
20466 as_dir
=`$as_dirname -- "$as_dir" ||
20467 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20468 X"$as_dir" : 'X\(//\)[^/]' \| \
20469 X"$as_dir" : 'X\(//\)$' \| \
20470 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20471 $as_echo X"$as_dir" |
20472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20476 /^X\(\/\/\)[^/].*/{
20489 test -d "$as_dir" && break
20491 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20492 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20493 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20494 { (exit 1); exit 1; }; }; }
20495 # echo "creating $dirpart/$file"
20496 echo '# dummy' > "$dirpart/$file"
20503 # See if we are running on zsh, and set the options which allow our
20504 # commands through without removal of \ escapes.
20505 if test -n "${ZSH_VERSION+set}" ; then
20506 setopt NO_GLOB_SUBST
20509 cfgfile
="${ofile}T"
20510 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20513 cat <<_LT_EOF >> "$cfgfile"
20516 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20517 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20518 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20519 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20521 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20522 # 2006, 2007, 2008 Free Software Foundation, Inc.
20523 # Written by Gordon Matzigkeit, 1996
20525 # This file is part of GNU Libtool.
20527 # GNU Libtool is free software; you can redistribute it and/or
20528 # modify it under the terms of the GNU General Public License as
20529 # published by the Free Software Foundation; either version 2 of
20530 # the License, or (at your option) any later version.
20532 # As a special exception to the GNU General Public License,
20533 # if you distribute this file as part of a program or library that
20534 # is built using GNU Libtool, you may include this file under the
20535 # same distribution terms that you use for the rest of that program.
20537 # GNU Libtool is distributed in the hope that it will be useful,
20538 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20539 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20540 # GNU General Public License for more details.
20542 # You should have received a copy of the GNU General Public License
20543 # along with GNU Libtool; see the file COPYING. If not, a copy
20544 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20545 # obtained by writing to the Free Software Foundation, Inc.,
20546 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20549 # The names of the tagged configurations supported by this script.
20552 # ### BEGIN LIBTOOL CONFIG
20554 # Which release of libtool.m4 was used?
20555 macro_version=$macro_version
20556 macro_revision=$macro_revision
20558 # Whether or not to build shared libraries.
20559 build_libtool_libs=$enable_shared
20561 # Whether or not to build static libraries.
20562 build_old_libs=$enable_static
20564 # What type of objects to build.
20567 # Whether or not to optimize for fast installation.
20568 fast_install=$enable_fast_install
20571 host_alias=$host_alias
20575 # The build system.
20576 build_alias=$build_alias
20580 # A sed program that does not truncate output.
20583 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20584 Xsed="\$SED -e 1s/^X//"
20586 # A grep program that handles long lines.
20592 # A literal string matcher.
20595 # A BSD- or MS-compatible name lister.
20598 # Whether we need soft or hard links.
20601 # What is the maximum length of a command?
20602 max_cmd_len=$max_cmd_len
20604 # Object file suffix (normally "o").
20607 # Executable file suffix (normally "").
20610 # whether the shell understands "unset".
20613 # turn spaces into newlines.
20616 # turn newlines into spaces.
20619 # How to create reloadable object files.
20620 reload_flag=$lt_reload_flag
20621 reload_cmds=$lt_reload_cmds
20623 # An object symbol dumper.
20624 OBJDUMP=$lt_OBJDUMP
20626 # Method to check whether dependent libraries are shared objects.
20627 deplibs_check_method=$lt_deplibs_check_method
20629 # Command to use when deplibs_check_method == "file_magic".
20630 file_magic_cmd=$lt_file_magic_cmd
20634 AR_FLAGS=$lt_AR_FLAGS
20636 # A symbol stripping program.
20639 # Commands used to install an old-style archive.
20641 old_postinstall_cmds=$lt_old_postinstall_cmds
20642 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20647 # LTCC compiler flags.
20648 LTCFLAGS=$lt_CFLAGS
20650 # Take the output of nm and produce a listing of raw symbols and C names.
20651 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20653 # Transform the output of nm in a proper C declaration.
20654 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20656 # Transform the output of nm in a C name address pair.
20657 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20659 # Transform the output of nm in a C name address pair when lib prefix is needed.
20660 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20662 # The name of the directory that contains temporary libtool files.
20665 # Shell to use when invoking shell scripts.
20668 # An echo program that does not interpret backslashes.
20671 # Used to examine libraries when file_magic_cmd begins with "file".
20672 MAGIC_CMD=$MAGIC_CMD
20674 # Must we lock files when doing compilation?
20675 need_locks=$lt_need_locks
20677 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20678 DSYMUTIL=$lt_DSYMUTIL
20680 # Tool to change global to local symbols on Mac OS X.
20683 # Tool to manipulate fat objects and archives on Mac OS X.
20686 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20689 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20690 OTOOL64=$lt_OTOOL64
20692 # Old archive suffix (normally "a").
20695 # Shared library suffix (normally ".so").
20696 shrext_cmds=$lt_shrext_cmds
20698 # The commands to extract the exported symbol list from a shared archive.
20699 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20701 # Variables whose values should be saved in libtool wrapper scripts and
20702 # restored at link time.
20703 variables_saved_for_relink=$lt_variables_saved_for_relink
20705 # Do we need the "lib" prefix for modules?
20706 need_lib_prefix=$need_lib_prefix
20708 # Do we need a version for libraries?
20709 need_version=$need_version
20711 # Library versioning type.
20712 version_type=$version_type
20714 # Shared library runtime path variable.
20715 runpath_var=$runpath_var
20717 # Shared library path variable.
20718 shlibpath_var=$shlibpath_var
20720 # Is shlibpath searched before the hard-coded library search path?
20721 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20723 # Format of library name prefix.
20724 libname_spec=$lt_libname_spec
20726 # List of archive names. First name is the real one, the rest are links.
20727 # The last name is the one that the linker finds with -lNAME
20728 library_names_spec=$lt_library_names_spec
20730 # The coded name of the library, if different from the real name.
20731 soname_spec=$lt_soname_spec
20733 # Command to use after installation of a shared archive.
20734 postinstall_cmds=$lt_postinstall_cmds
20736 # Command to use after uninstallation of a shared archive.
20737 postuninstall_cmds=$lt_postuninstall_cmds
20739 # Commands used to finish a libtool library installation in a directory.
20740 finish_cmds=$lt_finish_cmds
20742 # As "finish_cmds", except a single script fragment to be evaled but
20744 finish_eval=$lt_finish_eval
20746 # Whether we should hardcode library paths into libraries.
20747 hardcode_into_libs=$hardcode_into_libs
20749 # Compile-time system search path for libraries.
20750 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20752 # Run-time system search path for libraries.
20753 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20755 # Whether dlopen is supported.
20756 dlopen_support=$enable_dlopen
20758 # Whether dlopen of programs is supported.
20759 dlopen_self=$enable_dlopen_self
20761 # Whether dlopen of statically linked programs is supported.
20762 dlopen_self_static=$enable_dlopen_self_static
20764 # Commands to strip libraries.
20765 old_striplib=$lt_old_striplib
20766 striplib=$lt_striplib
20769 # The linker used to build libraries.
20772 # Commands used to build an old-style archive.
20773 old_archive_cmds=$lt_old_archive_cmds
20775 # A language specific compiler.
20778 # Is the compiler the GNU compiler?
20781 # Compiler flag to turn off builtin functions.
20782 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20784 # How to pass a linker flag through the compiler.
20785 wl=$lt_lt_prog_compiler_wl
20787 # Additional compiler flags for building library objects.
20788 pic_flag=$lt_lt_prog_compiler_pic
20790 # Compiler flag to prevent dynamic linking.
20791 link_static_flag=$lt_lt_prog_compiler_static
20793 # Does compiler simultaneously support -c and -o options?
20794 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20796 # Whether or not to add -lc for building shared libraries.
20797 build_libtool_need_lc=$archive_cmds_need_lc
20799 # Whether or not to disallow shared libs when runtime libs are static.
20800 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20802 # Compiler flag to allow reflexive dlopens.
20803 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20805 # Compiler flag to generate shared objects directly from archives.
20806 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20808 # Whether the compiler copes with passing no objects directly.
20809 compiler_needs_object=$lt_compiler_needs_object
20811 # Create an old-style archive from a shared archive.
20812 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20814 # Create a temporary old-style archive to link instead of a shared archive.
20815 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20817 # Commands used to build a shared archive.
20818 archive_cmds=$lt_archive_cmds
20819 archive_expsym_cmds=$lt_archive_expsym_cmds
20821 # Commands used to build a loadable module if different from building
20822 # a shared archive.
20823 module_cmds=$lt_module_cmds
20824 module_expsym_cmds=$lt_module_expsym_cmds
20826 # Whether we are building with GNU ld or not.
20827 with_gnu_ld=$lt_with_gnu_ld
20829 # Flag that allows shared libraries with undefined symbols to be built.
20830 allow_undefined_flag=$lt_allow_undefined_flag
20832 # Flag that enforces no undefined symbols.
20833 no_undefined_flag=$lt_no_undefined_flag
20835 # Flag to hardcode \$libdir into a binary during linking.
20836 # This must work even if \$libdir does not exist
20837 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20839 # If ld is used when linking, flag to hardcode \$libdir into a binary
20840 # during linking. This must work even if \$libdir does not exist.
20841 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20843 # Whether we need a single "-rpath" flag with a separated argument.
20844 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20846 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20847 # DIR into the resulting binary.
20848 hardcode_direct=$hardcode_direct
20850 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20851 # DIR into the resulting binary and the resulting library dependency is
20852 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20853 # library is relocated.
20854 hardcode_direct_absolute=$hardcode_direct_absolute
20856 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20857 # into the resulting binary.
20858 hardcode_minus_L=$hardcode_minus_L
20860 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20861 # into the resulting binary.
20862 hardcode_shlibpath_var=$hardcode_shlibpath_var
20864 # Set to "yes" if building a shared library automatically hardcodes DIR
20865 # into the library and all subsequent libraries and executables linked
20867 hardcode_automatic=$hardcode_automatic
20869 # Set to yes if linker adds runtime paths of dependent libraries
20870 # to runtime path list.
20871 inherit_rpath=$inherit_rpath
20873 # Whether libtool must link a program against all its dependency libraries.
20874 link_all_deplibs=$link_all_deplibs
20876 # Fix the shell variable \$srcfile for the compiler.
20877 fix_srcfile_path=$lt_fix_srcfile_path
20879 # Set to "yes" if exported symbols are required.
20880 always_export_symbols=$always_export_symbols
20882 # The commands to list exported symbols.
20883 export_symbols_cmds=$lt_export_symbols_cmds
20885 # Symbols that should not be listed in the preloaded symbols.
20886 exclude_expsyms=$lt_exclude_expsyms
20888 # Symbols that must always be exported.
20889 include_expsyms=$lt_include_expsyms
20891 # Commands necessary for linking programs (against libraries) with templates.
20892 prelink_cmds=$lt_prelink_cmds
20894 # Specify filename containing input files.
20895 file_list_spec=$lt_file_list_spec
20897 # How to hardcode a shared library path into an executable.
20898 hardcode_action=$hardcode_action
20900 # ### END LIBTOOL CONFIG
20906 cat <<\_LT_EOF
>> "$cfgfile"
20907 # AIX sometimes has problems with the GCC collect2 program. For some
20908 # reason, if we set the COLLECT_NAMES environment variable, the problems
20909 # vanish in a puff of smoke.
20910 if test "X${COLLECT_NAMES+set}" != Xset
; then
20912 export COLLECT_NAMES
20919 ltmain
="$ac_aux_dir/ltmain.sh"
20922 # We use sed instead of cat because bash on DJGPP gets confused if
20923 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20924 # text mode, it properly converts lines to CR/LF. This bash problem
20925 # is reportedly fixed, but why not run on old versions too?
20926 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20927 ||
(rm -f "$cfgfile"; exit 1)
20931 cat << \_LT_EOF
>> "$cfgfile"
20933 # func_dirname file append nondir_replacement
20934 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20935 # otherwise set result to NONDIR_REPLACEMENT.
20939 */*) func_dirname_result
="${1%/*}${2}" ;;
20940 * ) func_dirname_result
="${3}" ;;
20944 # func_basename file
20947 func_basename_result
="${1##*/}"
20950 # func_dirname_and_basename file append nondir_replacement
20951 # perform func_basename and func_dirname in a single function
20953 # dirname: Compute the dirname of FILE. If nonempty,
20954 # add APPEND to the result, otherwise set result
20955 # to NONDIR_REPLACEMENT.
20956 # value returned in "$func_dirname_result"
20957 # basename: Compute filename of FILE.
20958 # value retuned in "$func_basename_result"
20959 # Implementation must be kept synchronized with func_dirname
20960 # and func_basename. For efficiency, we do not delegate to
20961 # those functions but instead duplicate the functionality here.
20962 func_dirname_and_basename
()
20965 */*) func_dirname_result
="${1%/*}${2}" ;;
20966 * ) func_dirname_result
="${3}" ;;
20968 func_basename_result
="${1##*/}"
20971 # func_stripname prefix suffix name
20972 # strip PREFIX and SUFFIX off of NAME.
20973 # PREFIX and SUFFIX must not contain globbing or regex special
20974 # characters, hashes, percent signs, but SUFFIX may contain a leading
20975 # dot (in which case that matches only a dot).
20978 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20979 # positional parameters, so assign one to ordinary parameter first.
20980 func_stripname_result
=${3}
20981 func_stripname_result
=${func_stripname_result#"${1}"}
20982 func_stripname_result
=${func_stripname_result%"${2}"}
20988 func_opt_split_opt
=${1%%=*}
20989 func_opt_split_arg
=${1#*=}
20996 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20997 *) func_lo2o_result
=${1} ;;
21001 # func_xform libobj-or-source
21004 func_xform_result
=${1%.*}.lo
21007 # func_arith arithmetic-term...
21010 func_arith_result
=$
(( $
* ))
21014 # STRING may not start with a hyphen.
21017 func_len_result
=${#1}
21022 *) # Bourne compatible functions.
21023 cat << \_LT_EOF
>> "$cfgfile"
21025 # func_dirname file append nondir_replacement
21026 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21027 # otherwise set result to NONDIR_REPLACEMENT.
21030 # Extract subdirectory from the argument.
21031 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21032 if test "X$func_dirname_result" = "X${1}"; then
21033 func_dirname_result
="${3}"
21035 func_dirname_result
="$func_dirname_result${2}"
21039 # func_basename file
21042 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21046 # func_stripname prefix suffix name
21047 # strip PREFIX and SUFFIX off of NAME.
21048 # PREFIX and SUFFIX must not contain globbing or regex special
21049 # characters, hashes, percent signs, but SUFFIX may contain a leading
21050 # dot (in which case that matches only a dot).
21051 # func_strip_suffix prefix name
21055 .
*) func_stripname_result
=`$ECHO "X${3}" \
21056 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21057 *) func_stripname_result
=`$ECHO "X${3}" \
21058 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21063 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21064 my_sed_long_arg
='1s/^-[^=]*=//'
21069 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21070 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21076 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21079 # func_xform libobj-or-source
21082 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21085 # func_arith arithmetic-term...
21088 func_arith_result
=`expr "$@"`
21092 # STRING may not start with a hyphen.
21095 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21101 case $lt_shell_append in
21103 cat << \_LT_EOF
>> "$cfgfile"
21105 # func_append var value
21106 # Append VALUE to the end of shell variable VAR.
21114 cat << \_LT_EOF
>> "$cfgfile"
21116 # func_append var value
21117 # Append VALUE to the end of shell variable VAR.
21128 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21129 ||
(rm -f "$cfgfile"; exit 1)
21131 mv -f "$cfgfile" "$ofile" ||
21132 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21141 { (exit 0); exit 0; }
21143 chmod +x
$CONFIG_STATUS
21144 ac_clean_files
=$ac_clean_files_save
21146 test $ac_write_fail = 0 ||
21147 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
21148 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
21149 { (exit 1); exit 1; }; }
21152 # configure is writing to config.log, and then calls config.status.
21153 # config.status does its own redirection, appending to config.log.
21154 # Unfortunately, on DOS this fails, as config.log is still kept open
21155 # by configure, so config.status won't be able to write to it; its
21156 # output is simply discarded. So we exec the FD to /dev/null,
21157 # effectively closing config.log, so it can be properly (re)opened and
21158 # appended to by config.status. When coming back to configure, we
21159 # need to make the FD available again.
21160 if test "$no_create" != yes; then
21162 ac_config_status_args
=
21163 test "$silent" = yes &&
21164 ac_config_status_args
="$ac_config_status_args --quiet"
21166 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21168 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21169 # would make configure fail if this is the last instruction.
21170 $ac_cs_success ||
{ (exit 1); exit 1; }
21172 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21173 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21174 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}