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
846 INSTALL_STRIP_PROGRAM
864 MAINTAINER_MODE_FALSE
914 program_transform_name
926 enable_option_checking
927 enable_maintainer_mode
929 enable_dependency_tracking
941 enable_debug_kmem_tracking
942 enable_atomic_spinlocks
944 ac_precious_vars
='build_alias
955 # Initialize some variables set by options.
957 ac_init_version
=false
958 ac_unrecognized_opts
=
960 # The variables have the same names as the options, with
961 # dashes changed to underlines.
969 program_transform_name
=s
,x
,x
,
977 # Installation directory options.
978 # These are left unexpanded so users can "make install exec_prefix=/foo"
979 # and all the variables that are supposed to be based on exec_prefix
980 # by default will actually change.
981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
983 bindir
='${exec_prefix}/bin'
984 sbindir
='${exec_prefix}/sbin'
985 libexecdir
='${exec_prefix}/libexec'
986 datarootdir
='${prefix}/share'
987 datadir
='${datarootdir}'
988 sysconfdir
='${prefix}/etc'
989 sharedstatedir
='${prefix}/com'
990 localstatedir
='${prefix}/var'
991 includedir
='${prefix}/include'
992 oldincludedir
='/usr/include'
993 docdir
='${datarootdir}/doc/${PACKAGE}'
994 infodir
='${datarootdir}/info'
999 libdir
='${exec_prefix}/lib'
1000 localedir
='${datarootdir}/locale'
1001 mandir
='${datarootdir}/man'
1007 # If the previous option needs an argument, assign it.
1008 if test -n "$ac_prev"; then
1009 eval $ac_prev=\
$ac_option
1015 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1019 # Accept the important Cygnus configure options, so we can diagnose typos.
1021 case $ac_dashdash$ac_option in
1025 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1027 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1028 bindir
=$ac_optarg ;;
1030 -build |
--build |
--buil |
--bui |
--bu)
1031 ac_prev
=build_alias
;;
1032 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1033 build_alias
=$ac_optarg ;;
1035 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1036 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1037 ac_prev
=cache_file
;;
1038 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1039 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1040 cache_file
=$ac_optarg ;;
1042 --config-cache |
-C)
1043 cache_file
=config.cache
;;
1045 -datadir |
--datadir |
--datadi |
--datad)
1047 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1048 datadir
=$ac_optarg ;;
1050 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1051 |
--dataroo |
--dataro |
--datar)
1052 ac_prev
=datarootdir
;;
1053 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1054 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1055 datarootdir
=$ac_optarg ;;
1057 -disable-* |
--disable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_
$ac_useropt"
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval enable_
$ac_useropt=no
;;
1074 -docdir |
--docdir |
--docdi |
--doc |
--do)
1076 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1077 docdir
=$ac_optarg ;;
1079 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1081 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1082 dvidir
=$ac_optarg ;;
1084 -enable-* |
--enable-*)
1085 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1088 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1089 { (exit 1); exit 1; }; }
1090 ac_useropt_orig
=$ac_useropt
1091 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "enable_
$ac_useropt"
1096 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1097 ac_unrecognized_sep
=', ';;
1099 eval enable_
$ac_useropt=\
$ac_optarg ;;
1101 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1102 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1103 |
--exec |
--exe |
--ex)
1104 ac_prev
=exec_prefix
;;
1105 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1106 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1107 |
--exec=* |
--exe=* |
--ex=*)
1108 exec_prefix
=$ac_optarg ;;
1110 -gas |
--gas |
--ga |
--g)
1111 # Obsolete; use --with-gas.
1114 -help |
--help |
--hel |
--he |
-h)
1115 ac_init_help
=long
;;
1116 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1117 ac_init_help
=recursive
;;
1118 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1119 ac_init_help
=short
;;
1121 -host |
--host |
--hos |
--ho)
1122 ac_prev
=host_alias
;;
1123 -host=* |
--host=* |
--hos=* |
--ho=*)
1124 host_alias
=$ac_optarg ;;
1126 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1128 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1130 htmldir
=$ac_optarg ;;
1132 -includedir |
--includedir |
--includedi |
--included |
--include \
1133 |
--includ |
--inclu |
--incl |
--inc)
1134 ac_prev
=includedir
;;
1135 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1136 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1137 includedir
=$ac_optarg ;;
1139 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1141 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1142 infodir
=$ac_optarg ;;
1144 -libdir |
--libdir |
--libdi |
--libd)
1146 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1147 libdir
=$ac_optarg ;;
1149 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1150 |
--libexe |
--libex |
--libe)
1151 ac_prev
=libexecdir
;;
1152 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1153 |
--libexe=* |
--libex=* |
--libe=*)
1154 libexecdir
=$ac_optarg ;;
1156 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1157 ac_prev
=localedir
;;
1158 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1159 localedir
=$ac_optarg ;;
1161 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1162 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1163 ac_prev
=localstatedir
;;
1164 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1165 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1166 localstatedir
=$ac_optarg ;;
1168 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1170 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1171 mandir
=$ac_optarg ;;
1173 -nfp |
--nfp |
--nf)
1174 # Obsolete; use --without-fp.
1177 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1178 |
--no-cr |
--no-c |
-n)
1181 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1182 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1185 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1186 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1187 |
--oldin |
--oldi |
--old |
--ol |
--o)
1188 ac_prev
=oldincludedir
;;
1189 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1190 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1191 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1192 oldincludedir
=$ac_optarg ;;
1194 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1196 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1197 prefix
=$ac_optarg ;;
1199 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1200 |
--program-pre |
--program-pr |
--program-p)
1201 ac_prev
=program_prefix
;;
1202 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1203 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1204 program_prefix
=$ac_optarg ;;
1206 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1207 |
--program-suf |
--program-su |
--program-s)
1208 ac_prev
=program_suffix
;;
1209 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1210 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1211 program_suffix
=$ac_optarg ;;
1213 -program-transform-name |
--program-transform-name \
1214 |
--program-transform-nam |
--program-transform-na \
1215 |
--program-transform-n |
--program-transform- \
1216 |
--program-transform |
--program-transfor \
1217 |
--program-transfo |
--program-transf \
1218 |
--program-trans |
--program-tran \
1219 |
--progr-tra |
--program-tr |
--program-t)
1220 ac_prev
=program_transform_name
;;
1221 -program-transform-name=* |
--program-transform-name=* \
1222 |
--program-transform-nam=* |
--program-transform-na=* \
1223 |
--program-transform-n=* |
--program-transform-=* \
1224 |
--program-transform=* |
--program-transfor=* \
1225 |
--program-transfo=* |
--program-transf=* \
1226 |
--program-trans=* |
--program-tran=* \
1227 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1228 program_transform_name
=$ac_optarg ;;
1230 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1232 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1233 pdfdir
=$ac_optarg ;;
1235 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1237 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1240 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1241 |
-silent |
--silent |
--silen |
--sile |
--sil)
1244 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1246 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1248 sbindir
=$ac_optarg ;;
1250 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1251 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1252 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1254 ac_prev
=sharedstatedir
;;
1255 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1256 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1257 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1259 sharedstatedir
=$ac_optarg ;;
1261 -site |
--site |
--sit)
1263 -site=* |
--site=* |
--sit=*)
1266 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1268 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1269 srcdir
=$ac_optarg ;;
1271 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1272 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1273 ac_prev
=sysconfdir
;;
1274 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1275 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1276 sysconfdir
=$ac_optarg ;;
1278 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1279 ac_prev
=target_alias
;;
1280 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1281 target_alias
=$ac_optarg ;;
1283 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1286 -version |
--version |
--versio |
--versi |
--vers |
-V)
1287 ac_init_version
=: ;;
1290 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1293 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1294 { (exit 1); exit 1; }; }
1295 ac_useropt_orig
=$ac_useropt
1296 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1297 case $ac_user_opts in
1301 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1302 ac_unrecognized_sep
=', ';;
1304 eval with_
$ac_useropt=\
$ac_optarg ;;
1306 -without-* |
--without-*)
1307 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1308 # Reject names that are not valid shell variable names.
1309 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1310 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1311 { (exit 1); exit 1; }; }
1312 ac_useropt_orig
=$ac_useropt
1313 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1314 case $ac_user_opts in
1318 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1319 ac_unrecognized_sep
=', ';;
1321 eval with_
$ac_useropt=no
;;
1324 # Obsolete; use --with-x.
1327 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1328 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1329 ac_prev
=x_includes
;;
1330 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1331 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1332 x_includes
=$ac_optarg ;;
1334 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1335 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1336 ac_prev
=x_libraries
;;
1337 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1338 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1339 x_libraries
=$ac_optarg ;;
1341 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1342 Try \`$0 --help' for more information." >&2
1343 { (exit 1); exit 1; }; }
1347 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1348 # Reject names that are not valid shell variable names.
1349 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1350 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1351 { (exit 1); exit 1; }; }
1352 eval $ac_envvar=\
$ac_optarg
1353 export $ac_envvar ;;
1356 # FIXME: should be removed in autoconf 3.0.
1357 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1358 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1359 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1360 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1366 if test -n "$ac_prev"; then
1367 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1368 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1369 { (exit 1); exit 1; }; }
1372 if test -n "$ac_unrecognized_opts"; then
1373 case $enable_option_checking in
1375 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1376 { (exit 1); exit 1; }; } ;;
1377 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1381 # Check all directory arguments for consistency.
1382 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1383 datadir sysconfdir sharedstatedir localstatedir includedir \
1384 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1385 libdir localedir mandir
1387 eval ac_val
=\$
$ac_var
1388 # Remove trailing slashes.
1391 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1392 eval $ac_var=\
$ac_val;;
1394 # Be sure to have absolute directory names.
1396 [\\/$
]* | ?
:[\\/]* ) continue;;
1397 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1399 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1400 { (exit 1); exit 1; }; }
1403 # There might be people who depend on the old broken behavior: `$host'
1404 # used to hold the argument of --host etc.
1405 # FIXME: To remove some day.
1408 target
=$target_alias
1410 # FIXME: To remove some day.
1411 if test "x$host_alias" != x
; then
1412 if test "x$build_alias" = x
; then
1413 cross_compiling
=maybe
1414 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1415 If a cross compiler is detected then cross compile mode will be used." >&2
1416 elif test "x$build_alias" != "x$host_alias"; then
1422 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1424 test "$silent" = yes && exec 6>/dev
/null
1427 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1428 ac_ls_di
=`ls -di .` &&
1429 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1430 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1431 { (exit 1); exit 1; }; }
1432 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1433 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1434 { (exit 1); exit 1; }; }
1437 # Find the source files, if location was not specified.
1438 if test -z "$srcdir"; then
1439 ac_srcdir_defaulted
=yes
1440 # Try the directory containing this script, then the parent directory.
1441 ac_confdir
=`$as_dirname -- "$as_myself" ||
1442 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1443 X"$as_myself" : 'X\(//\)[^/]' \| \
1444 X"$as_myself" : 'X\(//\)$' \| \
1445 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1446 $as_echo X"$as_myself" |
1447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1465 if test ! -r "$srcdir/$ac_unique_file"; then
1469 ac_srcdir_defaulted
=no
1471 if test ! -r "$srcdir/$ac_unique_file"; then
1472 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1473 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1474 { (exit 1); exit 1; }; }
1476 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1478 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1479 { (exit 1); exit 1; }; }
1481 # When building in place, set srcdir=.
1482 if test "$ac_abs_confdir" = "$ac_pwd"; then
1485 # Remove unnecessary trailing slashes from srcdir.
1486 # Double slashes in file names in object file debugging info
1487 # mess up M-x gdb in Emacs.
1489 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1491 for ac_var
in $ac_precious_vars; do
1492 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1493 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1494 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1495 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1499 # Report the --help message.
1501 if test "$ac_init_help" = "long"; then
1502 # Omit some internal or obsolete options to make the list less imposing.
1503 # This message is too long to be a string in the A/UX 3.1 sh.
1505 \`configure' configures this package to adapt to many kinds of systems.
1507 Usage: $0 [OPTION]... [VAR=VALUE]...
1509 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1510 VAR=VALUE. See below for descriptions of some of the useful variables.
1512 Defaults for the options are specified in brackets.
1515 -h, --help display this help and exit
1516 --help=short display options specific to this package
1517 --help=recursive display the short help of all the included packages
1518 -V, --version display version information and exit
1519 -q, --quiet, --silent do not print \`checking...' messages
1520 --cache-file=FILE cache test results in FILE [disabled]
1521 -C, --config-cache alias for \`--cache-file=config.cache'
1522 -n, --no-create do not create output files
1523 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1525 Installation directories:
1526 --prefix=PREFIX install architecture-independent files in PREFIX
1527 [$ac_default_prefix]
1528 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1531 By default, \`make install' will install all the files in
1532 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1533 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1534 for instance \`--prefix=\$HOME'.
1536 For better control, use the options below.
1538 Fine tuning of the installation directories:
1539 --bindir=DIR user executables [EPREFIX/bin]
1540 --sbindir=DIR system admin executables [EPREFIX/sbin]
1541 --libexecdir=DIR program executables [EPREFIX/libexec]
1542 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1543 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1544 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1545 --libdir=DIR object code libraries [EPREFIX/lib]
1546 --includedir=DIR C header files [PREFIX/include]
1547 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1548 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1549 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1550 --infodir=DIR info documentation [DATAROOTDIR/info]
1551 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1552 --mandir=DIR man documentation [DATAROOTDIR/man]
1553 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1554 --htmldir=DIR html documentation [DOCDIR]
1555 --dvidir=DIR dvi documentation [DOCDIR]
1556 --pdfdir=DIR pdf documentation [DOCDIR]
1557 --psdir=DIR ps documentation [DOCDIR]
1563 --program-prefix=PREFIX prepend PREFIX to installed program names
1564 --program-suffix=SUFFIX append SUFFIX to installed program names
1565 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1568 --build=BUILD configure
for building on BUILD
[guessed
]
1569 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1570 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1574 if test -n "$ac_init_help"; then
1579 --disable-option-checking ignore unrecognized
--enable/--with options
1580 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1581 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1582 --enable-maintainer-mode enable make rules and dependencies not useful
1583 (and sometimes confusing
) to the casual installer
1584 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1585 --disable-silent-rules verbose build output (undo: `make V
=0')
1586 --disable-dependency-tracking speeds up one-time build
1587 --enable-dependency-tracking do not reject slow dependency extractors
1588 --enable-shared[=PKGS] build shared libraries [default=yes]
1589 --enable-static[=PKGS] build static libraries [default=yes]
1590 --enable-fast-install[=PKGS]
1591 optimize for fast installation [default=yes]
1592 --disable-libtool-lock avoid locking (might break parallel builds)
1593 --enable-debug Enable generic debug support [default=no]
1594 --enable-debug-kmem Enable basic kmem accounting [default=yes]
1595 --enable-debug-kmem-tracking
1596 Enable detailed kmem tracking [default=no]
1597 --enable-atomic-spinlocks
1598 Atomic types use spinlocks [default=check]
1601 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1602 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1603 --with-pic try to use only PIC/non-PIC objects [default=use
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1607 --with-linux=PATH Path to kernel source
1608 --with-linux-obj=PATH Path to kernel build objects
1610 Some influential environment variables:
1611 CC C compiler command
1612 CFLAGS C compiler flags
1613 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1614 nonstandard directory <lib dir>
1615 LIBS libraries to pass to the linker, e.g. -l<library>
1616 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1617 you have headers in a nonstandard directory <include dir>
1620 Use these variables to override the choices made by `configure' or to
help
1621 it to
find libraries and programs with nonstandard names
/locations.
1627 if test "$ac_init_help" = "recursive"; then
1628 # If there are subdirs, report their specific --help.
1629 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1630 test -d "$ac_dir" ||
1631 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1636 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1638 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1639 # A ".." for each directory in $ac_dir_suffix.
1640 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1641 case $ac_top_builddir_sub in
1642 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1643 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1646 ac_abs_top_builddir
=$ac_pwd
1647 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1648 # for backward compatibility:
1649 ac_top_builddir
=$ac_top_build_prefix
1652 .
) # We are building in place.
1654 ac_top_srcdir
=$ac_top_builddir_sub
1655 ac_abs_top_srcdir
=$ac_pwd ;;
1656 [\\/]* | ?
:[\\/]* ) # Absolute name.
1657 ac_srcdir
=$srcdir$ac_dir_suffix;
1658 ac_top_srcdir
=$srcdir
1659 ac_abs_top_srcdir
=$srcdir ;;
1661 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1662 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1663 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1665 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1667 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1668 # Check for guested configure.
1669 if test -f "$ac_srcdir/configure.gnu"; then
1671 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1672 elif test -f "$ac_srcdir/configure"; then
1674 $SHELL "$ac_srcdir/configure" --help=recursive
1676 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1678 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1682 test -n "$ac_init_help" && exit $ac_status
1683 if $ac_init_version; then
1686 generated by GNU Autoconf
2.63
1688 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1689 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1690 This configure
script is free software
; the Free Software Foundation
1691 gives unlimited permission to copy
, distribute and modify it.
1695 cat >config.log
<<_ACEOF
1696 This file contains any messages produced by compilers while
1697 running configure, to aid debugging if configure makes a mistake.
1699 It was created by $as_me, which was
1700 generated by GNU Autoconf 2.63. Invocation command line was
1712 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1713 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1714 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1715 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1716 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1718 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1719 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1721 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1722 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1723 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1724 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1725 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1726 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1727 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1735 test -z "$as_dir" && as_dir
=.
1736 $as_echo "PATH: $as_dir"
1752 # Keep a trace of the command line.
1753 # Strip out --no-create and --no-recursion so they do not pile up.
1754 # Strip out --silent because we don't want to record it for future runs.
1755 # Also quote any args containing shell meta-characters.
1756 # Make two passes to allow for proper duplicate-argument suppression.
1760 ac_must_keep_next
=false
1766 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1767 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1768 |
-silent |
--silent |
--silen |
--sile |
--sil)
1771 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1774 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1776 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1777 if test $ac_must_keep_next = true
; then
1778 ac_must_keep_next
=false
# Got value, back to normal.
1781 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1782 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1783 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1784 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1785 case "$ac_configure_args0 " in
1786 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1789 -* ) ac_must_keep_next
=true
;;
1792 ac_configure_args
="$ac_configure_args '$ac_arg'"
1797 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1798 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1800 # When interrupted or exit'd, cleanup temporary files, and complete
1801 # config.log. We remove comments because anyway the quotes in there
1802 # would cause problems or look ugly.
1803 # WARNING: Use '\'' to represent an apostrophe within the trap.
1804 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1805 trap 'exit_status=$?
1806 # Save into config.log some information that might help in debugging.
1811 ## ---------------- ##
1812 ## Cache variables. ##
1813 ## ---------------- ##
1816 # The following way of writing the cache mishandles newlines in values,
1818 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1819 eval ac_val=\$$ac_var
1823 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1824 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1827 _ | IFS | as_nl) ;; #(
1828 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1829 *) $as_unset $ac_var ;;
1834 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1835 *${as_nl}ac_space=\ *)
1837 "s/'\''/'\''\\\\'\'''\''/g;
1838 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1841 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1849 ## ----------------- ##
1850 ## Output variables. ##
1851 ## ----------------- ##
1854 for ac_var in $ac_subst_vars
1856 eval ac_val=\$$ac_var
1858 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1860 $as_echo "$ac_var='\''$ac_val'\''"
1864 if test -n "$ac_subst_files"; then
1866 ## ------------------- ##
1867 ## File substitutions. ##
1868 ## ------------------- ##
1871 for ac_var
in $ac_subst_files
1873 eval ac_val
=\$
$ac_var
1875 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1877 $as_echo "$ac_var='\''$ac_val'\''"
1882 if test -s confdefs.h; then
1892 test "$ac_signal" != 0 &&
1893 $as_echo "$as_me: caught signal $ac_signal"
1894 $as_echo "$as_me: exit $exit_status"
1896 rm -f core *.core core.conftest.* &&
1897 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1900 for ac_signal
in 1 2 13 15; do
1901 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1905 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1906 rm -f -r conftest
* confdefs.h
1908 # Predefined preprocessor variables.
1910 cat >>confdefs.h
<<_ACEOF
1911 #define PACKAGE_NAME "$PACKAGE_NAME"
1915 cat >>confdefs.h
<<_ACEOF
1916 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1920 cat >>confdefs.h
<<_ACEOF
1921 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1925 cat >>confdefs.h
<<_ACEOF
1926 #define PACKAGE_STRING "$PACKAGE_STRING"
1930 cat >>confdefs.h
<<_ACEOF
1931 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1935 # Let the site file select an alternate cache file if it wants to.
1936 # Prefer an explicitly selected file to automatically selected ones.
1939 if test -n "$CONFIG_SITE"; then
1940 ac_site_file1
=$CONFIG_SITE
1941 elif test "x$prefix" != xNONE
; then
1942 ac_site_file1
=$prefix/share
/config.site
1943 ac_site_file2
=$prefix/etc
/config.site
1945 ac_site_file1
=$ac_default_prefix/share
/config.site
1946 ac_site_file2
=$ac_default_prefix/etc
/config.site
1948 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1950 test "x$ac_site_file" = xNONE
&& continue
1951 if test -r "$ac_site_file"; then
1952 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1953 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1954 sed 's/^/| /' "$ac_site_file" >&5
1959 if test -r "$cache_file"; then
1960 # Some versions of bash will fail to source /dev/null (special
1961 # files actually), so we avoid doing that.
1962 if test -f "$cache_file"; then
1963 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1964 $as_echo "$as_me: loading cache $cache_file" >&6;}
1966 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1967 *) .
"./$cache_file";;
1971 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1972 $as_echo "$as_me: creating cache $cache_file" >&6;}
1976 # Check that the precious variables saved in the cache have kept the same
1978 ac_cache_corrupted
=false
1979 for ac_var
in $ac_precious_vars; do
1980 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1981 eval ac_new_set
=\
$ac_env_${ac_var}_set
1982 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1983 eval ac_new_val
=\
$ac_env_${ac_var}_value
1984 case $ac_old_set,$ac_new_set in
1986 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1987 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1988 ac_cache_corrupted
=: ;;
1990 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1991 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1992 ac_cache_corrupted
=: ;;
1995 if test "x$ac_old_val" != "x$ac_new_val"; then
1996 # differences in whitespace do not lead to failure.
1997 ac_old_val_w
=`echo x $ac_old_val`
1998 ac_new_val_w
=`echo x $ac_new_val`
1999 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2000 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2001 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2002 ac_cache_corrupted
=:
2004 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2005 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2006 eval $ac_var=\
$ac_old_val
2008 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2009 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2010 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2011 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2014 # Pass precious variables to config.status.
2015 if test "$ac_new_set" = set; then
2017 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2018 *) ac_arg
=$ac_var=$ac_new_val ;;
2020 case " $ac_configure_args " in
2021 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2022 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2026 if $ac_cache_corrupted; then
2027 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2029 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2030 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2031 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2032 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2033 { (exit 1); exit 1; }; }
2053 ac_cpp
='$CPP $CPPFLAGS'
2054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2060 ac_cpp
='$CPP $CPPFLAGS'
2061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2066 { $as_echo "$as_me:$LINENO: checking metadata" >&5
2067 $as_echo_n "checking metadata... " >&6; }
2070 _spl_ac_meta_got_file
=no
2071 if test -f "$META"; then
2072 _spl_ac_meta_got_file
=yes
2074 SPL_META_NAME
=`perl -n\
2075 -e "BEGIN { \\$key=shift @ARGV; }"\
2076 -e "next unless s/^\s*\\$key[:=]//i;"\
2077 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2080 -e "s/^(['\"])(.*)\1/\\$2/;"\
2082 -e "END { print \\$val if defined \\$val; }"\
2083 '(?:NAME|PROJECT|PACKAGE)' $META`;
2084 if test -n "$SPL_META_NAME"; then
2086 cat >>confdefs.h
<<_ACEOF
2087 #define SPL_META_NAME "$SPL_META_NAME"
2093 SPL_META_VERSION
=`perl -n\
2094 -e "BEGIN { \\$key=shift @ARGV; }"\
2095 -e "next unless s/^\s*\\$key[:=]//i;"\
2096 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2099 -e "s/^(['\"])(.*)\1/\\$2/;"\
2101 -e "END { print \\$val if defined \\$val; }"\
2103 if test -n "$SPL_META_VERSION"; then
2105 cat >>confdefs.h
<<_ACEOF
2106 #define SPL_META_VERSION "$SPL_META_VERSION"
2112 SPL_META_RELEASE
=`perl -n\
2113 -e "BEGIN { \\$key=shift @ARGV; }"\
2114 -e "next unless s/^\s*\\$key[:=]//i;"\
2115 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2118 -e "s/^(['\"])(.*)\1/\\$2/;"\
2120 -e "END { print \\$val if defined \\$val; }"\
2122 if test -n "$SPL_META_RELEASE"; then
2124 cat >>confdefs.h
<<_ACEOF
2125 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2131 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2132 SPL_META_ALIAS
="$SPL_META_NAME-$SPL_META_VERSION"
2133 test -n "$SPL_META_RELEASE" &&
2134 SPL_META_ALIAS
="$SPL_META_ALIAS-$SPL_META_RELEASE"
2136 cat >>confdefs.h
<<_ACEOF
2137 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2143 SPL_META_DATA
=`perl -n\
2144 -e "BEGIN { \\$key=shift @ARGV; }"\
2145 -e "next unless s/^\s*\\$key[:=]//i;"\
2146 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2149 -e "s/^(['\"])(.*)\1/\\$2/;"\
2151 -e "END { print \\$val if defined \\$val; }"\
2153 if test -n "$SPL_META_DATA"; then
2155 cat >>confdefs.h
<<_ACEOF
2156 #define SPL_META_DATA "$SPL_META_DATA"
2162 SPL_META_AUTHOR
=`perl -n\
2163 -e "BEGIN { \\$key=shift @ARGV; }"\
2164 -e "next unless s/^\s*\\$key[:=]//i;"\
2165 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2168 -e "s/^(['\"])(.*)\1/\\$2/;"\
2170 -e "END { print \\$val if defined \\$val; }"\
2172 if test -n "$SPL_META_AUTHOR"; then
2174 cat >>confdefs.h
<<_ACEOF
2175 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2182 SPL_META_LT_CURRENT
=`perl -n\
2183 -e "BEGIN { \\$key=shift @ARGV; }"\
2184 -e "next unless s/^\s*\\$key[:=]//i;"\
2185 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2188 -e "s/^(['\"])(.*)\1/\\$2/;"\
2190 -e "END { print \\$val if defined \\$val; }"\
2191 'LT_CURRENT' $META`;
2192 SPL_META_LT_REVISION
=`perl -n\
2193 -e "BEGIN { \\$key=shift @ARGV; }"\
2194 -e "next unless s/^\s*\\$key[:=]//i;"\
2195 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2198 -e "s/^(['\"])(.*)\1/\\$2/;"\
2200 -e "END { print \\$val if defined \\$val; }"\
2201 'LT_REVISION' $META`;
2202 SPL_META_LT_AGE
=`perl -n\
2203 -e "BEGIN { \\$key=shift @ARGV; }"\
2204 -e "next unless s/^\s*\\$key[:=]//i;"\
2205 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
2208 -e "s/^(['\"])(.*)\1/\\$2/;"\
2210 -e "END { print \\$val if defined \\$val; }"\
2212 if test -n "$SPL_META_LT_CURRENT" \
2213 -o -n "$SPL_META_LT_REVISION" \
2214 -o -n "$SPL_META_LT_AGE"; then
2215 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT
="0"
2216 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION
="0"
2217 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE
="0"
2219 cat >>confdefs.h
<<_ACEOF
2220 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2224 cat >>confdefs.h
<<_ACEOF
2225 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2229 cat >>confdefs.h
<<_ACEOF
2230 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2239 { $as_echo "$as_me:$LINENO: result: $_spl_ac_meta_got_file" >&5
2240 $as_echo "$_spl_ac_meta_got_file" >&6; }
2244 for ac_dir
in config
"$srcdir"/config
; do
2245 if test -f "$ac_dir/install-sh"; then
2247 ac_install_sh
="$ac_aux_dir/install-sh -c"
2249 elif test -f "$ac_dir/install.sh"; then
2251 ac_install_sh
="$ac_aux_dir/install.sh -c"
2253 elif test -f "$ac_dir/shtool"; then
2255 ac_install_sh
="$ac_aux_dir/shtool install -c"
2259 if test -z "$ac_aux_dir"; then
2260 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2261 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2262 { (exit 1); exit 1; }; }
2265 # These three variables are undocumented and unsupported,
2266 # and are intended to be withdrawn in a future Autoconf release.
2267 # They can cause serious problems if a builder's source tree is in a directory
2268 # whose full name contains unusual characters.
2269 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2270 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2271 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2274 # Make sure we can run config.sub.
2275 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2276 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2277 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2278 { (exit 1); exit 1; }; }
2280 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2281 $as_echo_n "checking build system type... " >&6; }
2282 if test "${ac_cv_build+set}" = set; then
2283 $as_echo_n "(cached) " >&6
2285 ac_build_alias
=$build_alias
2286 test "x$ac_build_alias" = x
&&
2287 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2288 test "x$ac_build_alias" = x
&&
2289 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2290 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2291 { (exit 1); exit 1; }; }
2292 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2293 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2294 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2295 { (exit 1); exit 1; }; }
2298 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2299 $as_echo "$ac_cv_build" >&6; }
2300 case $ac_cv_build in
2302 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2303 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2304 { (exit 1); exit 1; }; };;
2307 ac_save_IFS
=$IFS; IFS
='-'
2313 # Remember, the first character of IFS is used to create $*,
2314 # except with old shells:
2317 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2320 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2321 $as_echo_n "checking host system type... " >&6; }
2322 if test "${ac_cv_host+set}" = set; then
2323 $as_echo_n "(cached) " >&6
2325 if test "x$host_alias" = x
; then
2326 ac_cv_host
=$ac_cv_build
2328 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2329 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2330 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2331 { (exit 1); exit 1; }; }
2335 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2336 $as_echo "$ac_cv_host" >&6; }
2339 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2340 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2341 { (exit 1); exit 1; }; };;
2344 ac_save_IFS
=$IFS; IFS
='-'
2350 # Remember, the first character of IFS is used to create $*,
2351 # except with old shells:
2354 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2357 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2358 $as_echo_n "checking target system type... " >&6; }
2359 if test "${ac_cv_target+set}" = set; then
2360 $as_echo_n "(cached) " >&6
2362 if test "x$target_alias" = x
; then
2363 ac_cv_target
=$ac_cv_host
2365 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2366 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2367 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2368 { (exit 1); exit 1; }; }
2372 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2373 $as_echo "$ac_cv_target" >&6; }
2374 case $ac_cv_target in
2376 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2377 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2378 { (exit 1); exit 1; }; };;
2380 target
=$ac_cv_target
2381 ac_save_IFS
=$IFS; IFS
='-'
2387 # Remember, the first character of IFS is used to create $*,
2388 # except with old shells:
2391 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2394 # The aliases save the names the user supplied, while $host etc.
2395 # will get canonicalized.
2396 test -n "$target_alias" &&
2397 test "$program_prefix$program_suffix$program_transform_name" = \
2399 program_prefix
=${target_alias}-
2401 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2402 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2403 # Check whether --enable-maintainer-mode was given.
2404 if test "${enable_maintainer_mode+set}" = set; then
2405 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2407 USE_MAINTAINER_MODE
=no
2410 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2411 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2412 if test $USE_MAINTAINER_MODE = yes; then
2413 MAINTAINER_MODE_TRUE
=
2414 MAINTAINER_MODE_FALSE
='#'
2416 MAINTAINER_MODE_TRUE
='#'
2417 MAINTAINER_MODE_FALSE
=
2420 MAINT
=$MAINTAINER_MODE_TRUE
2423 # Check whether --enable-silent-rules was given.
2424 if test "${enable_silent_rules+set}" = set; then
2425 enableval
=$enable_silent_rules;
2428 case $enable_silent_rules in
2429 yes) AM_DEFAULT_VERBOSITY
=0;;
2430 no
) AM_DEFAULT_VERBOSITY
=1;;
2431 *) AM_DEFAULT_VERBOSITY
=1;;
2435 am__api_version='1.11'
2437 # Find a good install program. We prefer a C program (faster),
2438 # so one script is as good as another. But avoid the broken or
2439 # incompatible versions:
2440 # SysV /etc/install, /usr/sbin/install
2441 # SunOS /usr/etc/install
2442 # IRIX /sbin/install
2444 # AmigaOS /C/install, which installs bootblocks on floppy discs
2445 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2446 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2447 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2448 # OS/2's system install, which has a completely different semantic
2449 # ./install, which can be erroneously created by make from ./install.sh.
2450 # Reject install programs that cannot install multiple files.
2451 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2452 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2453 if test -z "$INSTALL"; then
2454 if test "${ac_cv_path_install+set}" = set; then
2455 $as_echo_n "(cached) " >&6
2457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir
=.
2462 # Account for people who put trailing slashes in PATH elements.
2464 .
/ | .
// |
/cC
/* | \
2465 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2466 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2469 # OSF1 and SCO ODT 3.0 have their own names for install.
2470 # Don't use installbsd from OSF since it installs stuff as root
2472 for ac_prog
in ginstall scoinst
install; do
2473 for ac_exec_ext
in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2475 if test $ac_prog = install &&
2476 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2477 # AIX install. It has an incompatible calling convention.
2479 elif test $ac_prog = install &&
2480 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2481 # program-specific install script used by HP pwplus--don't use.
2484 rm -rf conftest.one conftest.two conftest.dir
2485 echo one
> conftest.one
2486 echo two
> conftest.two
2488 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2489 test -s conftest.one
&& test -s conftest.two
&&
2490 test -s conftest.dir
/conftest.one
&&
2491 test -s conftest.dir
/conftest.two
2493 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2506 rm -rf conftest.one conftest.two conftest.dir
2509 if test "${ac_cv_path_install+set}" = set; then
2510 INSTALL
=$ac_cv_path_install
2512 # As a last resort, use the slow shell script. Don't cache a
2513 # value for INSTALL within a source directory, because that will
2514 # break other packages using the cache if that directory is
2515 # removed, or if the value is a relative name.
2516 INSTALL
=$ac_install_sh
2519 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2520 $as_echo "$INSTALL" >&6; }
2522 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2523 # It thinks the first close brace ends the variable substitution.
2524 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2526 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2528 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2530 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2531 $as_echo_n "checking whether build environment is sane... " >&6; }
2534 echo timestamp
> conftest.
file
2535 # Reject unsafe characters in $srcdir or the absolute working directory
2536 # name. Accept space and tab only in the latter.
2540 *[\\\"\
#\$\&\'\`$am_lf]*)
2541 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2542 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2543 { (exit 1); exit 1; }; };;
2546 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2547 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2548 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2549 { (exit 1); exit 1; }; };;
2552 # Do `set' in a subshell so we don't clobber the current shell's
2553 # arguments. Must try -L first in case configure is actually a
2554 # symlink; some systems play weird games with the mod time of symlinks
2555 # (eg FreeBSD returns the mod time of the symlink's containing
2558 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2559 if test "$*" = "X"; then
2561 set X
`ls -t "$srcdir/configure" conftest.file`
2564 if test "$*" != "X $srcdir/configure conftest.file" \
2565 && test "$*" != "X conftest.file $srcdir/configure"; then
2567 # If neither matched, then we have a broken ls. This can happen
2568 # if, for instance, CONFIG_SHELL is bash and it inherits a
2569 # broken ls alias from the environment. This has actually
2570 # happened. Such a system could not be considered "sane".
2571 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2572 alias in your environment" >&5
2573 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2574 alias in your environment" >&2;}
2575 { (exit 1); exit 1; }; }
2578 test "$2" = conftest.
file
2584 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2585 Check your system clock" >&5
2586 $as_echo "$as_me: error: newly created file is older than distributed files!
2587 Check your system clock" >&2;}
2588 { (exit 1); exit 1; }; }
2590 { $as_echo "$as_me:$LINENO: result: yes" >&5
2591 $as_echo "yes" >&6; }
2592 test "$program_prefix" != NONE
&&
2593 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2594 # Use a double $ so make ignores it.
2595 test "$program_suffix" != NONE
&&
2596 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2597 # Double any \ or $.
2598 # By default was `s,x,x', remove it if useless.
2599 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2600 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2602 # expand $ac_aux_dir to an absolute path
2603 am_aux_dir
=`cd $ac_aux_dir && pwd`
2605 if test x
"${MISSING+set}" != xset
; then
2608 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2610 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2613 # Use eval to expand $SHELL
2614 if eval "$MISSING --run true"; then
2615 am_missing_run
="$MISSING --run "
2618 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2619 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2622 if test x
"${install_sh}" != xset
; then
2625 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2627 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2631 # Installed binaries are usually stripped using `strip' when the user
2632 # run `make install-strip'. However `strip' might not be the right
2633 # tool to use in cross-compilation environments, therefore Automake
2634 # will honor the `STRIP' environment variable to overrule this program.
2635 if test "$cross_compiling" != no
; then
2636 if test -n "$ac_tool_prefix"; then
2637 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2638 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2639 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 $as_echo_n "checking for $ac_word... " >&6; }
2641 if test "${ac_cv_prog_STRIP+set}" = set; then
2642 $as_echo_n "(cached) " >&6
2644 if test -n "$STRIP"; then
2645 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir
=.
2652 for ac_exec_ext
in '' $ac_executable_extensions; do
2653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2654 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2655 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 STRIP
=$ac_cv_prog_STRIP
2665 if test -n "$STRIP"; then
2666 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2667 $as_echo "$STRIP" >&6; }
2669 { $as_echo "$as_me:$LINENO: result: no" >&5
2670 $as_echo "no" >&6; }
2675 if test -z "$ac_cv_prog_STRIP"; then
2677 # Extract the first word of "strip", so it can be a program name with args.
2678 set dummy strip
; ac_word
=$2
2679 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2680 $as_echo_n "checking for $ac_word... " >&6; }
2681 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2682 $as_echo_n "(cached) " >&6
2684 if test -n "$ac_ct_STRIP"; then
2685 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir
=.
2692 for ac_exec_ext
in '' $ac_executable_extensions; do
2693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694 ac_cv_prog_ac_ct_STRIP
="strip"
2695 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2705 if test -n "$ac_ct_STRIP"; then
2706 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2707 $as_echo "$ac_ct_STRIP" >&6; }
2709 { $as_echo "$as_me:$LINENO: result: no" >&5
2710 $as_echo "no" >&6; }
2713 if test "x$ac_ct_STRIP" = x
; then
2716 case $cross_compiling:$ac_tool_warned in
2718 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2720 ac_tool_warned
=yes ;;
2725 STRIP
="$ac_cv_prog_STRIP"
2729 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2731 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2732 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2733 if test -z "$MKDIR_P"; then
2734 if test "${ac_cv_path_mkdir+set}" = set; then
2735 $as_echo_n "(cached) " >&6
2737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2738 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2741 test -z "$as_dir" && as_dir
=.
2742 for ac_prog
in mkdir gmkdir
; do
2743 for ac_exec_ext
in '' $ac_executable_extensions; do
2744 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2745 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2746 'mkdir (GNU coreutils) '* | \
2747 'mkdir (coreutils) '* | \
2748 'mkdir (fileutils) '4.1*)
2749 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2759 if test "${ac_cv_path_mkdir+set}" = set; then
2760 MKDIR_P
="$ac_cv_path_mkdir -p"
2762 # As a last resort, use the slow shell script. Don't cache a
2763 # value for MKDIR_P within a source directory, because that will
2764 # break other packages using the cache if that directory is
2765 # removed, or if the value is a relative name.
2766 test -d .
/--version && rmdir .
/--version
2767 MKDIR_P
="$ac_install_sh -d"
2770 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2771 $as_echo "$MKDIR_P" >&6; }
2775 [\\/$
]* | ?
:[\\/]*) ;;
2776 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2779 for ac_prog
in gawk mawk nawk
awk
2781 # Extract the first word of "$ac_prog", so it can be a program name with args.
2782 set dummy
$ac_prog; ac_word
=$2
2783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 $as_echo_n "checking for $ac_word... " >&6; }
2785 if test "${ac_cv_prog_AWK+set}" = set; then
2786 $as_echo_n "(cached) " >&6
2788 if test -n "$AWK"; then
2789 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir
=.
2796 for ac_exec_ext
in '' $ac_executable_extensions; do
2797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2798 ac_cv_prog_AWK
="$ac_prog"
2799 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test -n "$AWK"; then
2810 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2811 $as_echo "$AWK" >&6; }
2813 { $as_echo "$as_me:$LINENO: result: no" >&5
2814 $as_echo "no" >&6; }
2818 test -n "$AWK" && break
2821 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2822 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2824 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2825 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2826 $as_echo_n "(cached) " >&6
2828 cat >conftest.
make <<\_ACEOF
2831 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2833 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2834 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2836 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2838 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2842 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2843 { $as_echo "$as_me:$LINENO: result: yes" >&5
2844 $as_echo "yes" >&6; }
2847 { $as_echo "$as_me:$LINENO: result: no" >&5
2848 $as_echo "no" >&6; }
2849 SET_MAKE
="MAKE=${MAKE-make}"
2852 rm -rf .tst
2>/dev
/null
2853 mkdir .tst
2>/dev
/null
2854 if test -d .tst
; then
2859 rmdir .tst
2>/dev
/null
2861 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2862 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2863 # is not polluted with repeated "-I."
2864 am__isrc
=' -I$(srcdir)'
2865 # test to see if srcdir already configured
2866 if test -f $srcdir/config.status
; then
2867 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2868 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2869 { (exit 1); exit 1; }; }
2873 # test whether we have cygpath
2874 if test -z "$CYGPATH_W"; then
2875 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2876 CYGPATH_W
='cygpath -w'
2883 # Define the identity of the package.
2884 PACKAGE
=$SPL_META_NAME
2885 VERSION
=$SPL_META_VERSION
2888 cat >>confdefs.h
<<_ACEOF
2889 #define PACKAGE "$PACKAGE"
2893 cat >>confdefs.h
<<_ACEOF
2894 #define VERSION "$VERSION"
2897 # Some tools Automake needs.
2899 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2902 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2905 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2908 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2911 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2913 # We need awk for the "check" target. The system "awk" is bad on
2915 # Always define AMTAR for backward compatibility.
2917 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2919 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2925 ac_config_headers
="$ac_config_headers spl_config.h"
2928 # Find a good install program. We prefer a C program (faster),
2929 # so one script is as good as another. But avoid the broken or
2930 # incompatible versions:
2931 # SysV /etc/install, /usr/sbin/install
2932 # SunOS /usr/etc/install
2933 # IRIX /sbin/install
2935 # AmigaOS /C/install, which installs bootblocks on floppy discs
2936 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2937 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2938 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2939 # OS/2's system install, which has a completely different semantic
2940 # ./install, which can be erroneously created by make from ./install.sh.
2941 # Reject install programs that cannot install multiple files.
2942 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2943 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2944 if test -z "$INSTALL"; then
2945 if test "${ac_cv_path_install+set}" = set; then
2946 $as_echo_n "(cached) " >&6
2948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir
=.
2953 # Account for people who put trailing slashes in PATH elements.
2955 .
/ | .
// |
/cC
/* | \
2956 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2957 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2960 # OSF1 and SCO ODT 3.0 have their own names for install.
2961 # Don't use installbsd from OSF since it installs stuff as root
2963 for ac_prog
in ginstall scoinst
install; do
2964 for ac_exec_ext
in '' $ac_executable_extensions; do
2965 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2966 if test $ac_prog = install &&
2967 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2968 # AIX install. It has an incompatible calling convention.
2970 elif test $ac_prog = install &&
2971 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2972 # program-specific install script used by HP pwplus--don't use.
2975 rm -rf conftest.one conftest.two conftest.dir
2976 echo one
> conftest.one
2977 echo two
> conftest.two
2979 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2980 test -s conftest.one
&& test -s conftest.two
&&
2981 test -s conftest.dir
/conftest.one
&&
2982 test -s conftest.dir
/conftest.two
2984 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2997 rm -rf conftest.one conftest.two conftest.dir
3000 if test "${ac_cv_path_install+set}" = set; then
3001 INSTALL
=$ac_cv_path_install
3003 # As a last resort, use the slow shell script. Don't cache a
3004 # value for INSTALL within a source directory, because that will
3005 # break other packages using the cache if that directory is
3006 # removed, or if the value is a relative name.
3007 INSTALL
=$ac_install_sh
3010 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3011 $as_echo "$INSTALL" >&6; }
3013 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3014 # It thinks the first close brace ends the variable substitution.
3015 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3017 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3019 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3022 ac_cpp
='$CPP $CPPFLAGS'
3023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3026 if test -n "$ac_tool_prefix"; then
3027 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3028 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3029 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if test "${ac_cv_prog_CC+set}" = set; then
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC
="$CC" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3044 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3045 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test -n "$CC"; then
3056 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3057 $as_echo "$CC" >&6; }
3059 { $as_echo "$as_me:$LINENO: result: no" >&5
3060 $as_echo "no" >&6; }
3065 if test -z "$ac_cv_prog_CC"; then
3067 # Extract the first word of "gcc", so it can be a program name with args.
3068 set dummy gcc
; ac_word
=$2
3069 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3072 $as_echo_n "(cached) " >&6
3074 if test -n "$ac_ct_CC"; then
3075 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir
=.
3082 for ac_exec_ext
in '' $ac_executable_extensions; do
3083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3084 ac_cv_prog_ac_ct_CC
="gcc"
3085 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3095 if test -n "$ac_ct_CC"; then
3096 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3097 $as_echo "$ac_ct_CC" >&6; }
3099 { $as_echo "$as_me:$LINENO: result: no" >&5
3100 $as_echo "no" >&6; }
3103 if test "x$ac_ct_CC" = x
; then
3106 case $cross_compiling:$ac_tool_warned in
3108 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3110 ac_tool_warned
=yes ;;
3118 if test -z "$CC"; then
3119 if test -n "$ac_tool_prefix"; then
3120 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3121 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if test "${ac_cv_prog_CC+set}" = set; then
3125 $as_echo_n "(cached) " >&6
3127 if test -n "$CC"; then
3128 ac_cv_prog_CC
="$CC" # Let the user override the test.
3130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir
=.
3135 for ac_exec_ext
in '' $ac_executable_extensions; do
3136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 if test -n "$CC"; then
3149 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3152 { $as_echo "$as_me:$LINENO: result: no" >&5
3153 $as_echo "no" >&6; }
3159 if test -z "$CC"; then
3160 # Extract the first word of "cc", so it can be a program name with args.
3161 set dummy cc
; ac_word
=$2
3162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if test "${ac_cv_prog_CC+set}" = set; then
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC
="$CC" # Let the user override the test.
3171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir
=.
3176 for ac_exec_ext
in '' $ac_executable_extensions; do
3177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3178 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3179 ac_prog_rejected
=yes
3183 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 if test $ac_prog_rejected = yes; then
3191 # We found a bogon in the path, so make sure we never use it.
3192 set dummy
$ac_cv_prog_CC
3194 if test $# != 0; then
3195 # We chose a different compiler from the bogus one.
3196 # However, it has the same basename, so the bogon will be chosen
3197 # first if we set CC to just the basename; use the full file name.
3199 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3205 if test -n "$CC"; then
3206 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3207 $as_echo "$CC" >&6; }
3209 { $as_echo "$as_me:$LINENO: result: no" >&5
3210 $as_echo "no" >&6; }
3215 if test -z "$CC"; then
3216 if test -n "$ac_tool_prefix"; then
3217 for ac_prog
in cl.exe
3219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3220 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3221 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if test "${ac_cv_prog_CC+set}" = set; then
3224 $as_echo_n "(cached) " >&6
3226 if test -n "$CC"; then
3227 ac_cv_prog_CC
="$CC" # Let the user override the test.
3229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir
=.
3234 for ac_exec_ext
in '' $ac_executable_extensions; do
3235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3236 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3237 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 if test -n "$CC"; then
3248 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3249 $as_echo "$CC" >&6; }
3251 { $as_echo "$as_me:$LINENO: result: no" >&5
3252 $as_echo "no" >&6; }
3256 test -n "$CC" && break
3259 if test -z "$CC"; then
3261 for ac_prog
in cl.exe
3263 # Extract the first word of "$ac_prog", so it can be a program name with args.
3264 set dummy
$ac_prog; ac_word
=$2
3265 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3268 $as_echo_n "(cached) " >&6
3270 if test -n "$ac_ct_CC"; then
3271 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3277 test -z "$as_dir" && as_dir
=.
3278 for ac_exec_ext
in '' $ac_executable_extensions; do
3279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3280 ac_cv_prog_ac_ct_CC
="$ac_prog"
3281 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3291 if test -n "$ac_ct_CC"; then
3292 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3293 $as_echo "$ac_ct_CC" >&6; }
3295 { $as_echo "$as_me:$LINENO: result: no" >&5
3296 $as_echo "no" >&6; }
3300 test -n "$ac_ct_CC" && break
3303 if test "x$ac_ct_CC" = x
; then
3306 case $cross_compiling:$ac_tool_warned in
3308 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3310 ac_tool_warned
=yes ;;
3319 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3322 See \`config.log' for more details." >&5
3323 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3324 See \`config.log' for more details." >&2;}
3325 { (exit 1); exit 1; }; }; }
3327 # Provide some information about the compiler.
3328 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3331 { (ac_try
="$ac_compiler --version >&5"
3333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3337 $as_echo "$ac_try_echo") >&5
3338 (eval "$ac_compiler --version >&5") 2>&5
3340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }
3342 { (ac_try="$ac_compiler -v >&5"
3344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3345 *) ac_try_echo
=$ac_try;;
3347 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3348 $as_echo "$ac_try_echo") >&5
3349 (eval "$ac_compiler -v >&5") 2>&5
3351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }
3353 { (ac_try
="$ac_compiler -V >&5"
3355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3359 $as_echo "$ac_try_echo") >&5
3360 (eval "$ac_compiler -V >&5") 2>&5
3362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }
3365 cat >conftest.$ac_ext <<_ACEOF
3368 cat confdefs.h >>conftest.$ac_ext
3369 cat >>conftest.$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3380 ac_clean_files_save=$ac_clean_files
3381 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3382 # Try to create an executable without -o first, disregard a.out.
3383 # It will help us diagnose broken compilers, and finding out an intuition
3385 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3386 $as_echo_n "checking for C compiler default output file name... " >&6; }
3387 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3389 # The possible output files:
3390 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3393 for ac_file in $ac_files
3396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3397 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3402 if { (ac_try="$ac_link_default"
3404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3405 *) ac_try_echo
=$ac_try;;
3407 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3408 $as_echo "$ac_try_echo") >&5
3409 (eval "$ac_link_default") 2>&5
3411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; then
3413 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3414 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3415 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3416 # so that the user can short-circuit this test for compilers unknown to
3418 for ac_file
in $ac_files ''
3420 test -f "$ac_file" ||
continue
3422 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3425 # We found the default executable, but exeext='' is most
3429 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3431 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3433 # We set ac_cv_exeext here because the later test for it is not
3434 # safe: cross compilers may not add the suffix if given an `-o'
3435 # argument, so we may need to know it at that point already.
3436 # Even if this section looks crufty: it has the advantage of
3443 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3449 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3450 $as_echo "$ac_file" >&6; }
3451 if test -z "$ac_file"; then
3452 $as_echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.
$ac_ext >&5
3455 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3457 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3458 See \`config.log' for more details." >&5
3459 $as_echo "$as_me: error: C compiler cannot create executables
3460 See \`config.log' for more details." >&2;}
3461 { (exit 77); exit 77; }; }; }
3464 ac_exeext
=$ac_cv_exeext
3466 # Check that the compiler produces executables we can run. If not, either
3467 # the compiler is broken, or we cross compile.
3468 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3469 $as_echo_n "checking whether the C compiler works... " >&6; }
3470 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3471 # If not cross compiling, check that we can run a simple program.
3472 if test "$cross_compiling" != yes; then
3473 if { ac_try
='./$ac_file'
3474 { (case "(($ac_try" in
3475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3479 $as_echo "$ac_try_echo") >&5
3480 (eval "$ac_try") 2>&5
3482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); }; }; then
3486 if test "$cross_compiling" = maybe; then
3489 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3492 If you meant to cross compile
, use \
`--host'.
3493 See \`config.log
' for more details." >&5
3494 $as_echo "$as_me: error: cannot run C compiled programs.
3495 If you meant to cross compile, use \`--host'.
3496 See \
`config.log' for more details." >&2;}
3497 { (exit 1); exit 1; }; }; }
3501 { $as_echo "$as_me:$LINENO: result: yes" >&5
3502 $as_echo "yes" >&6; }
3504 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3505 ac_clean_files=$ac_clean_files_save
3506 # Check that the compiler produces executables we can run. If not, either
3507 # the compiler is broken, or we cross compile.
3508 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3509 $as_echo_n "checking whether we are cross compiling... " >&6; }
3510 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3511 $as_echo "$cross_compiling" >&6; }
3513 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3514 $as_echo_n "checking for suffix of executables... " >&6; }
3515 if { (ac_try="$ac_link"
3517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3518 *) ac_try_echo
=$ac_try;;
3520 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3521 $as_echo "$ac_try_echo") >&5
3522 (eval "$ac_link") 2>&5
3524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; then
3526 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3527 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3528 # work properly (i.e., refer to `conftest.exe'), while it won't with
3530 for ac_file
in conftest.exe conftest conftest.
*; do
3531 test -f "$ac_file" ||
continue
3533 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3534 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3540 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3543 See \`config.log' for more details." >&5
3544 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3545 See \`config.log' for more details." >&2;}
3546 { (exit 1); exit 1; }; }; }
3549 rm -f conftest
$ac_cv_exeext
3550 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3551 $as_echo "$ac_cv_exeext" >&6; }
3553 rm -f conftest.
$ac_ext
3554 EXEEXT
=$ac_cv_exeext
3556 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3557 $as_echo_n "checking for suffix of object files... " >&6; }
3558 if test "${ac_cv_objext+set}" = set; then
3559 $as_echo_n "(cached) " >&6
3561 cat >conftest.
$ac_ext <<_ACEOF
3564 cat confdefs.h
>>conftest.
$ac_ext
3565 cat >>conftest.
$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3576 rm -f conftest.o conftest.obj
3577 if { (ac_try
="$ac_compile"
3579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3580 *) ac_try_echo=$ac_try;;
3582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3583 $as_echo "$ac_try_echo") >&5
3584 (eval "$ac_compile") 2>&5
3586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }; then
3588 for ac_file in conftest.o conftest.obj conftest.*; do
3589 test -f "$ac_file" || continue;
3591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3597 $as_echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.$ac_ext >&5
3600 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3603 See \
`config.log' for more details." >&5
3604 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3605 See \`config.log
' for more details." >&2;}
3606 { (exit 1); exit 1; }; }; }
3609 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3611 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3612 $as_echo "$ac_cv_objext" >&6; }
3613 OBJEXT=$ac_cv_objext
3615 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3616 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3617 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3618 $as_echo_n "(cached) " >&6
3620 cat >conftest.$ac_ext <<_ACEOF
3623 cat confdefs.h >>conftest.$ac_ext
3624 cat >>conftest.$ac_ext <<_ACEOF
3625 /* end confdefs.h. */
3638 rm -f conftest.$ac_objext
3639 if { (ac_try="$ac_compile"
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3645 $as_echo "$ac_try_echo") >&5
3646 (eval "$ac_compile") 2>conftest.er1
3648 grep -v '^
*+' conftest.er1 >conftest.err
3650 cat conftest.err >&5
3651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } && {
3653 test -z "$ac_c_werror_flag" ||
3654 test ! -s conftest.err
3655 } && test -s conftest.$ac_objext; then
3658 $as_echo "$as_me: failed program was:" >&5
3659 sed 's
/^
/|
/' conftest.$ac_ext >&5
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3668 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3669 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3670 if test $ac_compiler_gnu = yes; then
3675 ac_test_CFLAGS=${CFLAGS+set}
3676 ac_save_CFLAGS=$CFLAGS
3677 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3678 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3679 if test "${ac_cv_prog_cc_g+set}" = set; then
3680 $as_echo_n "(cached) " >&6
3682 ac_save_c_werror_flag=$ac_c_werror_flag
3683 ac_c_werror_flag=yes
3686 cat >conftest.$ac_ext <<_ACEOF
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3701 rm -f conftest.$ac_objext
3702 if { (ac_try="$ac_compile"
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3708 $as_echo "$ac_try_echo") >&5
3709 (eval "$ac_compile") 2>conftest.er1
3711 grep -v '^
*+' conftest.er1 >conftest.err
3713 cat conftest.err >&5
3714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715 (exit $ac_status); } && {
3716 test -z "$ac_c_werror_flag" ||
3717 test ! -s conftest.err
3718 } && test -s conftest.$ac_objext; then
3721 $as_echo "$as_me: failed program was:" >&5
3722 sed 's
/^
/|
/' conftest.$ac_ext >&5
3725 cat >conftest.$ac_ext <<_ACEOF
3728 cat confdefs.h >>conftest.$ac_ext
3729 cat >>conftest.$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3740 rm -f conftest.$ac_objext
3741 if { (ac_try="$ac_compile"
3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3747 $as_echo "$ac_try_echo") >&5
3748 (eval "$ac_compile") 2>conftest.er1
3750 grep -v '^
*+' conftest.er1 >conftest.err
3752 cat conftest.err >&5
3753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } && {
3755 test -z "$ac_c_werror_flag" ||
3756 test ! -s conftest.err
3757 } && test -s conftest.$ac_objext; then
3760 $as_echo "$as_me: failed program was:" >&5
3761 sed 's
/^
/|
/' conftest.$ac_ext >&5
3763 ac_c_werror_flag=$ac_save_c_werror_flag
3765 cat >conftest.$ac_ext <<_ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3780 rm -f conftest.$ac_objext
3781 if { (ac_try="$ac_compile"
3783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3787 $as_echo "$ac_try_echo") >&5
3788 (eval "$ac_compile") 2>conftest.er1
3790 grep -v '^
*+' conftest.er1 >conftest.err
3792 cat conftest.err >&5
3793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } && {
3795 test -z "$ac_c_werror_flag" ||
3796 test ! -s conftest.err
3797 } && test -s conftest.$ac_objext; then
3800 $as_echo "$as_me: failed program was:" >&5
3801 sed 's
/^
/|
/' conftest.$ac_ext >&5
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3813 ac_c_werror_flag=$ac_save_c_werror_flag
3815 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3816 $as_echo "$ac_cv_prog_cc_g" >&6; }
3817 if test "$ac_test_CFLAGS" = set; then
3818 CFLAGS=$ac_save_CFLAGS
3819 elif test $ac_cv_prog_cc_g = yes; then
3820 if test "$GCC" = yes; then
3826 if test "$GCC" = yes; then
3832 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3833 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3834 if test "${ac_cv_prog_cc_c89+set}" = set; then
3835 $as_echo_n "(cached) " >&6
3837 ac_cv_prog_cc_c89=no
3839 cat >conftest.$ac_ext <<_ACEOF
3842 cat confdefs.h >>conftest.$ac_ext
3843 cat >>conftest.$ac_ext <<_ACEOF
3844 /* end confdefs.h. */
3847 #include <sys/types.h>
3848 #include <sys/stat.h>
3849 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3850 struct buf
{ int x
; };
3851 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3852 static char
*e
(p
, i
)
3858 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3863 s
= g
(p
, va_arg
(v
,int
));
3868 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3869 function prototypes and stuff
, but not
'\xHH' hex character constants.
3870 These don
't provoke an error unfortunately, instead are silently treated
3871 as 'x
'. The following induces an error, until -std is added to get
3872 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3873 array size at least. It's necessary to
write '\x00'==0 to get something
3874 that
's true only with -std. */
3875 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3877 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3878 inside strings and character constants. */
3880 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3882 int test (int i, double x);
3883 struct s1 {int (*f) (int a);};
3884 struct s2 {int (*f) (double a);};
3885 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3891 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3896 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3897 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3899 CC="$ac_save_CC $ac_arg"
3900 rm -f conftest.$ac_objext
3901 if { (ac_try="$ac_compile"
3903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904 *) ac_try_echo=$ac_try;;
3906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3907 $as_echo "$ac_try_echo") >&5
3908 (eval "$ac_compile") 2>conftest.er1
3910 grep -v '^
*+' conftest.er1 >conftest.err
3912 cat conftest.err >&5
3913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } && {
3915 test -z "$ac_c_werror_flag" ||
3916 test ! -s conftest.err
3917 } && test -s conftest.$ac_objext; then
3918 ac_cv_prog_cc_c89=$ac_arg
3920 $as_echo "$as_me: failed program was:" >&5
3921 sed 's
/^
/|
/' conftest.$ac_ext >&5
3926 rm -f core conftest.err conftest.$ac_objext
3927 test "x$ac_cv_prog_cc_c89" != "xno" && break
3929 rm -f conftest.$ac_ext
3934 case "x$ac_cv_prog_cc_c89" in
3936 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3937 $as_echo "none needed" >&6; } ;;
3939 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3940 $as_echo "unsupported" >&6; } ;;
3942 CC="$CC $ac_cv_prog_cc_c89"
3943 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3944 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3949 ac_cpp='$CPP $CPPFLAGS'
3950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3951 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3953 DEPDIR="${am__leading_dot}deps"
3955 ac_config_commands="$ac_config_commands depfiles"
3958 am_make=${MAKE-make}
3959 cat > confinc << 'END
'
3961 @echo this is the am__doit target
3964 # If we don't
find an include directive
, just comment out the code.
3965 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3966 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3970 # First try GNU make style include.
3971 echo "include confinc" > confmf
3972 # Ignore all kinds of additional output from `make'.
3973 case `$am_make -s -f confmf 2> /dev/null` in #(
3974 *the\ am__doit\ target
*)
3980 # Now try BSD make style include.
3981 if test "$am__include" = "#"; then
3982 echo '.include "confinc"' > confmf
3983 case `$am_make -s -f confmf 2> /dev/null` in #(
3984 *the\ am__doit\ target
*)
3985 am__include
=.include
3993 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3994 $as_echo "$_am_result" >&6; }
3995 rm -f confinc confmf
3997 # Check whether --enable-dependency-tracking was given.
3998 if test "${enable_dependency_tracking+set}" = set; then
3999 enableval
=$enable_dependency_tracking;
4002 if test "x$enable_dependency_tracking" != xno
; then
4003 am_depcomp
="$ac_aux_dir/depcomp"
4006 if test "x$enable_dependency_tracking" != xno; then
4016 depcc
="$CC" am_compiler_list
=
4018 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4019 $as_echo_n "checking dependency style of $depcc... " >&6; }
4020 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4021 $as_echo_n "(cached) " >&6
4023 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4024 # We make a subdir and do the tests there. Otherwise we can end up
4025 # making bogus files that we don't know about and never remove. For
4026 # instance it was reported that on HP-UX the gcc test will end up
4027 # making a dummy file named `D' -- because `-MD' means `put the output
4030 # Copy depcomp to subdir because otherwise we won't find it if we're
4031 # using a relative directory.
4032 cp "$am_depcomp" conftest.dir
4034 # We will build objects and dependencies in a subdirectory because
4035 # it helps to detect inapplicable dependency modes. For instance
4036 # both Tru64's cc and ICC support -MD to output dependencies as a
4037 # side effect of compilation, but ICC will put the dependencies in
4038 # the current directory while Tru64 will put them in the object
4042 am_cv_CC_dependencies_compiler_type
=none
4043 if test "$am_compiler_list" = ""; then
4044 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4047 case " $depcc " in #(
4048 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4051 for depmode
in $am_compiler_list; do
4052 # Setup a source with many dependencies, because some compilers
4053 # like to wrap large dependency lists on column 80 (with \), and
4054 # we should not choose a depcomp mode which is confused by this.
4056 # We need to recreate these files for each test, as the compiler may
4057 # overwrite some of them when testing with obscure command lines.
4058 # This happens at least with the AIX C compiler.
4060 for i
in 1 2 3 4 5 6; do
4061 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4062 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4063 # Solaris 8's {/usr,}/bin/sh.
4064 touch sub
/conftst
$i.h
4066 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4068 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4069 # mode. It turns out that the SunPro C++ compiler does not properly
4070 # handle `-M -o', and we need to detect this. Also, some Intel
4071 # versions had trouble with output in subdirs
4072 am__obj
=sub
/conftest.
${OBJEXT-o}
4073 am__minus_obj
="-o $am__obj"
4076 # This depmode causes a compiler race in universal mode.
4077 test "$am__universal" = false ||
continue
4080 # after this tag, mechanisms are not by side-effect, so they'll
4081 # only be used when explicitly requested
4082 if test "x$enable_dependency_tracking" = xyes
; then
4088 msvisualcpp | msvcmsys
)
4089 # This compiler won't grok `-c -o', but also, the minuso test has
4090 # not run yet. These depmodes are late enough in the game, and
4091 # so weak that their functioning should not be impacted.
4092 am__obj
=conftest.
${OBJEXT-o}
4097 if depmode
=$depmode \
4098 source=sub
/conftest.c object
=$am__obj \
4099 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4100 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4101 >/dev
/null
2>conftest.err
&&
4102 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4103 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4104 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4105 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4106 # icc doesn't choke on unknown options, it will just issue warnings
4107 # or remarks (even with -Werror). So we grep stderr for any message
4108 # that says an option was ignored or not supported.
4109 # When given -MP, icc 7.0 and 7.1 complain thusly:
4110 # icc: Command line warning: ignoring option '-M'; no argument required
4111 # The diagnosis changed in icc 8.0:
4112 # icc: Command line remark: option '-MP' not supported
4113 if (grep 'ignoring option' conftest.err ||
4114 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4115 am_cv_CC_dependencies_compiler_type
=$depmode
4124 am_cv_CC_dependencies_compiler_type
=none
4128 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4129 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4130 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4133 test "x$enable_dependency_tracking" != xno \
4134 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4136 am__fastdepCC_FALSE
='#'
4138 am__fastdepCC_TRUE
='#'
4139 am__fastdepCC_FALSE
=
4145 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4146 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4151 macro_version
='2.2.6'
4152 macro_revision
='1.3012'
4166 ltmain
="$ac_aux_dir/ltmain.sh"
4168 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4169 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4170 if test "${ac_cv_path_SED+set}" = set; then
4171 $as_echo_n "(cached) " >&6
4173 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4174 for ac_i
in 1 2 3 4 5 6 7; do
4175 ac_script
="$ac_script$as_nl$ac_script"
4177 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4178 $as_unset ac_script || ac_script
=
4179 if test -z "$SED"; then
4180 ac_path_SED_found
=false
4181 # Loop through the user's path and test for each of PROGNAME-LIST
4182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4186 test -z "$as_dir" && as_dir
=.
4187 for ac_prog
in sed gsed
; do
4188 for ac_exec_ext
in '' $ac_executable_extensions; do
4189 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4190 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4191 # Check for GNU ac_path_SED and select it if it is found.
4192 # Check for GNU $ac_path_SED
4193 case `"$ac_path_SED" --version 2>&1` in
4195 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4198 $as_echo_n 0123456789 >"conftest.in"
4201 cat "conftest.in" "conftest.in" >"conftest.tmp"
4202 mv "conftest.tmp" "conftest.in"
4203 cp "conftest.in" "conftest.nl"
4204 $as_echo '' >> "conftest.nl"
4205 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4206 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4207 ac_count
=`expr $ac_count + 1`
4208 if test $ac_count -gt ${ac_path_SED_max-0}; then
4209 # Best one so far, save it but keep looking for a better one
4210 ac_cv_path_SED
="$ac_path_SED"
4211 ac_path_SED_max
=$ac_count
4213 # 10*(2^10) chars as input seems more than enough
4214 test $ac_count -gt 10 && break
4216 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4219 $ac_path_SED_found && break 3
4224 if test -z "$ac_cv_path_SED"; then
4225 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4226 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4227 { (exit 1); exit 1; }; }
4234 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4235 $as_echo "$ac_cv_path_SED" >&6; }
4236 SED
="$ac_cv_path_SED"
4239 test -z "$SED" && SED
=sed
4240 Xsed
="$SED -e 1s/^X//"
4252 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4253 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4254 if test "${ac_cv_path_GREP+set}" = set; then
4255 $as_echo_n "(cached) " >&6
4257 if test -z "$GREP"; then
4258 ac_path_GREP_found
=false
4259 # Loop through the user's path and test for each of PROGNAME-LIST
4260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4261 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4264 test -z "$as_dir" && as_dir
=.
4265 for ac_prog
in grep ggrep
; do
4266 for ac_exec_ext
in '' $ac_executable_extensions; do
4267 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4268 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4269 # Check for GNU ac_path_GREP and select it if it is found.
4270 # Check for GNU $ac_path_GREP
4271 case `"$ac_path_GREP" --version 2>&1` in
4273 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4276 $as_echo_n 0123456789 >"conftest.in"
4279 cat "conftest.in" "conftest.in" >"conftest.tmp"
4280 mv "conftest.tmp" "conftest.in"
4281 cp "conftest.in" "conftest.nl"
4282 $as_echo 'GREP' >> "conftest.nl"
4283 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4284 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4285 ac_count
=`expr $ac_count + 1`
4286 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4287 # Best one so far, save it but keep looking for a better one
4288 ac_cv_path_GREP
="$ac_path_GREP"
4289 ac_path_GREP_max
=$ac_count
4291 # 10*(2^10) chars as input seems more than enough
4292 test $ac_count -gt 10 && break
4294 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4297 $ac_path_GREP_found && break 3
4302 if test -z "$ac_cv_path_GREP"; then
4303 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4304 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4305 { (exit 1); exit 1; }; }
4308 ac_cv_path_GREP
=$GREP
4312 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4313 $as_echo "$ac_cv_path_GREP" >&6; }
4314 GREP
="$ac_cv_path_GREP"
4317 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4318 $as_echo_n "checking for egrep... " >&6; }
4319 if test "${ac_cv_path_EGREP+set}" = set; then
4320 $as_echo_n "(cached) " >&6
4322 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4323 then ac_cv_path_EGREP
="$GREP -E"
4325 if test -z "$EGREP"; then
4326 ac_path_EGREP_found
=false
4327 # Loop through the user's path and test for each of PROGNAME-LIST
4328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4329 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4332 test -z "$as_dir" && as_dir
=.
4333 for ac_prog
in egrep; do
4334 for ac_exec_ext
in '' $ac_executable_extensions; do
4335 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4336 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4337 # Check for GNU ac_path_EGREP and select it if it is found.
4338 # Check for GNU $ac_path_EGREP
4339 case `"$ac_path_EGREP" --version 2>&1` in
4341 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4344 $as_echo_n 0123456789 >"conftest.in"
4347 cat "conftest.in" "conftest.in" >"conftest.tmp"
4348 mv "conftest.tmp" "conftest.in"
4349 cp "conftest.in" "conftest.nl"
4350 $as_echo 'EGREP' >> "conftest.nl"
4351 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4352 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4353 ac_count
=`expr $ac_count + 1`
4354 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4355 # Best one so far, save it but keep looking for a better one
4356 ac_cv_path_EGREP
="$ac_path_EGREP"
4357 ac_path_EGREP_max
=$ac_count
4359 # 10*(2^10) chars as input seems more than enough
4360 test $ac_count -gt 10 && break
4362 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4365 $ac_path_EGREP_found && break 3
4370 if test -z "$ac_cv_path_EGREP"; then
4371 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4372 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4373 { (exit 1); exit 1; }; }
4376 ac_cv_path_EGREP
=$EGREP
4381 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4382 $as_echo "$ac_cv_path_EGREP" >&6; }
4383 EGREP
="$ac_cv_path_EGREP"
4386 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4387 $as_echo_n "checking for fgrep... " >&6; }
4388 if test "${ac_cv_path_FGREP+set}" = set; then
4389 $as_echo_n "(cached) " >&6
4391 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4392 then ac_cv_path_FGREP
="$GREP -F"
4394 if test -z "$FGREP"; then
4395 ac_path_FGREP_found
=false
4396 # Loop through the user's path and test for each of PROGNAME-LIST
4397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4401 test -z "$as_dir" && as_dir
=.
4402 for ac_prog
in fgrep
; do
4403 for ac_exec_ext
in '' $ac_executable_extensions; do
4404 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4405 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4406 # Check for GNU ac_path_FGREP and select it if it is found.
4407 # Check for GNU $ac_path_FGREP
4408 case `"$ac_path_FGREP" --version 2>&1` in
4410 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4413 $as_echo_n 0123456789 >"conftest.in"
4416 cat "conftest.in" "conftest.in" >"conftest.tmp"
4417 mv "conftest.tmp" "conftest.in"
4418 cp "conftest.in" "conftest.nl"
4419 $as_echo 'FGREP' >> "conftest.nl"
4420 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4421 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4422 ac_count
=`expr $ac_count + 1`
4423 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4424 # Best one so far, save it but keep looking for a better one
4425 ac_cv_path_FGREP
="$ac_path_FGREP"
4426 ac_path_FGREP_max
=$ac_count
4428 # 10*(2^10) chars as input seems more than enough
4429 test $ac_count -gt 10 && break
4431 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4434 $ac_path_FGREP_found && break 3
4439 if test -z "$ac_cv_path_FGREP"; then
4440 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4441 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4442 { (exit 1); exit 1; }; }
4445 ac_cv_path_FGREP
=$FGREP
4450 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4451 $as_echo "$ac_cv_path_FGREP" >&6; }
4452 FGREP
="$ac_cv_path_FGREP"
4455 test -z "$GREP" && GREP
=grep
4475 # Check whether --with-gnu-ld was given.
4476 if test "${with_gnu_ld+set}" = set; then
4477 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4483 if test "$GCC" = yes; then
4484 # Check if gcc -print-prog-name=ld gives a path.
4485 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4486 $as_echo_n "checking for ld used by $CC... " >&6; }
4489 # gcc leaves a trailing carriage return which upsets mingw
4490 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4492 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4495 # Accept absolute paths.
4497 re_direlt
='/[^/][^/]*/\.\./'
4498 # Canonicalize the pathname of ld
4499 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4500 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4501 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4503 test -z "$LD" && LD
="$ac_prog"
4506 # If it fails, then pretend we aren't using GCC.
4510 # If it is relative, then search for the first ld in PATH.
4514 elif test "$with_gnu_ld" = yes; then
4515 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4516 $as_echo_n "checking for GNU ld... " >&6; }
4518 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4519 $as_echo_n "checking for non-GNU ld... " >&6; }
4521 if test "${lt_cv_path_LD+set}" = set; then
4522 $as_echo_n "(cached) " >&6
4524 if test -z "$LD"; then
4525 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4526 for ac_dir
in $PATH; do
4528 test -z "$ac_dir" && ac_dir
=.
4529 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4530 lt_cv_path_LD
="$ac_dir/$ac_prog"
4531 # Check to see if the program is GNU ld. I'd rather use --version,
4532 # but apparently some variants of GNU ld only accept -v.
4533 # Break only if it was the GNU/non-GNU ld that we prefer.
4534 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4535 *GNU
* |
*'with BFD'*)
4536 test "$with_gnu_ld" != no
&& break
4539 test "$with_gnu_ld" != yes && break
4546 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4551 if test -n "$LD"; then
4552 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4553 $as_echo "$LD" >&6; }
4555 { $as_echo "$as_me:$LINENO: result: no" >&5
4556 $as_echo "no" >&6; }
4558 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4559 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4560 { (exit 1); exit 1; }; }
4561 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4562 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4563 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4564 $as_echo_n "(cached) " >&6
4566 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4567 case `$LD -v 2>&1 </dev/null` in
4568 *GNU
* |
*'with BFD'*)
4569 lt_cv_prog_gnu_ld
=yes
4572 lt_cv_prog_gnu_ld
=no
4576 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4577 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4578 with_gnu_ld
=$lt_cv_prog_gnu_ld
4588 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4589 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4590 if test "${lt_cv_path_NM+set}" = set; then
4591 $as_echo_n "(cached) " >&6
4593 if test -n "$NM"; then
4594 # Let the user override the test.
4597 lt_nm_to_check
="${ac_tool_prefix}nm"
4598 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4599 lt_nm_to_check
="$lt_nm_to_check nm"
4601 for lt_tmp_nm
in $lt_nm_to_check; do
4602 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4603 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4605 test -z "$ac_dir" && ac_dir
=.
4606 tmp_nm
="$ac_dir/$lt_tmp_nm"
4607 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4608 # Check to see if the nm accepts a BSD-compat flag.
4609 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4610 # nm: unknown option "B" ignored
4611 # Tru64's nm complains that /dev/null is an invalid object file
4612 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4613 */dev
/null
* |
*'Invalid file or object type'*)
4614 lt_cv_path_NM
="$tmp_nm -B"
4618 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4620 lt_cv_path_NM
="$tmp_nm -p"
4624 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4625 continue # so that we can try to find one that supports BSD flags
4634 : ${lt_cv_path_NM=no}
4637 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4638 $as_echo "$lt_cv_path_NM" >&6; }
4639 if test "$lt_cv_path_NM" != "no"; then
4642 # Didn't find any BSD compatible name lister, look for dumpbin.
4643 if test -n "$ac_tool_prefix"; then
4644 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4647 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4648 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$DUMPBIN"; then
4654 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4663 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4664 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 DUMPBIN
=$ac_cv_prog_DUMPBIN
4674 if test -n "$DUMPBIN"; then
4675 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4676 $as_echo "$DUMPBIN" >&6; }
4678 { $as_echo "$as_me:$LINENO: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$DUMPBIN" && break
4686 if test -z "$DUMPBIN"; then
4687 ac_ct_DUMPBIN
=$DUMPBIN
4688 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4690 # Extract the first word of "$ac_prog", so it can be a program name with args.
4691 set dummy
$ac_prog; ac_word
=$2
4692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4695 $as_echo_n "(cached) " >&6
4697 if test -n "$ac_ct_DUMPBIN"; then
4698 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir
=.
4705 for ac_exec_ext
in '' $ac_executable_extensions; do
4706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4707 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4708 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4718 if test -n "$ac_ct_DUMPBIN"; then
4719 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4720 $as_echo "$ac_ct_DUMPBIN" >&6; }
4722 { $as_echo "$as_me:$LINENO: result: no" >&5
4723 $as_echo "no" >&6; }
4727 test -n "$ac_ct_DUMPBIN" && break
4730 if test "x$ac_ct_DUMPBIN" = x
; then
4733 case $cross_compiling:$ac_tool_warned in
4735 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4737 ac_tool_warned
=yes ;;
4739 DUMPBIN
=$ac_ct_DUMPBIN
4744 if test "$DUMPBIN" != ":"; then
4748 test -z "$NM" && NM
=nm
4755 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4756 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4757 if test "${lt_cv_nm_interface+set}" = set; then
4758 $as_echo_n "(cached) " >&6
4760 lt_cv_nm_interface
="BSD nm"
4761 echo "int some_variable = 0;" > conftest.
$ac_ext
4762 (eval echo "\"\$as_me:4762: $ac_compile\"" >&5)
4763 (eval "$ac_compile" 2>conftest.err
)
4764 cat conftest.err
>&5
4765 (eval echo "\"\$as_me:4765: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4766 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4767 cat conftest.err
>&5
4768 (eval echo "\"\$as_me:4768: output\"" >&5)
4769 cat conftest.out
>&5
4770 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4771 lt_cv_nm_interface
="MS dumpbin"
4775 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4776 $as_echo "$lt_cv_nm_interface" >&6; }
4778 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4779 $as_echo_n "checking whether ln -s works... " >&6; }
4781 if test "$LN_S" = "ln -s"; then
4782 { $as_echo "$as_me:$LINENO: result: yes" >&5
4783 $as_echo "yes" >&6; }
4785 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4786 $as_echo "no, using $LN_S" >&6; }
4789 # find the maximum length of command line arguments
4790 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4791 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4792 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4793 $as_echo_n "(cached) " >&6
4800 # On DJGPP, this test can blow up pretty badly due to problems in libc
4801 # (any single argument exceeding 2000 bytes causes a buffer overrun
4802 # during glob expansion). Even if it were fixed, the result of this
4803 # check would be larger than it should be.
4804 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4808 # Under GNU Hurd, this test is not required because there is
4809 # no limit to the length of command line arguments.
4810 # Libtool will interpret -1 as no limit whatsoever
4811 lt_cv_sys_max_cmd_len
=-1;
4814 cygwin
* | mingw
* | cegcc
*)
4815 # On Win9x/ME, this test blows up -- it succeeds, but takes
4816 # about 5 minutes as the teststring grows exponentially.
4817 # Worse, since 9x/ME are not pre-emptively multitasking,
4818 # you end up with a "frozen" computer, even though with patience
4819 # the test eventually succeeds (with a max line length of 256k).
4820 # Instead, let's just punt: use the minimum linelength reported by
4821 # all of the supported platforms: 8192 (on NT/2K/XP).
4822 lt_cv_sys_max_cmd_len
=8192;
4826 # On AmigaOS with pdksh, this test takes hours, literally.
4827 # So we just punt and use a minimum line length of 8192.
4828 lt_cv_sys_max_cmd_len
=8192;
4831 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4832 # This has been around since 386BSD, at least. Likely further.
4833 if test -x /sbin
/sysctl
; then
4834 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4835 elif test -x /usr
/sbin
/sysctl
; then
4836 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4838 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4840 # And add a safety zone
4841 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4842 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4846 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4847 lt_cv_sys_max_cmd_len
=196608
4851 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4852 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4853 # nice to cause kernel panics so lets avoid the loop below.
4854 # First set a reasonable default.
4855 lt_cv_sys_max_cmd_len
=16384
4857 if test -x /sbin
/sysconfig
; then
4858 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4859 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4864 lt_cv_sys_max_cmd_len
=102400
4866 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4867 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4868 if test -n "$kargmax"; then
4869 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4871 lt_cv_sys_max_cmd_len
=32768
4875 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4876 if test -n "$lt_cv_sys_max_cmd_len"; then
4877 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4878 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4880 # Make teststring a little bigger before we do anything with it.
4881 # a 1K string should be a reasonable start.
4882 for i
in 1 2 3 4 5 6 7 8 ; do
4883 teststring
=$teststring$teststring
4885 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4886 # If test is not a shell built-in, we'll probably end up computing a
4887 # maximum length that is only half of the actual maximum length, but
4889 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4890 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4891 test $i != 17 # 1/2 MB should be enough
4894 teststring
=$teststring$teststring
4896 # Only check the string length outside the loop.
4897 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4899 # Add a significant safety factor because C++ compilers can tack on
4900 # massive amounts of additional arguments before passing them to the
4901 # linker. It appears as though 1/2 is a usable value.
4902 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4909 if test -n $lt_cv_sys_max_cmd_len ; then
4910 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4911 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4913 { $as_echo "$as_me:$LINENO: result: none" >&5
4914 $as_echo "none" >&6; }
4916 max_cmd_len
=$lt_cv_sys_max_cmd_len
4927 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4928 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4929 # Try some XSI features
4932 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4934 && eval 'test $(( 1 + 1 )) -eq 2 \
4935 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4937 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4938 $as_echo "$xsi_shell" >&6; }
4941 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4942 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4944 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4946 && lt_shell_append=yes
4947 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4948 $as_echo "$lt_shell_append" >&6; }
4951 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4961 # test EBCDIC or ASCII
4962 case `echo X|tr X '\101'` in
4963 A) # ASCII based system
4964 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4965 lt_SP2NL='tr \040 \012'
4966 lt_NL2SP='tr \015\012 \040\040'
4968 *) # EBCDIC based system
4969 lt_SP2NL='tr \100 \n'
4970 lt_NL2SP='tr \r\n \100\100'
4982 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4983 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4984 if test "${lt_cv_ld_reload_flag+set}" = set; then
4985 $as_echo_n "(cached
) " >&6
4987 lt_cv_ld_reload_flag='-r'
4989 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4990 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4991 reload_flag=$lt_cv_ld_reload_flag
4992 case $reload_flag in
4994 *) reload_flag=" $reload_flag" ;;
4996 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4999 if test "$GCC" = yes; then
5000 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5002 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5018 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5019 $as_echo_n "checking
for $ac_word...
" >&6; }
5020 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5021 $as_echo_n "(cached
) " >&6
5023 if test -n "$OBJDUMP"; then
5024 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5034 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5043 OBJDUMP=$ac_cv_prog_OBJDUMP
5044 if test -n "$OBJDUMP"; then
5045 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5046 $as_echo "$OBJDUMP" >&6; }
5048 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5049 $as_echo "no
" >&6; }
5054 if test -z "$ac_cv_prog_OBJDUMP"; then
5055 ac_ct_OBJDUMP=$OBJDUMP
5056 # Extract the first word of "objdump
", so it can be a program name with args.
5057 set dummy objdump; ac_word=$2
5058 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5059 $as_echo_n "checking
for $ac_word...
" >&6; }
5060 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5061 $as_echo_n "(cached
) " >&6
5063 if test -n "$ac_ct_OBJDUMP"; then
5064 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5074 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5083 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5084 if test -n "$ac_ct_OBJDUMP"; then
5085 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5086 $as_echo "$ac_ct_OBJDUMP" >&6; }
5088 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5089 $as_echo "no
" >&6; }
5092 if test "x
$ac_ct_OBJDUMP" = x; then
5095 case $cross_compiling:$ac_tool_warned in
5097 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5098 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5099 ac_tool_warned=yes ;;
5101 OBJDUMP=$ac_ct_OBJDUMP
5104 OBJDUMP="$ac_cv_prog_OBJDUMP"
5107 test -z "$OBJDUMP" && OBJDUMP=objdump
5117 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5118 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5119 if test "${lt_cv_deplibs_check_method+set}" = set; then
5120 $as_echo_n "(cached
) " >&6
5122 lt_cv_file_magic_cmd='$MAGIC_CMD'
5123 lt_cv_file_magic_test_file=
5124 lt_cv_deplibs_check_method='unknown'
5125 # Need to set the preceding variable on all platforms that support
5126 # interlibrary dependencies.
5127 # 'none' -- dependencies not supported.
5128 # `unknown' -- same as none, but documents that we really don't know.
5129 # 'pass_all' -- all dependencies passed with no checks.
5130 # 'test_compile' -- check by making test program.
5131 # 'file_magic [[regex]]' -- check by looking for files in library path
5132 # which responds to the $file_magic_cmd with a given extended regex.
5133 # If you have `file' or equivalent on your system and you're not sure
5134 # whether `pass_all' will *always* work, you probably want this one.
5138 lt_cv_deplibs_check_method=pass_all
5142 lt_cv_deplibs_check_method=pass_all
5146 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5147 lt_cv_file_magic_cmd='/usr/bin/file -L'
5148 lt_cv_file_magic_test_file=/shlib/libc.so
5152 # func_win32_libid is a shell function defined in ltmain.sh
5153 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5154 lt_cv_file_magic_cmd='func_win32_libid'
5158 # Base MSYS/MinGW do not provide the 'file' command needed by
5159 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5160 # unless we find 'file', for example because we are cross-compiling.
5161 if ( file / ) >/dev/null 2>&1; then
5162 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5163 lt_cv_file_magic_cmd='func_win32_libid'
5165 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5166 lt_cv_file_magic_cmd='$OBJDUMP -f'
5171 # use the weaker test based on 'objdump'. See mingw*.
5172 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5173 lt_cv_file_magic_cmd='$OBJDUMP -f'
5176 darwin* | rhapsody*)
5177 lt_cv_deplibs_check_method=pass_all
5180 freebsd* | dragonfly*)
5181 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5184 # Not sure whether the presence of OpenBSD here was a mistake.
5185 # Let's accept both of them until this is cleared up.
5186 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5187 lt_cv_file_magic_cmd=/usr/bin/file
5188 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5192 lt_cv_deplibs_check_method=pass_all
5197 lt_cv_deplibs_check_method=pass_all
5200 hpux10.20* | hpux11*)
5201 lt_cv_file_magic_cmd=/usr/bin/file
5204 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5205 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5208 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]'
5209 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5212 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5213 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5219 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5220 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5223 irix5* | irix6* | nonstopux*)
5225 *-32|*"-32 ") libmagic=32-bit;;
5226 *-n32|*"-n32 ") libmagic=N32;;
5227 *-64|*"-64 ") libmagic=64-bit;;
5228 *) libmagic=never-match;;
5230 lt_cv_deplibs_check_method=pass_all
5233 # This must be Linux ELF.
5234 linux* | k*bsd*-gnu)
5235 lt_cv_deplibs_check_method=pass_all
5239 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5240 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5242 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5247 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5248 lt_cv_file_magic_cmd=/usr/bin/file
5249 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5253 lt_cv_deplibs_check_method=pass_all
5257 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5258 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5260 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5264 osf3* | osf4* | osf5*)
5265 lt_cv_deplibs_check_method=pass_all
5269 lt_cv_deplibs_check_method=pass_all
5273 lt_cv_deplibs_check_method=pass_all
5276 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5277 lt_cv_deplibs_check_method=pass_all
5281 case $host_vendor in
5283 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]'
5284 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5287 lt_cv_deplibs_check_method=pass_all
5290 lt_cv_file_magic_cmd='/bin/file'
5291 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5294 lt_cv_file_magic_cmd='/bin/file'
5295 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5296 lt_cv_file_magic_test_file=/lib/libc.so
5299 lt_cv_deplibs_check_method=pass_all
5302 lt_cv_deplibs_check_method=pass_all
5308 lt_cv_deplibs_check_method=pass_all
5313 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5314 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5315 file_magic_cmd=$lt_cv_file_magic_cmd
5316 deplibs_check_method=$lt_cv_deplibs_check_method
5317 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5330 if test -n "$ac_tool_prefix"; then
5331 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5332 set dummy ${ac_tool_prefix}ar; ac_word=$2
5333 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5334 $as_echo_n "checking
for $ac_word...
" >&6; }
5335 if test "${ac_cv_prog_AR+set}" = set; then
5336 $as_echo_n "(cached
) " >&6
5338 if test -n "$AR"; then
5339 ac_cv_prog_AR="$AR" # Let the user override the test.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_AR="${ac_tool_prefix}ar"
5349 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5359 if test -n "$AR"; then
5360 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5361 $as_echo "$AR" >&6; }
5363 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5364 $as_echo "no
" >&6; }
5369 if test -z "$ac_cv_prog_AR"; then
5371 # Extract the first word of "ar", so it can be a program name with args.
5372 set dummy ar; ac_word=$2
5373 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5374 $as_echo_n "checking
for $ac_word...
" >&6; }
5375 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5376 $as_echo_n "(cached
) " >&6
5378 if test -n "$ac_ct_AR"; then
5379 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5388 ac_cv_prog_ac_ct_AR="ar"
5389 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5398 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5399 if test -n "$ac_ct_AR"; then
5400 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5401 $as_echo "$ac_ct_AR" >&6; }
5403 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5404 $as_echo "no
" >&6; }
5407 if test "x
$ac_ct_AR" = x; then
5410 case $cross_compiling:$ac_tool_warned in
5412 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5413 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5414 ac_tool_warned=yes ;;
5422 test -z "$AR" && AR=ar
5423 test -z "$AR_FLAGS" && AR_FLAGS=cru
5435 if test -n "$ac_tool_prefix"; then
5436 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5437 set dummy ${ac_tool_prefix}strip; ac_word=$2
5438 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5439 $as_echo_n "checking
for $ac_word...
" >&6; }
5440 if test "${ac_cv_prog_STRIP+set}" = set; then
5441 $as_echo_n "(cached
) " >&6
5443 if test -n "$STRIP"; then
5444 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 test -z "$as_dir" && as_dir=.
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5453 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5454 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5463 STRIP=$ac_cv_prog_STRIP
5464 if test -n "$STRIP"; then
5465 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5466 $as_echo "$STRIP" >&6; }
5468 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5469 $as_echo "no
" >&6; }
5474 if test -z "$ac_cv_prog_STRIP"; then
5476 # Extract the first word of "strip
", so it can be a program name with args.
5477 set dummy strip; ac_word=$2
5478 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5479 $as_echo_n "checking
for $ac_word...
" >&6; }
5480 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5481 $as_echo_n "(cached
) " >&6
5483 if test -n "$ac_ct_STRIP"; then
5484 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir=.
5491 for ac_exec_ext in '' $ac_executable_extensions; do
5492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5493 ac_cv_prog_ac_ct_STRIP="strip
"
5494 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5503 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5504 if test -n "$ac_ct_STRIP"; then
5505 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5506 $as_echo "$ac_ct_STRIP" >&6; }
5508 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5509 $as_echo "no
" >&6; }
5512 if test "x
$ac_ct_STRIP" = x; then
5515 case $cross_compiling:$ac_tool_warned in
5517 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5518 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5519 ac_tool_warned=yes ;;
5524 STRIP="$ac_cv_prog_STRIP"
5527 test -z "$STRIP" && STRIP=:
5534 if test -n "$ac_tool_prefix"; then
5535 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5536 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5537 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5538 $as_echo_n "checking
for $ac_word...
" >&6; }
5539 if test "${ac_cv_prog_RANLIB+set}" = set; then
5540 $as_echo_n "(cached
) " >&6
5542 if test -n "$RANLIB"; then
5543 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 test -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5552 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5553 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5562 RANLIB=$ac_cv_prog_RANLIB
5563 if test -n "$RANLIB"; then
5564 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5565 $as_echo "$RANLIB" >&6; }
5567 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5568 $as_echo "no
" >&6; }
5573 if test -z "$ac_cv_prog_RANLIB"; then
5574 ac_ct_RANLIB=$RANLIB
5575 # Extract the first word of "ranlib
", so it can be a program name with args.
5576 set dummy ranlib; ac_word=$2
5577 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5578 $as_echo_n "checking
for $ac_word...
" >&6; }
5579 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5580 $as_echo_n "(cached
) " >&6
5582 if test -n "$ac_ct_RANLIB"; then
5583 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5589 test -z "$as_dir" && as_dir=.
5590 for ac_exec_ext in '' $ac_executable_extensions; do
5591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5592 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5593 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5602 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5603 if test -n "$ac_ct_RANLIB"; then
5604 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5605 $as_echo "$ac_ct_RANLIB" >&6; }
5607 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5608 $as_echo "no
" >&6; }
5611 if test "x
$ac_ct_RANLIB" = x; then
5614 case $cross_compiling:$ac_tool_warned in
5616 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5617 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5618 ac_tool_warned=yes ;;
5620 RANLIB=$ac_ct_RANLIB
5623 RANLIB="$ac_cv_prog_RANLIB"
5626 test -z "$RANLIB" && RANLIB=:
5633 # Determine commands to create old-style static archives.
5634 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5635 old_postinstall_cmds='chmod 644 $oldlib'
5636 old_postuninstall_cmds=
5638 if test -n "$RANLIB"; then
5641 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5644 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5647 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5683 # If no C compiler was specified, use CC.
5686 # If no C compiler flags were specified, use CFLAGS.
5687 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5689 # Allow CC to be a program name with arguments.
5693 # Check for command to grab the raw symbol name followed by C symbol from nm.
5694 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5695 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5696 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5697 $as_echo_n "(cached
) " >&6
5700 # These are sane defaults that work on at least a few old systems.
5701 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5703 # Character class describing NM global symbol codes.
5704 symcode='[BCDEGRST]'
5706 # Regexp to match symbols that can be accessed directly from C.
5707 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5709 # Define system-specific variables.
5714 cygwin* | mingw* | pw32* | cegcc*)
5715 symcode='[ABCDGISTW]'
5718 if test "$host_cpu" = ia64; then
5719 symcode='[ABCDEGRST]'
5723 symcode='[BCDEGRST]'
5726 symcode='[BCDEGQRST]'
5737 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5745 # If we're using GNU nm, then use its standard symbol codes.
5746 case `$NM -V 2>&1` in
5747 *GNU* | *'with BFD'*)
5748 symcode='[ABCDGIRSTW]' ;;
5751 # Transform an extracted symbol line into a proper C declaration.
5752 # Some systems (esp. on ia64) link data and code symbols differently,
5753 # so use this general approach.
5754 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5756 # Transform an extracted symbol line into symbol name and symbol address
5757 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5758 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'"
5760 # Handle CRLF in mingw tool chain
5764 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5768 # Try without a prefix underscore, then with it.
5769 for ac_symprfx in "" "_
"; do
5771 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5772 symxfrm="\\1 $ac_symprfx\\2 \\2"
5774 # Write the raw and C identifiers.
5775 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5776 # Fake it for dumpbin and say T for any non-static function
5777 # and D for any global variable.
5778 # Also find C++ and __fastcall symbols from MSVC++,
5779 # which start with @ or ?.
5780 lt_cv_sys_global_symbol_pipe="$AWK '"\
5781 " {last_section=section; section=\$ 3};"\
5782 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5783 " \$ 0!~/External *\|/{next};"\
5784 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5785 " {if(hide[section]) next};"\
5786 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5787 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5788 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5789 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5790 " ' prfx
=^
$ac_symprfx"
5792 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5795 # Check to see that the pipe works correctly.
5799 cat > conftest.$ac_ext <<_LT_EOF
5804 void nm_test_func(void);
5805 void nm_test_func(void){}
5809 int main(){nm_test_var='a';nm_test_func();return(0);}
5812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5813 (eval $ac_compile) 2>&5
5815 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5816 (exit $ac_status); }; then
5817 # Now try to grab the symbols.
5819 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5820 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5822 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5823 (exit $ac_status); } && test -s "$nlist"; then
5824 # Try sorting and uniquifying the output.
5825 if sort "$nlist" | uniq > "$nlist"T; then
5826 mv -f "$nlist"T "$nlist"
5831 # Make sure that we snagged all the symbols we need.
5832 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5833 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5834 cat <<_LT_EOF > conftest.$ac_ext
5840 # Now generate the symbol file.
5841 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5843 cat <<_LT_EOF >> conftest.$ac_ext
5845 /* The mapping between symbol names and symbols. */
5850 lt__PROGRAM__LTX_preloaded_symbols[] =
5852 { "@PROGRAM@
", (void *) 0 },
5854 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5855 cat <<\_LT_EOF >> conftest.$ac_ext
5859 /* This works around a problem in FreeBSD linker */
5860 #ifdef FREEBSD_WORKAROUND
5861 static const void *lt_preloaded_setup() {
5862 return lt__PROGRAM__LTX_preloaded_symbols;
5870 # Now try linking the two files.
5871 mv conftest.$ac_objext conftstm.$ac_objext
5872 lt_save_LIBS="$LIBS"
5873 lt_save_CFLAGS="$CFLAGS"
5874 LIBS="conftstm.
$ac_objext"
5875 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5877 (eval $ac_link) 2>&5
5879 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5880 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5883 LIBS="$lt_save_LIBS"
5884 CFLAGS="$lt_save_CFLAGS"
5886 echo "cannot
find nm_test_func
in $nlist" >&5
5889 echo "cannot
find nm_test_var
in $nlist" >&5
5892 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5895 echo "$progname: failed program was
:" >&5
5896 cat conftest.$ac_ext >&5
5898 rm -rf conftest* conftst*
5900 # Do not use the global_symbol_pipe unless it works.
5901 if test "$pipe_works" = yes; then
5904 lt_cv_sys_global_symbol_pipe=
5910 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5911 lt_cv_sys_global_symbol_to_cdecl=
5913 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5914 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5915 $as_echo "failed
" >&6; }
5917 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5918 $as_echo "ok
" >&6; }
5943 # Check whether --enable-libtool-lock was given.
5944 if test "${enable_libtool_lock+set}" = set; then
5945 enableval=$enable_libtool_lock;
5948 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5950 # Some flags need to be propagated to the compiler or linker for good
5954 # Find out which ABI we are using.
5955 echo 'int i;' > conftest.$ac_ext
5956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5957 (eval $ac_compile) 2>&5
5959 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5960 (exit $ac_status); }; then
5961 case `/usr/bin/file conftest.$ac_objext` in
5973 # Find out which ABI we are using.
5974 echo '#line 5974 "configure
"' > conftest.$ac_ext
5975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5976 (eval $ac_compile) 2>&5
5978 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5979 (exit $ac_status); }; then
5980 if test "$lt_cv_prog_gnu_ld" = yes; then
5981 case `/usr/bin/file conftest.$ac_objext` in
5983 LD="${LD-ld} -melf32bsmip"
5986 LD="${LD-ld} -melf32bmipn32"
5989 LD="${LD-ld} -melf64bmip"
5993 case `/usr/bin/file conftest.$ac_objext` in
6009 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6010 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6011 # Find out which ABI we are using.
6012 echo 'int i;' > conftest.$ac_ext
6013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6014 (eval $ac_compile) 2>&5
6016 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6017 (exit $ac_status); }; then
6018 case `/usr/bin/file conftest.o` in
6021 x86_64-*kfreebsd*-gnu)
6022 LD="${LD-ld} -m elf_i386_fbsd
"
6025 LD="${LD-ld} -m elf_i386
"
6027 ppc64-*linux*|powerpc64-*linux*)
6028 LD="${LD-ld} -m elf32ppclinux
"
6031 LD="${LD-ld} -m elf_s390
"
6034 LD="${LD-ld} -m elf32_sparc
"
6040 x86_64-*kfreebsd*-gnu)
6041 LD="${LD-ld} -m elf_x86_64_fbsd
"
6044 LD="${LD-ld} -m elf_x86_64
"
6046 ppc*-*linux*|powerpc*-*linux*)
6047 LD="${LD-ld} -m elf64ppc
"
6049 s390*-*linux*|s390*-*tpf*)
6050 LD="${LD-ld} -m elf64_s390
"
6053 LD="${LD-ld} -m elf64_sparc
"
6063 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6064 SAVE_CFLAGS="$CFLAGS"
6065 CFLAGS="$CFLAGS -belf"
6066 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6067 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6068 if test "${lt_cv_cc_needs_belf+set}" = set; then
6069 $as_echo_n "(cached
) " >&6
6072 ac_cpp='$CPP $CPPFLAGS'
6073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6077 cat >conftest.$ac_ext <<_ACEOF
6080 cat confdefs.h >>conftest.$ac_ext
6081 cat >>conftest.$ac_ext <<_ACEOF
6082 /* end confdefs.h. */
6092 rm -f conftest.$ac_objext conftest$ac_exeext
6093 if { (ac_try="$ac_link"
6095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6096 *) ac_try_echo=$ac_try;;
6098 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6099 $as_echo "$ac_try_echo") >&5
6100 (eval "$ac_link") 2>conftest.er1
6102 grep -v '^ *+' conftest.er1 >conftest.err
6104 cat conftest.err >&5
6105 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6106 (exit $ac_status); } && {
6107 test -z "$ac_c_werror_flag" ||
6108 test ! -s conftest.err
6109 } && test -s conftest$ac_exeext && {
6110 test "$cross_compiling" = yes ||
6111 $as_test_x conftest$ac_exeext
6113 lt_cv_cc_needs_belf=yes
6115 $as_echo "$as_me: failed program was
:" >&5
6116 sed 's/^/| /' conftest.$ac_ext >&5
6118 lt_cv_cc_needs_belf=no
6121 rm -rf conftest.dSYM
6122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6123 conftest$ac_exeext conftest.$ac_ext
6125 ac_cpp='$CPP $CPPFLAGS'
6126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6131 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6132 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6133 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6134 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6135 CFLAGS="$SAVE_CFLAGS"
6139 # Find out which ABI we are using.
6140 echo 'int i;' > conftest.$ac_ext
6141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6142 (eval $ac_compile) 2>&5
6144 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6145 (exit $ac_status); }; then
6146 case `/usr/bin/file conftest.o` in
6148 case $lt_cv_prog_gnu_ld in
6149 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6151 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6163 need_locks="$enable_libtool_lock"
6167 rhapsody* | darwin*)
6168 if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6170 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6171 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6172 $as_echo_n "checking
for $ac_word...
" >&6; }
6173 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6174 $as_echo_n "(cached
) " >&6
6176 if test -n "$DSYMUTIL"; then
6177 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 test -z "$as_dir" && as_dir=.
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6187 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6196 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6197 if test -n "$DSYMUTIL"; then
6198 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6199 $as_echo "$DSYMUTIL" >&6; }
6201 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6202 $as_echo "no
" >&6; }
6207 if test -z "$ac_cv_prog_DSYMUTIL"; then
6208 ac_ct_DSYMUTIL=$DSYMUTIL
6209 # Extract the first word of "dsymutil
", so it can be a program name with args.
6210 set dummy dsymutil; ac_word=$2
6211 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6212 $as_echo_n "checking
for $ac_word...
" >&6; }
6213 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6214 $as_echo_n "(cached
) " >&6
6216 if test -n "$ac_ct_DSYMUTIL"; then
6217 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6227 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6236 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6237 if test -n "$ac_ct_DSYMUTIL"; then
6238 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6239 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6241 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6242 $as_echo "no
" >&6; }
6245 if test "x
$ac_ct_DSYMUTIL" = x; then
6248 case $cross_compiling:$ac_tool_warned in
6250 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6251 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6252 ac_tool_warned=yes ;;
6254 DSYMUTIL=$ac_ct_DSYMUTIL
6257 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6262 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6263 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6264 $as_echo_n "checking
for $ac_word...
" >&6; }
6265 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6266 $as_echo_n "(cached
) " >&6
6268 if test -n "$NMEDIT"; then
6269 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6279 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6288 NMEDIT=$ac_cv_prog_NMEDIT
6289 if test -n "$NMEDIT"; then
6290 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6291 $as_echo "$NMEDIT" >&6; }
6293 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6294 $as_echo "no
" >&6; }
6299 if test -z "$ac_cv_prog_NMEDIT"; then
6300 ac_ct_NMEDIT=$NMEDIT
6301 # Extract the first word of "nmedit
", so it can be a program name with args.
6302 set dummy nmedit; ac_word=$2
6303 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6304 $as_echo_n "checking
for $ac_word...
" >&6; }
6305 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6306 $as_echo_n "(cached
) " >&6
6308 if test -n "$ac_ct_NMEDIT"; then
6309 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6319 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6328 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6329 if test -n "$ac_ct_NMEDIT"; then
6330 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6331 $as_echo "$ac_ct_NMEDIT" >&6; }
6333 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6334 $as_echo "no
" >&6; }
6337 if test "x
$ac_ct_NMEDIT" = x; then
6340 case $cross_compiling:$ac_tool_warned in
6342 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6343 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6344 ac_tool_warned=yes ;;
6346 NMEDIT=$ac_ct_NMEDIT
6349 NMEDIT="$ac_cv_prog_NMEDIT"
6352 if test -n "$ac_tool_prefix"; then
6353 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6354 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6355 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6356 $as_echo_n "checking
for $ac_word...
" >&6; }
6357 if test "${ac_cv_prog_LIPO+set}" = set; then
6358 $as_echo_n "(cached
) " >&6
6360 if test -n "$LIPO"; then
6361 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367 test -z "$as_dir" && as_dir=.
6368 for ac_exec_ext in '' $ac_executable_extensions; do
6369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6371 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6380 LIPO=$ac_cv_prog_LIPO
6381 if test -n "$LIPO"; then
6382 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6383 $as_echo "$LIPO" >&6; }
6385 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6386 $as_echo "no
" >&6; }
6391 if test -z "$ac_cv_prog_LIPO"; then
6393 # Extract the first word of "lipo
", so it can be a program name with args.
6394 set dummy lipo; ac_word=$2
6395 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6396 $as_echo_n "checking
for $ac_word...
" >&6; }
6397 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6398 $as_echo_n "(cached
) " >&6
6400 if test -n "$ac_ct_LIPO"; then
6401 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6410 ac_cv_prog_ac_ct_LIPO="lipo
"
6411 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6420 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6421 if test -n "$ac_ct_LIPO"; then
6422 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6423 $as_echo "$ac_ct_LIPO" >&6; }
6425 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6426 $as_echo "no
" >&6; }
6429 if test "x
$ac_ct_LIPO" = x; then
6432 case $cross_compiling:$ac_tool_warned in
6434 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6435 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6436 ac_tool_warned=yes ;;
6441 LIPO="$ac_cv_prog_LIPO"
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6446 set dummy ${ac_tool_prefix}otool; ac_word=$2
6447 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6448 $as_echo_n "checking
for $ac_word...
" >&6; }
6449 if test "${ac_cv_prog_OTOOL+set}" = set; then
6450 $as_echo_n "(cached
) " >&6
6452 if test -n "$OTOOL"; then
6453 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6463 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6472 OTOOL=$ac_cv_prog_OTOOL
6473 if test -n "$OTOOL"; then
6474 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6475 $as_echo "$OTOOL" >&6; }
6477 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6478 $as_echo "no
" >&6; }
6483 if test -z "$ac_cv_prog_OTOOL"; then
6485 # Extract the first word of "otool
", so it can be a program name with args.
6486 set dummy otool; ac_word=$2
6487 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6488 $as_echo_n "checking
for $ac_word...
" >&6; }
6489 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6490 $as_echo_n "(cached
) " >&6
6492 if test -n "$ac_ct_OTOOL"; then
6493 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502 ac_cv_prog_ac_ct_OTOOL="otool
"
6503 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6512 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6513 if test -n "$ac_ct_OTOOL"; then
6514 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6515 $as_echo "$ac_ct_OTOOL" >&6; }
6517 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6518 $as_echo "no
" >&6; }
6521 if test "x
$ac_ct_OTOOL" = x; then
6524 case $cross_compiling:$ac_tool_warned in
6526 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6527 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6528 ac_tool_warned=yes ;;
6533 OTOOL="$ac_cv_prog_OTOOL"
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6539 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6540 $as_echo_n "checking
for $ac_word...
" >&6; }
6541 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6542 $as_echo_n "(cached
) " >&6
6544 if test -n "$OTOOL64"; then
6545 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6555 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6564 OTOOL64=$ac_cv_prog_OTOOL64
6565 if test -n "$OTOOL64"; then
6566 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6567 $as_echo "$OTOOL64" >&6; }
6569 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6570 $as_echo "no
" >&6; }
6575 if test -z "$ac_cv_prog_OTOOL64"; then
6576 ac_ct_OTOOL64=$OTOOL64
6577 # Extract the first word of "otool64
", so it can be a program name with args.
6578 set dummy otool64; ac_word=$2
6579 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6580 $as_echo_n "checking
for $ac_word...
" >&6; }
6581 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6582 $as_echo_n "(cached
) " >&6
6584 if test -n "$ac_ct_OTOOL64"; then
6585 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6595 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6604 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6605 if test -n "$ac_ct_OTOOL64"; then
6606 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6607 $as_echo "$ac_ct_OTOOL64" >&6; }
6609 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6610 $as_echo "no
" >&6; }
6613 if test "x
$ac_ct_OTOOL64" = x; then
6616 case $cross_compiling:$ac_tool_warned in
6618 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6619 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6620 ac_tool_warned=yes ;;
6622 OTOOL64=$ac_ct_OTOOL64
6625 OTOOL64="$ac_cv_prog_OTOOL64"
6654 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6655 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6656 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6657 $as_echo_n "(cached
) " >&6
6659 lt_cv_apple_cc_single_mod=no
6660 if test -z "${LT_MULTI_MODULE}"; then
6661 # By default we will add the -single_module flag. You can override
6662 # by either setting the environment variable LT_MULTI_MODULE
6663 # non-empty at configure time, or by adding -multi_module to the
6665 rm -rf libconftest.dylib*
6666 echo "int foo
(void
){return 1;}" > conftest.c
6667 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6668 -dynamiclib -Wl,-single_module conftest.c
" >&5
6669 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6670 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6672 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6673 lt_cv_apple_cc_single_mod=yes
6675 cat conftest.err >&5
6677 rm -rf libconftest.dylib*
6681 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6682 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6683 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6684 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6685 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6686 $as_echo_n "(cached
) " >&6
6688 lt_cv_ld_exported_symbols_list=no
6689 save_LDFLAGS=$LDFLAGS
6690 echo "_main
" > conftest.sym
6691 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6692 cat >conftest.$ac_ext <<_ACEOF
6695 cat confdefs.h >>conftest.$ac_ext
6696 cat >>conftest.$ac_ext <<_ACEOF
6697 /* end confdefs.h. */
6707 rm -f conftest.$ac_objext conftest$ac_exeext
6708 if { (ac_try="$ac_link"
6710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6711 *) ac_try_echo=$ac_try;;
6713 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6714 $as_echo "$ac_try_echo") >&5
6715 (eval "$ac_link") 2>conftest.er1
6717 grep -v '^ *+' conftest.er1 >conftest.err
6719 cat conftest.err >&5
6720 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6721 (exit $ac_status); } && {
6722 test -z "$ac_c_werror_flag" ||
6723 test ! -s conftest.err
6724 } && test -s conftest$ac_exeext && {
6725 test "$cross_compiling" = yes ||
6726 $as_test_x conftest$ac_exeext
6728 lt_cv_ld_exported_symbols_list=yes
6730 $as_echo "$as_me: failed program was
:" >&5
6731 sed 's/^/| /' conftest.$ac_ext >&5
6733 lt_cv_ld_exported_symbols_list=no
6736 rm -rf conftest.dSYM
6737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6738 conftest$ac_exeext conftest.$ac_ext
6739 LDFLAGS="$save_LDFLAGS"
6742 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6743 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6745 rhapsody* | darwin1.[012])
6746 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6748 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6749 darwin*) # darwin 5.x on
6750 # if running on 10.5 or later, the deployment target defaults
6751 # to the OS version, if on x86, and 10.4, the deployment
6752 # target defaults to 10.4. Don't you love it?
6753 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6754 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6755 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6757 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6759 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6763 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6764 _lt_dar_single_mod='$single_module'
6766 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6767 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6769 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6771 if test "$DSYMUTIL" != ":"; then
6772 _lt_dsymutil='~$DSYMUTIL $lib || :'
6780 ac_cpp='$CPP $CPPFLAGS'
6781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6784 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6785 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6786 # On Suns, sometimes $CPP names a directory.
6787 if test -n "$CPP" && test -d "$CPP"; then
6790 if test -z "$CPP"; then
6791 if test "${ac_cv_prog_CPP+set}" = set; then
6792 $as_echo_n "(cached
) " >&6
6794 # Double quotes because CPP needs to be expanded
6795 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6798 for ac_c_preproc_warn_flag in '' yes
6800 # Use a header file that comes with gcc, so configuring glibc
6801 # with a fresh cross-compiler works.
6802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6803 # <limits.h> exists even on freestanding compilers.
6804 # On the NeXT, cc -E runs the code through the compiler's parser,
6805 # not just through cpp. "Syntax error
" is here to catch this case.
6806 cat >conftest.$ac_ext <<_ACEOF
6809 cat confdefs.h >>conftest.$ac_ext
6810 cat >>conftest.$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6813 # include <limits.h>
6815 # include <assert.h>
6819 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6822 *) ac_try_echo=$ac_try;;
6824 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6825 $as_echo "$ac_try_echo") >&5
6826 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6828 grep -v '^ *+' conftest.er1 >conftest.err
6830 cat conftest.err >&5
6831 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6832 (exit $ac_status); } >/dev/null && {
6833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6834 test ! -s conftest.err
6838 $as_echo "$as_me: failed program was
:" >&5
6839 sed 's/^/| /' conftest.$ac_ext >&5
6841 # Broken: fails on valid input.
6845 rm -f conftest.err conftest.$ac_ext
6847 # OK, works on sane cases. Now check whether nonexistent headers
6848 # can be detected and how.
6849 cat >conftest.$ac_ext <<_ACEOF
6852 cat confdefs.h >>conftest.$ac_ext
6853 cat >>conftest.$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6855 #include <ac_nonexistent.h>
6857 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6860 *) ac_try_echo=$ac_try;;
6862 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6863 $as_echo "$ac_try_echo") >&5
6864 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6866 grep -v '^ *+' conftest.er1 >conftest.err
6868 cat conftest.err >&5
6869 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6870 (exit $ac_status); } >/dev/null && {
6871 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6872 test ! -s conftest.err
6874 # Broken: success on invalid input.
6877 $as_echo "$as_me: failed program was
:" >&5
6878 sed 's/^/| /' conftest.$ac_ext >&5
6880 # Passes both tests.
6885 rm -f conftest.err conftest.$ac_ext
6888 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6889 rm -f conftest.err conftest.$ac_ext
6890 if $ac_preproc_ok; then
6902 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6903 $as_echo "$CPP" >&6; }
6905 for ac_c_preproc_warn_flag in '' yes
6907 # Use a header file that comes with gcc, so configuring glibc
6908 # with a fresh cross-compiler works.
6909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6910 # <limits.h> exists even on freestanding compilers.
6911 # On the NeXT, cc -E runs the code through the compiler's parser,
6912 # not just through cpp. "Syntax error
" is here to catch this case.
6913 cat >conftest.$ac_ext <<_ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6920 # include <limits.h>
6922 # include <assert.h>
6926 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6929 *) ac_try_echo=$ac_try;;
6931 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6932 $as_echo "$ac_try_echo") >&5
6933 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6935 grep -v '^ *+' conftest.er1 >conftest.err
6937 cat conftest.err >&5
6938 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6939 (exit $ac_status); } >/dev/null && {
6940 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6941 test ! -s conftest.err
6945 $as_echo "$as_me: failed program was
:" >&5
6946 sed 's/^/| /' conftest.$ac_ext >&5
6948 # Broken: fails on valid input.
6952 rm -f conftest.err conftest.$ac_ext
6954 # OK, works on sane cases. Now check whether nonexistent headers
6955 # can be detected and how.
6956 cat >conftest.$ac_ext <<_ACEOF
6959 cat confdefs.h >>conftest.$ac_ext
6960 cat >>conftest.$ac_ext <<_ACEOF
6961 /* end confdefs.h. */
6962 #include <ac_nonexistent.h>
6964 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6967 *) ac_try_echo=$ac_try;;
6969 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6970 $as_echo "$ac_try_echo") >&5
6971 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6973 grep -v '^ *+' conftest.er1 >conftest.err
6975 cat conftest.err >&5
6976 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6977 (exit $ac_status); } >/dev/null && {
6978 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6979 test ! -s conftest.err
6981 # Broken: success on invalid input.
6984 $as_echo "$as_me: failed program was
:" >&5
6985 sed 's/^/| /' conftest.$ac_ext >&5
6987 # Passes both tests.
6992 rm -f conftest.err conftest.$ac_ext
6995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6996 rm -f conftest.err conftest.$ac_ext
6997 if $ac_preproc_ok; then
7000 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7002 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7003 See \`config.log' for more details.
" >&5
7004 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
7005 See \
`config.log' for more details." >&2;}
7006 { (exit 1); exit 1; }; }; }
7010 ac_cpp='$CPP $CPPFLAGS'
7011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7016 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7017 $as_echo_n "checking for ANSI C header files... " >&6; }
7018 if test "${ac_cv_header_stdc+set}" = set; then
7019 $as_echo_n "(cached) " >&6
7021 cat >conftest.$ac_ext <<_ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7040 rm -f conftest.$ac_objext
7041 if { (ac_try="$ac_compile"
7043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7044 *) ac_try_echo
=$ac_try;;
7046 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7047 $as_echo "$ac_try_echo") >&5
7048 (eval "$ac_compile") 2>conftest.er1
7050 grep -v '^ *+' conftest.er1
>conftest.err
7052 cat conftest.err
>&5
7053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); } && {
7055 test -z "$ac_c_werror_flag" ||
7056 test ! -s conftest.err
7057 } && test -s conftest.
$ac_objext; then
7058 ac_cv_header_stdc
=yes
7060 $as_echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.
$ac_ext >&5
7063 ac_cv_header_stdc
=no
7066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7068 if test $ac_cv_header_stdc = yes; then
7069 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7070 cat >conftest.
$ac_ext <<_ACEOF
7073 cat confdefs.h
>>conftest.
$ac_ext
7074 cat >>conftest.
$ac_ext <<_ACEOF
7075 /* end confdefs.h. */
7079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7080 $EGREP "memchr" >/dev
/null
2>&1; then
7083 ac_cv_header_stdc
=no
7089 if test $ac_cv_header_stdc = yes; then
7090 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7091 cat >conftest.
$ac_ext <<_ACEOF
7094 cat confdefs.h
>>conftest.
$ac_ext
7095 cat >>conftest.
$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7101 $EGREP "free" >/dev
/null
2>&1; then
7104 ac_cv_header_stdc
=no
7110 if test $ac_cv_header_stdc = yes; then
7111 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7112 if test "$cross_compiling" = yes; then
7115 cat >conftest.
$ac_ext <<_ACEOF
7118 cat confdefs.h
>>conftest.
$ac_ext
7119 cat >>conftest.
$ac_ext <<_ACEOF
7120 /* end confdefs.h. */
7123 #if ((' ' & 0x0FF) == 0x020)
7124 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7125 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7127 # define ISLOWER(c) \
7128 (('a' <= (c) && (c) <= 'i') \
7129 || ('j' <= (c) && (c) <= 'r') \
7130 || ('s' <= (c) && (c) <= 'z'))
7131 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7134 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7139 for (i = 0; i < 256; i++)
7140 if (XOR (islower (i), ISLOWER (i))
7141 || toupper (i) != TOUPPER (i))
7146 rm -f conftest
$ac_exeext
7147 if { (ac_try
="$ac_link"
7149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7150 *) ac_try_echo=$ac_try;;
7152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7153 $as_echo "$ac_try_echo") >&5
7154 (eval "$ac_link") 2>&5
7156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7158 { (case "(($ac_try" in
7159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7160 *) ac_try_echo
=$ac_try;;
7162 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7163 $as_echo "$ac_try_echo") >&5
7164 (eval "$ac_try") 2>&5
7166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); }; }; then
7170 $as_echo "$as_me: program exited with status $ac_status" >&5
7171 $as_echo "$as_me: failed program was:" >&5
7172 sed 's/^/| /' conftest.
$ac_ext >&5
7175 ac_cv_header_stdc
=no
7177 rm -rf conftest.dSYM
7178 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7184 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7185 $as_echo "$ac_cv_header_stdc" >&6; }
7186 if test $ac_cv_header_stdc = yes; then
7188 cat >>confdefs.h
<<\_ACEOF
7189 #define STDC_HEADERS 1
7194 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7204 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7205 inttypes.h stdint.h unistd.h
7207 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7208 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7209 $as_echo_n "checking for $ac_header... " >&6; }
7210 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7211 $as_echo_n "(cached) " >&6
7213 cat >conftest.
$ac_ext <<_ACEOF
7216 cat confdefs.h
>>conftest.
$ac_ext
7217 cat >>conftest.
$ac_ext <<_ACEOF
7218 /* end confdefs.h. */
7219 $ac_includes_default
7221 #include <$ac_header>
7223 rm -f conftest.
$ac_objext
7224 if { (ac_try
="$ac_compile"
7226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7227 *) ac_try_echo=$ac_try;;
7229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7230 $as_echo "$ac_try_echo") >&5
7231 (eval "$ac_compile") 2>conftest.er1
7233 grep -v '^ *+' conftest.er1 >conftest.err
7235 cat conftest.err >&5
7236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); } && {
7238 test -z "$ac_c_werror_flag" ||
7239 test ! -s conftest.err
7240 } && test -s conftest.$ac_objext; then
7241 eval "$as_ac_Header=yes"
7243 $as_echo "$as_me: failed program was:" >&5
7244 sed 's/^/| /' conftest.$ac_ext >&5
7246 eval "$as_ac_Header=no"
7249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7251 ac_res=`eval 'as_val=${'$as_ac_Header'}
7252 $as_echo "$as_val"'`
7253 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7254 $as_echo "$ac_res" >&6; }
7255 as_val=`eval 'as_val=${'$as_ac_Header'}
7256 $as_echo "$as_val"'`
7257 if test "x$as_val" = x""yes; then
7258 cat >>confdefs.h <<_ACEOF
7259 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7268 for ac_header in dlfcn.h
7270 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7271 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7272 $as_echo_n "checking for $ac_header... " >&6; }
7273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7274 $as_echo_n "(cached) " >&6
7276 cat >conftest.$ac_ext <<_ACEOF
7279 cat confdefs.h >>conftest.$ac_ext
7280 cat >>conftest.$ac_ext <<_ACEOF
7281 /* end confdefs.h. */
7282 $ac_includes_default
7284 #include <$ac_header>
7286 rm -f conftest.$ac_objext
7287 if { (ac_try="$ac_compile"
7289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7290 *) ac_try_echo
=$ac_try;;
7292 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7293 $as_echo "$ac_try_echo") >&5
7294 (eval "$ac_compile") 2>conftest.er1
7296 grep -v '^ *+' conftest.er1
>conftest.err
7298 cat conftest.err
>&5
7299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); } && {
7301 test -z "$ac_c_werror_flag" ||
7302 test ! -s conftest.err
7303 } && test -s conftest.
$ac_objext; then
7304 eval "$as_ac_Header=yes"
7306 $as_echo "$as_me: failed program was:" >&5
7307 sed 's/^/| /' conftest.
$ac_ext >&5
7309 eval "$as_ac_Header=no"
7312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7314 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7315 $as_echo "$as_val"'`
7316 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7317 $as_echo "$ac_res" >&6; }
7318 as_val
=`eval 'as_val=${'$as_ac_Header'}
7319 $as_echo "$as_val"'`
7320 if test "x$as_val" = x
""yes; then
7321 cat >>confdefs.h
<<_ACEOF
7322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7341 # Check whether --enable-shared was given.
7342 if test "${enable_shared+set}" = set; then
7343 enableval
=$enable_shared; p
=${PACKAGE-default}
7345 yes) enable_shared
=yes ;;
7346 no
) enable_shared
=no
;;
7349 # Look at the argument we got. We use all the common list separators.
7350 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7351 for pkg
in $enableval; do
7353 if test "X$pkg" = "X$p"; then
7372 # Check whether --enable-static was given.
7373 if test "${enable_static+set}" = set; then
7374 enableval
=$enable_static; p
=${PACKAGE-default}
7376 yes) enable_static
=yes ;;
7377 no
) enable_static
=no
;;
7380 # Look at the argument we got. We use all the common list separators.
7381 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7382 for pkg
in $enableval; do
7384 if test "X$pkg" = "X$p"; then
7404 # Check whether --with-pic was given.
7405 if test "${with_pic+set}" = set; then
7406 withval
=$with_pic; pic_mode
="$withval"
7412 test -z "$pic_mode" && pic_mode
=default
7420 # Check whether --enable-fast-install was given.
7421 if test "${enable_fast_install+set}" = set; then
7422 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7424 yes) enable_fast_install
=yes ;;
7425 no
) enable_fast_install
=no
;;
7427 enable_fast_install
=no
7428 # Look at the argument we got. We use all the common list separators.
7429 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7430 for pkg
in $enableval; do
7432 if test "X$pkg" = "X$p"; then
7433 enable_fast_install
=yes
7440 enable_fast_install
=yes
7453 # This can be used to rebuild libtool when needed
7454 LIBTOOL_DEPS
="$ltmain"
7456 # Always use our own libtool.
7457 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7483 test -z "$LN_S" && LN_S
="ln -s"
7498 if test -n "${ZSH_VERSION+set}" ; then
7499 setopt NO_GLOB_SUBST
7502 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7503 $as_echo_n "checking for objdir... " >&6; }
7504 if test "${lt_cv_objdir+set}" = set; then
7505 $as_echo_n "(cached) " >&6
7507 rm -f .libs
2>/dev
/null
7508 mkdir .libs
2>/dev
/null
7509 if test -d .libs
; then
7512 # MS-DOS does not allow filenames that begin with a dot.
7515 rmdir .libs
2>/dev
/null
7517 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7518 $as_echo "$lt_cv_objdir" >&6; }
7519 objdir
=$lt_cv_objdir
7525 cat >>confdefs.h
<<_ACEOF
7526 #define LT_OBJDIR "$lt_cv_objdir/"
7547 # AIX sometimes has problems with the GCC collect2 program. For some
7548 # reason, if we set the COLLECT_NAMES environment variable, the problems
7549 # vanish in a puff of smoke.
7550 if test "X${COLLECT_NAMES+set}" != Xset
; then
7552 export COLLECT_NAMES
7557 # Sed substitution that helps us do robust quoting. It backslashifies
7558 # metacharacters that are still active within double-quoted strings.
7559 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7561 # Same as above, but do not quote variable references.
7562 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7564 # Sed substitution to delay expansion of an escaped shell variable in a
7565 # double_quote_subst'ed string.
7566 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7568 # Sed substitution to delay expansion of an escaped single quote.
7569 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7571 # Sed substitution to avoid accidental globbing in evaled expressions
7572 no_glob_subst
='s/\*/\\\*/g'
7576 can_build_shared
=yes
7578 # All known linkers require a `.a' archive for static linking (except MSVC,
7579 # which needs '.lib').
7582 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7585 old_CFLAGS
="$CFLAGS"
7587 # Set sane defaults for various variables
7588 test -z "$CC" && CC
=cc
7589 test -z "$LTCC" && LTCC
=$CC
7590 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7591 test -z "$LD" && LD
=ld
7592 test -z "$ac_objext" && ac_objext
=o
7594 for cc_temp
in $compiler""; do
7596 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7597 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7602 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7605 # Only perform the check for file, if the check method requires it
7606 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7607 case $deplibs_check_method in
7609 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7610 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7611 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7612 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7613 $as_echo_n "(cached) " >&6
7617 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7620 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7621 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7622 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7623 for ac_dir
in $ac_dummy; do
7625 test -z "$ac_dir" && ac_dir
=.
7626 if test -f $ac_dir/${ac_tool_prefix}file; then
7627 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7628 if test -n "$file_magic_test_file"; then
7629 case $deplibs_check_method in
7631 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7632 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7633 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7634 $EGREP "$file_magic_regex" > /dev
/null
; then
7639 *** Warning: the command libtool uses to detect shared libraries,
7640 *** $file_magic_cmd, produces output that libtool cannot recognize.
7641 *** The result is that libtool may fail to recognize shared libraries
7642 *** as such. This will affect the creation of libtool libraries that
7643 *** depend on shared libraries, but programs linked with such libtool
7644 *** libraries will work regardless of this problem. Nevertheless, you
7645 *** may want to report the problem to your system manager and/or to
7646 *** bug-libtool@gnu.org
7656 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7661 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7662 if test -n "$MAGIC_CMD"; then
7663 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7664 $as_echo "$MAGIC_CMD" >&6; }
7666 { $as_echo "$as_me:$LINENO: result: no" >&5
7667 $as_echo "no" >&6; }
7674 if test -z "$lt_cv_path_MAGIC_CMD"; then
7675 if test -n "$ac_tool_prefix"; then
7676 { $as_echo "$as_me:$LINENO: checking for file" >&5
7677 $as_echo_n "checking for file... " >&6; }
7678 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7679 $as_echo_n "(cached) " >&6
7683 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7686 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7687 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7688 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7689 for ac_dir
in $ac_dummy; do
7691 test -z "$ac_dir" && ac_dir
=.
7692 if test -f $ac_dir/file; then
7693 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7694 if test -n "$file_magic_test_file"; then
7695 case $deplibs_check_method in
7697 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7698 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7699 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7700 $EGREP "$file_magic_regex" > /dev
/null
; then
7705 *** Warning: the command libtool uses to detect shared libraries,
7706 *** $file_magic_cmd, produces output that libtool cannot recognize.
7707 *** The result is that libtool may fail to recognize shared libraries
7708 *** as such. This will affect the creation of libtool libraries that
7709 *** depend on shared libraries, but programs linked with such libtool
7710 *** libraries will work regardless of this problem. Nevertheless, you
7711 *** may want to report the problem to your system manager and/or to
7712 *** bug-libtool@gnu.org
7722 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7727 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7728 if test -n "$MAGIC_CMD"; then
7729 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7730 $as_echo "$MAGIC_CMD" >&6; }
7732 { $as_echo "$as_me:$LINENO: result: no" >&5
7733 $as_echo "no" >&6; }
7746 # Use C for the default configuration in the libtool script
7750 ac_cpp
='$CPP $CPPFLAGS'
7751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7756 # Source file extension for C test sources.
7759 # Object file extension for compiled C test sources.
7763 # Code to be used in simple compile tests
7764 lt_simple_compile_test_code
="int some_variable = 0;"
7766 # Code to be used in simple link tests
7767 lt_simple_link_test_code
='int main(){return(0);}'
7775 # If no C compiler was specified, use CC.
7778 # If no C compiler flags were specified, use CFLAGS.
7779 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7781 # Allow CC to be a program name with arguments.
7784 # Save the default compiler, since it gets overwritten when the other
7785 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7786 compiler_DEFAULT
=$CC
7788 # save warnings/boilerplate of simple test code
7789 ac_outfile
=conftest.
$ac_objext
7790 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7791 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7792 _lt_compiler_boilerplate
=`cat conftest.err`
7795 ac_outfile
=conftest.
$ac_objext
7796 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7797 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7798 _lt_linker_boilerplate
=`cat conftest.err`
7802 if test -n "$compiler"; then
7804 lt_prog_compiler_no_builtin_flag
=
7806 if test "$GCC" = yes; then
7807 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7809 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7810 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7811 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7812 $as_echo_n "(cached) " >&6
7814 lt_cv_prog_compiler_rtti_exceptions
=no
7815 ac_outfile
=conftest.
$ac_objext
7816 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7817 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7818 # Insert the option either (1) after the last *FLAGS variable, or
7819 # (2) before a word containing "conftest.", or (3) at the end.
7820 # Note that $ac_compile itself does not contain backslashes and begins
7821 # with a dollar sign (not a hyphen), so the echo should work correctly.
7822 # The option is referenced via a variable to avoid confusing sed.
7823 lt_compile
=`echo "$ac_compile" | $SED \
7824 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7825 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7826 -e 's:$: $lt_compiler_flag:'`
7827 (eval echo "\"\$as_me:7827: $lt_compile\"" >&5)
7828 (eval "$lt_compile" 2>conftest.err
)
7830 cat conftest.err
>&5
7831 echo "$as_me:7831: \$? = $ac_status" >&5
7832 if (exit $ac_status) && test -s "$ac_outfile"; then
7833 # The compiler can only warn and ignore the option if not recognized
7834 # So say no if there are warnings other than the usual output.
7835 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7836 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7837 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7838 lt_cv_prog_compiler_rtti_exceptions
=yes
7844 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7845 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7847 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7848 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7860 lt_prog_compiler_wl
=
7861 lt_prog_compiler_pic
=
7862 lt_prog_compiler_static
=
7864 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7865 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7867 if test "$GCC" = yes; then
7868 lt_prog_compiler_wl
='-Wl,'
7869 lt_prog_compiler_static
='-static'
7873 # All AIX code is PIC.
7874 if test "$host_cpu" = ia64
; then
7875 # AIX 5 now supports IA64 processor
7876 lt_prog_compiler_static
='-Bstatic'
7883 # see comment about AmigaOS4 .so support
7884 lt_prog_compiler_pic
='-fPIC'
7887 # FIXME: we need at least 68020 code to build shared libraries, but
7888 # adding the `-m68020' flag to GCC prevents building anything better,
7890 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7895 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7896 # PIC is the default for these OSes.
7899 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7900 # This hack is so that the source file can tell whether it is being
7901 # built for inclusion in a dll (and should export symbols for example).
7902 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7903 # (--disable-auto-import) libraries
7904 lt_prog_compiler_pic
='-DDLL_EXPORT'
7907 darwin
* | rhapsody
*)
7908 # PIC is the default on this platform
7909 # Common symbols not allowed in MH_DYLIB files
7910 lt_prog_compiler_pic
='-fno-common'
7914 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7915 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7916 # sets the default TLS model and affects inlining.
7922 lt_prog_compiler_pic
='-fPIC'
7928 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7929 # Instead, we relocate shared libraries at runtime.
7933 # Just because we use GCC doesn't mean we suddenly get shared libraries
7934 # on systems that don't support them.
7935 lt_prog_compiler_can_build_shared
=no
7940 # QNX uses GNU C++, but need to define -shared option too, otherwise
7942 lt_prog_compiler_pic
='-fPIC -shared'
7946 if test -d /usr
/nec
; then
7947 lt_prog_compiler_pic
=-Kconform_pic
7952 lt_prog_compiler_pic
='-fPIC'
7956 # PORTME Check for flag to pass linker flags through the system compiler.
7959 lt_prog_compiler_wl
='-Wl,'
7960 if test "$host_cpu" = ia64
; then
7961 # AIX 5 now supports IA64 processor
7962 lt_prog_compiler_static
='-Bstatic'
7964 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7968 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7969 # This hack is so that the source file can tell whether it is being
7970 # built for inclusion in a dll (and should export symbols for example).
7971 lt_prog_compiler_pic
='-DDLL_EXPORT'
7974 hpux9
* | hpux10
* | hpux11
*)
7975 lt_prog_compiler_wl
='-Wl,'
7976 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7983 lt_prog_compiler_pic
='+Z'
7986 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7987 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7990 irix5
* | irix6
* | nonstopux
*)
7991 lt_prog_compiler_wl
='-Wl,'
7992 # PIC (with -KPIC) is the default.
7993 lt_prog_compiler_static
='-non_shared'
7996 linux
* | k
*bsd
*-gnu)
7997 case $cc_basename in
7998 # old Intel for x86_64 which still supported -KPIC.
8000 lt_prog_compiler_wl
='-Wl,'
8001 lt_prog_compiler_pic
='-KPIC'
8002 lt_prog_compiler_static
='-static'
8004 # icc used to be incompatible with GCC.
8005 # ICC 10 doesn't accept -KPIC any more.
8007 lt_prog_compiler_wl
='-Wl,'
8008 lt_prog_compiler_pic
='-fPIC'
8009 lt_prog_compiler_static
='-static'
8011 # Lahey Fortran 8.1.
8013 lt_prog_compiler_wl
='-Wl,'
8014 lt_prog_compiler_pic
='--shared'
8015 lt_prog_compiler_static
='--static'
8017 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8018 # Portland Group compilers (*not* the Pentium gcc compiler,
8019 # which looks to be a dead project)
8020 lt_prog_compiler_wl
='-Wl,'
8021 lt_prog_compiler_pic
='-fpic'
8022 lt_prog_compiler_static
='-Bstatic'
8025 lt_prog_compiler_wl
='-Wl,'
8026 # All Alpha code is PIC.
8027 lt_prog_compiler_static
='-non_shared'
8030 # IBM XL C 8.0/Fortran 10.1 on PPC
8031 lt_prog_compiler_wl
='-Wl,'
8032 lt_prog_compiler_pic
='-qpic'
8033 lt_prog_compiler_static
='-qstaticlink'
8036 case `$CC -V 2>&1 | sed 5q` in
8039 lt_prog_compiler_pic
='-KPIC'
8040 lt_prog_compiler_static
='-Bstatic'
8041 lt_prog_compiler_wl
='-Wl,'
8044 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8045 lt_prog_compiler_pic
='-KPIC'
8046 lt_prog_compiler_static
='-Bstatic'
8047 lt_prog_compiler_wl
=''
8055 lt_prog_compiler_pic
='-KPIC'
8056 lt_prog_compiler_static
='-Bstatic'
8060 # QNX uses GNU C++, but need to define -shared option too, otherwise
8062 lt_prog_compiler_pic
='-fPIC -shared'
8065 osf3
* | osf4
* | osf5
*)
8066 lt_prog_compiler_wl
='-Wl,'
8067 # All OSF/1 code is PIC.
8068 lt_prog_compiler_static
='-non_shared'
8072 lt_prog_compiler_static
='-non_shared'
8076 lt_prog_compiler_pic
='-KPIC'
8077 lt_prog_compiler_static
='-Bstatic'
8078 case $cc_basename in
8080 lt_prog_compiler_wl
='-Qoption ld ';;
8082 lt_prog_compiler_wl
='-Wl,';;
8087 lt_prog_compiler_wl
='-Qoption ld '
8088 lt_prog_compiler_pic
='-PIC'
8089 lt_prog_compiler_static
='-Bstatic'
8092 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8093 lt_prog_compiler_wl
='-Wl,'
8094 lt_prog_compiler_pic
='-KPIC'
8095 lt_prog_compiler_static
='-Bstatic'
8099 if test -d /usr
/nec
;then
8100 lt_prog_compiler_pic
='-Kconform_pic'
8101 lt_prog_compiler_static
='-Bstatic'
8105 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8106 lt_prog_compiler_wl
='-Wl,'
8107 lt_prog_compiler_pic
='-KPIC'
8108 lt_prog_compiler_static
='-Bstatic'
8112 lt_prog_compiler_wl
='-Wl,'
8113 lt_prog_compiler_can_build_shared
=no
8117 lt_prog_compiler_pic
='-pic'
8118 lt_prog_compiler_static
='-Bstatic'
8122 lt_prog_compiler_can_build_shared
=no
8128 # For platforms which do not support PIC, -DPIC is meaningless:
8130 lt_prog_compiler_pic
=
8133 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8136 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8137 $as_echo "$lt_prog_compiler_pic" >&6; }
8145 # Check to make sure the PIC flag actually works.
8147 if test -n "$lt_prog_compiler_pic"; then
8148 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8149 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8150 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8151 $as_echo_n "(cached) " >&6
8153 lt_cv_prog_compiler_pic_works
=no
8154 ac_outfile
=conftest.
$ac_objext
8155 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8156 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8157 # Insert the option either (1) after the last *FLAGS variable, or
8158 # (2) before a word containing "conftest.", or (3) at the end.
8159 # Note that $ac_compile itself does not contain backslashes and begins
8160 # with a dollar sign (not a hyphen), so the echo should work correctly.
8161 # The option is referenced via a variable to avoid confusing sed.
8162 lt_compile
=`echo "$ac_compile" | $SED \
8163 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8165 -e 's:$: $lt_compiler_flag:'`
8166 (eval echo "\"\$as_me:8166: $lt_compile\"" >&5)
8167 (eval "$lt_compile" 2>conftest.err
)
8169 cat conftest.err
>&5
8170 echo "$as_me:8170: \$? = $ac_status" >&5
8171 if (exit $ac_status) && test -s "$ac_outfile"; then
8172 # The compiler can only warn and ignore the option if not recognized
8173 # So say no if there are warnings other than the usual output.
8174 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8175 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8176 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8177 lt_cv_prog_compiler_pic_works
=yes
8183 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8184 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8186 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8187 case $lt_prog_compiler_pic in
8189 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8192 lt_prog_compiler_pic
=
8193 lt_prog_compiler_can_build_shared
=no
8204 # Check to make sure the static flag actually works.
8206 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8207 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8208 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8209 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8210 $as_echo_n "(cached) " >&6
8212 lt_cv_prog_compiler_static_works
=no
8213 save_LDFLAGS
="$LDFLAGS"
8214 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8215 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8216 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8217 # The linker can only warn and ignore the option if not recognized
8218 # So say no if there are warnings
8219 if test -s conftest.err
; then
8220 # Append any errors to the config.log.
8221 cat conftest.err
1>&5
8222 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8223 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8224 if diff conftest.exp conftest.er2
>/dev
/null
; then
8225 lt_cv_prog_compiler_static_works
=yes
8228 lt_cv_prog_compiler_static_works
=yes
8232 LDFLAGS
="$save_LDFLAGS"
8235 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8236 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8238 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8241 lt_prog_compiler_static
=
8250 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8251 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8252 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8253 $as_echo_n "(cached) " >&6
8255 lt_cv_prog_compiler_c_o
=no
8256 $RM -r conftest
2>/dev
/null
8260 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8262 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8263 # Insert the option either (1) after the last *FLAGS variable, or
8264 # (2) before a word containing "conftest.", or (3) at the end.
8265 # Note that $ac_compile itself does not contain backslashes and begins
8266 # with a dollar sign (not a hyphen), so the echo should work correctly.
8267 lt_compile
=`echo "$ac_compile" | $SED \
8268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8270 -e 's:$: $lt_compiler_flag:'`
8271 (eval echo "\"\$as_me:8271: $lt_compile\"" >&5)
8272 (eval "$lt_compile" 2>out
/conftest.err
)
8274 cat out
/conftest.err
>&5
8275 echo "$as_me:8275: \$? = $ac_status" >&5
8276 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8278 # The compiler can only warn and ignore the option if not recognized
8279 # So say no if there are warnings
8280 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8281 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8282 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8283 lt_cv_prog_compiler_c_o
=yes
8288 # SGI C++ compiler will create directory out/ii_files/ for
8289 # template instantiation
8290 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8291 $RM out
/* && rmdir out
8297 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8298 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8305 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8306 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8307 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8308 $as_echo_n "(cached) " >&6
8310 lt_cv_prog_compiler_c_o
=no
8311 $RM -r conftest
2>/dev
/null
8315 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8317 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8318 # Insert the option either (1) after the last *FLAGS variable, or
8319 # (2) before a word containing "conftest.", or (3) at the end.
8320 # Note that $ac_compile itself does not contain backslashes and begins
8321 # with a dollar sign (not a hyphen), so the echo should work correctly.
8322 lt_compile
=`echo "$ac_compile" | $SED \
8323 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8324 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8325 -e 's:$: $lt_compiler_flag:'`
8326 (eval echo "\"\$as_me:8326: $lt_compile\"" >&5)
8327 (eval "$lt_compile" 2>out
/conftest.err
)
8329 cat out
/conftest.err
>&5
8330 echo "$as_me:8330: \$? = $ac_status" >&5
8331 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8333 # The compiler can only warn and ignore the option if not recognized
8334 # So say no if there are warnings
8335 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8336 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8337 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8338 lt_cv_prog_compiler_c_o
=yes
8343 # SGI C++ compiler will create directory out/ii_files/ for
8344 # template instantiation
8345 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8346 $RM out
/* && rmdir out
8352 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8353 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8358 hard_links
="nottested"
8359 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8360 # do not overwrite the value of need_locks provided by the user
8361 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8362 $as_echo_n "checking if we can lock with hard links... " >&6; }
8365 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8367 ln conftest.a conftest.b
2>&5 || hard_links
=no
8368 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8369 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8370 $as_echo "$hard_links" >&6; }
8371 if test "$hard_links" = no
; then
8372 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8373 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8385 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8386 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8389 allow_undefined_flag
=
8390 always_export_symbols
=no
8392 archive_expsym_cmds
=
8393 compiler_needs_object
=no
8394 enable_shared_with_static_runtimes
=no
8395 export_dynamic_flag_spec
=
8396 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8397 hardcode_automatic
=no
8399 hardcode_direct_absolute
=no
8400 hardcode_libdir_flag_spec
=
8401 hardcode_libdir_flag_spec_ld
=
8402 hardcode_libdir_separator
=
8404 hardcode_shlibpath_var
=unsupported
8406 link_all_deplibs
=unknown
8409 old_archive_from_new_cmds
=
8410 old_archive_from_expsyms_cmds
=
8411 thread_safe_flag_spec
=
8412 whole_archive_flag_spec
=
8413 # include_expsyms should be a list of space-separated symbols to be *always*
8414 # included in the symbol list
8416 # exclude_expsyms can be an extended regexp of symbols to exclude
8417 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8418 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8419 # as well as any symbol that contains `d'.
8420 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8421 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8422 # platforms (ab)use it in PIC code, but their linkers get confused if
8423 # the symbol is explicitly referenced. Since portable code cannot
8424 # rely on this symbol name, it's probably fine to never include it in
8425 # preloaded symbol tables.
8426 # Exclude shared library initialization/finalization symbols.
8427 extract_expsyms_cmds
=
8430 cygwin
* | mingw
* | pw32
* | cegcc
*)
8431 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8432 # When not using gcc, we currently assume that we are using
8433 # Microsoft Visual C++.
8434 if test "$GCC" != yes; then
8439 # we just hope/assume this is gcc and not c89 (= MSVC++)
8448 if test "$with_gnu_ld" = yes; then
8449 # If archive_cmds runs LD, not CC, wlarc should be empty
8452 # Set some defaults for GNU ld with shared library support. These
8453 # are reset later if shared libraries are not supported. Putting them
8454 # here allows them to be overridden if necessary.
8455 runpath_var
=LD_RUN_PATH
8456 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8457 export_dynamic_flag_spec
='${wl}--export-dynamic'
8458 # ancient GNU ld didn't support --whole-archive et. al.
8459 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8460 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8462 whole_archive_flag_spec
=
8464 supports_anon_versioning
=no
8465 case `$LD -v 2>&1` in
8466 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8467 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8468 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8469 *\
2.11.
*) ;; # other 2.11 versions
8470 *) supports_anon_versioning
=yes ;;
8473 # See if GNU ld supports shared libraries.
8476 # On AIX/PPC, the GNU linker is very broken
8477 if test "$host_cpu" != ia64
; then
8481 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8482 *** to be unable to reliably create shared libraries on AIX.
8483 *** Therefore, libtool is disabling shared libraries support. If you
8484 *** really care for shared libraries, you may want to modify your PATH
8485 *** so that a non-GNU linker is found, and then restart.
8494 # see comment about AmigaOS4 .so support
8495 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8496 archive_expsym_cmds
=''
8499 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)'
8500 hardcode_libdir_flag_spec
='-L$libdir'
8501 hardcode_minus_L
=yes
8507 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8508 allow_undefined_flag
=unsupported
8509 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8510 # support --undefined. This deserves some investigation. FIXME
8511 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8517 cygwin
* | mingw
* | pw32
* | cegcc
*)
8518 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8519 # as there is no search path for DLLs.
8520 hardcode_libdir_flag_spec
='-L$libdir'
8521 allow_undefined_flag
=unsupported
8522 always_export_symbols
=no
8523 enable_shared_with_static_runtimes
=yes
8524 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8526 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8527 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8528 # If the export-symbols file already is a .def file (1st line
8529 # is EXPORTS), use it as is; otherwise, prepend...
8530 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8531 cp $export_symbols $output_objdir/$soname.def;
8533 echo EXPORTS > $output_objdir/$soname.def;
8534 cat $export_symbols >> $output_objdir/$soname.def;
8536 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8544 hardcode_shlibpath_var
=no
8545 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8546 export_dynamic_flag_spec
='${wl}-E'
8547 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8548 # Instead, shared libraries are loaded at an image base (0x10000000 by
8549 # default) and relocated if they conflict, which is a slow very memory
8550 # consuming and fragmenting process. To avoid this, we pick a random,
8551 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8552 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8553 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8554 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'
8557 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8559 if test "$host_os" = linux-dietlibc
; then
8560 case $cc_basename in
8561 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8564 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8565 && test "$tmp_diet" = no
8568 tmp_sharedflag
='-shared'
8569 case $cc_basename,$host_cpu in
8570 pgcc
*) # Portland Group C compiler
8571 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'
8572 tmp_addflag
=' $pic_flag'
8574 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8575 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'
8576 tmp_addflag
=' $pic_flag -Mnomain' ;;
8577 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8578 tmp_addflag
=' -i_dynamic' ;;
8579 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8580 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8581 ifc
* | ifort
*) # Intel Fortran compiler
8582 tmp_addflag
=' -nofor_main' ;;
8583 lf95
*) # Lahey Fortran 8.1
8584 whole_archive_flag_spec
=
8585 tmp_sharedflag
='--shared' ;;
8586 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8587 tmp_sharedflag
='-qmkshrobj'
8590 case `$CC -V 2>&1 | sed 5q` in
8591 *Sun\ C
*) # Sun C 5.9
8592 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'
8593 compiler_needs_object
=yes
8594 tmp_sharedflag
='-G' ;;
8595 *Sun\ F
*) # Sun Fortran 8.3
8596 tmp_sharedflag
='-G' ;;
8598 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8600 if test "x$supports_anon_versioning" = xyes
; then
8601 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8602 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8603 echo "local: *; };" >> $output_objdir/$libname.ver~
8604 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8607 case $cc_basename in
8609 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8610 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8611 hardcode_libdir_flag_spec
=
8612 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8613 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8614 if test "x$supports_anon_versioning" = xyes
; then
8615 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8616 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8617 echo "local: *; };" >> $output_objdir/$libname.ver~
8618 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8628 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8629 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8632 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8633 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8638 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8642 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8643 *** create shared libraries on Solaris systems. Therefore, libtool
8644 *** is disabling shared libraries support. We urge you to upgrade GNU
8645 *** binutils to release 2.9.1 or newer. Another option is to modify
8646 *** your PATH or compiler configuration so that the native linker is
8647 *** used, and then restart.
8650 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8651 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8652 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8658 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8659 case `$LD -v 2>&1` in
8660 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8664 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8665 *** reliably create shared libraries on SCO systems. Therefore, libtool
8666 *** is disabling shared libraries support. We urge you to upgrade GNU
8667 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8668 *** your PATH or compiler configuration so that the native linker is
8669 *** used, and then restart.
8674 # For security reasons, it is highly recommended that you always
8675 # use absolute paths for naming shared libraries, and exclude the
8676 # DT_RUNPATH tag from executables and libraries. But doing so
8677 # requires that you compile everything twice, which is a pain.
8678 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8679 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8680 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8681 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8690 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8693 hardcode_shlibpath_var
=no
8697 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
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'
8706 if test "$ld_shlibs" = no
; then
8708 hardcode_libdir_flag_spec
=
8709 export_dynamic_flag_spec
=
8710 whole_archive_flag_spec
=
8713 # PORTME fill in a description of your system's linker (not GNU ld)
8716 allow_undefined_flag
=unsupported
8717 always_export_symbols
=yes
8718 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'
8719 # Note: this linker hardcodes the directories in LIBPATH if there
8720 # are no directories specified by -L.
8721 hardcode_minus_L
=yes
8722 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8723 # Neither direct hardcoding nor static linking is supported with a
8725 hardcode_direct
=unsupported
8730 if test "$host_cpu" = ia64
; then
8731 # On IA64, the linker does run time linking by default, so we don't
8732 # have to do anything special.
8733 aix_use_runtimelinking
=no
8734 exp_sym_flag
='-Bexport'
8737 # If we're using GNU nm, then we don't want the "-C" option.
8738 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8739 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8740 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'
8742 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'
8744 aix_use_runtimelinking
=no
8746 # Test if we are trying to use run time linking or normal
8747 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8748 # need to do runtime linking.
8749 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8750 for ld_flag
in $LDFLAGS; do
8751 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8752 aix_use_runtimelinking
=yes
8759 exp_sym_flag
='-bexport'
8760 no_entry_flag
='-bnoentry'
8763 # When large executables or shared objects are built, AIX ld can
8764 # have problems creating the table of contents. If linking a library
8765 # or program results in "error TOC overflow" add -mminimal-toc to
8766 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8767 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8771 hardcode_direct_absolute
=yes
8772 hardcode_libdir_separator
=':'
8773 link_all_deplibs
=yes
8774 file_list_spec
='${wl}-f,'
8776 if test "$GCC" = yes; then
8777 case $host_os in aix4.
[012]|aix4.
[012].
*)
8778 # We only want to do this on AIX 4.2 and lower, the check
8779 # below for broken collect2 doesn't work under 4.3+
8780 collect2name
=`${CC} -print-prog-name=collect2`
8781 if test -f "$collect2name" &&
8782 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8784 # We have reworked collect2
8787 # We have old collect2
8788 hardcode_direct
=unsupported
8789 # It fails to find uninstalled libraries when the uninstalled
8790 # path is not listed in the libpath. Setting hardcode_minus_L
8791 # to unsupported forces relinking
8792 hardcode_minus_L
=yes
8793 hardcode_libdir_flag_spec
='-L$libdir'
8794 hardcode_libdir_separator
=
8798 shared_flag
='-shared'
8799 if test "$aix_use_runtimelinking" = yes; then
8800 shared_flag
="$shared_flag "'${wl}-G'
8804 if test "$host_cpu" = ia64
; then
8805 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8806 # chokes on -Wl,-G. The following line is correct:
8809 if test "$aix_use_runtimelinking" = yes; then
8810 shared_flag
='${wl}-G'
8812 shared_flag
='${wl}-bM:SRE'
8817 export_dynamic_flag_spec
='${wl}-bexpall'
8818 # It seems that -bexpall does not export symbols beginning with
8819 # underscore (_), so it is better to generate a list of symbols to export.
8820 always_export_symbols
=yes
8821 if test "$aix_use_runtimelinking" = yes; then
8822 # Warning - without using the other runtime loading flags (-brtl),
8823 # -berok will link without error, but may produce a broken library.
8824 allow_undefined_flag
='-berok'
8825 # Determine the default libpath from the value encoded in an
8827 cat >conftest.
$ac_ext <<_ACEOF
8830 cat confdefs.h
>>conftest.
$ac_ext
8831 cat >>conftest.
$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8842 rm -f conftest.
$ac_objext conftest
$ac_exeext
8843 if { (ac_try
="$ac_link"
8845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8846 *) ac_try_echo=$ac_try;;
8848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8849 $as_echo "$ac_try_echo") >&5
8850 (eval "$ac_link") 2>conftest.er1
8852 grep -v '^ *+' conftest.er1 >conftest.err
8854 cat conftest.err >&5
8855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); } && {
8857 test -z "$ac_c_werror_flag" ||
8858 test ! -s conftest.err
8859 } && test -s conftest$ac_exeext && {
8860 test "$cross_compiling" = yes ||
8861 $as_test_x conftest$ac_exeext
8864 lt_aix_libpath_sed='
8865 /Import File Strings/,/^$/ {
8871 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8872 # Check for a 64-bit object if we didn't find anything.
8873 if test -z "$aix_libpath"; then
8874 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8877 $as_echo "$as_me: failed program was:" >&5
8878 sed 's/^/| /' conftest.$ac_ext >&5
8883 rm -rf conftest.dSYM
8884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8885 conftest$ac_exeext conftest.$ac_ext
8886 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8888 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8889 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"
8891 if test "$host_cpu" = ia64; then
8892 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8893 allow_undefined_flag="-z nodefs"
8894 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"
8896 # Determine the default libpath from the value encoded in an
8898 cat >conftest.$ac_ext <<_ACEOF
8901 cat confdefs.h >>conftest.$ac_ext
8902 cat >>conftest.$ac_ext <<_ACEOF
8903 /* end confdefs.h. */
8913 rm -f conftest.$ac_objext conftest$ac_exeext
8914 if { (ac_try="$ac_link"
8916 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8917 *) ac_try_echo
=$ac_try;;
8919 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8920 $as_echo "$ac_try_echo") >&5
8921 (eval "$ac_link") 2>conftest.er1
8923 grep -v '^ *+' conftest.er1
>conftest.err
8925 cat conftest.err
>&5
8926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); } && {
8928 test -z "$ac_c_werror_flag" ||
8929 test ! -s conftest.err
8930 } && test -s conftest
$ac_exeext && {
8931 test "$cross_compiling" = yes ||
8932 $as_test_x conftest
$ac_exeext
8935 lt_aix_libpath_sed
='
8936 /Import File Strings/,/^$/ {
8942 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8943 # Check for a 64-bit object if we didn't find anything.
8944 if test -z "$aix_libpath"; then
8945 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8948 $as_echo "$as_me: failed program was:" >&5
8949 sed 's/^/| /' conftest.
$ac_ext >&5
8954 rm -rf conftest.dSYM
8955 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8956 conftest
$ac_exeext conftest.
$ac_ext
8957 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8959 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8960 # Warning - without using the other run time loading flags,
8961 # -berok will link without error, but may produce a broken library.
8962 no_undefined_flag
=' ${wl}-bernotok'
8963 allow_undefined_flag
=' ${wl}-berok'
8964 # Exported symbols can be pulled into shared objects from archives
8965 whole_archive_flag_spec
='$convenience'
8966 archive_cmds_need_lc
=yes
8967 # This is similar to how AIX traditionally builds its shared libraries.
8968 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'
8976 # see comment about AmigaOS4 .so support
8977 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8978 archive_expsym_cmds
=''
8981 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)'
8982 hardcode_libdir_flag_spec
='-L$libdir'
8983 hardcode_minus_L
=yes
8989 export_dynamic_flag_spec
=-rdynamic
8992 cygwin
* | mingw
* | pw32
* | cegcc
*)
8993 # When not using gcc, we currently assume that we are using
8994 # Microsoft Visual C++.
8995 # hardcode_libdir_flag_spec is actually meaningless, as there is
8996 # no search path for DLLs.
8997 hardcode_libdir_flag_spec
=' '
8998 allow_undefined_flag
=unsupported
8999 # Tell ltmain to make .lib files, not .a files.
9001 # Tell ltmain to make .dll files, not .so files.
9003 # FIXME: Setting linknames here is a bad hack.
9004 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9005 # The linker will automatically build a .lib file if we build a DLL.
9006 old_archive_from_new_cmds
='true'
9007 # FIXME: Should let the user specify the lib program.
9008 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9009 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9010 enable_shared_with_static_runtimes
=yes
9013 darwin
* | rhapsody
*)
9016 archive_cmds_need_lc
=no
9018 hardcode_automatic
=yes
9019 hardcode_shlibpath_var
=unsupported
9020 whole_archive_flag_spec
=''
9021 link_all_deplibs
=yes
9022 allow_undefined_flag
="$_lt_dar_allow_undefined"
9023 case $cc_basename in
9024 ifort
*) _lt_dar_can_shared
=yes ;;
9025 *) _lt_dar_can_shared
=$GCC ;;
9027 if test "$_lt_dar_can_shared" = "yes"; then
9028 output_verbose_link_cmd
=echo
9029 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9030 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9031 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}"
9032 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}"
9041 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9042 hardcode_libdir_flag_spec
='-L$libdir'
9043 hardcode_shlibpath_var
=no
9050 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9051 # support. Future versions do this automatically, but an explicit c++rt0.o
9052 # does not break anything, and helps significantly (at the cost of a little
9055 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9056 hardcode_libdir_flag_spec
='-R$libdir'
9058 hardcode_shlibpath_var
=no
9061 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9063 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9065 hardcode_minus_L
=yes
9066 hardcode_shlibpath_var
=no
9069 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9070 freebsd
* | dragonfly
*)
9071 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9072 hardcode_libdir_flag_spec
='-R$libdir'
9074 hardcode_shlibpath_var
=no
9078 if test "$GCC" = yes; then
9079 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'
9081 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'
9083 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9084 hardcode_libdir_separator
=:
9087 # hardcode_minus_L: Not really in the search PATH,
9088 # but as the default location of the library.
9089 hardcode_minus_L
=yes
9090 export_dynamic_flag_spec
='${wl}-E'
9094 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9095 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9097 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9099 if test "$with_gnu_ld" = no
; then
9100 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9101 hardcode_libdir_flag_spec_ld
='+b $libdir'
9102 hardcode_libdir_separator
=:
9104 hardcode_direct_absolute
=yes
9105 export_dynamic_flag_spec
='${wl}-E'
9106 # hardcode_minus_L: Not really in the search PATH,
9107 # but as the default location of the library.
9108 hardcode_minus_L
=yes
9113 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9116 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9119 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9122 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9128 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9131 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9134 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9138 if test "$with_gnu_ld" = no
; then
9139 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9140 hardcode_libdir_separator
=:
9145 hardcode_shlibpath_var
=no
9149 hardcode_direct_absolute
=yes
9150 export_dynamic_flag_spec
='${wl}-E'
9152 # hardcode_minus_L: Not really in the search PATH,
9153 # but as the default location of the library.
9154 hardcode_minus_L
=yes
9160 irix5
* | irix6
* | nonstopux
*)
9161 if test "$GCC" = yes; then
9162 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'
9163 # Try to use the -exported_symbol ld option, if it does not
9164 # work, assume that -exports_file does not work either and
9165 # implicitly export all symbols.
9166 save_LDFLAGS
="$LDFLAGS"
9167 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9168 cat >conftest.
$ac_ext <<_ACEOF
9171 rm -f conftest.
$ac_objext conftest
$ac_exeext
9172 if { (ac_try
="$ac_link"
9174 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9175 *) ac_try_echo=$ac_try;;
9177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9178 $as_echo "$ac_try_echo") >&5
9179 (eval "$ac_link") 2>conftest.er1
9181 grep -v '^ *+' conftest.er1 >conftest.err
9183 cat conftest.err >&5
9184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185 (exit $ac_status); } && {
9186 test -z "$ac_c_werror_flag" ||
9187 test ! -s conftest.err
9188 } && test -s conftest$ac_exeext && {
9189 test "$cross_compiling" = yes ||
9190 $as_test_x conftest$ac_exeext
9192 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'
9195 $as_echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.$ac_ext >&5
9201 rm -rf conftest.dSYM
9202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LDFLAGS="$save_LDFLAGS"
9206 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'
9207 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'
9209 archive_cmds_need_lc='no'
9210 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9211 hardcode_libdir_separator=:
9213 link_all_deplibs=yes
9217 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9218 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9220 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9222 hardcode_libdir_flag_spec='-R$libdir'
9224 hardcode_shlibpath_var=no
9228 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9230 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9231 hardcode_libdir_separator=:
9232 hardcode_shlibpath_var=no
9239 if test -f /usr/libexec/ld.so; then
9241 hardcode_shlibpath_var=no
9242 hardcode_direct_absolute=yes
9243 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9244 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9245 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9246 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9247 export_dynamic_flag_spec='${wl}-E'
9250 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9251 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9252 hardcode_libdir_flag_spec='-R$libdir'
9255 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9256 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9266 hardcode_libdir_flag_spec='-L$libdir'
9267 hardcode_minus_L=yes
9268 allow_undefined_flag=unsupported
9269 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'
9270 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9274 if test "$GCC" = yes; then
9275 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9276 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'
9278 allow_undefined_flag=' -expect_unresolved \*'
9279 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'
9281 archive_cmds_need_lc='no'
9282 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9283 hardcode_libdir_separator=:
9286 osf4* | osf5*) # as osf3* with the addition of -msym flag
9287 if test "$GCC" = yes; then
9288 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9289 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'
9290 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9292 allow_undefined_flag=' -expect_unresolved \*'
9293 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'
9294 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~
9295 $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'
9297 # Both c and cxx compiler support -rpath directly
9298 hardcode_libdir_flag_spec='-rpath $libdir'
9300 archive_cmds_need_lc='no'
9301 hardcode_libdir_separator=:
9305 no_undefined_flag=' -z defs'
9306 if test "$GCC" = yes; then
9308 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9309 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9310 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9312 case `$CC -V 2>&1` in
9315 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9316 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9317 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9321 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9322 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9323 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9327 hardcode_libdir_flag_spec='-R$libdir'
9328 hardcode_shlibpath_var=no
9330 solaris2.[0-5] | solaris2.[0-5].*) ;;
9332 # The compiler driver will combine and reorder linker options,
9333 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9334 # but is careful enough not to reorder.
9335 # Supported since Solaris 2.6 (maybe 2.5.1?)
9336 if test "$GCC" = yes; then
9337 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9339 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9343 link_all_deplibs
=yes
9347 if test "x$host_vendor" = xsequent
; then
9348 # Use $CC to link under sequent, because it throws in some extra .o
9349 # files that make .init and .fini sections work.
9350 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9352 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9354 hardcode_libdir_flag_spec
='-L$libdir'
9356 hardcode_minus_L
=yes
9357 hardcode_shlibpath_var
=no
9361 case $host_vendor in
9363 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9364 hardcode_direct
=yes # is this really true???
9367 ## LD is ld it makes a PLAMLIB
9368 ## CC just makes a GrossModule.
9369 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9370 reload_cmds
='$CC -r -o $output$reload_objs'
9374 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9375 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9378 runpath_var
='LD_RUN_PATH'
9379 hardcode_shlibpath_var
=no
9383 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9384 hardcode_shlibpath_var
=no
9385 export_dynamic_flag_spec
='-Bexport'
9389 if test -d /usr
/nec
; then
9390 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9391 hardcode_shlibpath_var
=no
9392 runpath_var
=LD_RUN_PATH
9393 hardcode_runpath_var
=yes
9398 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9399 no_undefined_flag
='${wl}-z,text'
9400 archive_cmds_need_lc
=no
9401 hardcode_shlibpath_var
=no
9402 runpath_var
='LD_RUN_PATH'
9404 if test "$GCC" = yes; then
9405 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9406 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9408 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9409 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9413 sysv5
* | sco3.2v5
* | sco5v6
*)
9414 # Note: We can NOT use -z defs as we might desire, because we do not
9415 # link with -lc, and that would cause any symbols used from libc to
9416 # always be unresolved, which means just about no library would
9417 # ever link correctly. If we're not using GNU ld we use -z text
9418 # though, which does catch some bad symbols but isn't as heavy-handed
9420 no_undefined_flag
='${wl}-z,text'
9421 allow_undefined_flag
='${wl}-z,nodefs'
9422 archive_cmds_need_lc
=no
9423 hardcode_shlibpath_var
=no
9424 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9425 hardcode_libdir_separator
=':'
9426 link_all_deplibs
=yes
9427 export_dynamic_flag_spec
='${wl}-Bexport'
9428 runpath_var
='LD_RUN_PATH'
9430 if test "$GCC" = yes; then
9431 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9432 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9434 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9435 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9440 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9441 hardcode_libdir_flag_spec
='-L$libdir'
9442 hardcode_shlibpath_var
=no
9450 if test x
$host_vendor = xsni
; then
9452 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9453 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9459 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9460 $as_echo "$ld_shlibs" >&6; }
9461 test "$ld_shlibs" = no
&& can_build_shared
=no
9463 with_gnu_ld
=$with_gnu_ld
9480 # Do we need to explicitly link libc?
9482 case "x$archive_cmds_need_lc" in
9484 # Assume -lc should be added
9485 archive_cmds_need_lc
=yes
9487 if test "$enable_shared" = yes && test "$GCC" = yes; then
9488 case $archive_cmds in
9490 # FIXME: we may have to deal with multi-command sequences.
9493 # Test whether the compiler implicitly links with -lc since on some
9494 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9495 # to ld, don't add -lc before -lgcc.
9496 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9497 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9499 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9502 (eval $ac_compile) 2>&5
9504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); } 2>conftest.err
; then
9508 libobjs
=conftest.
$ac_objext
9510 wl
=$lt_prog_compiler_wl
9511 pic_flag
=$lt_prog_compiler_pic
9517 lt_save_allow_undefined_flag
=$allow_undefined_flag
9518 allow_undefined_flag
=
9519 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9520 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }
9525 archive_cmds_need_lc
=no
9527 archive_cmds_need_lc
=yes
9529 allow_undefined_flag
=$lt_save_allow_undefined_flag
9531 cat conftest.err
1>&5
9534 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9535 $as_echo "$archive_cmds_need_lc" >&6; }
9698 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9699 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9701 if test "$GCC" = yes; then
9703 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9704 *) lt_awk_arg
="/^libraries:/" ;;
9706 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9707 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9708 # if the path contains ";" then we assume it to be the separator
9709 # otherwise default to the standard path separator (i.e. ":") - it is
9710 # assumed that no part of a normal pathname contains ";" but that should
9711 # okay in the real world where ";" in dirpaths is itself problematic.
9712 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9714 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9716 # Ok, now we have the path, separated by spaces, we can step through it
9717 # and add multilib dir if necessary.
9718 lt_tmp_lt_search_path_spec
=
9719 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9720 for lt_sys_path
in $lt_search_path_spec; do
9721 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9722 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9724 test -d "$lt_sys_path" && \
9725 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9728 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9729 BEGIN {RS=" "; FS="/|\n";} {
9732 for (lt_i = NF; lt_i > 0; lt_i--) {
9733 if ($lt_i != "" && $lt_i != ".") {
9734 if ($lt_i == "..") {
9737 if (lt_count == 0) {
9738 lt_foo="/" $lt_i lt_foo;
9745 if (lt_foo != "") { lt_freq[lt_foo]++; }
9746 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9748 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9750 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9753 libname_spec
='lib$name'
9761 shlibpath_overrides_runpath
=unknown
9763 dynamic_linker
="$host_os ld.so"
9764 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9765 need_lib_prefix
=unknown
9766 hardcode_into_libs
=no
9768 # when you set need_version to no, make sure it does not cause -set_version
9769 # flags to be left without arguments
9770 need_version
=unknown
9775 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9776 shlibpath_var
=LIBPATH
9778 # AIX 3 has no versioning support, so we append a major version to the name.
9779 soname_spec
='${libname}${release}${shared_ext}$major'
9786 hardcode_into_libs
=yes
9787 if test "$host_cpu" = ia64
; then
9788 # AIX 5 supports IA64
9789 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9790 shlibpath_var
=LD_LIBRARY_PATH
9792 # With GCC up to 2.95.x, collect2 would create an import file
9793 # for dependence libraries. The import file would start with
9794 # the line `#! .'. This would cause the generated library to
9795 # depend on `.', always an invalid library. This was fixed in
9796 # development snapshots of GCC prior to 3.0.
9798 aix4 | aix4.
[01] | aix4.
[01].
*)
9799 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9801 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9808 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9809 # soname into executable. Probably we can add versioning support to
9810 # collect2, so additional links can be useful in future.
9811 if test "$aix_use_runtimelinking" = yes; then
9812 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9813 # instead of lib<name>.a to let people know that these are not
9814 # typical AIX shared libraries.
9815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9817 # We preserve .a as extension for shared libraries through AIX4.2
9818 # and later when we are not doing run time linking.
9819 library_names_spec
='${libname}${release}.a $libname.a'
9820 soname_spec
='${libname}${release}${shared_ext}$major'
9822 shlibpath_var
=LIBPATH
9829 # Since July 2007 AmigaOS4 officially supports .so libraries.
9830 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9834 library_names_spec
='$libname.ixlibrary $libname.a'
9835 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9836 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'
9842 library_names_spec
='${libname}${shared_ext}'
9843 dynamic_linker
="$host_os ld.so"
9844 shlibpath_var
=LIBRARY_PATH
9850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9851 soname_spec
='${libname}${release}${shared_ext}$major'
9852 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9853 shlibpath_var
=LD_LIBRARY_PATH
9854 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9855 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9856 # the default ld.so.conf also contains /usr/contrib/lib and
9857 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9858 # libtool to hard-code these into programs
9861 cygwin
* | mingw
* | pw32
* | cegcc
*)
9862 version_type
=windows
9867 case $GCC,$host_os in
9868 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9869 library_names_spec
='$libname.dll.a'
9870 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9871 postinstall_cmds
='base_file=`basename \${file}`~
9872 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9873 dldir=$destdir/`dirname \$dlpath`~
9874 test -d \$dldir || mkdir -p \$dldir~
9875 $install_prog $dir/$dlname \$dldir/$dlname~
9876 chmod a+x \$dldir/$dlname~
9877 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9878 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9880 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9881 dlpath=$dir/\$dldll~
9883 shlibpath_overrides_runpath
=yes
9887 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9888 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9889 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9892 # MinGW DLLs use traditional 'lib' prefix
9893 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9894 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9895 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9896 # It is most probably a Windows format PATH printed by
9897 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9898 # path with ; separators, and with drive letters. We can handle the
9899 # drive letters (cygwin fileutils understands them), so leave them,
9900 # especially as we might pass files found there to a mingw objdump,
9901 # which wouldn't understand a cygwinified path. Ahh.
9902 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9904 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9908 # pw32 DLLs use 'pw' prefix rather than 'lib'
9909 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9915 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9918 dynamic_linker
='Win32 ld.exe'
9919 # FIXME: first we should search . and the directory the executable is in
9923 darwin
* | rhapsody
*)
9924 dynamic_linker
="$host_os dyld"
9928 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9929 soname_spec
='${libname}${release}${major}$shared_ext'
9930 shlibpath_overrides_runpath
=yes
9931 shlibpath_var
=DYLD_LIBRARY_PATH
9932 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9934 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9935 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9943 soname_spec
='${libname}${release}${shared_ext}$major'
9944 shlibpath_var
=LD_LIBRARY_PATH
9951 freebsd
* | dragonfly
*)
9952 # DragonFly does not have aout. When/if they implement a new
9953 # versioning mechanism, adjust this.
9954 if test -x /usr
/bin
/objformat
; then
9955 objformat
=`/usr/bin/objformat`
9958 freebsd
[123]*) objformat
=aout
;;
9962 version_type
=freebsd-
$objformat
9963 case $version_type in
9965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9970 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9974 shlibpath_var
=LD_LIBRARY_PATH
9977 shlibpath_overrides_runpath
=yes
9979 freebsd3.
[01]* | freebsdelf3.
[01]*)
9980 shlibpath_overrides_runpath
=yes
9981 hardcode_into_libs
=yes
9983 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9984 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9985 shlibpath_overrides_runpath
=no
9986 hardcode_into_libs
=yes
9988 *) # from 4.6 on, and DragonFly
9989 shlibpath_overrides_runpath
=yes
9990 hardcode_into_libs
=yes
9999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10000 soname_spec
='${libname}${release}${shared_ext}$major'
10001 shlibpath_var
=LD_LIBRARY_PATH
10002 hardcode_into_libs
=yes
10005 hpux9
* | hpux10
* | hpux11
*)
10006 # Give a soname corresponding to the major version so that dld.sl refuses to
10007 # link against other versions.
10014 hardcode_into_libs
=yes
10015 dynamic_linker
="$host_os dld.so"
10016 shlibpath_var
=LD_LIBRARY_PATH
10017 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10019 soname_spec
='${libname}${release}${shared_ext}$major'
10020 if test "X$HPUX_IA64_MODE" = X32
; then
10021 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10023 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10025 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10029 hardcode_into_libs
=yes
10030 dynamic_linker
="$host_os dld.sl"
10031 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10032 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10034 soname_spec
='${libname}${release}${shared_ext}$major'
10035 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10036 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10040 dynamic_linker
="$host_os dld.sl"
10041 shlibpath_var
=SHLIB_PATH
10042 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10044 soname_spec
='${libname}${release}${shared_ext}$major'
10047 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10048 postinstall_cmds
='chmod 555 $lib'
10055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10056 soname_spec
='${libname}${release}${shared_ext}$major'
10057 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10058 shlibpath_var
=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath
=no
10060 hardcode_into_libs
=yes
10063 irix5
* | irix6
* | nonstopux
*)
10065 nonstopux
*) version_type
=nonstopux
;;
10067 if test "$lt_cv_prog_gnu_ld" = yes; then
10075 soname_spec
='${libname}${release}${shared_ext}$major'
10076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10078 irix5
* | nonstopux
*)
10079 libsuff
= shlibsuff
=
10082 case $LD in # libtool.m4 will add one of these switches to LD
10083 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10084 libsuff
= shlibsuff
= libmagic
=32-bit;;
10085 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10086 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10087 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10088 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10089 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10093 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10094 shlibpath_overrides_runpath
=no
10095 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10096 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10097 hardcode_into_libs
=yes
10100 # No shared lib support for Linux oldld, aout, or coff.
10101 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10105 # This must be Linux ELF.
10106 linux
* | k
*bsd
*-gnu)
10110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10111 soname_spec
='${libname}${release}${shared_ext}$major'
10112 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10113 shlibpath_var
=LD_LIBRARY_PATH
10114 shlibpath_overrides_runpath
=no
10115 # Some binutils ld are patched to set DT_RUNPATH
10116 save_LDFLAGS
=$LDFLAGS
10117 save_libdir
=$libdir
10118 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10119 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10120 cat >conftest.
$ac_ext <<_ACEOF
10123 cat confdefs.h
>>conftest.
$ac_ext
10124 cat >>conftest.
$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10135 rm -f conftest.
$ac_objext conftest
$ac_exeext
10136 if { (ac_try
="$ac_link"
10137 case "(($ac_try" in
10138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10139 *) ac_try_echo=$ac_try;;
10141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10142 $as_echo "$ac_try_echo") >&5
10143 (eval "$ac_link") 2>conftest.er1
10145 grep -v '^ *+' conftest.er1 >conftest.err
10147 cat conftest.err >&5
10148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } && {
10150 test -z "$ac_c_werror_flag" ||
10151 test ! -s conftest.err
10152 } && test -s conftest$ac_exeext && {
10153 test "$cross_compiling" = yes ||
10154 $as_test_x conftest$ac_exeext
10156 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10157 shlibpath_overrides_runpath=yes
10161 $as_echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.$ac_ext >&5
10167 rm -rf conftest.dSYM
10168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10169 conftest$ac_exeext conftest.$ac_ext
10170 LDFLAGS=$save_LDFLAGS
10171 libdir=$save_libdir
10173 # This implies no fast_install, which is unacceptable.
10174 # Some rework will be needed to allow for fast_install
10175 # before this can be enabled.
10176 hardcode_into_libs=yes
10178 # Add ABI-specific directories to the system library path.
10179 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10181 # Append ld.so.conf contents to the search path
10182 if test -f /etc/ld.so.conf; then
10183 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' ' '`
10184 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10187 # We used to test for /lib/ld.so.1 and disable shared libraries on
10188 # powerpc, because MkLinux only supported shared libraries with the
10189 # GNU dynamic linker. Since this was broken with cross compilers,
10190 # most powerpc-linux boxes support dynamic linking these days and
10191 # people can always --disable-shared, the test was removed, and we
10192 # assume the GNU/Linux dynamic linker is in use.
10193 dynamic_linker='GNU/Linux ld.so'
10200 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10202 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10203 dynamic_linker='NetBSD (a.out) ld.so'
10205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10206 soname_spec='${libname}${release}${shared_ext}$major'
10207 dynamic_linker='NetBSD ld.elf_so'
10209 shlibpath_var=LD_LIBRARY_PATH
10210 shlibpath_overrides_runpath=yes
10211 hardcode_into_libs=yes
10216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10217 shlibpath_var=LD_LIBRARY_PATH
10218 shlibpath_overrides_runpath=yes
10225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10226 soname_spec='${libname}${release}${shared_ext}$major'
10227 shlibpath_var=LD_LIBRARY_PATH
10228 shlibpath_overrides_runpath=no
10229 hardcode_into_libs=yes
10230 dynamic_linker='ldqnx.so'
10235 sys_lib_dlsearch_path_spec="/usr/lib"
10237 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10239 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10240 *) need_version=no ;;
10242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10243 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10244 shlibpath_var=LD_LIBRARY_PATH
10245 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10247 openbsd2.[89] | openbsd2.[89].*)
10248 shlibpath_overrides_runpath=no
10251 shlibpath_overrides_runpath=yes
10255 shlibpath_overrides_runpath=yes
10260 libname_spec='$name'
10263 library_names_spec='$libname${shared_ext} $libname.a'
10264 dynamic_linker='OS/2 ld.exe'
10265 shlibpath_var=LIBPATH
10268 osf3* | osf4* | osf5*)
10272 soname_spec='${libname}${release}${shared_ext}$major'
10273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10274 shlibpath_var=LD_LIBRARY_PATH
10275 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10276 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10288 soname_spec='${libname}${release}${shared_ext}$major'
10289 shlibpath_var=LD_LIBRARY_PATH
10290 shlibpath_overrides_runpath=yes
10291 hardcode_into_libs=yes
10292 # ldd complains unless libraries are executable
10293 postinstall_cmds='chmod +x $lib'
10298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10299 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10300 shlibpath_var=LD_LIBRARY_PATH
10301 shlibpath_overrides_runpath=yes
10302 if test "$with_gnu_ld" = yes; then
10310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10311 soname_spec='${libname}${release}${shared_ext}$major'
10312 shlibpath_var=LD_LIBRARY_PATH
10313 case $host_vendor in
10315 shlibpath_overrides_runpath=no
10317 runpath_var=LD_RUN_PATH
10325 shlibpath_overrides_runpath=no
10326 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10332 if test -d /usr/nec ;then
10334 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10335 soname_spec='$libname${shared_ext}.$major'
10336 shlibpath_var=LD_LIBRARY_PATH
10340 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10341 version_type=freebsd-elf
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10345 soname_spec='${libname}${release}${shared_ext}$major'
10346 shlibpath_var=LD_LIBRARY_PATH
10347 shlibpath_overrides_runpath=yes
10348 hardcode_into_libs=yes
10349 if test "$with_gnu_ld" = yes; then
10350 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10352 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10355 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10359 sys_lib_dlsearch_path_spec='/usr/lib'
10363 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10368 shlibpath_var=LD_LIBRARY_PATH
10369 shlibpath_overrides_runpath=no
10370 hardcode_into_libs=yes
10375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376 soname_spec='${libname}${release}${shared_ext}$major'
10377 shlibpath_var=LD_LIBRARY_PATH
10384 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10385 $as_echo "$dynamic_linker" >&6; }
10386 test "$dynamic_linker" = no && can_build_shared=no
10388 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10389 if test "$GCC" = yes; then
10390 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10393 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10394 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10396 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10397 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10486 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10487 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10489 if test -n "$hardcode_libdir_flag_spec" ||
10490 test -n "$runpath_var" ||
10491 test "X$hardcode_automatic" = "Xyes" ; then
10493 # We can hardcode non-existent directories.
10494 if test "$hardcode_direct" != no &&
10495 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10496 # have to relink, otherwise we might link with an installed library
10497 # when we should be linking with a yet-to-be-installed one
10498 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10499 test "$hardcode_minus_L" != no; then
10500 # Linking always hardcodes the temporary library directory.
10501 hardcode_action=relink
10503 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10504 hardcode_action=immediate
10507 # We cannot hardcode anything, or else we can only hardcode existing
10509 hardcode_action=unsupported
10511 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10512 $as_echo "$hardcode_action" >&6; }
10514 if test "$hardcode_action" = relink ||
10515 test "$inherit_rpath" = yes; then
10516 # Fast installation is not supported
10517 enable_fast_install=no
10518 elif test "$shlibpath_overrides_runpath" = yes ||
10519 test "$enable_shared" = no; then
10520 # Fast installation is not necessary
10521 enable_fast_install=needless
10529 if test "x$enable_dlopen" != xyes; then
10530 enable_dlopen=unknown
10531 enable_dlopen_self=unknown
10532 enable_dlopen_self_static=unknown
10539 lt_cv_dlopen="load_add_on"
10541 lt_cv_dlopen_self=yes
10544 mingw* | pw32* | cegcc*)
10545 lt_cv_dlopen="LoadLibrary"
10550 lt_cv_dlopen="dlopen"
10555 # if libdl is installed we need to link against it
10556 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10557 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10558 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10559 $as_echo_n "(cached) " >&6
10561 ac_check_lib_save_LIBS=$LIBS
10563 cat >conftest.$ac_ext <<_ACEOF
10566 cat confdefs.h >>conftest.$ac_ext
10567 cat >>conftest.$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10570 /* Override any GCC internal prototype to avoid an error.
10571 Use char because int might match the return type of a GCC
10572 builtin and then its argument prototype would still apply. */
10585 rm -f conftest.$ac_objext conftest$ac_exeext
10586 if { (ac_try="$ac_link"
10587 case "(($ac_try" in
10588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10589 *) ac_try_echo
=$ac_try;;
10591 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10592 $as_echo "$ac_try_echo") >&5
10593 (eval "$ac_link") 2>conftest.er1
10595 grep -v '^ *+' conftest.er1
>conftest.err
10597 cat conftest.err
>&5
10598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } && {
10600 test -z "$ac_c_werror_flag" ||
10601 test ! -s conftest.err
10602 } && test -s conftest
$ac_exeext && {
10603 test "$cross_compiling" = yes ||
10604 $as_test_x conftest
$ac_exeext
10606 ac_cv_lib_dl_dlopen
=yes
10608 $as_echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.
$ac_ext >&5
10611 ac_cv_lib_dl_dlopen
=no
10614 rm -rf conftest.dSYM
10615 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10616 conftest
$ac_exeext conftest.
$ac_ext
10617 LIBS
=$ac_check_lib_save_LIBS
10619 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10620 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10621 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10622 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10625 lt_cv_dlopen
="dyld"
10627 lt_cv_dlopen_self
=yes
10634 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10635 $as_echo_n "checking for shl_load... " >&6; }
10636 if test "${ac_cv_func_shl_load+set}" = set; then
10637 $as_echo_n "(cached) " >&6
10639 cat >conftest.
$ac_ext <<_ACEOF
10642 cat confdefs.h
>>conftest.
$ac_ext
10643 cat >>conftest.
$ac_ext <<_ACEOF
10644 /* end confdefs.h. */
10645 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10647 #define shl_load innocuous_shl_load
10649 /* System header to define __stub macros and hopefully few prototypes,
10650 which can conflict with char shl_load (); below.
10651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10652 <limits.h> exists even on freestanding compilers. */
10655 # include <limits.h>
10657 # include <assert.h>
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10669 /* The GNU C library defines this for functions which it implements
10670 to always fail with ENOSYS. Some functions are actually named
10671 something starting with __ and the normal name is an alias. */
10672 #if defined __stub_shl_load || defined __stub___shl_load
10679 return shl_load ();
10684 rm -f conftest.
$ac_objext conftest
$ac_exeext
10685 if { (ac_try
="$ac_link"
10686 case "(($ac_try" in
10687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10688 *) ac_try_echo=$ac_try;;
10690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10691 $as_echo "$ac_try_echo") >&5
10692 (eval "$ac_link") 2>conftest.er1
10694 grep -v '^ *+' conftest.er1 >conftest.err
10696 cat conftest.err >&5
10697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } && {
10699 test -z "$ac_c_werror_flag" ||
10700 test ! -s conftest.err
10701 } && test -s conftest$ac_exeext && {
10702 test "$cross_compiling" = yes ||
10703 $as_test_x conftest$ac_exeext
10705 ac_cv_func_shl_load=yes
10707 $as_echo "$as_me: failed program was:" >&5
10708 sed 's/^/| /' conftest.$ac_ext >&5
10710 ac_cv_func_shl_load=no
10713 rm -rf conftest.dSYM
10714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10715 conftest$ac_exeext conftest.$ac_ext
10717 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10718 $as_echo "$ac_cv_func_shl_load" >&6; }
10719 if test "x$ac_cv_func_shl_load" = x""yes; then
10720 lt_cv_dlopen="shl_load"
10722 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10723 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10724 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10725 $as_echo_n "(cached) " >&6
10727 ac_check_lib_save_LIBS=$LIBS
10729 cat >conftest.$ac_ext <<_ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10746 return shl_load ();
10751 rm -f conftest.$ac_objext conftest$ac_exeext
10752 if { (ac_try="$ac_link"
10753 case "(($ac_try" in
10754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10755 *) ac_try_echo
=$ac_try;;
10757 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10758 $as_echo "$ac_try_echo") >&5
10759 (eval "$ac_link") 2>conftest.er1
10761 grep -v '^ *+' conftest.er1
>conftest.err
10763 cat conftest.err
>&5
10764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } && {
10766 test -z "$ac_c_werror_flag" ||
10767 test ! -s conftest.err
10768 } && test -s conftest
$ac_exeext && {
10769 test "$cross_compiling" = yes ||
10770 $as_test_x conftest
$ac_exeext
10772 ac_cv_lib_dld_shl_load
=yes
10774 $as_echo "$as_me: failed program was:" >&5
10775 sed 's/^/| /' conftest.
$ac_ext >&5
10777 ac_cv_lib_dld_shl_load
=no
10780 rm -rf conftest.dSYM
10781 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10782 conftest
$ac_exeext conftest.
$ac_ext
10783 LIBS
=$ac_check_lib_save_LIBS
10785 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10786 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10787 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10788 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10790 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10791 $as_echo_n "checking for dlopen... " >&6; }
10792 if test "${ac_cv_func_dlopen+set}" = set; then
10793 $as_echo_n "(cached) " >&6
10795 cat >conftest.
$ac_ext <<_ACEOF
10798 cat confdefs.h
>>conftest.
$ac_ext
10799 cat >>conftest.
$ac_ext <<_ACEOF
10800 /* end confdefs.h. */
10801 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10803 #define dlopen innocuous_dlopen
10805 /* System header to define __stub macros and hopefully few prototypes,
10806 which can conflict with char dlopen (); below.
10807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10808 <limits.h> exists even on freestanding compilers. */
10811 # include <limits.h>
10813 # include <assert.h>
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10825 /* The GNU C library defines this for functions which it implements
10826 to always fail with ENOSYS. Some functions are actually named
10827 something starting with __ and the normal name is an alias. */
10828 #if defined __stub_dlopen || defined __stub___dlopen
10840 rm -f conftest.
$ac_objext conftest
$ac_exeext
10841 if { (ac_try
="$ac_link"
10842 case "(($ac_try" in
10843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10844 *) ac_try_echo=$ac_try;;
10846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10847 $as_echo "$ac_try_echo") >&5
10848 (eval "$ac_link") 2>conftest.er1
10850 grep -v '^ *+' conftest.er1 >conftest.err
10852 cat conftest.err >&5
10853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); } && {
10855 test -z "$ac_c_werror_flag" ||
10856 test ! -s conftest.err
10857 } && test -s conftest$ac_exeext && {
10858 test "$cross_compiling" = yes ||
10859 $as_test_x conftest$ac_exeext
10861 ac_cv_func_dlopen=yes
10863 $as_echo "$as_me: failed program was:" >&5
10864 sed 's/^/| /' conftest.$ac_ext >&5
10866 ac_cv_func_dlopen=no
10869 rm -rf conftest.dSYM
10870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10871 conftest$ac_exeext conftest.$ac_ext
10873 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10874 $as_echo "$ac_cv_func_dlopen" >&6; }
10875 if test "x$ac_cv_func_dlopen" = x""yes; then
10876 lt_cv_dlopen="dlopen"
10878 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10879 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10880 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10881 $as_echo_n "(cached) " >&6
10883 ac_check_lib_save_LIBS=$LIBS
10885 cat >conftest.$ac_ext <<_ACEOF
10888 cat confdefs.h >>conftest.$ac_ext
10889 cat >>conftest.$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10907 rm -f conftest.$ac_objext conftest$ac_exeext
10908 if { (ac_try="$ac_link"
10909 case "(($ac_try" in
10910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10911 *) ac_try_echo
=$ac_try;;
10913 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10914 $as_echo "$ac_try_echo") >&5
10915 (eval "$ac_link") 2>conftest.er1
10917 grep -v '^ *+' conftest.er1
>conftest.err
10919 cat conftest.err
>&5
10920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); } && {
10922 test -z "$ac_c_werror_flag" ||
10923 test ! -s conftest.err
10924 } && test -s conftest
$ac_exeext && {
10925 test "$cross_compiling" = yes ||
10926 $as_test_x conftest
$ac_exeext
10928 ac_cv_lib_dl_dlopen
=yes
10930 $as_echo "$as_me: failed program was:" >&5
10931 sed 's/^/| /' conftest.
$ac_ext >&5
10933 ac_cv_lib_dl_dlopen
=no
10936 rm -rf conftest.dSYM
10937 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10938 conftest
$ac_exeext conftest.
$ac_ext
10939 LIBS
=$ac_check_lib_save_LIBS
10941 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10942 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10943 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10944 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10946 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10947 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10948 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10949 $as_echo_n "(cached) " >&6
10951 ac_check_lib_save_LIBS
=$LIBS
10952 LIBS
="-lsvld $LIBS"
10953 cat >conftest.
$ac_ext <<_ACEOF
10956 cat confdefs.h
>>conftest.
$ac_ext
10957 cat >>conftest.
$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10960 /* Override any GCC internal prototype to avoid an error.
10961 Use char because int might match the return type of a GCC
10962 builtin and then its argument prototype would still apply. */
10975 rm -f conftest.
$ac_objext conftest
$ac_exeext
10976 if { (ac_try
="$ac_link"
10977 case "(($ac_try" in
10978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10979 *) ac_try_echo=$ac_try;;
10981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10982 $as_echo "$ac_try_echo") >&5
10983 (eval "$ac_link") 2>conftest.er1
10985 grep -v '^ *+' conftest.er1 >conftest.err
10987 cat conftest.err >&5
10988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); } && {
10990 test -z "$ac_c_werror_flag" ||
10991 test ! -s conftest.err
10992 } && test -s conftest$ac_exeext && {
10993 test "$cross_compiling" = yes ||
10994 $as_test_x conftest$ac_exeext
10996 ac_cv_lib_svld_dlopen=yes
10998 $as_echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.$ac_ext >&5
11001 ac_cv_lib_svld_dlopen=no
11004 rm -rf conftest.dSYM
11005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11006 conftest$ac_exeext conftest.$ac_ext
11007 LIBS=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11010 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11011 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11012 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11014 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11015 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11016 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11017 $as_echo_n "(cached) " >&6
11019 ac_check_lib_save_LIBS=$LIBS
11021 cat >conftest.$ac_ext <<_ACEOF
11024 cat confdefs.h >>conftest.$ac_ext
11025 cat >>conftest.$ac_ext <<_ACEOF
11026 /* end confdefs.h. */
11028 /* Override any GCC internal prototype to avoid an error.
11029 Use char because int might match the return type of a GCC
11030 builtin and then its argument prototype would still apply. */
11038 return dld_link ();
11043 rm -f conftest.$ac_objext conftest$ac_exeext
11044 if { (ac_try="$ac_link"
11045 case "(($ac_try" in
11046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11047 *) ac_try_echo
=$ac_try;;
11049 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11050 $as_echo "$ac_try_echo") >&5
11051 (eval "$ac_link") 2>conftest.er1
11053 grep -v '^ *+' conftest.er1
>conftest.err
11055 cat conftest.err
>&5
11056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); } && {
11058 test -z "$ac_c_werror_flag" ||
11059 test ! -s conftest.err
11060 } && test -s conftest
$ac_exeext && {
11061 test "$cross_compiling" = yes ||
11062 $as_test_x conftest
$ac_exeext
11064 ac_cv_lib_dld_dld_link
=yes
11066 $as_echo "$as_me: failed program was:" >&5
11067 sed 's/^/| /' conftest.
$ac_ext >&5
11069 ac_cv_lib_dld_dld_link
=no
11072 rm -rf conftest.dSYM
11073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11074 conftest
$ac_exeext conftest.
$ac_ext
11075 LIBS
=$ac_check_lib_save_LIBS
11077 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11078 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11079 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11080 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11101 if test "x$lt_cv_dlopen" != xno
; then
11107 case $lt_cv_dlopen in
11109 save_CPPFLAGS
="$CPPFLAGS"
11110 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11112 save_LDFLAGS
="$LDFLAGS"
11113 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11116 LIBS
="$lt_cv_dlopen_libs $LIBS"
11118 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11119 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11120 if test "${lt_cv_dlopen_self+set}" = set; then
11121 $as_echo_n "(cached) " >&6
11123 if test "$cross_compiling" = yes; then :
11124 lt_cv_dlopen_self
=cross
11126 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11127 lt_status
=$lt_dlunknown
11128 cat > conftest.
$ac_ext <<_LT_EOF
11129 #line 11129 "configure"
11130 #include "confdefs.h"
11139 # define LT_DLGLOBAL RTLD_GLOBAL
11142 # define LT_DLGLOBAL DL_GLOBAL
11144 # define LT_DLGLOBAL 0
11148 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11149 find out it does not work in some platform. */
11150 #ifndef LT_DLLAZY_OR_NOW
11152 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11155 # define LT_DLLAZY_OR_NOW DL_LAZY
11158 # define LT_DLLAZY_OR_NOW RTLD_NOW
11161 # define LT_DLLAZY_OR_NOW DL_NOW
11163 # define LT_DLLAZY_OR_NOW 0
11170 void fnord() { int i=42;}
11173 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11174 int status = $lt_dlunknown;
11178 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11179 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11180 /* dlclose (self); */
11188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11189 (eval $ac_link) 2>&5
11191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11193 (.
/conftest
; exit; ) >&5 2>/dev
/null
11195 case x
$lt_status in
11196 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11197 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11198 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11201 # compilation failed
11202 lt_cv_dlopen_self
=no
11209 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11210 $as_echo "$lt_cv_dlopen_self" >&6; }
11212 if test "x$lt_cv_dlopen_self" = xyes
; then
11213 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11214 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11215 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11216 if test "${lt_cv_dlopen_self_static+set}" = set; then
11217 $as_echo_n "(cached) " >&6
11219 if test "$cross_compiling" = yes; then :
11220 lt_cv_dlopen_self_static
=cross
11222 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11223 lt_status
=$lt_dlunknown
11224 cat > conftest.
$ac_ext <<_LT_EOF
11225 #line 11225 "configure"
11226 #include "confdefs.h"
11235 # define LT_DLGLOBAL RTLD_GLOBAL
11238 # define LT_DLGLOBAL DL_GLOBAL
11240 # define LT_DLGLOBAL 0
11244 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11245 find out it does not work in some platform. */
11246 #ifndef LT_DLLAZY_OR_NOW
11248 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11251 # define LT_DLLAZY_OR_NOW DL_LAZY
11254 # define LT_DLLAZY_OR_NOW RTLD_NOW
11257 # define LT_DLLAZY_OR_NOW DL_NOW
11259 # define LT_DLLAZY_OR_NOW 0
11266 void fnord() { int i=42;}
11269 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11270 int status = $lt_dlunknown;
11274 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11275 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11276 /* dlclose (self); */
11284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11285 (eval $ac_link) 2>&5
11287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11289 (.
/conftest
; exit; ) >&5 2>/dev
/null
11291 case x
$lt_status in
11292 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11293 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11294 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11297 # compilation failed
11298 lt_cv_dlopen_self_static
=no
11305 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11306 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11309 CPPFLAGS
="$save_CPPFLAGS"
11310 LDFLAGS
="$save_LDFLAGS"
11315 case $lt_cv_dlopen_self in
11316 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11317 *) enable_dlopen_self
=unknown
;;
11320 case $lt_cv_dlopen_self_static in
11321 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11322 *) enable_dlopen_self_static
=unknown
;;
11344 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11345 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11346 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11347 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11348 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11349 { $as_echo "$as_me:$LINENO: result: yes" >&5
11350 $as_echo "yes" >&6; }
11352 # FIXME - insert some real tests, host_os isn't really good enough
11355 if test -n "$STRIP" ; then
11356 striplib
="$STRIP -x"
11357 old_striplib
="$STRIP -S"
11358 { $as_echo "$as_me:$LINENO: result: yes" >&5
11359 $as_echo "yes" >&6; }
11361 { $as_echo "$as_me:$LINENO: result: no" >&5
11362 $as_echo "no" >&6; }
11366 { $as_echo "$as_me:$LINENO: result: no" >&5
11367 $as_echo "no" >&6; }
11383 # Report which library types will actually be built
11384 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11385 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11386 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11387 $as_echo "$can_build_shared" >&6; }
11389 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11390 $as_echo_n "checking whether to build shared libraries... " >&6; }
11391 test "$can_build_shared" = "no" && enable_shared
=no
11393 # On AIX, shared libraries and static libraries use the same namespace, and
11394 # are all built from PIC.
11397 test "$enable_shared" = yes && enable_static
=no
11398 if test -n "$RANLIB"; then
11399 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11400 postinstall_cmds
='$RANLIB $lib'
11405 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11406 test "$enable_shared" = yes && enable_static
=no
11410 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11411 $as_echo "$enable_shared" >&6; }
11413 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11414 $as_echo_n "checking whether to build static libraries... " >&6; }
11415 # Make sure either enable_shared or enable_static is yes.
11416 test "$enable_shared" = yes || enable_static
=yes
11417 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11418 $as_echo "$enable_static" >&6; }
11425 ac_cpp
='$CPP $CPPFLAGS'
11426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11444 ac_config_commands
="$ac_config_commands libtool"
11449 # Only expand once:
11454 { $as_echo "$as_me:$LINENO: checking spl license" >&5
11455 $as_echo_n "checking spl license... " >&6; }
11457 { $as_echo "$as_me:$LINENO: result: $LICENSE" >&5
11458 $as_echo "$LICENSE" >&6; }
11459 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DHAVE_GPL_ONLY_SYMBOLS"
11465 # Check whether --with-config was given.
11466 if test "${with_config+set}" = set; then
11467 withval
=$with_config; SPL_CONFIG
="$withval"
11471 { $as_echo "$as_me:$LINENO: checking spl config" >&5
11472 $as_echo_n "checking spl config... " >&6; }
11473 { $as_echo "$as_me:$LINENO: result: $SPL_CONFIG" >&5
11474 $as_echo "$SPL_CONFIG" >&6; };
11477 case "$SPL_CONFIG" in
11481 # Check whether --with-linux was given.
11482 if test "${with_linux+set}" = set; then
11483 withval
=$with_linux; kernelsrc
="$withval"
11488 # Check whether --with-linux-obj was given.
11489 if test "${with_linux_obj+set}" = set; then
11490 withval
=$with_linux_obj; kernelbuild
="$withval"
11494 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
11495 $as_echo_n "checking kernel source directory... " >&6; }
11496 if test -z "$kernelsrc"; then
11497 headersdir
="/lib/modules/$(uname -r)/build"
11498 if test -e "$headersdir"; then
11499 sourcelink
=$
(readlink
-f "$headersdir")
11501 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
11503 2>/dev
/null |
grep -v obj |
tail -1)
11506 if test -e ${sourcelink}; then
11507 kernelsrc
=`readlink -f ${sourcelink}`
11509 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11510 $as_echo "Not found" >&6; }
11511 { { $as_echo "$as_me:$LINENO: error:
11512 *** Please specify the location of the kernel source
11513 *** with the '--with-linux=PATH' option" >&5
11514 $as_echo "$as_me: error:
11515 *** Please specify the location of the kernel source
11516 *** with the '--with-linux=PATH' option" >&2;}
11517 { (exit 1); exit 1; }; }
11520 if test "$kernelsrc" = "NONE"; then
11525 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
11526 $as_echo "$kernelsrc" >&6; }
11527 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
11528 $as_echo_n "checking kernel build directory... " >&6; }
11529 if test -z "$kernelbuild"; then
11530 if test -d ${kernelsrc}-obj/`arch`/`arch`; then
11531 kernelbuild
=${kernelsrc}-obj/`arch`/`arch`
11532 elif test -d ${kernelsrc}-obj/`arch`/default
; then
11533 kernelbuild
=${kernelsrc}-obj/`arch`/default
11534 elif test -d `dirname ${kernelsrc}`/build-
`arch`; then
11535 kernelbuild
=`dirname ${kernelsrc}`/build-
`arch`
11537 kernelbuild
=${kernelsrc}
11540 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
11541 $as_echo "$kernelbuild" >&6; }
11543 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
11544 $as_echo_n "checking kernel source version... " >&6; }
11545 utsrelease1
=$kernelbuild/include
/linux
/version.h
11546 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
11547 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
11548 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
11549 utsrelease
=linux
/version.h
11550 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
11551 utsrelease
=linux
/utsrelease.h
11552 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
11553 utsrelease
=generated
/utsrelease.h
11556 if test "$utsrelease"; then
11557 kernsrcver
=`(echo "#include <$utsrelease>";
11558 echo "kernsrcver=UTS_RELEASE") |
11559 cpp -I $kernelbuild/include |
11560 grep "^kernsrcver=" | cut -d \" -f 2`
11562 if test -z "$kernsrcver"; then
11563 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11564 $as_echo "Not found" >&6; }
11565 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
11566 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
11567 { (exit 1); exit 1; }; }
11570 { $as_echo "$as_me:$LINENO: result: Not found" >&5
11571 $as_echo "Not found" >&6; }
11572 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
11573 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
11574 { (exit 1); exit 1; }; }
11577 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
11578 $as_echo "$kernsrcver" >&6; }
11581 LINUX_OBJ
=${kernelbuild}
11582 LINUX_VERSION
=${kernsrcver}
11589 modpost
=$LINUX/scripts
/Makefile.modpost
11590 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
11591 $as_echo_n "checking kernel file name for module symbols... " >&6; }
11592 if test -f "$modpost"; then
11593 if grep -q Modules.symvers
$modpost; then
11594 LINUX_SYMBOLS
=Modules.symvers
11596 LINUX_SYMBOLS
=Module.symvers
11601 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
11602 $as_echo "$LINUX_SYMBOLS" >&6; }
11607 abs_srcdir
=`readlink -f ${srcdir}`
11608 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes -Werror"
11609 KERNELCPPFLAGS
="$KERNELCPPFLAGS -I${abs_srcdir}/include"
11610 KERNELCPPFLAGS
="$KERNELCPPFLAGS -include ${abs_srcdir}/spl_config.h"
11612 if test "${LINUX_OBJ}" != "${LINUX}"; then
11613 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
11620 # Check whether --enable-debug was given.
11621 if test "${enable_debug+set}" = set; then
11622 enableval
=$enable_debug;
11628 if test "x$enable_debug" = xyes
; then
11629 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG"
11631 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
11635 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
11636 $as_echo_n "checking whether debugging is enabled... " >&6; }
11637 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
11638 $as_echo "$enable_debug" >&6; }
11641 # Check whether --enable-debug-kmem was given.
11642 if test "${enable_debug_kmem+set}" = set; then
11643 enableval
=$enable_debug_kmem;
11645 enable_debug_kmem
=yes
11649 if test "x$enable_debug_kmem" = xyes
; then
11651 cat >>confdefs.h
<<\_ACEOF
11652 #define DEBUG_KMEM 1
11655 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
11659 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
11660 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
11661 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
11662 $as_echo "$enable_debug_kmem" >&6; }
11665 # Check whether --enable-debug-kmem-tracking was given.
11666 if test "${enable_debug_kmem_tracking+set}" = set; then
11667 enableval
=$enable_debug_kmem_tracking;
11669 enable_debug_kmem_tracking
=no
11673 if test "x$enable_debug_kmem_tracking" = xyes
; then
11675 cat >>confdefs.h
<<\_ACEOF
11676 #define DEBUG_KMEM_TRACKING 1
11679 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
11683 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
11684 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
11685 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
11686 $as_echo "$enable_debug_kmem_tracking" >&6; }
11689 # Check whether --enable-atomic-spinlocks was given.
11690 if test "${enable_atomic_spinlocks+set}" = set; then
11691 enableval
=$enable_atomic_spinlocks;
11693 enable_atomic_spinlocks
=check
11699 cat >conftest.c
<<_ACEOF
11702 cat confdefs.h
>>conftest.
$ac_ext
11703 cat >>conftest.
$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11707 #include <asm/atomic.h>
11722 rm -Rf build
&& mkdir
-p build
11723 echo "obj-m := conftest.o" >build
/Makefile
11724 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11726 (eval $ac_try) 2>&5
11728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731 (eval $ac_try) 2>&5
11733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }; }; then
11736 have_atomic64_t
=yes
11738 cat >>confdefs.h
<<\_ACEOF
11739 #define HAVE_ATOMIC64_T 1
11744 $as_echo "$as_me: failed program was:" >&5
11745 sed 's/^/| /' conftest.
$ac_ext >&5
11757 if test "x$enable_atomic_spinlocks" = xcheck
; then
11759 if test "x$have_atomic64_t" = xyes
; then
11761 enable_atomic_spinlocks
=no
11765 enable_atomic_spinlocks
=yes
11773 if test "x$enable_atomic_spinlocks" = xyes
; then
11776 cat >>confdefs.h
<<\_ACEOF
11777 #define ATOMIC_SPINLOCK 1
11783 if test "x$have_atomic64_t" = xno
; then
11785 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11787 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
11788 See \`config.log' for more details." >&5
11789 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
11790 See \`config.log' for more details." >&2;}
11791 { (exit 1); exit 1; }; }; }
11799 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
11800 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
11801 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
11802 $as_echo "$enable_atomic_spinlocks" >&6; }
11804 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
11805 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
11806 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
11807 $as_echo "$have_atomic64_t" >&6; }
11809 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
11810 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
11813 cat >conftest.c
<<_ACEOF
11816 cat confdefs.h
>>conftest.
$ac_ext
11817 cat >>conftest.
$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11821 #include <asm/atomic.h>
11827 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
11836 rm -Rf build
&& mkdir
-p build
11837 echo "obj-m := conftest.o" >build
/Makefile
11838 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11840 (eval $ac_try) 2>&5
11842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11845 (eval $ac_try) 2>&5
11847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); }; }; then
11850 { $as_echo "$as_me:$LINENO: result: yes" >&5
11851 $as_echo "yes" >&6; }
11853 cat >>confdefs.h
<<\_ACEOF
11854 #define HAVE_ATOMIC64_CMPXCHG 1
11859 $as_echo "$as_me: failed program was:" >&5
11860 sed 's/^/| /' conftest.
$ac_ext >&5
11862 { $as_echo "$as_me:$LINENO: result: no" >&5
11863 $as_echo "no" >&6; }
11873 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
11874 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
11877 cat >conftest.c
<<_ACEOF
11880 cat confdefs.h
>>conftest.
$ac_ext
11881 cat >>conftest.
$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11885 #include <asm/atomic.h>
11891 atomic64_xchg((atomic64_t *)NULL, 0);
11900 rm -Rf build
&& mkdir
-p build
11901 echo "obj-m := conftest.o" >build
/Makefile
11902 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11904 (eval $ac_try) 2>&5
11906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11914 { $as_echo "$as_me:$LINENO: result: yes" >&5
11915 $as_echo "yes" >&6; }
11917 cat >>confdefs.h
<<\_ACEOF
11918 #define HAVE_ATOMIC64_XCHG 1
11923 $as_echo "$as_me: failed program was:" >&5
11924 sed 's/^/| /' conftest.
$ac_ext >&5
11926 { $as_echo "$as_me:$LINENO: result: no" >&5
11927 $as_echo "no" >&6; }
11937 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
11938 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
11941 cat >conftest.c
<<_ACEOF
11944 cat confdefs.h
>>conftest.
$ac_ext
11945 cat >>conftest.
$ac_ext <<_ACEOF
11946 /* end confdefs.h. */
11949 #include <linux/types.h>
11964 rm -Rf build
&& mkdir
-p build
11965 echo "obj-m := conftest.o" >build
/Makefile
11966 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11978 { $as_echo "$as_me:$LINENO: result: yes" >&5
11979 $as_echo "yes" >&6; }
11981 cat >>confdefs.h
<<\_ACEOF
11982 #define HAVE_UINTPTR_T 1
11987 $as_echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.
$ac_ext >&5
11990 { $as_echo "$as_me:$LINENO: result: no" >&5
11991 $as_echo "no" >&6; }
12001 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
12002 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
12005 cat >conftest.c
<<_ACEOF
12008 cat confdefs.h
>>conftest.
$ac_ext
12009 cat >>conftest.
$ac_ext <<_ACEOF
12010 /* end confdefs.h. */
12013 #include <linux/workqueue.h>
12019 struct work_struct work;
12020 INIT_WORK(&work, NULL, NULL);
12029 rm -Rf build
&& mkdir
-p build
12030 echo "obj-m := conftest.o" >build
/Makefile
12031 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
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); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; }; then
12043 { $as_echo "$as_me:$LINENO: result: yes" >&5
12044 $as_echo "yes" >&6; }
12046 cat >>confdefs.h
<<\_ACEOF
12047 #define HAVE_3ARGS_INIT_WORK 1
12052 $as_echo "$as_me: failed program was:" >&5
12053 sed 's/^/| /' conftest.
$ac_ext >&5
12055 { $as_echo "$as_me:$LINENO: result: no" >&5
12056 $as_echo "no" >&6; }
12066 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
12067 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
12070 cat >conftest.c
<<_ACEOF
12073 cat confdefs.h
>>conftest.
$ac_ext
12074 cat >>conftest.
$ac_ext <<_ACEOF
12075 /* end confdefs.h. */
12078 #include <linux/sysctl.h>
12084 return register_sysctl_table(NULL,0);
12093 rm -Rf build
&& mkdir
-p build
12094 echo "obj-m := conftest.o" >build
/Makefile
12095 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
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); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102 (eval $ac_try) 2>&5
12104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; }; then
12107 { $as_echo "$as_me:$LINENO: result: yes" >&5
12108 $as_echo "yes" >&6; }
12110 cat >>confdefs.h
<<\_ACEOF
12111 #define HAVE_2ARGS_REGISTER_SYSCTL 1
12116 $as_echo "$as_me: failed program was:" >&5
12117 sed 's/^/| /' conftest.
$ac_ext >&5
12119 { $as_echo "$as_me:$LINENO: result: no" >&5
12120 $as_echo "no" >&6; }
12131 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
12132 $as_echo_n "checking whether set_shrinker() available... " >&6; }
12135 cat >conftest.c
<<_ACEOF
12138 cat confdefs.h
>>conftest.
$ac_ext
12139 cat >>conftest.
$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12143 #include <linux/mm.h>
12149 return set_shrinker(DEFAULT_SEEKS, NULL);
12158 rm -Rf build
&& mkdir
-p build
12159 echo "obj-m := conftest.o" >build
/Makefile
12160 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12167 (eval $ac_try) 2>&5
12169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); }; }; then
12172 { $as_echo "$as_me:$LINENO: result: yes" >&5
12173 $as_echo "yes" >&6; }
12175 cat >>confdefs.h
<<\_ACEOF
12176 #define HAVE_SET_SHRINKER 1
12181 $as_echo "$as_me: failed program was:" >&5
12182 sed 's/^/| /' conftest.
$ac_ext >&5
12184 { $as_echo "$as_me:$LINENO: result: no" >&5
12185 $as_echo "no" >&6; }
12195 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
12196 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
12199 cat >conftest.c
<<_ACEOF
12202 cat confdefs.h
>>conftest.
$ac_ext
12203 cat >>conftest.
$ac_ext <<_ACEOF
12204 /* end confdefs.h. */
12207 #include <linux/namei.h>
12213 struct nameidata nd;
12215 nd.path.mnt = NULL;
12216 nd.path.dentry = NULL;
12225 rm -Rf build
&& mkdir
-p build
12226 echo "obj-m := conftest.o" >build
/Makefile
12227 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12229 (eval $ac_try) 2>&5
12231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12234 (eval $ac_try) 2>&5
12236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); }; }; then
12239 { $as_echo "$as_me:$LINENO: result: yes" >&5
12240 $as_echo "yes" >&6; }
12242 cat >>confdefs.h
<<\_ACEOF
12243 #define HAVE_PATH_IN_NAMEIDATA 1
12248 $as_echo "$as_me: failed program was:" >&5
12249 sed 's/^/| /' conftest.
$ac_ext >&5
12251 { $as_echo "$as_me:$LINENO: result: no" >&5
12252 $as_echo "no" >&6; }
12263 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
12264 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
12265 grep -q -E '[[:space:]]task_curr[[:space:]]' \
12266 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12268 if test $rc -ne 0; then
12270 for file in kernel
/sched.c
; do
12271 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
12272 "$LINUX_OBJ/$file" 2>/dev
/null
12274 if test $rc -eq 0; then
12279 if test $export -eq 0; then
12280 { $as_echo "$as_me:$LINENO: result: no" >&5
12281 $as_echo "no" >&6; }
12284 { $as_echo "$as_me:$LINENO: result: yes" >&5
12285 $as_echo "yes" >&6; }
12287 cat >>confdefs.h
<<\_ACEOF
12288 #define HAVE_TASK_CURR 1
12293 { $as_echo "$as_me:$LINENO: result: yes" >&5
12294 $as_echo "yes" >&6; }
12296 cat >>confdefs.h
<<\_ACEOF
12297 #define HAVE_TASK_CURR 1
12303 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
12304 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
12307 cat >conftest.c
<<_ACEOF
12310 cat confdefs.h
>>conftest.
$ac_ext
12311 cat >>conftest.
$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12315 #include <linux/sysctl.h>
12321 #ifndef CTL_UNNUMBERED
12322 #error CTL_UNNUMBERED undefined
12332 rm -Rf build
&& mkdir
-p build
12333 echo "obj-m := conftest.o" >build
/Makefile
12334 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341 (eval $ac_try) 2>&5
12343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); }; }; then
12346 { $as_echo "$as_me:$LINENO: result: yes" >&5
12347 $as_echo "yes" >&6; }
12349 cat >>confdefs.h
<<\_ACEOF
12350 #define HAVE_CTL_UNNUMBERED 1
12355 $as_echo "$as_me: failed program was:" >&5
12356 sed 's/^/| /' conftest.
$ac_ext >&5
12358 { $as_echo "$as_me:$LINENO: result: no" >&5
12359 $as_echo "no" >&6; }
12370 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
12371 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
12374 cat >conftest.c
<<_ACEOF
12377 cat confdefs.h
>>conftest.
$ac_ext
12378 cat >>conftest.
$ac_ext <<_ACEOF
12379 /* end confdefs.h. */
12382 #include <linux/sysctl.h>
12388 struct ctl_table ctl;
12398 rm -Rf build
&& mkdir
-p build
12399 echo "obj-m := conftest.o" >build
/Makefile
12400 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; }; then
12412 { $as_echo "$as_me:$LINENO: result: yes" >&5
12413 $as_echo "yes" >&6; }
12415 cat >>confdefs.h
<<\_ACEOF
12416 #define HAVE_CTL_NAME 1
12421 $as_echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.
$ac_ext >&5
12424 { $as_echo "$as_me:$LINENO: result: no" >&5
12425 $as_echo "no" >&6; }
12435 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
12436 $as_echo_n "checking whether fls64() is available... " >&6; }
12439 cat >conftest.c
<<_ACEOF
12442 cat confdefs.h
>>conftest.
$ac_ext
12443 cat >>conftest.
$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12447 #include <linux/bitops.h>
12462 rm -Rf build
&& mkdir
-p build
12463 echo "obj-m := conftest.o" >build
/Makefile
12464 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12466 (eval $ac_try) 2>&5
12468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12471 (eval $ac_try) 2>&5
12473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); }; }; then
12476 { $as_echo "$as_me:$LINENO: result: yes" >&5
12477 $as_echo "yes" >&6; }
12479 cat >>confdefs.h
<<\_ACEOF
12480 #define HAVE_FLS64 1
12485 $as_echo "$as_me: failed program was:" >&5
12486 sed 's/^/| /' conftest.
$ac_ext >&5
12488 { $as_echo "$as_me:$LINENO: result: no" >&5
12489 $as_echo "no" >&6; }
12500 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
12501 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
12502 grep -q -E '[[:space:]]device_create[[:space:]]' \
12503 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12505 if test $rc -ne 0; then
12507 for file in drivers
/base
/core.c
; do
12508 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
12509 "$LINUX_OBJ/$file" 2>/dev
/null
12511 if test $rc -eq 0; then
12516 if test $export -eq 0; then
12517 { $as_echo "$as_me:$LINENO: result: no" >&5
12518 $as_echo "no" >&6; }
12521 { $as_echo "$as_me:$LINENO: result: yes" >&5
12522 $as_echo "yes" >&6; }
12524 cat >>confdefs.h
<<\_ACEOF
12525 #define HAVE_DEVICE_CREATE 1
12530 { $as_echo "$as_me:$LINENO: result: yes" >&5
12531 $as_echo "yes" >&6; }
12533 cat >>confdefs.h
<<\_ACEOF
12534 #define HAVE_DEVICE_CREATE 1
12541 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
12542 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
12543 tmp_flags
="$EXTRA_KCFLAGS"
12544 EXTRA_KCFLAGS
="-Werror"
12547 cat >conftest.c
<<_ACEOF
12550 cat confdefs.h
>>conftest.
$ac_ext
12551 cat >>conftest.
$ac_ext <<_ACEOF
12552 /* end confdefs.h. */
12555 #include <linux/device.h>
12561 device_create(NULL, NULL, 0, NULL, "%d", 1);
12570 rm -Rf build
&& mkdir
-p build
12571 echo "obj-m := conftest.o" >build
/Makefile
12572 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574 (eval $ac_try) 2>&5
12576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12579 (eval $ac_try) 2>&5
12581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); }; }; then
12584 { $as_echo "$as_me:$LINENO: result: yes" >&5
12585 $as_echo "yes" >&6; }
12587 cat >>confdefs.h
<<\_ACEOF
12588 #define HAVE_5ARGS_DEVICE_CREATE 1
12593 $as_echo "$as_me: failed program was:" >&5
12594 sed 's/^/| /' conftest.
$ac_ext >&5
12596 { $as_echo "$as_me:$LINENO: result: no" >&5
12597 $as_echo "no" >&6; }
12606 EXTRA_KCFLAGS
="$tmp_flags"
12609 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
12610 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
12611 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
12612 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12614 if test $rc -ne 0; then
12616 for file in drivers
/base
/class.c
; do
12617 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
12618 "$LINUX_OBJ/$file" 2>/dev
/null
12620 if test $rc -eq 0; then
12625 if test $export -eq 0; then
12626 { $as_echo "$as_me:$LINENO: result: no" >&5
12627 $as_echo "no" >&6; }
12630 { $as_echo "$as_me:$LINENO: result: yes" >&5
12631 $as_echo "yes" >&6; }
12633 cat >>confdefs.h
<<\_ACEOF
12634 #define HAVE_CLASS_DEVICE_CREATE 1
12639 { $as_echo "$as_me:$LINENO: result: yes" >&5
12640 $as_echo "yes" >&6; }
12642 cat >>confdefs.h
<<\_ACEOF
12643 #define HAVE_CLASS_DEVICE_CREATE 1
12650 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
12651 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
12652 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
12653 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12655 if test $rc -ne 0; then
12657 for file in kernel
/time.c
; do
12658 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
12659 "$LINUX_OBJ/$file" 2>/dev
/null
12661 if test $rc -eq 0; then
12666 if test $export -eq 0; then
12667 { $as_echo "$as_me:$LINENO: result: no" >&5
12668 $as_echo "no" >&6; }
12671 { $as_echo "$as_me:$LINENO: result: yes" >&5
12672 $as_echo "yes" >&6; }
12674 cat >>confdefs.h
<<\_ACEOF
12675 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
12680 { $as_echo "$as_me:$LINENO: result: yes" >&5
12681 $as_echo "yes" >&6; }
12683 cat >>confdefs.h
<<\_ACEOF
12684 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
12691 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
12692 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
12695 cat >conftest.c
<<_ACEOF
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12703 #include <linux/time.h>
12704 void set_normalized_timespec(struct timespec *ts,
12705 time_t sec, long nsec) { }
12718 rm -Rf build
&& mkdir
-p build
12719 echo "obj-m := conftest.o" >build
/Makefile
12720 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12722 (eval $ac_try) 2>&5
12724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; }; then
12732 { $as_echo "$as_me:$LINENO: result: no" >&5
12733 $as_echo "no" >&6; }
12736 $as_echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.
$ac_ext >&5
12739 { $as_echo "$as_me:$LINENO: result: yes" >&5
12740 $as_echo "yes" >&6; }
12742 cat >>confdefs.h
<<\_ACEOF
12743 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
12756 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
12757 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
12760 cat >conftest.c
<<_ACEOF
12763 cat confdefs.h
>>conftest.
$ac_ext
12764 cat >>conftest.
$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12768 #include <linux/time.h>
12774 struct timespec a, b, c = { 0 };
12775 c = timespec_sub(a, b);
12784 rm -Rf build
&& mkdir
-p build
12785 echo "obj-m := conftest.o" >build
/Makefile
12786 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793 (eval $ac_try) 2>&5
12795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; }; then
12798 { $as_echo "$as_me:$LINENO: result: yes" >&5
12799 $as_echo "yes" >&6; }
12801 cat >>confdefs.h
<<\_ACEOF
12802 #define HAVE_TIMESPEC_SUB 1
12807 $as_echo "$as_me: failed program was:" >&5
12808 sed 's/^/| /' conftest.
$ac_ext >&5
12810 { $as_echo "$as_me:$LINENO: result: no" >&5
12811 $as_echo "no" >&6; }
12822 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
12823 $as_echo_n "checking whether init_utsname() is available... " >&6; }
12826 cat >conftest.c
<<_ACEOF
12829 cat confdefs.h
>>conftest.
$ac_ext
12830 cat >>conftest.
$ac_ext <<_ACEOF
12831 /* end confdefs.h. */
12834 #include <linux/utsname.h>
12840 struct new_utsname *a = init_utsname();
12849 rm -Rf build
&& mkdir
-p build
12850 echo "obj-m := conftest.o" >build
/Makefile
12851 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 (eval $ac_try) 2>&5
12860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; }; then
12863 { $as_echo "$as_me:$LINENO: result: yes" >&5
12864 $as_echo "yes" >&6; }
12866 cat >>confdefs.h
<<\_ACEOF
12867 #define HAVE_INIT_UTSNAME 1
12872 $as_echo "$as_me: failed program was:" >&5
12873 sed 's/^/| /' conftest.
$ac_ext >&5
12875 { $as_echo "$as_me:$LINENO: result: no" >&5
12876 $as_echo "no" >&6; }
12887 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
12888 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
12891 cat >conftest.c
<<_ACEOF
12894 cat confdefs.h
>>conftest.
$ac_ext
12895 cat >>conftest.
$ac_ext <<_ACEOF
12896 /* end confdefs.h. */
12899 #include <linux/fdtable.h>
12914 rm -Rf build
&& mkdir
-p build
12915 echo "obj-m := conftest.o" >build
/Makefile
12916 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5
12920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12923 (eval $ac_try) 2>&5
12925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); }; }; then
12929 cat >>confdefs.h
<<\_ACEOF
12930 #define HAVE_FDTABLE_HEADER 1
12933 { $as_echo "$as_me:$LINENO: result: yes" >&5
12934 $as_echo "yes" >&6; }
12938 $as_echo "$as_me: failed program was:" >&5
12939 sed 's/^/| /' conftest.
$ac_ext >&5
12941 { $as_echo "$as_me:$LINENO: result: no" >&5
12942 $as_echo "no" >&6; }
12955 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
12956 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
12959 cat >conftest.c
<<_ACEOF
12962 cat confdefs.h
>>conftest.
$ac_ext
12963 cat >>conftest.
$ac_ext <<_ACEOF
12964 /* end confdefs.h. */
12967 #include <linux/sched.h>
12968 #include <linux/file.h>
12969 #ifdef HAVE_FDTABLE_HEADER
12970 #include <linux/fdtable.h>
12977 struct files_struct *files = current->files;
12978 struct fdtable *fdt = files_fdtable(files);
12987 rm -Rf build
&& mkdir
-p build
12988 echo "obj-m := conftest.o" >build
/Makefile
12989 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13001 { $as_echo "$as_me:$LINENO: result: yes" >&5
13002 $as_echo "yes" >&6; }
13004 cat >>confdefs.h
<<\_ACEOF
13005 #define HAVE_FILES_FDTABLE 1
13010 $as_echo "$as_me: failed program was:" >&5
13011 sed 's/^/| /' conftest.
$ac_ext >&5
13013 { $as_echo "$as_me:$LINENO: result: no" >&5
13014 $as_echo "no" >&6; }
13025 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
13026 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
13029 cat >conftest.c
<<_ACEOF
13032 cat confdefs.h
>>conftest.
$ac_ext
13033 cat >>conftest.
$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13037 #include <linux/uaccess.h>
13052 rm -Rf build
&& mkdir
-p build
13053 echo "obj-m := conftest.o" >build
/Makefile
13054 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13056 (eval $ac_try) 2>&5
13058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061 (eval $ac_try) 2>&5
13063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); }; }; then
13067 cat >>confdefs.h
<<\_ACEOF
13068 #define HAVE_UACCESS_HEADER 1
13071 { $as_echo "$as_me:$LINENO: result: yes" >&5
13072 $as_echo "yes" >&6; }
13076 $as_echo "$as_me: failed program was:" >&5
13077 sed 's/^/| /' conftest.
$ac_ext >&5
13079 { $as_echo "$as_me:$LINENO: result: no" >&5
13080 $as_echo "no" >&6; }
13093 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
13094 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
13097 cat >conftest.c
<<_ACEOF
13100 cat confdefs.h
>>conftest.
$ac_ext
13101 cat >>conftest.
$ac_ext <<_ACEOF
13102 /* end confdefs.h. */
13105 #include <linux/slab.h>
13111 void *a = kmalloc_node(1, GFP_KERNEL, 0);
13120 rm -Rf build
&& mkdir
-p build
13121 echo "obj-m := conftest.o" >build
/Makefile
13122 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13124 (eval $ac_try) 2>&5
13126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13129 (eval $ac_try) 2>&5
13131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); }; }; then
13134 { $as_echo "$as_me:$LINENO: result: yes" >&5
13135 $as_echo "yes" >&6; }
13137 cat >>confdefs.h
<<\_ACEOF
13138 #define HAVE_KMALLOC_NODE 1
13143 $as_echo "$as_me: failed program was:" >&5
13144 sed 's/^/| /' conftest.
$ac_ext >&5
13146 { $as_echo "$as_me:$LINENO: result: no" >&5
13147 $as_echo "no" >&6; }
13158 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
13159 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
13160 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
13161 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13163 if test $rc -ne 0; then
13166 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
13167 "$LINUX_OBJ/$file" 2>/dev
/null
13169 if test $rc -eq 0; then
13174 if test $export -eq 0; then
13175 { $as_echo "$as_me:$LINENO: result: no" >&5
13176 $as_echo "no" >&6; }
13179 { $as_echo "$as_me:$LINENO: result: yes" >&5
13180 $as_echo "yes" >&6; }
13182 cat >>confdefs.h
<<\_ACEOF
13183 #define HAVE_MONOTONIC_CLOCK 1
13188 { $as_echo "$as_me:$LINENO: result: yes" >&5
13189 $as_echo "yes" >&6; }
13191 cat >>confdefs.h
<<\_ACEOF
13192 #define HAVE_MONOTONIC_CLOCK 1
13199 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
13200 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
13203 cat >conftest.c
<<_ACEOF
13206 cat confdefs.h
>>conftest.
$ac_ext
13207 cat >>conftest.
$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13211 #include <linux/fs.h>
13212 #include <linux/mutex.h>
13219 mutex_init(&i.i_mutex);
13228 rm -Rf build
&& mkdir
-p build
13229 echo "obj-m := conftest.o" >build
/Makefile
13230 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232 (eval $ac_try) 2>&5
13234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13237 (eval $ac_try) 2>&5
13239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); }; }; then
13242 { $as_echo "$as_me:$LINENO: result: yes" >&5
13243 $as_echo "yes" >&6; }
13245 cat >>confdefs.h
<<\_ACEOF
13246 #define HAVE_INODE_I_MUTEX 1
13251 $as_echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.
$ac_ext >&5
13254 { $as_echo "$as_me:$LINENO: result: no" >&5
13255 $as_echo "no" >&6; }
13266 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
13267 $as_echo_n "checking whether struct mutex has owner... " >&6; }
13270 cat >conftest.c
<<_ACEOF
13273 cat confdefs.h
>>conftest.
$ac_ext
13274 cat >>conftest.
$ac_ext <<_ACEOF
13275 /* end confdefs.h. */
13278 #include <linux/mutex.h>
13294 rm -Rf build
&& mkdir
-p build
13295 echo "obj-m := conftest.o" >build
/Makefile
13296 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13308 { $as_echo "$as_me:$LINENO: result: yes" >&5
13309 $as_echo "yes" >&6; }
13311 cat >>confdefs.h
<<\_ACEOF
13312 #define HAVE_MUTEX_OWNER 1
13317 $as_echo "$as_me: failed program was:" >&5
13318 sed 's/^/| /' conftest.
$ac_ext >&5
13320 { $as_echo "$as_me:$LINENO: result: no" >&5
13321 $as_echo "no" >&6; }
13332 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
13333 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
13336 cat >conftest.c
<<_ACEOF
13339 cat confdefs.h
>>conftest.
$ac_ext
13340 cat >>conftest.
$ac_ext <<_ACEOF
13341 /* end confdefs.h. */
13344 #include <linux/mutex.h>
13350 struct mutex mutex;
13351 mutex_init(&mutex);
13352 mutex_lock_nested(&mutex, 0);
13361 rm -Rf build
&& mkdir
-p build
13362 echo "obj-m := conftest.o" >build
/Makefile
13363 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13365 (eval $ac_try) 2>&5
13367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; }; then
13375 { $as_echo "$as_me:$LINENO: result: yes" >&5
13376 $as_echo "yes" >&6; }
13378 cat >>confdefs.h
<<\_ACEOF
13379 #define HAVE_MUTEX_LOCK_NESTED 1
13384 $as_echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.
$ac_ext >&5
13387 { $as_echo "$as_me:$LINENO: result: no" >&5
13388 $as_echo "no" >&6; }
13399 { $as_echo "$as_me:$LINENO: checking whether symbol div64_64 is exported" >&5
13400 $as_echo_n "checking whether symbol div64_64 is exported... " >&6; }
13401 grep -q -E '[[:space:]]div64_64[[:space:]]' \
13402 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13404 if test $rc -ne 0; then
13407 grep -q -E "EXPORT_SYMBOL.*(div64_64)" \
13408 "$LINUX_OBJ/$file" 2>/dev
/null
13410 if test $rc -eq 0; then
13415 if test $export -eq 0; then
13416 { $as_echo "$as_me:$LINENO: result: no" >&5
13417 $as_echo "no" >&6; }
13420 { $as_echo "$as_me:$LINENO: result: yes" >&5
13421 $as_echo "yes" >&6; }
13423 cat >>confdefs.h
<<\_ACEOF
13424 #define HAVE_DIV64_64 1
13429 { $as_echo "$as_me:$LINENO: result: yes" >&5
13430 $as_echo "yes" >&6; }
13432 cat >>confdefs.h
<<\_ACEOF
13433 #define HAVE_DIV64_64 1
13440 { $as_echo "$as_me:$LINENO: checking whether symbol div64_u64 is exported" >&5
13441 $as_echo_n "checking whether symbol div64_u64 is exported... " >&6; }
13442 grep -q -E '[[:space:]]div64_u64[[:space:]]' \
13443 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13445 if test $rc -ne 0; then
13448 grep -q -E "EXPORT_SYMBOL.*(div64_u64)" \
13449 "$LINUX_OBJ/$file" 2>/dev
/null
13451 if test $rc -eq 0; then
13456 if test $export -eq 0; then
13457 { $as_echo "$as_me:$LINENO: result: no" >&5
13458 $as_echo "no" >&6; }
13461 { $as_echo "$as_me:$LINENO: result: yes" >&5
13462 $as_echo "yes" >&6; }
13464 cat >>confdefs.h
<<\_ACEOF
13465 #define HAVE_DIV64_U64 1
13470 { $as_echo "$as_me:$LINENO: result: yes" >&5
13471 $as_echo "yes" >&6; }
13473 cat >>confdefs.h
<<\_ACEOF
13474 #define HAVE_DIV64_U64 1
13481 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
13482 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
13485 cat >conftest.c
<<_ACEOF
13488 cat confdefs.h
>>conftest.
$ac_ext
13489 cat >>conftest.
$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13493 #include <linux/smp.h>
13499 on_each_cpu(NULL, NULL, 0);
13508 rm -Rf build
&& mkdir
-p build
13509 echo "obj-m := conftest.o" >build
/Makefile
13510 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13522 { $as_echo "$as_me:$LINENO: result: yes" >&5
13523 $as_echo "yes" >&6; }
13525 cat >>confdefs.h
<<\_ACEOF
13526 #define HAVE_3ARGS_ON_EACH_CPU 1
13531 $as_echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.
$ac_ext >&5
13534 { $as_echo "$as_me:$LINENO: result: no" >&5
13535 $as_echo "no" >&6; }
13546 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
13547 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
13548 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
13549 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13551 if test $rc -ne 0; then
13554 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
13555 "$LINUX_OBJ/$file" 2>/dev
/null
13557 if test $rc -eq 0; then
13562 if test $export -eq 0; then
13563 { $as_echo "$as_me:$LINENO: result: no" >&5
13564 $as_echo "no" >&6; }
13567 { $as_echo "$as_me:$LINENO: result: yes" >&5
13568 $as_echo "yes" >&6; }
13570 cat >>confdefs.h
<<\_ACEOF
13571 #define HAVE_KALLSYMS_LOOKUP_NAME 1
13576 { $as_echo "$as_me:$LINENO: result: yes" >&5
13577 $as_echo "yes" >&6; }
13579 cat >>confdefs.h
<<\_ACEOF
13580 #define HAVE_KALLSYMS_LOOKUP_NAME 1
13587 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
13588 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
13589 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
13590 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13592 if test $rc -ne 0; then
13595 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
13596 "$LINUX_OBJ/$file" 2>/dev
/null
13598 if test $rc -eq 0; then
13603 if test $export -eq 0; then
13604 { $as_echo "$as_me:$LINENO: result: no" >&5
13605 $as_echo "no" >&6; }
13608 { $as_echo "$as_me:$LINENO: result: yes" >&5
13609 $as_echo "yes" >&6; }
13611 cat >>confdefs.h
<<\_ACEOF
13612 #define HAVE_GET_VMALLOC_INFO 1
13617 { $as_echo "$as_me:$LINENO: result: yes" >&5
13618 $as_echo "yes" >&6; }
13620 cat >>confdefs.h
<<\_ACEOF
13621 #define HAVE_GET_VMALLOC_INFO 1
13628 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
13629 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
13630 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
13632 if test $rc -eq 0; then
13633 { $as_echo "$as_me:$LINENO: result: yes" >&5
13634 $as_echo "yes" >&6; }
13636 cat >>confdefs.h
<<\_ACEOF
13637 #define HAVE_PGDAT_HELPERS 1
13641 { $as_echo "$as_me:$LINENO: result: no" >&5
13642 $as_echo "no" >&6; }
13646 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
13647 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
13648 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
13649 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13651 if test $rc -ne 0; then
13654 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
13655 "$LINUX_OBJ/$file" 2>/dev
/null
13657 if test $rc -eq 0; then
13662 if test $export -eq 0; then
13663 { $as_echo "$as_me:$LINENO: result: no" >&5
13664 $as_echo "no" >&6; }
13667 { $as_echo "$as_me:$LINENO: result: yes" >&5
13668 $as_echo "yes" >&6; }
13670 cat >>confdefs.h
<<\_ACEOF
13671 #define HAVE_FIRST_ONLINE_PGDAT 1
13676 { $as_echo "$as_me:$LINENO: result: yes" >&5
13677 $as_echo "yes" >&6; }
13679 cat >>confdefs.h
<<\_ACEOF
13680 #define HAVE_FIRST_ONLINE_PGDAT 1
13687 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
13688 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
13689 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
13690 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13692 if test $rc -ne 0; then
13695 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
13696 "$LINUX_OBJ/$file" 2>/dev
/null
13698 if test $rc -eq 0; then
13703 if test $export -eq 0; then
13704 { $as_echo "$as_me:$LINENO: result: no" >&5
13705 $as_echo "no" >&6; }
13708 { $as_echo "$as_me:$LINENO: result: yes" >&5
13709 $as_echo "yes" >&6; }
13711 cat >>confdefs.h
<<\_ACEOF
13712 #define HAVE_NEXT_ONLINE_PGDAT 1
13717 { $as_echo "$as_me:$LINENO: result: yes" >&5
13718 $as_echo "yes" >&6; }
13720 cat >>confdefs.h
<<\_ACEOF
13721 #define HAVE_NEXT_ONLINE_PGDAT 1
13728 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
13729 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
13730 grep -q -E '[[:space:]]next_zone[[:space:]]' \
13731 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13733 if test $rc -ne 0; then
13736 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
13737 "$LINUX_OBJ/$file" 2>/dev
/null
13739 if test $rc -eq 0; then
13744 if test $export -eq 0; then
13745 { $as_echo "$as_me:$LINENO: result: no" >&5
13746 $as_echo "no" >&6; }
13749 { $as_echo "$as_me:$LINENO: result: yes" >&5
13750 $as_echo "yes" >&6; }
13752 cat >>confdefs.h
<<\_ACEOF
13753 #define HAVE_NEXT_ZONE 1
13758 { $as_echo "$as_me:$LINENO: result: yes" >&5
13759 $as_echo "yes" >&6; }
13761 cat >>confdefs.h
<<\_ACEOF
13762 #define HAVE_NEXT_ZONE 1
13769 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
13770 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
13771 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
13772 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13774 if test $rc -ne 0; then
13777 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
13778 "$LINUX_OBJ/$file" 2>/dev
/null
13780 if test $rc -eq 0; then
13785 if test $export -eq 0; then
13786 { $as_echo "$as_me:$LINENO: result: no" >&5
13787 $as_echo "no" >&6; }
13790 { $as_echo "$as_me:$LINENO: result: yes" >&5
13791 $as_echo "yes" >&6; }
13793 cat >>confdefs.h
<<\_ACEOF
13794 #define HAVE_PGDAT_LIST 1
13799 { $as_echo "$as_me:$LINENO: result: yes" >&5
13800 $as_echo "yes" >&6; }
13802 cat >>confdefs.h
<<\_ACEOF
13803 #define HAVE_PGDAT_LIST 1
13810 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
13811 $as_echo_n "checking whether global_page_state() is available... " >&6; }
13814 cat >conftest.c
<<_ACEOF
13817 cat confdefs.h
>>conftest.
$ac_ext
13818 cat >>conftest.
$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13822 #include <linux/mm.h>
13828 unsigned long state;
13829 state = global_page_state(0);
13838 rm -Rf build
&& mkdir
-p build
13839 echo "obj-m := conftest.o" >build
/Makefile
13840 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842 (eval $ac_try) 2>&5
13844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13852 { $as_echo "$as_me:$LINENO: result: yes" >&5
13853 $as_echo "yes" >&6; }
13855 cat >>confdefs.h
<<\_ACEOF
13856 #define HAVE_GLOBAL_PAGE_STATE 1
13861 $as_echo "$as_me: failed program was:" >&5
13862 sed 's/^/| /' conftest.
$ac_ext >&5
13864 { $as_echo "$as_me:$LINENO: result: no" >&5
13865 $as_echo "no" >&6; }
13876 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
13877 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
13880 cat >conftest.c
<<_ACEOF
13883 cat confdefs.h
>>conftest.
$ac_ext
13884 cat >>conftest.
$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13888 #include <linux/mm.h>
13894 enum zone_stat_item zsi;
13895 zsi = NR_FREE_PAGES;
13904 rm -Rf build
&& mkdir
-p build
13905 echo "obj-m := conftest.o" >build
/Makefile
13906 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13913 (eval $ac_try) 2>&5
13915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); }; }; then
13918 { $as_echo "$as_me:$LINENO: result: yes" >&5
13919 $as_echo "yes" >&6; }
13921 cat >>confdefs.h
<<\_ACEOF
13922 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
13927 $as_echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.
$ac_ext >&5
13930 { $as_echo "$as_me:$LINENO: result: no" >&5
13931 $as_echo "no" >&6; }
13942 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
13943 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
13946 cat >conftest.c
<<_ACEOF
13949 cat confdefs.h
>>conftest.
$ac_ext
13950 cat >>conftest.
$ac_ext <<_ACEOF
13951 /* end confdefs.h. */
13954 #include <linux/mm.h>
13960 enum zone_stat_item zsi;
13970 rm -Rf build
&& mkdir
-p build
13971 echo "obj-m := conftest.o" >build
/Makefile
13972 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979 (eval $ac_try) 2>&5
13981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); }; }; then
13984 { $as_echo "$as_me:$LINENO: result: yes" >&5
13985 $as_echo "yes" >&6; }
13987 cat >>confdefs.h
<<\_ACEOF
13988 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
13993 $as_echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.
$ac_ext >&5
13996 { $as_echo "$as_me:$LINENO: result: no" >&5
13997 $as_echo "no" >&6; }
14007 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
14008 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
14011 cat >conftest.c
<<_ACEOF
14014 cat confdefs.h
>>conftest.
$ac_ext
14015 cat >>conftest.
$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14019 #include <linux/mm.h>
14025 enum zone_stat_item zsi;
14026 zsi = NR_INACTIVE_ANON;
14035 rm -Rf build
&& mkdir
-p build
14036 echo "obj-m := conftest.o" >build
/Makefile
14037 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14039 (eval $ac_try) 2>&5
14041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14044 (eval $ac_try) 2>&5
14046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14049 { $as_echo "$as_me:$LINENO: result: yes" >&5
14050 $as_echo "yes" >&6; }
14052 cat >>confdefs.h
<<\_ACEOF
14053 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
14058 $as_echo "$as_me: failed program was:" >&5
14059 sed 's/^/| /' conftest.
$ac_ext >&5
14061 { $as_echo "$as_me:$LINENO: result: no" >&5
14062 $as_echo "no" >&6; }
14072 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
14073 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
14076 cat >conftest.c
<<_ACEOF
14079 cat confdefs.h
>>conftest.
$ac_ext
14080 cat >>conftest.
$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14084 #include <linux/mm.h>
14090 enum zone_stat_item zsi;
14091 zsi = NR_INACTIVE_FILE;
14100 rm -Rf build
&& mkdir
-p build
14101 echo "obj-m := conftest.o" >build
/Makefile
14102 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; }; then
14114 { $as_echo "$as_me:$LINENO: result: yes" >&5
14115 $as_echo "yes" >&6; }
14117 cat >>confdefs.h
<<\_ACEOF
14118 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
14123 $as_echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.
$ac_ext >&5
14126 { $as_echo "$as_me:$LINENO: result: no" >&5
14127 $as_echo "no" >&6; }
14138 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
14139 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
14142 cat >conftest.c
<<_ACEOF
14145 cat confdefs.h
>>conftest.
$ac_ext
14146 cat >>conftest.
$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14150 #include <linux/mm.h>
14156 enum zone_stat_item zsi;
14166 rm -Rf build
&& mkdir
-p build
14167 echo "obj-m := conftest.o" >build
/Makefile
14168 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; }; then
14180 { $as_echo "$as_me:$LINENO: result: yes" >&5
14181 $as_echo "yes" >&6; }
14183 cat >>confdefs.h
<<\_ACEOF
14184 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
14189 $as_echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.
$ac_ext >&5
14192 { $as_echo "$as_me:$LINENO: result: no" >&5
14193 $as_echo "no" >&6; }
14203 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
14204 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
14207 cat >conftest.c
<<_ACEOF
14210 cat confdefs.h
>>conftest.
$ac_ext
14211 cat >>conftest.
$ac_ext <<_ACEOF
14212 /* end confdefs.h. */
14215 #include <linux/mm.h>
14221 enum zone_stat_item zsi;
14222 zsi = NR_ACTIVE_ANON;
14231 rm -Rf build
&& mkdir
-p build
14232 echo "obj-m := conftest.o" >build
/Makefile
14233 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14235 (eval $ac_try) 2>&5
14237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14245 { $as_echo "$as_me:$LINENO: result: yes" >&5
14246 $as_echo "yes" >&6; }
14248 cat >>confdefs.h
<<\_ACEOF
14249 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
14254 $as_echo "$as_me: failed program was:" >&5
14255 sed 's/^/| /' conftest.
$ac_ext >&5
14257 { $as_echo "$as_me:$LINENO: result: no" >&5
14258 $as_echo "no" >&6; }
14268 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
14269 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
14272 cat >conftest.c
<<_ACEOF
14275 cat confdefs.h
>>conftest.
$ac_ext
14276 cat >>conftest.
$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14280 #include <linux/mm.h>
14286 enum zone_stat_item zsi;
14287 zsi = NR_ACTIVE_FILE;
14296 rm -Rf build
&& mkdir
-p build
14297 echo "obj-m := conftest.o" >build
/Makefile
14298 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14305 (eval $ac_try) 2>&5
14307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); }; }; then
14310 { $as_echo "$as_me:$LINENO: result: yes" >&5
14311 $as_echo "yes" >&6; }
14313 cat >>confdefs.h
<<\_ACEOF
14314 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
14319 $as_echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.
$ac_ext >&5
14322 { $as_echo "$as_me:$LINENO: result: no" >&5
14323 $as_echo "no" >&6; }
14334 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
14335 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
14338 cat >conftest.c
<<_ACEOF
14341 cat confdefs.h
>>conftest.
$ac_ext
14342 cat >>conftest.
$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14351 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
14352 #error "global_page_state needs NR_FREE_PAGES"
14355 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
14356 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
14357 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
14358 #error "global_page_state needs NR_ACTIVE*"
14361 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
14362 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
14363 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
14364 #error "global_page_state needs NR_INACTIVE*"
14374 rm -Rf build
&& mkdir
-p build
14375 echo "obj-m := conftest.o" >build
/Makefile
14376 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14383 (eval $ac_try) 2>&5
14385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); }; }; then
14388 { $as_echo "$as_me:$LINENO: result: no" >&5
14389 $as_echo "no" >&6; }
14392 $as_echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.
$ac_ext >&5
14395 { $as_echo "$as_me:$LINENO: result: yes" >&5
14396 $as_echo "yes" >&6; }
14398 cat >>confdefs.h
<<\_ACEOF
14399 #define NEED_GET_ZONE_COUNTS 1
14403 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
14404 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
14405 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
14406 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14408 if test $rc -ne 0; then
14411 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
14412 "$LINUX_OBJ/$file" 2>/dev
/null
14414 if test $rc -eq 0; then
14419 if test $export -eq 0; then
14420 { $as_echo "$as_me:$LINENO: result: no" >&5
14421 $as_echo "no" >&6; }
14424 { $as_echo "$as_me:$LINENO: result: yes" >&5
14425 $as_echo "yes" >&6; }
14427 cat >>confdefs.h
<<\_ACEOF
14428 #define HAVE_GET_ZONE_COUNTS 1
14433 { $as_echo "$as_me:$LINENO: result: yes" >&5
14434 $as_echo "yes" >&6; }
14436 cat >>confdefs.h
<<\_ACEOF
14437 #define HAVE_GET_ZONE_COUNTS 1
14452 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
14453 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
14454 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
14455 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14457 if test $rc -ne 0; then
14460 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
14461 "$LINUX_OBJ/$file" 2>/dev
/null
14463 if test $rc -eq 0; then
14468 if test $export -eq 0; then
14469 { $as_echo "$as_me:$LINENO: result: no" >&5
14470 $as_echo "no" >&6; }
14473 { $as_echo "$as_me:$LINENO: result: yes" >&5
14474 $as_echo "yes" >&6; }
14476 cat >>confdefs.h
<<\_ACEOF
14477 #define HAVE_SET_FS_PWD 1
14482 { $as_echo "$as_me:$LINENO: result: yes" >&5
14483 $as_echo "yes" >&6; }
14485 cat >>confdefs.h
<<\_ACEOF
14486 #define HAVE_SET_FS_PWD 1
14492 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
14493 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
14496 cat >conftest.c
<<_ACEOF
14499 cat confdefs.h
>>conftest.
$ac_ext
14500 cat >>conftest.
$ac_ext <<_ACEOF
14501 /* end confdefs.h. */
14504 #include <linux/sched.h>
14505 #include <linux/fs_struct.h>
14511 set_fs_pwd(NULL, NULL);
14520 rm -Rf build
&& mkdir
-p build
14521 echo "obj-m := conftest.o" >build
/Makefile
14522 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14529 (eval $ac_try) 2>&5
14531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; }; then
14534 { $as_echo "$as_me:$LINENO: result: yes" >&5
14535 $as_echo "yes" >&6; }
14537 cat >>confdefs.h
<<\_ACEOF
14538 #define HAVE_2ARGS_SET_FS_PWD 1
14543 $as_echo "$as_me: failed program was:" >&5
14544 sed 's/^/| /' conftest.
$ac_ext >&5
14546 { $as_echo "$as_me:$LINENO: result: no" >&5
14547 $as_echo "no" >&6; }
14557 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
14558 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
14561 cat >conftest.c
<<_ACEOF
14564 cat confdefs.h
>>conftest.
$ac_ext
14565 cat >>conftest.
$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14569 #include <linux/fs.h>
14575 vfs_unlink(NULL, NULL);
14584 rm -Rf build
&& mkdir
-p build
14585 echo "obj-m := conftest.o" >build
/Makefile
14586 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; }; then
14598 { $as_echo "$as_me:$LINENO: result: yes" >&5
14599 $as_echo "yes" >&6; }
14601 cat >>confdefs.h
<<\_ACEOF
14602 #define HAVE_2ARGS_VFS_UNLINK 1
14607 $as_echo "$as_me: failed program was:" >&5
14608 sed 's/^/| /' conftest.
$ac_ext >&5
14610 { $as_echo "$as_me:$LINENO: result: no" >&5
14611 $as_echo "no" >&6; }
14621 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
14622 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
14625 cat >conftest.c
<<_ACEOF
14628 cat confdefs.h
>>conftest.
$ac_ext
14629 cat >>conftest.
$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14633 #include <linux/fs.h>
14639 vfs_rename(NULL, NULL, NULL, NULL);
14648 rm -Rf build
&& mkdir
-p build
14649 echo "obj-m := conftest.o" >build
/Makefile
14650 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14652 (eval $ac_try) 2>&5
14654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14657 (eval $ac_try) 2>&5
14659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; }; then
14662 { $as_echo "$as_me:$LINENO: result: yes" >&5
14663 $as_echo "yes" >&6; }
14665 cat >>confdefs.h
<<\_ACEOF
14666 #define HAVE_4ARGS_VFS_RENAME 1
14671 $as_echo "$as_me: failed program was:" >&5
14672 sed 's/^/| /' conftest.
$ac_ext >&5
14674 { $as_echo "$as_me:$LINENO: result: no" >&5
14675 $as_echo "no" >&6; }
14686 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
14687 $as_echo_n "checking whether struct cred exists... " >&6; }
14690 cat >conftest.c
<<_ACEOF
14693 cat confdefs.h
>>conftest.
$ac_ext
14694 cat >>conftest.
$ac_ext <<_ACEOF
14695 /* end confdefs.h. */
14698 #include <linux/cred.h>
14714 rm -Rf build
&& mkdir
-p build
14715 echo "obj-m := conftest.o" >build
/Makefile
14716 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; }; then
14728 { $as_echo "$as_me:$LINENO: result: yes" >&5
14729 $as_echo "yes" >&6; }
14731 cat >>confdefs.h
<<\_ACEOF
14732 #define HAVE_CRED_STRUCT 1
14737 $as_echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.
$ac_ext >&5
14740 { $as_echo "$as_me:$LINENO: result: no" >&5
14741 $as_echo "no" >&6; }
14752 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
14753 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
14754 grep -q -E '[[:space:]]groups_search[[:space:]]' \
14755 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14757 if test $rc -ne 0; then
14760 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
14761 "$LINUX_OBJ/$file" 2>/dev
/null
14763 if test $rc -eq 0; then
14768 if test $export -eq 0; then
14769 { $as_echo "$as_me:$LINENO: result: no" >&5
14770 $as_echo "no" >&6; }
14773 { $as_echo "$as_me:$LINENO: result: yes" >&5
14774 $as_echo "yes" >&6; }
14776 cat >>confdefs.h
<<\_ACEOF
14777 #define HAVE_GROUPS_SEARCH 1
14782 { $as_echo "$as_me:$LINENO: result: yes" >&5
14783 $as_echo "yes" >&6; }
14785 cat >>confdefs.h
<<\_ACEOF
14786 #define HAVE_GROUPS_SEARCH 1
14793 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
14794 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
14795 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
14796 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14798 if test $rc -ne 0; then
14801 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
14802 "$LINUX_OBJ/$file" 2>/dev
/null
14804 if test $rc -eq 0; then
14809 if test $export -eq 0; then
14810 { $as_echo "$as_me:$LINENO: result: no" >&5
14811 $as_echo "no" >&6; }
14814 { $as_echo "$as_me:$LINENO: result: yes" >&5
14815 $as_echo "yes" >&6; }
14817 cat >>confdefs.h
<<\_ACEOF
14818 #define HAVE_PUT_TASK_STRUCT 1
14823 { $as_echo "$as_me:$LINENO: result: yes" >&5
14824 $as_echo "yes" >&6; }
14826 cat >>confdefs.h
<<\_ACEOF
14827 #define HAVE_PUT_TASK_STRUCT 1
14834 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
14835 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
14838 cat >conftest.c
<<_ACEOF
14841 cat confdefs.h
>>conftest.
$ac_ext
14842 cat >>conftest.
$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14846 #include <linux/sysctl.h>
14852 proc_dostring(NULL, 0, NULL, NULL, NULL);
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_5ARGS_PROC_HANDLER 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 kvasprintf is exported" >&5
14900 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
14901 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
14902 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14904 if test $rc -ne 0; then
14907 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
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_KVASPRINTF 1
14929 { $as_echo "$as_me:$LINENO: result: yes" >&5
14930 $as_echo "yes" >&6; }
14932 cat >>confdefs.h
<<\_ACEOF
14933 #define HAVE_KVASPRINTF 1
14944 # Check whether --with-linux was given.
14945 if test "${with_linux+set}" = set; then
14946 withval
=$with_linux; kernelsrc
="$withval"
14951 # Check whether --with-linux-obj was given.
14952 if test "${with_linux_obj+set}" = set; then
14953 withval
=$with_linux_obj; kernelbuild
="$withval"
14957 { $as_echo "$as_me:$LINENO: checking kernel source directory" >&5
14958 $as_echo_n "checking kernel source directory... " >&6; }
14959 if test -z "$kernelsrc"; then
14960 headersdir
="/lib/modules/$(uname -r)/build"
14961 if test -e "$headersdir"; then
14962 sourcelink
=$
(readlink
-f "$headersdir")
14964 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
14966 2>/dev
/null |
grep -v obj |
tail -1)
14969 if test -e ${sourcelink}; then
14970 kernelsrc
=`readlink -f ${sourcelink}`
14972 { $as_echo "$as_me:$LINENO: result: Not found" >&5
14973 $as_echo "Not found" >&6; }
14974 { { $as_echo "$as_me:$LINENO: error:
14975 *** Please specify the location of the kernel source
14976 *** with the '--with-linux=PATH' option" >&5
14977 $as_echo "$as_me: error:
14978 *** Please specify the location of the kernel source
14979 *** with the '--with-linux=PATH' option" >&2;}
14980 { (exit 1); exit 1; }; }
14983 if test "$kernelsrc" = "NONE"; then
14988 { $as_echo "$as_me:$LINENO: result: $kernelsrc" >&5
14989 $as_echo "$kernelsrc" >&6; }
14990 { $as_echo "$as_me:$LINENO: checking kernel build directory" >&5
14991 $as_echo_n "checking kernel build directory... " >&6; }
14992 if test -z "$kernelbuild"; then
14993 if test -d ${kernelsrc}-obj/`arch`/`arch`; then
14994 kernelbuild
=${kernelsrc}-obj/`arch`/`arch`
14995 elif test -d ${kernelsrc}-obj/`arch`/default
; then
14996 kernelbuild
=${kernelsrc}-obj/`arch`/default
14997 elif test -d `dirname ${kernelsrc}`/build-
`arch`; then
14998 kernelbuild
=`dirname ${kernelsrc}`/build-
`arch`
15000 kernelbuild
=${kernelsrc}
15003 { $as_echo "$as_me:$LINENO: result: $kernelbuild" >&5
15004 $as_echo "$kernelbuild" >&6; }
15006 { $as_echo "$as_me:$LINENO: checking kernel source version" >&5
15007 $as_echo_n "checking kernel source version... " >&6; }
15008 utsrelease1
=$kernelbuild/include
/linux
/version.h
15009 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
15010 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
15011 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
15012 utsrelease
=linux
/version.h
15013 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
15014 utsrelease
=linux
/utsrelease.h
15015 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
15016 utsrelease
=generated
/utsrelease.h
15019 if test "$utsrelease"; then
15020 kernsrcver
=`(echo "#include <$utsrelease>";
15021 echo "kernsrcver=UTS_RELEASE") |
15022 cpp -I $kernelbuild/include |
15023 grep "^kernsrcver=" | cut -d \" -f 2`
15025 if test -z "$kernsrcver"; then
15026 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15027 $as_echo "Not found" >&6; }
15028 { { $as_echo "$as_me:$LINENO: error: *** Cannot determine kernel version." >&5
15029 $as_echo "$as_me: error: *** Cannot determine kernel version." >&2;}
15030 { (exit 1); exit 1; }; }
15033 { $as_echo "$as_me:$LINENO: result: Not found" >&5
15034 $as_echo "Not found" >&6; }
15035 { { $as_echo "$as_me:$LINENO: error: *** Cannot find UTS_RELEASE definition." >&5
15036 $as_echo "$as_me: error: *** Cannot find UTS_RELEASE definition." >&2;}
15037 { (exit 1); exit 1; }; }
15040 { $as_echo "$as_me:$LINENO: result: $kernsrcver" >&5
15041 $as_echo "$kernsrcver" >&6; }
15044 LINUX_OBJ
=${kernelbuild}
15045 LINUX_VERSION
=${kernsrcver}
15052 modpost
=$LINUX/scripts
/Makefile.modpost
15053 { $as_echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
15054 $as_echo_n "checking kernel file name for module symbols... " >&6; }
15055 if test -f "$modpost"; then
15056 if grep -q Modules.symvers
$modpost; then
15057 LINUX_SYMBOLS
=Modules.symvers
15059 LINUX_SYMBOLS
=Module.symvers
15064 { $as_echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
15065 $as_echo "$LINUX_SYMBOLS" >&6; }
15070 abs_srcdir
=`readlink -f ${srcdir}`
15071 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes -Werror"
15072 KERNELCPPFLAGS
="$KERNELCPPFLAGS -I${abs_srcdir}/include"
15073 KERNELCPPFLAGS
="$KERNELCPPFLAGS -include ${abs_srcdir}/spl_config.h"
15075 if test "${LINUX_OBJ}" != "${LINUX}"; then
15076 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
15083 # Check whether --enable-debug was given.
15084 if test "${enable_debug+set}" = set; then
15085 enableval
=$enable_debug;
15091 if test "x$enable_debug" = xyes
; then
15092 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG"
15094 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
15098 { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
15099 $as_echo_n "checking whether debugging is enabled... " >&6; }
15100 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
15101 $as_echo "$enable_debug" >&6; }
15104 # Check whether --enable-debug-kmem was given.
15105 if test "${enable_debug_kmem+set}" = set; then
15106 enableval
=$enable_debug_kmem;
15108 enable_debug_kmem
=yes
15112 if test "x$enable_debug_kmem" = xyes
; then
15114 cat >>confdefs.h
<<\_ACEOF
15115 #define DEBUG_KMEM 1
15118 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
15122 { $as_echo "$as_me:$LINENO: checking whether basic kmem accounting is enabled" >&5
15123 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
15124 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem" >&5
15125 $as_echo "$enable_debug_kmem" >&6; }
15128 # Check whether --enable-debug-kmem-tracking was given.
15129 if test "${enable_debug_kmem_tracking+set}" = set; then
15130 enableval
=$enable_debug_kmem_tracking;
15132 enable_debug_kmem_tracking
=no
15136 if test "x$enable_debug_kmem_tracking" = xyes
; then
15138 cat >>confdefs.h
<<\_ACEOF
15139 #define DEBUG_KMEM_TRACKING 1
15142 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
15146 { $as_echo "$as_me:$LINENO: checking whether detailed kmem tracking is enabled" >&5
15147 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
15148 { $as_echo "$as_me:$LINENO: result: $enable_debug_kmem_tracking" >&5
15149 $as_echo "$enable_debug_kmem_tracking" >&6; }
15152 # Check whether --enable-atomic-spinlocks was given.
15153 if test "${enable_atomic_spinlocks+set}" = set; then
15154 enableval
=$enable_atomic_spinlocks;
15156 enable_atomic_spinlocks
=check
15162 cat >conftest.c
<<_ACEOF
15165 cat confdefs.h
>>conftest.
$ac_ext
15166 cat >>conftest.
$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15170 #include <asm/atomic.h>
15185 rm -Rf build
&& mkdir
-p build
15186 echo "obj-m := conftest.o" >build
/Makefile
15187 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15194 (eval $ac_try) 2>&5
15196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; }; then
15199 have_atomic64_t
=yes
15201 cat >>confdefs.h
<<\_ACEOF
15202 #define HAVE_ATOMIC64_T 1
15207 $as_echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15220 if test "x$enable_atomic_spinlocks" = xcheck
; then
15222 if test "x$have_atomic64_t" = xyes
; then
15224 enable_atomic_spinlocks
=no
15228 enable_atomic_spinlocks
=yes
15236 if test "x$enable_atomic_spinlocks" = xyes
; then
15239 cat >>confdefs.h
<<\_ACEOF
15240 #define ATOMIC_SPINLOCK 1
15246 if test "x$have_atomic64_t" = xno
; then
15248 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15250 { { $as_echo "$as_me:$LINENO: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
15251 See \`config.log' for more details." >&5
15252 $as_echo "$as_me: error: --disable-atomic-spinlocks given but required atomic64 support is unavailable
15253 See \`config.log' for more details." >&2;}
15254 { (exit 1); exit 1; }; }; }
15262 { $as_echo "$as_me:$LINENO: checking whether atomic types use spinlocks" >&5
15263 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
15264 { $as_echo "$as_me:$LINENO: result: $enable_atomic_spinlocks" >&5
15265 $as_echo "$enable_atomic_spinlocks" >&6; }
15267 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
15268 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
15269 { $as_echo "$as_me:$LINENO: result: $have_atomic64_t" >&5
15270 $as_echo "$have_atomic64_t" >&6; }
15272 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_cmpxchg" >&5
15273 $as_echo_n "checking whether kernel defines atomic64_cmpxchg... " >&6; }
15276 cat >conftest.c
<<_ACEOF
15279 cat confdefs.h
>>conftest.
$ac_ext
15280 cat >>conftest.
$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15284 #include <asm/atomic.h>
15290 atomic64_cmpxchg((atomic64_t *)NULL, 0, 0);
15299 rm -Rf build
&& mkdir
-p build
15300 echo "obj-m := conftest.o" >build
/Makefile
15301 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303 (eval $ac_try) 2>&5
15305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15313 { $as_echo "$as_me:$LINENO: result: yes" >&5
15314 $as_echo "yes" >&6; }
15316 cat >>confdefs.h
<<\_ACEOF
15317 #define HAVE_ATOMIC64_CMPXCHG 1
15322 $as_echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.
$ac_ext >&5
15325 { $as_echo "$as_me:$LINENO: result: no" >&5
15326 $as_echo "no" >&6; }
15336 { $as_echo "$as_me:$LINENO: checking whether kernel defines atomic64_xchg" >&5
15337 $as_echo_n "checking whether kernel defines atomic64_xchg... " >&6; }
15340 cat >conftest.c
<<_ACEOF
15343 cat confdefs.h
>>conftest.
$ac_ext
15344 cat >>conftest.
$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15348 #include <asm/atomic.h>
15354 atomic64_xchg((atomic64_t *)NULL, 0);
15363 rm -Rf build
&& mkdir
-p build
15364 echo "obj-m := conftest.o" >build
/Makefile
15365 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; }; then
15377 { $as_echo "$as_me:$LINENO: result: yes" >&5
15378 $as_echo "yes" >&6; }
15380 cat >>confdefs.h
<<\_ACEOF
15381 #define HAVE_ATOMIC64_XCHG 1
15386 $as_echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.
$ac_ext >&5
15389 { $as_echo "$as_me:$LINENO: result: no" >&5
15390 $as_echo "no" >&6; }
15400 { $as_echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
15401 $as_echo_n "checking whether kernel defines uintptr_t... " >&6; }
15404 cat >conftest.c
<<_ACEOF
15407 cat confdefs.h
>>conftest.
$ac_ext
15408 cat >>conftest.
$ac_ext <<_ACEOF
15409 /* end confdefs.h. */
15412 #include <linux/types.h>
15427 rm -Rf build
&& mkdir
-p build
15428 echo "obj-m := conftest.o" >build
/Makefile
15429 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; }; then
15441 { $as_echo "$as_me:$LINENO: result: yes" >&5
15442 $as_echo "yes" >&6; }
15444 cat >>confdefs.h
<<\_ACEOF
15445 #define HAVE_UINTPTR_T 1
15450 $as_echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.
$ac_ext >&5
15453 { $as_echo "$as_me:$LINENO: result: no" >&5
15454 $as_echo "no" >&6; }
15464 { $as_echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
15465 $as_echo_n "checking whether INIT_WORK wants 3 args... " >&6; }
15468 cat >conftest.c
<<_ACEOF
15471 cat confdefs.h
>>conftest.
$ac_ext
15472 cat >>conftest.
$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15476 #include <linux/workqueue.h>
15482 struct work_struct work;
15483 INIT_WORK(&work, NULL, NULL);
15492 rm -Rf build
&& mkdir
-p build
15493 echo "obj-m := conftest.o" >build
/Makefile
15494 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15506 { $as_echo "$as_me:$LINENO: result: yes" >&5
15507 $as_echo "yes" >&6; }
15509 cat >>confdefs.h
<<\_ACEOF
15510 #define HAVE_3ARGS_INIT_WORK 1
15515 $as_echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.
$ac_ext >&5
15518 { $as_echo "$as_me:$LINENO: result: no" >&5
15519 $as_echo "no" >&6; }
15529 { $as_echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
15530 $as_echo_n "checking whether register_sysctl_table() wants 2 args... " >&6; }
15533 cat >conftest.c
<<_ACEOF
15536 cat confdefs.h
>>conftest.
$ac_ext
15537 cat >>conftest.
$ac_ext <<_ACEOF
15538 /* end confdefs.h. */
15541 #include <linux/sysctl.h>
15547 return register_sysctl_table(NULL,0);
15556 rm -Rf build
&& mkdir
-p build
15557 echo "obj-m := conftest.o" >build
/Makefile
15558 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15560 (eval $ac_try) 2>&5
15562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; }; then
15570 { $as_echo "$as_me:$LINENO: result: yes" >&5
15571 $as_echo "yes" >&6; }
15573 cat >>confdefs.h
<<\_ACEOF
15574 #define HAVE_2ARGS_REGISTER_SYSCTL 1
15579 $as_echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.
$ac_ext >&5
15582 { $as_echo "$as_me:$LINENO: result: no" >&5
15583 $as_echo "no" >&6; }
15594 { $as_echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
15595 $as_echo_n "checking whether set_shrinker() available... " >&6; }
15598 cat >conftest.c
<<_ACEOF
15601 cat confdefs.h
>>conftest.
$ac_ext
15602 cat >>conftest.
$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15606 #include <linux/mm.h>
15612 return set_shrinker(DEFAULT_SEEKS, NULL);
15621 rm -Rf build
&& mkdir
-p build
15622 echo "obj-m := conftest.o" >build
/Makefile
15623 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; }; then
15635 { $as_echo "$as_me:$LINENO: result: yes" >&5
15636 $as_echo "yes" >&6; }
15638 cat >>confdefs.h
<<\_ACEOF
15639 #define HAVE_SET_SHRINKER 1
15644 $as_echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.
$ac_ext >&5
15647 { $as_echo "$as_me:$LINENO: result: no" >&5
15648 $as_echo "no" >&6; }
15658 { $as_echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
15659 $as_echo_n "checking whether struct path used in struct nameidata... " >&6; }
15662 cat >conftest.c
<<_ACEOF
15665 cat confdefs.h
>>conftest.
$ac_ext
15666 cat >>conftest.
$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15670 #include <linux/namei.h>
15676 struct nameidata nd;
15678 nd.path.mnt = NULL;
15679 nd.path.dentry = NULL;
15688 rm -Rf build
&& mkdir
-p build
15689 echo "obj-m := conftest.o" >build
/Makefile
15690 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15697 (eval $ac_try) 2>&5
15699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; }; then
15702 { $as_echo "$as_me:$LINENO: result: yes" >&5
15703 $as_echo "yes" >&6; }
15705 cat >>confdefs.h
<<\_ACEOF
15706 #define HAVE_PATH_IN_NAMEIDATA 1
15711 $as_echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.
$ac_ext >&5
15714 { $as_echo "$as_me:$LINENO: result: no" >&5
15715 $as_echo "no" >&6; }
15726 { $as_echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
15727 $as_echo_n "checking whether symbol task_curr is exported... " >&6; }
15728 grep -q -E '[[:space:]]task_curr[[:space:]]' \
15729 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15731 if test $rc -ne 0; then
15733 for file in kernel
/sched.c
; do
15734 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
15735 "$LINUX_OBJ/$file" 2>/dev
/null
15737 if test $rc -eq 0; then
15742 if test $export -eq 0; then
15743 { $as_echo "$as_me:$LINENO: result: no" >&5
15744 $as_echo "no" >&6; }
15747 { $as_echo "$as_me:$LINENO: result: yes" >&5
15748 $as_echo "yes" >&6; }
15750 cat >>confdefs.h
<<\_ACEOF
15751 #define HAVE_TASK_CURR 1
15756 { $as_echo "$as_me:$LINENO: result: yes" >&5
15757 $as_echo "yes" >&6; }
15759 cat >>confdefs.h
<<\_ACEOF
15760 #define HAVE_TASK_CURR 1
15766 { $as_echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
15767 $as_echo_n "checking whether unnumbered sysctl support exists... " >&6; }
15770 cat >conftest.c
<<_ACEOF
15773 cat confdefs.h
>>conftest.
$ac_ext
15774 cat >>conftest.
$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15778 #include <linux/sysctl.h>
15784 #ifndef CTL_UNNUMBERED
15785 #error CTL_UNNUMBERED undefined
15795 rm -Rf build
&& mkdir
-p build
15796 echo "obj-m := conftest.o" >build
/Makefile
15797 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799 (eval $ac_try) 2>&5
15801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15809 { $as_echo "$as_me:$LINENO: result: yes" >&5
15810 $as_echo "yes" >&6; }
15812 cat >>confdefs.h
<<\_ACEOF
15813 #define HAVE_CTL_UNNUMBERED 1
15818 $as_echo "$as_me: failed program was:" >&5
15819 sed 's/^/| /' conftest.
$ac_ext >&5
15821 { $as_echo "$as_me:$LINENO: result: no" >&5
15822 $as_echo "no" >&6; }
15833 { $as_echo "$as_me:$LINENO: checking whether struct ctl_table has ctl_name" >&5
15834 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
15837 cat >conftest.c
<<_ACEOF
15840 cat confdefs.h
>>conftest.
$ac_ext
15841 cat >>conftest.
$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15845 #include <linux/sysctl.h>
15851 struct ctl_table ctl;
15861 rm -Rf build
&& mkdir
-p build
15862 echo "obj-m := conftest.o" >build
/Makefile
15863 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15870 (eval $ac_try) 2>&5
15872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); }; }; then
15875 { $as_echo "$as_me:$LINENO: result: yes" >&5
15876 $as_echo "yes" >&6; }
15878 cat >>confdefs.h
<<\_ACEOF
15879 #define HAVE_CTL_NAME 1
15884 $as_echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.
$ac_ext >&5
15887 { $as_echo "$as_me:$LINENO: result: no" >&5
15888 $as_echo "no" >&6; }
15898 { $as_echo "$as_me:$LINENO: checking whether fls64() is available" >&5
15899 $as_echo_n "checking whether fls64() is available... " >&6; }
15902 cat >conftest.c
<<_ACEOF
15905 cat confdefs.h
>>conftest.
$ac_ext
15906 cat >>conftest.
$ac_ext <<_ACEOF
15907 /* end confdefs.h. */
15910 #include <linux/bitops.h>
15925 rm -Rf build
&& mkdir
-p build
15926 echo "obj-m := conftest.o" >build
/Makefile
15927 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
15928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15929 (eval $ac_try) 2>&5
15931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15939 { $as_echo "$as_me:$LINENO: result: yes" >&5
15940 $as_echo "yes" >&6; }
15942 cat >>confdefs.h
<<\_ACEOF
15943 #define HAVE_FLS64 1
15948 $as_echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.
$ac_ext >&5
15951 { $as_echo "$as_me:$LINENO: result: no" >&5
15952 $as_echo "no" >&6; }
15963 { $as_echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
15964 $as_echo_n "checking whether symbol device_create is exported... " >&6; }
15965 grep -q -E '[[:space:]]device_create[[:space:]]' \
15966 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15968 if test $rc -ne 0; then
15970 for file in drivers
/base
/core.c
; do
15971 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
15972 "$LINUX_OBJ/$file" 2>/dev
/null
15974 if test $rc -eq 0; then
15979 if test $export -eq 0; then
15980 { $as_echo "$as_me:$LINENO: result: no" >&5
15981 $as_echo "no" >&6; }
15984 { $as_echo "$as_me:$LINENO: result: yes" >&5
15985 $as_echo "yes" >&6; }
15987 cat >>confdefs.h
<<\_ACEOF
15988 #define HAVE_DEVICE_CREATE 1
15993 { $as_echo "$as_me:$LINENO: result: yes" >&5
15994 $as_echo "yes" >&6; }
15996 cat >>confdefs.h
<<\_ACEOF
15997 #define HAVE_DEVICE_CREATE 1
16004 { $as_echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
16005 $as_echo_n "checking whether device_create() wants 5 args... " >&6; }
16006 tmp_flags
="$EXTRA_KCFLAGS"
16007 EXTRA_KCFLAGS
="-Werror"
16010 cat >conftest.c
<<_ACEOF
16013 cat confdefs.h
>>conftest.
$ac_ext
16014 cat >>conftest.
$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16018 #include <linux/device.h>
16024 device_create(NULL, NULL, 0, NULL, "%d", 1);
16033 rm -Rf build
&& mkdir
-p build
16034 echo "obj-m := conftest.o" >build
/Makefile
16035 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16047 { $as_echo "$as_me:$LINENO: result: yes" >&5
16048 $as_echo "yes" >&6; }
16050 cat >>confdefs.h
<<\_ACEOF
16051 #define HAVE_5ARGS_DEVICE_CREATE 1
16056 $as_echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.
$ac_ext >&5
16059 { $as_echo "$as_me:$LINENO: result: no" >&5
16060 $as_echo "no" >&6; }
16069 EXTRA_KCFLAGS
="$tmp_flags"
16072 { $as_echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
16073 $as_echo_n "checking whether symbol class_device_create is exported... " >&6; }
16074 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
16075 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16077 if test $rc -ne 0; then
16079 for file in drivers
/base
/class.c
; do
16080 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
16081 "$LINUX_OBJ/$file" 2>/dev
/null
16083 if test $rc -eq 0; then
16088 if test $export -eq 0; then
16089 { $as_echo "$as_me:$LINENO: result: no" >&5
16090 $as_echo "no" >&6; }
16093 { $as_echo "$as_me:$LINENO: result: yes" >&5
16094 $as_echo "yes" >&6; }
16096 cat >>confdefs.h
<<\_ACEOF
16097 #define HAVE_CLASS_DEVICE_CREATE 1
16102 { $as_echo "$as_me:$LINENO: result: yes" >&5
16103 $as_echo "yes" >&6; }
16105 cat >>confdefs.h
<<\_ACEOF
16106 #define HAVE_CLASS_DEVICE_CREATE 1
16113 { $as_echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
16114 $as_echo_n "checking whether symbol set_normalized_timespec is exported... " >&6; }
16115 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
16116 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16118 if test $rc -ne 0; then
16120 for file in kernel
/time.c
; do
16121 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
16122 "$LINUX_OBJ/$file" 2>/dev
/null
16124 if test $rc -eq 0; then
16129 if test $export -eq 0; then
16130 { $as_echo "$as_me:$LINENO: result: no" >&5
16131 $as_echo "no" >&6; }
16134 { $as_echo "$as_me:$LINENO: result: yes" >&5
16135 $as_echo "yes" >&6; }
16137 cat >>confdefs.h
<<\_ACEOF
16138 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
16143 { $as_echo "$as_me:$LINENO: result: yes" >&5
16144 $as_echo "yes" >&6; }
16146 cat >>confdefs.h
<<\_ACEOF
16147 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
16154 { $as_echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
16155 $as_echo_n "checking whether set_normalized_timespec() is an inline... " >&6; }
16158 cat >conftest.c
<<_ACEOF
16161 cat confdefs.h
>>conftest.
$ac_ext
16162 cat >>conftest.
$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16166 #include <linux/time.h>
16167 void set_normalized_timespec(struct timespec *ts,
16168 time_t sec, long nsec) { }
16181 rm -Rf build
&& mkdir
-p build
16182 echo "obj-m := conftest.o" >build
/Makefile
16183 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; }; then
16195 { $as_echo "$as_me:$LINENO: result: no" >&5
16196 $as_echo "no" >&6; }
16199 $as_echo "$as_me: failed program was:" >&5
16200 sed 's/^/| /' conftest.
$ac_ext >&5
16202 { $as_echo "$as_me:$LINENO: result: yes" >&5
16203 $as_echo "yes" >&6; }
16205 cat >>confdefs.h
<<\_ACEOF
16206 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
16219 { $as_echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
16220 $as_echo_n "checking whether timespec_sub() is available... " >&6; }
16223 cat >conftest.c
<<_ACEOF
16226 cat confdefs.h
>>conftest.
$ac_ext
16227 cat >>conftest.
$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16231 #include <linux/time.h>
16237 struct timespec a, b, c = { 0 };
16238 c = timespec_sub(a, b);
16247 rm -Rf build
&& mkdir
-p build
16248 echo "obj-m := conftest.o" >build
/Makefile
16249 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; }; then
16261 { $as_echo "$as_me:$LINENO: result: yes" >&5
16262 $as_echo "yes" >&6; }
16264 cat >>confdefs.h
<<\_ACEOF
16265 #define HAVE_TIMESPEC_SUB 1
16270 $as_echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.
$ac_ext >&5
16273 { $as_echo "$as_me:$LINENO: result: no" >&5
16274 $as_echo "no" >&6; }
16285 { $as_echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
16286 $as_echo_n "checking whether init_utsname() is available... " >&6; }
16289 cat >conftest.c
<<_ACEOF
16292 cat confdefs.h
>>conftest.
$ac_ext
16293 cat >>conftest.
$ac_ext <<_ACEOF
16294 /* end confdefs.h. */
16297 #include <linux/utsname.h>
16303 struct new_utsname *a = init_utsname();
16312 rm -Rf build
&& mkdir
-p build
16313 echo "obj-m := conftest.o" >build
/Makefile
16314 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
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); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16321 (eval $ac_try) 2>&5
16323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); }; }; then
16326 { $as_echo "$as_me:$LINENO: result: yes" >&5
16327 $as_echo "yes" >&6; }
16329 cat >>confdefs.h
<<\_ACEOF
16330 #define HAVE_INIT_UTSNAME 1
16335 $as_echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.
$ac_ext >&5
16338 { $as_echo "$as_me:$LINENO: result: no" >&5
16339 $as_echo "no" >&6; }
16350 { $as_echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
16351 $as_echo_n "checking whether header linux/fdtable.h exists... " >&6; }
16354 cat >conftest.c
<<_ACEOF
16357 cat confdefs.h
>>conftest.
$ac_ext
16358 cat >>conftest.
$ac_ext <<_ACEOF
16359 /* end confdefs.h. */
16362 #include <linux/fdtable.h>
16377 rm -Rf build
&& mkdir
-p build
16378 echo "obj-m := conftest.o" >build
/Makefile
16379 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16386 (eval $ac_try) 2>&5
16388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); }; }; then
16392 cat >>confdefs.h
<<\_ACEOF
16393 #define HAVE_FDTABLE_HEADER 1
16396 { $as_echo "$as_me:$LINENO: result: yes" >&5
16397 $as_echo "yes" >&6; }
16401 $as_echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.
$ac_ext >&5
16404 { $as_echo "$as_me:$LINENO: result: no" >&5
16405 $as_echo "no" >&6; }
16418 { $as_echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
16419 $as_echo_n "checking whether files_fdtable() is available... " >&6; }
16422 cat >conftest.c
<<_ACEOF
16425 cat confdefs.h
>>conftest.
$ac_ext
16426 cat >>conftest.
$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16430 #include <linux/sched.h>
16431 #include <linux/file.h>
16432 #ifdef HAVE_FDTABLE_HEADER
16433 #include <linux/fdtable.h>
16440 struct files_struct *files = current->files;
16441 struct fdtable *fdt = files_fdtable(files);
16450 rm -Rf build
&& mkdir
-p build
16451 echo "obj-m := conftest.o" >build
/Makefile
16452 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
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); }; }; then
16464 { $as_echo "$as_me:$LINENO: result: yes" >&5
16465 $as_echo "yes" >&6; }
16467 cat >>confdefs.h
<<\_ACEOF
16468 #define HAVE_FILES_FDTABLE 1
16473 $as_echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.
$ac_ext >&5
16476 { $as_echo "$as_me:$LINENO: result: no" >&5
16477 $as_echo "no" >&6; }
16488 { $as_echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
16489 $as_echo_n "checking whether header linux/uaccess.h exists... " >&6; }
16492 cat >conftest.c
<<_ACEOF
16495 cat confdefs.h
>>conftest.
$ac_ext
16496 cat >>conftest.
$ac_ext <<_ACEOF
16497 /* end confdefs.h. */
16500 #include <linux/uaccess.h>
16515 rm -Rf build
&& mkdir
-p build
16516 echo "obj-m := conftest.o" >build
/Makefile
16517 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16530 cat >>confdefs.h
<<\_ACEOF
16531 #define HAVE_UACCESS_HEADER 1
16534 { $as_echo "$as_me:$LINENO: result: yes" >&5
16535 $as_echo "yes" >&6; }
16539 $as_echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.
$ac_ext >&5
16542 { $as_echo "$as_me:$LINENO: result: no" >&5
16543 $as_echo "no" >&6; }
16556 { $as_echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
16557 $as_echo_n "checking whether kmalloc_node() is available... " >&6; }
16560 cat >conftest.c
<<_ACEOF
16563 cat confdefs.h
>>conftest.
$ac_ext
16564 cat >>conftest.
$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16568 #include <linux/slab.h>
16574 void *a = kmalloc_node(1, GFP_KERNEL, 0);
16583 rm -Rf build
&& mkdir
-p build
16584 echo "obj-m := conftest.o" >build
/Makefile
16585 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16592 (eval $ac_try) 2>&5
16594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); }; }; then
16597 { $as_echo "$as_me:$LINENO: result: yes" >&5
16598 $as_echo "yes" >&6; }
16600 cat >>confdefs.h
<<\_ACEOF
16601 #define HAVE_KMALLOC_NODE 1
16606 $as_echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.
$ac_ext >&5
16609 { $as_echo "$as_me:$LINENO: result: no" >&5
16610 $as_echo "no" >&6; }
16621 { $as_echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
16622 $as_echo_n "checking whether symbol monotonic_clock is exported... " >&6; }
16623 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
16624 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16626 if test $rc -ne 0; then
16629 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
16630 "$LINUX_OBJ/$file" 2>/dev
/null
16632 if test $rc -eq 0; then
16637 if test $export -eq 0; then
16638 { $as_echo "$as_me:$LINENO: result: no" >&5
16639 $as_echo "no" >&6; }
16642 { $as_echo "$as_me:$LINENO: result: yes" >&5
16643 $as_echo "yes" >&6; }
16645 cat >>confdefs.h
<<\_ACEOF
16646 #define HAVE_MONOTONIC_CLOCK 1
16651 { $as_echo "$as_me:$LINENO: result: yes" >&5
16652 $as_echo "yes" >&6; }
16654 cat >>confdefs.h
<<\_ACEOF
16655 #define HAVE_MONOTONIC_CLOCK 1
16662 { $as_echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
16663 $as_echo_n "checking whether struct inode has i_mutex... " >&6; }
16666 cat >conftest.c
<<_ACEOF
16669 cat confdefs.h
>>conftest.
$ac_ext
16670 cat >>conftest.
$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16674 #include <linux/fs.h>
16675 #include <linux/mutex.h>
16682 mutex_init(&i.i_mutex);
16691 rm -Rf build
&& mkdir
-p build
16692 echo "obj-m := conftest.o" >build
/Makefile
16693 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16700 (eval $ac_try) 2>&5
16702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; }; then
16705 { $as_echo "$as_me:$LINENO: result: yes" >&5
16706 $as_echo "yes" >&6; }
16708 cat >>confdefs.h
<<\_ACEOF
16709 #define HAVE_INODE_I_MUTEX 1
16714 $as_echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.
$ac_ext >&5
16717 { $as_echo "$as_me:$LINENO: result: no" >&5
16718 $as_echo "no" >&6; }
16729 { $as_echo "$as_me:$LINENO: checking whether struct mutex has owner" >&5
16730 $as_echo_n "checking whether struct mutex has owner... " >&6; }
16733 cat >conftest.c
<<_ACEOF
16736 cat confdefs.h
>>conftest.
$ac_ext
16737 cat >>conftest.
$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16741 #include <linux/mutex.h>
16757 rm -Rf build
&& mkdir
-p build
16758 echo "obj-m := conftest.o" >build
/Makefile
16759 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; }; then
16771 { $as_echo "$as_me:$LINENO: result: yes" >&5
16772 $as_echo "yes" >&6; }
16774 cat >>confdefs.h
<<\_ACEOF
16775 #define HAVE_MUTEX_OWNER 1
16780 $as_echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.
$ac_ext >&5
16783 { $as_echo "$as_me:$LINENO: result: no" >&5
16784 $as_echo "no" >&6; }
16795 { $as_echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
16796 $as_echo_n "checking whether mutex_lock_nested() is available... " >&6; }
16799 cat >conftest.c
<<_ACEOF
16802 cat confdefs.h
>>conftest.
$ac_ext
16803 cat >>conftest.
$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16807 #include <linux/mutex.h>
16813 struct mutex mutex;
16814 mutex_init(&mutex);
16815 mutex_lock_nested(&mutex, 0);
16824 rm -Rf build
&& mkdir
-p build
16825 echo "obj-m := conftest.o" >build
/Makefile
16826 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; }; then
16838 { $as_echo "$as_me:$LINENO: result: yes" >&5
16839 $as_echo "yes" >&6; }
16841 cat >>confdefs.h
<<\_ACEOF
16842 #define HAVE_MUTEX_LOCK_NESTED 1
16847 $as_echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.
$ac_ext >&5
16850 { $as_echo "$as_me:$LINENO: result: no" >&5
16851 $as_echo "no" >&6; }
16862 { $as_echo "$as_me:$LINENO: checking whether symbol div64_64 is exported" >&5
16863 $as_echo_n "checking whether symbol div64_64 is exported... " >&6; }
16864 grep -q -E '[[:space:]]div64_64[[:space:]]' \
16865 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16867 if test $rc -ne 0; then
16870 grep -q -E "EXPORT_SYMBOL.*(div64_64)" \
16871 "$LINUX_OBJ/$file" 2>/dev
/null
16873 if test $rc -eq 0; then
16878 if test $export -eq 0; then
16879 { $as_echo "$as_me:$LINENO: result: no" >&5
16880 $as_echo "no" >&6; }
16883 { $as_echo "$as_me:$LINENO: result: yes" >&5
16884 $as_echo "yes" >&6; }
16886 cat >>confdefs.h
<<\_ACEOF
16887 #define HAVE_DIV64_64 1
16892 { $as_echo "$as_me:$LINENO: result: yes" >&5
16893 $as_echo "yes" >&6; }
16895 cat >>confdefs.h
<<\_ACEOF
16896 #define HAVE_DIV64_64 1
16903 { $as_echo "$as_me:$LINENO: checking whether symbol div64_u64 is exported" >&5
16904 $as_echo_n "checking whether symbol div64_u64 is exported... " >&6; }
16905 grep -q -E '[[:space:]]div64_u64[[:space:]]' \
16906 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16908 if test $rc -ne 0; then
16911 grep -q -E "EXPORT_SYMBOL.*(div64_u64)" \
16912 "$LINUX_OBJ/$file" 2>/dev
/null
16914 if test $rc -eq 0; then
16919 if test $export -eq 0; then
16920 { $as_echo "$as_me:$LINENO: result: no" >&5
16921 $as_echo "no" >&6; }
16924 { $as_echo "$as_me:$LINENO: result: yes" >&5
16925 $as_echo "yes" >&6; }
16927 cat >>confdefs.h
<<\_ACEOF
16928 #define HAVE_DIV64_U64 1
16933 { $as_echo "$as_me:$LINENO: result: yes" >&5
16934 $as_echo "yes" >&6; }
16936 cat >>confdefs.h
<<\_ACEOF
16937 #define HAVE_DIV64_U64 1
16944 { $as_echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
16945 $as_echo_n "checking whether on_each_cpu() wants 3 args... " >&6; }
16948 cat >conftest.c
<<_ACEOF
16951 cat confdefs.h
>>conftest.
$ac_ext
16952 cat >>conftest.
$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16956 #include <linux/smp.h>
16962 on_each_cpu(NULL, NULL, 0);
16971 rm -Rf build
&& mkdir
-p build
16972 echo "obj-m := conftest.o" >build
/Makefile
16973 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
16974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975 (eval $ac_try) 2>&5
16977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16985 { $as_echo "$as_me:$LINENO: result: yes" >&5
16986 $as_echo "yes" >&6; }
16988 cat >>confdefs.h
<<\_ACEOF
16989 #define HAVE_3ARGS_ON_EACH_CPU 1
16994 $as_echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.
$ac_ext >&5
16997 { $as_echo "$as_me:$LINENO: result: no" >&5
16998 $as_echo "no" >&6; }
17009 { $as_echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
17010 $as_echo_n "checking whether symbol kallsyms_lookup_name is exported... " >&6; }
17011 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
17012 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17014 if test $rc -ne 0; then
17017 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
17018 "$LINUX_OBJ/$file" 2>/dev
/null
17020 if test $rc -eq 0; then
17025 if test $export -eq 0; then
17026 { $as_echo "$as_me:$LINENO: result: no" >&5
17027 $as_echo "no" >&6; }
17030 { $as_echo "$as_me:$LINENO: result: yes" >&5
17031 $as_echo "yes" >&6; }
17033 cat >>confdefs.h
<<\_ACEOF
17034 #define HAVE_KALLSYMS_LOOKUP_NAME 1
17039 { $as_echo "$as_me:$LINENO: result: yes" >&5
17040 $as_echo "yes" >&6; }
17042 cat >>confdefs.h
<<\_ACEOF
17043 #define HAVE_KALLSYMS_LOOKUP_NAME 1
17050 { $as_echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
17051 $as_echo_n "checking whether symbol get_vmalloc_info is exported... " >&6; }
17052 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
17053 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17055 if test $rc -ne 0; then
17058 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
17059 "$LINUX_OBJ/$file" 2>/dev
/null
17061 if test $rc -eq 0; then
17066 if test $export -eq 0; then
17067 { $as_echo "$as_me:$LINENO: result: no" >&5
17068 $as_echo "no" >&6; }
17071 { $as_echo "$as_me:$LINENO: result: yes" >&5
17072 $as_echo "yes" >&6; }
17074 cat >>confdefs.h
<<\_ACEOF
17075 #define HAVE_GET_VMALLOC_INFO 1
17080 { $as_echo "$as_me:$LINENO: result: yes" >&5
17081 $as_echo "yes" >&6; }
17083 cat >>confdefs.h
<<\_ACEOF
17084 #define HAVE_GET_VMALLOC_INFO 1
17091 { $as_echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
17092 $as_echo_n "checking whether symbol *_pgdat exist... " >&6; }
17093 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
17095 if test $rc -eq 0; then
17096 { $as_echo "$as_me:$LINENO: result: yes" >&5
17097 $as_echo "yes" >&6; }
17099 cat >>confdefs.h
<<\_ACEOF
17100 #define HAVE_PGDAT_HELPERS 1
17104 { $as_echo "$as_me:$LINENO: result: no" >&5
17105 $as_echo "no" >&6; }
17109 { $as_echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
17110 $as_echo_n "checking whether symbol first_online_pgdat is exported... " >&6; }
17111 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
17112 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17114 if test $rc -ne 0; then
17117 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
17118 "$LINUX_OBJ/$file" 2>/dev
/null
17120 if test $rc -eq 0; then
17125 if test $export -eq 0; then
17126 { $as_echo "$as_me:$LINENO: result: no" >&5
17127 $as_echo "no" >&6; }
17130 { $as_echo "$as_me:$LINENO: result: yes" >&5
17131 $as_echo "yes" >&6; }
17133 cat >>confdefs.h
<<\_ACEOF
17134 #define HAVE_FIRST_ONLINE_PGDAT 1
17139 { $as_echo "$as_me:$LINENO: result: yes" >&5
17140 $as_echo "yes" >&6; }
17142 cat >>confdefs.h
<<\_ACEOF
17143 #define HAVE_FIRST_ONLINE_PGDAT 1
17150 { $as_echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
17151 $as_echo_n "checking whether symbol next_online_pgdat is exported... " >&6; }
17152 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
17153 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17155 if test $rc -ne 0; then
17158 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
17159 "$LINUX_OBJ/$file" 2>/dev
/null
17161 if test $rc -eq 0; then
17166 if test $export -eq 0; then
17167 { $as_echo "$as_me:$LINENO: result: no" >&5
17168 $as_echo "no" >&6; }
17171 { $as_echo "$as_me:$LINENO: result: yes" >&5
17172 $as_echo "yes" >&6; }
17174 cat >>confdefs.h
<<\_ACEOF
17175 #define HAVE_NEXT_ONLINE_PGDAT 1
17180 { $as_echo "$as_me:$LINENO: result: yes" >&5
17181 $as_echo "yes" >&6; }
17183 cat >>confdefs.h
<<\_ACEOF
17184 #define HAVE_NEXT_ONLINE_PGDAT 1
17191 { $as_echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
17192 $as_echo_n "checking whether symbol next_zone is exported... " >&6; }
17193 grep -q -E '[[:space:]]next_zone[[:space:]]' \
17194 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17196 if test $rc -ne 0; then
17199 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
17200 "$LINUX_OBJ/$file" 2>/dev
/null
17202 if test $rc -eq 0; then
17207 if test $export -eq 0; then
17208 { $as_echo "$as_me:$LINENO: result: no" >&5
17209 $as_echo "no" >&6; }
17212 { $as_echo "$as_me:$LINENO: result: yes" >&5
17213 $as_echo "yes" >&6; }
17215 cat >>confdefs.h
<<\_ACEOF
17216 #define HAVE_NEXT_ZONE 1
17221 { $as_echo "$as_me:$LINENO: result: yes" >&5
17222 $as_echo "yes" >&6; }
17224 cat >>confdefs.h
<<\_ACEOF
17225 #define HAVE_NEXT_ZONE 1
17232 { $as_echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
17233 $as_echo_n "checking whether symbol pgdat_list is exported... " >&6; }
17234 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
17235 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17237 if test $rc -ne 0; then
17240 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
17241 "$LINUX_OBJ/$file" 2>/dev
/null
17243 if test $rc -eq 0; then
17248 if test $export -eq 0; then
17249 { $as_echo "$as_me:$LINENO: result: no" >&5
17250 $as_echo "no" >&6; }
17253 { $as_echo "$as_me:$LINENO: result: yes" >&5
17254 $as_echo "yes" >&6; }
17256 cat >>confdefs.h
<<\_ACEOF
17257 #define HAVE_PGDAT_LIST 1
17262 { $as_echo "$as_me:$LINENO: result: yes" >&5
17263 $as_echo "yes" >&6; }
17265 cat >>confdefs.h
<<\_ACEOF
17266 #define HAVE_PGDAT_LIST 1
17273 { $as_echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
17274 $as_echo_n "checking whether global_page_state() is available... " >&6; }
17277 cat >conftest.c
<<_ACEOF
17280 cat confdefs.h
>>conftest.
$ac_ext
17281 cat >>conftest.
$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17285 #include <linux/mm.h>
17291 unsigned long state;
17292 state = global_page_state(0);
17301 rm -Rf build
&& mkdir
-p build
17302 echo "obj-m := conftest.o" >build
/Makefile
17303 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; }; then
17315 { $as_echo "$as_me:$LINENO: result: yes" >&5
17316 $as_echo "yes" >&6; }
17318 cat >>confdefs.h
<<\_ACEOF
17319 #define HAVE_GLOBAL_PAGE_STATE 1
17324 $as_echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.
$ac_ext >&5
17327 { $as_echo "$as_me:$LINENO: result: no" >&5
17328 $as_echo "no" >&6; }
17339 { $as_echo "$as_me:$LINENO: checking whether page state NR_FREE_PAGES is available" >&5
17340 $as_echo_n "checking whether page state NR_FREE_PAGES is available... " >&6; }
17343 cat >conftest.c
<<_ACEOF
17346 cat confdefs.h
>>conftest.
$ac_ext
17347 cat >>conftest.
$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17351 #include <linux/mm.h>
17357 enum zone_stat_item zsi;
17358 zsi = NR_FREE_PAGES;
17367 rm -Rf build
&& mkdir
-p build
17368 echo "obj-m := conftest.o" >build
/Makefile
17369 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17371 (eval $ac_try) 2>&5
17373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; }; then
17381 { $as_echo "$as_me:$LINENO: result: yes" >&5
17382 $as_echo "yes" >&6; }
17384 cat >>confdefs.h
<<\_ACEOF
17385 #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
17390 $as_echo "$as_me: failed program was:" >&5
17391 sed 's/^/| /' conftest.
$ac_ext >&5
17393 { $as_echo "$as_me:$LINENO: result: no" >&5
17394 $as_echo "no" >&6; }
17405 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE is available" >&5
17406 $as_echo_n "checking whether page state NR_INACTIVE is available... " >&6; }
17409 cat >conftest.c
<<_ACEOF
17412 cat confdefs.h
>>conftest.
$ac_ext
17413 cat >>conftest.
$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17417 #include <linux/mm.h>
17423 enum zone_stat_item zsi;
17433 rm -Rf build
&& mkdir
-p build
17434 echo "obj-m := conftest.o" >build
/Makefile
17435 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17447 { $as_echo "$as_me:$LINENO: result: yes" >&5
17448 $as_echo "yes" >&6; }
17450 cat >>confdefs.h
<<\_ACEOF
17451 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE 1
17456 $as_echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.
$ac_ext >&5
17459 { $as_echo "$as_me:$LINENO: result: no" >&5
17460 $as_echo "no" >&6; }
17470 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_ANON is available" >&5
17471 $as_echo_n "checking whether page state NR_INACTIVE_ANON is available... " >&6; }
17474 cat >conftest.c
<<_ACEOF
17477 cat confdefs.h
>>conftest.
$ac_ext
17478 cat >>conftest.
$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17482 #include <linux/mm.h>
17488 enum zone_stat_item zsi;
17489 zsi = NR_INACTIVE_ANON;
17498 rm -Rf build
&& mkdir
-p build
17499 echo "obj-m := conftest.o" >build
/Makefile
17500 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
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); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17512 { $as_echo "$as_me:$LINENO: result: yes" >&5
17513 $as_echo "yes" >&6; }
17515 cat >>confdefs.h
<<\_ACEOF
17516 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
17521 $as_echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.
$ac_ext >&5
17524 { $as_echo "$as_me:$LINENO: result: no" >&5
17525 $as_echo "no" >&6; }
17535 { $as_echo "$as_me:$LINENO: checking whether page state NR_INACTIVE_FILE is available" >&5
17536 $as_echo_n "checking whether page state NR_INACTIVE_FILE is available... " >&6; }
17539 cat >conftest.c
<<_ACEOF
17542 cat confdefs.h
>>conftest.
$ac_ext
17543 cat >>conftest.
$ac_ext <<_ACEOF
17544 /* end confdefs.h. */
17547 #include <linux/mm.h>
17553 enum zone_stat_item zsi;
17554 zsi = NR_INACTIVE_FILE;
17563 rm -Rf build
&& mkdir
-p build
17564 echo "obj-m := conftest.o" >build
/Makefile
17565 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17577 { $as_echo "$as_me:$LINENO: result: yes" >&5
17578 $as_echo "yes" >&6; }
17580 cat >>confdefs.h
<<\_ACEOF
17581 #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
17586 $as_echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.
$ac_ext >&5
17589 { $as_echo "$as_me:$LINENO: result: no" >&5
17590 $as_echo "no" >&6; }
17601 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE is available" >&5
17602 $as_echo_n "checking whether page state NR_ACTIVE is available... " >&6; }
17605 cat >conftest.c
<<_ACEOF
17608 cat confdefs.h
>>conftest.
$ac_ext
17609 cat >>conftest.
$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17613 #include <linux/mm.h>
17619 enum zone_stat_item zsi;
17629 rm -Rf build
&& mkdir
-p build
17630 echo "obj-m := conftest.o" >build
/Makefile
17631 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17633 (eval $ac_try) 2>&5
17635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638 (eval $ac_try) 2>&5
17640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); }; }; then
17643 { $as_echo "$as_me:$LINENO: result: yes" >&5
17644 $as_echo "yes" >&6; }
17646 cat >>confdefs.h
<<\_ACEOF
17647 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE 1
17652 $as_echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.
$ac_ext >&5
17655 { $as_echo "$as_me:$LINENO: result: no" >&5
17656 $as_echo "no" >&6; }
17666 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_ANON is available" >&5
17667 $as_echo_n "checking whether page state NR_ACTIVE_ANON is available... " >&6; }
17670 cat >conftest.c
<<_ACEOF
17673 cat confdefs.h
>>conftest.
$ac_ext
17674 cat >>conftest.
$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17678 #include <linux/mm.h>
17684 enum zone_stat_item zsi;
17685 zsi = NR_ACTIVE_ANON;
17694 rm -Rf build
&& mkdir
-p build
17695 echo "obj-m := conftest.o" >build
/Makefile
17696 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; }; then
17708 { $as_echo "$as_me:$LINENO: result: yes" >&5
17709 $as_echo "yes" >&6; }
17711 cat >>confdefs.h
<<\_ACEOF
17712 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
17717 $as_echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.
$ac_ext >&5
17720 { $as_echo "$as_me:$LINENO: result: no" >&5
17721 $as_echo "no" >&6; }
17731 { $as_echo "$as_me:$LINENO: checking whether page state NR_ACTIVE_FILE is available" >&5
17732 $as_echo_n "checking whether page state NR_ACTIVE_FILE is available... " >&6; }
17735 cat >conftest.c
<<_ACEOF
17738 cat confdefs.h
>>conftest.
$ac_ext
17739 cat >>conftest.
$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17743 #include <linux/mm.h>
17749 enum zone_stat_item zsi;
17750 zsi = NR_ACTIVE_FILE;
17759 rm -Rf build
&& mkdir
-p build
17760 echo "obj-m := conftest.o" >build
/Makefile
17761 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; }; then
17773 { $as_echo "$as_me:$LINENO: result: yes" >&5
17774 $as_echo "yes" >&6; }
17776 cat >>confdefs.h
<<\_ACEOF
17777 #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
17782 $as_echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.
$ac_ext >&5
17785 { $as_echo "$as_me:$LINENO: result: no" >&5
17786 $as_echo "no" >&6; }
17797 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is needed" >&5
17798 $as_echo_n "checking whether symbol get_zone_counts is needed... " >&6; }
17801 cat >conftest.c
<<_ACEOF
17804 cat confdefs.h
>>conftest.
$ac_ext
17805 cat >>conftest.
$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17814 #if !defined(HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES)
17815 #error "global_page_state needs NR_FREE_PAGES"
17818 #if !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE) && \
17819 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON) && \
17820 !defined(HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE)
17821 #error "global_page_state needs NR_ACTIVE*"
17824 #if !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE) && \
17825 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON) && \
17826 !defined(HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE)
17827 #error "global_page_state needs NR_INACTIVE*"
17837 rm -Rf build
&& mkdir
-p build
17838 echo "obj-m := conftest.o" >build
/Makefile
17839 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17851 { $as_echo "$as_me:$LINENO: result: no" >&5
17852 $as_echo "no" >&6; }
17855 $as_echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.
$ac_ext >&5
17858 { $as_echo "$as_me:$LINENO: result: yes" >&5
17859 $as_echo "yes" >&6; }
17861 cat >>confdefs.h
<<\_ACEOF
17862 #define NEED_GET_ZONE_COUNTS 1
17866 { $as_echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
17867 $as_echo_n "checking whether symbol get_zone_counts is exported... " >&6; }
17868 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
17869 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17871 if test $rc -ne 0; then
17874 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
17875 "$LINUX_OBJ/$file" 2>/dev
/null
17877 if test $rc -eq 0; then
17882 if test $export -eq 0; then
17883 { $as_echo "$as_me:$LINENO: result: no" >&5
17884 $as_echo "no" >&6; }
17887 { $as_echo "$as_me:$LINENO: result: yes" >&5
17888 $as_echo "yes" >&6; }
17890 cat >>confdefs.h
<<\_ACEOF
17891 #define HAVE_GET_ZONE_COUNTS 1
17896 { $as_echo "$as_me:$LINENO: result: yes" >&5
17897 $as_echo "yes" >&6; }
17899 cat >>confdefs.h
<<\_ACEOF
17900 #define HAVE_GET_ZONE_COUNTS 1
17915 { $as_echo "$as_me:$LINENO: checking whether symbol set_fs_pwd is exported" >&5
17916 $as_echo_n "checking whether symbol set_fs_pwd is exported... " >&6; }
17917 grep -q -E '[[:space:]]set_fs_pwd[[:space:]]' \
17918 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
17920 if test $rc -ne 0; then
17923 grep -q -E "EXPORT_SYMBOL.*(set_fs_pwd)" \
17924 "$LINUX_OBJ/$file" 2>/dev
/null
17926 if test $rc -eq 0; then
17931 if test $export -eq 0; then
17932 { $as_echo "$as_me:$LINENO: result: no" >&5
17933 $as_echo "no" >&6; }
17936 { $as_echo "$as_me:$LINENO: result: yes" >&5
17937 $as_echo "yes" >&6; }
17939 cat >>confdefs.h
<<\_ACEOF
17940 #define HAVE_SET_FS_PWD 1
17945 { $as_echo "$as_me:$LINENO: result: yes" >&5
17946 $as_echo "yes" >&6; }
17948 cat >>confdefs.h
<<\_ACEOF
17949 #define HAVE_SET_FS_PWD 1
17955 { $as_echo "$as_me:$LINENO: checking whether set_fs_pwd() wants 2 args" >&5
17956 $as_echo_n "checking whether set_fs_pwd() wants 2 args... " >&6; }
17959 cat >conftest.c
<<_ACEOF
17962 cat confdefs.h
>>conftest.
$ac_ext
17963 cat >>conftest.
$ac_ext <<_ACEOF
17964 /* end confdefs.h. */
17967 #include <linux/sched.h>
17968 #include <linux/fs_struct.h>
17974 set_fs_pwd(NULL, NULL);
17983 rm -Rf build
&& mkdir
-p build
17984 echo "obj-m := conftest.o" >build
/Makefile
17985 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17992 (eval $ac_try) 2>&5
17994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); }; }; then
17997 { $as_echo "$as_me:$LINENO: result: yes" >&5
17998 $as_echo "yes" >&6; }
18000 cat >>confdefs.h
<<\_ACEOF
18001 #define HAVE_2ARGS_SET_FS_PWD 1
18006 $as_echo "$as_me: failed program was:" >&5
18007 sed 's/^/| /' conftest.
$ac_ext >&5
18009 { $as_echo "$as_me:$LINENO: result: no" >&5
18010 $as_echo "no" >&6; }
18020 { $as_echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
18021 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
18024 cat >conftest.c
<<_ACEOF
18027 cat confdefs.h
>>conftest.
$ac_ext
18028 cat >>conftest.
$ac_ext <<_ACEOF
18029 /* end confdefs.h. */
18032 #include <linux/fs.h>
18038 vfs_unlink(NULL, NULL);
18047 rm -Rf build
&& mkdir
-p build
18048 echo "obj-m := conftest.o" >build
/Makefile
18049 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; }; then
18061 { $as_echo "$as_me:$LINENO: result: yes" >&5
18062 $as_echo "yes" >&6; }
18064 cat >>confdefs.h
<<\_ACEOF
18065 #define HAVE_2ARGS_VFS_UNLINK 1
18070 $as_echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.
$ac_ext >&5
18073 { $as_echo "$as_me:$LINENO: result: no" >&5
18074 $as_echo "no" >&6; }
18084 { $as_echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
18085 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
18088 cat >conftest.c
<<_ACEOF
18091 cat confdefs.h
>>conftest.
$ac_ext
18092 cat >>conftest.
$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18096 #include <linux/fs.h>
18102 vfs_rename(NULL, NULL, NULL, NULL);
18111 rm -Rf build
&& mkdir
-p build
18112 echo "obj-m := conftest.o" >build
/Makefile
18113 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; }; then
18125 { $as_echo "$as_me:$LINENO: result: yes" >&5
18126 $as_echo "yes" >&6; }
18128 cat >>confdefs.h
<<\_ACEOF
18129 #define HAVE_4ARGS_VFS_RENAME 1
18134 $as_echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.
$ac_ext >&5
18137 { $as_echo "$as_me:$LINENO: result: no" >&5
18138 $as_echo "no" >&6; }
18149 { $as_echo "$as_me:$LINENO: checking whether struct cred exists" >&5
18150 $as_echo_n "checking whether struct cred exists... " >&6; }
18153 cat >conftest.c
<<_ACEOF
18156 cat confdefs.h
>>conftest.
$ac_ext
18157 cat >>conftest.
$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18161 #include <linux/cred.h>
18177 rm -Rf build
&& mkdir
-p build
18178 echo "obj-m := conftest.o" >build
/Makefile
18179 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18191 { $as_echo "$as_me:$LINENO: result: yes" >&5
18192 $as_echo "yes" >&6; }
18194 cat >>confdefs.h
<<\_ACEOF
18195 #define HAVE_CRED_STRUCT 1
18200 $as_echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.
$ac_ext >&5
18203 { $as_echo "$as_me:$LINENO: result: no" >&5
18204 $as_echo "no" >&6; }
18215 { $as_echo "$as_me:$LINENO: checking whether symbol groups_search is exported" >&5
18216 $as_echo_n "checking whether symbol groups_search is exported... " >&6; }
18217 grep -q -E '[[:space:]]groups_search[[:space:]]' \
18218 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18220 if test $rc -ne 0; then
18223 grep -q -E "EXPORT_SYMBOL.*(groups_search)" \
18224 "$LINUX_OBJ/$file" 2>/dev
/null
18226 if test $rc -eq 0; then
18231 if test $export -eq 0; then
18232 { $as_echo "$as_me:$LINENO: result: no" >&5
18233 $as_echo "no" >&6; }
18236 { $as_echo "$as_me:$LINENO: result: yes" >&5
18237 $as_echo "yes" >&6; }
18239 cat >>confdefs.h
<<\_ACEOF
18240 #define HAVE_GROUPS_SEARCH 1
18245 { $as_echo "$as_me:$LINENO: result: yes" >&5
18246 $as_echo "yes" >&6; }
18248 cat >>confdefs.h
<<\_ACEOF
18249 #define HAVE_GROUPS_SEARCH 1
18256 { $as_echo "$as_me:$LINENO: checking whether symbol __put_task_struct is exported" >&5
18257 $as_echo_n "checking whether symbol __put_task_struct is exported... " >&6; }
18258 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
18259 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18261 if test $rc -ne 0; then
18264 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
18265 "$LINUX_OBJ/$file" 2>/dev
/null
18267 if test $rc -eq 0; then
18272 if test $export -eq 0; then
18273 { $as_echo "$as_me:$LINENO: result: no" >&5
18274 $as_echo "no" >&6; }
18277 { $as_echo "$as_me:$LINENO: result: yes" >&5
18278 $as_echo "yes" >&6; }
18280 cat >>confdefs.h
<<\_ACEOF
18281 #define HAVE_PUT_TASK_STRUCT 1
18286 { $as_echo "$as_me:$LINENO: result: yes" >&5
18287 $as_echo "yes" >&6; }
18289 cat >>confdefs.h
<<\_ACEOF
18290 #define HAVE_PUT_TASK_STRUCT 1
18297 { $as_echo "$as_me:$LINENO: checking whether proc_handler() wants 5 args" >&5
18298 $as_echo_n "checking whether proc_handler() wants 5 args... " >&6; }
18301 cat >conftest.c
<<_ACEOF
18304 cat confdefs.h
>>conftest.
$ac_ext
18305 cat >>conftest.
$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18309 #include <linux/sysctl.h>
18315 proc_dostring(NULL, 0, NULL, NULL, NULL);
18324 rm -Rf build
&& mkdir
-p build
18325 echo "obj-m := conftest.o" >build
/Makefile
18326 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
18327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328 (eval $ac_try) 2>&5
18330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18338 { $as_echo "$as_me:$LINENO: result: yes" >&5
18339 $as_echo "yes" >&6; }
18341 cat >>confdefs.h
<<\_ACEOF
18342 #define HAVE_5ARGS_PROC_HANDLER 1
18347 $as_echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.
$ac_ext >&5
18350 { $as_echo "$as_me:$LINENO: result: no" >&5
18351 $as_echo "no" >&6; }
18362 { $as_echo "$as_me:$LINENO: checking whether symbol kvasprintf is exported" >&5
18363 $as_echo_n "checking whether symbol kvasprintf is exported... " >&6; }
18364 grep -q -E '[[:space:]]kvasprintf[[:space:]]' \
18365 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
18367 if test $rc -ne 0; then
18370 grep -q -E "EXPORT_SYMBOL.*(kvasprintf)" \
18371 "$LINUX_OBJ/$file" 2>/dev
/null
18373 if test $rc -eq 0; then
18378 if test $export -eq 0; then
18379 { $as_echo "$as_me:$LINENO: result: no" >&5
18380 $as_echo "no" >&6; }
18383 { $as_echo "$as_me:$LINENO: result: yes" >&5
18384 $as_echo "yes" >&6; }
18386 cat >>confdefs.h
<<\_ACEOF
18387 #define HAVE_KVASPRINTF 1
18392 { $as_echo "$as_me:$LINENO: result: yes" >&5
18393 $as_echo "yes" >&6; }
18395 cat >>confdefs.h
<<\_ACEOF
18396 #define HAVE_KVASPRINTF 1
18406 { $as_echo "$as_me:$LINENO: result: Error!" >&5
18407 $as_echo "Error!" >&6; }
18408 { { $as_echo "$as_me:$LINENO: error: Bad value \"$SPL_CONFIG\" for --with-config,
18409 user kernel|user|all|srpm" >&5
18410 $as_echo "$as_me: error: Bad value \"$SPL_CONFIG\" for --with-config,
18411 user kernel|user|all|srpm" >&2;}
18412 { (exit 1); exit 1; }; } ;;
18415 if test "$SPL_CONFIG" = user ||
18416 test "$SPL_CONFIG" = all
; then
18418 CONFIG_USER_FALSE
='#'
18420 CONFIG_USER_TRUE
='#'
18424 if test "$SPL_CONFIG" = kernel ||
18425 test "$SPL_CONFIG" = all
; then
18426 CONFIG_KERNEL_TRUE
=
18427 CONFIG_KERNEL_FALSE
='#'
18429 CONFIG_KERNEL_TRUE
='#'
18430 CONFIG_KERNEL_FALSE
=
18435 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"
18438 cat >confcache
<<\_ACEOF
18439 # This file is a shell script that caches the results of configure
18440 # tests run on this system so they can be shared between configure
18441 # scripts and configure runs, see configure's option --config-cache.
18442 # It is not useful on other systems. If it contains results you don't
18443 # want to keep, you may remove or edit it.
18445 # config.status only pays attention to the cache file if you give it
18446 # the --recheck option to rerun configure.
18448 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18449 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18450 # following values.
18454 # The following way of writing the cache mishandles newlines in values,
18455 # but we know of no workaround that is simple, portable, and efficient.
18456 # So, we kill variables containing newlines.
18457 # Ultrix sh set writes to stderr and can't be redirected directly,
18458 # and sets the high bit in the cache file unless we assign to the vars.
18460 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18461 eval ac_val
=\$
$ac_var
18465 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
18466 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18469 _ | IFS | as_nl
) ;; #(
18470 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18471 *) $as_unset $ac_var ;;
18477 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18478 *${as_nl}ac_space
=\
*)
18479 # `set' does not quote correctly, so add quotes (double-quote
18480 # substitution turns \\\\ into \\, and sed turns \\ into \).
18483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18486 # `set' quotes correctly as required by POSIX, so do not add quotes.
18487 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18496 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18498 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18500 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18501 if test -w "$cache_file"; then
18502 test "x$cache_file" != "x/dev/null" &&
18503 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
18504 $as_echo "$as_me: updating cache $cache_file" >&6;}
18505 cat confcache
>$cache_file
18507 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18508 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18513 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18514 # Let make expand exec_prefix.
18515 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18517 DEFS
=-DHAVE_CONFIG_H
18521 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18522 # 1. Remove the extension, and $U if already installed.
18523 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18524 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18526 # will be set to the directory where LIBOBJS objects are built.
18527 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18528 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18530 LIBOBJS
=$ac_libobjs
18532 LTLIBOBJS
=$ac_ltlibobjs
18535 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18536 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18537 Usually this means the macro was only invoked conditionally." >&5
18538 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18539 Usually this means the macro was only invoked conditionally." >&2;}
18540 { (exit 1); exit 1; }; }
18542 if test -n "$EXEEXT"; then
18544 am__EXEEXT_FALSE
='#'
18546 am__EXEEXT_TRUE
='#'
18550 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18551 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18552 Usually this means the macro was only invoked conditionally." >&5
18553 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
18554 Usually this means the macro was only invoked conditionally." >&2;}
18555 { (exit 1); exit 1; }; }
18557 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18558 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18559 Usually this means the macro was only invoked conditionally." >&5
18560 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18561 Usually this means the macro was only invoked conditionally." >&2;}
18562 { (exit 1); exit 1; }; }
18564 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
18565 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_USER\" was never defined.
18566 Usually this means the macro was only invoked conditionally." >&5
18567 $as_echo "$as_me: error: conditional \"CONFIG_USER\" was never defined.
18568 Usually this means the macro was only invoked conditionally." >&2;}
18569 { (exit 1); exit 1; }; }
18571 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
18572 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_KERNEL\" was never defined.
18573 Usually this means the macro was only invoked conditionally." >&5
18574 $as_echo "$as_me: error: conditional \"CONFIG_KERNEL\" was never defined.
18575 Usually this means the macro was only invoked conditionally." >&2;}
18576 { (exit 1); exit 1; }; }
18579 : ${CONFIG_STATUS=./config.status}
18581 ac_clean_files_save
=$ac_clean_files
18582 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18583 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18584 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18585 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18587 # Generated by $as_me.
18588 # Run this file to recreate the current configuration.
18589 # Compiler output produced by configure, useful for debugging
18590 # configure, is in config.log if it exists.
18593 ac_cs_recheck=false
18595 SHELL=\${CONFIG_SHELL-$SHELL}
18598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18599 ## --------------------- ##
18600 ## M4sh Initialization. ##
18601 ## --------------------- ##
18603 # Be more Bourne compatible
18604 DUALCASE
=1; export DUALCASE
# for MKS sh
18605 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18608 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18609 # is contrary to our usage. Disable this feature.
18610 alias -g '${1+"$@"}'='"$@"'
18611 setopt NO_GLOB_SUBST
18613 case `(set -o) 2>/dev/null` in
18614 *posix
*) set -o posix
;;
18623 # Avoid depending upon Character Ranges.
18624 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18625 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18626 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18627 as_cr_digits
='0123456789'
18628 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18633 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18634 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18635 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18636 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18637 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18638 as_echo='printf %s
\n'
18639 as_echo_n='printf %s
'
18641 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18642 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18643 as_echo_n='/usr
/ucb
/echo -n'
18645 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18646 as_echo_n_body='eval
18650 expr "X$arg" : "X\\(.*\\)$as_nl";
18651 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18653 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18655 export as_echo_n_body
18656 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18658 export as_echo_body
18659 as_echo='sh
-c $as_echo_body as_echo
'
18662 # The user is always right.
18663 if test "${PATH_SEPARATOR+set}" != set; then
18665 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18666 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18671 # Support unset when possible.
18672 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18680 # We need space, tab and new line, in precisely that order. Quoting is
18681 # there to prevent editors from complaining about space-tab.
18682 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18683 # splitting by setting IFS to empty value.)
18686 # Find who we are. Look in the path if we contain no directory separator.
18688 *[\\/]* ) as_myself=$0 ;;
18689 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18690 for as_dir in $PATH
18693 test -z "$as_dir" && as_dir=.
18694 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18700 # We did not find ourselves, most probably we were run as `sh COMMAND'
18701 # in which case we are not to be found in the path.
18702 if test "x$as_myself" = x
; then
18705 if test ! -f "$as_myself"; then
18706 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18707 { (exit 1); exit 1; }
18710 # Work around bugs in pre-3.0 UWIN ksh.
18711 for as_var
in ENV MAIL MAILPATH
18712 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
18724 # Required to use basename.
18725 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18726 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18732 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18733 as_basename
=basename
18739 # Name of the executable.
18740 as_me
=`$as_basename -- "$0" ||
18741 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18742 X"$0" : 'X\(//\)$' \| \
18743 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18745 sed '/^.*\/\([^/][^/]*\)\/*$/{
18764 as_lineno_1
=$LINENO
18765 as_lineno_2
=$LINENO
18766 test "x$as_lineno_1" != "x$as_lineno_2" &&
18767 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
18769 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18770 # uniformly replaced by the line number. The first 'sed' inserts a
18771 # line-number line after each line using $LINENO; the second 'sed'
18772 # does the real work. The second script uses 'N' to pair each
18773 # line-number line with the line containing $LINENO, and appends
18774 # trailing '-' during substitution so that $LINENO is not a special
18775 # case at line end.
18776 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18777 # scripts with optimization help from Paolo Bonzini. Blame Lee
18778 # E. McMahon (1931-1989) for sed's syntax. :-)
18790 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18793 ' >$as_me.lineno
&&
18794 chmod +x
"$as_me.lineno" ||
18795 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18796 { (exit 1); exit 1; }; }
18798 # Don't try to exec as it changes $[0], causing all sort of problems
18799 # (the dirname of $[0] is not the place where we might find the
18800 # original and so on. Autoconf is especially sensitive to this).
18801 .
"./$as_me.lineno"
18802 # Exit status is that of the last command.
18807 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18813 ECHO_C
= ECHO_N
= ECHO_T
=
18814 case `echo -n x` in
18816 case `echo 'x\c'` in
18817 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18823 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18824 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18830 rm -f conf$$ conf$$.exe conf$$.
file
18831 if test -d conf$$.dir
; then
18832 rm -f conf$$.dir
/conf$$.
file
18835 mkdir conf$$.dir
2>/dev
/null
18837 if (echo >conf$$.
file) 2>/dev
/null
; then
18838 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18840 # ... but there are two gotchas:
18841 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18842 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18843 # In both cases, we have to default to `cp -p'.
18844 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18846 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18854 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18855 rmdir conf$$.dir
2>/dev
/null
18857 if mkdir
-p .
2>/dev
/null
; then
18860 test -d .
/-p && rmdir .
/-p
18864 if test -x / >/dev
/null
2>&1; then
18865 as_test_x
='test -x'
18867 if ls -dL / >/dev
/null
2>&1; then
18874 if test -d "$1"; then
18880 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
18881 ???[sx]*):;;*)false;;esac;fi
18885 as_executable_p
=$as_test_x
18887 # Sed expression to map a string onto a valid CPP name.
18888 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18890 # Sed expression to map a string onto a valid variable name.
18891 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18896 # Save the log message, to keep $[0] and so on meaningful, and to
18897 # report actual input values of CONFIG_FILES etc. instead of their
18898 # values after options handling.
18900 This file was extended by $as_me, which was
18901 generated by GNU Autoconf 2.63. Invocation command line was
18903 CONFIG_FILES = $CONFIG_FILES
18904 CONFIG_HEADERS = $CONFIG_HEADERS
18905 CONFIG_LINKS = $CONFIG_LINKS
18906 CONFIG_COMMANDS = $CONFIG_COMMANDS
18909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18914 case $ac_config_files in *"
18915 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18918 case $ac_config_headers in *"
18919 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18924 # Files that config.status was made for.
18925 config_files="$ac_config_files"
18926 config_headers="$ac_config_headers"
18927 config_commands="$ac_config_commands"
18931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18933 \`$as_me' instantiates files from templates according to the
18934 current configuration.
18936 Usage: $0 [OPTION]... [FILE]...
18938 -h, --help print this help, then exit
18939 -V, --version print version number and configuration settings, then exit
18940 -q, --quiet, --silent
18941 do not print progress messages
18942 -d, --debug don't remove temporary files
18943 --recheck update $as_me by reconfiguring in the same conditions
18944 --file=FILE[:TEMPLATE]
18945 instantiate the configuration file FILE
18946 --header=FILE[:TEMPLATE]
18947 instantiate the configuration header FILE
18949 Configuration files:
18952 Configuration headers:
18955 Configuration commands:
18958 Report bugs to <bug-autoconf@gnu.org>."
18961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18964 configured by $0, generated by GNU Autoconf 2.63,
18965 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18967 Copyright (C) 2008 Free Software Foundation, Inc.
18968 This config.status script is free software; the Free Software Foundation
18969 gives unlimited permission to copy, distribute and modify it."
18976 test -n "\$AWK" || AWK=awk
18979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18980 # The default lists apply if the user does not specify any file.
18986 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18987 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18998 # Handling of the options.
18999 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19001 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19002 $as_echo "$ac_cs_version"; exit ;;
19003 --debug |
--debu |
--deb |
--de |
--d |
-d )
19005 --file |
--fil |
--fi |
--f )
19008 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19010 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
19011 ac_need_defaults
=false
;;
19012 --header |
--heade |
--head |
--hea )
19015 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19017 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
19018 ac_need_defaults
=false
;;
19020 # Conflict between --help and --header
19021 { $as_echo "$as_me: error: ambiguous option: $1
19022 Try \`$0 --help' for more information." >&2
19023 { (exit 1); exit 1; }; };;
19024 --help |
--hel |
-h )
19025 $as_echo "$ac_cs_usage"; exit ;;
19026 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19027 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19030 # This is an error.
19031 -*) { $as_echo "$as_me: error: unrecognized option: $1
19032 Try \`$0 --help' for more information." >&2
19033 { (exit 1); exit 1; }; } ;;
19035 *) ac_config_targets
="$ac_config_targets $1"
19036 ac_need_defaults
=false
;;
19042 ac_configure_extra_args
=
19044 if $ac_cs_silent; then
19046 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19051 if \$ac_cs_recheck; then
19052 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19054 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19055 CONFIG_SHELL='$SHELL'
19056 export CONFIG_SHELL
19061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19065 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19066 ## Running $as_me. ##
19072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19076 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19079 # The HP-UX ksh and POSIX shell print the target directory to stdout
19080 # if CDPATH is set.
19081 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19083 sed_quote_subst='$sed_quote_subst'
19084 double_quote_subst='$double_quote_subst'
19085 delay_variable_subst='$delay_variable_subst'
19086 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19087 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19088 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19089 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19090 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19091 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19092 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19093 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19094 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19095 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19096 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19097 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19098 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19099 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19100 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19101 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19102 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19103 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19104 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19105 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19106 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19107 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19108 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19109 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19110 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19111 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19112 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19113 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19114 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19115 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19116 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19117 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19118 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19119 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19120 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19121 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19122 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19123 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19124 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19125 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19126 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19127 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19128 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19129 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19130 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"`'
19131 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"`'
19132 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19133 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19134 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19135 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19136 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19137 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19138 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19139 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19140 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19141 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19142 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19143 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19144 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19145 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19146 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19147 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19148 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19149 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19150 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19151 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19152 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19153 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19154 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19155 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19156 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19157 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19158 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19159 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19160 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19161 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19162 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19163 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19164 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19165 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19166 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19167 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19168 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19169 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19170 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19171 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19172 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19173 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19174 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19175 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19176 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19177 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19178 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19179 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19180 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19181 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19182 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19183 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19184 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19185 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19186 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19187 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19188 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19189 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19190 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19191 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19192 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19193 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19194 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19195 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19196 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19197 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19198 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19199 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19200 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19201 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19202 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19203 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19206 LTCFLAGS='$LTCFLAGS'
19207 compiler='$compiler_DEFAULT'
19209 # Quote evaled strings.
19221 deplibs_check_method \
19230 lt_cv_sys_global_symbol_pipe \
19231 lt_cv_sys_global_symbol_to_cdecl \
19232 lt_cv_sys_global_symbol_to_c_name_address \
19233 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19236 lt_prog_compiler_no_builtin_flag \
19237 lt_prog_compiler_wl \
19238 lt_prog_compiler_pic \
19239 lt_prog_compiler_static \
19240 lt_cv_prog_compiler_c_o \
19248 export_dynamic_flag_spec \
19249 whole_archive_flag_spec \
19250 compiler_needs_object \
19252 allow_undefined_flag \
19253 no_undefined_flag \
19254 hardcode_libdir_flag_spec \
19255 hardcode_libdir_flag_spec_ld \
19256 hardcode_libdir_separator \
19261 variables_saved_for_relink \
19263 library_names_spec \
19268 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19269 *[\\\\\\\`\\"\\\$]*)
19270 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19273 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19278 # Double-quote double-evaled strings.
19279 for var in reload_cmds \
19280 old_postinstall_cmds \
19281 old_postuninstall_cmds \
19283 extract_expsyms_cmds \
19284 old_archive_from_new_cmds \
19285 old_archive_from_expsyms_cmds \
19287 archive_expsym_cmds \
19289 module_expsym_cmds \
19290 export_symbols_cmds \
19293 postuninstall_cmds \
19295 sys_lib_search_path_spec \
19296 sys_lib_dlsearch_path_spec; do
19297 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19298 *[\\\\\\\`\\"\\\$]*)
19299 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19302 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19307 # Fix-up fallback echo if it was mangled by the above quoting rules.
19309 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19313 ac_aux_dir='$ac_aux_dir'
19314 xsi_shell='$xsi_shell'
19315 lt_shell_append='$lt_shell_append'
19317 # See if we are running on zsh, and set the options which allow our
19318 # commands through without removal of \ escapes INIT.
19319 if test -n "\${ZSH_VERSION+set}" ; then
19320 setopt NO_GLOB_SUBST
19326 TIMESTAMP='$TIMESTAMP'
19335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19337 # Handling of arguments.
19338 for ac_config_target
in $ac_config_targets
19340 case $ac_config_target in
19341 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
19342 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19343 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19344 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19345 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19346 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
19347 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
19348 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
19349 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
19350 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19351 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19352 "spl.spec") CONFIG_FILES
="$CONFIG_FILES spl.spec" ;;
19353 "spl-modules.spec") CONFIG_FILES
="$CONFIG_FILES spl-modules.spec" ;;
19355 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19356 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19357 { (exit 1); exit 1; }; };;
19362 # If the user did not use the arguments to specify the items to instantiate,
19363 # then the envvar interface is used. Set only those that are not.
19364 # We use the long form for the default assignment because of an extremely
19365 # bizarre bug on SunOS 4.1.3.
19366 if $ac_need_defaults; then
19367 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19368 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19369 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19372 # Have a temporary directory for convenience. Make it in the build tree
19373 # simply because there is no reason against having it here, and in addition,
19374 # creating and moving files from /tmp can sometimes cause problems.
19375 # Hook for its removal unless debugging.
19376 # Note that there is a small window in which the directory will not be cleaned:
19377 # after its creation but before its name has been assigned to `$tmp'.
19381 trap 'exit_status=$?
19382 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19384 trap '{ (exit 1); exit 1; }' 1 2 13 15
19386 # Create a (secure) tmp directory for tmp files.
19389 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19390 test -n "$tmp" && test -d "$tmp"
19393 tmp
=.
/conf$$
-$RANDOM
19394 (umask 077 && mkdir
"$tmp")
19397 $as_echo "$as_me: cannot create a temporary directory in ." >&2
19398 { (exit 1); exit 1; }
19401 # Set up the scripts for CONFIG_FILES section.
19402 # No need to generate them if there are no CONFIG_FILES.
19403 # This happens for instance with `./config.status config.h'.
19404 if test -n "$CONFIG_FILES"; then
19408 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19409 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19412 ac_cs_awk_cr
=$ac_cr
19415 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19420 echo "cat >conf$$subs.awk <<_ACEOF" &&
19421 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19423 } >conf$$subs.sh ||
19424 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19425 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19426 { (exit 1); exit 1; }; }
19427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
19429 for ac_last_try in false false false false false :; do
19430 . ./conf$$subs.sh ||
19431 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19432 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19433 { (exit 1); exit 1; }; }
19435 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19436 if test $ac_delim_n = $ac_delim_num; then
19438 elif $ac_last_try; then
19439 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
19440 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
19441 { (exit 1); exit 1; }; }
19443 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19446 rm -f conf$$subs.sh
19448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19449 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
19453 s/^/S["/; s
/!.
*/"]=/
19463 s/\(.\{148\}\).*/\1/
19465 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19470 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19477 s/\(.\{148\}\).*/\1/
19479 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19483 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19488 ' <conf$$subs.awk | sed '
19493 ' >>$CONFIG_STATUS || ac_write_fail=1
19494 rm -f conf$$subs.awk
19495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19497 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
19498 for (key in S) S_is_set[key] = 1
19504 nfields = split(line, field, "@
")
19506 len = length(field[1])
19507 for (i = 2; i < nfields; i++) {
19509 keylen = length(key)
19510 if (S_is_set[key]) {
19512 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19513 len += length(value) + length(field[++i])
19524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19525 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19526 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19529 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
19530 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
19531 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
19532 { (exit 1); exit 1; }; }
19535 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19536 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
19537 # trailing colons and then remove the whole line if VPATH becomes empty
19538 # (actually we leave an empty line to preserve line numbers).
19539 if test "x
$srcdir" = x.; then
19540 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19541 s/:*\$(srcdir):*/:/
19542 s/:*\${srcdir}:*/:/
19544 s/^\([^=]*=[ ]*\):*/\1/
19550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19551 fi # test -n "$CONFIG_FILES"
19553 # Set up the scripts for CONFIG_HEADERS section.
19554 # No need to generate them if there are no CONFIG_HEADERS.
19555 # This happens for instance with `./config.status Makefile'.
19556 if test -n "$CONFIG_HEADERS"; then
19557 cat >"$tmp/defines.
awk" <<\_ACAWK ||
19561 # Transform confdefs.h into an awk script `defines.awk', embedded as
19562 # here-document in config.status, that substitutes the proper values into
19563 # config.h.in to produce config.h.
19565 # Create a delimiter string that does not exist in confdefs.h, to ease
19566 # handling of long lines.
19568 for ac_last_try in false false :; do
19569 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
19570 if test -z "$ac_t"; then
19572 elif $ac_last_try; then
19573 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
19574 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
19575 { (exit 1); exit 1; }; }
19577 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19581 # For the awk script, D is an array of macro values keyed by name,
19582 # likewise P contains macro parameters if any. Preserve backslash
19583 # newline sequences.
19585 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19587 s/.\{148\}/&'"$ac_delim"'/g
19590 s/^[ ]*#[ ]*define[ ][ ]*/ /
19597 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19599 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19604 D["\
1"]=" \
3\\\\\\n
"\\/p
19606 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19611 s/.\{148\}/&'"$ac_delim"'/g
19616 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19619 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19621 ' <confdefs.h | sed '
19622 s/'"$ac_delim"'/"\\\
19623 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19626 for (key in D) D_is_set[key] = 1
19629 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19631 split(line, arg, " ")
19632 if (arg[1] == "#") {
19636 defundef
= substr
(arg
[1], 2)
19639 split(mac1
, mac2
, "(") #)
19641 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19642 if (D_is_set
[macro
]) {
19643 # Preserve the white space surrounding the "#".
19644 print prefix
"define", macro P
[macro
] D
[macro
]
19647 # Replace #undef with comments. This is necessary, for example,
19648 # in the case of _POSIX_SOURCE, which is predefined and required
19649 # on some systems where configure will not decide to define it.
19650 if (defundef
== "undef") {
19651 print
"/*", prefix defundef
, macro
, "*/"
19659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19660 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19661 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19662 { (exit 1); exit 1; }; }
19663 fi # test -n "$CONFIG_HEADERS"
19666 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19671 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19673 case $ac_mode$ac_tag in
19675 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19676 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19677 { (exit 1); exit 1; }; };;
19678 :[FH
]-) ac_tag
=-:-;;
19679 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19696 -) ac_f
="$tmp/stdin";;
19697 *) # Look for the file first in the build tree, then in the source tree
19698 # (if the path is not absolute). The absolute path cannot be DOS-style,
19699 # because $ac_f cannot contain `:'.
19703 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19705 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19706 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19707 { (exit 1); exit 1; }; };;
19709 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19710 ac_file_inputs
="$ac_file_inputs '$ac_f'"
19713 # Let's still pretend it is `configure' which instantiates (i.e., don't
19714 # use $as_me), people would be surprised to read:
19715 # /* config.h. Generated by config.status. */
19716 configure_input
='Generated from '`
19717 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19719 if test x
"$ac_file" != x-
; then
19720 configure_input
="$ac_file. $configure_input"
19721 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
19722 $as_echo "$as_me: creating $ac_file" >&6;}
19724 # Neutralize special characters interpreted by sed in replacement strings.
19725 case $configure_input in #(
19726 *\
&* |
*\|
* |
*\\* )
19727 ac_sed_conf_input
=`$as_echo "$configure_input" |
19728 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19729 *) ac_sed_conf_input
=$configure_input;;
19733 *:-:* |
*:-) cat >"$tmp/stdin" \
19734 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19735 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19736 { (exit 1); exit 1; }; } ;;
19741 ac_dir
=`$as_dirname -- "$ac_file" ||
19742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19743 X"$ac_file" : 'X\(//\)[^/]' \| \
19744 X"$ac_file" : 'X\(//\)$' \| \
19745 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19746 $as_echo X"$ac_file" |
19747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19751 /^X\(\/\/\)[^/].*/{
19766 -*) as_dir
=.
/$as_dir;;
19768 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
19772 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19773 *) as_qdir
=$as_dir;;
19775 as_dirs
="'$as_qdir' $as_dirs"
19776 as_dir
=`$as_dirname -- "$as_dir" ||
19777 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19778 X"$as_dir" : 'X\(//\)[^/]' \| \
19779 X"$as_dir" : 'X\(//\)$' \| \
19780 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19781 $as_echo X"$as_dir" |
19782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19786 /^X\(\/\/\)[^/].*/{
19799 test -d "$as_dir" && break
19801 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19802 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19803 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19804 { (exit 1); exit 1; }; }; }
19808 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19810 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19811 # A ".." for each directory in $ac_dir_suffix.
19812 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19813 case $ac_top_builddir_sub in
19814 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19815 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19818 ac_abs_top_builddir
=$ac_pwd
19819 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19820 # for backward compatibility:
19821 ac_top_builddir
=$ac_top_build_prefix
19824 .
) # We are building in place.
19826 ac_top_srcdir
=$ac_top_builddir_sub
19827 ac_abs_top_srcdir
=$ac_pwd ;;
19828 [\\/]* | ?
:[\\/]* ) # Absolute name.
19829 ac_srcdir
=$srcdir$ac_dir_suffix;
19830 ac_top_srcdir
=$srcdir
19831 ac_abs_top_srcdir
=$srcdir ;;
19832 *) # Relative name.
19833 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19834 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19835 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19837 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19847 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19848 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19850 ac_MKDIR_P
=$MKDIR_P
19852 [\\/$
]* | ?
:[\\/]* ) ;;
19853 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19858 # If the template does not know about datarootdir, expand it.
19859 # FIXME: This hack should be removed a few years after 2.60.
19860 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19873 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19874 *datarootdir
*) ac_datarootdir_seen
=yes;;
19875 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19876 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19877 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19880 ac_datarootdir_hack='
19881 s&@datadir@&$datadir&g
19882 s&@docdir@&$docdir&g
19883 s&@infodir@&$infodir&g
19884 s&@localedir@&$localedir&g
19885 s&@mandir@&$mandir&g
19886 s&\\\${datarootdir}&$datarootdir&g' ;;
19890 # Neutralize VPATH when `$srcdir' = `.'.
19891 # Shell code in configure.ac might set extrasub.
19892 # FIXME: do we really want to maintain this feature?
19893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19894 ac_sed_extra="$ac_vpsub
19897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19899 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19900 s|@configure_input@|
$ac_sed_conf_input|
;t t
19901 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19902 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19903 s
&@srcdir@
&$ac_srcdir&;t t
19904 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19905 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19906 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19907 s
&@builddir@
&$ac_builddir&;t t
19908 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19909 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19910 s
&@INSTALL@
&$ac_INSTALL&;t t
19911 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19912 $ac_datarootdir_hack
19914 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19915 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
19916 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
19917 { (exit 1); exit 1; }; }
19919 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19920 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19921 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19922 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19923 which seems to be undefined. Please make sure it is defined." >&5
19924 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19925 which seems to be undefined. Please make sure it is defined." >&2;}
19929 -) cat "$tmp/out" && rm -f "$tmp/out";;
19930 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19932 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19933 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19934 { (exit 1); exit 1; }; }
19940 if test x"$ac_file" != x-; then
19942 $as_echo "/* $configure_input */" \
19943 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19944 } >"$tmp/config.h" \
19945 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19946 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19947 { (exit 1); exit 1; }; }
19948 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19949 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19950 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19953 mv "$tmp/config.h" "$ac_file" \
19954 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19955 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19956 { (exit 1); exit 1; }; }
19959 $as_echo "/* $configure_input */" \
19960 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19961 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19962 $as_echo "$as_me: error: could not create -" >&2;}
19963 { (exit 1); exit 1; }; }
19965 # Compute "$ac_file"'s index
in $config_headers.
19968 for _am_header
in $config_headers :; do
19969 case $_am_header in
19970 $_am_arg |
$_am_arg:* )
19973 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19976 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19977 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19978 X"$_am_arg" : 'X\(//\)[^/]' \| \
19979 X"$_am_arg" : 'X\(//\)$' \| \
19980 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19981 $as_echo X"$_am_arg" |
19982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19986 /^X\(\/\/\)[^/].*/{
19998 s/.*/./; q'`/stamp-h
$_am_stamp_count
20001 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
20002 $as_echo "$as_me: executing $ac_file commands" >&6;}
20007 case $ac_file$ac_mode in
20009 (mv spl_config.h spl_config.h.tmp
&&
20010 awk -f config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
20011 rm spl_config.h.tmp
) ||
exit 1 ;;
20012 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
20013 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20014 # are listed without --file. Let's play safe and only enable the eval
20015 # if we detect the quoting.
20016 case $CONFIG_FILES in
20017 *\'*) eval set x
"$CONFIG_FILES" ;;
20018 *) set x
$CONFIG_FILES ;;
20023 # Strip MF so we end up with the name of the file.
20024 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20025 # Check whether this is an Automake generated Makefile or not.
20026 # We used to match only the files named `Makefile.in', but
20027 # some people rename them; so instead we look at the file content.
20028 # Grep'ing the first line is not enough: some people post-process
20029 # each Makefile.in and add a new line on top of each file to say so.
20030 # Grep'ing the whole file is not good either: AIX grep has a line
20031 # limit of 2048, but all sed's we know have understand at least 4000.
20032 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20033 dirpart
=`$as_dirname -- "$mf" ||
20034 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20035 X"$mf" : 'X\(//\)[^/]' \| \
20036 X"$mf" : 'X\(//\)$' \| \
20037 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20043 /^X\(\/\/\)[^/].*/{
20059 # Extract the definition of DEPDIR, am__include, and am__quote
20060 # from the Makefile without running `make'.
20061 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20062 test -z "$DEPDIR" && continue
20063 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20064 test -z "am__include" && continue
20065 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20066 # When using ansi2knr, U may be empty or an underscore; expand it
20067 U
=`sed -n 's/^U = //p' < "$mf"`
20068 # Find all dependency output files, they are included files with
20069 # $(DEPDIR) in their names. We invoke sed twice because it is the
20070 # simplest approach to changing $(DEPDIR) to its actual value in the
20072 for file in `sed -n "
20073 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20074 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20075 # Make sure the directory exists.
20076 test -f "$dirpart/$file" && continue
20077 fdir
=`$as_dirname -- "$file" ||
20078 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20079 X"$file" : 'X\(//\)[^/]' \| \
20080 X"$file" : 'X\(//\)$' \| \
20081 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20082 $as_echo X"$file" |
20083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20087 /^X\(\/\/\)[^/].*/{
20100 { as_dir
=$dirpart/$fdir
20102 -*) as_dir
=.
/$as_dir;;
20104 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20108 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20109 *) as_qdir
=$as_dir;;
20111 as_dirs
="'$as_qdir' $as_dirs"
20112 as_dir
=`$as_dirname -- "$as_dir" ||
20113 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20114 X"$as_dir" : 'X\(//\)[^/]' \| \
20115 X"$as_dir" : 'X\(//\)$' \| \
20116 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20117 $as_echo X"$as_dir" |
20118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20122 /^X\(\/\/\)[^/].*/{
20135 test -d "$as_dir" && break
20137 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20138 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20139 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20140 { (exit 1); exit 1; }; }; }
20141 # echo "creating $dirpart/$file"
20142 echo '# dummy' > "$dirpart/$file"
20149 # See if we are running on zsh, and set the options which allow our
20150 # commands through without removal of \ escapes.
20151 if test -n "${ZSH_VERSION+set}" ; then
20152 setopt NO_GLOB_SUBST
20155 cfgfile
="${ofile}T"
20156 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20159 cat <<_LT_EOF >> "$cfgfile"
20162 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20163 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20164 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20165 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20167 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20168 # 2006, 2007, 2008 Free Software Foundation, Inc.
20169 # Written by Gordon Matzigkeit, 1996
20171 # This file is part of GNU Libtool.
20173 # GNU Libtool is free software; you can redistribute it and/or
20174 # modify it under the terms of the GNU General Public License as
20175 # published by the Free Software Foundation; either version 2 of
20176 # the License, or (at your option) any later version.
20178 # As a special exception to the GNU General Public License,
20179 # if you distribute this file as part of a program or library that
20180 # is built using GNU Libtool, you may include this file under the
20181 # same distribution terms that you use for the rest of that program.
20183 # GNU Libtool is distributed in the hope that it will be useful,
20184 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20185 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20186 # GNU General Public License for more details.
20188 # You should have received a copy of the GNU General Public License
20189 # along with GNU Libtool; see the file COPYING. If not, a copy
20190 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20191 # obtained by writing to the Free Software Foundation, Inc.,
20192 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20195 # The names of the tagged configurations supported by this script.
20198 # ### BEGIN LIBTOOL CONFIG
20200 # Which release of libtool.m4 was used?
20201 macro_version=$macro_version
20202 macro_revision=$macro_revision
20204 # Whether or not to build shared libraries.
20205 build_libtool_libs=$enable_shared
20207 # Whether or not to build static libraries.
20208 build_old_libs=$enable_static
20210 # What type of objects to build.
20213 # Whether or not to optimize for fast installation.
20214 fast_install=$enable_fast_install
20217 host_alias=$host_alias
20221 # The build system.
20222 build_alias=$build_alias
20226 # A sed program that does not truncate output.
20229 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20230 Xsed="\$SED -e 1s/^X//"
20232 # A grep program that handles long lines.
20238 # A literal string matcher.
20241 # A BSD- or MS-compatible name lister.
20244 # Whether we need soft or hard links.
20247 # What is the maximum length of a command?
20248 max_cmd_len=$max_cmd_len
20250 # Object file suffix (normally "o").
20253 # Executable file suffix (normally "").
20256 # whether the shell understands "unset".
20259 # turn spaces into newlines.
20262 # turn newlines into spaces.
20265 # How to create reloadable object files.
20266 reload_flag=$lt_reload_flag
20267 reload_cmds=$lt_reload_cmds
20269 # An object symbol dumper.
20270 OBJDUMP=$lt_OBJDUMP
20272 # Method to check whether dependent libraries are shared objects.
20273 deplibs_check_method=$lt_deplibs_check_method
20275 # Command to use when deplibs_check_method == "file_magic".
20276 file_magic_cmd=$lt_file_magic_cmd
20280 AR_FLAGS=$lt_AR_FLAGS
20282 # A symbol stripping program.
20285 # Commands used to install an old-style archive.
20287 old_postinstall_cmds=$lt_old_postinstall_cmds
20288 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20293 # LTCC compiler flags.
20294 LTCFLAGS=$lt_CFLAGS
20296 # Take the output of nm and produce a listing of raw symbols and C names.
20297 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20299 # Transform the output of nm in a proper C declaration.
20300 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20302 # Transform the output of nm in a C name address pair.
20303 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20305 # Transform the output of nm in a C name address pair when lib prefix is needed.
20306 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20308 # The name of the directory that contains temporary libtool files.
20311 # Shell to use when invoking shell scripts.
20314 # An echo program that does not interpret backslashes.
20317 # Used to examine libraries when file_magic_cmd begins with "file".
20318 MAGIC_CMD=$MAGIC_CMD
20320 # Must we lock files when doing compilation?
20321 need_locks=$lt_need_locks
20323 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20324 DSYMUTIL=$lt_DSYMUTIL
20326 # Tool to change global to local symbols on Mac OS X.
20329 # Tool to manipulate fat objects and archives on Mac OS X.
20332 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20335 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20336 OTOOL64=$lt_OTOOL64
20338 # Old archive suffix (normally "a").
20341 # Shared library suffix (normally ".so").
20342 shrext_cmds=$lt_shrext_cmds
20344 # The commands to extract the exported symbol list from a shared archive.
20345 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20347 # Variables whose values should be saved in libtool wrapper scripts and
20348 # restored at link time.
20349 variables_saved_for_relink=$lt_variables_saved_for_relink
20351 # Do we need the "lib" prefix for modules?
20352 need_lib_prefix=$need_lib_prefix
20354 # Do we need a version for libraries?
20355 need_version=$need_version
20357 # Library versioning type.
20358 version_type=$version_type
20360 # Shared library runtime path variable.
20361 runpath_var=$runpath_var
20363 # Shared library path variable.
20364 shlibpath_var=$shlibpath_var
20366 # Is shlibpath searched before the hard-coded library search path?
20367 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20369 # Format of library name prefix.
20370 libname_spec=$lt_libname_spec
20372 # List of archive names. First name is the real one, the rest are links.
20373 # The last name is the one that the linker finds with -lNAME
20374 library_names_spec=$lt_library_names_spec
20376 # The coded name of the library, if different from the real name.
20377 soname_spec=$lt_soname_spec
20379 # Command to use after installation of a shared archive.
20380 postinstall_cmds=$lt_postinstall_cmds
20382 # Command to use after uninstallation of a shared archive.
20383 postuninstall_cmds=$lt_postuninstall_cmds
20385 # Commands used to finish a libtool library installation in a directory.
20386 finish_cmds=$lt_finish_cmds
20388 # As "finish_cmds", except a single script fragment to be evaled but
20390 finish_eval=$lt_finish_eval
20392 # Whether we should hardcode library paths into libraries.
20393 hardcode_into_libs=$hardcode_into_libs
20395 # Compile-time system search path for libraries.
20396 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20398 # Run-time system search path for libraries.
20399 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20401 # Whether dlopen is supported.
20402 dlopen_support=$enable_dlopen
20404 # Whether dlopen of programs is supported.
20405 dlopen_self=$enable_dlopen_self
20407 # Whether dlopen of statically linked programs is supported.
20408 dlopen_self_static=$enable_dlopen_self_static
20410 # Commands to strip libraries.
20411 old_striplib=$lt_old_striplib
20412 striplib=$lt_striplib
20415 # The linker used to build libraries.
20418 # Commands used to build an old-style archive.
20419 old_archive_cmds=$lt_old_archive_cmds
20421 # A language specific compiler.
20424 # Is the compiler the GNU compiler?
20427 # Compiler flag to turn off builtin functions.
20428 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20430 # How to pass a linker flag through the compiler.
20431 wl=$lt_lt_prog_compiler_wl
20433 # Additional compiler flags for building library objects.
20434 pic_flag=$lt_lt_prog_compiler_pic
20436 # Compiler flag to prevent dynamic linking.
20437 link_static_flag=$lt_lt_prog_compiler_static
20439 # Does compiler simultaneously support -c and -o options?
20440 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20442 # Whether or not to add -lc for building shared libraries.
20443 build_libtool_need_lc=$archive_cmds_need_lc
20445 # Whether or not to disallow shared libs when runtime libs are static.
20446 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20448 # Compiler flag to allow reflexive dlopens.
20449 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20451 # Compiler flag to generate shared objects directly from archives.
20452 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20454 # Whether the compiler copes with passing no objects directly.
20455 compiler_needs_object=$lt_compiler_needs_object
20457 # Create an old-style archive from a shared archive.
20458 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20460 # Create a temporary old-style archive to link instead of a shared archive.
20461 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20463 # Commands used to build a shared archive.
20464 archive_cmds=$lt_archive_cmds
20465 archive_expsym_cmds=$lt_archive_expsym_cmds
20467 # Commands used to build a loadable module if different from building
20468 # a shared archive.
20469 module_cmds=$lt_module_cmds
20470 module_expsym_cmds=$lt_module_expsym_cmds
20472 # Whether we are building with GNU ld or not.
20473 with_gnu_ld=$lt_with_gnu_ld
20475 # Flag that allows shared libraries with undefined symbols to be built.
20476 allow_undefined_flag=$lt_allow_undefined_flag
20478 # Flag that enforces no undefined symbols.
20479 no_undefined_flag=$lt_no_undefined_flag
20481 # Flag to hardcode \$libdir into a binary during linking.
20482 # This must work even if \$libdir does not exist
20483 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20485 # If ld is used when linking, flag to hardcode \$libdir into a binary
20486 # during linking. This must work even if \$libdir does not exist.
20487 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20489 # Whether we need a single "-rpath" flag with a separated argument.
20490 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20492 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20493 # DIR into the resulting binary.
20494 hardcode_direct=$hardcode_direct
20496 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20497 # DIR into the resulting binary and the resulting library dependency is
20498 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20499 # library is relocated.
20500 hardcode_direct_absolute=$hardcode_direct_absolute
20502 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20503 # into the resulting binary.
20504 hardcode_minus_L=$hardcode_minus_L
20506 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20507 # into the resulting binary.
20508 hardcode_shlibpath_var=$hardcode_shlibpath_var
20510 # Set to "yes" if building a shared library automatically hardcodes DIR
20511 # into the library and all subsequent libraries and executables linked
20513 hardcode_automatic=$hardcode_automatic
20515 # Set to yes if linker adds runtime paths of dependent libraries
20516 # to runtime path list.
20517 inherit_rpath=$inherit_rpath
20519 # Whether libtool must link a program against all its dependency libraries.
20520 link_all_deplibs=$link_all_deplibs
20522 # Fix the shell variable \$srcfile for the compiler.
20523 fix_srcfile_path=$lt_fix_srcfile_path
20525 # Set to "yes" if exported symbols are required.
20526 always_export_symbols=$always_export_symbols
20528 # The commands to list exported symbols.
20529 export_symbols_cmds=$lt_export_symbols_cmds
20531 # Symbols that should not be listed in the preloaded symbols.
20532 exclude_expsyms=$lt_exclude_expsyms
20534 # Symbols that must always be exported.
20535 include_expsyms=$lt_include_expsyms
20537 # Commands necessary for linking programs (against libraries) with templates.
20538 prelink_cmds=$lt_prelink_cmds
20540 # Specify filename containing input files.
20541 file_list_spec=$lt_file_list_spec
20543 # How to hardcode a shared library path into an executable.
20544 hardcode_action=$hardcode_action
20546 # ### END LIBTOOL CONFIG
20552 cat <<\_LT_EOF
>> "$cfgfile"
20553 # AIX sometimes has problems with the GCC collect2 program. For some
20554 # reason, if we set the COLLECT_NAMES environment variable, the problems
20555 # vanish in a puff of smoke.
20556 if test "X${COLLECT_NAMES+set}" != Xset
; then
20558 export COLLECT_NAMES
20565 ltmain
="$ac_aux_dir/ltmain.sh"
20568 # We use sed instead of cat because bash on DJGPP gets confused if
20569 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20570 # text mode, it properly converts lines to CR/LF. This bash problem
20571 # is reportedly fixed, but why not run on old versions too?
20572 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20573 ||
(rm -f "$cfgfile"; exit 1)
20577 cat << \_LT_EOF
>> "$cfgfile"
20579 # func_dirname file append nondir_replacement
20580 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20581 # otherwise set result to NONDIR_REPLACEMENT.
20585 */*) func_dirname_result
="${1%/*}${2}" ;;
20586 * ) func_dirname_result
="${3}" ;;
20590 # func_basename file
20593 func_basename_result
="${1##*/}"
20596 # func_dirname_and_basename file append nondir_replacement
20597 # perform func_basename and func_dirname in a single function
20599 # dirname: Compute the dirname of FILE. If nonempty,
20600 # add APPEND to the result, otherwise set result
20601 # to NONDIR_REPLACEMENT.
20602 # value returned in "$func_dirname_result"
20603 # basename: Compute filename of FILE.
20604 # value retuned in "$func_basename_result"
20605 # Implementation must be kept synchronized with func_dirname
20606 # and func_basename. For efficiency, we do not delegate to
20607 # those functions but instead duplicate the functionality here.
20608 func_dirname_and_basename
()
20611 */*) func_dirname_result
="${1%/*}${2}" ;;
20612 * ) func_dirname_result
="${3}" ;;
20614 func_basename_result
="${1##*/}"
20617 # func_stripname prefix suffix name
20618 # strip PREFIX and SUFFIX off of NAME.
20619 # PREFIX and SUFFIX must not contain globbing or regex special
20620 # characters, hashes, percent signs, but SUFFIX may contain a leading
20621 # dot (in which case that matches only a dot).
20624 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20625 # positional parameters, so assign one to ordinary parameter first.
20626 func_stripname_result
=${3}
20627 func_stripname_result
=${func_stripname_result#"${1}"}
20628 func_stripname_result
=${func_stripname_result%"${2}"}
20634 func_opt_split_opt
=${1%%=*}
20635 func_opt_split_arg
=${1#*=}
20642 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20643 *) func_lo2o_result
=${1} ;;
20647 # func_xform libobj-or-source
20650 func_xform_result
=${1%.*}.lo
20653 # func_arith arithmetic-term...
20656 func_arith_result
=$
(( $
* ))
20660 # STRING may not start with a hyphen.
20663 func_len_result
=${#1}
20668 *) # Bourne compatible functions.
20669 cat << \_LT_EOF
>> "$cfgfile"
20671 # func_dirname file append nondir_replacement
20672 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20673 # otherwise set result to NONDIR_REPLACEMENT.
20676 # Extract subdirectory from the argument.
20677 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20678 if test "X$func_dirname_result" = "X${1}"; then
20679 func_dirname_result
="${3}"
20681 func_dirname_result
="$func_dirname_result${2}"
20685 # func_basename file
20688 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
20692 # func_stripname prefix suffix name
20693 # strip PREFIX and SUFFIX off of NAME.
20694 # PREFIX and SUFFIX must not contain globbing or regex special
20695 # characters, hashes, percent signs, but SUFFIX may contain a leading
20696 # dot (in which case that matches only a dot).
20697 # func_strip_suffix prefix name
20701 .
*) func_stripname_result
=`$ECHO "X${3}" \
20702 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20703 *) func_stripname_result
=`$ECHO "X${3}" \
20704 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20709 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20710 my_sed_long_arg
='1s/^-[^=]*=//'
20715 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20716 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20722 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20725 # func_xform libobj-or-source
20728 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20731 # func_arith arithmetic-term...
20734 func_arith_result
=`expr "$@"`
20738 # STRING may not start with a hyphen.
20741 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20747 case $lt_shell_append in
20749 cat << \_LT_EOF
>> "$cfgfile"
20751 # func_append var value
20752 # Append VALUE to the end of shell variable VAR.
20760 cat << \_LT_EOF
>> "$cfgfile"
20762 # func_append var value
20763 # Append VALUE to the end of shell variable VAR.
20774 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20775 ||
(rm -f "$cfgfile"; exit 1)
20777 mv -f "$cfgfile" "$ofile" ||
20778 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20787 { (exit 0); exit 0; }
20789 chmod +x
$CONFIG_STATUS
20790 ac_clean_files
=$ac_clean_files_save
20792 test $ac_write_fail = 0 ||
20793 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
20794 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
20795 { (exit 1); exit 1; }; }
20798 # configure is writing to config.log, and then calls config.status.
20799 # config.status does its own redirection, appending to config.log.
20800 # Unfortunately, on DOS this fails, as config.log is still kept open
20801 # by configure, so config.status won't be able to write to it; its
20802 # output is simply discarded. So we exec the FD to /dev/null,
20803 # effectively closing config.log, so it can be properly (re)opened and
20804 # appended to by config.status. When coming back to configure, we
20805 # need to make the FD available again.
20806 if test "$no_create" != yes; then
20808 ac_config_status_args
=
20809 test "$silent" = yes &&
20810 ac_config_status_args
="$ac_config_status_args --quiet"
20812 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20814 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20815 # would make configure fail if this is the last instruction.
20816 $ac_cs_success ||
{ (exit 1); exit 1; }
20818 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20819 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20820 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}