2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for spl 0.7.3.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (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 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
589 PACKAGE_TARNAME
='spl'
590 PACKAGE_VERSION
='0.7.3'
591 PACKAGE_STRING
='spl 0.7.3'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars
='am__EXEEXT_FALSE
723 INSTALL_STRIP_PROGRAM
743 MAINTAINER_MODE_FALSE
797 program_transform_name
810 enable_option_checking
811 enable_maintainer_mode
813 enable_dependency_tracking
829 enable_debug_kmem_tracking
830 enable_atomic_spinlocks
832 ac_precious_vars
='build_alias
844 # Initialize some variables set by options.
846 ac_init_version
=false
847 ac_unrecognized_opts
=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name
=s
,x
,x
,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir
='${exec_prefix}/bin'
873 sbindir
='${exec_prefix}/sbin'
874 libexecdir
='${exec_prefix}/libexec'
875 datarootdir
='${prefix}/share'
876 datadir
='${datarootdir}'
877 sysconfdir
='${prefix}/etc'
878 sharedstatedir
='${prefix}/com'
879 localstatedir
='${prefix}/var'
880 runstatedir
='${localstatedir}/run'
881 includedir
='${prefix}/include'
882 oldincludedir
='/usr/include'
883 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
884 infodir
='${datarootdir}/info'
889 libdir
='${exec_prefix}/lib'
890 localedir
='${datarootdir}/locale'
891 mandir
='${datarootdir}/man'
897 # If the previous option needs an argument, assign it.
898 if test -n "$ac_prev"; then
899 eval $ac_prev=\
$ac_option
905 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error $?
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=no
;;
964 -docdir |
--docdir |
--docdi |
--doc |
--do)
966 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
969 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
971 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
974 -enable-* |
--enable-*)
975 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
978 as_fn_error $?
"invalid feature name: $ac_useropt"
979 ac_useropt_orig
=$ac_useropt
980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986 ac_unrecognized_sep
=', ';;
988 eval enable_
$ac_useropt=\
$ac_optarg ;;
990 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
991 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
992 |
--exec |
--exe |
--ex)
993 ac_prev
=exec_prefix
;;
994 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
995 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
996 |
--exec=* |
--exe=* |
--ex=*)
997 exec_prefix
=$ac_optarg ;;
999 -gas |
--gas |
--ga |
--g)
1000 # Obsolete; use --with-gas.
1003 -help |
--help |
--hel |
--he |
-h)
1004 ac_init_help
=long
;;
1005 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1006 ac_init_help
=recursive
;;
1007 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1008 ac_init_help
=short
;;
1010 -host |
--host |
--hos |
--ho)
1011 ac_prev
=host_alias
;;
1012 -host=* |
--host=* |
--hos=* |
--ho=*)
1013 host_alias
=$ac_optarg ;;
1015 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1017 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1019 htmldir
=$ac_optarg ;;
1021 -includedir |
--includedir |
--includedi |
--included |
--include \
1022 |
--includ |
--inclu |
--incl |
--inc)
1023 ac_prev
=includedir
;;
1024 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1025 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1026 includedir
=$ac_optarg ;;
1028 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1030 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1031 infodir
=$ac_optarg ;;
1033 -libdir |
--libdir |
--libdi |
--libd)
1035 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1036 libdir
=$ac_optarg ;;
1038 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1039 |
--libexe |
--libex |
--libe)
1040 ac_prev
=libexecdir
;;
1041 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1042 |
--libexe=* |
--libex=* |
--libe=*)
1043 libexecdir
=$ac_optarg ;;
1045 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1046 ac_prev
=localedir
;;
1047 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1048 localedir
=$ac_optarg ;;
1050 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1051 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1052 ac_prev
=localstatedir
;;
1053 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1054 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1055 localstatedir
=$ac_optarg ;;
1057 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1059 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1060 mandir
=$ac_optarg ;;
1062 -nfp |
--nfp |
--nf)
1063 # Obsolete; use --without-fp.
1066 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1067 |
--no-cr |
--no-c |
-n)
1070 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1071 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1074 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1075 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1076 |
--oldin |
--oldi |
--old |
--ol |
--o)
1077 ac_prev
=oldincludedir
;;
1078 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1079 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1080 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1081 oldincludedir
=$ac_optarg ;;
1083 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1085 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1086 prefix
=$ac_optarg ;;
1088 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1089 |
--program-pre |
--program-pr |
--program-p)
1090 ac_prev
=program_prefix
;;
1091 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1092 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1093 program_prefix
=$ac_optarg ;;
1095 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1096 |
--program-suf |
--program-su |
--program-s)
1097 ac_prev
=program_suffix
;;
1098 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1099 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1100 program_suffix
=$ac_optarg ;;
1102 -program-transform-name |
--program-transform-name \
1103 |
--program-transform-nam |
--program-transform-na \
1104 |
--program-transform-n |
--program-transform- \
1105 |
--program-transform |
--program-transfor \
1106 |
--program-transfo |
--program-transf \
1107 |
--program-trans |
--program-tran \
1108 |
--progr-tra |
--program-tr |
--program-t)
1109 ac_prev
=program_transform_name
;;
1110 -program-transform-name=* |
--program-transform-name=* \
1111 |
--program-transform-nam=* |
--program-transform-na=* \
1112 |
--program-transform-n=* |
--program-transform-=* \
1113 |
--program-transform=* |
--program-transfor=* \
1114 |
--program-transfo=* |
--program-transf=* \
1115 |
--program-trans=* |
--program-tran=* \
1116 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1117 program_transform_name
=$ac_optarg ;;
1119 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1121 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1122 pdfdir
=$ac_optarg ;;
1124 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1126 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1129 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1130 |
-silent |
--silent |
--silen |
--sile |
--sil)
1133 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1134 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1135 |
--run |
--ru |
--r)
1136 ac_prev
=runstatedir
;;
1137 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1138 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1139 |
--run=* |
--ru=* |
--r=*)
1140 runstatedir
=$ac_optarg ;;
1142 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1144 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1146 sbindir
=$ac_optarg ;;
1148 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1149 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1150 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1152 ac_prev
=sharedstatedir
;;
1153 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1154 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1155 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1157 sharedstatedir
=$ac_optarg ;;
1159 -site |
--site |
--sit)
1161 -site=* |
--site=* |
--sit=*)
1164 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1166 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1167 srcdir
=$ac_optarg ;;
1169 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1170 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1171 ac_prev
=sysconfdir
;;
1172 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1173 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1174 sysconfdir
=$ac_optarg ;;
1176 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1177 ac_prev
=target_alias
;;
1178 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1179 target_alias
=$ac_optarg ;;
1181 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1184 -version |
--version |
--versio |
--versi |
--vers |
-V)
1185 ac_init_version
=: ;;
1188 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1191 as_fn_error $?
"invalid package name: $ac_useropt"
1192 ac_useropt_orig
=$ac_useropt
1193 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1198 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1199 ac_unrecognized_sep
=', ';;
1201 eval with_
$ac_useropt=\
$ac_optarg ;;
1203 -without-* |
--without-*)
1204 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1207 as_fn_error $?
"invalid package name: $ac_useropt"
1208 ac_useropt_orig
=$ac_useropt
1209 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210 case $ac_user_opts in
1214 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1215 ac_unrecognized_sep
=', ';;
1217 eval with_
$ac_useropt=no
;;
1220 # Obsolete; use --with-x.
1223 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1224 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1225 ac_prev
=x_includes
;;
1226 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1227 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1228 x_includes
=$ac_optarg ;;
1230 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1231 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1232 ac_prev
=x_libraries
;;
1233 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1234 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1235 x_libraries
=$ac_optarg ;;
1237 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1238 Try \`$0 --help' for more information"
1242 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1243 # Reject names that are not valid shell variable names.
1244 case $ac_envvar in #(
1245 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1246 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1248 eval $ac_envvar=\
$ac_optarg
1249 export $ac_envvar ;;
1252 # FIXME: should be removed in autoconf 3.0.
1253 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1254 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1255 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1256 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1262 if test -n "$ac_prev"; then
1263 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1264 as_fn_error $?
"missing argument to $ac_option"
1267 if test -n "$ac_unrecognized_opts"; then
1268 case $enable_option_checking in
1270 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275 # Check all directory arguments for consistency.
1276 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1277 datadir sysconfdir sharedstatedir localstatedir includedir \
1278 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1279 libdir localedir mandir runstatedir
1281 eval ac_val
=\$
$ac_var
1282 # Remove trailing slashes.
1285 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1286 eval $ac_var=\
$ac_val;;
1288 # Be sure to have absolute directory names.
1290 [\\/$
]* | ?
:[\\/]* ) continue;;
1291 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1293 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1296 # There might be people who depend on the old broken behavior: `$host'
1297 # used to hold the argument of --host etc.
1298 # FIXME: To remove some day.
1301 target
=$target_alias
1303 # FIXME: To remove some day.
1304 if test "x$host_alias" != x
; then
1305 if test "x$build_alias" = x
; then
1306 cross_compiling
=maybe
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 as_fn_error $?
"working directory cannot be determined"
1322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323 as_fn_error $?
"pwd does not report name of working directory"
1326 # Find the source files, if location was not specified.
1327 if test -z "$srcdir"; then
1328 ac_srcdir_defaulted
=yes
1329 # Try the directory containing this script, then the parent directory.
1330 ac_confdir
=`$as_dirname -- "$as_myself" ||
1331 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332 X"$as_myself" : 'X\(//\)[^/]' \| \
1333 X"$as_myself" : 'X\(//\)$' \| \
1334 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1335 $as_echo X"$as_myself" |
1336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1358 ac_srcdir_defaulted
=no
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1362 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1364 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1368 # When building in place, set srcdir=.
1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
1372 # Remove unnecessary trailing slashes from srcdir.
1373 # Double slashes in file names in object file debugging info
1374 # mess up M-x gdb in Emacs.
1376 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 for ac_var
in $ac_precious_vars; do
1379 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1381 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1386 # Report the --help message.
1388 if test "$ac_init_help" = "long"; then
1389 # Omit some internal or obsolete options to make the list less imposing.
1390 # This message is too long to be a string in the A/UX 3.1 sh.
1392 \`configure' configures spl 0.7.3 to adapt to many kinds of systems.
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE. See below for descriptions of some of the useful variables.
1399 Defaults for the options are specified in brackets.
1402 -h, --help display this help and exit
1403 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking ...' messages
1407 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412 Installation directories:
1413 --prefix=PREFIX install architecture-independent files in PREFIX
1414 [$ac_default_prefix]
1415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1423 For better control, use the options below.
1425 Fine tuning of the installation directories:
1426 --bindir=DIR user executables [EPREFIX/bin]
1427 --sbindir=DIR system admin executables [EPREFIX/sbin]
1428 --libexecdir=DIR program executables [EPREFIX/libexec]
1429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1432 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/spl]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1456 --build=BUILD configure
for building on BUILD
[guessed
]
1457 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1458 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short | recursive
) echo "Configuration of spl 0.7.3:";;
1469 --disable-option-checking ignore unrecognized
--enable/--with options
1470 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1471 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1472 --enable-maintainer-mode
1473 enable make rules and dependencies not useful
(and
1474 sometimes confusing
) to the casual installer
1475 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1476 --disable-silent-rules verbose build output
(undo
: "make V=0")
1477 --enable-dependency-tracking
1478 do not reject slow dependency extractors
1479 --disable-dependency-tracking
1480 speeds up one-time build
1481 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1482 --enable-static[=PKGS
] build static libraries
[default
=yes]
1483 --enable-fast-install[=PKGS
]
1484 optimize
for fast installation
[default
=yes]
1485 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1486 --enable-linux-builtin Configure
for builtin in-tree kernel modules
1488 --enable-debug Enable generic debug support
[default
=no
]
1489 --enable-debug-kmem Enable basic kmem accounting
[default
=no
]
1490 --enable-debug-kmem-tracking
1491 Enable detailed kmem tracking
[default
=no
]
1492 --enable-atomic-spinlocks
1493 Atomic types use spinlocks
[default
=check
]
1496 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1497 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1498 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1500 --with-aix-soname=aix|svr4|both
1501 shared library versioning
(aka
"SONAME") variant to
1502 provide on AIX
, [default
=aix
].
1503 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1504 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1505 compiler
's sysroot if not specified).
1506 --with-spec=SPEC Spec files 'generic|redhat
'
1507 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1508 --with-linux=PATH Path to kernel source
1509 --with-linux-obj=PATH Path to kernel build objects
1511 Some influential environment variables:
1512 CC C compiler command
1513 CFLAGS C compiler flags
1514 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1515 nonstandard directory <lib dir>
1516 LIBS libraries to pass to the linker, e.g. -l<library>
1517 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1518 you have headers in a nonstandard directory <include dir>
1520 User-defined run-time library search path.
1523 Use these variables to override the choices made by `configure' or to
help
1524 it to
find libraries and programs with nonstandard names
/locations.
1526 Report bugs to the package provider.
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1533 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1540 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1542 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543 # A ".." for each directory in $ac_dir_suffix.
1544 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1547 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1550 ac_abs_top_builddir
=$ac_pwd
1551 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir
=$ac_top_build_prefix
1556 .
) # We are building in place.
1558 ac_top_srcdir
=$ac_top_builddir_sub
1559 ac_abs_top_srcdir
=$ac_pwd ;;
1560 [\\/]* | ?
:[\\/]* ) # Absolute name.
1561 ac_srcdir
=$srcdir$ac_dir_suffix;
1562 ac_top_srcdir
=$srcdir
1563 ac_abs_top_srcdir
=$srcdir ;;
1565 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1569 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1571 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1572 # Check for guested configure.
1573 if test -f "$ac_srcdir/configure.gnu"; then
1575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
1578 $SHELL "$ac_srcdir/configure" --help=recursive
1580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1590 generated by GNU Autoconf
2.69
1592 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1593 This configure
script is free software
; the Free Software Foundation
1594 gives unlimited permission to copy
, distribute and modify it.
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1603 # ac_fn_c_try_compile LINENO
1604 # --------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_compile
()
1608 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1609 rm -f conftest.
$ac_objext
1610 if { { ac_try
="$ac_compile"
1612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.$ac_objext; then :
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1639 } # ac_fn_c_try_compile
1641 # ac_fn_c_try_link LINENO
1642 # -----------------------
1643 # Try to link conftest.$ac_ext, and return whether this succeeded.
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext conftest$ac_exeext
1648 if { { ac_try="$ac_link"
1650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1651 *) ac_try_echo
=$ac_try;;
1653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_link") 2>conftest.err
1657 if test -s conftest.err
; then
1658 grep -v '^ *+' conftest.err
>conftest.er1
1659 cat conftest.er1
>&5
1660 mv -f conftest.er1 conftest.err
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_c_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest
$ac_exeext && {
1667 test "$cross_compiling" = yes ||
1668 test -x conftest
$ac_exeext
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.
$ac_ext >&5
1677 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1678 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1679 # interfere with the next link command; also delete a directory that is
1680 # left behind by Apple's compiler. We do this before executing the actions.
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status
$ac_retval
1685 } # ac_fn_c_try_link
1687 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1688 # -------------------------------------------------------
1689 # Tests whether HEADER exists and can be compiled using the include files in
1690 # INCLUDES, setting the cache variable VAR accordingly.
1691 ac_fn_c_check_header_compile
()
1693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if eval \
${$3+:} false
; then :
1697 $as_echo_n "(cached) " >&6
1699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1704 if ac_fn_c_try_compile
"$LINENO"; then :
1709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 } # ac_fn_c_check_header_compile
1718 # ac_fn_c_try_cpp LINENO
1719 # ----------------------
1720 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1723 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1724 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } > conftest.i && {
1740 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1741 test ! -s conftest.err
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_link"
1764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1765 *) ac_try_echo
=$ac_try;;
1767 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>&5
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1773 { { case "(($ac_try" in
1774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_try") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; }; }; then :
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1789 ac_retval=$ac_status
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1797 # ac_fn_c_check_func LINENO FUNC VAR
1798 # ----------------------------------
1799 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1800 ac_fn_c_check_func ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1810 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1812 #define $2 innocuous_$2
1814 /* System header to define __stub macros and hopefully few prototypes,
1815 which can conflict with char $2 (); below.
1816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1817 <limits.h> exists even on freestanding compilers. */
1820 # include <limits.h>
1822 # include <assert.h>
1827 /* Override any GCC internal prototype to avoid an error.
1828 Use char because int might match the return type of a GCC
1829 builtin and then its argument prototype would still apply. */
1834 /* The GNU C library defines this for functions which it implements
1835 to always fail with ENOSYS. Some functions are actually named
1836 something starting with __ and the normal name is an alias. */
1837 #if defined __stub_$2 || defined __stub___$2
1849 if ac_fn_c_try_link "$LINENO"; then :
1854 rm -f core conftest.err conftest.$ac_objext \
1855 conftest$ac_exeext conftest.$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 } # ac_fn_c_check_func
1863 cat >config.log <<_ACEOF
1864 This file contains any messages produced by compilers while
1865 running configure, to aid debugging if configure makes a mistake.
1867 It was created by spl $as_me 0.7.3, which was
1868 generated by GNU Autoconf 2.69. Invocation command line was
1880 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1881 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1882 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1883 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1884 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1886 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1887 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1889 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1890 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1891 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1892 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1893 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1894 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1895 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 $as_echo "PATH: $as_dir"
1920 # Keep a trace of the command line.
1921 # Strip out --no-create and --no-recursion so they do not pile up.
1922 # Strip out --silent because we don't want to record it for future runs.
1923 # Also quote any args containing shell meta-characters.
1924 # Make two passes to allow for proper duplicate-argument suppression.
1928 ac_must_keep_next=false
1934 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1936 | -silent | --silent | --silen | --sile | --sil)
1939 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1942 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1944 as_fn_append ac_configure_args1 " '$ac_arg'"
1945 if test $ac_must_keep_next = true; then
1946 ac_must_keep_next=false # Got value, back to normal.
1949 *=* | --config-cache | -C | -disable-* | --disable-* \
1950 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1951 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1952 | -with-* | --with-* | -without-* | --without-* | --x)
1953 case "$ac_configure_args0 " in
1954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1957 -* ) ac_must_keep_next=true ;;
1960 as_fn_append ac_configure_args " '$ac_arg'"
1965 { ac_configure_args0=; unset ac_configure_args0;}
1966 { ac_configure_args1=; unset ac_configure_args1;}
1968 # When interrupted or exit'd, cleanup temporary files, and complete
1969 # config.log. We remove comments because anyway the quotes in there
1970 # would cause problems or look ugly.
1971 # WARNING: Use '\'' to represent an apostrophe within the trap.
1972 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1973 trap 'exit_status=$?
1974 # Save into config.log some information that might help in debugging.
1978 $as_echo "## ---------------- ##
1979 ## Cache variables. ##
1980 ## ---------------- ##"
1982 # The following way of writing the cache mishandles newlines in values,
1984 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1985 eval ac_val=\$$ac_var
1989 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1993 _ | IFS | as_nl) ;; #(
1994 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1995 *) { eval $ac_var=; unset $ac_var;} ;;
2000 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2001 *${as_nl}ac_space=\ *)
2003 "s/'\''/'\''\\\\'\'''\''/g;
2004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2014 $as_echo "## ----------------- ##
2015 ## Output variables. ##
2016 ## ----------------- ##"
2018 for ac_var in $ac_subst_vars
2020 eval ac_val=\$$ac_var
2022 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2024 $as_echo "$ac_var='\''$ac_val'\''"
2028 if test -n "$ac_subst_files"; then
2029 $as_echo "## ------------------- ##
2030 ## File substitutions. ##
2031 ## ------------------- ##"
2033 for ac_var in $ac_subst_files
2035 eval ac_val=\$$ac_var
2037 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2039 $as_echo "$ac_var='\''$ac_val'\''"
2044 if test -s confdefs.h; then
2045 $as_echo "## ----------- ##
2052 test "$ac_signal" != 0 &&
2053 $as_echo "$as_me: caught signal $ac_signal"
2054 $as_echo "$as_me: exit $exit_status"
2056 rm -f core *.core core.conftest.* &&
2057 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2060 for ac_signal in 1 2 13 15; do
2061 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2066 rm -f -r conftest* confdefs.h
2068 $as_echo "/* confdefs.h */" > confdefs.h
2070 # Predefined preprocessor variables.
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_NAME "$PACKAGE_NAME"
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_STRING "$PACKAGE_STRING"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_URL "$PACKAGE_URL"
2097 # Let the site file select an alternate cache file if it wants to.
2098 # Prefer an explicitly selected file to automatically selected ones.
2101 if test -n "$CONFIG_SITE"; then
2102 # We do not want a PATH search for config.site.
2103 case $CONFIG_SITE in #((
2104 -*) ac_site_file1=./$CONFIG_SITE;;
2105 */*) ac_site_file1=$CONFIG_SITE;;
2106 *) ac_site_file1=./$CONFIG_SITE;;
2108 elif test "x$prefix" != xNONE; then
2109 ac_site_file1=$prefix/share/config.site
2110 ac_site_file2=$prefix/etc/config.site
2112 ac_site_file1=$ac_default_prefix/share/config.site
2113 ac_site_file2=$ac_default_prefix/etc/config.site
2115 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2117 test "x$ac_site_file" = xNONE && continue
2118 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2120 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2121 sed 's/^/| /' "$ac_site_file" >&5
2123 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2125 as_fn_error $? "failed to load site
script $ac_site_file
2126 See \
`config.log' for more details" "$LINENO" 5; }
2130 if test -r "$cache_file"; then
2131 # Some versions of bash will fail to source /dev/null (special files
2132 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2133 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2135 $as_echo "$as_me: loading cache $cache_file" >&6;}
2137 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2138 *) . "./$cache_file";;
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2143 $as_echo "$as_me: creating cache $cache_file" >&6;}
2147 # Check that the precious variables saved in the cache have kept the same
2149 ac_cache_corrupted=false
2150 for ac_var in $ac_precious_vars; do
2151 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2152 eval ac_new_set=\$ac_env_${ac_var}_set
2153 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2154 eval ac_new_val=\$ac_env_${ac_var}_value
2155 case $ac_old_set,$ac_new_set in
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2158 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2159 ac_cache_corrupted=: ;;
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2162 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2163 ac_cache_corrupted=: ;;
2166 if test "x$ac_old_val" != "x$ac_new_val"; then
2167 # differences in whitespace do not lead to failure.
2168 ac_old_val_w=`echo x
$ac_old_val`
2169 ac_new_val_w=`echo x
$ac_new_val`
2170 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2172 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2173 ac_cache_corrupted=:
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2176 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2177 eval $ac_var=\$ac_old_val
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2180 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2182 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2185 # Pass precious variables to config.status.
2186 if test "$ac_new_set" = set; then
2188 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2189 *) ac_arg=$ac_var=$ac_new_val ;;
2191 case " $ac_configure_args " in
2192 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2193 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2197 if $ac_cache_corrupted; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2201 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2202 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2204 ## -------------------- ##
2205 ## Main body of script. ##
2206 ## -------------------- ##
2209 ac_cpp='$CPP $CPPFLAGS'
2210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2216 ac_cpp='$CPP $CPPFLAGS'
2217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2222 for ac_prog in gawk mawk nawk awk
2224 # Extract the first word of "$ac_prog", so it can be a program name with args.
2225 set dummy $ac_prog; ac_word=$2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if ${ac_cv_prog_AWK+:} false; then :
2229 $as_echo_n "(cached) " >&6
2231 if test -n "$AWK"; then
2232 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_AWK="$ac_prog"
2242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$AWK"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2254 $as_echo "$AWK" >&6; }
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257 $as_echo "no" >&6; }
2261 test -n "$AWK" && break
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking metadata" >&5
2265 $as_echo_n "checking metadata... " >&6; }
2268 _spl_ac_meta_type="none"
2269 if test -f "$META"; then
2270 _spl_ac_meta_type="META file"
2272 SPL_META_NAME=`$AWK -F ':[ \t]+' '$1 ~ /^ *(Name|Project|Package)$/ { print $2; exit }' $META`;
2273 if test -n "$SPL_META_NAME"; then
2275 cat >>confdefs.h <<_ACEOF
2276 #define SPL_META_NAME "$SPL_META_NAME"
2282 SPL_META_VERSION=`$AWK -F ':[ \t]+' '$1 ~ /^ *Version$/ { print $2; exit }' $META`;
2283 if test -n "$SPL_META_VERSION"; then
2285 cat >>confdefs.h <<_ACEOF
2286 #define SPL_META_VERSION "$SPL_META_VERSION"
2292 SPL_META_RELEASE=`$AWK -F ':[ \t]+' '$1 ~ /^ *Release$/ { print $2; exit }' $META`;
2293 if test ! -f ".nogitrelease" && git rev-parse --git-dir > /dev/null 2>&1; then
2294 _match="${SPL_META_NAME}-${SPL_META_VERSION}"
2295 _alias=$(git describe --match=${_match} 2>/dev/null)
2296 _release=$(echo ${_alias}|cut -f3- -d'-'|sed 's/-/_/g')
2297 if test -n "${_release}"; then
2298 SPL_META_RELEASE=${_release}
2299 _spl_ac_meta_type="git describe"
2301 _match="${SPL_META_NAME}-${SPL_META_VERSION}-${SPL_META_RELEASE}"
2302 _alias=$(git describe --match=${_match} 2>/dev/null)
2303 _release=$(echo ${_alias}|cut -f3- -d'-'|sed 's/-/_/g')
2304 if test -n "${_release}"; then
2305 SPL_META_RELEASE=${_release}
2306 _spl_ac_meta_type="git describe"
2311 if test -n "$SPL_META_RELEASE"; then
2313 cat >>confdefs.h <<_ACEOF
2314 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2319 RELEASE="$SPL_META_RELEASE"
2323 SPL_META_LICENSE=`$AWK -F ':[ \t]+' '$1 ~ /^ *License$/ { print $2; exit }' $META`;
2324 if test -n "$SPL_META_LICENSE"; then
2326 cat >>confdefs.h <<_ACEOF
2327 #define SPL_META_LICENSE "$SPL_META_LICENSE"
2333 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2334 SPL_META_ALIAS="$SPL_META_NAME-$SPL_META_VERSION"
2335 test -n "$SPL_META_RELEASE" &&
2336 SPL_META_ALIAS="$SPL_META_ALIAS-$SPL_META_RELEASE"
2338 cat >>confdefs.h <<_ACEOF
2339 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2345 SPL_META_DATA=`$AWK -F ':[ \t]+' '$1 ~ /^ *Date$/ { print $2; exit }' $META`;
2346 if test -n "$SPL_META_DATA"; then
2348 cat >>confdefs.h <<_ACEOF
2349 #define SPL_META_DATA "$SPL_META_DATA"
2355 SPL_META_AUTHOR=`$AWK -F ':[ \t]+' '$1 ~ /^ *Author$/ { print $2; exit }' $META`;
2356 if test -n "$SPL_META_AUTHOR"; then
2358 cat >>confdefs.h <<_ACEOF
2359 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2366 SPL_META_LT_CURRENT=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Current$/ { print $2; exit }' $META`;
2367 SPL_META_LT_REVISION=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Revision$/ { print $2; exit }' $META`;
2368 SPL_META_LT_AGE=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Age$/ { print $2; exit }' $META`;
2369 if test -n "$SPL_META_LT_CURRENT" \
2370 -o -n "$SPL_META_LT_REVISION" \
2371 -o -n "$SPL_META_LT_AGE"; then
2372 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT="0"
2373 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION="0"
2374 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE="0"
2376 cat >>confdefs.h <<_ACEOF
2377 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2381 cat >>confdefs.h <<_ACEOF
2382 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2386 cat >>confdefs.h <<_ACEOF
2387 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_spl_ac_meta_type" >&5
2397 $as_echo "$_spl_ac_meta_type" >&6; }
2401 for ac_dir in config "$srcdir"/config; do
2402 if test -f "$ac_dir/install-sh"; then
2404 ac_install_sh="$ac_aux_dir/install-sh -c"
2406 elif test -f "$ac_dir/install.sh"; then
2408 ac_install_sh="$ac_aux_dir/install.sh -c"
2410 elif test -f "$ac_dir/shtool"; then
2412 ac_install_sh="$ac_aux_dir/shtool install -c"
2416 if test -z "$ac_aux_dir"; then
2417 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2420 # These three variables are undocumented and unsupported,
2421 # and are intended to be withdrawn in a future Autoconf release.
2422 # They can cause serious problems if a builder's source tree is in a directory
2423 # whose full name contains unusual characters.
2424 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2425 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2426 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2430 # Make sure we can run config.sub.
2431 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2432 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2435 $as_echo_n "checking build system type... " >&6; }
2436 if ${ac_cv_build+:} false; then :
2437 $as_echo_n "(cached) " >&6
2439 ac_build_alias=$build_alias
2440 test "x$ac_build_alias" = x &&
2441 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2442 test "x$ac_build_alias" = x &&
2443 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2444 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2445 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2449 $as_echo "$ac_cv_build" >&6; }
2450 case $ac_cv_build in
2452 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2455 ac_save_IFS=$IFS; IFS='-'
2461 # Remember, the first character of IFS is used to create $*,
2462 # except with old shells:
2465 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2469 $as_echo_n "checking host system type... " >&6; }
2470 if ${ac_cv_host+:} false; then :
2471 $as_echo_n "(cached) " >&6
2473 if test "x$host_alias" = x; then
2474 ac_cv_host=$ac_cv_build
2476 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2477 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2482 $as_echo "$ac_cv_host" >&6; }
2485 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2488 ac_save_IFS=$IFS; IFS='-'
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2498 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2502 $as_echo_n "checking target system type... " >&6; }
2503 if ${ac_cv_target+:} false; then :
2504 $as_echo_n "(cached) " >&6
2506 if test "x$target_alias" = x; then
2507 ac_cv_target=$ac_cv_host
2509 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2510 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2515 $as_echo "$ac_cv_target" >&6; }
2516 case $ac_cv_target in
2518 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2520 target=$ac_cv_target
2521 ac_save_IFS=$IFS; IFS='-'
2527 # Remember, the first character of IFS is used to create $*,
2528 # except with old shells:
2531 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2534 # The aliases save the names the user supplied, while $host etc.
2535 # will get canonicalized.
2536 test -n "$target_alias" &&
2537 test "$program_prefix$program_suffix$program_transform_name" = \
2539 program_prefix=${target_alias}-
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2543 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2544 # Check whether --enable-maintainer-mode was given.
2545 if test "${enable_maintainer_mode+set}" = set; then :
2546 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2548 USE_MAINTAINER_MODE=no
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2552 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2553 if test $USE_MAINTAINER_MODE = yes; then
2554 MAINTAINER_MODE_TRUE=
2555 MAINTAINER_MODE_FALSE='#'
2557 MAINTAINER_MODE_TRUE='#'
2558 MAINTAINER_MODE_FALSE=
2561 MAINT=$MAINTAINER_MODE_TRUE
2564 # Check whether --enable-silent-rules was given.
2565 if test "${enable_silent_rules+set}" = set; then :
2566 enableval=$enable_silent_rules;
2569 case $enable_silent_rules in # (((
2570 yes) AM_DEFAULT_VERBOSITY=0;;
2571 no) AM_DEFAULT_VERBOSITY=1;;
2572 *) AM_DEFAULT_VERBOSITY=0;;
2574 am_make=${MAKE-make}
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2576 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2577 if ${am_cv_make_support_nested_variables+:} false; then :
2578 $as_echo_n "(cached) " >&6
2580 if $as_echo 'TRUE=$(BAR$(V))
2586 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2587 am_cv_make_support_nested_variables=yes
2589 am_cv_make_support_nested_variables=no
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2593 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2594 if test $am_cv_make_support_nested_variables = yes; then
2596 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2598 AM_V=$AM_DEFAULT_VERBOSITY
2599 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2603 am__api_version='1.15'
2605 # Find a good install program. We prefer a C program (faster),
2606 # so one script is as good as another. But avoid the broken or
2607 # incompatible versions:
2608 # SysV /etc/install, /usr/sbin/install
2609 # SunOS /usr/etc/install
2610 # IRIX /sbin/install
2612 # AmigaOS /C/install, which installs bootblocks on floppy discs
2613 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2614 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2615 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2616 # OS/2's system install, which has a completely different semantic
2617 # ./install, which can be erroneously created by make from ./install.sh.
2618 # Reject install programs that cannot install multiple files.
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2620 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2621 if test -z "$INSTALL"; then
2622 if ${ac_cv_path_install+:} false; then :
2623 $as_echo_n "(cached) " >&6
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir=.
2630 # Account for people who put trailing slashes in PATH elements.
2631 case $as_dir/ in #((
2632 ./ | .// | /[cC]/* | \
2633 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2634 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2637 # OSF1 and SCO ODT 3.0 have their own names for install.
2638 # Don't use installbsd from OSF since it installs stuff as root
2640 for ac_prog in ginstall scoinst install; do
2641 for ac_exec_ext in '' $ac_executable_extensions; do
2642 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2643 if test $ac_prog = install &&
2644 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2645 # AIX install. It has an incompatible calling convention.
2647 elif test $ac_prog = install &&
2648 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2649 # program-specific install script used by HP pwplus--don't use.
2652 rm -rf conftest.one conftest.two conftest.dir
2653 echo one > conftest.one
2654 echo two > conftest.two
2656 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2657 test -s conftest.one && test -s conftest.two &&
2658 test -s conftest.dir/conftest.one &&
2659 test -s conftest.dir/conftest.two
2661 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2674 rm -rf conftest.one conftest.two conftest.dir
2677 if test "${ac_cv_path_install+set}" = set; then
2678 INSTALL=$ac_cv_path_install
2680 # As a last resort, use the slow shell script. Don't cache a
2681 # value for INSTALL within a source directory, because that will
2682 # break other packages using the cache if that directory is
2683 # removed, or if the value is a relative name.
2684 INSTALL=$ac_install_sh
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2688 $as_echo "$INSTALL" >&6; }
2690 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2691 # It thinks the first close brace ends the variable substitution.
2692 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2694 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2696 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2699 $as_echo_n "checking whether build environment is sane... " >&6; }
2700 # Reject unsafe characters in $srcdir or the absolute working directory
2701 # name. Accept space and tab only in the latter.
2705 *[\\\"\#\$\&\'\`$am_lf]*)
2706 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2709 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2710 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2713 # Do 'set' in a subshell so we don't clobber the current shell's
2714 # arguments. Must try -L first in case configure is actually a
2715 # symlink; some systems play weird games with the mod time of symlinks
2716 # (eg FreeBSD returns the mod time of the symlink's containing
2720 for am_try
in 1 2; do
2721 echo "timestamp, slept: $am_has_slept" > conftest.
file
2722 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2723 if test "$*" = "X"; then
2725 set X
`ls -t "$srcdir/configure" conftest.file`
2727 if test "$*" != "X $srcdir/configure conftest.file" \
2728 && test "$*" != "X conftest.file $srcdir/configure"; then
2730 # If neither matched, then we have a broken ls. This can happen
2731 # if, for instance, CONFIG_SHELL is bash and it inherits a
2732 # broken ls alias from the environment. This has actually
2733 # happened. Such a system could not be considered "sane".
2734 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2735 alias in your environment" "$LINENO" 5
2737 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2744 test "$2" = conftest.
file
2750 as_fn_error $?
"newly created file is older than distributed files!
2751 Check your system clock" "$LINENO" 5
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2754 $as_echo "yes" >&6; }
2755 # If we didn't sleep, we still need to ensure time stamps of config.status and
2756 # generated files are strictly newer.
2758 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2765 test "$program_prefix" != NONE
&&
2766 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2767 # Use a double $ so make ignores it.
2768 test "$program_suffix" != NONE
&&
2769 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2770 # Double any \ or $.
2771 # By default was `s,x,x', remove it if useless.
2772 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2773 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2775 # Expand $ac_aux_dir to an absolute path.
2776 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2778 if test x
"${MISSING+set}" != xset
; then
2781 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2783 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2786 # Use eval to expand $SHELL
2787 if eval "$MISSING --is-lightweight"; then
2788 am_missing_run
="$MISSING "
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2792 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2795 if test x
"${install_sh+set}" != xset
; then
2798 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2800 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2804 # Installed binaries are usually stripped using 'strip' when the user
2805 # run "make install-strip". However 'strip' might not be the right
2806 # tool to use in cross-compilation environments, therefore Automake
2807 # will honor the 'STRIP' environment variable to overrule this program.
2808 if test "$cross_compiling" != no
; then
2809 if test -n "$ac_tool_prefix"; then
2810 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2811 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_STRIP+:} false
; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$STRIP"; then
2818 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir
=.
2825 for ac_exec_ext
in '' $ac_executable_extensions; do
2826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2827 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 STRIP
=$ac_cv_prog_STRIP
2838 if test -n "$STRIP"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2840 $as_echo "$STRIP" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2848 if test -z "$ac_cv_prog_STRIP"; then
2850 # Extract the first word of "strip", so it can be a program name with args.
2851 set dummy strip
; ac_word
=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$ac_ct_STRIP"; then
2858 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2867 ac_cv_prog_ac_ct_STRIP
="strip"
2868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2878 if test -n "$ac_ct_STRIP"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2880 $as_echo "$ac_ct_STRIP" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2886 if test "x$ac_ct_STRIP" = x
; then
2889 case $cross_compiling:$ac_tool_warned in
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2893 ac_tool_warned
=yes ;;
2898 STRIP
="$ac_cv_prog_STRIP"
2902 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2905 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2906 if test -z "$MKDIR_P"; then
2907 if ${ac_cv_path_mkdir+:} false
; then :
2908 $as_echo_n "(cached) " >&6
2910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2911 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2914 test -z "$as_dir" && as_dir
=.
2915 for ac_prog
in mkdir gmkdir
; do
2916 for ac_exec_ext
in '' $ac_executable_extensions; do
2917 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2918 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2919 'mkdir (GNU coreutils) '* | \
2920 'mkdir (coreutils) '* | \
2921 'mkdir (fileutils) '4.1*)
2922 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2932 test -d .
/--version && rmdir .
/--version
2933 if test "${ac_cv_path_mkdir+set}" = set; then
2934 MKDIR_P
="$ac_cv_path_mkdir -p"
2936 # As a last resort, use the slow shell script. Don't cache a
2937 # value for MKDIR_P within a source directory, because that will
2938 # break other packages using the cache if that directory is
2939 # removed, or if the value is a relative name.
2940 MKDIR_P
="$ac_install_sh -d"
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2944 $as_echo "$MKDIR_P" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2947 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2949 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2950 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2951 $as_echo_n "(cached) " >&6
2953 cat >conftest.
make <<\_ACEOF
2956 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2958 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2959 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2961 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2963 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2967 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2969 $as_echo "yes" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2974 SET_MAKE
="MAKE=${MAKE-make}"
2977 rm -rf .tst
2>/dev
/null
2978 mkdir .tst
2>/dev
/null
2979 if test -d .tst
; then
2984 rmdir .tst
2>/dev
/null
2986 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2987 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2988 # is not polluted with repeated "-I."
2989 am__isrc
=' -I$(srcdir)'
2990 # test to see if srcdir already configured
2991 if test -f $srcdir/config.status
; then
2992 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2996 # test whether we have cygpath
2997 if test -z "$CYGPATH_W"; then
2998 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2999 CYGPATH_W
='cygpath -w'
3006 # Define the identity of the package.
3011 cat >>confdefs.h
<<_ACEOF
3012 #define PACKAGE "$PACKAGE"
3016 cat >>confdefs.h
<<_ACEOF
3017 #define VERSION "$VERSION"
3020 # Some tools Automake needs.
3022 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3025 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3028 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3031 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3034 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3036 # For better backward compatibility. To be removed once Automake 1.9.x
3037 # dies out for good. For more background, see:
3038 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3039 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3040 mkdir_p
='$(MKDIR_P)'
3042 # We need awk for the "check" target (and possibly the TAP driver). The
3043 # system "awk" is bad on some platforms.
3044 # Always define AMTAR for backward compatibility. Yes, it's still used
3045 # in the wild :-( We should find a proper way to deprecate it ...
3049 # We'll loop over all known methods to create a tar archive until one works.
3050 _am_tools
='gnutar pax cpio none'
3052 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3059 # POSIX will say in a future version that running "rm -f" with no argument
3060 # is OK; and we want to be able to make that assumption in our Makefile
3061 # recipes. So use an aggressive probe to check that the usage we want is
3062 # actually supported "in the wild" to an acceptable degree.
3063 # See automake bug#10828.
3064 # To make any issue more visible, cause the running configure to be aborted
3065 # by default if the 'rm' program in use doesn't match our expectations; the
3066 # user can still override this though.
3067 if rm -f && rm -fr && rm -rf; then : OK
; else
3071 Your 'rm' program seems unable to run without file operands specified
3072 on the command line, even when the '-f' option is present. This is contrary
3073 to the behaviour of most rm programs out there, and not conforming with
3074 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3076 Please tell bug-automake@gnu.org about your system, including the value
3077 of your $PATH and any error possibly output before this message. This
3078 can help us improve future automake versions.
3081 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3082 echo 'Configuration will proceed anyway, since you have set the' >&2
3083 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3087 Aborting the configuration process, to ensure you take notice of the issue.
3089 You can download and install GNU coreutils to get an 'rm' implementation
3090 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3092 If you want to complete the configuration process using your problematic
3093 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3094 to "yes", and re-run configure.
3097 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3101 ac_config_headers
="$ac_config_headers spl_config.h"
3106 ac_cpp
='$CPP $CPPFLAGS'
3107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3110 if test -n "$ac_tool_prefix"; then
3111 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3112 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_CC+:} false
; then :
3116 $as_echo_n "(cached) " >&6
3118 if test -n "$CC"; then
3119 ac_cv_prog_CC
="$CC" # Let the user override the test.
3121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir
=.
3126 for ac_exec_ext
in '' $ac_executable_extensions; do
3127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3128 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 if test -n "$CC"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3141 $as_echo "$CC" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3149 if test -z "$ac_cv_prog_CC"; then
3151 # Extract the first word of "gcc", so it can be a program name with args.
3152 set dummy gcc
; ac_word
=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$ac_ct_CC"; then
3159 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir
=.
3166 for ac_exec_ext
in '' $ac_executable_extensions; do
3167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_ac_ct_CC
="gcc"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3179 if test -n "$ac_ct_CC"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3181 $as_echo "$ac_ct_CC" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3187 if test "x$ac_ct_CC" = x
; then
3190 case $cross_compiling:$ac_tool_warned in
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3194 ac_tool_warned
=yes ;;
3202 if test -z "$CC"; then
3203 if test -n "$ac_tool_prefix"; then
3204 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3205 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if ${ac_cv_prog_CC+:} false
; then :
3209 $as_echo_n "(cached) " >&6
3211 if test -n "$CC"; then
3212 ac_cv_prog_CC
="$CC" # Let the user override the test.
3214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir
=.
3219 for ac_exec_ext
in '' $ac_executable_extensions; do
3220 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3221 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 if test -n "$CC"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3234 $as_echo "$CC" >&6; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3243 if test -z "$CC"; then
3244 # Extract the first word of "cc", so it can be a program name with args.
3245 set dummy cc
; ac_word
=$2
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247 $as_echo_n "checking for $ac_word... " >&6; }
3248 if ${ac_cv_prog_CC+:} false
; then :
3249 $as_echo_n "(cached) " >&6
3251 if test -n "$CC"; then
3252 ac_cv_prog_CC
="$CC" # Let the user override the test.
3255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3259 test -z "$as_dir" && as_dir
=.
3260 for ac_exec_ext
in '' $ac_executable_extensions; do
3261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3262 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3263 ac_prog_rejected
=yes
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 if test $ac_prog_rejected = yes; then
3275 # We found a bogon in the path, so make sure we never use it.
3276 set dummy
$ac_cv_prog_CC
3278 if test $# != 0; then
3279 # We chose a different compiler from the bogus one.
3280 # However, it has the same basename, so the bogon will be chosen
3281 # first if we set CC to just the basename; use the full file name.
3283 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3289 if test -n "$CC"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3291 $as_echo "$CC" >&6; }
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3299 if test -z "$CC"; then
3300 if test -n "$ac_tool_prefix"; then
3301 for ac_prog
in cl.exe
3303 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3304 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306 $as_echo_n "checking for $ac_word... " >&6; }
3307 if ${ac_cv_prog_CC+:} false
; then :
3308 $as_echo_n "(cached) " >&6
3310 if test -n "$CC"; then
3311 ac_cv_prog_CC
="$CC" # Let the user override the test.
3313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir
=.
3318 for ac_exec_ext
in '' $ac_executable_extensions; do
3319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3320 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 if test -n "$CC"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3333 $as_echo "$CC" >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3340 test -n "$CC" && break
3343 if test -z "$CC"; then
3345 for ac_prog
in cl.exe
3347 # Extract the first word of "$ac_prog", so it can be a program name with args.
3348 set dummy
$ac_prog; ac_word
=$2
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350 $as_echo_n "checking for $ac_word... " >&6; }
3351 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3352 $as_echo_n "(cached) " >&6
3354 if test -n "$ac_ct_CC"; then
3355 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3361 test -z "$as_dir" && as_dir
=.
3362 for ac_exec_ext
in '' $ac_executable_extensions; do
3363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3364 ac_cv_prog_ac_ct_CC
="$ac_prog"
3365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3375 if test -n "$ac_ct_CC"; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3377 $as_echo "$ac_ct_CC" >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380 $as_echo "no" >&6; }
3384 test -n "$ac_ct_CC" && break
3387 if test "x$ac_ct_CC" = x
; then
3390 case $cross_compiling:$ac_tool_warned in
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3394 ac_tool_warned
=yes ;;
3403 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3405 as_fn_error $?
"no acceptable C compiler found in \$PATH
3406 See \`config.log' for more details" "$LINENO" 5; }
3408 # Provide some information about the compiler.
3409 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3412 for ac_option
in --version -v -V -qversion; do
3413 { { ac_try
="$ac_compiler $ac_option >&5"
3415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3416 *) ac_try_echo=$ac_try;;
3418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419 $as_echo "$ac_try_echo"; } >&5
3420 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3422 if test -s conftest.err; then
3424 ... rest of stderr output deleted ...
3425 10q' conftest.err >conftest.er1
3426 cat conftest.er1 >&5
3428 rm -f conftest.er1 conftest.err
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3444 ac_clean_files_save=$ac_clean_files
3445 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3446 # Try to create an executable without -o first, disregard a.out.
3447 # It will help us diagnose broken compilers, and finding out an intuition
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3450 $as_echo_n "checking whether the C compiler works... " >&6; }
3451 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3453 # The possible output files:
3454 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3457 for ac_file in $ac_files
3460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3461 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3466 if { { ac_try="$ac_link_default"
3468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3469 *) ac_try_echo
=$ac_try;;
3471 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472 $as_echo "$ac_try_echo"; } >&5
3473 (eval "$ac_link_default") 2>&5
3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476 test $ac_status = 0; }; then :
3477 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3478 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3479 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3480 # so that the user can short-circuit this test for compilers unknown to
3482 for ac_file
in $ac_files ''
3484 test -f "$ac_file" ||
continue
3486 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3489 # We found the default executable, but exeext='' is most
3493 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3495 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3497 # We set ac_cv_exeext here because the later test for it is not
3498 # safe: cross compilers may not add the suffix if given an `-o'
3499 # argument, so we may need to know it at that point already.
3500 # Even if this section looks crufty: it has the advantage of
3507 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3512 if test -z "$ac_file"; then :
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3515 $as_echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.
$ac_ext >&5
3518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520 as_fn_error
77 "C compiler cannot create executables
3521 See \`config.log' for more details" "$LINENO" 5; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3524 $as_echo "yes" >&6; }
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3527 $as_echo_n "checking for C compiler default output file name... " >&6; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3529 $as_echo "$ac_file" >&6; }
3530 ac_exeext
=$ac_cv_exeext
3532 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3533 ac_clean_files
=$ac_clean_files_save
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3535 $as_echo_n "checking for suffix of executables... " >&6; }
3536 if { { ac_try
="$ac_link"
3538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3539 *) ac_try_echo=$ac_try;;
3541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3542 $as_echo "$ac_try_echo"; } >&5
3543 (eval "$ac_link") 2>&5
3545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3546 test $ac_status = 0; }; then :
3547 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3548 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3549 # work properly (i.e., refer to `conftest.exe'), while it won't with
3551 for ac_file
in conftest.exe conftest conftest.
*; do
3552 test -f "$ac_file" ||
continue
3554 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3555 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3563 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3564 See \`config.log' for more details" "$LINENO" 5; }
3566 rm -f conftest conftest
$ac_cv_exeext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3568 $as_echo "$ac_cv_exeext" >&6; }
3570 rm -f conftest.
$ac_ext
3571 EXEEXT
=$ac_cv_exeext
3573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3579 FILE *f = fopen ("conftest.out", "w");
3580 return ferror (f) || fclose (f) != 0;
3586 ac_clean_files
="$ac_clean_files conftest.out"
3587 # Check that the compiler produces executables we can run. If not, either
3588 # the compiler is broken, or we cross compile.
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3590 $as_echo_n "checking whether we are cross compiling... " >&6; }
3591 if test "$cross_compiling" != yes; then
3592 { { ac_try
="$ac_link"
3594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3598 $as_echo "$ac_try_echo"; } >&5
3599 (eval "$ac_link") 2>&5
3601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602 test $ac_status = 0; }
3603 if { ac_try='./conftest$ac_cv_exeext'
3604 { { case "(($ac_try" in
3605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3606 *) ac_try_echo
=$ac_try;;
3608 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3609 $as_echo "$ac_try_echo"; } >&5
3610 (eval "$ac_try") 2>&5
3612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3613 test $ac_status = 0; }; }; then
3616 if test "$cross_compiling" = maybe
; then
3619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $?
"cannot run C compiled programs.
3622 If you meant to cross compile, use \`--host'.
3623 See \`config.log' for more details" "$LINENO" 5; }
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3628 $as_echo "$cross_compiling" >&6; }
3630 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3631 ac_clean_files
=$ac_clean_files_save
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3633 $as_echo_n "checking for suffix of object files... " >&6; }
3634 if ${ac_cv_objext+:} false
; then :
3635 $as_echo_n "(cached) " >&6
3637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3648 rm -f conftest.o conftest.obj
3649 if { { ac_try
="$ac_compile"
3651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3655 $as_echo "$ac_try_echo"; } >&5
3656 (eval "$ac_compile") 2>&5
3658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3659 test $ac_status = 0; }; then :
3660 for ac_file in conftest.o conftest.obj conftest.*; do
3661 test -f "$ac_file" || continue;
3663 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3664 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3669 $as_echo "$as_me: failed program was:" >&5
3670 sed 's/^/| /' conftest.$ac_ext >&5
3672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3674 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3675 See \
`config.log' for more details" "$LINENO" 5; }
3677 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3680 $as_echo "$ac_cv_objext" >&6; }
3681 OBJEXT=$ac_cv_objext
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3684 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3685 if ${ac_cv_c_compiler_gnu+:} false; then :
3686 $as_echo_n "(cached) " >&6
3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3702 if ac_fn_c_try_compile "$LINENO"; then :
3707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3708 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3712 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3713 if test $ac_compiler_gnu = yes; then
3718 ac_test_CFLAGS=${CFLAGS+set}
3719 ac_save_CFLAGS=$CFLAGS
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3721 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3722 if ${ac_cv_prog_cc_g+:} false; then :
3723 $as_echo_n "(cached) " >&6
3725 ac_save_c_werror_flag=$ac_c_werror_flag
3726 ac_c_werror_flag=yes
3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h. */
3740 if ac_fn_c_try_compile "$LINENO"; then :
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3755 if ac_fn_c_try_compile "$LINENO"; then :
3758 ac_c_werror_flag=$ac_save_c_werror_flag
3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761 /* end confdefs.h. */
3771 if ac_fn_c_try_compile "$LINENO"; then :
3774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 ac_c_werror_flag=$ac_save_c_werror_flag
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3782 $as_echo "$ac_cv_prog_cc_g" >&6; }
3783 if test "$ac_test_CFLAGS" = set; then
3784 CFLAGS=$ac_save_CFLAGS
3785 elif test $ac_cv_prog_cc_g = yes; then
3786 if test "$GCC" = yes; then
3792 if test "$GCC" = yes; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3799 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3800 if ${ac_cv_prog_cc_c89+:} false; then :
3801 $as_echo_n "(cached) " >&6
3803 ac_cv_prog_cc_c89=no
3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806 /* end confdefs.h. */
3810 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3811 struct buf { int x; };
3812 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3813 static char *e (p, i)
3819 static char *f (char * (*g) (char **, int), char **p, ...)
3824 s = g (p, va_arg (v,int));
3829 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3830 function prototypes and stuff, but not '\xHH' hex character constants.
3831 These don't provoke an error unfortunately, instead are silently treated
3832 as 'x'. The following induces an error, until -std is added to get
3833 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3834 array size at least. It's necessary to write '\x00'==0 to get something
3835 that's true only with -std. */
3836 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3838 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3839 inside strings and character constants. */
3841 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3843 int test (int i, double x);
3844 struct s1 {int (*f) (int a);};
3845 struct s2 {int (*f) (double a);};
3846 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3852 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3857 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3858 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3860 CC="$ac_save_CC $ac_arg"
3861 if ac_fn_c_try_compile "$LINENO"; then :
3862 ac_cv_prog_cc_c89=$ac_arg
3864 rm -f core conftest.err conftest.$ac_objext
3865 test "x$ac_cv_prog_cc_c89" != "xno" && break
3867 rm -f conftest.$ac_ext
3872 case "x$ac_cv_prog_cc_c89" in
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3875 $as_echo "none needed" >&6; } ;;
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3878 $as_echo "unsupported" >&6; } ;;
3880 CC="$CC $ac_cv_prog_cc_c89"
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3882 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3884 if test "x$ac_cv_prog_cc_c89" != xno; then :
3889 ac_cpp='$CPP $CPPFLAGS'
3890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3895 ac_cpp='$CPP $CPPFLAGS'
3896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3900 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3901 if ${am_cv_prog_cc_c_o+:} false; then :
3902 $as_echo_n "(cached) " >&6
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3915 # Make sure it works both with $CC and with simple cc.
3916 # Following AC_PROG_CC_C_O, we do the test twice because some
3917 # compilers refuse to overwrite an existing .o file with -o,
3918 # though they will create one.
3919 am_cv_prog_cc_c_o=yes
3921 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3922 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } \
3926 && test -f conftest2.$ac_objext; then
3929 am_cv_prog_cc_c_o=no
3933 rm -f core conftest*
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3937 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3938 if test "$am_cv_prog_cc_c_o" != yes; then
3939 # Losing compiler, so override with the script.
3940 # FIXME: It is wrong to rewrite CC.
3941 # But if we don't then we get into trouble of one sort or another.
3942 # A longer-term fix would be to have automake use am__CC in this case,
3943 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3944 CC="$am_aux_dir/compile $CC"
3947 ac_cpp='$CPP $CPPFLAGS'
3948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3952 DEPDIR="${am__leading_dot}deps"
3954 ac_config_commands="$ac_config_commands depfiles"
3957 am_make=${MAKE-make}
3958 cat > confinc << 'END'
3960 @echo this is the am__doit target
3963 # If we don't find an include directive, just comment out the code.
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3965 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3969 # First try GNU make style include.
3970 echo "include confinc" > confmf
3971 # Ignore all kinds of additional output from 'make'.
3972 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3973 *the\ am__doit\ target*)
3979 # Now try BSD make style include.
3980 if test "$am__include" = "#"; then
3981 echo '.include "confinc"' > confmf
3982 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3983 *the\ am__doit\ target*)
3984 am__include=.include
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3993 $as_echo "$_am_result" >&6; }
3994 rm -f confinc confmf
3996 # Check whether --enable-dependency-tracking was given.
3997 if test "${enable_dependency_tracking+set}" = set; then :
3998 enableval=$enable_dependency_tracking;
4001 if test "x$enable_dependency_tracking" != xno; then
4002 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:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4019 $as_echo_n "checking dependency style of $depcc... " >&6; }
4020 if ${am_cv_CC_dependencies_compiler_type+:} false; 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
4031 # Copy depcomp to subdir because otherwise we won't find it if we're
4032 # using a relative directory.
4033 cp "$am_depcomp" conftest.dir
4035 # We will build objects and dependencies in a subdirectory because
4036 # it helps to detect inapplicable dependency modes. For instance
4037 # both Tru64's cc and ICC support -MD to output dependencies as a
4038 # side effect of compilation, but ICC will put the dependencies in
4039 # the current directory while Tru64 will put them in the object
4043 am_cv_CC_dependencies_compiler_type=none
4044 if test "$am_compiler_list" = ""; then
4045 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4048 case " $depcc " in #(
4049 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4052 for depmode in $am_compiler_list; do
4053 # Setup a source with many dependencies, because some compilers
4054 # like to wrap large dependency lists on column 80 (with \), and
4055 # we should not choose a depcomp mode which is confused by this.
4057 # We need to recreate these files for each test, as the compiler may
4058 # overwrite some of them when testing with obscure command lines.
4059 # This happens at least with the AIX C compiler.
4061 for i in 1 2 3 4 5 6; do
4062 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4063 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4064 # Solaris 10 /bin/sh.
4065 echo '/* dummy */' > sub/conftst$i.h
4067 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4069 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4070 # mode. It turns out that the SunPro C++ compiler does not properly
4071 # handle '-M -o', and we need to detect this. Also, some Intel
4072 # versions had trouble with output in subdirs.
4073 am__obj=sub/conftest.${OBJEXT-o}
4074 am__minus_obj="-o $am__obj"
4077 # This depmode causes a compiler race in universal mode.
4078 test "$am__universal" = false || continue
4081 # After this tag, mechanisms are not by side-effect, so they'll
4082 # only be used when explicitly requested.
4083 if test "x$enable_dependency_tracking" = xyes; then
4089 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4090 # This compiler won't grok '-c -o', but also, the minuso test has
4091 # not run yet. These depmodes are late enough in the game, and
4092 # so weak that their functioning should not be impacted.
4093 am__obj=conftest.${OBJEXT-o}
4098 if depmode=$depmode \
4099 source=sub/conftest.c object=$am__obj \
4100 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4101 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4102 >/dev/null 2>conftest.err &&
4103 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4104 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4105 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4106 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4107 # icc doesn't choke on unknown options, it will just issue warnings
4108 # or remarks (even with -Werror). So we grep stderr for any message
4109 # that says an option was ignored or not supported.
4110 # When given -MP, icc 7.0 and 7.1 complain thusly:
4111 # icc: Command line warning: ignoring option '-M'; no argument required
4112 # The diagnosis changed in icc 8.0:
4113 # icc: Command line remark: option '-MP' not supported
4114 if (grep 'ignoring option' conftest.err ||
4115 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4116 am_cv_CC_dependencies_compiler_type=$depmode
4125 am_cv_CC_dependencies_compiler_type=none
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4130 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4131 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4134 test "x$enable_dependency_tracking" != xno \
4135 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4137 am__fastdepCC_FALSE='#'
4139 am__fastdepCC_TRUE='#'
4140 am__fastdepCC_FALSE=
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4147 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4152 macro_version='2.4.6'
4153 macro_revision='2.4.6'
4167 ltmain=$ac_aux_dir/ltmain.sh
4169 # Backslashify metacharacters that are still active within
4170 # double-quoted strings.
4171 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4173 # Same as above, but do not quote variable references.
4174 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4176 # Sed substitution to delay expansion of an escaped shell variable in a
4177 # double_quote_subst'ed string.
4178 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4180 # Sed substitution to delay expansion of an escaped single quote.
4181 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4183 # Sed substitution to avoid accidental globbing in evaled expressions
4184 no_glob_subst='s/\*/\\\*/g'
4186 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4187 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4188 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4191 $as_echo_n "checking how to print
strings...
" >&6; }
4192 # Test print first, because it will be a builtin if present.
4193 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4194 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4196 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4199 # Use this function as a fallback that always works.
4200 func_fallback_echo ()
4202 eval 'cat <<_LTECHO_EOF
4206 ECHO='func_fallback_echo'
4209 # func_echo_all arg...
4210 # Invoke $ECHO with all args, space-separated.
4217 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4218 $as_echo "printf" >&6; } ;;
4219 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4220 $as_echo "print
-r" >&6; } ;;
4221 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4222 $as_echo "cat" >&6; } ;;
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4239 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4240 if ${ac_cv_path_SED+:} false; then :
4241 $as_echo_n "(cached
) " >&6
4243 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4244 for ac_i in 1 2 3 4 5 6 7; do
4245 ac_script="$ac_script$as_nl$ac_script"
4247 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4248 { ac_script=; unset ac_script;}
4249 if test -z "$SED"; then
4250 ac_path_SED_found=false
4251 # Loop through the user's path and test for each of PROGNAME-LIST
4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir=.
4257 for ac_prog in sed gsed; do
4258 for ac_exec_ext in '' $ac_executable_extensions; do
4259 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4260 as_fn_executable_p "$ac_path_SED" || continue
4261 # Check for GNU ac_path_SED and select it if it is found.
4262 # Check for GNU $ac_path_SED
4263 case `"$ac_path_SED" --version 2>&1` in
4265 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4268 $as_echo_n 0123456789 >"conftest.
in"
4271 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4272 mv "conftest.tmp
" "conftest.
in"
4273 cp "conftest.
in" "conftest.
nl"
4274 $as_echo '' >> "conftest.
nl"
4275 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4276 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4277 as_fn_arith $ac_count + 1 && ac_count=$as_val
4278 if test $ac_count -gt ${ac_path_SED_max-0}; then
4279 # Best one so far, save it but keep looking for a better one
4280 ac_cv_path_SED="$ac_path_SED"
4281 ac_path_SED_max=$ac_count
4283 # 10*(2^10) chars as input seems more than enough
4284 test $ac_count -gt 10 && break
4286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4289 $ac_path_SED_found && break 3
4294 if test -z "$ac_cv_path_SED"; then
4295 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4303 $as_echo "$ac_cv_path_SED" >&6; }
4304 SED="$ac_cv_path_SED"
4307 test -z "$SED" && SED=sed
4308 Xsed="$SED -e 1s
/^X
//"
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4321 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4322 if ${ac_cv_path_GREP+:} false; then :
4323 $as_echo_n "(cached
) " >&6
4325 if test -z "$GREP"; then
4326 ac_path_GREP_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/xpg4/bin
4332 test -z "$as_dir" && as_dir=.
4333 for ac_prog in grep ggrep; do
4334 for ac_exec_ext in '' $ac_executable_extensions; do
4335 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4336 as_fn_executable_p "$ac_path_GREP" || continue
4337 # Check for GNU ac_path_GREP and select it if it is found.
4338 # Check for GNU $ac_path_GREP
4339 case `"$ac_path_GREP" --version 2>&1` in
4341 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_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 'GREP' >> "conftest.
nl"
4351 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4352 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4353 as_fn_arith $ac_count + 1 && ac_count=$as_val
4354 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4355 # Best one so far, save it but keep looking for a better one
4356 ac_cv_path_GREP="$ac_path_GREP"
4357 ac_path_GREP_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_GREP_found && break 3
4370 if test -z "$ac_cv_path_GREP"; then
4371 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4374 ac_cv_path_GREP=$GREP
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4379 $as_echo "$ac_cv_path_GREP" >&6; }
4380 GREP="$ac_cv_path_GREP"
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4384 $as_echo_n "checking
for egrep...
" >&6; }
4385 if ${ac_cv_path_EGREP+:} false; then :
4386 $as_echo_n "(cached
) " >&6
4388 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4389 then ac_cv_path_EGREP="$GREP -E"
4391 if test -z "$EGREP"; then
4392 ac_path_EGREP_found=false
4393 # Loop through the user's path and test for each of PROGNAME-LIST
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4398 test -z "$as_dir" && as_dir=.
4399 for ac_prog in egrep; do
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4402 as_fn_executable_p "$ac_path_EGREP" || continue
4403 # Check for GNU ac_path_EGREP and select it if it is found.
4404 # Check for GNU $ac_path_EGREP
4405 case `"$ac_path_EGREP" --version 2>&1` in
4407 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4410 $as_echo_n 0123456789 >"conftest.
in"
4413 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4414 mv "conftest.tmp
" "conftest.
in"
4415 cp "conftest.
in" "conftest.
nl"
4416 $as_echo 'EGREP' >> "conftest.
nl"
4417 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4418 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4419 as_fn_arith $ac_count + 1 && ac_count=$as_val
4420 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4421 # Best one so far, save it but keep looking for a better one
4422 ac_cv_path_EGREP="$ac_path_EGREP"
4423 ac_path_EGREP_max=$ac_count
4425 # 10*(2^10) chars as input seems more than enough
4426 test $ac_count -gt 10 && break
4428 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4431 $ac_path_EGREP_found && break 3
4436 if test -z "$ac_cv_path_EGREP"; then
4437 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4440 ac_cv_path_EGREP=$EGREP
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4446 $as_echo "$ac_cv_path_EGREP" >&6; }
4447 EGREP="$ac_cv_path_EGREP"
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4451 $as_echo_n "checking
for fgrep...
" >&6; }
4452 if ${ac_cv_path_FGREP+:} false; then :
4453 $as_echo_n "(cached
) " >&6
4455 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4456 then ac_cv_path_FGREP="$GREP -F"
4458 if test -z "$FGREP"; then
4459 ac_path_FGREP_found=false
4460 # Loop through the user's path and test for each of PROGNAME-LIST
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4465 test -z "$as_dir" && as_dir=.
4466 for ac_prog in fgrep; do
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4469 as_fn_executable_p "$ac_path_FGREP" || continue
4470 # Check for GNU ac_path_FGREP and select it if it is found.
4471 # Check for GNU $ac_path_FGREP
4472 case `"$ac_path_FGREP" --version 2>&1` in
4474 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4477 $as_echo_n 0123456789 >"conftest.
in"
4480 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4481 mv "conftest.tmp
" "conftest.
in"
4482 cp "conftest.
in" "conftest.
nl"
4483 $as_echo 'FGREP' >> "conftest.
nl"
4484 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4485 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4486 as_fn_arith $ac_count + 1 && ac_count=$as_val
4487 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4488 # Best one so far, save it but keep looking for a better one
4489 ac_cv_path_FGREP="$ac_path_FGREP"
4490 ac_path_FGREP_max=$ac_count
4492 # 10*(2^10) chars as input seems more than enough
4493 test $ac_count -gt 10 && break
4495 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4498 $ac_path_FGREP_found && break 3
4503 if test -z "$ac_cv_path_FGREP"; then
4504 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4507 ac_cv_path_FGREP=$FGREP
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4513 $as_echo "$ac_cv_path_FGREP" >&6; }
4514 FGREP="$ac_cv_path_FGREP"
4517 test -z "$GREP" && GREP=grep
4537 # Check whether --with-gnu-ld was given.
4538 if test "${with_gnu_ld+set}" = set; then :
4539 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4545 if test yes = "$GCC"; then
4546 # Check if gcc -print-prog-name=ld gives a path.
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4548 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4551 # gcc leaves a trailing carriage return, which upsets mingw
4552 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4554 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4557 # Accept absolute paths.
4559 re_direlt='/[^/][^/]*/\.\./'
4560 # Canonicalize the pathname of ld
4561 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4562 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4563 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4565 test -z "$LD" && LD=$ac_prog
4568 # If it fails, then pretend we aren't using GCC.
4572 # If it is relative, then search for the first ld in PATH.
4576 elif test yes = "$with_gnu_ld"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4578 $as_echo_n "checking
for GNU ld...
" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4581 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4583 if ${lt_cv_path_LD+:} false; then :
4584 $as_echo_n "(cached
) " >&6
4586 if test -z "$LD"; then
4587 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4588 for ac_dir in $PATH; do
4590 test -z "$ac_dir" && ac_dir=.
4591 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4592 lt_cv_path_LD=$ac_dir/$ac_prog
4593 # Check to see if the program is GNU ld. I'd rather use --version,
4594 # but apparently some variants of GNU ld only accept -v.
4595 # Break only if it was the GNU/non-GNU ld that we prefer.
4596 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4597 *GNU* | *'with BFD'*)
4598 test no != "$with_gnu_ld" && break
4601 test yes != "$with_gnu_ld" && break
4608 lt_cv_path_LD=$LD # Let the user override the test with a path.
4613 if test -n "$LD"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4615 $as_echo "$LD" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4618 $as_echo "no
" >&6; }
4620 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4622 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4623 if ${lt_cv_prog_gnu_ld+:} false; then :
4624 $as_echo_n "(cached
) " >&6
4626 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4627 case `$LD -v 2>&1 </dev/null` in
4628 *GNU* | *'with BFD'*)
4629 lt_cv_prog_gnu_ld=yes
4632 lt_cv_prog_gnu_ld=no
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4637 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4638 with_gnu_ld=$lt_cv_prog_gnu_ld
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4649 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4650 if ${lt_cv_path_NM+:} false; then :
4651 $as_echo_n "(cached
) " >&6
4653 if test -n "$NM"; then
4654 # Let the user override the test.
4657 lt_nm_to_check=${ac_tool_prefix}nm
4658 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4659 lt_nm_to_check="$lt_nm_to_check nm
"
4661 for lt_tmp_nm in $lt_nm_to_check; do
4662 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4663 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4665 test -z "$ac_dir" && ac_dir=.
4666 tmp_nm=$ac_dir/$lt_tmp_nm
4667 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4668 # Check to see if the nm accepts a BSD-compat flag.
4669 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4670 # nm: unknown option "B
" ignored
4671 # Tru64's nm complains that /dev/null is an invalid object file
4672 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4674 mingw*) lt_bad_file=conftest.nm/nofile ;;
4675 *) lt_bad_file=/dev/null ;;
4677 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4678 *$lt_bad_file* | *'Invalid file or object type'*)
4679 lt_cv_path_NM="$tmp_nm -B"
4683 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4685 lt_cv_path_NM="$tmp_nm -p"
4689 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4690 continue # so that we can try to find one that supports BSD flags
4699 : ${lt_cv_path_NM=no}
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4703 $as_echo "$lt_cv_path_NM" >&6; }
4704 if test no != "$lt_cv_path_NM"; then
4707 # Didn't find any BSD compatible name lister, look for dumpbin.
4708 if test -n "$DUMPBIN"; then :
4709 # Let the user override the test.
4711 if test -n "$ac_tool_prefix"; then
4712 for ac_prog in dumpbin "link
-dump"
4714 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4715 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4717 $as_echo_n "checking
for $ac_word...
" >&6; }
4718 if ${ac_cv_prog_DUMPBIN+:} false; then :
4719 $as_echo_n "(cached
) " >&6
4721 if test -n "$DUMPBIN"; then
4722 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir=.
4729 for ac_exec_ext in '' $ac_executable_extensions; do
4730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4741 DUMPBIN=$ac_cv_prog_DUMPBIN
4742 if test -n "$DUMPBIN"; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4744 $as_echo "$DUMPBIN" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4747 $as_echo "no
" >&6; }
4751 test -n "$DUMPBIN" && break
4754 if test -z "$DUMPBIN"; then
4755 ac_ct_DUMPBIN=$DUMPBIN
4756 for ac_prog in dumpbin "link
-dump"
4758 # Extract the first word of "$ac_prog", so it can be a program name with args.
4759 set dummy $ac_prog; ac_word=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4761 $as_echo_n "checking
for $ac_word...
" >&6; }
4762 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4763 $as_echo_n "(cached
) " >&6
4765 if test -n "$ac_ct_DUMPBIN"; then
4766 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir=.
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4775 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4785 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4786 if test -n "$ac_ct_DUMPBIN"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4788 $as_echo "$ac_ct_DUMPBIN" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4791 $as_echo "no
" >&6; }
4795 test -n "$ac_ct_DUMPBIN" && break
4798 if test "x
$ac_ct_DUMPBIN" = x; then
4801 case $cross_compiling:$ac_tool_warned in
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4804 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4805 ac_tool_warned=yes ;;
4807 DUMPBIN=$ac_ct_DUMPBIN
4811 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4813 DUMPBIN="$DUMPBIN -symbols -headers"
4821 if test : != "$DUMPBIN"; then
4825 test -z "$NM" && NM=nm
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4833 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4834 if ${lt_cv_nm_interface+:} false; then :
4835 $as_echo_n "(cached
) " >&6
4837 lt_cv_nm_interface="BSD nm
"
4838 echo "int some_variable
= 0;" > conftest.$ac_ext
4839 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4840 (eval "$ac_compile" 2>conftest.err)
4841 cat conftest.err >&5
4842 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4843 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4844 cat conftest.err >&5
4845 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4846 cat conftest.out >&5
4847 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4848 lt_cv_nm_interface="MS dumpbin
"
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4853 $as_echo "$lt_cv_nm_interface" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
4856 $as_echo_n "checking whether
ln -s works...
" >&6; }
4858 if test "$LN_S" = "ln -s"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4860 $as_echo "yes" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
4863 $as_echo "no
, using
$LN_S" >&6; }
4866 # find the maximum length of command line arguments
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4868 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4869 if ${lt_cv_sys_max_cmd_len+:} false; then :
4870 $as_echo_n "(cached
) " >&6
4877 # On DJGPP, this test can blow up pretty badly due to problems in libc
4878 # (any single argument exceeding 2000 bytes causes a buffer overrun
4879 # during glob expansion). Even if it were fixed, the result of this
4880 # check would be larger than it should be.
4881 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4885 # Under GNU Hurd, this test is not required because there is
4886 # no limit to the length of command line arguments.
4887 # Libtool will interpret -1 as no limit whatsoever
4888 lt_cv_sys_max_cmd_len=-1;
4891 cygwin* | mingw* | cegcc*)
4892 # On Win9x/ME, this test blows up -- it succeeds, but takes
4893 # about 5 minutes as the teststring grows exponentially.
4894 # Worse, since 9x/ME are not pre-emptively multitasking,
4895 # you end up with a "frozen
" computer, even though with patience
4896 # the test eventually succeeds (with a max line length of 256k).
4897 # Instead, let's just punt: use the minimum linelength reported by
4898 # all of the supported platforms: 8192 (on NT/2K/XP).
4899 lt_cv_sys_max_cmd_len=8192;
4903 # On MiNT this can take a long time and run out of memory.
4904 lt_cv_sys_max_cmd_len=8192;
4908 # On AmigaOS with pdksh, this test takes hours, literally.
4909 # So we just punt and use a minimum line length of 8192.
4910 lt_cv_sys_max_cmd_len=8192;
4913 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4914 # This has been around since 386BSD, at least. Likely further.
4915 if test -x /sbin/sysctl; then
4916 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4917 elif test -x /usr/sbin/sysctl; then
4918 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4920 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4922 # And add a safety zone
4923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4924 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4928 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4929 lt_cv_sys_max_cmd_len=196608
4933 # The test takes a long time on OS/2.
4934 lt_cv_sys_max_cmd_len=8192
4938 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4939 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4940 # nice to cause kernel panics so lets avoid the loop below.
4941 # First set a reasonable default.
4942 lt_cv_sys_max_cmd_len=16384
4944 if test -x /sbin/sysconfig; then
4945 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4946 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4951 lt_cv_sys_max_cmd_len=102400
4953 sysv5* | sco5v6* | sysv4.2uw2*)
4954 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4955 if test -n "$kargmax"; then
4956 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4958 lt_cv_sys_max_cmd_len=32768
4962 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4963 if test -n "$lt_cv_sys_max_cmd_len" && \
4964 test undefined != "$lt_cv_sys_max_cmd_len"; then
4965 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4968 # Make teststring a little bigger before we do anything with it.
4969 # a 1K string should be a reasonable start.
4970 for i in 1 2 3 4 5 6 7 8; do
4971 teststring=$teststring$teststring
4973 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4974 # If test is not a shell built-in, we'll probably end up computing a
4975 # maximum length that is only half of the actual maximum length, but
4977 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4978 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4979 test 17 != "$i" # 1/2 MB should be enough
4982 teststring=$teststring$teststring
4984 # Only check the string length outside the loop.
4985 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4987 # Add a significant safety factor because C++ compilers can tack on
4988 # massive amounts of additional arguments before passing them to the
4989 # linker. It appears as though 1/2 is a usable value.
4990 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4997 if test -n "$lt_cv_sys_max_cmd_len"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4999 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5002 $as_echo "none
" >&6; }
5004 max_cmd_len=$lt_cv_sys_max_cmd_len
5015 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5025 # test EBCDIC or ASCII
5026 case `echo X|tr X '\101'` in
5027 A) # ASCII based system
5028 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5029 lt_SP2NL='tr \040 \012'
5030 lt_NL2SP='tr \015\012 \040\040'
5032 *) # EBCDIC based system
5033 lt_SP2NL='tr \100 \n'
5034 lt_NL2SP='tr \r\n \100\100'
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5047 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5048 if ${lt_cv_to_host_file_cmd+:} false; then :
5049 $as_echo_n "(cached
) " >&6
5054 *-*-mingw* ) # actually msys
5055 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5058 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5060 * ) # otherwise, assume *nix
5061 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5067 *-*-mingw* ) # actually msys
5068 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5071 lt_cv_to_host_file_cmd=func_convert_file_noop
5073 * ) # otherwise, assume *nix
5074 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5078 * ) # unhandled hosts (and "normal
" native builds)
5079 lt_cv_to_host_file_cmd=func_convert_file_noop
5085 to_host_file_cmd=$lt_cv_to_host_file_cmd
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5087 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5094 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5095 if ${lt_cv_to_tool_file_cmd+:} false; then :
5096 $as_echo_n "(cached
) " >&6
5098 #assume ordinary cross tools, or native build.
5099 lt_cv_to_tool_file_cmd=func_convert_file_noop
5103 *-*-mingw* ) # actually msys
5104 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5112 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5114 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5121 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5122 if ${lt_cv_ld_reload_flag+:} false; then :
5123 $as_echo_n "(cached
) " >&6
5125 lt_cv_ld_reload_flag='-r'
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5128 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5129 reload_flag=$lt_cv_ld_reload_flag
5130 case $reload_flag in
5132 *) reload_flag=" $reload_flag" ;;
5134 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5136 cygwin* | mingw* | pw32* | cegcc*)
5137 if test yes != "$GCC"; then
5142 if test yes = "$GCC"; then
5143 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5145 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5158 if test -n "$ac_tool_prefix"; then
5159 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5160 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5162 $as_echo_n "checking
for $ac_word...
" >&6; }
5163 if ${ac_cv_prog_OBJDUMP+:} false; then :
5164 $as_echo_n "(cached
) " >&6
5166 if test -n "$OBJDUMP"; then
5167 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5186 OBJDUMP=$ac_cv_prog_OBJDUMP
5187 if test -n "$OBJDUMP"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5189 $as_echo "$OBJDUMP" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5192 $as_echo "no
" >&6; }
5197 if test -z "$ac_cv_prog_OBJDUMP"; then
5198 ac_ct_OBJDUMP=$OBJDUMP
5199 # Extract the first word of "objdump
", so it can be a program name with args.
5200 set dummy objdump; ac_word=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5202 $as_echo_n "checking
for $ac_word...
" >&6; }
5203 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5204 $as_echo_n "(cached
) " >&6
5206 if test -n "$ac_ct_OBJDUMP"; then
5207 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5226 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5227 if test -n "$ac_ct_OBJDUMP"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5229 $as_echo "$ac_ct_OBJDUMP" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5232 $as_echo "no
" >&6; }
5235 if test "x
$ac_ct_OBJDUMP" = x; then
5238 case $cross_compiling:$ac_tool_warned in
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5241 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5242 ac_tool_warned=yes ;;
5244 OBJDUMP=$ac_ct_OBJDUMP
5247 OBJDUMP="$ac_cv_prog_OBJDUMP"
5250 test -z "$OBJDUMP" && OBJDUMP=objdump
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5261 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5262 if ${lt_cv_deplibs_check_method+:} false; then :
5263 $as_echo_n "(cached
) " >&6
5265 lt_cv_file_magic_cmd='$MAGIC_CMD'
5266 lt_cv_file_magic_test_file=
5267 lt_cv_deplibs_check_method='unknown'
5268 # Need to set the preceding variable on all platforms that support
5269 # interlibrary dependencies.
5270 # 'none' -- dependencies not supported.
5271 # 'unknown' -- same as none, but documents that we really don't know.
5272 # 'pass_all' -- all dependencies passed with no checks.
5273 # 'test_compile' -- check by making test program.
5274 # 'file_magic [[regex]]' -- check by looking for files in library path
5275 # that responds to the $file_magic_cmd with a given extended regex.
5276 # If you have 'file' or equivalent on your system and you're not sure
5277 # whether 'pass_all' will *always* work, you probably want this one.
5281 lt_cv_deplibs_check_method=pass_all
5285 lt_cv_deplibs_check_method=pass_all
5289 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5290 lt_cv_file_magic_cmd='/usr/bin/file -L'
5291 lt_cv_file_magic_test_file=/shlib/libc.so
5295 # func_win32_libid is a shell function defined in ltmain.sh
5296 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5297 lt_cv_file_magic_cmd='func_win32_libid'
5301 # Base MSYS/MinGW do not provide the 'file' command needed by
5302 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5303 # unless we find 'file', for example because we are cross-compiling.
5304 if ( file / ) >/dev/null 2>&1; then
5305 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5306 lt_cv_file_magic_cmd='func_win32_libid'
5308 # Keep this pattern in sync with the one in func_win32_libid.
5309 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5310 lt_cv_file_magic_cmd='$OBJDUMP -f'
5315 # use the weaker test based on 'objdump'. See mingw*.
5316 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5317 lt_cv_file_magic_cmd='$OBJDUMP -f'
5320 darwin* | rhapsody*)
5321 lt_cv_deplibs_check_method=pass_all
5324 freebsd* | dragonfly*)
5325 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5328 # Not sure whether the presence of OpenBSD here was a mistake.
5329 # Let's accept both of them until this is cleared up.
5330 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5331 lt_cv_file_magic_cmd=/usr/bin/file
5332 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5336 lt_cv_deplibs_check_method=pass_all
5341 lt_cv_deplibs_check_method=pass_all
5344 hpux10.20* | hpux11*)
5345 lt_cv_file_magic_cmd=/usr/bin/file
5348 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5349 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5352 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5353 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5356 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5357 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5363 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5364 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5367 irix5* | irix6* | nonstopux*)
5369 *-32|*"-32 ") libmagic=32-bit;;
5370 *-n32|*"-n32 ") libmagic=N32;;
5371 *-64|*"-64 ") libmagic=64-bit;;
5372 *) libmagic=never-match;;
5374 lt_cv_deplibs_check_method=pass_all
5377 # This must be glibc/ELF.
5378 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5379 lt_cv_deplibs_check_method=pass_all
5382 netbsd* | netbsdelf*-gnu)
5383 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5384 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5386 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5391 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5392 lt_cv_file_magic_cmd=/usr/bin/file
5393 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5397 lt_cv_deplibs_check_method=pass_all
5401 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5404 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5408 osf3* | osf4* | osf5*)
5409 lt_cv_deplibs_check_method=pass_all
5413 lt_cv_deplibs_check_method=pass_all
5417 lt_cv_deplibs_check_method=pass_all
5420 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5421 lt_cv_deplibs_check_method=pass_all
5425 case $host_vendor in
5427 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]'
5428 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5431 lt_cv_deplibs_check_method=pass_all
5434 lt_cv_file_magic_cmd='/bin/file'
5435 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5438 lt_cv_file_magic_cmd='/bin/file'
5439 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5440 lt_cv_file_magic_test_file=/lib/libc.so
5443 lt_cv_deplibs_check_method=pass_all
5446 lt_cv_deplibs_check_method=pass_all
5452 lt_cv_deplibs_check_method=pass_all
5455 lt_cv_deplibs_check_method=pass_all
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5461 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5465 if test "$build" = "$host"; then
5468 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5471 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5477 file_magic_cmd=$lt_cv_file_magic_cmd
5478 deplibs_check_method=$lt_cv_deplibs_check_method
5479 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5502 if test -n "$ac_tool_prefix"; then
5503 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5504 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5506 $as_echo_n "checking
for $ac_word...
" >&6; }
5507 if ${ac_cv_prog_DLLTOOL+:} false; then :
5508 $as_echo_n "(cached
) " >&6
5510 if test -n "$DLLTOOL"; then
5511 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5530 DLLTOOL=$ac_cv_prog_DLLTOOL
5531 if test -n "$DLLTOOL"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5533 $as_echo "$DLLTOOL" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5536 $as_echo "no
" >&6; }
5541 if test -z "$ac_cv_prog_DLLTOOL"; then
5542 ac_ct_DLLTOOL=$DLLTOOL
5543 # Extract the first word of "dlltool
", so it can be a program name with args.
5544 set dummy dlltool; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5546 $as_echo_n "checking
for $ac_word...
" >&6; }
5547 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5548 $as_echo_n "(cached
) " >&6
5550 if test -n "$ac_ct_DLLTOOL"; then
5551 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5570 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5571 if test -n "$ac_ct_DLLTOOL"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5573 $as_echo "$ac_ct_DLLTOOL" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5576 $as_echo "no
" >&6; }
5579 if test "x
$ac_ct_DLLTOOL" = x; then
5582 case $cross_compiling:$ac_tool_warned in
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5585 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5586 ac_tool_warned=yes ;;
5588 DLLTOOL=$ac_ct_DLLTOOL
5591 DLLTOOL="$ac_cv_prog_DLLTOOL"
5594 test -z "$DLLTOOL" && DLLTOOL=dlltool
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5606 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5607 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5608 $as_echo_n "(cached
) " >&6
5610 lt_cv_sharedlib_from_linklib_cmd='unknown'
5613 cygwin* | mingw* | pw32* | cegcc*)
5614 # two different shell functions defined in ltmain.sh;
5615 # decide which one to use based on capabilities of $DLLTOOL
5616 case `$DLLTOOL --help 2>&1` in
5617 *--identify-strict*)
5618 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5621 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5626 # fallback: assume linklib IS sharedlib
5627 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5633 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5634 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5635 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5644 if test -n "$ac_tool_prefix"; then
5647 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5650 $as_echo_n "checking
for $ac_word...
" >&6; }
5651 if ${ac_cv_prog_AR+:} false; then :
5652 $as_echo_n "(cached
) " >&6
5654 if test -n "$AR"; then
5655 ac_cv_prog_AR="$AR" # Let the user override the test.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5675 if test -n "$AR"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5677 $as_echo "$AR" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5680 $as_echo "no
" >&6; }
5684 test -n "$AR" && break
5687 if test -z "$AR"; then
5691 # Extract the first word of "$ac_prog", so it can be a program name with args.
5692 set dummy $ac_prog; ac_word=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5694 $as_echo_n "checking
for $ac_word...
" >&6; }
5695 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5696 $as_echo_n "(cached
) " >&6
5698 if test -n "$ac_ct_AR"; then
5699 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 test -z "$as_dir" && as_dir=.
5706 for ac_exec_ext in '' $ac_executable_extensions; do
5707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5708 ac_cv_prog_ac_ct_AR="$ac_prog"
5709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5718 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5719 if test -n "$ac_ct_AR"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5721 $as_echo "$ac_ct_AR" >&6; }
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5724 $as_echo "no
" >&6; }
5728 test -n "$ac_ct_AR" && break
5731 if test "x
$ac_ct_AR" = x; then
5734 case $cross_compiling:$ac_tool_warned in
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5737 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5738 ac_tool_warned=yes ;;
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5758 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5759 if ${lt_cv_ar_at_file+:} false; then :
5760 $as_echo_n "(cached
) " >&6
5763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5764 /* end confdefs.h. */
5774 if ac_fn_c_try_compile "$LINENO"; then :
5775 echo conftest.$ac_objext > conftest.lst
5776 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5777 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5778 (eval $lt_ar_try) 2>&5
5780 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5781 test $ac_status = 0; }
5782 if test 0 -eq "$ac_status"; then
5783 # Ensure the archiver fails upon bogus file names.
5784 rm -f conftest.$ac_objext libconftest.a
5785 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5786 (eval $lt_ar_try) 2>&5
5788 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5789 test $ac_status = 0; }
5790 if test 0 -ne "$ac_status"; then
5794 rm -f conftest.* libconftest.a
5797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5801 $as_echo "$lt_cv_ar_at_file" >&6; }
5803 if test no = "$lt_cv_ar_at_file"; then
5806 archiver_list_spec=$lt_cv_ar_at_file
5815 if test -n "$ac_tool_prefix"; then
5816 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5817 set dummy ${ac_tool_prefix}strip; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5819 $as_echo_n "checking
for $ac_word...
" >&6; }
5820 if ${ac_cv_prog_STRIP+:} false; then :
5821 $as_echo_n "(cached
) " >&6
5823 if test -n "$STRIP"; then
5824 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5843 STRIP=$ac_cv_prog_STRIP
5844 if test -n "$STRIP"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5846 $as_echo "$STRIP" >&6; }
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5849 $as_echo "no
" >&6; }
5854 if test -z "$ac_cv_prog_STRIP"; then
5856 # Extract the first word of "strip
", so it can be a program name with args.
5857 set dummy strip; ac_word=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5859 $as_echo_n "checking
for $ac_word...
" >&6; }
5860 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5861 $as_echo_n "(cached
) " >&6
5863 if test -n "$ac_ct_STRIP"; then
5864 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5873 ac_cv_prog_ac_ct_STRIP="strip
"
5874 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5883 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5884 if test -n "$ac_ct_STRIP"; then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5886 $as_echo "$ac_ct_STRIP" >&6; }
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5889 $as_echo "no
" >&6; }
5892 if test "x
$ac_ct_STRIP" = x; then
5895 case $cross_compiling:$ac_tool_warned in
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5898 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5899 ac_tool_warned=yes ;;
5904 STRIP="$ac_cv_prog_STRIP"
5907 test -z "$STRIP" && STRIP=:
5914 if test -n "$ac_tool_prefix"; then
5915 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5916 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5918 $as_echo_n "checking
for $ac_word...
" >&6; }
5919 if ${ac_cv_prog_RANLIB+:} false; then :
5920 $as_echo_n "(cached
) " >&6
5922 if test -n "$RANLIB"; then
5923 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5942 RANLIB=$ac_cv_prog_RANLIB
5943 if test -n "$RANLIB"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5945 $as_echo "$RANLIB" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5948 $as_echo "no
" >&6; }
5953 if test -z "$ac_cv_prog_RANLIB"; then
5954 ac_ct_RANLIB=$RANLIB
5955 # Extract the first word of "ranlib
", so it can be a program name with args.
5956 set dummy ranlib; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5958 $as_echo_n "checking
for $ac_word...
" >&6; }
5959 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5960 $as_echo_n "(cached
) " >&6
5962 if test -n "$ac_ct_RANLIB"; then
5963 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5982 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5983 if test -n "$ac_ct_RANLIB"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5985 $as_echo "$ac_ct_RANLIB" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5988 $as_echo "no
" >&6; }
5991 if test "x
$ac_ct_RANLIB" = x; then
5994 case $cross_compiling:$ac_tool_warned in
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5997 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5998 ac_tool_warned=yes ;;
6000 RANLIB=$ac_ct_RANLIB
6003 RANLIB="$ac_cv_prog_RANLIB"
6006 test -z "$RANLIB" && RANLIB=:
6013 # Determine commands to create old-style static archives.
6014 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6015 old_postinstall_cmds='chmod 644 $oldlib'
6016 old_postuninstall_cmds=
6018 if test -n "$RANLIB"; then
6021 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6024 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6027 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6032 lock_old_archive_extraction=yes ;;
6034 lock_old_archive_extraction=no ;;
6075 # If no C compiler was specified, use CC.
6078 # If no C compiler flags were specified, use CFLAGS.
6079 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6081 # Allow CC to be a program name with arguments.
6085 # Check for command to grab the raw symbol name followed by C symbol from nm.
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6087 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6088 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6089 $as_echo_n "(cached
) " >&6
6092 # These are sane defaults that work on at least a few old systems.
6093 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6095 # Character class describing NM global symbol codes.
6096 symcode='[BCDEGRST]'
6098 # Regexp to match symbols that can be accessed directly from C.
6099 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6101 # Define system-specific variables.
6106 cygwin* | mingw* | pw32* | cegcc*)
6107 symcode='[ABCDGISTW]'
6110 if test ia64 = "$host_cpu"; then
6111 symcode='[ABCDEGRST]'
6115 symcode='[BCDEGRST]'
6118 symcode='[BCDEGQRST]'
6129 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6137 # If we're using GNU nm, then use its standard symbol codes.
6138 case `$NM -V 2>&1` in
6139 *GNU* | *'with BFD'*)
6140 symcode='[ABCDGIRSTW]' ;;
6143 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6144 # Gets list of data symbols to import.
6145 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6146 # Adjust the below global symbol transforms to fixup imported variables.
6147 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6148 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6149 lt_c_name_lib_hook="\
6150 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6151 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6153 # Disable hooks by default.
6154 lt_cv_sys_global_symbol_to_import=
6160 # Transform an extracted symbol line into a proper C declaration.
6161 # Some systems (esp. on ia64) link data and code symbols differently,
6162 # so use this general approach.
6163 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6165 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6166 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6168 # Transform an extracted symbol line into symbol name and symbol address
6169 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6171 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6172 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6174 # Transform an extracted symbol line into symbol name with lib prefix and
6176 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6177 $lt_c_name_lib_hook\
6178 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6179 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6180 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6182 # Handle CRLF in mingw tool chain
6186 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6190 # Try without a prefix underscore, then with it.
6191 for ac_symprfx in "" "_
"; do
6193 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6194 symxfrm="\\1 $ac_symprfx\\2 \\2"
6196 # Write the raw and C identifiers.
6197 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6198 # Fake it for dumpbin and say T for any non-static function,
6199 # D for any global variable and I for any imported variable.
6200 # Also find C++ and __fastcall symbols from MSVC++,
6201 # which start with @ or ?.
6202 lt_cv_sys_global_symbol_pipe="$AWK '"\
6203 " {last_section=section; section=\$ 3};"\
6204 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6205 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6206 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6207 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6208 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6209 " \$ 0!~/External *\|/{next};"\
6210 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6211 " {if(hide[section]) next};"\
6212 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6213 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6214 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6215 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6216 " ' prfx
=^
$ac_symprfx"
6218 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6220 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6222 # Check to see that the pipe works correctly.
6226 cat > conftest.$ac_ext <<_LT_EOF
6231 void nm_test_func(void);
6232 void nm_test_func(void){}
6236 int main(){nm_test_var='a';nm_test_func();return(0);}
6239 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6240 (eval $ac_compile) 2>&5
6242 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6243 test $ac_status = 0; }; then
6244 # Now try to grab the symbols.
6246 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6247 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6249 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6250 test $ac_status = 0; } && test -s "$nlist"; then
6251 # Try sorting and uniquifying the output.
6252 if sort "$nlist" | uniq > "$nlist"T; then
6253 mv -f "$nlist"T "$nlist"
6258 # Make sure that we snagged all the symbols we need.
6259 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6260 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6261 cat <<_LT_EOF > conftest.$ac_ext
6262 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6263 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6264 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6265 relocations are performed -- see ld's documentation on pseudo-relocs. */
6266 # define LT_DLSYM_CONST
6267 #elif defined __osf__
6268 /* This system does not cope well with relocations in const data. */
6269 # define LT_DLSYM_CONST
6271 # define LT_DLSYM_CONST const
6279 # Now generate the symbol file.
6280 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6282 cat <<_LT_EOF >> conftest.$ac_ext
6284 /* The mapping between symbol names and symbols. */
6285 LT_DLSYM_CONST struct {
6289 lt__PROGRAM__LTX_preloaded_symbols[] =
6291 { "@PROGRAM@
", (void *) 0 },
6293 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6294 cat <<\_LT_EOF >> conftest.$ac_ext
6298 /* This works around a problem in FreeBSD linker */
6299 #ifdef FREEBSD_WORKAROUND
6300 static const void *lt_preloaded_setup() {
6301 return lt__PROGRAM__LTX_preloaded_symbols;
6309 # Now try linking the two files.
6310 mv conftest.$ac_objext conftstm.$ac_objext
6311 lt_globsym_save_LIBS=$LIBS
6312 lt_globsym_save_CFLAGS=$CFLAGS
6313 LIBS=conftstm.$ac_objext
6314 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6315 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6316 (eval $ac_link) 2>&5
6318 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6319 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6322 LIBS=$lt_globsym_save_LIBS
6323 CFLAGS=$lt_globsym_save_CFLAGS
6325 echo "cannot
find nm_test_func
in $nlist" >&5
6328 echo "cannot
find nm_test_var
in $nlist" >&5
6331 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6334 echo "$progname: failed program was
:" >&5
6335 cat conftest.$ac_ext >&5
6337 rm -rf conftest* conftst*
6339 # Do not use the global_symbol_pipe unless it works.
6340 if test yes = "$pipe_works"; then
6343 lt_cv_sys_global_symbol_pipe=
6349 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6350 lt_cv_sys_global_symbol_to_cdecl=
6352 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6354 $as_echo "failed
" >&6; }
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6357 $as_echo "ok
" >&6; }
6360 # Response file support.
6361 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6362 nm_file_list_spec='@'
6363 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6364 nm_file_list_spec='@'
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6404 $as_echo_n "checking
for sysroot...
" >&6; }
6406 # Check whether --with-sysroot was given.
6407 if test "${with_sysroot+set}" = set; then :
6408 withval=$with_sysroot;
6415 case $with_sysroot in #(
6417 if test yes = "$GCC"; then
6418 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6422 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6428 $as_echo "$with_sysroot" >&6; }
6429 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6434 $as_echo "${lt_sysroot:-no}" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6441 $as_echo_n "checking
for a working
dd...
" >&6; }
6442 if ${ac_cv_path_lt_DD+:} false; then :
6443 $as_echo_n "(cached
) " >&6
6445 printf 0123456789abcdef0123456789abcdef >conftest.i
6446 cat conftest.i conftest.i >conftest2.i
6448 if test -z "$lt_DD"; then
6449 ac_path_lt_DD_found=false
6450 # Loop through the user's path and test for each of PROGNAME-LIST
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 for ac_prog in dd; do
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6459 as_fn_executable_p "$ac_path_lt_DD" || continue
6460 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6461 cmp -s conftest.i conftest.out \
6462 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6464 $ac_path_lt_DD_found && break 3
6469 if test -z "$ac_cv_path_lt_DD"; then
6473 ac_cv_path_lt_DD=$lt_DD
6476 rm -f conftest.i conftest2.i conftest.out
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6479 $as_echo "$ac_cv_path_lt_DD" >&6; }
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6483 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6484 if ${lt_cv_truncate_bin+:} false; then :
6485 $as_echo_n "(cached
) " >&6
6487 printf 0123456789abcdef0123456789abcdef >conftest.i
6488 cat conftest.i conftest.i >conftest2.i
6490 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6491 cmp -s conftest.i conftest.out \
6492 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6494 rm -f conftest.i conftest2.i conftest.out
6495 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6498 $as_echo "$lt_cv_truncate_bin" >&6; }
6506 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6509 for cc_temp in $*""; do
6511 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6512 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6517 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6520 # Check whether --enable-libtool-lock was given.
6521 if test "${enable_libtool_lock+set}" = set; then :
6522 enableval=$enable_libtool_lock;
6525 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6527 # Some flags need to be propagated to the compiler or linker for good
6531 # Find out what ABI is being produced by ac_compile, and set mode
6532 # options accordingly.
6533 echo 'int i;' > conftest.$ac_ext
6534 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6535 (eval $ac_compile) 2>&5
6537 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6538 test $ac_status = 0; }; then
6539 case `/usr/bin/file conftest.$ac_objext` in
6551 # Find out what ABI is being produced by ac_compile, and set linker
6552 # options accordingly.
6553 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6554 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6555 (eval $ac_compile) 2>&5
6557 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6558 test $ac_status = 0; }; then
6559 if test yes = "$lt_cv_prog_gnu_ld"; then
6560 case `/usr/bin/file conftest.$ac_objext` in
6562 LD="${LD-ld} -melf32bsmip"
6565 LD="${LD-ld} -melf32bmipn32"
6568 LD="${LD-ld} -melf64bmip"
6572 case `/usr/bin/file conftest.$ac_objext` in
6589 # Find out what ABI is being produced by ac_compile, and set linker
6590 # options accordingly.
6591 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6592 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6593 (eval $ac_compile) 2>&5
6595 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6596 test $ac_status = 0; }; then
6598 case `/usr/bin/file conftest.$ac_objext` in
6606 case `/usr/bin/file conftest.$ac_objext` in
6608 emul="${emul}btsmip
"
6611 emul="${emul}ltsmip
"
6614 case `/usr/bin/file conftest.$ac_objext` in
6619 LD="${LD-ld} -m $emul"
6624 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6625 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6626 # Find out what ABI is being produced by ac_compile, and set linker
6627 # options accordingly. Note that the listed cases only cover the
6628 # situations where additional linker options are needed (such as when
6629 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6630 # vice versa); the common cases where no linker options are needed do
6631 # not appear in the list.
6632 echo 'int i;' > conftest.$ac_ext
6633 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6634 (eval $ac_compile) 2>&5
6636 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6637 test $ac_status = 0; }; then
6638 case `/usr/bin/file conftest.o` in
6641 x86_64-*kfreebsd*-gnu)
6642 LD="${LD-ld} -m elf_i386_fbsd
"
6645 case `/usr/bin/file conftest.o` in
6647 LD="${LD-ld} -m elf32_x86_64
"
6650 LD="${LD-ld} -m elf_i386
"
6654 powerpc64le-*linux*)
6655 LD="${LD-ld} -m elf32lppclinux
"
6658 LD="${LD-ld} -m elf32ppclinux
"
6661 LD="${LD-ld} -m elf_s390
"
6664 LD="${LD-ld} -m elf32_sparc
"
6670 x86_64-*kfreebsd*-gnu)
6671 LD="${LD-ld} -m elf_x86_64_fbsd
"
6674 LD="${LD-ld} -m elf_x86_64
"
6677 LD="${LD-ld} -m elf64lppc
"
6680 LD="${LD-ld} -m elf64ppc
"
6682 s390*-*linux*|s390*-*tpf*)
6683 LD="${LD-ld} -m elf64_s390
"
6686 LD="${LD-ld} -m elf64_sparc
"
6696 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6698 CFLAGS="$CFLAGS -belf"
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6700 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6701 if ${lt_cv_cc_needs_belf+:} false; then :
6702 $as_echo_n "(cached
) " >&6
6705 ac_cpp='$CPP $CPPFLAGS'
6706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6721 if ac_fn_c_try_link "$LINENO"; then :
6722 lt_cv_cc_needs_belf=yes
6724 lt_cv_cc_needs_belf=no
6726 rm -f core conftest.err conftest.$ac_objext \
6727 conftest$ac_exeext conftest.$ac_ext
6729 ac_cpp='$CPP $CPPFLAGS'
6730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6736 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6737 if test yes != "$lt_cv_cc_needs_belf"; then
6738 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6743 # Find out what ABI is being produced by ac_compile, and set linker
6744 # options accordingly.
6745 echo 'int i;' > conftest.$ac_ext
6746 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6747 (eval $ac_compile) 2>&5
6749 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6750 test $ac_status = 0; }; then
6751 case `/usr/bin/file conftest.o` in
6753 case $lt_cv_prog_gnu_ld in
6756 i?86-*-solaris*|x86_64-*-solaris*)
6757 LD="${LD-ld} -m elf_x86_64
"
6760 LD="${LD-ld} -m elf64_sparc
"
6763 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6764 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6769 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6781 need_locks=$enable_libtool_lock
6783 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6785 set dummy ${ac_tool_prefix}mt; ac_word=$2
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6787 $as_echo_n "checking
for $ac_word...
" >&6; }
6788 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6789 $as_echo_n "(cached
) " >&6
6791 if test -n "$MANIFEST_TOOL"; then
6792 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 test -z "$as_dir" && as_dir=.
6799 for ac_exec_ext in '' $ac_executable_extensions; do
6800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6811 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6812 if test -n "$MANIFEST_TOOL"; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6814 $as_echo "$MANIFEST_TOOL" >&6; }
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6817 $as_echo "no
" >&6; }
6822 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6823 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6824 # Extract the first word of "mt
", so it can be a program name with args.
6825 set dummy mt; ac_word=$2
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6827 $as_echo_n "checking
for $ac_word...
" >&6; }
6828 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6829 $as_echo_n "(cached
) " >&6
6831 if test -n "$ac_ct_MANIFEST_TOOL"; then
6832 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 test -z "$as_dir" && as_dir=.
6839 for ac_exec_ext in '' $ac_executable_extensions; do
6840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6841 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6851 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6852 if test -n "$ac_ct_MANIFEST_TOOL"; then
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6854 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6857 $as_echo "no
" >&6; }
6860 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6863 case $cross_compiling:$ac_tool_warned in
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6866 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6867 ac_tool_warned=yes ;;
6869 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6872 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6875 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6877 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6878 if ${lt_cv_path_mainfest_tool+:} false; then :
6879 $as_echo_n "(cached
) " >&6
6881 lt_cv_path_mainfest_tool=no
6882 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6883 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6884 cat conftest.err >&5
6885 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6886 lt_cv_path_mainfest_tool=yes
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6891 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6892 if test yes != "$lt_cv_path_mainfest_tool"; then
6902 rhapsody* | darwin*)
6903 if test -n "$ac_tool_prefix"; then
6904 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6905 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6907 $as_echo_n "checking
for $ac_word...
" >&6; }
6908 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6909 $as_echo_n "(cached
) " >&6
6911 if test -n "$DSYMUTIL"; then
6912 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 test -z "$as_dir" && as_dir=.
6919 for ac_exec_ext in '' $ac_executable_extensions; do
6920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6921 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6922 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6931 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6932 if test -n "$DSYMUTIL"; then
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6934 $as_echo "$DSYMUTIL" >&6; }
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6937 $as_echo "no
" >&6; }
6942 if test -z "$ac_cv_prog_DSYMUTIL"; then
6943 ac_ct_DSYMUTIL=$DSYMUTIL
6944 # Extract the first word of "dsymutil
", so it can be a program name with args.
6945 set dummy dsymutil; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6947 $as_echo_n "checking
for $ac_word...
" >&6; }
6948 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6949 $as_echo_n "(cached
) " >&6
6951 if test -n "$ac_ct_DSYMUTIL"; then
6952 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6971 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6972 if test -n "$ac_ct_DSYMUTIL"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6974 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6977 $as_echo "no
" >&6; }
6980 if test "x
$ac_ct_DSYMUTIL" = x; then
6983 case $cross_compiling:$ac_tool_warned in
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6986 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6987 ac_tool_warned=yes ;;
6989 DSYMUTIL=$ac_ct_DSYMUTIL
6992 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6995 if test -n "$ac_tool_prefix"; then
6996 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6997 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6999 $as_echo_n "checking
for $ac_word...
" >&6; }
7000 if ${ac_cv_prog_NMEDIT+:} false; then :
7001 $as_echo_n "(cached
) " >&6
7003 if test -n "$NMEDIT"; then
7004 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7023 NMEDIT=$ac_cv_prog_NMEDIT
7024 if test -n "$NMEDIT"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7026 $as_echo "$NMEDIT" >&6; }
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7029 $as_echo "no
" >&6; }
7034 if test -z "$ac_cv_prog_NMEDIT"; then
7035 ac_ct_NMEDIT=$NMEDIT
7036 # Extract the first word of "nmedit
", so it can be a program name with args.
7037 set dummy nmedit; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7039 $as_echo_n "checking
for $ac_word...
" >&6; }
7040 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7041 $as_echo_n "(cached
) " >&6
7043 if test -n "$ac_ct_NMEDIT"; then
7044 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7053 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7063 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7064 if test -n "$ac_ct_NMEDIT"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7066 $as_echo "$ac_ct_NMEDIT" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7069 $as_echo "no
" >&6; }
7072 if test "x
$ac_ct_NMEDIT" = x; then
7075 case $cross_compiling:$ac_tool_warned in
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7078 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7079 ac_tool_warned=yes ;;
7081 NMEDIT=$ac_ct_NMEDIT
7084 NMEDIT="$ac_cv_prog_NMEDIT"
7087 if test -n "$ac_tool_prefix"; then
7088 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7089 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7091 $as_echo_n "checking
for $ac_word...
" >&6; }
7092 if ${ac_cv_prog_LIPO+:} false; then :
7093 $as_echo_n "(cached
) " >&6
7095 if test -n "$LIPO"; then
7096 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7105 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7115 LIPO=$ac_cv_prog_LIPO
7116 if test -n "$LIPO"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7118 $as_echo "$LIPO" >&6; }
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7121 $as_echo "no
" >&6; }
7126 if test -z "$ac_cv_prog_LIPO"; then
7128 # Extract the first word of "lipo
", so it can be a program name with args.
7129 set dummy lipo; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7131 $as_echo_n "checking
for $ac_word...
" >&6; }
7132 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7133 $as_echo_n "(cached
) " >&6
7135 if test -n "$ac_ct_LIPO"; then
7136 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 test -z "$as_dir" && as_dir=.
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7145 ac_cv_prog_ac_ct_LIPO="lipo
"
7146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7155 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7156 if test -n "$ac_ct_LIPO"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7158 $as_echo "$ac_ct_LIPO" >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7161 $as_echo "no
" >&6; }
7164 if test "x
$ac_ct_LIPO" = x; then
7167 case $cross_compiling:$ac_tool_warned in
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7170 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7171 ac_tool_warned=yes ;;
7176 LIPO="$ac_cv_prog_LIPO"
7179 if test -n "$ac_tool_prefix"; then
7180 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7181 set dummy ${ac_tool_prefix}otool; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7183 $as_echo_n "checking
for $ac_word...
" >&6; }
7184 if ${ac_cv_prog_OTOOL+:} false; then :
7185 $as_echo_n "(cached
) " >&6
7187 if test -n "$OTOOL"; then
7188 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 test -z "$as_dir" && as_dir=.
7195 for ac_exec_ext in '' $ac_executable_extensions; do
7196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7197 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7207 OTOOL=$ac_cv_prog_OTOOL
7208 if test -n "$OTOOL"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7210 $as_echo "$OTOOL" >&6; }
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7213 $as_echo "no
" >&6; }
7218 if test -z "$ac_cv_prog_OTOOL"; then
7220 # Extract the first word of "otool
", so it can be a program name with args.
7221 set dummy otool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7223 $as_echo_n "checking
for $ac_word...
" >&6; }
7224 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7225 $as_echo_n "(cached
) " >&6
7227 if test -n "$ac_ct_OTOOL"; then
7228 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 test -z "$as_dir" && as_dir=.
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7237 ac_cv_prog_ac_ct_OTOOL="otool
"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7247 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7248 if test -n "$ac_ct_OTOOL"; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7250 $as_echo "$ac_ct_OTOOL" >&6; }
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7253 $as_echo "no
" >&6; }
7256 if test "x
$ac_ct_OTOOL" = x; then
7259 case $cross_compiling:$ac_tool_warned in
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7262 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7263 ac_tool_warned=yes ;;
7268 OTOOL="$ac_cv_prog_OTOOL"
7271 if test -n "$ac_tool_prefix"; then
7272 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7273 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7275 $as_echo_n "checking
for $ac_word...
" >&6; }
7276 if ${ac_cv_prog_OTOOL64+:} false; then :
7277 $as_echo_n "(cached
) " >&6
7279 if test -n "$OTOOL64"; then
7280 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7299 OTOOL64=$ac_cv_prog_OTOOL64
7300 if test -n "$OTOOL64"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7302 $as_echo "$OTOOL64" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7305 $as_echo "no
" >&6; }
7310 if test -z "$ac_cv_prog_OTOOL64"; then
7311 ac_ct_OTOOL64=$OTOOL64
7312 # Extract the first word of "otool64
", so it can be a program name with args.
7313 set dummy otool64; ac_word=$2
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7315 $as_echo_n "checking
for $ac_word...
" >&6; }
7316 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7317 $as_echo_n "(cached
) " >&6
7319 if test -n "$ac_ct_OTOOL64"; then
7320 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 test -z "$as_dir" && as_dir=.
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7329 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7339 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7340 if test -n "$ac_ct_OTOOL64"; then
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7342 $as_echo "$ac_ct_OTOOL64" >&6; }
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7345 $as_echo "no
" >&6; }
7348 if test "x
$ac_ct_OTOOL64" = x; then
7351 case $cross_compiling:$ac_tool_warned in
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7354 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7355 ac_tool_warned=yes ;;
7357 OTOOL64=$ac_ct_OTOOL64
7360 OTOOL64="$ac_cv_prog_OTOOL64"
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7390 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7391 if ${lt_cv_apple_cc_single_mod+:} false; then :
7392 $as_echo_n "(cached
) " >&6
7394 lt_cv_apple_cc_single_mod=no
7395 if test -z "$LT_MULTI_MODULE"; then
7396 # By default we will add the -single_module flag. You can override
7397 # by either setting the environment variable LT_MULTI_MODULE
7398 # non-empty at configure time, or by adding -multi_module to the
7400 rm -rf libconftest.dylib*
7401 echo "int foo
(void
){return 1;}" > conftest.c
7402 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7403 -dynamiclib -Wl,-single_module conftest.c
" >&5
7404 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7405 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7407 # If there is a non-empty error log, and "single_module
"
7408 # appears in it, assume the flag caused a linker warning
7409 if test -s conftest.err && $GREP single_module conftest.err; then
7410 cat conftest.err >&5
7411 # Otherwise, if the output was created with a 0 exit code from
7412 # the compiler, it worked.
7413 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7414 lt_cv_apple_cc_single_mod=yes
7416 cat conftest.err >&5
7418 rm -rf libconftest.dylib*
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7423 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7426 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7427 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7428 $as_echo_n "(cached
) " >&6
7430 lt_cv_ld_exported_symbols_list=no
7431 save_LDFLAGS=$LDFLAGS
7432 echo "_main
" > conftest.sym
7433 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7435 /* end confdefs.h. */
7445 if ac_fn_c_try_link "$LINENO"; then :
7446 lt_cv_ld_exported_symbols_list=yes
7448 lt_cv_ld_exported_symbols_list=no
7450 rm -f core conftest.err conftest.$ac_objext \
7451 conftest$ac_exeext conftest.$ac_ext
7452 LDFLAGS=$save_LDFLAGS
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7456 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7459 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7460 if ${lt_cv_ld_force_load+:} false; then :
7461 $as_echo_n "(cached
) " >&6
7463 lt_cv_ld_force_load=no
7464 cat > conftest.c << _LT_EOF
7465 int forced_loaded() { return 2;}
7467 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7468 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7469 echo "$AR cru libconftest.a conftest.o
" >&5
7470 $AR cru libconftest.a conftest.o 2>&5
7471 echo "$RANLIB libconftest.a
" >&5
7472 $RANLIB libconftest.a 2>&5
7473 cat > conftest.c << _LT_EOF
7474 int main() { return 0;}
7476 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7477 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7479 if test -s conftest.err && $GREP force_load conftest.err; then
7480 cat conftest.err >&5
7481 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7482 lt_cv_ld_force_load=yes
7484 cat conftest.err >&5
7486 rm -f conftest.err libconftest.a conftest conftest.c
7487 rm -rf conftest.dSYM
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7491 $as_echo "$lt_cv_ld_force_load" >&6; }
7493 rhapsody* | darwin1.[012])
7494 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7496 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7497 darwin*) # darwin 5.x on
7498 # if running on 10.5 or later, the deployment target defaults
7499 # to the OS version, if on x86, and 10.4, the deployment
7500 # target defaults to 10.4. Don't you love it?
7501 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7502 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7503 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7505 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7507 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7511 if test yes = "$lt_cv_apple_cc_single_mod"; then
7512 _lt_dar_single_mod='$single_module'
7514 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7515 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7517 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7519 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7520 _lt_dsymutil='~$DSYMUTIL $lib || :'
7527 # func_munge_path_list VARIABLE PATH
7528 # -----------------------------------
7529 # VARIABLE is name of variable containing _space_ separated list of
7530 # directories to be munged by the contents of PATH, which is string
7533 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7535 # string "DIR
[ DIR
]" will be appended to VARIABLE
7536 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7537 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7538 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7540 # VARIABLE will be replaced by "DIR
[ DIR
]"
7541 func_munge_path_list ()
7547 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7550 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7553 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7554 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7557 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7563 ac_cpp='$CPP $CPPFLAGS'
7564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7568 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7569 # On Suns, sometimes $CPP names a directory.
7570 if test -n "$CPP" && test -d "$CPP"; then
7573 if test -z "$CPP"; then
7574 if ${ac_cv_prog_CPP+:} false; then :
7575 $as_echo_n "(cached
) " >&6
7577 # Double quotes because CPP needs to be expanded
7578 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7581 for ac_c_preproc_warn_flag in '' yes
7583 # Use a header file that comes with gcc, so configuring glibc
7584 # with a fresh cross-compiler works.
7585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7586 # <limits.h> exists even on freestanding compilers.
7587 # On the NeXT, cc -E runs the code through the compiler's parser,
7588 # not just through cpp. "Syntax error
" is here to catch this case.
7589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590 /* end confdefs.h. */
7592 # include <limits.h>
7594 # include <assert.h>
7598 if ac_fn_c_try_cpp "$LINENO"; then :
7601 # Broken: fails on valid input.
7604 rm -f conftest.err conftest.i conftest.$ac_ext
7606 # OK, works on sane cases. Now check whether nonexistent headers
7607 # can be detected and how.
7608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7609 /* end confdefs.h. */
7610 #include <ac_nonexistent.h>
7612 if ac_fn_c_try_cpp "$LINENO"; then :
7613 # Broken: success on invalid input.
7616 # Passes both tests.
7620 rm -f conftest.err conftest.i conftest.$ac_ext
7623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7624 rm -f conftest.i conftest.err conftest.$ac_ext
7625 if $ac_preproc_ok; then :
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7638 $as_echo "$CPP" >&6; }
7640 for ac_c_preproc_warn_flag in '' yes
7642 # Use a header file that comes with gcc, so configuring glibc
7643 # with a fresh cross-compiler works.
7644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7645 # <limits.h> exists even on freestanding compilers.
7646 # On the NeXT, cc -E runs the code through the compiler's parser,
7647 # not just through cpp. "Syntax error
" is here to catch this case.
7648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7651 # include <limits.h>
7653 # include <assert.h>
7657 if ac_fn_c_try_cpp "$LINENO"; then :
7660 # Broken: fails on valid input.
7663 rm -f conftest.err conftest.i conftest.$ac_ext
7665 # OK, works on sane cases. Now check whether nonexistent headers
7666 # can be detected and how.
7667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7668 /* end confdefs.h. */
7669 #include <ac_nonexistent.h>
7671 if ac_fn_c_try_cpp "$LINENO"; then :
7672 # Broken: success on invalid input.
7675 # Passes both tests.
7679 rm -f conftest.err conftest.i conftest.$ac_ext
7682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7683 rm -f conftest.i conftest.err conftest.$ac_ext
7684 if $ac_preproc_ok; then :
7687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7689 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7690 See \`config.log' for more details
" "$LINENO" 5; }
7694 ac_cpp='$CPP $CPPFLAGS'
7695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7701 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7702 if ${ac_cv_header_stdc+:} false; then :
7703 $as_echo_n "(cached
) " >&6
7705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7720 if ac_fn_c_try_compile "$LINENO"; then :
7721 ac_cv_header_stdc=yes
7723 ac_cv_header_stdc=no
7725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7727 if test $ac_cv_header_stdc = yes; then
7728 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7734 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7735 $EGREP "memchr
" >/dev/null 2>&1; then :
7738 ac_cv_header_stdc=no
7744 if test $ac_cv_header_stdc = yes; then
7745 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7751 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7752 $EGREP "free
" >/dev/null 2>&1; then :
7755 ac_cv_header_stdc=no
7761 if test $ac_cv_header_stdc = yes; then
7762 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7763 if test "$cross_compiling" = yes; then :
7766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h. */
7770 #if ((' ' & 0x0FF) == 0x020)
7771 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7772 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7774 # define ISLOWER(c) \
7775 (('a' <= (c) && (c) <= 'i') \
7776 || ('j' <= (c) && (c) <= 'r') \
7777 || ('s' <= (c) && (c) <= 'z'))
7778 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7781 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7786 for (i = 0; i < 256; i++)
7787 if (XOR (islower (i), ISLOWER (i))
7788 || toupper (i) != TOUPPER (i))
7793 if ac_fn_c_try_run "$LINENO"; then :
7796 ac_cv_header_stdc=no
7798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7799 conftest.$ac_objext conftest.beam conftest.$ac_ext
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7805 $as_echo "$ac_cv_header_stdc" >&6; }
7806 if test $ac_cv_header_stdc = yes; then
7808 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7812 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7813 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7814 inttypes.h stdint.h unistd.h
7816 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7817 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7819 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7820 cat >>confdefs.h
<<_ACEOF
7821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7829 for ac_header
in dlfcn.h
7831 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7833 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7834 cat >>confdefs.h
<<_ACEOF
7835 #define HAVE_DLFCN_H 1
7856 # Check whether --enable-shared was given.
7857 if test "${enable_shared+set}" = set; then :
7858 enableval
=$enable_shared; p
=${PACKAGE-default}
7860 yes) enable_shared
=yes ;;
7861 no
) enable_shared
=no
;;
7864 # Look at the argument we got. We use all the common list separators.
7865 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7866 for pkg
in $enableval; do
7868 if test "X$pkg" = "X$p"; then
7887 # Check whether --enable-static was given.
7888 if test "${enable_static+set}" = set; then :
7889 enableval
=$enable_static; p
=${PACKAGE-default}
7891 yes) enable_static
=yes ;;
7892 no
) enable_static
=no
;;
7895 # Look at the argument we got. We use all the common list separators.
7896 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7897 for pkg
in $enableval; do
7899 if test "X$pkg" = "X$p"; then
7919 # Check whether --with-pic was given.
7920 if test "${with_pic+set}" = set; then :
7921 withval
=$with_pic; lt_p
=${PACKAGE-default}
7923 yes|no
) pic_mode
=$withval ;;
7926 # Look at the argument we got. We use all the common list separators.
7927 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7928 for lt_pkg
in $withval; do
7930 if test "X$lt_pkg" = "X$lt_p"; then
7948 # Check whether --enable-fast-install was given.
7949 if test "${enable_fast_install+set}" = set; then :
7950 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7952 yes) enable_fast_install
=yes ;;
7953 no
) enable_fast_install
=no
;;
7955 enable_fast_install
=no
7956 # Look at the argument we got. We use all the common list separators.
7957 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7958 for pkg
in $enableval; do
7960 if test "X$pkg" = "X$p"; then
7961 enable_fast_install
=yes
7968 enable_fast_install
=yes
7978 shared_archive_member_spec
=
7979 case $host,$enable_shared in
7980 power
*-*-aix[5-9]*,yes)
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7982 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7984 # Check whether --with-aix-soname was given.
7985 if test "${with_aix_soname+set}" = set; then :
7986 withval
=$with_aix_soname; case $withval in
7990 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7993 lt_cv_with_aix_soname
=$with_aix_soname
7995 if ${lt_cv_with_aix_soname+:} false
; then :
7996 $as_echo_n "(cached) " >&6
7998 lt_cv_with_aix_soname
=aix
8001 with_aix_soname
=$lt_cv_with_aix_soname
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8005 $as_echo "$with_aix_soname" >&6; }
8006 if test aix
!= "$with_aix_soname"; then
8007 # For the AIX way of multilib, we name the shared archive member
8008 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8009 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8010 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8011 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8012 if test 64 = "${OBJECT_MODE-32}"; then
8013 shared_archive_member_spec
=shr_64
8015 shared_archive_member_spec
=shr
8033 # This can be used to rebuild libtool when needed
8034 LIBTOOL_DEPS
=$ltmain
8036 # Always use our own libtool.
8037 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8068 test -z "$LN_S" && LN_S
="ln -s"
8083 if test -n "${ZSH_VERSION+set}"; then
8084 setopt NO_GLOB_SUBST
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8088 $as_echo_n "checking for objdir... " >&6; }
8089 if ${lt_cv_objdir+:} false
; then :
8090 $as_echo_n "(cached) " >&6
8092 rm -f .libs
2>/dev
/null
8093 mkdir .libs
2>/dev
/null
8094 if test -d .libs
; then
8097 # MS-DOS does not allow filenames that begin with a dot.
8100 rmdir .libs
2>/dev
/null
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8103 $as_echo "$lt_cv_objdir" >&6; }
8104 objdir
=$lt_cv_objdir
8110 cat >>confdefs.h
<<_ACEOF
8111 #define LT_OBJDIR "$lt_cv_objdir/"
8119 # AIX sometimes has problems with the GCC collect2 program. For some
8120 # reason, if we set the COLLECT_NAMES environment variable, the problems
8121 # vanish in a puff of smoke.
8122 if test set != "${COLLECT_NAMES+set}"; then
8124 export COLLECT_NAMES
8131 can_build_shared
=yes
8133 # All known linkers require a '.a' archive for static linking (except MSVC,
8134 # which needs '.lib').
8137 with_gnu_ld
=$lt_cv_prog_gnu_ld
8142 # Set sane defaults for various variables
8143 test -z "$CC" && CC
=cc
8144 test -z "$LTCC" && LTCC
=$CC
8145 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8146 test -z "$LD" && LD
=ld
8147 test -z "$ac_objext" && ac_objext
=o
8149 func_cc_basename
$compiler
8150 cc_basename
=$func_cc_basename_result
8153 # Only perform the check for file, if the check method requires it
8154 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8155 case $deplibs_check_method in
8157 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8159 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8160 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8161 $as_echo_n "(cached) " >&6
8165 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8168 lt_save_MAGIC_CMD
=$MAGIC_CMD
8169 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8170 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8171 for ac_dir
in $ac_dummy; do
8173 test -z "$ac_dir" && ac_dir
=.
8174 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8175 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8176 if test -n "$file_magic_test_file"; then
8177 case $deplibs_check_method in
8179 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8180 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8181 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8182 $EGREP "$file_magic_regex" > /dev
/null
; then
8187 *** Warning: the command libtool uses to detect shared libraries,
8188 *** $file_magic_cmd, produces output that libtool cannot recognize.
8189 *** The result is that libtool may fail to recognize shared libraries
8190 *** as such. This will affect the creation of libtool libraries that
8191 *** depend on shared libraries, but programs linked with such libtool
8192 *** libraries will work regardless of this problem. Nevertheless, you
8193 *** may want to report the problem to your system manager and/or to
8194 *** bug-libtool@gnu.org
8204 MAGIC_CMD
=$lt_save_MAGIC_CMD
8209 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8210 if test -n "$MAGIC_CMD"; then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8212 $as_echo "$MAGIC_CMD" >&6; }
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215 $as_echo "no" >&6; }
8222 if test -z "$lt_cv_path_MAGIC_CMD"; then
8223 if test -n "$ac_tool_prefix"; then
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8225 $as_echo_n "checking for file... " >&6; }
8226 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8227 $as_echo_n "(cached) " >&6
8231 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8234 lt_save_MAGIC_CMD
=$MAGIC_CMD
8235 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8236 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8237 for ac_dir
in $ac_dummy; do
8239 test -z "$ac_dir" && ac_dir
=.
8240 if test -f "$ac_dir/file"; then
8241 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8242 if test -n "$file_magic_test_file"; then
8243 case $deplibs_check_method in
8245 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8246 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8247 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8248 $EGREP "$file_magic_regex" > /dev
/null
; then
8253 *** Warning: the command libtool uses to detect shared libraries,
8254 *** $file_magic_cmd, produces output that libtool cannot recognize.
8255 *** The result is that libtool may fail to recognize shared libraries
8256 *** as such. This will affect the creation of libtool libraries that
8257 *** depend on shared libraries, but programs linked with such libtool
8258 *** libraries will work regardless of this problem. Nevertheless, you
8259 *** may want to report the problem to your system manager and/or to
8260 *** bug-libtool@gnu.org
8270 MAGIC_CMD
=$lt_save_MAGIC_CMD
8275 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8276 if test -n "$MAGIC_CMD"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8278 $as_echo "$MAGIC_CMD" >&6; }
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 $as_echo "no" >&6; }
8294 # Use C for the default configuration in the libtool script
8298 ac_cpp
='$CPP $CPPFLAGS'
8299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8304 # Source file extension for C test sources.
8307 # Object file extension for compiled C test sources.
8311 # Code to be used in simple compile tests
8312 lt_simple_compile_test_code
="int some_variable = 0;"
8314 # Code to be used in simple link tests
8315 lt_simple_link_test_code
='int main(){return(0);}'
8323 # If no C compiler was specified, use CC.
8326 # If no C compiler flags were specified, use CFLAGS.
8327 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8329 # Allow CC to be a program name with arguments.
8332 # Save the default compiler, since it gets overwritten when the other
8333 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8334 compiler_DEFAULT
=$CC
8336 # save warnings/boilerplate of simple test code
8337 ac_outfile
=conftest.
$ac_objext
8338 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8339 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8340 _lt_compiler_boilerplate
=`cat conftest.err`
8343 ac_outfile
=conftest.
$ac_objext
8344 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8345 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8346 _lt_linker_boilerplate
=`cat conftest.err`
8351 ## There is no encapsulation within the following macros, do not change
8352 ## the running order or otherwise move them around unless you know exactly
8353 ## what you are doing...
8354 if test -n "$compiler"; then
8356 lt_prog_compiler_no_builtin_flag
=
8358 if test yes = "$GCC"; then
8359 case $cc_basename in
8361 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8363 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8367 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8368 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8369 $as_echo_n "(cached) " >&6
8371 lt_cv_prog_compiler_rtti_exceptions
=no
8372 ac_outfile
=conftest.
$ac_objext
8373 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8374 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8375 # Insert the option either (1) after the last *FLAGS variable, or
8376 # (2) before a word containing "conftest.", or (3) at the end.
8377 # Note that $ac_compile itself does not contain backslashes and begins
8378 # with a dollar sign (not a hyphen), so the echo should work correctly.
8379 # The option is referenced via a variable to avoid confusing sed.
8380 lt_compile
=`echo "$ac_compile" | $SED \
8381 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8383 -e 's:$: $lt_compiler_flag:'`
8384 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8385 (eval "$lt_compile" 2>conftest.err
)
8387 cat conftest.err
>&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 if (exit $ac_status) && test -s "$ac_outfile"; then
8390 # The compiler can only warn and ignore the option if not recognized
8391 # So say no if there are warnings other than the usual output.
8392 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8393 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8394 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8395 lt_cv_prog_compiler_rtti_exceptions
=yes
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8402 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8404 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8405 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8417 lt_prog_compiler_wl
=
8418 lt_prog_compiler_pic
=
8419 lt_prog_compiler_static
=
8422 if test yes = "$GCC"; then
8423 lt_prog_compiler_wl
='-Wl,'
8424 lt_prog_compiler_static
='-static'
8428 # All AIX code is PIC.
8429 if test ia64
= "$host_cpu"; then
8430 # AIX 5 now supports IA64 processor
8431 lt_prog_compiler_static
='-Bstatic'
8433 lt_prog_compiler_pic
='-fPIC'
8439 # see comment about AmigaOS4 .so support
8440 lt_prog_compiler_pic
='-fPIC'
8443 # FIXME: we need at least 68020 code to build shared libraries, but
8444 # adding the '-m68020' flag to GCC prevents building anything better,
8446 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8451 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8452 # PIC is the default for these OSes.
8455 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8456 # This hack is so that the source file can tell whether it is being
8457 # built for inclusion in a dll (and should export symbols for example).
8458 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8459 # (--disable-auto-import) libraries
8460 lt_prog_compiler_pic
='-DDLL_EXPORT'
8463 lt_prog_compiler_static
='$wl-static'
8468 darwin
* | rhapsody
*)
8469 # PIC is the default on this platform
8470 # Common symbols not allowed in MH_DYLIB files
8471 lt_prog_compiler_pic
='-fno-common'
8475 # PIC is the default for Haiku.
8476 # The "-static" flag exists, but is broken.
8477 lt_prog_compiler_static
=
8481 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8482 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8483 # sets the default TLS model and affects inlining.
8489 lt_prog_compiler_pic
='-fPIC'
8495 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8496 # Instead, we relocate shared libraries at runtime.
8500 # Just because we use GCC doesn't mean we suddenly get shared libraries
8501 # on systems that don't support them.
8502 lt_prog_compiler_can_build_shared
=no
8507 # QNX uses GNU C++, but need to define -shared option too, otherwise
8509 lt_prog_compiler_pic
='-fPIC -shared'
8513 if test -d /usr
/nec
; then
8514 lt_prog_compiler_pic
=-Kconform_pic
8519 lt_prog_compiler_pic
='-fPIC'
8523 case $cc_basename in
8524 nvcc
*) # Cuda Compiler Driver 2.2
8525 lt_prog_compiler_wl
='-Xlinker '
8526 if test -n "$lt_prog_compiler_pic"; then
8527 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8532 # PORTME Check for flag to pass linker flags through the system compiler.
8535 lt_prog_compiler_wl
='-Wl,'
8536 if test ia64
= "$host_cpu"; then
8537 # AIX 5 now supports IA64 processor
8538 lt_prog_compiler_static
='-Bstatic'
8540 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8544 darwin
* | rhapsody
*)
8545 # PIC is the default on this platform
8546 # Common symbols not allowed in MH_DYLIB files
8547 lt_prog_compiler_pic
='-fno-common'
8548 case $cc_basename in
8550 # NAG Fortran compiler
8551 lt_prog_compiler_wl
='-Wl,-Wl,,'
8552 lt_prog_compiler_pic
='-PIC'
8553 lt_prog_compiler_static
='-Bstatic'
8558 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8559 # This hack is so that the source file can tell whether it is being
8560 # built for inclusion in a dll (and should export symbols for example).
8561 lt_prog_compiler_pic
='-DDLL_EXPORT'
8564 lt_prog_compiler_static
='$wl-static'
8569 hpux9
* | hpux10
* | hpux11
*)
8570 lt_prog_compiler_wl
='-Wl,'
8571 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8578 lt_prog_compiler_pic
='+Z'
8581 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8582 lt_prog_compiler_static
='$wl-a ${wl}archive'
8585 irix5
* | irix6
* | nonstopux
*)
8586 lt_prog_compiler_wl
='-Wl,'
8587 # PIC (with -KPIC) is the default.
8588 lt_prog_compiler_static
='-non_shared'
8591 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8592 case $cc_basename in
8593 # old Intel for x86_64, which still supported -KPIC.
8595 lt_prog_compiler_wl
='-Wl,'
8596 lt_prog_compiler_pic
='-KPIC'
8597 lt_prog_compiler_static
='-static'
8599 # icc used to be incompatible with GCC.
8600 # ICC 10 doesn't accept -KPIC any more.
8602 lt_prog_compiler_wl
='-Wl,'
8603 lt_prog_compiler_pic
='-fPIC'
8604 lt_prog_compiler_static
='-static'
8606 # Lahey Fortran 8.1.
8608 lt_prog_compiler_wl
='-Wl,'
8609 lt_prog_compiler_pic
='--shared'
8610 lt_prog_compiler_static
='--static'
8613 # NAG Fortran compiler
8614 lt_prog_compiler_wl
='-Wl,-Wl,,'
8615 lt_prog_compiler_pic
='-PIC'
8616 lt_prog_compiler_static
='-Bstatic'
8619 # Fabrice Bellard et al's Tiny C Compiler
8620 lt_prog_compiler_wl
='-Wl,'
8621 lt_prog_compiler_pic
='-fPIC'
8622 lt_prog_compiler_static
='-static'
8624 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8625 # Portland Group compilers (*not* the Pentium gcc compiler,
8626 # which looks to be a dead project)
8627 lt_prog_compiler_wl
='-Wl,'
8628 lt_prog_compiler_pic
='-fpic'
8629 lt_prog_compiler_static
='-Bstatic'
8632 lt_prog_compiler_wl
='-Wl,'
8633 # All Alpha code is PIC.
8634 lt_prog_compiler_static
='-non_shared'
8636 xl
* | bgxl
* | bgf
* | mpixl
*)
8637 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8638 lt_prog_compiler_wl
='-Wl,'
8639 lt_prog_compiler_pic
='-qpic'
8640 lt_prog_compiler_static
='-qstaticlink'
8643 case `$CC -V 2>&1 | sed 5q` in
8644 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8645 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8646 lt_prog_compiler_pic
='-KPIC'
8647 lt_prog_compiler_static
='-Bstatic'
8648 lt_prog_compiler_wl
=''
8650 *Sun\ F
* |
*Sun
*Fortran
*)
8651 lt_prog_compiler_pic
='-KPIC'
8652 lt_prog_compiler_static
='-Bstatic'
8653 lt_prog_compiler_wl
='-Qoption ld '
8657 lt_prog_compiler_pic
='-KPIC'
8658 lt_prog_compiler_static
='-Bstatic'
8659 lt_prog_compiler_wl
='-Wl,'
8661 *Intel
*\
[CF
]*Compiler
*)
8662 lt_prog_compiler_wl
='-Wl,'
8663 lt_prog_compiler_pic
='-fPIC'
8664 lt_prog_compiler_static
='-static'
8667 lt_prog_compiler_wl
='-Wl,'
8668 lt_prog_compiler_pic
='-fpic'
8669 lt_prog_compiler_static
='-Bstatic'
8677 lt_prog_compiler_pic
='-KPIC'
8678 lt_prog_compiler_static
='-Bstatic'
8682 # QNX uses GNU C++, but need to define -shared option too, otherwise
8684 lt_prog_compiler_pic
='-fPIC -shared'
8687 osf3
* | osf4
* | osf5
*)
8688 lt_prog_compiler_wl
='-Wl,'
8689 # All OSF/1 code is PIC.
8690 lt_prog_compiler_static
='-non_shared'
8694 lt_prog_compiler_static
='-non_shared'
8698 lt_prog_compiler_pic
='-KPIC'
8699 lt_prog_compiler_static
='-Bstatic'
8700 case $cc_basename in
8701 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8702 lt_prog_compiler_wl
='-Qoption ld ';;
8704 lt_prog_compiler_wl
='-Wl,';;
8709 lt_prog_compiler_wl
='-Qoption ld '
8710 lt_prog_compiler_pic
='-PIC'
8711 lt_prog_compiler_static
='-Bstatic'
8714 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8715 lt_prog_compiler_wl
='-Wl,'
8716 lt_prog_compiler_pic
='-KPIC'
8717 lt_prog_compiler_static
='-Bstatic'
8721 if test -d /usr
/nec
; then
8722 lt_prog_compiler_pic
='-Kconform_pic'
8723 lt_prog_compiler_static
='-Bstatic'
8727 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8728 lt_prog_compiler_wl
='-Wl,'
8729 lt_prog_compiler_pic
='-KPIC'
8730 lt_prog_compiler_static
='-Bstatic'
8734 lt_prog_compiler_wl
='-Wl,'
8735 lt_prog_compiler_can_build_shared
=no
8739 lt_prog_compiler_pic
='-pic'
8740 lt_prog_compiler_static
='-Bstatic'
8744 lt_prog_compiler_can_build_shared
=no
8750 # For platforms that do not support PIC, -DPIC is meaningless:
8752 lt_prog_compiler_pic
=
8755 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8760 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8761 if ${lt_cv_prog_compiler_pic+:} false
; then :
8762 $as_echo_n "(cached) " >&6
8764 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8767 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8768 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8771 # Check to make sure the PIC flag actually works.
8773 if test -n "$lt_prog_compiler_pic"; then
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8775 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8776 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8777 $as_echo_n "(cached) " >&6
8779 lt_cv_prog_compiler_pic_works
=no
8780 ac_outfile
=conftest.
$ac_objext
8781 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8782 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8783 # Insert the option either (1) after the last *FLAGS variable, or
8784 # (2) before a word containing "conftest.", or (3) at the end.
8785 # Note that $ac_compile itself does not contain backslashes and begins
8786 # with a dollar sign (not a hyphen), so the echo should work correctly.
8787 # The option is referenced via a variable to avoid confusing sed.
8788 lt_compile
=`echo "$ac_compile" | $SED \
8789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8791 -e 's:$: $lt_compiler_flag:'`
8792 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8793 (eval "$lt_compile" 2>conftest.err
)
8795 cat conftest.err
>&5
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 if (exit $ac_status) && test -s "$ac_outfile"; then
8798 # The compiler can only warn and ignore the option if not recognized
8799 # So say no if there are warnings other than the usual output.
8800 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8801 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8802 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8803 lt_cv_prog_compiler_pic_works
=yes
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8810 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8812 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8813 case $lt_prog_compiler_pic in
8815 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8818 lt_prog_compiler_pic
=
8819 lt_prog_compiler_can_build_shared
=no
8835 # Check to make sure the static flag actually works.
8837 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8839 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8840 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8841 $as_echo_n "(cached) " >&6
8843 lt_cv_prog_compiler_static_works
=no
8844 save_LDFLAGS
=$LDFLAGS
8845 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8846 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8847 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8848 # The linker can only warn and ignore the option if not recognized
8849 # So say no if there are warnings
8850 if test -s conftest.err
; then
8851 # Append any errors to the config.log.
8852 cat conftest.err
1>&5
8853 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8854 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8855 if diff conftest.exp conftest.er2
>/dev
/null
; then
8856 lt_cv_prog_compiler_static_works
=yes
8859 lt_cv_prog_compiler_static_works
=yes
8863 LDFLAGS
=$save_LDFLAGS
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8867 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8869 if test yes = "$lt_cv_prog_compiler_static_works"; then
8872 lt_prog_compiler_static
=
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8882 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8883 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8884 $as_echo_n "(cached) " >&6
8886 lt_cv_prog_compiler_c_o
=no
8887 $RM -r conftest
2>/dev
/null
8891 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8893 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8894 # Insert the option either (1) after the last *FLAGS variable, or
8895 # (2) before a word containing "conftest.", or (3) at the end.
8896 # Note that $ac_compile itself does not contain backslashes and begins
8897 # with a dollar sign (not a hyphen), so the echo should work correctly.
8898 lt_compile
=`echo "$ac_compile" | $SED \
8899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8901 -e 's:$: $lt_compiler_flag:'`
8902 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8903 (eval "$lt_compile" 2>out
/conftest.err
)
8905 cat out
/conftest.err
>&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8909 # The compiler can only warn and ignore the option if not recognized
8910 # So say no if there are warnings
8911 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8912 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8913 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8914 lt_cv_prog_compiler_c_o
=yes
8919 # SGI C++ compiler will create directory out/ii_files/ for
8920 # template instantiation
8921 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8922 $RM out
/* && rmdir out
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8929 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8937 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8938 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 lt_cv_prog_compiler_c_o
=no
8942 $RM -r conftest
2>/dev
/null
8946 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8948 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8949 # Insert the option either (1) after the last *FLAGS variable, or
8950 # (2) before a word containing "conftest.", or (3) at the end.
8951 # Note that $ac_compile itself does not contain backslashes and begins
8952 # with a dollar sign (not a hyphen), so the echo should work correctly.
8953 lt_compile
=`echo "$ac_compile" | $SED \
8954 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8955 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8956 -e 's:$: $lt_compiler_flag:'`
8957 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8958 (eval "$lt_compile" 2>out
/conftest.err
)
8960 cat out
/conftest.err
>&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8964 # The compiler can only warn and ignore the option if not recognized
8965 # So say no if there are warnings
8966 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8967 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8968 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8969 lt_cv_prog_compiler_c_o
=yes
8974 # SGI C++ compiler will create directory out/ii_files/ for
8975 # template instantiation
8976 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8977 $RM out
/* && rmdir out
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8984 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8989 hard_links
=nottested
8990 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8991 # do not overwrite the value of need_locks provided by the user
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8993 $as_echo_n "checking if we can lock with hard links... " >&6; }
8996 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8998 ln conftest.a conftest.b
2>&5 || hard_links
=no
8999 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9001 $as_echo "$hard_links" >&6; }
9002 if test no
= "$hard_links"; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9004 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9017 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9020 allow_undefined_flag
=
9021 always_export_symbols
=no
9023 archive_expsym_cmds
=
9024 compiler_needs_object
=no
9025 enable_shared_with_static_runtimes
=no
9026 export_dynamic_flag_spec
=
9027 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9028 hardcode_automatic
=no
9030 hardcode_direct_absolute
=no
9031 hardcode_libdir_flag_spec
=
9032 hardcode_libdir_separator
=
9034 hardcode_shlibpath_var
=unsupported
9036 link_all_deplibs
=unknown
9039 old_archive_from_new_cmds
=
9040 old_archive_from_expsyms_cmds
=
9041 thread_safe_flag_spec
=
9042 whole_archive_flag_spec
=
9043 # include_expsyms should be a list of space-separated symbols to be *always*
9044 # included in the symbol list
9046 # exclude_expsyms can be an extended regexp of symbols to exclude
9047 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9048 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9049 # as well as any symbol that contains 'd'.
9050 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9051 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9052 # platforms (ab)use it in PIC code, but their linkers get confused if
9053 # the symbol is explicitly referenced. Since portable code cannot
9054 # rely on this symbol name, it's probably fine to never include it in
9055 # preloaded symbol tables.
9056 # Exclude shared library initialization/finalization symbols.
9057 extract_expsyms_cmds
=
9060 cygwin
* | mingw
* | pw32
* | cegcc
*)
9061 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9062 # When not using gcc, we currently assume that we are using
9063 # Microsoft Visual C++.
9064 if test yes != "$GCC"; then
9069 # we just hope/assume this is gcc and not c89 (= MSVC++)
9075 linux
* | k
*bsd
*-gnu | gnu
*)
9082 # On some targets, GNU ld is compatible enough with the native linker
9083 # that we're better off using the native interface for both.
9084 lt_use_gnu_ld_interface
=no
9085 if test yes = "$with_gnu_ld"; then
9088 # The AIX port of GNU ld has always aspired to compatibility
9089 # with the native linker. However, as the warning in the GNU ld
9090 # block says, versions before 2.19.5* couldn't really create working
9091 # shared libraries, regardless of the interface used.
9092 case `$LD -v 2>&1` in
9093 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9094 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9095 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9097 lt_use_gnu_ld_interface
=yes
9102 lt_use_gnu_ld_interface
=yes
9107 if test yes = "$lt_use_gnu_ld_interface"; then
9108 # If archive_cmds runs LD, not CC, wlarc should be empty
9111 # Set some defaults for GNU ld with shared library support. These
9112 # are reset later if shared libraries are not supported. Putting them
9113 # here allows them to be overridden if necessary.
9114 runpath_var
=LD_RUN_PATH
9115 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9116 export_dynamic_flag_spec
='$wl--export-dynamic'
9117 # ancient GNU ld didn't support --whole-archive et. al.
9118 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9119 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9121 whole_archive_flag_spec
=
9123 supports_anon_versioning
=no
9124 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9125 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9126 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9127 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9128 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9129 *\
2.11.
*) ;; # other 2.11 versions
9130 *) supports_anon_versioning
=yes ;;
9133 # See if GNU ld supports shared libraries.
9136 # On AIX/PPC, the GNU linker is very broken
9137 if test ia64
!= "$host_cpu"; then
9141 *** Warning: the GNU linker, at least up to release 2.19, is reported
9142 *** to be unable to reliably create shared libraries on AIX.
9143 *** Therefore, libtool is disabling shared libraries support. If you
9144 *** really care for shared libraries, you may want to install binutils
9145 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9146 *** You will then need to restart the configuration process.
9155 # see comment about AmigaOS4 .so support
9156 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9157 archive_expsym_cmds
=''
9160 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)'
9161 hardcode_libdir_flag_spec
='-L$libdir'
9162 hardcode_minus_L
=yes
9168 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9169 allow_undefined_flag
=unsupported
9170 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9171 # support --undefined. This deserves some investigation. FIXME
9172 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9178 cygwin
* | mingw
* | pw32
* | cegcc
*)
9179 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9180 # as there is no search path for DLLs.
9181 hardcode_libdir_flag_spec
='-L$libdir'
9182 export_dynamic_flag_spec
='$wl--export-all-symbols'
9183 allow_undefined_flag
=unsupported
9184 always_export_symbols
=no
9185 enable_shared_with_static_runtimes
=yes
9186 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9187 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9189 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9190 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9191 # If the export-symbols file already is a .def file, use it as
9192 # is; otherwise, prepend EXPORTS...
9193 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9194 cp $export_symbols $output_objdir/$soname.def;
9196 echo EXPORTS > $output_objdir/$soname.def;
9197 cat $export_symbols >> $output_objdir/$soname.def;
9199 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9206 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9207 link_all_deplibs
=yes
9211 hardcode_libdir_flag_spec
='-L$libdir'
9212 hardcode_minus_L
=yes
9213 allow_undefined_flag
=unsupported
9215 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9216 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9217 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9218 $ECHO EXPORTS >> $output_objdir/$libname.def~
9219 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9220 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9221 emximp -o $lib $output_objdir/$libname.def'
9222 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9223 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9224 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9225 $ECHO EXPORTS >> $output_objdir/$libname.def~
9227 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9228 prefix_cmds="$prefix_cmds -e 1d";
9230 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9231 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9232 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9233 emximp -o $lib $output_objdir/$libname.def'
9234 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9235 enable_shared_with_static_runtimes
=yes
9240 hardcode_shlibpath_var
=no
9241 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9242 export_dynamic_flag_spec
='$wl-E'
9243 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9244 # Instead, shared libraries are loaded at an image base (0x10000000 by
9245 # default) and relocated if they conflict, which is a slow very memory
9246 # consuming and fragmenting process. To avoid this, we pick a random,
9247 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9248 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9249 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9250 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'
9253 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9255 if test linux-dietlibc
= "$host_os"; then
9256 case $cc_basename in
9257 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9260 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9261 && test no
= "$tmp_diet"
9263 tmp_addflag
=' $pic_flag'
9264 tmp_sharedflag
='-shared'
9265 case $cc_basename,$host_cpu in
9266 pgcc
*) # Portland Group C compiler
9267 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9268 tmp_addflag
=' $pic_flag'
9270 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9271 # Portland Group f77 and f90 compilers
9272 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9273 tmp_addflag
=' $pic_flag -Mnomain' ;;
9274 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9275 tmp_addflag
=' -i_dynamic' ;;
9276 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9277 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9278 ifc
* | ifort
*) # Intel Fortran compiler
9279 tmp_addflag
=' -nofor_main' ;;
9280 lf95
*) # Lahey Fortran 8.1
9281 whole_archive_flag_spec
=
9282 tmp_sharedflag
='--shared' ;;
9283 nagfor
*) # NAGFOR 5.3
9284 tmp_sharedflag
='-Wl,-shared' ;;
9285 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9286 tmp_sharedflag
='-qmkshrobj'
9288 nvcc
*) # Cuda Compiler Driver 2.2
9289 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9290 compiler_needs_object
=yes
9293 case `$CC -V 2>&1 | sed 5q` in
9294 *Sun\ C
*) # Sun C 5.9
9295 whole_archive_flag_spec
='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9296 compiler_needs_object
=yes
9297 tmp_sharedflag
='-G' ;;
9298 *Sun\ F
*) # Sun Fortran 8.3
9299 tmp_sharedflag
='-G' ;;
9301 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9303 if test yes = "$supports_anon_versioning"; then
9304 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9305 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9306 echo "local: *; };" >> $output_objdir/$libname.ver~
9307 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9310 case $cc_basename in
9312 export_dynamic_flag_spec
='-rdynamic'
9314 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9315 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9316 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9317 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9318 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9319 if test yes = "$supports_anon_versioning"; then
9320 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9321 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9322 echo "local: *; };" >> $output_objdir/$libname.ver~
9323 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9332 netbsd
* | netbsdelf
*-gnu)
9333 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9334 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9337 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9338 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9343 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9347 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9348 *** create shared libraries on Solaris systems. Therefore, libtool
9349 *** is disabling shared libraries support. We urge you to upgrade GNU
9350 *** binutils to release 2.9.1 or newer. Another option is to modify
9351 *** your PATH or compiler configuration so that the native linker is
9352 *** used, and then restart.
9355 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9356 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9357 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9363 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9364 case `$LD -v 2>&1` in
9365 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9369 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9370 *** reliably create shared libraries on SCO systems. Therefore, libtool
9371 *** is disabling shared libraries support. We urge you to upgrade GNU
9372 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9373 *** your PATH or compiler configuration so that the native linker is
9374 *** used, and then restart.
9379 # For security reasons, it is highly recommended that you always
9380 # use absolute paths for naming shared libraries, and exclude the
9381 # DT_RUNPATH tag from executables and libraries. But doing so
9382 # requires that you compile everything twice, which is a pain.
9383 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9384 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9385 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9386 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9395 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9398 hardcode_shlibpath_var
=no
9402 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9403 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9404 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9411 if test no
= "$ld_shlibs"; then
9413 hardcode_libdir_flag_spec
=
9414 export_dynamic_flag_spec
=
9415 whole_archive_flag_spec
=
9418 # PORTME fill in a description of your system's linker (not GNU ld)
9421 allow_undefined_flag
=unsupported
9422 always_export_symbols
=yes
9423 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'
9424 # Note: this linker hardcodes the directories in LIBPATH if there
9425 # are no directories specified by -L.
9426 hardcode_minus_L
=yes
9427 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9428 # Neither direct hardcoding nor static linking is supported with a
9430 hardcode_direct
=unsupported
9435 if test ia64
= "$host_cpu"; then
9436 # On IA64, the linker does run time linking by default, so we don't
9437 # have to do anything special.
9438 aix_use_runtimelinking
=no
9439 exp_sym_flag
='-Bexport'
9442 # If we're using GNU nm, then we don't want the "-C" option.
9443 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9444 # Without the "-l" option, or with the "-B" option, AIX nm treats
9445 # weak defined symbols like other global defined symbols, whereas
9446 # GNU nm marks them as "W".
9447 # While the 'weak' keyword is ignored in the Export File, we need
9448 # it in the Import File for the 'aix-soname' feature, so we have
9449 # to replace the "-B" option with "-P" for AIX nm.
9450 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9451 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9453 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9455 aix_use_runtimelinking
=no
9457 # Test if we are trying to use run time linking or normal
9458 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9459 # have runtime linking enabled, and use it for executables.
9460 # For shared libraries, we enable/disable runtime linking
9461 # depending on the kind of the shared library created -
9462 # when "with_aix_soname,aix_use_runtimelinking" is:
9463 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9464 # "aix,yes" lib.so shared, rtl:yes, for executables
9465 # lib.a static archive
9466 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9467 # lib.a(lib.so.V) shared, rtl:no, for executables
9468 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9469 # lib.a(lib.so.V) shared, rtl:no
9470 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9471 # lib.a static archive
9472 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9473 for ld_flag
in $LDFLAGS; do
9474 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9475 aix_use_runtimelinking
=yes
9479 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9480 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9481 # so we don't have lib.a shared libs to link our executables.
9482 # We have to force runtime linking in this case.
9483 aix_use_runtimelinking
=yes
9484 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9489 exp_sym_flag
='-bexport'
9490 no_entry_flag
='-bnoentry'
9493 # When large executables or shared objects are built, AIX ld can
9494 # have problems creating the table of contents. If linking a library
9495 # or program results in "error TOC overflow" add -mminimal-toc to
9496 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9497 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9501 hardcode_direct_absolute
=yes
9502 hardcode_libdir_separator
=':'
9503 link_all_deplibs
=yes
9504 file_list_spec
='$wl-f,'
9505 case $with_aix_soname,$aix_use_runtimelinking in
9506 aix
,*) ;; # traditional, no import file
9507 svr4
,* |
*,yes) # use import file
9508 # The Import File defines what to hardcode.
9510 hardcode_direct_absolute
=no
9514 if test yes = "$GCC"; then
9515 case $host_os in aix4.
[012]|aix4.
[012].
*)
9516 # We only want to do this on AIX 4.2 and lower, the check
9517 # below for broken collect2 doesn't work under 4.3+
9518 collect2name
=`$CC -print-prog-name=collect2`
9519 if test -f "$collect2name" &&
9520 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9522 # We have reworked collect2
9525 # We have old collect2
9526 hardcode_direct
=unsupported
9527 # It fails to find uninstalled libraries when the uninstalled
9528 # path is not listed in the libpath. Setting hardcode_minus_L
9529 # to unsupported forces relinking
9530 hardcode_minus_L
=yes
9531 hardcode_libdir_flag_spec
='-L$libdir'
9532 hardcode_libdir_separator
=
9536 shared_flag
='-shared'
9537 if test yes = "$aix_use_runtimelinking"; then
9538 shared_flag
="$shared_flag "'$wl-G'
9540 # Need to ensure runtime linking is disabled for the traditional
9541 # shared library, or the linker may eventually find shared libraries
9542 # /with/ Import File - we do not want to mix them.
9543 shared_flag_aix
='-shared'
9544 shared_flag_svr4
='-shared $wl-G'
9547 if test ia64
= "$host_cpu"; then
9548 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9549 # chokes on -Wl,-G. The following line is correct:
9552 if test yes = "$aix_use_runtimelinking"; then
9555 shared_flag
='$wl-bM:SRE'
9557 shared_flag_aix
='$wl-bM:SRE'
9558 shared_flag_svr4
='$wl-G'
9562 export_dynamic_flag_spec
='$wl-bexpall'
9563 # It seems that -bexpall does not export symbols beginning with
9564 # underscore (_), so it is better to generate a list of symbols to export.
9565 always_export_symbols
=yes
9566 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9567 # Warning - without using the other runtime loading flags (-brtl),
9568 # -berok will link without error, but may produce a broken library.
9569 allow_undefined_flag
='-berok'
9570 # Determine the default libpath from the value encoded in an
9572 if test set = "${lt_cv_aix_libpath+set}"; then
9573 aix_libpath
=$lt_cv_aix_libpath
9575 if ${lt_cv_aix_libpath_+:} false
; then :
9576 $as_echo_n "(cached) " >&6
9578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9589 if ac_fn_c_try_link
"$LINENO"; then :
9591 lt_aix_libpath_sed
='
9592 /Import File Strings/,/^$/ {
9594 s/^0 *\([^ ]*\) *$/\1/
9598 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599 # Check for a 64-bit object if we didn't find anything.
9600 if test -z "$lt_cv_aix_libpath_"; then
9601 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9604 rm -f core conftest.err conftest.
$ac_objext \
9605 conftest
$ac_exeext conftest.
$ac_ext
9606 if test -z "$lt_cv_aix_libpath_"; then
9607 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9612 aix_libpath
=$lt_cv_aix_libpath_
9615 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9616 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
9618 if test ia64
= "$host_cpu"; then
9619 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9620 allow_undefined_flag
="-z nodefs"
9621 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"
9623 # Determine the default libpath from the value encoded in an
9625 if test set = "${lt_cv_aix_libpath+set}"; then
9626 aix_libpath
=$lt_cv_aix_libpath
9628 if ${lt_cv_aix_libpath_+:} false
; then :
9629 $as_echo_n "(cached) " >&6
9631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9632 /* end confdefs.h. */
9642 if ac_fn_c_try_link
"$LINENO"; then :
9644 lt_aix_libpath_sed
='
9645 /Import File Strings/,/^$/ {
9647 s/^0 *\([^ ]*\) *$/\1/
9651 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9652 # Check for a 64-bit object if we didn't find anything.
9653 if test -z "$lt_cv_aix_libpath_"; then
9654 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9657 rm -f core conftest.err conftest.
$ac_objext \
9658 conftest
$ac_exeext conftest.
$ac_ext
9659 if test -z "$lt_cv_aix_libpath_"; then
9660 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9665 aix_libpath
=$lt_cv_aix_libpath_
9668 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9669 # Warning - without using the other run time loading flags,
9670 # -berok will link without error, but may produce a broken library.
9671 no_undefined_flag
=' $wl-bernotok'
9672 allow_undefined_flag
=' $wl-berok'
9673 if test yes = "$with_gnu_ld"; then
9674 # We only use this code for GNU lds that support --whole-archive.
9675 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9677 # Exported symbols can be pulled into shared objects from archives
9678 whole_archive_flag_spec
='$convenience'
9680 archive_cmds_need_lc
=yes
9681 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9682 # -brtl affects multiple linker settings, -berok does not and is overridden later
9683 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9684 if test svr4
!= "$with_aix_soname"; then
9685 # This is similar to how AIX traditionally builds its shared libraries.
9686 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9688 if test aix
!= "$with_aix_soname"; then
9689 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9691 # used by -dlpreopen to get the symbols
9692 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9694 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9702 # see comment about AmigaOS4 .so support
9703 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9704 archive_expsym_cmds
=''
9707 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)'
9708 hardcode_libdir_flag_spec
='-L$libdir'
9709 hardcode_minus_L
=yes
9715 export_dynamic_flag_spec
=-rdynamic
9718 cygwin
* | mingw
* | pw32
* | cegcc
*)
9719 # When not using gcc, we currently assume that we are using
9720 # Microsoft Visual C++.
9721 # hardcode_libdir_flag_spec is actually meaningless, as there is
9722 # no search path for DLLs.
9723 case $cc_basename in
9726 hardcode_libdir_flag_spec
=' '
9727 allow_undefined_flag
=unsupported
9728 always_export_symbols
=yes
9730 # Tell ltmain to make .lib files, not .a files.
9732 # Tell ltmain to make .dll files, not .so files.
9734 # FIXME: Setting linknames here is a bad hack.
9735 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9736 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9737 cp "$export_symbols" "$output_objdir/$soname.def";
9738 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9740 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9742 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9744 # The linker will not automatically build a static lib if we build a DLL.
9745 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9746 enable_shared_with_static_runtimes
=yes
9747 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9748 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9750 old_postinstall_cmds
='chmod 644 $oldlib'
9751 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9752 lt_tool_outputfile="@TOOL_OUTPUT@"~
9753 case $lt_outputfile in
9756 lt_outputfile=$lt_outputfile.exe
9757 lt_tool_outputfile=$lt_tool_outputfile.exe
9760 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9761 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9762 $RM "$lt_outputfile.manifest";
9766 # Assume MSVC wrapper
9767 hardcode_libdir_flag_spec
=' '
9768 allow_undefined_flag
=unsupported
9769 # Tell ltmain to make .lib files, not .a files.
9771 # Tell ltmain to make .dll files, not .so files.
9773 # FIXME: Setting linknames here is a bad hack.
9774 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9775 # The linker will automatically build a .lib file if we build a DLL.
9776 old_archive_from_new_cmds
='true'
9777 # FIXME: Should let the user specify the lib program.
9778 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9779 enable_shared_with_static_runtimes
=yes
9784 darwin
* | rhapsody
*)
9787 archive_cmds_need_lc
=no
9789 hardcode_automatic
=yes
9790 hardcode_shlibpath_var
=unsupported
9791 if test yes = "$lt_cv_ld_force_load"; then
9792 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9795 whole_archive_flag_spec
=''
9797 link_all_deplibs
=yes
9798 allow_undefined_flag
=$_lt_dar_allow_undefined
9799 case $cc_basename in
9800 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9801 *) _lt_dar_can_shared
=$GCC ;;
9803 if test yes = "$_lt_dar_can_shared"; then
9804 output_verbose_link_cmd
=func_echo_all
9805 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9806 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9807 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"
9808 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"
9817 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9818 hardcode_libdir_flag_spec
='-L$libdir'
9819 hardcode_shlibpath_var
=no
9822 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9823 # support. Future versions do this automatically, but an explicit c++rt0.o
9824 # does not break anything, and helps significantly (at the cost of a little
9827 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9828 hardcode_libdir_flag_spec
='-R$libdir'
9830 hardcode_shlibpath_var
=no
9833 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9835 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9837 hardcode_minus_L
=yes
9838 hardcode_shlibpath_var
=no
9841 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9842 freebsd
* | dragonfly
*)
9843 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9844 hardcode_libdir_flag_spec
='-R$libdir'
9846 hardcode_shlibpath_var
=no
9850 if test yes = "$GCC"; then
9851 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9853 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9855 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9856 hardcode_libdir_separator
=:
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L
=yes
9862 export_dynamic_flag_spec
='$wl-E'
9866 if test yes,no
= "$GCC,$with_gnu_ld"; then
9867 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9869 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9871 if test no
= "$with_gnu_ld"; then
9872 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9873 hardcode_libdir_separator
=:
9875 hardcode_direct_absolute
=yes
9876 export_dynamic_flag_spec
='$wl-E'
9877 # hardcode_minus_L: Not really in the search PATH,
9878 # but as the default location of the library.
9879 hardcode_minus_L
=yes
9884 if test yes,no
= "$GCC,$with_gnu_ld"; then
9887 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9899 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9902 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9906 # Older versions of the 11.00 compiler do not understand -b yet
9907 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9909 $as_echo_n "checking if $CC understands -b... " >&6; }
9910 if ${lt_cv_prog_compiler__b+:} false
; then :
9911 $as_echo_n "(cached) " >&6
9913 lt_cv_prog_compiler__b
=no
9914 save_LDFLAGS
=$LDFLAGS
9915 LDFLAGS
="$LDFLAGS -b"
9916 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9917 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9918 # The linker can only warn and ignore the option if not recognized
9919 # So say no if there are warnings
9920 if test -s conftest.err
; then
9921 # Append any errors to the config.log.
9922 cat conftest.err
1>&5
9923 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9924 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9925 if diff conftest.exp conftest.er2
>/dev
/null
; then
9926 lt_cv_prog_compiler__b
=yes
9929 lt_cv_prog_compiler__b
=yes
9933 LDFLAGS
=$save_LDFLAGS
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9937 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9939 if test yes = "$lt_cv_prog_compiler__b"; then
9940 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9948 if test no
= "$with_gnu_ld"; then
9949 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9950 hardcode_libdir_separator
=:
9955 hardcode_shlibpath_var
=no
9959 hardcode_direct_absolute
=yes
9960 export_dynamic_flag_spec
='$wl-E'
9962 # hardcode_minus_L: Not really in the search PATH,
9963 # but as the default location of the library.
9964 hardcode_minus_L
=yes
9970 irix5
* | irix6
* | nonstopux
*)
9971 if test yes = "$GCC"; then
9972 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
9973 # Try to use the -exported_symbol ld option, if it does not
9974 # work, assume that -exports_file does not work either and
9975 # implicitly export all symbols.
9976 # This should be the same for all languages, so no per-tag cache variable.
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9978 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9979 if ${lt_cv_irix_exported_symbol+:} false
; then :
9980 $as_echo_n "(cached) " >&6
9982 save_LDFLAGS
=$LDFLAGS
9983 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9986 int foo (void) { return 0; }
9988 if ac_fn_c_try_link
"$LINENO"; then :
9989 lt_cv_irix_exported_symbol
=yes
9991 lt_cv_irix_exported_symbol
=no
9993 rm -f core conftest.err conftest.
$ac_objext \
9994 conftest
$ac_exeext conftest.
$ac_ext
9995 LDFLAGS
=$save_LDFLAGS
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9998 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9999 if test yes = "$lt_cv_irix_exported_symbol"; then
10000 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10002 link_all_deplibs
=no
10004 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10005 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
10007 archive_cmds_need_lc
='no'
10008 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10009 hardcode_libdir_separator
=:
10011 link_all_deplibs
=yes
10015 case $cc_basename in
10017 # Fabrice Bellard et al's Tiny C Compiler
10019 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024 netbsd
* | netbsdelf
*-gnu)
10025 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10026 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10028 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10030 hardcode_libdir_flag_spec
='-R$libdir'
10031 hardcode_direct
=yes
10032 hardcode_shlibpath_var
=no
10036 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10037 hardcode_direct
=yes
10038 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10039 hardcode_libdir_separator
=:
10040 hardcode_shlibpath_var
=no
10046 openbsd
* | bitrig
*)
10047 if test -f /usr
/libexec
/ld.so
; then
10048 hardcode_direct
=yes
10049 hardcode_shlibpath_var
=no
10050 hardcode_direct_absolute
=yes
10051 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10052 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10054 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10055 export_dynamic_flag_spec
='$wl-E'
10057 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10058 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10066 hardcode_libdir_flag_spec
='-L$libdir'
10067 hardcode_minus_L
=yes
10068 allow_undefined_flag
=unsupported
10070 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10071 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10072 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10073 $ECHO EXPORTS >> $output_objdir/$libname.def~
10074 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10075 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10076 emximp -o $lib $output_objdir/$libname.def'
10077 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10078 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10079 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10080 $ECHO EXPORTS >> $output_objdir/$libname.def~
10081 prefix_cmds="$SED"~
10082 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10083 prefix_cmds="$prefix_cmds -e 1d";
10085 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10086 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10087 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10088 emximp -o $lib $output_objdir/$libname.def'
10089 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10090 enable_shared_with_static_runtimes
=yes
10094 if test yes = "$GCC"; then
10095 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10096 archive_cmds
='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10098 allow_undefined_flag
=' -expect_unresolved \*'
10099 archive_cmds
='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10101 archive_cmds_need_lc
='no'
10102 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10103 hardcode_libdir_separator
=:
10106 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10107 if test yes = "$GCC"; then
10108 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10109 archive_cmds
='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10110 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10112 allow_undefined_flag
=' -expect_unresolved \*'
10113 archive_cmds
='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10114 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~
10115 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10117 # Both c and cxx compiler support -rpath directly
10118 hardcode_libdir_flag_spec
='-rpath $libdir'
10120 archive_cmds_need_lc
='no'
10121 hardcode_libdir_separator
=:
10125 no_undefined_flag
=' -z defs'
10126 if test yes = "$GCC"; then
10128 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10130 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10132 case `$CC -V 2>&1` in
10135 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10136 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10137 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10141 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10143 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10147 hardcode_libdir_flag_spec
='-R$libdir'
10148 hardcode_shlibpath_var
=no
10150 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10152 # The compiler driver will combine and reorder linker options,
10153 # but understands '-z linker_flag'. GCC discards it without '$wl',
10154 # but is careful enough not to reorder.
10155 # Supported since Solaris 2.6 (maybe 2.5.1?)
10156 if test yes = "$GCC"; then
10157 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10159 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10163 link_all_deplibs
=yes
10167 if test sequent
= "$host_vendor"; then
10168 # Use $CC to link under sequent, because it throws in some extra .o
10169 # files that make .init and .fini sections work.
10170 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10172 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10174 hardcode_libdir_flag_spec
='-L$libdir'
10175 hardcode_direct
=yes
10176 hardcode_minus_L
=yes
10177 hardcode_shlibpath_var
=no
10181 case $host_vendor in
10183 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10184 hardcode_direct
=yes # is this really true???
10187 ## LD is ld it makes a PLAMLIB
10188 ## CC just makes a GrossModule.
10189 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10190 reload_cmds
='$CC -r -o $output$reload_objs'
10194 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10195 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10198 runpath_var
='LD_RUN_PATH'
10199 hardcode_shlibpath_var
=no
10203 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10204 hardcode_shlibpath_var
=no
10205 export_dynamic_flag_spec
='-Bexport'
10209 if test -d /usr
/nec
; then
10210 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10211 hardcode_shlibpath_var
=no
10212 runpath_var
=LD_RUN_PATH
10213 hardcode_runpath_var
=yes
10218 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10219 no_undefined_flag
='$wl-z,text'
10220 archive_cmds_need_lc
=no
10221 hardcode_shlibpath_var
=no
10222 runpath_var
='LD_RUN_PATH'
10224 if test yes = "$GCC"; then
10225 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10226 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10228 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10229 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233 sysv5
* | sco3.2v5
* | sco5v6
*)
10234 # Note: We CANNOT use -z defs as we might desire, because we do not
10235 # link with -lc, and that would cause any symbols used from libc to
10236 # always be unresolved, which means just about no library would
10237 # ever link correctly. If we're not using GNU ld we use -z text
10238 # though, which does catch some bad symbols but isn't as heavy-handed
10240 no_undefined_flag
='$wl-z,text'
10241 allow_undefined_flag
='$wl-z,nodefs'
10242 archive_cmds_need_lc
=no
10243 hardcode_shlibpath_var
=no
10244 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10245 hardcode_libdir_separator
=':'
10246 link_all_deplibs
=yes
10247 export_dynamic_flag_spec
='$wl-Bexport'
10248 runpath_var
='LD_RUN_PATH'
10250 if test yes = "$GCC"; then
10251 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10252 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10254 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10255 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10260 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10261 hardcode_libdir_flag_spec
='-L$libdir'
10262 hardcode_shlibpath_var
=no
10270 if test sni
= "$host_vendor"; then
10272 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10273 export_dynamic_flag_spec
='$wl-Blargedynsym'
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10280 $as_echo "$ld_shlibs" >&6; }
10281 test no
= "$ld_shlibs" && can_build_shared
=no
10283 with_gnu_ld
=$with_gnu_ld
10300 # Do we need to explicitly link libc?
10302 case "x$archive_cmds_need_lc" in
10304 # Assume -lc should be added
10305 archive_cmds_need_lc
=yes
10307 if test yes,yes = "$GCC,$enable_shared"; then
10308 case $archive_cmds in
10310 # FIXME: we may have to deal with multi-command sequences.
10313 # Test whether the compiler implicitly links with -lc since on some
10314 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10315 # to ld, don't add -lc before -lgcc.
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10317 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10318 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10319 $as_echo_n "(cached) " >&6
10322 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10325 (eval $ac_compile) 2>&5
10327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10328 test $ac_status = 0; } 2>conftest.err
; then
10331 libobjs
=conftest.
$ac_objext
10333 wl
=$lt_prog_compiler_wl
10334 pic_flag
=$lt_prog_compiler_pic
10340 lt_save_allow_undefined_flag
=$allow_undefined_flag
10341 allow_undefined_flag
=
10342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10343 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10346 test $ac_status = 0; }
10348 lt_cv_archive_cmds_need_lc
=no
10350 lt_cv_archive_cmds_need_lc
=yes
10352 allow_undefined_flag
=$lt_save_allow_undefined_flag
10354 cat conftest.err
1>&5
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10360 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10361 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10520 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10522 if test yes = "$GCC"; then
10524 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10525 *) lt_awk_arg
='/^libraries:/' ;;
10528 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10529 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10531 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10532 case $lt_search_path_spec in
10534 # if the path contains ";" then we assume it to be the separator
10535 # otherwise default to the standard path separator (i.e. ":") - it is
10536 # assumed that no part of a normal pathname contains ";" but that should
10537 # okay in the real world where ";" in dirpaths is itself problematic.
10538 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10541 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10544 # Ok, now we have the path, separated by spaces, we can step through it
10545 # and add multilib dir if necessary...
10546 lt_tmp_lt_search_path_spec
=
10547 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10548 # ...but if some path component already ends with the multilib dir we assume
10549 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10550 case "$lt_multi_os_dir; $lt_search_path_spec " in
10551 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10555 for lt_sys_path
in $lt_search_path_spec; do
10556 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10557 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10558 elif test -n "$lt_multi_os_dir"; then
10559 test -d "$lt_sys_path" && \
10560 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10563 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10564 BEGIN {RS = " "; FS = "/|\n";} {
10567 for (lt_i = NF; lt_i > 0; lt_i--) {
10568 if ($lt_i != "" && $lt_i != ".") {
10569 if ($lt_i == "..") {
10572 if (lt_count == 0) {
10573 lt_foo = "/" $lt_i lt_foo;
10580 if (lt_foo != "") { lt_freq[lt_foo]++; }
10581 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10583 # AWK program above erroneously prepends '/' to C:/dos/paths
10586 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10587 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10589 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10591 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10593 library_names_spec
=
10594 libname_spec
='lib$name'
10598 postuninstall_cmds
=
10602 shlibpath_overrides_runpath
=unknown
10604 dynamic_linker
="$host_os ld.so"
10605 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10606 need_lib_prefix
=unknown
10607 hardcode_into_libs
=no
10609 # when you set need_version to no, make sure it does not cause -set_version
10610 # flags to be left without arguments
10611 need_version
=unknown
10617 version_type
=linux
# correct to gnu/linux during the next big refactor
10618 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10619 shlibpath_var
=LIBPATH
10621 # AIX 3 has no versioning support, so we append a major version to the name.
10622 soname_spec
='$libname$release$shared_ext$major'
10626 version_type
=linux
# correct to gnu/linux during the next big refactor
10629 hardcode_into_libs
=yes
10630 if test ia64
= "$host_cpu"; then
10631 # AIX 5 supports IA64
10632 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10633 shlibpath_var
=LD_LIBRARY_PATH
10635 # With GCC up to 2.95.x, collect2 would create an import file
10636 # for dependence libraries. The import file would start with
10637 # the line '#! .'. This would cause the generated library to
10638 # depend on '.', always an invalid library. This was fixed in
10639 # development snapshots of GCC prior to 3.0.
10641 aix4 | aix4.
[01] | aix4.
[01].
*)
10642 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10644 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10647 can_build_shared
=no
10651 # Using Import Files as archive members, it is possible to support
10652 # filename-based versioning of shared library archives on AIX. While
10653 # this would work for both with and without runtime linking, it will
10654 # prevent static linking of such archives. So we do filename-based
10655 # shared library versioning with .so extension only, which is used
10656 # when both runtime linking and shared linking is enabled.
10657 # Unfortunately, runtime linking may impact performance, so we do
10658 # not want this to be the default eventually. Also, we use the
10659 # versioned .so libs for executables only if there is the -brtl
10660 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10661 # To allow for filename-based versioning support, we need to create
10662 # libNAME.so.V as an archive file, containing:
10663 # *) an Import File, referring to the versioned filename of the
10664 # archive as well as the shared archive member, telling the
10665 # bitwidth (32 or 64) of that shared object, and providing the
10666 # list of exported symbols of that shared object, eventually
10667 # decorated with the 'weak' keyword
10668 # *) the shared object with the F_LOADONLY flag set, to really avoid
10669 # it being seen by the linker.
10670 # At run time we better use the real file rather than another symlink,
10671 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10673 case $with_aix_soname,$aix_use_runtimelinking in
10674 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10675 # soname into executable. Probably we can add versioning support to
10676 # collect2, so additional links can be useful in future.
10677 aix
,yes) # traditional libtool
10678 dynamic_linker
='AIX unversionable lib.so'
10679 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10680 # instead of lib<name>.a to let people know that these are not
10681 # typical AIX shared libraries.
10682 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10684 aix
,no
) # traditional AIX only
10685 dynamic_linker
='AIX lib.a(lib.so.V)'
10686 # We preserve .a as extension for shared libraries through AIX4.2
10687 # and later when we are not doing run time linking.
10688 library_names_spec
='$libname$release.a $libname.a'
10689 soname_spec
='$libname$release$shared_ext$major'
10691 svr4
,*) # full svr4 only
10692 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10693 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10694 # We do not specify a path in Import Files, so LIBPATH fires.
10695 shlibpath_overrides_runpath
=yes
10697 *,yes) # both, prefer svr4
10698 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10699 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10700 # unpreferred sharedlib libNAME.a needs extra handling
10701 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10702 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10703 # We do not specify a path in Import Files, so LIBPATH fires.
10704 shlibpath_overrides_runpath
=yes
10706 *,no
) # both, prefer aix
10707 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10708 library_names_spec
='$libname$release.a $libname.a'
10709 soname_spec
='$libname$release$shared_ext$major'
10710 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10711 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10712 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10715 shlibpath_var
=LIBPATH
10722 # Since July 2007 AmigaOS4 officially supports .so libraries.
10723 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10724 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10727 library_names_spec
='$libname.ixlibrary $libname.a'
10728 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10729 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10735 library_names_spec
='$libname$shared_ext'
10736 dynamic_linker
="$host_os ld.so"
10737 shlibpath_var
=LIBRARY_PATH
10741 version_type
=linux
# correct to gnu/linux during the next big refactor
10743 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10744 soname_spec
='$libname$release$shared_ext$major'
10745 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10746 shlibpath_var
=LD_LIBRARY_PATH
10747 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10748 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10749 # the default ld.so.conf also contains /usr/contrib/lib and
10750 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10751 # libtool to hard-code these into programs
10754 cygwin
* | mingw
* | pw32
* | cegcc
*)
10755 version_type
=windows
10760 case $GCC,$cc_basename in
10763 library_names_spec
='$libname.dll.a'
10764 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10765 postinstall_cmds
='base_file=`basename \$file`~
10766 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10767 dldir=$destdir/`dirname \$dlpath`~
10768 test -d \$dldir || mkdir -p \$dldir~
10769 $install_prog $dir/$dlname \$dldir/$dlname~
10770 chmod a+x \$dldir/$dlname~
10771 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10772 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10774 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10775 dlpath=$dir/\$dldll~
10777 shlibpath_overrides_runpath
=yes
10781 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10782 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10784 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10787 # MinGW DLLs use traditional 'lib' prefix
10788 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10791 # pw32 DLLs use 'pw' prefix rather than 'lib'
10792 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10795 dynamic_linker
='Win32 ld.exe'
10800 libname_spec
='$name'
10801 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10802 library_names_spec
='$libname.dll.lib'
10806 sys_lib_search_path_spec
=
10809 for lt_path
in $LIB
10812 # Let DOS variable expansion print the short 8.3 style file name.
10813 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10814 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10817 # Convert to MSYS style.
10818 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10821 # Convert to unix form, then to dos form, then back to unix form
10822 # but this time dos style (no spaces!) so that the unix form looks
10823 # like /cygdrive/c/PROGRA~1:/cygdr...
10824 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10825 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10826 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10829 sys_lib_search_path_spec
=$LIB
10830 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10831 # It is most probably a Windows format PATH.
10832 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10834 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10836 # FIXME: find the short name or the path components, as spaces are
10837 # common. (e.g. "Program Files" -> "PROGRA~1")
10841 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10842 postinstall_cmds
='base_file=`basename \$file`~
10843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10844 dldir=$destdir/`dirname \$dlpath`~
10845 test -d \$dldir || mkdir -p \$dldir~
10846 $install_prog $dir/$dlname \$dldir/$dlname'
10847 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10848 dlpath=$dir/\$dldll~
10850 shlibpath_overrides_runpath
=yes
10851 dynamic_linker
='Win32 link.exe'
10855 # Assume MSVC wrapper
10856 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10857 dynamic_linker
='Win32 ld.exe'
10860 # FIXME: first we should search . and the directory the executable is in
10864 darwin
* | rhapsody
*)
10865 dynamic_linker
="$host_os dyld"
10866 version_type
=darwin
10869 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10870 soname_spec
='$libname$release$major$shared_ext'
10871 shlibpath_overrides_runpath
=yes
10872 shlibpath_var
=DYLD_LIBRARY_PATH
10873 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10875 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10876 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10880 version_type
=linux
# correct to gnu/linux during the next big refactor
10883 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10884 soname_spec
='$libname$release$shared_ext$major'
10885 shlibpath_var
=LD_LIBRARY_PATH
10888 freebsd
* | dragonfly
*)
10889 # DragonFly does not have aout. When/if they implement a new
10890 # versioning mechanism, adjust this.
10891 if test -x /usr
/bin
/objformat
; then
10892 objformat
=`/usr/bin/objformat`
10895 freebsd
[23].
*) objformat
=aout
;;
10896 *) objformat
=elf
;;
10899 version_type
=freebsd-
$objformat
10900 case $version_type in
10902 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10903 soname_spec
='$libname$release$shared_ext$major'
10908 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10912 shlibpath_var
=LD_LIBRARY_PATH
10915 shlibpath_overrides_runpath
=yes
10917 freebsd3.
[01]* | freebsdelf3.
[01]*)
10918 shlibpath_overrides_runpath
=yes
10919 hardcode_into_libs
=yes
10921 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10922 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10923 shlibpath_overrides_runpath
=no
10924 hardcode_into_libs
=yes
10926 *) # from 4.6 on, and DragonFly
10927 shlibpath_overrides_runpath
=yes
10928 hardcode_into_libs
=yes
10934 version_type
=linux
# correct to gnu/linux during the next big refactor
10937 dynamic_linker
="$host_os runtime_loader"
10938 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10939 soname_spec
='$libname$release$shared_ext$major'
10940 shlibpath_var
=LIBRARY_PATH
10941 shlibpath_overrides_runpath
=no
10942 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10943 hardcode_into_libs
=yes
10946 hpux9
* | hpux10
* | hpux11
*)
10947 # Give a soname corresponding to the major version so that dld.sl refuses to
10948 # link against other versions.
10955 hardcode_into_libs
=yes
10956 dynamic_linker
="$host_os dld.so"
10957 shlibpath_var
=LD_LIBRARY_PATH
10958 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10959 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10960 soname_spec
='$libname$release$shared_ext$major'
10961 if test 32 = "$HPUX_IA64_MODE"; then
10962 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10963 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10965 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10966 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10971 hardcode_into_libs
=yes
10972 dynamic_linker
="$host_os dld.sl"
10973 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10974 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10975 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10976 soname_spec
='$libname$release$shared_ext$major'
10977 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10978 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10982 dynamic_linker
="$host_os dld.sl"
10983 shlibpath_var
=SHLIB_PATH
10984 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10985 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10986 soname_spec
='$libname$release$shared_ext$major'
10989 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10990 postinstall_cmds
='chmod 555 $lib'
10991 # or fails outright, so override atomically:
10992 install_override_mode
=555
10996 version_type
=linux
# correct to gnu/linux during the next big refactor
10999 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11000 soname_spec
='$libname$release$shared_ext$major'
11001 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11002 shlibpath_var
=LD_LIBRARY_PATH
11003 shlibpath_overrides_runpath
=no
11004 hardcode_into_libs
=yes
11007 irix5
* | irix6
* | nonstopux
*)
11009 nonstopux
*) version_type
=nonstopux
;;
11011 if test yes = "$lt_cv_prog_gnu_ld"; then
11012 version_type
=linux
# correct to gnu/linux during the next big refactor
11019 soname_spec
='$libname$release$shared_ext$major'
11020 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11022 irix5
* | nonstopux
*)
11023 libsuff
= shlibsuff
=
11026 case $LD in # libtool.m4 will add one of these switches to LD
11027 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11028 libsuff
= shlibsuff
= libmagic
=32-bit;;
11029 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11030 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11031 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11032 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11033 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11037 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11038 shlibpath_overrides_runpath
=no
11039 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11040 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11041 hardcode_into_libs
=yes
11044 # No shared lib support for Linux oldld, aout, or coff.
11045 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11050 version_type
=none
# Android doesn't support versioned libraries.
11053 library_names_spec
='$libname$release$shared_ext'
11054 soname_spec
='$libname$release$shared_ext'
11056 shlibpath_var
=LD_LIBRARY_PATH
11057 shlibpath_overrides_runpath
=yes
11059 # This implies no fast_install, which is unacceptable.
11060 # Some rework will be needed to allow for fast_install
11061 # before this can be enabled.
11062 hardcode_into_libs
=yes
11064 dynamic_linker
='Android linker'
11065 # Don't embed -rpath directories since the linker doesn't support them.
11066 hardcode_libdir_flag_spec
='-L$libdir'
11069 # This must be glibc/ELF.
11070 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11071 version_type
=linux
# correct to gnu/linux during the next big refactor
11074 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11075 soname_spec
='$libname$release$shared_ext$major'
11076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11077 shlibpath_var
=LD_LIBRARY_PATH
11078 shlibpath_overrides_runpath
=no
11080 # Some binutils ld are patched to set DT_RUNPATH
11081 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11082 $as_echo_n "(cached) " >&6
11084 lt_cv_shlibpath_overrides_runpath
=no
11085 save_LDFLAGS
=$LDFLAGS
11086 save_libdir
=$libdir
11087 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11088 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11100 if ac_fn_c_try_link
"$LINENO"; then :
11101 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11102 lt_cv_shlibpath_overrides_runpath
=yes
11105 rm -f core conftest.err conftest.
$ac_objext \
11106 conftest
$ac_exeext conftest.
$ac_ext
11107 LDFLAGS
=$save_LDFLAGS
11108 libdir
=$save_libdir
11112 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11114 # This implies no fast_install, which is unacceptable.
11115 # Some rework will be needed to allow for fast_install
11116 # before this can be enabled.
11117 hardcode_into_libs
=yes
11119 # Ideally, we could use ldconfig to report *all* directores which are
11120 # searched for libraries, however this is still not possible. Aside from not
11121 # being certain /sbin/ldconfig is available, command
11122 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11123 # even though it is searched at run-time. Try to do the best guess by
11124 # appending ld.so.conf contents (and includes) to the search path.
11125 if test -f /etc
/ld.so.conf
; then
11126 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;s/"//g;/^$/d' | tr '\n' ' '`
11127 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11130 # We used to test for /lib/ld.so.1 and disable shared libraries on
11131 # powerpc, because MkLinux only supported shared libraries with the
11132 # GNU dynamic linker. Since this was broken with cross compilers,
11133 # most powerpc-linux boxes support dynamic linking these days and
11134 # people can always --disable-shared, the test was removed, and we
11135 # assume the GNU/Linux dynamic linker is in use.
11136 dynamic_linker
='GNU/Linux ld.so'
11143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11144 soname_spec
='${libname}${release}${shared_ext}$major'
11145 shlibpath_var
=LD_LIBRARY_PATH
11146 shlibpath_overrides_runpath
=no
11147 hardcode_into_libs
=yes
11148 dynamic_linker
='NetBSD ld.elf_so'
11155 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11156 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11157 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11158 dynamic_linker
='NetBSD (a.out) ld.so'
11160 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11161 soname_spec
='$libname$release$shared_ext$major'
11162 dynamic_linker
='NetBSD ld.elf_so'
11164 shlibpath_var
=LD_LIBRARY_PATH
11165 shlibpath_overrides_runpath
=yes
11166 hardcode_into_libs
=yes
11170 version_type
=linux
# correct to gnu/linux during the next big refactor
11171 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11172 shlibpath_var
=LD_LIBRARY_PATH
11173 shlibpath_overrides_runpath
=yes
11180 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11181 soname_spec
='$libname$release$shared_ext$major'
11182 shlibpath_var
=LD_LIBRARY_PATH
11183 shlibpath_overrides_runpath
=no
11184 hardcode_into_libs
=yes
11185 dynamic_linker
='ldqnx.so'
11188 openbsd
* | bitrig
*)
11190 sys_lib_dlsearch_path_spec
=/usr
/lib
11192 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11197 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11198 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11199 shlibpath_var
=LD_LIBRARY_PATH
11200 shlibpath_overrides_runpath
=yes
11204 libname_spec
='$name'
11205 version_type
=windows
11209 # OS/2 can only load a DLL with a base name of 8 characters or less.
11210 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11211 v=$($ECHO $release$versuffix | tr -d .-);
11212 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11213 $ECHO $n$v`$shared_ext'
11214 library_names_spec
='${libname}_dll.$libext'
11215 dynamic_linker
='OS/2 ld.exe'
11216 shlibpath_var
=BEGINLIBPATH
11217 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11218 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11219 postinstall_cmds
='base_file=`basename \$file`~
11220 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11221 dldir=$destdir/`dirname \$dlpath`~
11222 test -d \$dldir || mkdir -p \$dldir~
11223 $install_prog $dir/$dlname \$dldir/$dlname~
11224 chmod a+x \$dldir/$dlname~
11225 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11226 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11228 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11229 dlpath=$dir/\$dldll~
11233 osf3
* | osf4
* | osf5
*)
11237 soname_spec
='$libname$release$shared_ext$major'
11238 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11239 shlibpath_var
=LD_LIBRARY_PATH
11240 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11241 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11249 version_type
=linux
# correct to gnu/linux during the next big refactor
11252 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11253 soname_spec
='$libname$release$shared_ext$major'
11254 shlibpath_var
=LD_LIBRARY_PATH
11255 shlibpath_overrides_runpath
=yes
11256 hardcode_into_libs
=yes
11257 # ldd complains unless libraries are executable
11258 postinstall_cmds
='chmod +x $lib'
11263 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11264 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11265 shlibpath_var
=LD_LIBRARY_PATH
11266 shlibpath_overrides_runpath
=yes
11267 if test yes = "$with_gnu_ld"; then
11274 version_type
=linux
# correct to gnu/linux during the next big refactor
11275 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11276 soname_spec
='$libname$release$shared_ext$major'
11277 shlibpath_var
=LD_LIBRARY_PATH
11278 case $host_vendor in
11280 shlibpath_overrides_runpath
=no
11282 runpath_var
=LD_RUN_PATH
11290 shlibpath_overrides_runpath
=no
11291 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11297 if test -d /usr
/nec
; then
11298 version_type
=linux
# correct to gnu/linux during the next big refactor
11299 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11300 soname_spec
='$libname$shared_ext.$major'
11301 shlibpath_var
=LD_LIBRARY_PATH
11305 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11309 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11310 soname_spec
='$libname$release$shared_ext$major'
11311 shlibpath_var
=LD_LIBRARY_PATH
11312 shlibpath_overrides_runpath
=yes
11313 hardcode_into_libs
=yes
11314 if test yes = "$with_gnu_ld"; then
11315 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11317 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11320 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11324 sys_lib_dlsearch_path_spec
='/usr/lib'
11328 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11329 version_type
=linux
# correct to gnu/linux during the next big refactor
11332 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11333 shlibpath_var
=LD_LIBRARY_PATH
11334 shlibpath_overrides_runpath
=no
11335 hardcode_into_libs
=yes
11339 version_type
=linux
# correct to gnu/linux during the next big refactor
11340 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11341 soname_spec
='$libname$release$shared_ext$major'
11342 shlibpath_var
=LD_LIBRARY_PATH
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11350 $as_echo "$dynamic_linker" >&6; }
11351 test no
= "$dynamic_linker" && can_build_shared
=no
11353 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11354 if test yes = "$GCC"; then
11355 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11358 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11359 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11362 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11363 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11366 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11367 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11369 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11370 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11372 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11373 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11472 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11474 if test -n "$hardcode_libdir_flag_spec" ||
11475 test -n "$runpath_var" ||
11476 test yes = "$hardcode_automatic"; then
11478 # We can hardcode non-existent directories.
11479 if test no
!= "$hardcode_direct" &&
11480 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11481 # have to relink, otherwise we might link with an installed library
11482 # when we should be linking with a yet-to-be-installed one
11483 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11484 test no
!= "$hardcode_minus_L"; then
11485 # Linking always hardcodes the temporary library directory.
11486 hardcode_action
=relink
11488 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11489 hardcode_action
=immediate
11492 # We cannot hardcode anything, or else we can only hardcode existing
11494 hardcode_action
=unsupported
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11497 $as_echo "$hardcode_action" >&6; }
11499 if test relink
= "$hardcode_action" ||
11500 test yes = "$inherit_rpath"; then
11501 # Fast installation is not supported
11502 enable_fast_install
=no
11503 elif test yes = "$shlibpath_overrides_runpath" ||
11504 test no
= "$enable_shared"; then
11505 # Fast installation is not necessary
11506 enable_fast_install
=needless
11514 if test yes != "$enable_dlopen"; then
11515 enable_dlopen
=unknown
11516 enable_dlopen_self
=unknown
11517 enable_dlopen_self_static
=unknown
11524 lt_cv_dlopen
=load_add_on
11526 lt_cv_dlopen_self
=yes
11529 mingw
* | pw32
* | cegcc
*)
11530 lt_cv_dlopen
=LoadLibrary
11535 lt_cv_dlopen
=dlopen
11540 # if libdl is installed we need to link against it
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11542 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11543 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11544 $as_echo_n "(cached) " >&6
11546 ac_check_lib_save_LIBS
=$LIBS
11548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11566 if ac_fn_c_try_link
"$LINENO"; then :
11567 ac_cv_lib_dl_dlopen
=yes
11569 ac_cv_lib_dl_dlopen
=no
11571 rm -f core conftest.err conftest.
$ac_objext \
11572 conftest
$ac_exeext conftest.
$ac_ext
11573 LIBS
=$ac_check_lib_save_LIBS
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11576 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11577 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11578 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11583 lt_cv_dlopen_self
=yes
11590 # Don't try to run any link tests for TPF. We know it's impossible
11591 # because TPF is a cross-compiler, and we know how we open DSOs.
11592 lt_cv_dlopen
=dlopen
11594 lt_cv_dlopen_self
=no
11598 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11599 if test "x$ac_cv_func_shl_load" = xyes
; then :
11600 lt_cv_dlopen
=shl_load
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11603 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11604 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11605 $as_echo_n "(cached) " >&6
11607 ac_check_lib_save_LIBS
=$LIBS
11609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11622 return shl_load ();
11627 if ac_fn_c_try_link
"$LINENO"; then :
11628 ac_cv_lib_dld_shl_load
=yes
11630 ac_cv_lib_dld_shl_load
=no
11632 rm -f core conftest.err conftest.
$ac_objext \
11633 conftest
$ac_exeext conftest.
$ac_ext
11634 LIBS
=$ac_check_lib_save_LIBS
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11637 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11638 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11639 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11641 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11642 if test "x$ac_cv_func_dlopen" = xyes
; then :
11643 lt_cv_dlopen
=dlopen
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11646 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11647 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11648 $as_echo_n "(cached) " >&6
11650 ac_check_lib_save_LIBS
=$LIBS
11652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11670 if ac_fn_c_try_link
"$LINENO"; then :
11671 ac_cv_lib_dl_dlopen
=yes
11673 ac_cv_lib_dl_dlopen
=no
11675 rm -f core conftest.err conftest.
$ac_objext \
11676 conftest
$ac_exeext conftest.
$ac_ext
11677 LIBS
=$ac_check_lib_save_LIBS
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11680 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11681 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11682 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11685 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11686 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11687 $as_echo_n "(cached) " >&6
11689 ac_check_lib_save_LIBS
=$LIBS
11690 LIBS
="-lsvld $LIBS"
11691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11694 /* Override any GCC internal prototype to avoid an error.
11695 Use char because int might match the return type of a GCC
11696 builtin and then its argument prototype would still apply. */
11709 if ac_fn_c_try_link
"$LINENO"; then :
11710 ac_cv_lib_svld_dlopen
=yes
11712 ac_cv_lib_svld_dlopen
=no
11714 rm -f core conftest.err conftest.
$ac_objext \
11715 conftest
$ac_exeext conftest.
$ac_ext
11716 LIBS
=$ac_check_lib_save_LIBS
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11719 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11720 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11721 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11724 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11725 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11726 $as_echo_n "(cached) " >&6
11728 ac_check_lib_save_LIBS
=$LIBS
11730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11743 return dld_link ();
11748 if ac_fn_c_try_link
"$LINENO"; then :
11749 ac_cv_lib_dld_dld_link
=yes
11751 ac_cv_lib_dld_dld_link
=no
11753 rm -f core conftest.err conftest.
$ac_objext \
11754 conftest
$ac_exeext conftest.
$ac_ext
11755 LIBS
=$ac_check_lib_save_LIBS
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11758 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11759 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11760 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11781 if test no
= "$lt_cv_dlopen"; then
11787 case $lt_cv_dlopen in
11789 save_CPPFLAGS
=$CPPFLAGS
11790 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11792 save_LDFLAGS
=$LDFLAGS
11793 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11796 LIBS
="$lt_cv_dlopen_libs $LIBS"
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11799 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11800 if ${lt_cv_dlopen_self+:} false
; then :
11801 $as_echo_n "(cached) " >&6
11803 if test yes = "$cross_compiling"; then :
11804 lt_cv_dlopen_self
=cross
11806 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11807 lt_status
=$lt_dlunknown
11808 cat > conftest.
$ac_ext <<_LT_EOF
11809 #line $LINENO "configure"
11810 #include "confdefs.h"
11819 # define LT_DLGLOBAL RTLD_GLOBAL
11822 # define LT_DLGLOBAL DL_GLOBAL
11824 # define LT_DLGLOBAL 0
11828 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11829 find out it does not work in some platform. */
11830 #ifndef LT_DLLAZY_OR_NOW
11832 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11835 # define LT_DLLAZY_OR_NOW DL_LAZY
11838 # define LT_DLLAZY_OR_NOW RTLD_NOW
11841 # define LT_DLLAZY_OR_NOW DL_NOW
11843 # define LT_DLLAZY_OR_NOW 0
11850 /* When -fvisibility=hidden is used, assume the code has been annotated
11851 correspondingly for the symbols needed. */
11852 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11853 int fnord () __attribute__((visibility("default")));
11856 int fnord () { return 42; }
11859 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11860 int status = $lt_dlunknown;
11864 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11867 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11868 else puts (dlerror ());
11870 /* dlclose (self); */
11878 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11879 (eval $ac_link) 2>&5
11881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11882 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11883 (.
/conftest
; exit; ) >&5 2>/dev
/null
11885 case x
$lt_status in
11886 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11887 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11888 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11891 # compilation failed
11892 lt_cv_dlopen_self
=no
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11900 $as_echo "$lt_cv_dlopen_self" >&6; }
11902 if test yes = "$lt_cv_dlopen_self"; then
11903 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11905 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11906 if ${lt_cv_dlopen_self_static+:} false
; then :
11907 $as_echo_n "(cached) " >&6
11909 if test yes = "$cross_compiling"; then :
11910 lt_cv_dlopen_self_static
=cross
11912 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11913 lt_status
=$lt_dlunknown
11914 cat > conftest.
$ac_ext <<_LT_EOF
11915 #line $LINENO "configure"
11916 #include "confdefs.h"
11925 # define LT_DLGLOBAL RTLD_GLOBAL
11928 # define LT_DLGLOBAL DL_GLOBAL
11930 # define LT_DLGLOBAL 0
11934 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11935 find out it does not work in some platform. */
11936 #ifndef LT_DLLAZY_OR_NOW
11938 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11941 # define LT_DLLAZY_OR_NOW DL_LAZY
11944 # define LT_DLLAZY_OR_NOW RTLD_NOW
11947 # define LT_DLLAZY_OR_NOW DL_NOW
11949 # define LT_DLLAZY_OR_NOW 0
11956 /* When -fvisibility=hidden is used, assume the code has been annotated
11957 correspondingly for the symbols needed. */
11958 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11959 int fnord () __attribute__((visibility("default")));
11962 int fnord () { return 42; }
11965 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11966 int status = $lt_dlunknown;
11970 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11973 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11974 else puts (dlerror ());
11976 /* dlclose (self); */
11984 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11985 (eval $ac_link) 2>&5
11987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11988 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11989 (.
/conftest
; exit; ) >&5 2>/dev
/null
11991 case x
$lt_status in
11992 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11993 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11994 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11997 # compilation failed
11998 lt_cv_dlopen_self_static
=no
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12006 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12009 CPPFLAGS
=$save_CPPFLAGS
12010 LDFLAGS
=$save_LDFLAGS
12015 case $lt_cv_dlopen_self in
12016 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12017 *) enable_dlopen_self
=unknown
;;
12020 case $lt_cv_dlopen_self_static in
12021 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12022 *) enable_dlopen_self_static
=unknown
;;
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12045 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12046 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12047 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12048 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12050 $as_echo "yes" >&6; }
12052 # FIXME - insert some real tests, host_os isn't really good enough
12055 if test -n "$STRIP"; then
12056 striplib
="$STRIP -x"
12057 old_striplib
="$STRIP -S"
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12059 $as_echo "yes" >&6; }
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12062 $as_echo "no" >&6; }
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12067 $as_echo "no" >&6; }
12083 # Report what library types will actually be built
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12085 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12087 $as_echo "$can_build_shared" >&6; }
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12090 $as_echo_n "checking whether to build shared libraries... " >&6; }
12091 test no
= "$can_build_shared" && enable_shared
=no
12093 # On AIX, shared libraries and static libraries use the same namespace, and
12094 # are all built from PIC.
12097 test yes = "$enable_shared" && enable_static
=no
12098 if test -n "$RANLIB"; then
12099 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12100 postinstall_cmds
='$RANLIB $lib'
12105 if test ia64
!= "$host_cpu"; then
12106 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12107 yes,aix
,yes) ;; # shared object as lib.so file only
12108 yes,svr4
,*) ;; # shared object as lib.so archive member only
12109 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12115 $as_echo "$enable_shared" >&6; }
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12118 $as_echo_n "checking whether to build static libraries... " >&6; }
12119 # Make sure either enable_shared or enable_static is yes.
12120 test yes = "$enable_shared" || enable_static
=yes
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12122 $as_echo "$enable_static" >&6; }
12129 ac_cpp
='$CPP $CPPFLAGS'
12130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12150 ac_config_commands
="$ac_config_commands libtool"
12155 # Only expand once:
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl author" >&5
12161 $as_echo_n "checking spl author... " >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_META_AUTHOR" >&5
12163 $as_echo "$SPL_META_AUTHOR" >&6; }
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl license" >&5
12166 $as_echo_n "checking spl license... " >&6; }
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_META_LICENSE" >&5
12168 $as_echo "$SPL_META_LICENSE" >&6; }
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linux distribution" >&5
12173 $as_echo_n "checking linux distribution... " >&6; }
12174 if test -f /etc
/toss-release
; then
12176 elif test -f /etc
/fedora-release
; then
12178 elif test -f /etc
/redhat-release
; then
12180 elif test -f /etc
/gentoo-release
; then
12182 elif test -f /etc
/arch-release
; then
12184 elif test -f /etc
/SuSE-release
; then
12186 elif test -f /etc
/slackware-version
; then
12188 elif test -f /etc
/lunar.release
; then
12190 elif test -f /etc
/lsb-release
; then
12192 elif test -f /etc
/debian_version
; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VENDOR" >&5
12198 $as_echo "$VENDOR" >&6; }
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default package type" >&5
12202 $as_echo_n "checking default package type... " >&6; }
12204 toss
) DEFAULT_PACKAGE
=rpm
;;
12205 redhat
) DEFAULT_PACKAGE
=rpm
;;
12206 fedora
) DEFAULT_PACKAGE
=rpm
;;
12207 gentoo
) DEFAULT_PACKAGE
=tgz
;;
12208 arch
) DEFAULT_PACKAGE
=tgz
;;
12209 sles
) DEFAULT_PACKAGE
=rpm
;;
12210 slackware
) DEFAULT_PACKAGE
=tgz
;;
12211 lunar
) DEFAULT_PACKAGE
=tgz
;;
12212 ubuntu
) DEFAULT_PACKAGE
=deb
;;
12213 debian
) DEFAULT_PACKAGE
=deb
;;
12214 *) DEFAULT_PACKAGE
=rpm
;;
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_PACKAGE" >&5
12218 $as_echo "$DEFAULT_PACKAGE" >&6; }
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPM is available" >&5
12226 $as_echo_n "checking whether $RPM is available... " >&6; }
12227 if tmp
=$
($RPM --version 2>/dev
/null
); then :
12229 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM ($RPM_VERSION)" >&5
12232 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM" >&5
12238 $as_echo "$HAVE_RPM" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPMBUILD is available" >&5
12243 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
12244 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then :
12246 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
12249 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD" >&5
12255 $as_echo "$HAVE_RPMBUILD" >&6; }
12259 RPM_DEFINE_COMMON
='--define "$(DEBUG_SPL) 1" --define "$(DEBUG_KMEM) 1" --define "$(DEBUG_KMEM_TRACKING) 1"'
12261 RPM_DEFINE_KMOD
='--define "kernels $(LINUX_VERSION)"'
12264 SRPM_DEFINE_COMMON
='--define "build_src_rpm 1"'
12269 RPM_SPEC_DIR
="rpm/generic"
12271 # Check whether --with-spec was given.
12272 if test "${with_spec+set}" = set; then :
12273 withval
=$with_spec; RPM_SPEC_DIR
="rpm/$withval"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether spec files are available" >&5
12278 $as_echo_n "checking whether spec files are available... " >&6; }
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($RPM_SPEC_DIR/*.spec.in)" >&5
12280 $as_echo "yes ($RPM_SPEC_DIR/*.spec.in)" >&6; }
12302 DPKGBUILD
=dpkg-buildpackage
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKG is available" >&5
12305 $as_echo_n "checking whether $DPKG is available... " >&6; }
12306 if tmp
=$
($DPKG --version 2>/dev
/null
); then :
12308 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
12311 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG" >&5
12317 $as_echo "$HAVE_DPKG" >&6; }
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKGBUILD is available" >&5
12322 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
12323 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then :
12325 DPKGBUILD_VERSION
=$
(echo $tmp | \
12326 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
12329 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD" >&5
12335 $as_echo "$HAVE_DPKGBUILD" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ALIEN is available" >&5
12351 $as_echo_n "checking whether $ALIEN is available... " >&6; }
12352 if tmp
=$
($ALIEN --version 2>/dev
/null
); then :
12354 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
12357 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN" >&5
12363 $as_echo "$HAVE_ALIEN" >&6; }
12375 # Check whether --with-config was given.
12376 if test "${with_config+set}" = set; then :
12377 withval
=$with_config; SPL_CONFIG
="$withval"
12380 # Check whether --enable-linux-builtin was given.
12381 if test "${enable_linux_builtin+set}" = set; then :
12382 enableval
=$enable_linux_builtin;
12384 enable_linux_builtin
=no
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl config" >&5
12389 $as_echo_n "checking spl config... " >&6; }
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_CONFIG" >&5
12391 $as_echo "$SPL_CONFIG" >&6; };
12394 case "$SPL_CONFIG" in
12398 # Check whether --with-linux was given.
12399 if test "${with_linux+set}" = set; then :
12400 withval
=$with_linux; kernelsrc
="$withval"
12405 # Check whether --with-linux-obj was given.
12406 if test "${with_linux_obj+set}" = set; then :
12407 withval
=$with_linux_obj; kernelbuild
="$withval"
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
12412 $as_echo_n "checking kernel source directory... " >&6; }
12413 if test -z "$kernelsrc"; then
12414 if test -e "/lib/modules/$(uname -r)/source"; then
12415 headersdir
="/lib/modules/$(uname -r)/source"
12416 sourcelink
=$
(readlink
-f "$headersdir")
12417 elif test -e "/lib/modules/$(uname -r)/build"; then
12418 headersdir
="/lib/modules/$(uname -r)/build"
12419 sourcelink
=$
(readlink
-f "$headersdir")
12421 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
12423 2>/dev
/null |
grep -v obj |
tail -1)
12426 if test -n "$sourcelink" && test -e ${sourcelink}; then
12427 kernelsrc
=`readlink -f ${sourcelink}`
12429 kernelsrc
="Not found"
12432 if test "$kernelsrc" = "NONE"; then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
12439 $as_echo "$kernelsrc" >&6; }
12440 if test ! -d "$kernelsrc"; then
12442 *** Please make sure the kernel devel package for your distribution
12443 *** is installed and then try again. If that fails, you can specify the
12444 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
12448 $as_echo_n "checking kernel build directory... " >&6; }
12449 if test -z "$kernelbuild"; then
12450 if test x
$withlinux != xyes
-a -e "/lib/modules/$(uname -r)/build"; then
12451 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
12452 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
12453 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
12454 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
12455 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
12456 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
12457 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
12459 kernelbuild
=${kernelsrc}
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
12463 $as_echo "$kernelbuild" >&6; }
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
12466 $as_echo_n "checking kernel source version... " >&6; }
12467 utsrelease1
=$kernelbuild/include
/linux
/version.h
12468 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
12469 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
12470 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
12471 utsrelease
=linux
/version.h
12472 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
12473 utsrelease
=linux
/utsrelease.h
12474 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
12475 utsrelease
=generated
/utsrelease.h
12478 if test "$utsrelease"; then
12479 kernsrcver
=`(echo "#include <$utsrelease>";
12480 echo "kernsrcver=UTS_RELEASE") |
12481 cpp -I $kernelbuild/include |
12482 grep "^kernsrcver=" | cut -d \" -f 2`
12484 if test -z "$kernsrcver"; then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
12486 $as_echo "Not found" >&6; }
12487 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
12491 $as_echo "Not found" >&6; }
12492 if test "x$enable_linux_builtin" != xyes
; then
12493 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
12496 *** Cannot find UTS_RELEASE definition.
12497 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
12502 $as_echo "$kernsrcver" >&6; }
12505 LINUX_OBJ
=${kernelbuild}
12506 LINUX_VERSION
=${kernsrcver}
12513 modpost
=$LINUX/scripts
/Makefile.modpost
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
12515 $as_echo_n "checking kernel file name for module symbols... " >&6; }
12516 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
12517 if grep -q Modules.symvers
$modpost; then
12518 LINUX_SYMBOLS
=Modules.symvers
12520 LINUX_SYMBOLS
=Module.symvers
12523 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
12525 *** Please make sure the kernel devel package for your distribution
12526 *** is installed. If you are building with a custom kernel, make sure the
12527 *** kernel is configured, built, and the '--with-linux=PATH' configure
12528 *** option refers to the location of the kernel source." "$LINENO" 5
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
12534 $as_echo "$LINUX_SYMBOLS" >&6; }
12539 if test "${LINUX_OBJ}" != "${LINUX}"; then
12540 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
12544 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
12549 $as_echo_n "checking whether debugging is enabled... " >&6; }
12550 # Check whether --enable-debug was given.
12551 if test "${enable_debug+set}" = set; then :
12552 enableval
=$enable_debug;
12558 if test "x$enable_debug" = xyes
; then :
12560 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
12561 DEBUG_CFLAGS
="-DDEBUG -Werror"
12562 DEBUG_SPL
="_with_debug"
12566 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
12567 DEBUG_CFLAGS
="-DNDEBUG"
12568 DEBUG_SPL
="_without_debug"
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
12575 $as_echo "$enable_debug" >&6; }
12578 # Check whether --enable-debug-kmem was given.
12579 if test "${enable_debug_kmem+set}" = set; then :
12580 enableval
=$enable_debug_kmem;
12582 enable_debug_kmem
=no
12586 if test "x$enable_debug_kmem" = xyes
; then :
12588 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
12589 DEBUG_KMEM
="_with_debug_kmem"
12591 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
12596 DEBUG_KMEM
="_without_debug_kmem"
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
12602 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
12604 $as_echo "$enable_debug_kmem" >&6; }
12607 # Check whether --enable-debug-kmem-tracking was given.
12608 if test "${enable_debug_kmem_tracking+set}" = set; then :
12609 enableval
=$enable_debug_kmem_tracking;
12611 enable_debug_kmem_tracking
=no
12615 if test "x$enable_debug_kmem_tracking" = xyes
; then :
12617 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
12618 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
12620 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
12625 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
12631 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
12633 $as_echo "$enable_debug_kmem_tracking" >&6; }
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
12636 $as_echo_n "checking whether modules can be built... " >&6; }
12639 cat confdefs.h
- <<_ACEOF >conftest.c
12653 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12654 echo "obj-m := conftest.o" >build
/Makefile
12656 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12657 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12658 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12659 (eval $ac_try) 2>&5
12661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12662 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12663 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12664 (eval $ac_try) 2>&5
12666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12667 test $ac_status = 0; }; }; then :
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12670 $as_echo "yes" >&6; }
12673 $as_echo "$as_me: failed program was:" >&5
12674 sed 's/^/| /' conftest.
$ac_ext >&5
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12678 if test "x$enable_linux_builtin" != xyes
; then
12679 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
12682 *** Unable to build an empty module.
12683 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
12693 if test "x$cross_compiling" != xyes
; then :
12695 if test "$cross_compiling" = yes; then :
12696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12698 as_fn_error $?
"cannot run test program while cross compiling
12699 See \`config.log' for more details" "$LINENO" 5; }
12701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12705 #include "$LINUX/include/linux/license.h"
12711 return !license_is_gpl_compatible(
12712 "$SPL_META_LICENSE");
12719 if ac_fn_c_try_run
"$LINENO"; then :
12722 $as_echo "#define SPL_IS_GPL_COMPATIBLE 1" >>confdefs.h
12726 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12727 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12734 # Check whether --enable-atomic-spinlocks was given.
12735 if test "${enable_atomic_spinlocks+set}" = set; then :
12736 enableval
=$enable_atomic_spinlocks;
12738 enable_atomic_spinlocks
=check
12744 cat confdefs.h
- <<_ACEOF >conftest.c
12747 #include <linux/fs.h>
12753 atomic64_t *ptr __attribute__ ((unused));
12762 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12763 echo "obj-m := conftest.o" >build
/Makefile
12765 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12766 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12767 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12768 (eval $ac_try) 2>&5
12770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12771 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12772 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12773 (eval $ac_try) 2>&5
12775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12776 test $ac_status = 0; }; }; then :
12778 have_atomic64_t
=yes
12780 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
12784 $as_echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.
$ac_ext >&5
12796 if test "x$enable_atomic_spinlocks" = xcheck
; then :
12798 if test "x$have_atomic64_t" = xyes
; then :
12800 enable_atomic_spinlocks
=no
12804 enable_atomic_spinlocks
=yes
12810 if test "x$enable_atomic_spinlocks" = xyes
; then :
12813 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
12818 if test "x$have_atomic64_t" = xno
; then :
12820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12822 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
12823 See \`config.log' for more details" "$LINENO" 5; }
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
12830 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
12832 $as_echo "$enable_atomic_spinlocks" >&6; }
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
12835 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
12837 $as_echo "$have_atomic64_t" >&6; }
12840 tmp_flags
="$EXTRA_KCFLAGS"
12841 EXTRA_KCFLAGS
="-Werror"
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 2-argument shrinker exists" >&5
12843 $as_echo_n "checking whether old 2-argument shrinker exists... " >&6; }
12846 cat confdefs.h
- <<_ACEOF >conftest.c
12849 #include <linux/mm.h>
12851 int shrinker_cb(int nr_to_scan, gfp_t gfp_mask);
12857 struct shrinker cache_shrinker = {
12858 .shrink = shrinker_cb,
12859 .seeks = DEFAULT_SEEKS,
12861 register_shrinker(&cache_shrinker);
12870 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12871 echo "obj-m := conftest.o" >build
/Makefile
12873 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12874 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12875 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12876 (eval $ac_try) 2>&5
12878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12879 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12880 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12881 (eval $ac_try) 2>&5
12883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12884 test $ac_status = 0; }; }; then :
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12887 $as_echo "yes" >&6; }
12889 $as_echo "#define HAVE_2ARGS_OLD_SHRINKER_CALLBACK 1" >>confdefs.h
12893 $as_echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.
$ac_ext >&5
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12897 $as_echo "no" >&6; }
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 3-argument shrinker exists" >&5
12899 $as_echo_n "checking whether old 3-argument shrinker exists... " >&6; }
12902 cat confdefs.h
- <<_ACEOF >conftest.c
12905 #include <linux/mm.h>
12907 int shrinker_cb(struct shrinker *, int nr_to_scan,
12914 struct shrinker cache_shrinker = {
12915 .shrink = shrinker_cb,
12916 .seeks = DEFAULT_SEEKS,
12918 register_shrinker(&cache_shrinker);
12927 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12928 echo "obj-m := conftest.o" >build
/Makefile
12930 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12931 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12932 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12933 (eval $ac_try) 2>&5
12935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12936 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12937 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12938 (eval $ac_try) 2>&5
12940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12941 test $ac_status = 0; }; }; then :
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12944 $as_echo "yes" >&6; }
12946 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
12950 $as_echo "$as_me: failed program was:" >&5
12951 sed 's/^/| /' conftest.
$ac_ext >&5
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12954 $as_echo "no" >&6; }
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether new 2-argument shrinker exists" >&5
12956 $as_echo_n "checking whether new 2-argument shrinker exists... " >&6; }
12959 cat confdefs.h
- <<_ACEOF >conftest.c
12962 #include <linux/mm.h>
12964 int shrinker_cb(struct shrinker *,
12965 struct shrink_control *sc);
12971 struct shrinker cache_shrinker = {
12972 .shrink = shrinker_cb,
12973 .seeks = DEFAULT_SEEKS,
12975 register_shrinker(&cache_shrinker);
12984 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12985 echo "obj-m := conftest.o" >build
/Makefile
12987 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12988 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12989 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12990 (eval $ac_try) 2>&5
12992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12993 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12994 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12995 (eval $ac_try) 2>&5
12997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12998 test $ac_status = 0; }; }; then :
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13001 $as_echo "yes" >&6; }
13003 $as_echo "#define HAVE_2ARGS_NEW_SHRINKER_CALLBACK 1" >>confdefs.h
13007 $as_echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.
$ac_ext >&5
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13011 $as_echo "no" >&6; }
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ->count_objects callback exists" >&5
13013 $as_echo_n "checking whether ->count_objects callback exists... " >&6; }
13016 cat confdefs.h
- <<_ACEOF >conftest.c
13019 #include <linux/mm.h>
13021 unsigned long shrinker_cb(
13023 struct shrink_control *sc);
13029 struct shrinker cache_shrinker = {
13030 .count_objects = shrinker_cb,
13031 .scan_objects = shrinker_cb,
13032 .seeks = DEFAULT_SEEKS,
13034 register_shrinker(&cache_shrinker);
13043 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13044 echo "obj-m := conftest.o" >build
/Makefile
13046 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13047 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13048 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13049 (eval $ac_try) 2>&5
13051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13052 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13053 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13054 (eval $ac_try) 2>&5
13056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13057 test $ac_status = 0; }; }; then :
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13060 $as_echo "yes" >&6; }
13062 $as_echo "#define HAVE_SPLIT_SHRINKER_CALLBACK 1" >>confdefs.h
13066 $as_echo "$as_me: failed program was:" >&5
13067 sed 's/^/| /' conftest.
$ac_ext >&5
13069 as_fn_error $?
"error" "$LINENO" 5
13098 EXTRA_KCFLAGS
="$tmp_flags"
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
13102 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
13105 cat confdefs.h
- <<_ACEOF >conftest.c
13108 #include <linux/sysctl.h>
13114 struct ctl_table ctl __attribute__ ((unused));
13124 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13125 echo "obj-m := conftest.o" >build
/Makefile
13127 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13128 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13129 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13130 (eval $ac_try) 2>&5
13132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13133 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13134 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13135 (eval $ac_try) 2>&5
13137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13138 test $ac_status = 0; }; }; then :
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13141 $as_echo "yes" >&6; }
13143 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
13147 $as_echo "$as_me: failed program was:" >&5
13148 sed 's/^/| /' conftest.
$ac_ext >&5
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13151 $as_echo "no" >&6; }
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_TRIM_UNUSED_KSYM is disabled" >&5
13162 $as_echo_n "checking whether CONFIG_TRIM_UNUSED_KSYM is disabled... " >&6; }
13165 cat confdefs.h
- <<_ACEOF >conftest.c
13168 #if defined(CONFIG_TRIM_UNUSED_KSYMS)
13169 #error CONFIG_TRIM_UNUSED_KSYMS not defined
13183 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13184 echo "obj-m := conftest.o" >build
/Makefile
13186 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13187 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13188 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13189 (eval $ac_try) 2>&5
13191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13192 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13193 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13194 (eval $ac_try) 2>&5
13196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13197 test $ac_status = 0; }; }; then :
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13200 $as_echo "yes" >&6; }
13203 $as_echo "$as_me: failed program was:" >&5
13204 sed 's/^/| /' conftest.
$ac_ext >&5
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13207 $as_echo "no" >&6; }
13209 *** This kernel has unused symbols trimming enabled, please disable.
13210 *** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set." "$LINENO" 5
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
13221 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
13225 cat confdefs.h
- <<_ACEOF >conftest.c
13228 #include <linux/proc_fs.h>
13243 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13244 echo "obj-m := conftest.o" >build
/Makefile
13246 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13247 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13248 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13249 (eval $ac_try) 2>&5
13251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13252 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13253 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13254 (eval $ac_try) 2>&5
13256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13257 test $ac_status = 0; }; }; then :
13260 $as_echo "$as_me: failed program was:" >&5
13261 sed 's/^/| /' conftest.
$ac_ext >&5
13269 if test $rc -ne 0; then :
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13272 $as_echo "no" >&6; }
13275 if test "x$enable_linux_builtin" != xyes
; then
13277 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
13278 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13280 if test $rc -ne 0; then
13283 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
13284 "$LINUX_OBJ/$file" 2>/dev
/null
13286 if test $rc -eq 0; then
13291 if test $export -eq 0; then :
13301 if test $rc -ne 0; then :
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13304 $as_echo "no" >&6; }
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13309 $as_echo "yes" >&6; }
13311 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
13318 tmp_flags
="$EXTRA_KCFLAGS"
13319 EXTRA_KCFLAGS
="-Werror"
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
13321 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
13324 cat confdefs.h
- <<_ACEOF >conftest.c
13327 #include <linux/spinlock.h>
13328 #include <linux/fs_struct.h>
13329 #include <linux/path.h>
13330 void (*const set_fs_pwd_func)
13331 (struct fs_struct *, const struct path *)
13347 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13348 echo "obj-m := conftest.o" >build
/Makefile
13350 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13351 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13352 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13353 (eval $ac_try) 2>&5
13355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13356 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13357 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13358 (eval $ac_try) 2>&5
13360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13361 test $ac_status = 0; }; }; then :
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13364 $as_echo "yes" >&6; }
13366 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
13370 $as_echo "$as_me: failed program was:" >&5
13371 sed 's/^/| /' conftest.
$ac_ext >&5
13375 cat confdefs.h
- <<_ACEOF >conftest.c
13378 #include <linux/spinlock.h>
13379 #include <linux/fs_struct.h>
13380 #include <linux/path.h>
13381 void (*const set_fs_pwd_func)
13382 (struct fs_struct *, struct path *)
13398 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13399 echo "obj-m := conftest.o" >build
/Makefile
13401 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13402 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13403 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13404 (eval $ac_try) 2>&5
13406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13407 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13408 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13409 (eval $ac_try) 2>&5
13411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13412 test $ac_status = 0; }; }; then :
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13415 $as_echo "no" >&6; }
13418 $as_echo "$as_me: failed program was:" >&5
13419 sed 's/^/| /' conftest.
$ac_ext >&5
13421 as_fn_error $?
"unknown" "$LINENO" 5
13436 EXTRA_KCFLAGS
="$tmp_flags"
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
13439 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
13442 cat confdefs.h
- <<_ACEOF >conftest.c
13445 #include <linux/fs.h>
13451 vfs_unlink((struct inode *) NULL, (struct dentry *) NULL);
13460 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13461 echo "obj-m := conftest.o" >build
/Makefile
13463 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13464 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13465 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13466 (eval $ac_try) 2>&5
13468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13469 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13470 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13471 (eval $ac_try) 2>&5
13473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13474 test $ac_status = 0; }; }; then :
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13477 $as_echo "yes" >&6; }
13479 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
13483 $as_echo "$as_me: failed program was:" >&5
13484 sed 's/^/| /' conftest.
$ac_ext >&5
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13487 $as_echo "no" >&6; }
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 3 args" >&5
13489 $as_echo_n "checking whether vfs_unlink() wants 3 args... " >&6; }
13492 cat confdefs.h
- <<_ACEOF >conftest.c
13495 #include <linux/fs.h>
13501 vfs_unlink((struct inode *) NULL,
13502 (struct dentry *) NULL,
13503 (struct inode **) NULL);
13512 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13513 echo "obj-m := conftest.o" >build
/Makefile
13515 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13516 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13517 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13518 (eval $ac_try) 2>&5
13520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13521 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13522 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13523 (eval $ac_try) 2>&5
13525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13526 test $ac_status = 0; }; }; then :
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13529 $as_echo "yes" >&6; }
13531 $as_echo "#define HAVE_3ARGS_VFS_UNLINK 1" >>confdefs.h
13535 $as_echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.
$ac_ext >&5
13538 as_fn_error $?
"no" "$LINENO" 5
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
13556 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
13559 cat confdefs.h
- <<_ACEOF >conftest.c
13562 #include <linux/fs.h>
13568 vfs_rename((struct inode *) NULL, (struct dentry *) NULL,
13569 (struct inode *) NULL, (struct dentry *) NULL);
13578 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13579 echo "obj-m := conftest.o" >build
/Makefile
13581 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13582 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13583 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13584 (eval $ac_try) 2>&5
13586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13587 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13588 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13589 (eval $ac_try) 2>&5
13591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13592 test $ac_status = 0; }; }; then :
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13595 $as_echo "yes" >&6; }
13597 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
13601 $as_echo "$as_me: failed program was:" >&5
13602 sed 's/^/| /' conftest.
$ac_ext >&5
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13605 $as_echo "no" >&6; }
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 5 args" >&5
13607 $as_echo_n "checking whether vfs_rename() wants 5 args... " >&6; }
13610 cat confdefs.h
- <<_ACEOF >conftest.c
13613 #include <linux/fs.h>
13619 vfs_rename((struct inode *) NULL,
13620 (struct dentry *) NULL,
13621 (struct inode *) NULL,
13622 (struct dentry *) NULL,
13623 (struct inode **) NULL);
13632 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13633 echo "obj-m := conftest.o" >build
/Makefile
13635 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13636 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13637 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13638 (eval $ac_try) 2>&5
13640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13641 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13642 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13643 (eval $ac_try) 2>&5
13645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13646 test $ac_status = 0; }; }; then :
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13649 $as_echo "yes" >&6; }
13651 $as_echo "#define HAVE_5ARGS_VFS_RENAME 1" >>confdefs.h
13655 $as_echo "$as_me: failed program was:" >&5
13656 sed 's/^/| /' conftest.
$ac_ext >&5
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13659 $as_echo "no" >&6; }
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 6 args" >&5
13661 $as_echo_n "checking whether vfs_rename() wants 6 args... " >&6; }
13664 cat confdefs.h
- <<_ACEOF >conftest.c
13667 #include <linux/fs.h>
13673 vfs_rename((struct inode *) NULL,
13674 (struct dentry *) NULL,
13675 (struct inode *) NULL,
13676 (struct dentry *) NULL,
13677 (struct inode **) NULL,
13687 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13688 echo "obj-m := conftest.o" >build
/Makefile
13690 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13691 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13692 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13693 (eval $ac_try) 2>&5
13695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13696 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13697 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13698 (eval $ac_try) 2>&5
13700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13701 test $ac_status = 0; }; }; then :
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13704 $as_echo "yes" >&6; }
13706 $as_echo "#define HAVE_6ARGS_VFS_RENAME 1" >>confdefs.h
13710 $as_echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.
$ac_ext >&5
13713 as_fn_error $?
"no" "$LINENO" 5
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
13738 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
13741 cat confdefs.h
- <<_ACEOF >conftest.c
13744 #include <linux/fs.h>
13750 vfs_fsync(NULL, 0);
13759 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13760 echo "obj-m := conftest.o" >build
/Makefile
13762 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13763 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13764 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13765 (eval $ac_try) 2>&5
13767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13768 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13769 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13770 (eval $ac_try) 2>&5
13772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13773 test $ac_status = 0; }; }; then :
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13776 $as_echo "yes" >&6; }
13778 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
13782 $as_echo "$as_me: failed program was:" >&5
13783 sed 's/^/| /' conftest.
$ac_ext >&5
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13786 $as_echo "no" >&6; }
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
13797 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
13800 cat confdefs.h
- <<_ACEOF >conftest.c
13803 #include <linux/fs.h>
13809 struct inode_operations ops;
13810 ops.truncate_range = NULL;
13819 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13820 echo "obj-m := conftest.o" >build
/Makefile
13822 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13823 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13824 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13825 (eval $ac_try) 2>&5
13827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13828 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13829 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13830 (eval $ac_try) 2>&5
13832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13833 test $ac_status = 0; }; }; then :
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13836 $as_echo "yes" >&6; }
13838 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
13842 $as_echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.
$ac_ext >&5
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13846 $as_echo "no" >&6; }
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
13857 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
13858 tmp_flags
="$EXTRA_KCFLAGS"
13859 EXTRA_KCFLAGS
="-Werror"
13862 cat confdefs.h
- <<_ACEOF >conftest.c
13865 #include <linux/sched.h>
13866 #include <linux/fs_struct.h>
13872 static struct fs_struct fs;
13873 spin_lock_init(&fs.lock);
13882 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13883 echo "obj-m := conftest.o" >build
/Makefile
13885 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13886 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13887 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13888 (eval $ac_try) 2>&5
13890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13891 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13892 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13893 (eval $ac_try) 2>&5
13895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13896 test $ac_status = 0; }; }; then :
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13899 $as_echo "yes" >&6; }
13901 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
13905 $as_echo "$as_me: failed program was:" >&5
13906 sed 's/^/| /' conftest.
$ac_ext >&5
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13909 $as_echo "no" >&6; }
13917 EXTRA_KCFLAGS
="$tmp_flags"
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
13921 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
13924 cat confdefs.h
- <<_ACEOF >conftest.c
13927 #include <linux/uidgid.h>
13933 kuid_t userid = KUIDT_INIT(0);
13934 kgid_t groupid = KGIDT_INIT(0);
13943 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13944 echo "obj-m := conftest.o" >build
/Makefile
13946 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13947 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13948 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13949 (eval $ac_try) 2>&5
13951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13952 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13953 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13954 (eval $ac_try) 2>&5
13956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13957 test $ac_status = 0; }; }; then :
13961 cat confdefs.h
- <<_ACEOF >conftest.c
13964 #include <linux/uidgid.h>
13971 kgid_t groupid = 0;
13980 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13981 echo "obj-m := conftest.o" >build
/Makefile
13983 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13984 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13985 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13986 (eval $ac_try) 2>&5
13988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13989 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13990 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13991 (eval $ac_try) 2>&5
13993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13994 test $ac_status = 0; }; }; then :
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
13997 $as_echo "yes; optional" >&6; }
14000 $as_echo "$as_me: failed program was:" >&5
14001 sed 's/^/| /' conftest.
$ac_ext >&5
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
14004 $as_echo "yes; mandatory" >&6; }
14006 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
14017 $as_echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.
$ac_ext >&5
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14021 $as_echo "no" >&6; }
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
14033 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
14036 cat confdefs.h
- <<_ACEOF >conftest.c
14039 #include <linux/fs.h>
14045 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
14046 struct file_operations fops __attribute__ ((unused)) = {
14047 .fallocate = fallocate,
14057 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14058 echo "obj-m := conftest.o" >build
/Makefile
14060 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14061 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14062 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14063 (eval $ac_try) 2>&5
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14067 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14068 (eval $ac_try) 2>&5
14070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14071 test $ac_status = 0; }; }; then :
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14074 $as_echo "yes" >&6; }
14076 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
14080 $as_echo "$as_me: failed program was:" >&5
14081 sed 's/^/| /' conftest.
$ac_ext >&5
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14084 $as_echo "no" >&6; }
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
14095 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
14098 cat confdefs.h
- <<_ACEOF >conftest.c
14101 #include <linux/fs.h>
14107 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
14108 struct inode_operations fops __attribute__ ((unused)) = {
14109 .fallocate = fallocate,
14119 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14120 echo "obj-m := conftest.o" >build
/Makefile
14122 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14123 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14124 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14125 (eval $ac_try) 2>&5
14127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14128 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14129 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14130 (eval $ac_try) 2>&5
14132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14133 test $ac_status = 0; }; }; then :
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14136 $as_echo "yes" >&6; }
14138 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
14142 $as_echo "$as_me: failed program was:" >&5
14143 sed 's/^/| /' conftest.
$ac_ext >&5
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14146 $as_echo "no" >&6; }
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
14157 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
14160 cat confdefs.h
- <<_ACEOF >conftest.c
14163 #include <linux/fs.h>
14169 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
14170 struct file_operations_no_const fops __attribute__ ((unused)) = {
14171 .fallocate = fallocate,
14181 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14182 echo "obj-m := conftest.o" >build
/Makefile
14184 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14185 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14186 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14187 (eval $ac_try) 2>&5
14189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14190 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14191 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14192 (eval $ac_try) 2>&5
14194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14195 test $ac_status = 0; }; }; then :
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14198 $as_echo "yes" >&6; }
14200 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
14204 $as_echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.
$ac_ext >&5
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14208 $as_echo "no" >&6; }
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
14220 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
14223 cat confdefs.h
- <<_ACEOF >conftest.c
14226 #if !defined(CONFIG_ZLIB_INFLATE) && \
14227 !defined(CONFIG_ZLIB_INFLATE_MODULE)
14228 #error CONFIG_ZLIB_INFLATE not defined
14242 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14243 echo "obj-m := conftest.o" >build
/Makefile
14245 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14246 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14247 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14248 (eval $ac_try) 2>&5
14250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14251 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14252 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14253 (eval $ac_try) 2>&5
14255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14256 test $ac_status = 0; }; }; then :
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14259 $as_echo "yes" >&6; }
14262 $as_echo "$as_me: failed program was:" >&5
14263 sed 's/^/| /' conftest.
$ac_ext >&5
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14266 $as_echo "no" >&6; }
14268 *** This kernel does not include the required zlib inflate support.
14269 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
14280 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
14283 cat confdefs.h
- <<_ACEOF >conftest.c
14286 #if !defined(CONFIG_ZLIB_DEFLATE) && \
14287 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
14288 #error CONFIG_ZLIB_DEFLATE not defined
14302 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14303 echo "obj-m := conftest.o" >build
/Makefile
14305 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14306 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14307 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14308 (eval $ac_try) 2>&5
14310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14311 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14312 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14313 (eval $ac_try) 2>&5
14315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14316 test $ac_status = 0; }; }; then :
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14319 $as_echo "yes" >&6; }
14322 $as_echo "$as_me: failed program was:" >&5
14323 sed 's/^/| /' conftest.
$ac_ext >&5
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14326 $as_echo "no" >&6; }
14328 *** This kernel does not include the required zlib deflate support.
14329 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
14339 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
14342 cat confdefs.h
- <<_ACEOF >conftest.c
14345 #include <linux/zlib.h>
14351 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
14360 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14361 echo "obj-m := conftest.o" >build
/Makefile
14363 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14364 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14365 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14366 (eval $ac_try) 2>&5
14368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14369 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14370 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14371 (eval $ac_try) 2>&5
14373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14374 test $ac_status = 0; }; }; then :
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14377 $as_echo "yes" >&6; }
14379 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
14383 $as_echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.
$ac_ext >&5
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14387 $as_echo "no" >&6; }
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
14398 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
14401 cat confdefs.h
- <<_ACEOF >conftest.c
14404 #include <linux/mm.h>
14410 struct shrink_control sc __attribute__ ((unused));
14413 sc.gfp_mask = GFP_KERNEL;
14422 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14423 echo "obj-m := conftest.o" >build
/Makefile
14425 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14426 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14427 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14428 (eval $ac_try) 2>&5
14430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14431 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14432 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14433 (eval $ac_try) 2>&5
14435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14436 test $ac_status = 0; }; }; then :
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14439 $as_echo "yes" >&6; }
14441 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
14445 $as_echo "$as_me: failed program was:" >&5
14446 sed 's/^/| /' conftest.
$ac_ext >&5
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14449 $as_echo "no" >&6; }
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
14460 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
14461 tmp_flags
="$EXTRA_KCFLAGS"
14462 EXTRA_KCFLAGS
="-Werror"
14465 cat confdefs.h
- <<_ACEOF >conftest.c
14468 #include <linux/rwsem.h>
14474 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
14475 raw_spinlock_t dummy_lock __attribute__ ((unused)) =
14476 __RAW_SPIN_LOCK_INITIALIZER(dummy_lock);
14477 dummy_semaphore.wait_lock = dummy_lock;
14486 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14487 echo "obj-m := conftest.o" >build
/Makefile
14489 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14490 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14491 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14492 (eval $ac_try) 2>&5
14494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14495 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14496 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14497 (eval $ac_try) 2>&5
14499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14500 test $ac_status = 0; }; }; then :
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14503 $as_echo "yes" >&6; }
14505 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
14509 $as_echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.
$ac_ext >&5
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14513 $as_echo "no" >&6; }
14521 EXTRA_KCFLAGS
="$tmp_flags"
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has member activity" >&5
14525 $as_echo_n "checking whether struct rw_semaphore has member activity... " >&6; }
14526 tmp_flags
="$EXTRA_KCFLAGS"
14527 EXTRA_KCFLAGS
="-Werror"
14530 cat confdefs.h
- <<_ACEOF >conftest.c
14533 #include <linux/rwsem.h>
14539 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
14540 dummy_semaphore.activity = 0;
14549 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14550 echo "obj-m := conftest.o" >build
/Makefile
14552 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14553 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14554 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14555 (eval $ac_try) 2>&5
14557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14558 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14559 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14560 (eval $ac_try) 2>&5
14562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14563 test $ac_status = 0; }; }; then :
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14566 $as_echo "yes" >&6; }
14568 $as_echo "#define HAVE_RWSEM_ACTIVITY 1" >>confdefs.h
14572 $as_echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.
$ac_ext >&5
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14576 $as_echo "no" >&6; }
14584 EXTRA_KCFLAGS
="$tmp_flags"
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has atomic_long_t member count" >&5
14588 $as_echo_n "checking whether struct rw_semaphore has atomic_long_t member count... " >&6; }
14589 tmp_flags
="$EXTRA_KCFLAGS"
14590 EXTRA_KCFLAGS
="-Werror"
14593 cat confdefs.h
- <<_ACEOF >conftest.c
14596 #include <linux/rwsem.h>
14602 DECLARE_RWSEM(dummy_semaphore);
14603 (void) atomic_long_read(&dummy_semaphore.count);
14612 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14613 echo "obj-m := conftest.o" >build
/Makefile
14615 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14616 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14617 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14618 (eval $ac_try) 2>&5
14620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14621 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14622 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14623 (eval $ac_try) 2>&5
14625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14626 test $ac_status = 0; }; }; then :
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14629 $as_echo "yes" >&6; }
14631 $as_echo "#define HAVE_RWSEM_ATOMIC_LONG_COUNT 1" >>confdefs.h
14635 $as_echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.
$ac_ext >&5
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14639 $as_echo "no" >&6; }
14647 EXTRA_KCFLAGS
="$tmp_flags"
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
14650 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
14653 cat confdefs.h
- <<_ACEOF >conftest.c
14656 #include <linux/sched.h>
14657 #include <linux/sched/rt.h>
14672 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14673 echo "obj-m := conftest.o" >build
/Makefile
14675 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14676 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14677 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14678 (eval $ac_try) 2>&5
14680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14681 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14682 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14683 (eval $ac_try) 2>&5
14685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14686 test $ac_status = 0; }; }; then :
14689 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14692 $as_echo "yes" >&6; }
14695 $as_echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.
$ac_ext >&5
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14699 $as_echo "no" >&6; }
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/signal.h exists" >&5
14709 $as_echo_n "checking whether header linux/sched/signal.h exists... " >&6; }
14712 cat confdefs.h
- <<_ACEOF >conftest.c
14715 #include <linux/sched.h>
14716 #include <linux/sched/signal.h>
14731 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14732 echo "obj-m := conftest.o" >build
/Makefile
14734 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14735 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14736 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14737 (eval $ac_try) 2>&5
14739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14740 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14741 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14742 (eval $ac_try) 2>&5
14744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14745 test $ac_status = 0; }; }; then :
14748 $as_echo "#define HAVE_SCHED_SIGNAL_HEADER 1" >>confdefs.h
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14751 $as_echo "yes" >&6; }
14754 $as_echo "$as_me: failed program was:" >&5
14755 sed 's/^/| /' conftest.
$ac_ext >&5
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14758 $as_echo "no" >&6; }
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 4 args" >&5
14769 $as_echo_n "checking whether vfs_getattr() wants 4 args... " >&6; }
14772 cat confdefs.h
- <<_ACEOF >conftest.c
14775 #include <linux/fs.h>
14781 vfs_getattr((const struct path *)NULL,
14782 (struct kstat *)NULL,
14793 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14794 echo "obj-m := conftest.o" >build
/Makefile
14796 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14797 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14798 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14799 (eval $ac_try) 2>&5
14801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14802 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14803 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14804 (eval $ac_try) 2>&5
14806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14807 test $ac_status = 0; }; }; then :
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14810 $as_echo "yes" >&6; }
14812 $as_echo "#define HAVE_4ARGS_VFS_GETATTR 1" >>confdefs.h
14816 $as_echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.
$ac_ext >&5
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14820 $as_echo "no" >&6; }
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 3 args" >&5
14831 $as_echo_n "checking whether vfs_getattr() wants 3 args... " >&6; }
14834 cat confdefs.h
- <<_ACEOF >conftest.c
14837 #include <linux/fs.h>
14843 vfs_getattr((struct vfsmount *)NULL,
14844 (struct dentry *)NULL,
14845 (struct kstat *)NULL);
14854 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14855 echo "obj-m := conftest.o" >build
/Makefile
14857 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14858 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14859 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14860 (eval $ac_try) 2>&5
14862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14863 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14864 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14865 (eval $ac_try) 2>&5
14867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14868 test $ac_status = 0; }; }; then :
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14871 $as_echo "yes" >&6; }
14873 $as_echo "#define HAVE_3ARGS_VFS_GETATTR 1" >>confdefs.h
14877 $as_echo "$as_me: failed program was:" >&5
14878 sed 's/^/| /' conftest.
$ac_ext >&5
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14881 $as_echo "no" >&6; }
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 2 args" >&5
14892 $as_echo_n "checking whether vfs_getattr() wants 2 args... " >&6; }
14895 cat confdefs.h
- <<_ACEOF >conftest.c
14898 #include <linux/fs.h>
14904 vfs_getattr((struct path *) NULL,
14905 (struct kstat *)NULL);
14914 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14915 echo "obj-m := conftest.o" >build
/Makefile
14917 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14918 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14919 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14920 (eval $ac_try) 2>&5
14922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14923 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14924 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14925 (eval $ac_try) 2>&5
14927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14928 test $ac_status = 0; }; }; then :
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14931 $as_echo "yes" >&6; }
14933 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
14937 $as_echo "$as_me: failed program was:" >&5
14938 sed 's/^/| /' conftest.
$ac_ext >&5
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14941 $as_echo "no" >&6; }
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep_range() is available" >&5
14952 $as_echo_n "checking whether usleep_range() is available... " >&6; }
14955 cat confdefs.h
- <<_ACEOF >conftest.c
14958 #include <linux/delay.h>
14964 usleep_range(0, 0);
14973 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14974 echo "obj-m := conftest.o" >build
/Makefile
14976 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14977 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14978 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14979 (eval $ac_try) 2>&5
14981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14982 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14983 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14984 (eval $ac_try) 2>&5
14986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14987 test $ac_status = 0; }; }; then :
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14990 $as_echo "yes" >&6; }
14992 $as_echo "#define HAVE_USLEEP_RANGE 1" >>confdefs.h
14996 $as_echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.
$ac_ext >&5
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15000 $as_echo "no" >&6; }
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has allocflags" >&5
15011 $as_echo_n "checking whether struct kmem_cache has allocflags... " >&6; }
15014 cat confdefs.h
- <<_ACEOF >conftest.c
15017 #include <linux/slab.h>
15023 struct kmem_cache cachep __attribute__ ((unused));
15024 cachep.allocflags = GFP_KERNEL;
15033 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15034 echo "obj-m := conftest.o" >build
/Makefile
15036 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15037 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15038 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15039 (eval $ac_try) 2>&5
15041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15042 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15043 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15044 (eval $ac_try) 2>&5
15046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15047 test $ac_status = 0; }; }; then :
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15050 $as_echo "yes" >&6; }
15052 $as_echo "#define HAVE_KMEM_CACHE_ALLOCFLAGS 1" >>confdefs.h
15056 $as_echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.
$ac_ext >&5
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15060 $as_echo "no" >&6; }
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has gfpflags" >&5
15063 $as_echo_n "checking whether struct kmem_cache has gfpflags... " >&6; }
15066 cat confdefs.h
- <<_ACEOF >conftest.c
15069 #include <linux/slab.h>
15075 struct kmem_cache cachep __attribute__ ((unused));
15076 cachep.gfpflags = GFP_KERNEL;
15085 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15086 echo "obj-m := conftest.o" >build
/Makefile
15088 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15089 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15090 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15091 (eval $ac_try) 2>&5
15093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15094 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15095 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15096 (eval $ac_try) 2>&5
15098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15099 test $ac_status = 0; }; }; then :
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15102 $as_echo "yes" >&6; }
15104 $as_echo "#define HAVE_KMEM_CACHE_GFPFLAGS 1" >>confdefs.h
15108 $as_echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.
$ac_ext >&5
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15112 $as_echo "no" >&6; }
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_on_bit() takes an action" >&5
15130 $as_echo_n "checking whether wait_on_bit() takes an action... " >&6; }
15133 cat confdefs.h
- <<_ACEOF >conftest.c
15136 #include <linux/wait.h>
15142 int (*action)(void *) = NULL;
15143 wait_on_bit(NULL, 0, action, 0);
15152 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15153 echo "obj-m := conftest.o" >build
/Makefile
15155 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15156 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15157 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15158 (eval $ac_try) 2>&5
15160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15161 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15162 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15163 (eval $ac_try) 2>&5
15165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15166 test $ac_status = 0; }; }; then :
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15169 $as_echo "yes" >&6; }
15171 $as_echo "#define HAVE_WAIT_ON_BIT_ACTION 1" >>confdefs.h
15175 $as_echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.
$ac_ext >&5
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15179 $as_echo "no" >&6; }
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inode_lock_shared() exists" >&5
15190 $as_echo_n "checking whether inode_lock_shared() exists... " >&6; }
15191 tmp_flags
="$EXTRA_KCFLAGS"
15192 EXTRA_KCFLAGS
="-Werror"
15195 cat confdefs.h
- <<_ACEOF >conftest.c
15198 #include <linux/fs.h>
15204 struct inode *inode = NULL;
15205 inode_lock_shared(inode);
15214 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15215 echo "obj-m := conftest.o" >build
/Makefile
15217 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15218 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15219 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15220 (eval $ac_try) 2>&5
15222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15223 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15224 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15225 (eval $ac_try) 2>&5
15227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15228 test $ac_status = 0; }; }; then :
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15231 $as_echo "yes" >&6; }
15233 $as_echo "#define HAVE_INODE_LOCK_SHARED 1" >>confdefs.h
15237 $as_echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.
$ac_ext >&5
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15241 $as_echo "no" >&6; }
15249 EXTRA_KCFLAGS
="$tmp_flags"
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether group_info->gid exists" >&5
15253 $as_echo_n "checking whether group_info->gid exists... " >&6; }
15254 tmp_flags
="$EXTRA_KCFLAGS"
15255 EXTRA_KCFLAGS
="-Werror"
15258 cat confdefs.h
- <<_ACEOF >conftest.c
15261 #include <linux/cred.h>
15267 struct group_info *gi = groups_alloc(1);
15268 gi->gid[0] = KGIDT_INIT(0);
15277 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15278 echo "obj-m := conftest.o" >build
/Makefile
15280 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15281 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15282 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15283 (eval $ac_try) 2>&5
15285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15286 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15287 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15288 (eval $ac_try) 2>&5
15290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15291 test $ac_status = 0; }; }; then :
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15294 $as_echo "yes" >&6; }
15296 $as_echo "#define HAVE_GROUP_INFO_GID 1" >>confdefs.h
15300 $as_echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.
$ac_ext >&5
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15304 $as_echo "no" >&6; }
15312 EXTRA_KCFLAGS
="$tmp_flags"
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kmem_cache_create_usercopy() exists" >&5
15316 $as_echo_n "checking whether kmem_cache_create_usercopy() exists... " >&6; }
15317 tmp_flags
="$EXTRA_KCFLAGS"
15318 EXTRA_KCFLAGS
="-Werror"
15321 cat confdefs.h
- <<_ACEOF >conftest.c
15324 #include <linux/slab.h>
15325 static void ctor(void *foo)
15334 struct kmem_cache *skc_linux_cache;
15335 const char *name = "test";
15336 size_t size = 4096;
15338 unsigned long flags = 0;
15339 size_t useroffset = 0;
15340 size_t usersize = size - useroffset;
15342 skc_linux_cache = kmem_cache_create_usercopy(
15343 name, size, align, flags, useroffset, usersize, ctor);
15352 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15353 echo "obj-m := conftest.o" >build
/Makefile
15355 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15356 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15357 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15358 (eval $ac_try) 2>&5
15360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15361 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15362 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15363 (eval $ac_try) 2>&5
15365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15366 test $ac_status = 0; }; }; then :
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15369 $as_echo "yes" >&6; }
15371 $as_echo "#define HAVE_KMEM_CACHE_CREATE_USERCOPY 1" >>confdefs.h
15375 $as_echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.
$ac_ext >&5
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15379 $as_echo "no" >&6; }
15387 EXTRA_KCFLAGS
="$tmp_flags"
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_queue_entry_t exists" >&5
15391 $as_echo_n "checking whether wait_queue_entry_t exists... " >&6; }
15394 cat confdefs.h
- <<_ACEOF >conftest.c
15397 #include <linux/wait.h>
15403 wait_queue_entry_t *entry __attribute__ ((unused));
15412 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15413 echo "obj-m := conftest.o" >build
/Makefile
15415 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15416 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15417 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15418 (eval $ac_try) 2>&5
15420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15421 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15422 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15423 (eval $ac_try) 2>&5
15425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 test $ac_status = 0; }; }; then :
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15429 $as_echo "yes" >&6; }
15431 $as_echo "#define HAVE_WAIT_QUEUE_ENTRY_T 1" >>confdefs.h
15435 $as_echo "$as_me: failed program was:" >&5
15436 sed 's/^/| /' conftest.
$ac_ext >&5
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15439 $as_echo "no" >&6; }
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wq_head->head and wq_entry->entry exist" >&5
15450 $as_echo_n "checking whether wq_head->head and wq_entry->entry exist... " >&6; }
15453 cat confdefs.h
- <<_ACEOF >conftest.c
15456 #include <linux/wait.h>
15458 #ifdef HAVE_WAIT_QUEUE_ENTRY_T
15459 typedef wait_queue_head_t spl_wait_queue_head_t;
15460 typedef wait_queue_entry_t spl_wait_queue_entry_t;
15462 typedef wait_queue_head_t spl_wait_queue_head_t;
15463 typedef wait_queue_t spl_wait_queue_entry_t;
15470 spl_wait_queue_head_t wq_head;
15471 spl_wait_queue_entry_t wq_entry;
15472 struct list_head *head __attribute__ ((unused));
15473 struct list_head *entry __attribute__ ((unused));
15475 head = &wq_head.head;
15476 entry = &wq_entry.entry;
15485 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15486 echo "obj-m := conftest.o" >build
/Makefile
15488 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15489 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15490 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15491 (eval $ac_try) 2>&5
15493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15494 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15495 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15496 (eval $ac_try) 2>&5
15498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15499 test $ac_status = 0; }; }; then :
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15502 $as_echo "yes" >&6; }
15504 $as_echo "#define HAVE_WAIT_QUEUE_HEAD_ENTRY 1" >>confdefs.h
15508 $as_echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.
$ac_ext >&5
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15512 $as_echo "no" >&6; }
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel_write() takes loff_t pointer" >&5
15523 $as_echo_n "checking whether kernel_write() takes loff_t pointer... " >&6; }
15524 tmp_flags
="$EXTRA_KCFLAGS"
15525 EXTRA_KCFLAGS
="-Werror"
15528 cat confdefs.h
- <<_ACEOF >conftest.c
15531 #include <linux/fs.h>
15537 struct file *file = NULL;
15538 const void *buf = NULL;
15540 loff_t *pos = NULL;
15543 ret = kernel_write(file, buf, count, pos);
15552 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15553 echo "obj-m := conftest.o" >build
/Makefile
15555 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15556 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15557 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15558 (eval $ac_try) 2>&5
15560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15561 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15562 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15563 (eval $ac_try) 2>&5
15565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15566 test $ac_status = 0; }; }; then :
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15569 $as_echo "yes" >&6; }
15571 $as_echo "#define HAVE_KERNEL_WRITE_PPOS 1" >>confdefs.h
15575 $as_echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.
$ac_ext >&5
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15579 $as_echo "no" >&6; }
15587 EXTRA_KCFLAGS
="$tmp_flags"
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel_read() takes loff_t pointer" >&5
15591 $as_echo_n "checking whether kernel_read() takes loff_t pointer... " >&6; }
15592 tmp_flags
="$EXTRA_KCFLAGS"
15593 EXTRA_KCFLAGS
="-Werror"
15596 cat confdefs.h
- <<_ACEOF >conftest.c
15599 #include <linux/fs.h>
15605 struct file *file = NULL;
15608 loff_t *pos = NULL;
15611 ret = kernel_read(file, buf, count, pos);
15620 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15621 echo "obj-m := conftest.o" >build
/Makefile
15623 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15624 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15625 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15626 (eval $ac_try) 2>&5
15628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15629 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15630 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15631 (eval $ac_try) 2>&5
15633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634 test $ac_status = 0; }; }; then :
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15637 $as_echo "yes" >&6; }
15639 $as_echo "#define HAVE_KERNEL_READ_PPOS 1" >>confdefs.h
15643 $as_echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.
$ac_ext >&5
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15647 $as_echo "no" >&6; }
15655 EXTRA_KCFLAGS
="$tmp_flags"
15662 # Check whether --with-linux was given.
15663 if test "${with_linux+set}" = set; then :
15664 withval
=$with_linux; kernelsrc
="$withval"
15669 # Check whether --with-linux-obj was given.
15670 if test "${with_linux_obj+set}" = set; then :
15671 withval
=$with_linux_obj; kernelbuild
="$withval"
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
15676 $as_echo_n "checking kernel source directory... " >&6; }
15677 if test -z "$kernelsrc"; then
15678 if test -e "/lib/modules/$(uname -r)/source"; then
15679 headersdir
="/lib/modules/$(uname -r)/source"
15680 sourcelink
=$
(readlink
-f "$headersdir")
15681 elif test -e "/lib/modules/$(uname -r)/build"; then
15682 headersdir
="/lib/modules/$(uname -r)/build"
15683 sourcelink
=$
(readlink
-f "$headersdir")
15685 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
15687 2>/dev
/null |
grep -v obj |
tail -1)
15690 if test -n "$sourcelink" && test -e ${sourcelink}; then
15691 kernelsrc
=`readlink -f ${sourcelink}`
15693 kernelsrc
="Not found"
15696 if test "$kernelsrc" = "NONE"; then
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
15703 $as_echo "$kernelsrc" >&6; }
15704 if test ! -d "$kernelsrc"; then
15706 *** Please make sure the kernel devel package for your distribution
15707 *** is installed and then try again. If that fails, you can specify the
15708 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
15712 $as_echo_n "checking kernel build directory... " >&6; }
15713 if test -z "$kernelbuild"; then
15714 if test x
$withlinux != xyes
-a -e "/lib/modules/$(uname -r)/build"; then
15715 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
15716 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
15717 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
15718 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
15719 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
15720 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
15721 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
15723 kernelbuild
=${kernelsrc}
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
15727 $as_echo "$kernelbuild" >&6; }
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
15730 $as_echo_n "checking kernel source version... " >&6; }
15731 utsrelease1
=$kernelbuild/include
/linux
/version.h
15732 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
15733 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
15734 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
15735 utsrelease
=linux
/version.h
15736 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
15737 utsrelease
=linux
/utsrelease.h
15738 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
15739 utsrelease
=generated
/utsrelease.h
15742 if test "$utsrelease"; then
15743 kernsrcver
=`(echo "#include <$utsrelease>";
15744 echo "kernsrcver=UTS_RELEASE") |
15745 cpp -I $kernelbuild/include |
15746 grep "^kernsrcver=" | cut -d \" -f 2`
15748 if test -z "$kernsrcver"; then
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
15750 $as_echo "Not found" >&6; }
15751 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
15755 $as_echo "Not found" >&6; }
15756 if test "x$enable_linux_builtin" != xyes
; then
15757 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
15760 *** Cannot find UTS_RELEASE definition.
15761 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
15766 $as_echo "$kernsrcver" >&6; }
15769 LINUX_OBJ
=${kernelbuild}
15770 LINUX_VERSION
=${kernsrcver}
15777 modpost
=$LINUX/scripts
/Makefile.modpost
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
15779 $as_echo_n "checking kernel file name for module symbols... " >&6; }
15780 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
15781 if grep -q Modules.symvers
$modpost; then
15782 LINUX_SYMBOLS
=Modules.symvers
15784 LINUX_SYMBOLS
=Module.symvers
15787 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
15789 *** Please make sure the kernel devel package for your distribution
15790 *** is installed. If you are building with a custom kernel, make sure the
15791 *** kernel is configured, built, and the '--with-linux=PATH' configure
15792 *** option refers to the location of the kernel source." "$LINENO" 5
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
15798 $as_echo "$LINUX_SYMBOLS" >&6; }
15803 if test "${LINUX_OBJ}" != "${LINUX}"; then
15804 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
15808 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
15813 $as_echo_n "checking whether debugging is enabled... " >&6; }
15814 # Check whether --enable-debug was given.
15815 if test "${enable_debug+set}" = set; then :
15816 enableval
=$enable_debug;
15822 if test "x$enable_debug" = xyes
; then :
15824 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
15825 DEBUG_CFLAGS
="-DDEBUG -Werror"
15826 DEBUG_SPL
="_with_debug"
15830 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
15831 DEBUG_CFLAGS
="-DNDEBUG"
15832 DEBUG_SPL
="_without_debug"
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
15839 $as_echo "$enable_debug" >&6; }
15842 # Check whether --enable-debug-kmem was given.
15843 if test "${enable_debug_kmem+set}" = set; then :
15844 enableval
=$enable_debug_kmem;
15846 enable_debug_kmem
=no
15850 if test "x$enable_debug_kmem" = xyes
; then :
15852 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
15853 DEBUG_KMEM
="_with_debug_kmem"
15855 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
15860 DEBUG_KMEM
="_without_debug_kmem"
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
15866 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
15868 $as_echo "$enable_debug_kmem" >&6; }
15871 # Check whether --enable-debug-kmem-tracking was given.
15872 if test "${enable_debug_kmem_tracking+set}" = set; then :
15873 enableval
=$enable_debug_kmem_tracking;
15875 enable_debug_kmem_tracking
=no
15879 if test "x$enable_debug_kmem_tracking" = xyes
; then :
15881 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
15882 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
15884 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
15889 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
15895 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
15897 $as_echo "$enable_debug_kmem_tracking" >&6; }
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
15900 $as_echo_n "checking whether modules can be built... " >&6; }
15903 cat confdefs.h
- <<_ACEOF >conftest.c
15917 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15918 echo "obj-m := conftest.o" >build
/Makefile
15920 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15921 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15922 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15923 (eval $ac_try) 2>&5
15925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15926 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15927 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15928 (eval $ac_try) 2>&5
15930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15931 test $ac_status = 0; }; }; then :
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15934 $as_echo "yes" >&6; }
15937 $as_echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.
$ac_ext >&5
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15941 $as_echo "no" >&6; }
15942 if test "x$enable_linux_builtin" != xyes
; then
15943 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
15946 *** Unable to build an empty module.
15947 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
15957 if test "x$cross_compiling" != xyes
; then :
15959 if test "$cross_compiling" = yes; then :
15960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15962 as_fn_error $?
"cannot run test program while cross compiling
15963 See \`config.log' for more details" "$LINENO" 5; }
15965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15966 /* end confdefs.h. */
15969 #include "$LINUX/include/linux/license.h"
15975 return !license_is_gpl_compatible(
15976 "$SPL_META_LICENSE");
15983 if ac_fn_c_try_run
"$LINENO"; then :
15986 $as_echo "#define SPL_IS_GPL_COMPATIBLE 1" >>confdefs.h
15990 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15991 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15998 # Check whether --enable-atomic-spinlocks was given.
15999 if test "${enable_atomic_spinlocks+set}" = set; then :
16000 enableval
=$enable_atomic_spinlocks;
16002 enable_atomic_spinlocks
=check
16008 cat confdefs.h
- <<_ACEOF >conftest.c
16011 #include <linux/fs.h>
16017 atomic64_t *ptr __attribute__ ((unused));
16026 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16027 echo "obj-m := conftest.o" >build
/Makefile
16029 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16030 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16031 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16032 (eval $ac_try) 2>&5
16034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16035 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16036 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16037 (eval $ac_try) 2>&5
16039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16040 test $ac_status = 0; }; }; then :
16042 have_atomic64_t
=yes
16044 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
16048 $as_echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.
$ac_ext >&5
16060 if test "x$enable_atomic_spinlocks" = xcheck
; then :
16062 if test "x$have_atomic64_t" = xyes
; then :
16064 enable_atomic_spinlocks
=no
16068 enable_atomic_spinlocks
=yes
16074 if test "x$enable_atomic_spinlocks" = xyes
; then :
16077 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
16082 if test "x$have_atomic64_t" = xno
; then :
16084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16086 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
16087 See \`config.log' for more details" "$LINENO" 5; }
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
16094 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
16096 $as_echo "$enable_atomic_spinlocks" >&6; }
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
16099 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
16101 $as_echo "$have_atomic64_t" >&6; }
16104 tmp_flags
="$EXTRA_KCFLAGS"
16105 EXTRA_KCFLAGS
="-Werror"
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 2-argument shrinker exists" >&5
16107 $as_echo_n "checking whether old 2-argument shrinker exists... " >&6; }
16110 cat confdefs.h
- <<_ACEOF >conftest.c
16113 #include <linux/mm.h>
16115 int shrinker_cb(int nr_to_scan, gfp_t gfp_mask);
16121 struct shrinker cache_shrinker = {
16122 .shrink = shrinker_cb,
16123 .seeks = DEFAULT_SEEKS,
16125 register_shrinker(&cache_shrinker);
16134 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16135 echo "obj-m := conftest.o" >build
/Makefile
16137 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16138 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16139 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16140 (eval $ac_try) 2>&5
16142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16143 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16144 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16145 (eval $ac_try) 2>&5
16147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16148 test $ac_status = 0; }; }; then :
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16151 $as_echo "yes" >&6; }
16153 $as_echo "#define HAVE_2ARGS_OLD_SHRINKER_CALLBACK 1" >>confdefs.h
16157 $as_echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.
$ac_ext >&5
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16161 $as_echo "no" >&6; }
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 3-argument shrinker exists" >&5
16163 $as_echo_n "checking whether old 3-argument shrinker exists... " >&6; }
16166 cat confdefs.h
- <<_ACEOF >conftest.c
16169 #include <linux/mm.h>
16171 int shrinker_cb(struct shrinker *, int nr_to_scan,
16178 struct shrinker cache_shrinker = {
16179 .shrink = shrinker_cb,
16180 .seeks = DEFAULT_SEEKS,
16182 register_shrinker(&cache_shrinker);
16191 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16192 echo "obj-m := conftest.o" >build
/Makefile
16194 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16195 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16196 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16197 (eval $ac_try) 2>&5
16199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16200 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16201 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16202 (eval $ac_try) 2>&5
16204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16205 test $ac_status = 0; }; }; then :
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16208 $as_echo "yes" >&6; }
16210 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
16214 $as_echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.
$ac_ext >&5
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16218 $as_echo "no" >&6; }
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether new 2-argument shrinker exists" >&5
16220 $as_echo_n "checking whether new 2-argument shrinker exists... " >&6; }
16223 cat confdefs.h
- <<_ACEOF >conftest.c
16226 #include <linux/mm.h>
16228 int shrinker_cb(struct shrinker *,
16229 struct shrink_control *sc);
16235 struct shrinker cache_shrinker = {
16236 .shrink = shrinker_cb,
16237 .seeks = DEFAULT_SEEKS,
16239 register_shrinker(&cache_shrinker);
16248 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16249 echo "obj-m := conftest.o" >build
/Makefile
16251 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16252 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16253 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16254 (eval $ac_try) 2>&5
16256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16257 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16258 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16259 (eval $ac_try) 2>&5
16261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16262 test $ac_status = 0; }; }; then :
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16265 $as_echo "yes" >&6; }
16267 $as_echo "#define HAVE_2ARGS_NEW_SHRINKER_CALLBACK 1" >>confdefs.h
16271 $as_echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.
$ac_ext >&5
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16275 $as_echo "no" >&6; }
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ->count_objects callback exists" >&5
16277 $as_echo_n "checking whether ->count_objects callback exists... " >&6; }
16280 cat confdefs.h
- <<_ACEOF >conftest.c
16283 #include <linux/mm.h>
16285 unsigned long shrinker_cb(
16287 struct shrink_control *sc);
16293 struct shrinker cache_shrinker = {
16294 .count_objects = shrinker_cb,
16295 .scan_objects = shrinker_cb,
16296 .seeks = DEFAULT_SEEKS,
16298 register_shrinker(&cache_shrinker);
16307 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16308 echo "obj-m := conftest.o" >build
/Makefile
16310 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16311 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16312 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16313 (eval $ac_try) 2>&5
16315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16316 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16317 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16318 (eval $ac_try) 2>&5
16320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16321 test $ac_status = 0; }; }; then :
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16324 $as_echo "yes" >&6; }
16326 $as_echo "#define HAVE_SPLIT_SHRINKER_CALLBACK 1" >>confdefs.h
16330 $as_echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.
$ac_ext >&5
16333 as_fn_error $?
"error" "$LINENO" 5
16362 EXTRA_KCFLAGS
="$tmp_flags"
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
16366 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
16369 cat confdefs.h
- <<_ACEOF >conftest.c
16372 #include <linux/sysctl.h>
16378 struct ctl_table ctl __attribute__ ((unused));
16388 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16389 echo "obj-m := conftest.o" >build
/Makefile
16391 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16392 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16393 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16394 (eval $ac_try) 2>&5
16396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16397 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16398 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16399 (eval $ac_try) 2>&5
16401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16402 test $ac_status = 0; }; }; then :
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16405 $as_echo "yes" >&6; }
16407 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
16411 $as_echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.
$ac_ext >&5
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16415 $as_echo "no" >&6; }
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_TRIM_UNUSED_KSYM is disabled" >&5
16426 $as_echo_n "checking whether CONFIG_TRIM_UNUSED_KSYM is disabled... " >&6; }
16429 cat confdefs.h
- <<_ACEOF >conftest.c
16432 #if defined(CONFIG_TRIM_UNUSED_KSYMS)
16433 #error CONFIG_TRIM_UNUSED_KSYMS not defined
16447 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16448 echo "obj-m := conftest.o" >build
/Makefile
16450 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16451 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16452 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16453 (eval $ac_try) 2>&5
16455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16456 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16457 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16458 (eval $ac_try) 2>&5
16460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16461 test $ac_status = 0; }; }; then :
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16464 $as_echo "yes" >&6; }
16467 $as_echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.
$ac_ext >&5
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16471 $as_echo "no" >&6; }
16473 *** This kernel has unused symbols trimming enabled, please disable.
16474 *** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set." "$LINENO" 5
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
16485 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
16489 cat confdefs.h
- <<_ACEOF >conftest.c
16492 #include <linux/proc_fs.h>
16507 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16508 echo "obj-m := conftest.o" >build
/Makefile
16510 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16511 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16512 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16513 (eval $ac_try) 2>&5
16515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16516 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16517 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16518 (eval $ac_try) 2>&5
16520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16521 test $ac_status = 0; }; }; then :
16524 $as_echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.
$ac_ext >&5
16533 if test $rc -ne 0; then :
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16536 $as_echo "no" >&6; }
16539 if test "x$enable_linux_builtin" != xyes
; then
16541 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
16542 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16544 if test $rc -ne 0; then
16547 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
16548 "$LINUX_OBJ/$file" 2>/dev
/null
16550 if test $rc -eq 0; then
16555 if test $export -eq 0; then :
16565 if test $rc -ne 0; then :
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16568 $as_echo "no" >&6; }
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16573 $as_echo "yes" >&6; }
16575 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
16582 tmp_flags
="$EXTRA_KCFLAGS"
16583 EXTRA_KCFLAGS
="-Werror"
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
16585 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
16588 cat confdefs.h
- <<_ACEOF >conftest.c
16591 #include <linux/spinlock.h>
16592 #include <linux/fs_struct.h>
16593 #include <linux/path.h>
16594 void (*const set_fs_pwd_func)
16595 (struct fs_struct *, const struct path *)
16611 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16612 echo "obj-m := conftest.o" >build
/Makefile
16614 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16615 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16616 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16617 (eval $ac_try) 2>&5
16619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16620 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16621 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16622 (eval $ac_try) 2>&5
16624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16625 test $ac_status = 0; }; }; then :
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16628 $as_echo "yes" >&6; }
16630 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
16634 $as_echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.
$ac_ext >&5
16639 cat confdefs.h
- <<_ACEOF >conftest.c
16642 #include <linux/spinlock.h>
16643 #include <linux/fs_struct.h>
16644 #include <linux/path.h>
16645 void (*const set_fs_pwd_func)
16646 (struct fs_struct *, struct path *)
16662 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16663 echo "obj-m := conftest.o" >build
/Makefile
16665 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16666 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16667 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16668 (eval $ac_try) 2>&5
16670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16671 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16672 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16673 (eval $ac_try) 2>&5
16675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16676 test $ac_status = 0; }; }; then :
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16679 $as_echo "no" >&6; }
16682 $as_echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.
$ac_ext >&5
16685 as_fn_error $?
"unknown" "$LINENO" 5
16700 EXTRA_KCFLAGS
="$tmp_flags"
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
16703 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
16706 cat confdefs.h
- <<_ACEOF >conftest.c
16709 #include <linux/fs.h>
16715 vfs_unlink((struct inode *) NULL, (struct dentry *) NULL);
16724 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16725 echo "obj-m := conftest.o" >build
/Makefile
16727 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16728 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16729 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16730 (eval $ac_try) 2>&5
16732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16733 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16734 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16735 (eval $ac_try) 2>&5
16737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16738 test $ac_status = 0; }; }; then :
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16741 $as_echo "yes" >&6; }
16743 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
16747 $as_echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.
$ac_ext >&5
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16751 $as_echo "no" >&6; }
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 3 args" >&5
16753 $as_echo_n "checking whether vfs_unlink() wants 3 args... " >&6; }
16756 cat confdefs.h
- <<_ACEOF >conftest.c
16759 #include <linux/fs.h>
16765 vfs_unlink((struct inode *) NULL,
16766 (struct dentry *) NULL,
16767 (struct inode **) NULL);
16776 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16777 echo "obj-m := conftest.o" >build
/Makefile
16779 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16780 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16781 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16782 (eval $ac_try) 2>&5
16784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16785 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16786 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16787 (eval $ac_try) 2>&5
16789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16790 test $ac_status = 0; }; }; then :
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16793 $as_echo "yes" >&6; }
16795 $as_echo "#define HAVE_3ARGS_VFS_UNLINK 1" >>confdefs.h
16799 $as_echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.
$ac_ext >&5
16802 as_fn_error $?
"no" "$LINENO" 5
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
16820 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
16823 cat confdefs.h
- <<_ACEOF >conftest.c
16826 #include <linux/fs.h>
16832 vfs_rename((struct inode *) NULL, (struct dentry *) NULL,
16833 (struct inode *) NULL, (struct dentry *) NULL);
16842 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16843 echo "obj-m := conftest.o" >build
/Makefile
16845 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16846 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16847 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16848 (eval $ac_try) 2>&5
16850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16851 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16852 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16853 (eval $ac_try) 2>&5
16855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16856 test $ac_status = 0; }; }; then :
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16859 $as_echo "yes" >&6; }
16861 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
16865 $as_echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.
$ac_ext >&5
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16869 $as_echo "no" >&6; }
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 5 args" >&5
16871 $as_echo_n "checking whether vfs_rename() wants 5 args... " >&6; }
16874 cat confdefs.h
- <<_ACEOF >conftest.c
16877 #include <linux/fs.h>
16883 vfs_rename((struct inode *) NULL,
16884 (struct dentry *) NULL,
16885 (struct inode *) NULL,
16886 (struct dentry *) NULL,
16887 (struct inode **) NULL);
16896 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16897 echo "obj-m := conftest.o" >build
/Makefile
16899 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16900 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16901 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16902 (eval $ac_try) 2>&5
16904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16905 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16906 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16907 (eval $ac_try) 2>&5
16909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16910 test $ac_status = 0; }; }; then :
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16913 $as_echo "yes" >&6; }
16915 $as_echo "#define HAVE_5ARGS_VFS_RENAME 1" >>confdefs.h
16919 $as_echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.
$ac_ext >&5
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16923 $as_echo "no" >&6; }
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 6 args" >&5
16925 $as_echo_n "checking whether vfs_rename() wants 6 args... " >&6; }
16928 cat confdefs.h
- <<_ACEOF >conftest.c
16931 #include <linux/fs.h>
16937 vfs_rename((struct inode *) NULL,
16938 (struct dentry *) NULL,
16939 (struct inode *) NULL,
16940 (struct dentry *) NULL,
16941 (struct inode **) NULL,
16951 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16952 echo "obj-m := conftest.o" >build
/Makefile
16954 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16955 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16956 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16957 (eval $ac_try) 2>&5
16959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16960 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16961 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16962 (eval $ac_try) 2>&5
16964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16965 test $ac_status = 0; }; }; then :
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16968 $as_echo "yes" >&6; }
16970 $as_echo "#define HAVE_6ARGS_VFS_RENAME 1" >>confdefs.h
16974 $as_echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.
$ac_ext >&5
16977 as_fn_error $?
"no" "$LINENO" 5
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
17002 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
17005 cat confdefs.h
- <<_ACEOF >conftest.c
17008 #include <linux/fs.h>
17014 vfs_fsync(NULL, 0);
17023 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17024 echo "obj-m := conftest.o" >build
/Makefile
17026 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17027 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17028 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17029 (eval $ac_try) 2>&5
17031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17032 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17033 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17034 (eval $ac_try) 2>&5
17036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17037 test $ac_status = 0; }; }; then :
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17040 $as_echo "yes" >&6; }
17042 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
17046 $as_echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.
$ac_ext >&5
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17050 $as_echo "no" >&6; }
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
17061 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
17064 cat confdefs.h
- <<_ACEOF >conftest.c
17067 #include <linux/fs.h>
17073 struct inode_operations ops;
17074 ops.truncate_range = NULL;
17083 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17084 echo "obj-m := conftest.o" >build
/Makefile
17086 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17087 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17088 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17089 (eval $ac_try) 2>&5
17091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17092 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17093 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17094 (eval $ac_try) 2>&5
17096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17097 test $ac_status = 0; }; }; then :
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17100 $as_echo "yes" >&6; }
17102 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
17106 $as_echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.
$ac_ext >&5
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17110 $as_echo "no" >&6; }
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
17121 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
17122 tmp_flags
="$EXTRA_KCFLAGS"
17123 EXTRA_KCFLAGS
="-Werror"
17126 cat confdefs.h
- <<_ACEOF >conftest.c
17129 #include <linux/sched.h>
17130 #include <linux/fs_struct.h>
17136 static struct fs_struct fs;
17137 spin_lock_init(&fs.lock);
17146 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17147 echo "obj-m := conftest.o" >build
/Makefile
17149 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17150 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17151 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17152 (eval $ac_try) 2>&5
17154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17155 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17156 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17157 (eval $ac_try) 2>&5
17159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17160 test $ac_status = 0; }; }; then :
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17163 $as_echo "yes" >&6; }
17165 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
17169 $as_echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.
$ac_ext >&5
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17173 $as_echo "no" >&6; }
17181 EXTRA_KCFLAGS
="$tmp_flags"
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
17185 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
17188 cat confdefs.h
- <<_ACEOF >conftest.c
17191 #include <linux/uidgid.h>
17197 kuid_t userid = KUIDT_INIT(0);
17198 kgid_t groupid = KGIDT_INIT(0);
17207 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17208 echo "obj-m := conftest.o" >build
/Makefile
17210 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17211 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17212 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17213 (eval $ac_try) 2>&5
17215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17216 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17217 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17218 (eval $ac_try) 2>&5
17220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17221 test $ac_status = 0; }; }; then :
17225 cat confdefs.h
- <<_ACEOF >conftest.c
17228 #include <linux/uidgid.h>
17235 kgid_t groupid = 0;
17244 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17245 echo "obj-m := conftest.o" >build
/Makefile
17247 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17248 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17249 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17250 (eval $ac_try) 2>&5
17252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17253 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17254 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17255 (eval $ac_try) 2>&5
17257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17258 test $ac_status = 0; }; }; then :
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
17261 $as_echo "yes; optional" >&6; }
17264 $as_echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.
$ac_ext >&5
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
17268 $as_echo "yes; mandatory" >&6; }
17270 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
17281 $as_echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.
$ac_ext >&5
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17285 $as_echo "no" >&6; }
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
17297 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
17300 cat confdefs.h
- <<_ACEOF >conftest.c
17303 #include <linux/fs.h>
17309 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
17310 struct file_operations fops __attribute__ ((unused)) = {
17311 .fallocate = fallocate,
17321 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17322 echo "obj-m := conftest.o" >build
/Makefile
17324 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17325 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17326 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17327 (eval $ac_try) 2>&5
17329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17330 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17331 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17332 (eval $ac_try) 2>&5
17334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17335 test $ac_status = 0; }; }; then :
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17338 $as_echo "yes" >&6; }
17340 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
17344 $as_echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.
$ac_ext >&5
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17348 $as_echo "no" >&6; }
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
17359 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
17362 cat confdefs.h
- <<_ACEOF >conftest.c
17365 #include <linux/fs.h>
17371 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
17372 struct inode_operations fops __attribute__ ((unused)) = {
17373 .fallocate = fallocate,
17383 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17384 echo "obj-m := conftest.o" >build
/Makefile
17386 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17387 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17388 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17389 (eval $ac_try) 2>&5
17391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17392 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17393 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17394 (eval $ac_try) 2>&5
17396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17397 test $ac_status = 0; }; }; then :
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17400 $as_echo "yes" >&6; }
17402 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
17406 $as_echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.
$ac_ext >&5
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17410 $as_echo "no" >&6; }
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
17421 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
17424 cat confdefs.h
- <<_ACEOF >conftest.c
17427 #include <linux/fs.h>
17433 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
17434 struct file_operations_no_const fops __attribute__ ((unused)) = {
17435 .fallocate = fallocate,
17445 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17446 echo "obj-m := conftest.o" >build
/Makefile
17448 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17449 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17450 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17451 (eval $ac_try) 2>&5
17453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17454 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17455 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17456 (eval $ac_try) 2>&5
17458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17459 test $ac_status = 0; }; }; then :
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17462 $as_echo "yes" >&6; }
17464 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
17468 $as_echo "$as_me: failed program was:" >&5
17469 sed 's/^/| /' conftest.
$ac_ext >&5
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17472 $as_echo "no" >&6; }
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
17484 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
17487 cat confdefs.h
- <<_ACEOF >conftest.c
17490 #if !defined(CONFIG_ZLIB_INFLATE) && \
17491 !defined(CONFIG_ZLIB_INFLATE_MODULE)
17492 #error CONFIG_ZLIB_INFLATE not defined
17506 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17507 echo "obj-m := conftest.o" >build
/Makefile
17509 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17510 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17511 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17512 (eval $ac_try) 2>&5
17514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17515 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17516 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17517 (eval $ac_try) 2>&5
17519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17520 test $ac_status = 0; }; }; then :
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17523 $as_echo "yes" >&6; }
17526 $as_echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.
$ac_ext >&5
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17530 $as_echo "no" >&6; }
17532 *** This kernel does not include the required zlib inflate support.
17533 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
17544 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
17547 cat confdefs.h
- <<_ACEOF >conftest.c
17550 #if !defined(CONFIG_ZLIB_DEFLATE) && \
17551 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
17552 #error CONFIG_ZLIB_DEFLATE not defined
17566 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17567 echo "obj-m := conftest.o" >build
/Makefile
17569 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17570 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17571 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17572 (eval $ac_try) 2>&5
17574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17575 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17576 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17577 (eval $ac_try) 2>&5
17579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17580 test $ac_status = 0; }; }; then :
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17583 $as_echo "yes" >&6; }
17586 $as_echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.
$ac_ext >&5
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17590 $as_echo "no" >&6; }
17592 *** This kernel does not include the required zlib deflate support.
17593 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
17603 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
17606 cat confdefs.h
- <<_ACEOF >conftest.c
17609 #include <linux/zlib.h>
17615 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
17624 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17625 echo "obj-m := conftest.o" >build
/Makefile
17627 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17628 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17629 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17630 (eval $ac_try) 2>&5
17632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17633 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17634 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17635 (eval $ac_try) 2>&5
17637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17638 test $ac_status = 0; }; }; then :
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17641 $as_echo "yes" >&6; }
17643 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
17647 $as_echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.
$ac_ext >&5
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17651 $as_echo "no" >&6; }
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
17662 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
17665 cat confdefs.h
- <<_ACEOF >conftest.c
17668 #include <linux/mm.h>
17674 struct shrink_control sc __attribute__ ((unused));
17677 sc.gfp_mask = GFP_KERNEL;
17686 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17687 echo "obj-m := conftest.o" >build
/Makefile
17689 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17690 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17691 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17692 (eval $ac_try) 2>&5
17694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17695 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17696 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17697 (eval $ac_try) 2>&5
17699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17700 test $ac_status = 0; }; }; then :
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17703 $as_echo "yes" >&6; }
17705 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
17709 $as_echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.
$ac_ext >&5
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17713 $as_echo "no" >&6; }
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
17724 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
17725 tmp_flags
="$EXTRA_KCFLAGS"
17726 EXTRA_KCFLAGS
="-Werror"
17729 cat confdefs.h
- <<_ACEOF >conftest.c
17732 #include <linux/rwsem.h>
17738 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
17739 raw_spinlock_t dummy_lock __attribute__ ((unused)) =
17740 __RAW_SPIN_LOCK_INITIALIZER(dummy_lock);
17741 dummy_semaphore.wait_lock = dummy_lock;
17750 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17751 echo "obj-m := conftest.o" >build
/Makefile
17753 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17754 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17755 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17756 (eval $ac_try) 2>&5
17758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17759 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17760 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17761 (eval $ac_try) 2>&5
17763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17764 test $ac_status = 0; }; }; then :
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17767 $as_echo "yes" >&6; }
17769 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
17773 $as_echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.
$ac_ext >&5
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17777 $as_echo "no" >&6; }
17785 EXTRA_KCFLAGS
="$tmp_flags"
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has member activity" >&5
17789 $as_echo_n "checking whether struct rw_semaphore has member activity... " >&6; }
17790 tmp_flags
="$EXTRA_KCFLAGS"
17791 EXTRA_KCFLAGS
="-Werror"
17794 cat confdefs.h
- <<_ACEOF >conftest.c
17797 #include <linux/rwsem.h>
17803 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
17804 dummy_semaphore.activity = 0;
17813 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17814 echo "obj-m := conftest.o" >build
/Makefile
17816 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17817 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17818 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17819 (eval $ac_try) 2>&5
17821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17822 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17823 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17824 (eval $ac_try) 2>&5
17826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17827 test $ac_status = 0; }; }; then :
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17830 $as_echo "yes" >&6; }
17832 $as_echo "#define HAVE_RWSEM_ACTIVITY 1" >>confdefs.h
17836 $as_echo "$as_me: failed program was:" >&5
17837 sed 's/^/| /' conftest.
$ac_ext >&5
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17840 $as_echo "no" >&6; }
17848 EXTRA_KCFLAGS
="$tmp_flags"
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has atomic_long_t member count" >&5
17852 $as_echo_n "checking whether struct rw_semaphore has atomic_long_t member count... " >&6; }
17853 tmp_flags
="$EXTRA_KCFLAGS"
17854 EXTRA_KCFLAGS
="-Werror"
17857 cat confdefs.h
- <<_ACEOF >conftest.c
17860 #include <linux/rwsem.h>
17866 DECLARE_RWSEM(dummy_semaphore);
17867 (void) atomic_long_read(&dummy_semaphore.count);
17876 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17877 echo "obj-m := conftest.o" >build
/Makefile
17879 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17880 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17881 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17882 (eval $ac_try) 2>&5
17884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17885 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17886 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17887 (eval $ac_try) 2>&5
17889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17890 test $ac_status = 0; }; }; then :
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17893 $as_echo "yes" >&6; }
17895 $as_echo "#define HAVE_RWSEM_ATOMIC_LONG_COUNT 1" >>confdefs.h
17899 $as_echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.
$ac_ext >&5
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17903 $as_echo "no" >&6; }
17911 EXTRA_KCFLAGS
="$tmp_flags"
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
17914 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
17917 cat confdefs.h
- <<_ACEOF >conftest.c
17920 #include <linux/sched.h>
17921 #include <linux/sched/rt.h>
17936 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17937 echo "obj-m := conftest.o" >build
/Makefile
17939 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17940 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17941 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17942 (eval $ac_try) 2>&5
17944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17945 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17946 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17947 (eval $ac_try) 2>&5
17949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17950 test $ac_status = 0; }; }; then :
17953 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17956 $as_echo "yes" >&6; }
17959 $as_echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.
$ac_ext >&5
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17963 $as_echo "no" >&6; }
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/signal.h exists" >&5
17973 $as_echo_n "checking whether header linux/sched/signal.h exists... " >&6; }
17976 cat confdefs.h
- <<_ACEOF >conftest.c
17979 #include <linux/sched.h>
17980 #include <linux/sched/signal.h>
17995 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17996 echo "obj-m := conftest.o" >build
/Makefile
17998 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17999 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18000 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18001 (eval $ac_try) 2>&5
18003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18004 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18005 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18006 (eval $ac_try) 2>&5
18008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18009 test $ac_status = 0; }; }; then :
18012 $as_echo "#define HAVE_SCHED_SIGNAL_HEADER 1" >>confdefs.h
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18015 $as_echo "yes" >&6; }
18018 $as_echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.
$ac_ext >&5
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18022 $as_echo "no" >&6; }
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 4 args" >&5
18033 $as_echo_n "checking whether vfs_getattr() wants 4 args... " >&6; }
18036 cat confdefs.h
- <<_ACEOF >conftest.c
18039 #include <linux/fs.h>
18045 vfs_getattr((const struct path *)NULL,
18046 (struct kstat *)NULL,
18057 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18058 echo "obj-m := conftest.o" >build
/Makefile
18060 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18061 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18062 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18063 (eval $ac_try) 2>&5
18065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18066 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18067 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18068 (eval $ac_try) 2>&5
18070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18071 test $ac_status = 0; }; }; then :
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18074 $as_echo "yes" >&6; }
18076 $as_echo "#define HAVE_4ARGS_VFS_GETATTR 1" >>confdefs.h
18080 $as_echo "$as_me: failed program was:" >&5
18081 sed 's/^/| /' conftest.
$ac_ext >&5
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18084 $as_echo "no" >&6; }
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 3 args" >&5
18095 $as_echo_n "checking whether vfs_getattr() wants 3 args... " >&6; }
18098 cat confdefs.h
- <<_ACEOF >conftest.c
18101 #include <linux/fs.h>
18107 vfs_getattr((struct vfsmount *)NULL,
18108 (struct dentry *)NULL,
18109 (struct kstat *)NULL);
18118 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18119 echo "obj-m := conftest.o" >build
/Makefile
18121 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18122 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18123 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18124 (eval $ac_try) 2>&5
18126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18127 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18128 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18129 (eval $ac_try) 2>&5
18131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18132 test $ac_status = 0; }; }; then :
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18135 $as_echo "yes" >&6; }
18137 $as_echo "#define HAVE_3ARGS_VFS_GETATTR 1" >>confdefs.h
18141 $as_echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.
$ac_ext >&5
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18145 $as_echo "no" >&6; }
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 2 args" >&5
18156 $as_echo_n "checking whether vfs_getattr() wants 2 args... " >&6; }
18159 cat confdefs.h
- <<_ACEOF >conftest.c
18162 #include <linux/fs.h>
18168 vfs_getattr((struct path *) NULL,
18169 (struct kstat *)NULL);
18178 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18179 echo "obj-m := conftest.o" >build
/Makefile
18181 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18182 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18183 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18184 (eval $ac_try) 2>&5
18186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18187 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18188 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18189 (eval $ac_try) 2>&5
18191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18192 test $ac_status = 0; }; }; then :
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18195 $as_echo "yes" >&6; }
18197 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
18201 $as_echo "$as_me: failed program was:" >&5
18202 sed 's/^/| /' conftest.
$ac_ext >&5
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18205 $as_echo "no" >&6; }
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep_range() is available" >&5
18216 $as_echo_n "checking whether usleep_range() is available... " >&6; }
18219 cat confdefs.h
- <<_ACEOF >conftest.c
18222 #include <linux/delay.h>
18228 usleep_range(0, 0);
18237 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18238 echo "obj-m := conftest.o" >build
/Makefile
18240 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18241 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18242 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18243 (eval $ac_try) 2>&5
18245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18246 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18247 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18248 (eval $ac_try) 2>&5
18250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18251 test $ac_status = 0; }; }; then :
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18254 $as_echo "yes" >&6; }
18256 $as_echo "#define HAVE_USLEEP_RANGE 1" >>confdefs.h
18260 $as_echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.
$ac_ext >&5
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18264 $as_echo "no" >&6; }
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has allocflags" >&5
18275 $as_echo_n "checking whether struct kmem_cache has allocflags... " >&6; }
18278 cat confdefs.h
- <<_ACEOF >conftest.c
18281 #include <linux/slab.h>
18287 struct kmem_cache cachep __attribute__ ((unused));
18288 cachep.allocflags = GFP_KERNEL;
18297 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18298 echo "obj-m := conftest.o" >build
/Makefile
18300 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18301 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18302 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18303 (eval $ac_try) 2>&5
18305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18306 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18307 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18308 (eval $ac_try) 2>&5
18310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18311 test $ac_status = 0; }; }; then :
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18314 $as_echo "yes" >&6; }
18316 $as_echo "#define HAVE_KMEM_CACHE_ALLOCFLAGS 1" >>confdefs.h
18320 $as_echo "$as_me: failed program was:" >&5
18321 sed 's/^/| /' conftest.
$ac_ext >&5
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18324 $as_echo "no" >&6; }
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has gfpflags" >&5
18327 $as_echo_n "checking whether struct kmem_cache has gfpflags... " >&6; }
18330 cat confdefs.h
- <<_ACEOF >conftest.c
18333 #include <linux/slab.h>
18339 struct kmem_cache cachep __attribute__ ((unused));
18340 cachep.gfpflags = GFP_KERNEL;
18349 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18350 echo "obj-m := conftest.o" >build
/Makefile
18352 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18353 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18354 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18355 (eval $ac_try) 2>&5
18357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18358 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18359 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18360 (eval $ac_try) 2>&5
18362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18363 test $ac_status = 0; }; }; then :
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18366 $as_echo "yes" >&6; }
18368 $as_echo "#define HAVE_KMEM_CACHE_GFPFLAGS 1" >>confdefs.h
18372 $as_echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.
$ac_ext >&5
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18376 $as_echo "no" >&6; }
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_on_bit() takes an action" >&5
18394 $as_echo_n "checking whether wait_on_bit() takes an action... " >&6; }
18397 cat confdefs.h
- <<_ACEOF >conftest.c
18400 #include <linux/wait.h>
18406 int (*action)(void *) = NULL;
18407 wait_on_bit(NULL, 0, action, 0);
18416 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18417 echo "obj-m := conftest.o" >build
/Makefile
18419 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18420 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18421 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18422 (eval $ac_try) 2>&5
18424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18425 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18426 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18427 (eval $ac_try) 2>&5
18429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18430 test $ac_status = 0; }; }; then :
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18433 $as_echo "yes" >&6; }
18435 $as_echo "#define HAVE_WAIT_ON_BIT_ACTION 1" >>confdefs.h
18439 $as_echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.
$ac_ext >&5
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18443 $as_echo "no" >&6; }
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inode_lock_shared() exists" >&5
18454 $as_echo_n "checking whether inode_lock_shared() exists... " >&6; }
18455 tmp_flags
="$EXTRA_KCFLAGS"
18456 EXTRA_KCFLAGS
="-Werror"
18459 cat confdefs.h
- <<_ACEOF >conftest.c
18462 #include <linux/fs.h>
18468 struct inode *inode = NULL;
18469 inode_lock_shared(inode);
18478 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18479 echo "obj-m := conftest.o" >build
/Makefile
18481 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18482 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18483 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18484 (eval $ac_try) 2>&5
18486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18487 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18488 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18489 (eval $ac_try) 2>&5
18491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18492 test $ac_status = 0; }; }; then :
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18495 $as_echo "yes" >&6; }
18497 $as_echo "#define HAVE_INODE_LOCK_SHARED 1" >>confdefs.h
18501 $as_echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.
$ac_ext >&5
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18505 $as_echo "no" >&6; }
18513 EXTRA_KCFLAGS
="$tmp_flags"
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether group_info->gid exists" >&5
18517 $as_echo_n "checking whether group_info->gid exists... " >&6; }
18518 tmp_flags
="$EXTRA_KCFLAGS"
18519 EXTRA_KCFLAGS
="-Werror"
18522 cat confdefs.h
- <<_ACEOF >conftest.c
18525 #include <linux/cred.h>
18531 struct group_info *gi = groups_alloc(1);
18532 gi->gid[0] = KGIDT_INIT(0);
18541 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18542 echo "obj-m := conftest.o" >build
/Makefile
18544 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18545 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18546 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18547 (eval $ac_try) 2>&5
18549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18550 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18551 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18552 (eval $ac_try) 2>&5
18554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18555 test $ac_status = 0; }; }; then :
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18558 $as_echo "yes" >&6; }
18560 $as_echo "#define HAVE_GROUP_INFO_GID 1" >>confdefs.h
18564 $as_echo "$as_me: failed program was:" >&5
18565 sed 's/^/| /' conftest.
$ac_ext >&5
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18568 $as_echo "no" >&6; }
18576 EXTRA_KCFLAGS
="$tmp_flags"
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kmem_cache_create_usercopy() exists" >&5
18580 $as_echo_n "checking whether kmem_cache_create_usercopy() exists... " >&6; }
18581 tmp_flags
="$EXTRA_KCFLAGS"
18582 EXTRA_KCFLAGS
="-Werror"
18585 cat confdefs.h
- <<_ACEOF >conftest.c
18588 #include <linux/slab.h>
18589 static void ctor(void *foo)
18598 struct kmem_cache *skc_linux_cache;
18599 const char *name = "test";
18600 size_t size = 4096;
18602 unsigned long flags = 0;
18603 size_t useroffset = 0;
18604 size_t usersize = size - useroffset;
18606 skc_linux_cache = kmem_cache_create_usercopy(
18607 name, size, align, flags, useroffset, usersize, ctor);
18616 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18617 echo "obj-m := conftest.o" >build
/Makefile
18619 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18620 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18621 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18622 (eval $ac_try) 2>&5
18624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18625 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18626 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18627 (eval $ac_try) 2>&5
18629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18630 test $ac_status = 0; }; }; then :
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18633 $as_echo "yes" >&6; }
18635 $as_echo "#define HAVE_KMEM_CACHE_CREATE_USERCOPY 1" >>confdefs.h
18639 $as_echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.
$ac_ext >&5
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18643 $as_echo "no" >&6; }
18651 EXTRA_KCFLAGS
="$tmp_flags"
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_queue_entry_t exists" >&5
18655 $as_echo_n "checking whether wait_queue_entry_t exists... " >&6; }
18658 cat confdefs.h
- <<_ACEOF >conftest.c
18661 #include <linux/wait.h>
18667 wait_queue_entry_t *entry __attribute__ ((unused));
18676 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18677 echo "obj-m := conftest.o" >build
/Makefile
18679 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18680 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18681 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18682 (eval $ac_try) 2>&5
18684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18685 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18686 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18687 (eval $ac_try) 2>&5
18689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18690 test $ac_status = 0; }; }; then :
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18693 $as_echo "yes" >&6; }
18695 $as_echo "#define HAVE_WAIT_QUEUE_ENTRY_T 1" >>confdefs.h
18699 $as_echo "$as_me: failed program was:" >&5
18700 sed 's/^/| /' conftest.
$ac_ext >&5
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18703 $as_echo "no" >&6; }
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wq_head->head and wq_entry->entry exist" >&5
18714 $as_echo_n "checking whether wq_head->head and wq_entry->entry exist... " >&6; }
18717 cat confdefs.h
- <<_ACEOF >conftest.c
18720 #include <linux/wait.h>
18722 #ifdef HAVE_WAIT_QUEUE_ENTRY_T
18723 typedef wait_queue_head_t spl_wait_queue_head_t;
18724 typedef wait_queue_entry_t spl_wait_queue_entry_t;
18726 typedef wait_queue_head_t spl_wait_queue_head_t;
18727 typedef wait_queue_t spl_wait_queue_entry_t;
18734 spl_wait_queue_head_t wq_head;
18735 spl_wait_queue_entry_t wq_entry;
18736 struct list_head *head __attribute__ ((unused));
18737 struct list_head *entry __attribute__ ((unused));
18739 head = &wq_head.head;
18740 entry = &wq_entry.entry;
18749 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18750 echo "obj-m := conftest.o" >build
/Makefile
18752 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18753 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18754 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18755 (eval $ac_try) 2>&5
18757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18758 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18759 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18760 (eval $ac_try) 2>&5
18762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18763 test $ac_status = 0; }; }; then :
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18766 $as_echo "yes" >&6; }
18768 $as_echo "#define HAVE_WAIT_QUEUE_HEAD_ENTRY 1" >>confdefs.h
18772 $as_echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18776 $as_echo "no" >&6; }
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel_write() takes loff_t pointer" >&5
18787 $as_echo_n "checking whether kernel_write() takes loff_t pointer... " >&6; }
18788 tmp_flags
="$EXTRA_KCFLAGS"
18789 EXTRA_KCFLAGS
="-Werror"
18792 cat confdefs.h
- <<_ACEOF >conftest.c
18795 #include <linux/fs.h>
18801 struct file *file = NULL;
18802 const void *buf = NULL;
18804 loff_t *pos = NULL;
18807 ret = kernel_write(file, buf, count, pos);
18816 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18817 echo "obj-m := conftest.o" >build
/Makefile
18819 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18820 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18821 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18822 (eval $ac_try) 2>&5
18824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18825 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18826 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18827 (eval $ac_try) 2>&5
18829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18830 test $ac_status = 0; }; }; then :
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18833 $as_echo "yes" >&6; }
18835 $as_echo "#define HAVE_KERNEL_WRITE_PPOS 1" >>confdefs.h
18839 $as_echo "$as_me: failed program was:" >&5
18840 sed 's/^/| /' conftest.
$ac_ext >&5
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18843 $as_echo "no" >&6; }
18851 EXTRA_KCFLAGS
="$tmp_flags"
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel_read() takes loff_t pointer" >&5
18855 $as_echo_n "checking whether kernel_read() takes loff_t pointer... " >&6; }
18856 tmp_flags
="$EXTRA_KCFLAGS"
18857 EXTRA_KCFLAGS
="-Werror"
18860 cat confdefs.h
- <<_ACEOF >conftest.c
18863 #include <linux/fs.h>
18869 struct file *file = NULL;
18872 loff_t *pos = NULL;
18875 ret = kernel_read(file, buf, count, pos);
18884 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18885 echo "obj-m := conftest.o" >build
/Makefile
18887 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18888 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
18889 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18890 (eval $ac_try) 2>&5
18892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18893 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18894 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18895 (eval $ac_try) 2>&5
18897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18898 test $ac_status = 0; }; }; then :
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18901 $as_echo "yes" >&6; }
18903 $as_echo "#define HAVE_KERNEL_READ_PPOS 1" >>confdefs.h
18907 $as_echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.
$ac_ext >&5
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18911 $as_echo "no" >&6; }
18919 EXTRA_KCFLAGS
="$tmp_flags"
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Error!" >&5
18926 $as_echo "Error!" >&6; }
18927 as_fn_error $?
"Bad value \"$SPL_CONFIG\" for --with-config,
18928 user kernel|user|all|srpm" "$LINENO" 5 ;;
18931 if test "$SPL_CONFIG" = user
-o "$SPL_CONFIG" = all
; then
18933 CONFIG_USER_FALSE
='#'
18935 CONFIG_USER_TRUE
='#'
18939 if test "$SPL_CONFIG" = kernel
-o "$SPL_CONFIG" = all
&&
18940 test "x$enable_linux_builtin" != xyes
; then
18941 CONFIG_KERNEL_TRUE
=
18942 CONFIG_KERNEL_FALSE
='#'
18944 CONFIG_KERNEL_TRUE
='#'
18945 CONFIG_KERNEL_FALSE
=
18950 ac_config_files
="$ac_config_files Makefile man/Makefile man/man1/Makefile man/man5/Makefile lib/Makefile cmd/Makefile cmd/splat/Makefile cmd/splslab/Makefile module/Makefile module/spl/Makefile module/splat/Makefile include/Makefile include/fs/Makefile include/linux/Makefile include/rpc/Makefile include/sharefs/Makefile include/sys/Makefile include/sys/fm/Makefile include/sys/fs/Makefile include/sys/sysevent/Makefile include/util/Makefile include/vm/Makefile scripts/Makefile rpm/Makefile rpm/redhat/Makefile rpm/redhat/spl.spec rpm/redhat/spl-kmod.spec rpm/redhat/spl-dkms.spec rpm/generic/Makefile rpm/generic/spl.spec rpm/generic/spl-kmod.spec rpm/generic/spl-dkms.spec spl.release"
18953 cat >confcache
<<\_ACEOF
18954 # This file is a shell script that caches the results of configure
18955 # tests run on this system so they can be shared between configure
18956 # scripts and configure runs, see configure's option --config-cache.
18957 # It is not useful on other systems. If it contains results you don't
18958 # want to keep, you may remove or edit it.
18960 # config.status only pays attention to the cache file if you give it
18961 # the --recheck option to rerun configure.
18963 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18964 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18965 # following values.
18969 # The following way of writing the cache mishandles newlines in values,
18970 # but we know of no workaround that is simple, portable, and efficient.
18971 # So, we kill variables containing newlines.
18972 # Ultrix sh set writes to stderr and can't be redirected directly,
18973 # and sets the high bit in the cache file unless we assign to the vars.
18975 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18976 eval ac_val
=\$
$ac_var
18980 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18981 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18984 _ | IFS | as_nl
) ;; #(
18985 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18986 *) { eval $ac_var=; unset $ac_var;} ;;
18992 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18993 *${as_nl}ac_space
=\
*)
18994 # `set' does not quote correctly, so add quotes: double-quote
18995 # substitution turns \\\\ into \\, and sed turns \\ into \.
18998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19001 # `set' quotes correctly as required by POSIX, so do not add quotes.
19002 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19011 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19013 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19015 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19016 if test -w "$cache_file"; then
19017 if test "x$cache_file" != "x/dev/null"; then
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19019 $as_echo "$as_me: updating cache $cache_file" >&6;}
19020 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19021 cat confcache
>"$cache_file"
19023 case $cache_file in #(
19025 mv -f confcache
"$cache_file"$$
&&
19026 mv -f "$cache_file"$$
"$cache_file" ;; #(
19028 mv -f confcache
"$cache_file" ;;
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19034 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19039 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19040 # Let make expand exec_prefix.
19041 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19043 DEFS
=-DHAVE_CONFIG_H
19048 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19049 # 1. Remove the extension, and $U if already installed.
19050 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19051 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19052 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19053 # will be set to the directory where LIBOBJS objects are built.
19054 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19055 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19057 LIBOBJS
=$ac_libobjs
19059 LTLIBOBJS
=$ac_ltlibobjs
19062 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19063 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
19064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19067 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19068 if test -n "$am_sleep_pid"; then
19069 # Hide warnings about reused PIDs.
19070 wait $am_sleep_pid 2>/dev
/null
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19073 $as_echo "done" >&6; }
19074 if test -n "$EXEEXT"; then
19076 am__EXEEXT_FALSE
='#'
19078 am__EXEEXT_TRUE
='#'
19082 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19083 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19086 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19087 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19090 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
19091 as_fn_error $?
"conditional \"CONFIG_USER\" was never defined.
19092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19094 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
19095 as_fn_error $?
"conditional \"CONFIG_KERNEL\" was never defined.
19096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19099 : "${CONFIG_STATUS=./config.status}"
19101 ac_clean_files_save
=$ac_clean_files
19102 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19104 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19106 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19108 # Generated by $as_me.
19109 # Run this file to recreate the current configuration.
19110 # Compiler output produced by configure, useful for debugging
19111 # configure, is in config.log if it exists.
19114 ac_cs_recheck=false
19117 SHELL=\${CONFIG_SHELL-$SHELL}
19120 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19121 ## -------------------- ##
19122 ## M4sh Initialization. ##
19123 ## -------------------- ##
19125 # Be more Bourne compatible
19126 DUALCASE
=1; export DUALCASE
# for MKS sh
19127 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19130 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19131 # is contrary to our usage. Disable this feature.
19132 alias -g '${1+"$@"}'='"$@"'
19133 setopt NO_GLOB_SUBST
19135 case `(set -o) 2>/dev/null` in #(
19147 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19148 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19149 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19150 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19151 # Prefer a ksh shell builtin over an external printf program on Solaris,
19152 # but without wasting forks for bash or zsh.
19153 if test -z "$BASH_VERSION$ZSH_VERSION" \
19154 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19155 as_echo='print
-r --'
19156 as_echo_n='print
-rn --'
19157 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19158 as_echo='printf %s
\n'
19159 as_echo_n='printf %s
'
19161 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19162 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19163 as_echo_n='/usr
/ucb
/echo -n'
19165 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19166 as_echo_n_body='eval
19170 expr "X$arg" : "X\\(.*\\)$as_nl";
19171 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19173 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19175 export as_echo_n_body
19176 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19178 export as_echo_body
19179 as_echo='sh
-c $as_echo_body as_echo
'
19182 # The user is always right.
19183 if test "${PATH_SEPARATOR+set}" != set; then
19185 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19186 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19193 # We need space, tab and new line, in precisely that order. Quoting is
19194 # there to prevent editors from complaining about space-tab.
19195 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19196 # splitting by setting IFS to empty value.)
19199 # Find who we are. Look in the path if we contain no directory separator.
19202 *[\\/]* ) as_myself=$0 ;;
19203 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19204 for as_dir in $PATH
19207 test -z "$as_dir" && as_dir=.
19208 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19214 # We did not find ourselves, most probably we were run as `sh COMMAND'
19215 # in which case we are not to be found in the path.
19216 if test "x$as_myself" = x
; then
19219 if test ! -f "$as_myself"; then
19220 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19224 # Unset variables that we do not need and which cause bugs (e.g. in
19225 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19226 # suppresses any "Segmentation fault" message there. '((' could
19227 # trigger a bug in pdksh 5.2.14.
19228 for as_var
in BASH_ENV ENV MAIL MAILPATH
19229 do eval test x\
${$as_var+set} = xset \
19230 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19243 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19246 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19247 # ----------------------------------------
19248 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19249 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19250 # script with STATUS, using 1 if that was 0.
19253 as_status
=$1; test $as_status -eq 0 && as_status
=1
19255 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19256 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19258 $as_echo "$as_me: error: $2" >&2
19259 as_fn_exit
$as_status
19263 # as_fn_set_status STATUS
19264 # -----------------------
19265 # Set $? to STATUS, without forking.
19266 as_fn_set_status
()
19269 } # as_fn_set_status
19271 # as_fn_exit STATUS
19272 # -----------------
19273 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19277 as_fn_set_status
$1
19283 # Portably unset VAR.
19286 { eval $1=; unset $1;}
19288 as_unset
=as_fn_unset
19289 # as_fn_append VAR VALUE
19290 # ----------------------
19291 # Append the text in VALUE to the end of the definition contained in VAR. Take
19292 # advantage of any shell optimizations that allow amortized linear growth over
19293 # repeated appends, instead of the typical quadratic growth present in naive
19295 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19296 eval 'as_fn_append ()
19307 # as_fn_arith ARG...
19308 # ------------------
19309 # Perform arithmetic evaluation on the ARGs, and store the result in the
19310 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19311 # must be portable across $(()) and expr.
19312 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19313 eval 'as_fn_arith ()
19320 as_val
=`expr "$@" || test $? -eq 1`
19325 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19326 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19332 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19333 as_basename
=basename
19338 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19344 as_me
=`$as_basename -- "$0" ||
19345 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19346 X"$0" : 'X\(//\)$' \| \
19347 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19349 sed '/^.*\/\([^/][^/]*\)\/*$/{
19363 # Avoid depending upon Character Ranges.
19364 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19365 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19366 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19367 as_cr_digits
='0123456789'
19368 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19370 ECHO_C
= ECHO_N
= ECHO_T
=
19371 case `echo -n x` in #(((((
19373 case `echo 'xy\c'` in
19374 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19376 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19383 rm -f conf$$ conf$$.exe conf$$.
file
19384 if test -d conf$$.dir
; then
19385 rm -f conf$$.dir
/conf$$.
file
19388 mkdir conf$$.dir
2>/dev
/null
19390 if (echo >conf$$.
file) 2>/dev
/null
; then
19391 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19393 # ... but there are two gotchas:
19394 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19395 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19396 # In both cases, we have to default to `cp -pR'.
19397 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19399 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19407 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19408 rmdir conf$$.dir
2>/dev
/null
19413 # Create "$as_dir" as a directory, including parents if necessary.
19418 -*) as_dir
=.
/$as_dir;;
19420 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19424 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19425 *) as_qdir
=$as_dir;;
19427 as_dirs
="'$as_qdir' $as_dirs"
19428 as_dir
=`$as_dirname -- "$as_dir" ||
19429 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19430 X"$as_dir" : 'X\(//\)[^/]' \| \
19431 X"$as_dir" : 'X\(//\)$' \| \
19432 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19433 $as_echo X"$as_dir" |
19434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19438 /^X\(\/\/\)[^/].*/{
19451 test -d "$as_dir" && break
19453 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19454 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19458 if mkdir
-p .
2>/dev
/null
; then
19459 as_mkdir_p
='mkdir -p "$as_dir"'
19461 test -d .
/-p && rmdir .
/-p
19466 # as_fn_executable_p FILE
19467 # -----------------------
19468 # Test if FILE is an executable regular file.
19469 as_fn_executable_p
()
19471 test -f "$1" && test -x "$1"
19472 } # as_fn_executable_p
19473 as_test_x
='test -x'
19474 as_executable_p
=as_fn_executable_p
19476 # Sed expression to map a string onto a valid CPP name.
19477 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19479 # Sed expression to map a string onto a valid variable name.
19480 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19484 ## ----------------------------------- ##
19485 ## Main body of $CONFIG_STATUS script. ##
19486 ## ----------------------------------- ##
19488 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19491 # Save the log message, to keep $0 and so on meaningful, and to
19492 # report actual input values of CONFIG_FILES etc. instead of their
19493 # values after options handling.
19495 This file was extended by spl $as_me 0.7.3, which was
19496 generated by GNU Autoconf 2.69. Invocation command line was
19498 CONFIG_FILES = $CONFIG_FILES
19499 CONFIG_HEADERS = $CONFIG_HEADERS
19500 CONFIG_LINKS = $CONFIG_LINKS
19501 CONFIG_COMMANDS = $CONFIG_COMMANDS
19504 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19509 case $ac_config_files in *"
19510 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19513 case $ac_config_headers in *"
19514 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19519 # Files that config.status was made for.
19520 config_files="$ac_config_files"
19521 config_headers="$ac_config_headers"
19522 config_commands="$ac_config_commands"
19526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19528 \`$as_me' instantiates files and other configuration actions
19529 from templates according to the current configuration. Unless the files
19530 and actions are specified as TAGs, all are instantiated by default.
19532 Usage: $0 [OPTION]... [TAG]...
19534 -h, --help print this help, then exit
19535 -V, --version print version number and configuration settings, then exit
19536 --config print configuration, then exit
19537 -q, --quiet, --silent
19538 do not print progress messages
19539 -d, --debug don't remove temporary files
19540 --recheck update $as_me by reconfiguring in the same conditions
19541 --file=FILE[:TEMPLATE]
19542 instantiate the configuration file FILE
19543 --header=FILE[:TEMPLATE]
19544 instantiate the configuration header FILE
19546 Configuration files:
19549 Configuration headers:
19552 Configuration commands:
19555 Report bugs to the package provider."
19558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19559 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19561 spl config.status 0.7.3
19562 configured by $0, generated by GNU Autoconf 2.69,
19563 with options \\"\$ac_cs_config\\"
19565 Copyright (C) 2012 Free Software Foundation, Inc.
19566 This config.status script is free software; the Free Software Foundation
19567 gives unlimited permission to copy, distribute and modify it."
19574 test -n "\$AWK" || AWK=awk
19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19578 # The default lists apply if the user does not specify any file.
19584 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19585 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19589 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19601 # Handling of the options.
19602 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19604 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19605 $as_echo "$ac_cs_version"; exit ;;
19606 --config |
--confi |
--conf |
--con |
--co |
--c )
19607 $as_echo "$ac_cs_config"; exit ;;
19608 --debug |
--debu |
--deb |
--de |
--d |
-d )
19610 --file |
--fil |
--fi |
--f )
19613 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19614 '') as_fn_error $?
"missing file argument" ;;
19616 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19617 ac_need_defaults
=false
;;
19618 --header |
--heade |
--head |
--hea )
19621 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19623 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19624 ac_need_defaults
=false
;;
19626 # Conflict between --help and --header
19627 as_fn_error $?
"ambiguous option: \`$1'
19628 Try \`$0 --help' for more information.";;
19629 --help |
--hel |
-h )
19630 $as_echo "$ac_cs_usage"; exit ;;
19631 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19632 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19635 # This is an error.
19636 -*) as_fn_error $?
"unrecognized option: \`$1'
19637 Try \`$0 --help' for more information." ;;
19639 *) as_fn_append ac_config_targets
" $1"
19640 ac_need_defaults
=false
;;
19646 ac_configure_extra_args
=
19648 if $ac_cs_silent; then
19650 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19655 if \$ac_cs_recheck; then
19656 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19658 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19659 CONFIG_SHELL='$SHELL'
19660 export CONFIG_SHELL
19665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19669 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19670 ## Running $as_me. ##
19676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19680 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19683 # The HP-UX ksh and POSIX shell print the target directory to stdout
19684 # if CDPATH is set.
19685 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19687 sed_quote_subst='$sed_quote_subst'
19688 double_quote_subst='$double_quote_subst'
19689 delay_variable_subst='$delay_variable_subst'
19690 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19691 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19692 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19693 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19694 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19695 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19696 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
19697 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19698 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19699 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19700 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19701 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19702 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19703 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19704 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19705 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19706 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19707 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19708 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19709 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19710 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19711 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19712 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19713 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19714 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19715 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19716 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19717 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19718 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19719 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19720 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19721 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19722 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19723 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19724 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19725 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19726 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19727 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19728 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19729 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19730 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19731 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19732 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19733 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19734 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19735 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19736 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19737 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19738 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19739 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19740 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19741 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19742 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19743 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19744 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19745 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19746 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
19747 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19748 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
19749 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
19750 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19751 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19752 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
19753 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19754 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19755 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19756 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19757 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19758 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19759 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19760 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19761 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19762 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19763 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19764 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19765 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19766 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19767 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19768 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19769 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19770 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19771 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19772 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19773 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19774 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19775 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19776 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19777 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19778 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19779 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19780 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19781 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19782 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19783 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19784 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19785 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19786 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19787 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19788 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19789 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19790 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19791 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19792 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19793 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19794 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19795 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19796 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19797 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19798 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19799 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19800 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19801 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19802 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19803 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19804 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19805 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19806 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19807 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19808 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19809 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19810 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19811 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19812 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19813 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19814 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19815 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19816 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19817 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
19818 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
19819 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19820 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19821 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19822 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19823 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19824 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19827 LTCFLAGS='$LTCFLAGS'
19828 compiler='$compiler_DEFAULT'
19830 # A function that is used when there is no print builtin or printf.
19831 func_fallback_echo ()
19833 eval 'cat <<_LTECHO_EOF
19838 # Quote evaled strings.
19853 deplibs_check_method \
19858 sharedlib_from_linklib_cmd \
19861 archiver_list_spec \
19867 lt_cv_sys_global_symbol_pipe \
19868 lt_cv_sys_global_symbol_to_cdecl \
19869 lt_cv_sys_global_symbol_to_import \
19870 lt_cv_sys_global_symbol_to_c_name_address \
19871 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19872 lt_cv_nm_interface \
19873 nm_file_list_spec \
19874 lt_cv_truncate_bin \
19875 lt_prog_compiler_no_builtin_flag \
19876 lt_prog_compiler_pic \
19877 lt_prog_compiler_wl \
19878 lt_prog_compiler_static \
19879 lt_cv_prog_compiler_c_o \
19888 export_dynamic_flag_spec \
19889 whole_archive_flag_spec \
19890 compiler_needs_object \
19892 allow_undefined_flag \
19893 no_undefined_flag \
19894 hardcode_libdir_flag_spec \
19895 hardcode_libdir_separator \
19899 variables_saved_for_relink \
19901 library_names_spec \
19903 install_override_mode \
19907 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19908 *[\\\\\\\`\\"\\\$]*)
19909 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19912 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19917 # Double-quote double-evaled strings.
19918 for var in reload_cmds \
19919 old_postinstall_cmds \
19920 old_postuninstall_cmds \
19922 extract_expsyms_cmds \
19923 old_archive_from_new_cmds \
19924 old_archive_from_expsyms_cmds \
19926 archive_expsym_cmds \
19928 module_expsym_cmds \
19929 export_symbols_cmds \
19933 postuninstall_cmds \
19935 sys_lib_search_path_spec \
19936 configure_time_dlsearch_path \
19937 configure_time_lt_sys_library_path; do
19938 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19939 *[\\\\\\\`\\"\\\$]*)
19940 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19943 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19948 ac_aux_dir='$ac_aux_dir'
19950 # See if we are running on zsh, and set the options that allow our
19951 # commands through without removal of \ escapes INIT.
19952 if test -n "\${ZSH_VERSION+set}"; then
19953 setopt NO_GLOB_SUBST
19967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19969 # Handling of arguments.
19970 for ac_config_target
in $ac_config_targets
19972 case $ac_config_target in
19973 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
19974 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19975 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19976 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19977 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
19978 "man/man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man1/Makefile" ;;
19979 "man/man5/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man5/Makefile" ;;
19980 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19981 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
19982 "cmd/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/splat/Makefile" ;;
19983 "cmd/splslab/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/splslab/Makefile" ;;
19984 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
19985 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
19986 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
19987 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19988 "include/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/fs/Makefile" ;;
19989 "include/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES include/linux/Makefile" ;;
19990 "include/rpc/Makefile") CONFIG_FILES
="$CONFIG_FILES include/rpc/Makefile" ;;
19991 "include/sharefs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sharefs/Makefile" ;;
19992 "include/sys/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/Makefile" ;;
19993 "include/sys/fm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fm/Makefile" ;;
19994 "include/sys/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fs/Makefile" ;;
19995 "include/sys/sysevent/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/sysevent/Makefile" ;;
19996 "include/util/Makefile") CONFIG_FILES
="$CONFIG_FILES include/util/Makefile" ;;
19997 "include/vm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/vm/Makefile" ;;
19998 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19999 "rpm/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/Makefile" ;;
20000 "rpm/redhat/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/Makefile" ;;
20001 "rpm/redhat/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl.spec" ;;
20002 "rpm/redhat/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl-kmod.spec" ;;
20003 "rpm/redhat/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl-dkms.spec" ;;
20004 "rpm/generic/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/generic/Makefile" ;;
20005 "rpm/generic/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl.spec" ;;
20006 "rpm/generic/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-kmod.spec" ;;
20007 "rpm/generic/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-dkms.spec" ;;
20008 "spl.release") CONFIG_FILES
="$CONFIG_FILES spl.release" ;;
20010 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20015 # If the user did not use the arguments to specify the items to instantiate,
20016 # then the envvar interface is used. Set only those that are not.
20017 # We use the long form for the default assignment because of an extremely
20018 # bizarre bug on SunOS 4.1.3.
20019 if $ac_need_defaults; then
20020 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20021 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20022 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20025 # Have a temporary directory for convenience. Make it in the build tree
20026 # simply because there is no reason against having it here, and in addition,
20027 # creating and moving files from /tmp can sometimes cause problems.
20028 # Hook for its removal unless debugging.
20029 # Note that there is a small window in which the directory will not be cleaned:
20030 # after its creation but before its name has been assigned to `$tmp'.
20034 trap 'exit_status=$?
20035 : "${ac_tmp:=$tmp}"
20036 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20038 trap 'as_fn_exit 1' 1 2 13 15
20040 # Create a (secure) tmp directory for tmp files.
20043 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20047 tmp
=.
/conf$$
-$RANDOM
20048 (umask 077 && mkdir
"$tmp")
20049 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20052 # Set up the scripts for CONFIG_FILES section.
20053 # No need to generate them if there are no CONFIG_FILES.
20054 # This happens for instance with `./config.status config.h'.
20055 if test -n "$CONFIG_FILES"; then
20058 ac_cr
=`echo X | tr X '\015'`
20059 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20060 # But we know of no other shell where ac_cr would be empty at this
20061 # point, so we can use a bashism as a fallback.
20062 if test "x$ac_cr" = x
; then
20063 eval ac_cr
=\$
\'\\r
\'
20065 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20066 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20069 ac_cs_awk_cr
=$ac_cr
20072 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20077 echo "cat >conf$$subs.awk <<_ACEOF" &&
20078 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20080 } >conf$$subs.sh ||
20081 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20082 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20084 for ac_last_try in false false false false false :; do
20085 . ./conf$$subs.sh ||
20086 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20088 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20089 if test $ac_delim_n = $ac_delim_num; then
20091 elif $ac_last_try; then
20092 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20094 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20097 rm -f conf$$subs.sh
20099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20100 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20104 s/^/S["/; s
/!.
*/"]=/
20114 s/\(.\{148\}\)..*/\1/
20116 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20121 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20128 s/\(.\{148\}\)..*/\1/
20130 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20134 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20139 ' <conf$$subs.awk | sed '
20144 ' >>$CONFIG_STATUS || ac_write_fail=1
20145 rm -f conf$$subs.awk
20146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20148 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20149 for (key in S) S_is_set[key] = 1
20155 nfields = split(line, field, "@
")
20157 len = length(field[1])
20158 for (i = 2; i < nfields; i++) {
20160 keylen = length(key)
20161 if (S_is_set[key]) {
20163 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20164 len += length(value) + length(field[++i])
20175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20176 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20177 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20180 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20181 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20184 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20185 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20186 # trailing colons and then remove the whole line if VPATH becomes empty
20187 # (actually we leave an empty line to preserve line numbers).
20188 if test "x
$srcdir" = x.; then
20189 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20208 fi # test -n "$CONFIG_FILES"
20210 # Set up the scripts for CONFIG_HEADERS section.
20211 # No need to generate them if there are no CONFIG_HEADERS.
20212 # This happens for instance with `./config.status Makefile'.
20213 if test -n "$CONFIG_HEADERS"; then
20214 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20218 # Transform confdefs.h into an awk script `defines.awk', embedded as
20219 # here-document in config.status, that substitutes the proper values into
20220 # config.h.in to produce config.h.
20222 # Create a delimiter string that does not exist in confdefs.h, to ease
20223 # handling of long lines.
20225 for ac_last_try in false false :; do
20226 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20227 if test -z "$ac_tt"; then
20229 elif $ac_last_try; then
20230 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20232 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20236 # For the awk script, D is an array of macro values keyed by name,
20237 # likewise P contains macro parameters if any. Preserve backslash
20238 # newline sequences.
20240 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20242 s/.\{148\}/&'"$ac_delim"'/g
20245 s/^[ ]*#[ ]*define[ ][ ]*/ /
20252 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20254 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20258 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20259 D["\
1"]=" \
3\\\\\\n
"\\/p
20261 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20266 s/.\{148\}/&'"$ac_delim"'/g
20271 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20274 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20276 ' <confdefs.h | sed '
20277 s/'"$ac_delim"'/"\\\
20278 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20281 for (key in D) D_is_set[key] = 1
20284 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20286 split(line, arg, " ")
20287 if (arg[1] == "#") {
20291 defundef
= substr
(arg
[1], 2)
20294 split(mac1
, mac2
, "(") #)
20296 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20297 if (D_is_set
[macro
]) {
20298 # Preserve the white space surrounding the "#".
20299 print prefix
"define", macro P
[macro
] D
[macro
]
20302 # Replace #undef with comments. This is necessary, for example,
20303 # in the case of _POSIX_SOURCE, which is predefined and required
20304 # on some systems where configure will not decide to define it.
20305 if (defundef
== "undef") {
20306 print
"/*", prefix defundef
, macro
, "*/"
20314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20315 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20316 fi # test -n "$CONFIG_HEADERS"
20319 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20324 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20326 case $ac_mode$ac_tag in
20328 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20329 :[FH
]-) ac_tag
=-:-;;
20330 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20347 -) ac_f
="$ac_tmp/stdin";;
20348 *) # Look for the file first in the build tree, then in the source tree
20349 # (if the path is not absolute). The absolute path cannot be DOS-style,
20350 # because $ac_f cannot contain `:'.
20354 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20356 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20358 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20359 as_fn_append ac_file_inputs
" '$ac_f'"
20362 # Let's still pretend it is `configure' which instantiates (i.e., don't
20363 # use $as_me), people would be surprised to read:
20364 # /* config.h. Generated by config.status. */
20365 configure_input
='Generated from '`
20366 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20368 if test x
"$ac_file" != x-
; then
20369 configure_input
="$ac_file. $configure_input"
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20371 $as_echo "$as_me: creating $ac_file" >&6;}
20373 # Neutralize special characters interpreted by sed in replacement strings.
20374 case $configure_input in #(
20375 *\
&* |
*\|
* |
*\\* )
20376 ac_sed_conf_input
=`$as_echo "$configure_input" |
20377 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20378 *) ac_sed_conf_input
=$configure_input;;
20382 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20383 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20388 ac_dir
=`$as_dirname -- "$ac_file" ||
20389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20390 X"$ac_file" : 'X\(//\)[^/]' \| \
20391 X"$ac_file" : 'X\(//\)$' \| \
20392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20393 $as_echo X"$ac_file" |
20394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20398 /^X\(\/\/\)[^/].*/{
20411 as_dir
="$ac_dir"; as_fn_mkdir_p
20415 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20417 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20418 # A ".." for each directory in $ac_dir_suffix.
20419 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20420 case $ac_top_builddir_sub in
20421 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20422 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20425 ac_abs_top_builddir
=$ac_pwd
20426 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20427 # for backward compatibility:
20428 ac_top_builddir
=$ac_top_build_prefix
20431 .
) # We are building in place.
20433 ac_top_srcdir
=$ac_top_builddir_sub
20434 ac_abs_top_srcdir
=$ac_pwd ;;
20435 [\\/]* | ?
:[\\/]* ) # Absolute name.
20436 ac_srcdir
=$srcdir$ac_dir_suffix;
20437 ac_top_srcdir
=$srcdir
20438 ac_abs_top_srcdir
=$srcdir ;;
20439 *) # Relative name.
20440 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20441 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20442 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20444 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20454 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20455 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20457 ac_MKDIR_P
=$MKDIR_P
20459 [\\/$
]* | ?
:[\\/]* ) ;;
20460 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20465 # If the template does not know about datarootdir, expand it.
20466 # FIXME: This hack should be removed a few years after 2.60.
20467 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20478 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20479 *datarootdir
*) ac_datarootdir_seen
=yes;;
20480 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20482 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20485 ac_datarootdir_hack='
20486 s&@datadir@&$datadir&g
20487 s&@docdir@&$docdir&g
20488 s&@infodir@&$infodir&g
20489 s&@localedir@&$localedir&g
20490 s&@mandir@&$mandir&g
20491 s&\\\${datarootdir}&$datarootdir&g' ;;
20495 # Neutralize VPATH when `$srcdir' = `.'.
20496 # Shell code in configure.ac might set extrasub.
20497 # FIXME: do we really want to maintain this feature?
20498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20499 ac_sed_extra="$ac_vpsub
20502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20504 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20505 s|@configure_input@|
$ac_sed_conf_input|
;t t
20506 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20507 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20508 s
&@srcdir@
&$ac_srcdir&;t t
20509 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20510 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20511 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20512 s
&@builddir@
&$ac_builddir&;t t
20513 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20514 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20515 s
&@INSTALL@
&$ac_INSTALL&;t t
20516 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20517 $ac_datarootdir_hack
20519 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20520 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20522 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20523 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20524 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20525 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20527 which seems to be undefined. Please make sure it is defined" >&5
20528 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20529 which seems to be undefined. Please make sure it is defined" >&2;}
20531 rm -f "$ac_tmp/stdin"
20533 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20534 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20542 if test x"$ac_file" != x-; then
20544 $as_echo "/* $configure_input */" \
20545 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20546 } >"$ac_tmp/config.h" \
20547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20548 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20550 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20553 mv "$ac_tmp/config.h" "$ac_file" \
20554 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20557 $as_echo "/* $configure_input */" \
20558 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20559 || as_fn_error $? "could not create -" "$LINENO" 5
20561 # Compute "$ac_file"'s index
in $config_headers.
20564 for _am_header
in $config_headers :; do
20565 case $_am_header in
20566 $_am_arg |
$_am_arg:* )
20569 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20572 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20573 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20574 X"$_am_arg" : 'X\(//\)[^/]' \| \
20575 X"$_am_arg" : 'X\(//\)$' \| \
20576 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20577 $as_echo X"$_am_arg" |
20578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20582 /^X\(\/\/\)[^/].*/{
20594 s/.*/./; q'`/stamp-h
$_am_stamp_count
20597 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20598 $as_echo "$as_me: executing $ac_file commands" >&6;}
20603 case $ac_file$ac_mode in
20605 (mv spl_config.h spl_config.h.tmp
&&
20606 awk -f ${ac_srcdir}/config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
20607 rm spl_config.h.tmp
) ||
exit 1 ;;
20608 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
20609 # Older Autoconf quotes --file arguments for eval, but not when files
20610 # are listed without --file. Let's play safe and only enable the eval
20611 # if we detect the quoting.
20612 case $CONFIG_FILES in
20613 *\'*) eval set x
"$CONFIG_FILES" ;;
20614 *) set x
$CONFIG_FILES ;;
20619 # Strip MF so we end up with the name of the file.
20620 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20621 # Check whether this is an Automake generated Makefile or not.
20622 # We used to match only the files named 'Makefile.in', but
20623 # some people rename them; so instead we look at the file content.
20624 # Grep'ing the first line is not enough: some people post-process
20625 # each Makefile.in and add a new line on top of each file to say so.
20626 # Grep'ing the whole file is not good either: AIX grep has a line
20627 # limit of 2048, but all sed's we know have understand at least 4000.
20628 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20629 dirpart
=`$as_dirname -- "$mf" ||
20630 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20631 X"$mf" : 'X\(//\)[^/]' \| \
20632 X"$mf" : 'X\(//\)$' \| \
20633 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20639 /^X\(\/\/\)[^/].*/{
20655 # Extract the definition of DEPDIR, am__include, and am__quote
20656 # from the Makefile without running 'make'.
20657 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20658 test -z "$DEPDIR" && continue
20659 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20660 test -z "$am__include" && continue
20661 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20662 # Find all dependency output files, they are included files with
20663 # $(DEPDIR) in their names. We invoke sed twice because it is the
20664 # simplest approach to changing $(DEPDIR) to its actual value in the
20666 for file in `sed -n "
20667 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20668 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20669 # Make sure the directory exists.
20670 test -f "$dirpart/$file" && continue
20671 fdir
=`$as_dirname -- "$file" ||
20672 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20673 X"$file" : 'X\(//\)[^/]' \| \
20674 X"$file" : 'X\(//\)$' \| \
20675 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20676 $as_echo X"$file" |
20677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20681 /^X\(\/\/\)[^/].*/{
20694 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
20695 # echo "creating $dirpart/$file"
20696 echo '# dummy' > "$dirpart/$file"
20703 # See if we are running on zsh, and set the options that allow our
20704 # commands through without removal of \ escapes.
20705 if test -n "${ZSH_VERSION+set}"; then
20706 setopt NO_GLOB_SUBST
20710 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20713 cat <<_LT_EOF >> "$cfgfile"
20715 # Generated automatically by $as_me ($PACKAGE) $VERSION
20716 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20718 # Provide generalized library-building support services.
20719 # Written by Gordon Matzigkeit, 1996
20721 # Copyright (C) 2014 Free Software Foundation, Inc.
20722 # This is free software; see the source for copying conditions. There is NO
20723 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20725 # GNU Libtool is free software; you can redistribute it and/or modify
20726 # it under the terms of the GNU General Public License as published by
20727 # the Free Software Foundation; either version 2 of of the License, or
20728 # (at your option) any later version.
20730 # As a special exception to the GNU General Public License, if you
20731 # distribute this file as part of a program or library that is built
20732 # using GNU Libtool, you may include this file under the same
20733 # distribution terms that you use for the rest of that program.
20735 # GNU Libtool is distributed in the hope that it will be useful, but
20736 # WITHOUT ANY WARRANTY; without even the implied warranty of
20737 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20738 # GNU General Public License for more details.
20740 # You should have received a copy of the GNU General Public License
20741 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20744 # The names of the tagged configurations supported by this script.
20747 # Configured defaults for sys_lib_dlsearch_path munging.
20748 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
20750 # ### BEGIN LIBTOOL CONFIG
20752 # Which release of libtool.m4 was used?
20753 macro_version=$macro_version
20754 macro_revision=$macro_revision
20756 # Whether or not to build shared libraries.
20757 build_libtool_libs=$enable_shared
20759 # Whether or not to build static libraries.
20760 build_old_libs=$enable_static
20762 # What type of objects to build.
20765 # Whether or not to optimize for fast installation.
20766 fast_install=$enable_fast_install
20768 # Shared archive member basename,for filename based shared library versioning on AIX.
20769 shared_archive_member_spec=$shared_archive_member_spec
20771 # Shell to use when invoking shell scripts.
20774 # An echo program that protects backslashes.
20777 # The PATH separator for the build system.
20778 PATH_SEPARATOR=$lt_PATH_SEPARATOR
20781 host_alias=$host_alias
20785 # The build system.
20786 build_alias=$build_alias
20790 # A sed program that does not truncate output.
20793 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20794 Xsed="\$SED -e 1s/^X//"
20796 # A grep program that handles long lines.
20802 # A literal string matcher.
20805 # A BSD- or MS-compatible name lister.
20808 # Whether we need soft or hard links.
20811 # What is the maximum length of a command?
20812 max_cmd_len=$max_cmd_len
20814 # Object file suffix (normally "o").
20817 # Executable file suffix (normally "").
20820 # whether the shell understands "unset".
20823 # turn spaces into newlines.
20826 # turn newlines into spaces.
20829 # convert \$build file names to \$host format.
20830 to_host_file_cmd=$lt_cv_to_host_file_cmd
20832 # convert \$build files to toolchain format.
20833 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20835 # An object symbol dumper.
20836 OBJDUMP=$lt_OBJDUMP
20838 # Method to check whether dependent libraries are shared objects.
20839 deplibs_check_method=$lt_deplibs_check_method
20841 # Command to use when deplibs_check_method = "file_magic".
20842 file_magic_cmd=$lt_file_magic_cmd
20844 # How to find potential files when deplibs_check_method = "file_magic".
20845 file_magic_glob=$lt_file_magic_glob
20847 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20848 want_nocaseglob=$lt_want_nocaseglob
20850 # DLL creation program.
20851 DLLTOOL=$lt_DLLTOOL
20853 # Command to associate shared and link libraries.
20854 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20859 # Flags to create an archive.
20860 AR_FLAGS=$lt_AR_FLAGS
20862 # How to feed a file listing to the archiver.
20863 archiver_list_spec=$lt_archiver_list_spec
20865 # A symbol stripping program.
20868 # Commands used to install an old-style archive.
20870 old_postinstall_cmds=$lt_old_postinstall_cmds
20871 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20873 # Whether to use a lock for old archive extraction.
20874 lock_old_archive_extraction=$lock_old_archive_extraction
20879 # LTCC compiler flags.
20880 LTCFLAGS=$lt_CFLAGS
20882 # Take the output of nm and produce a listing of raw symbols and C names.
20883 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20885 # Transform the output of nm in a proper C declaration.
20886 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20888 # Transform the output of nm into a list of symbols to manually relocate.
20889 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20891 # Transform the output of nm in a C name address pair.
20892 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20894 # Transform the output of nm in a C name address pair when lib prefix is needed.
20895 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20897 # The name lister interface.
20898 nm_interface=$lt_lt_cv_nm_interface
20900 # Specify filename containing input files for \$NM.
20901 nm_file_list_spec=$lt_nm_file_list_spec
20903 # The root where to search for dependent libraries,and where our libraries should be installed.
20904 lt_sysroot=$lt_sysroot
20906 # Command to truncate a binary pipe.
20907 lt_truncate_bin=$lt_lt_cv_truncate_bin
20909 # The name of the directory that contains temporary libtool files.
20912 # Used to examine libraries when file_magic_cmd begins with "file".
20913 MAGIC_CMD=$MAGIC_CMD
20915 # Must we lock files when doing compilation?
20916 need_locks=$lt_need_locks
20919 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20921 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20922 DSYMUTIL=$lt_DSYMUTIL
20924 # Tool to change global to local symbols on Mac OS X.
20927 # Tool to manipulate fat objects and archives on Mac OS X.
20930 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20933 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20934 OTOOL64=$lt_OTOOL64
20936 # Old archive suffix (normally "a").
20939 # Shared library suffix (normally ".so").
20940 shrext_cmds=$lt_shrext_cmds
20942 # The commands to extract the exported symbol list from a shared archive.
20943 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20945 # Variables whose values should be saved in libtool wrapper scripts and
20946 # restored at link time.
20947 variables_saved_for_relink=$lt_variables_saved_for_relink
20949 # Do we need the "lib" prefix for modules?
20950 need_lib_prefix=$need_lib_prefix
20952 # Do we need a version for libraries?
20953 need_version=$need_version
20955 # Library versioning type.
20956 version_type=$version_type
20958 # Shared library runtime path variable.
20959 runpath_var=$runpath_var
20961 # Shared library path variable.
20962 shlibpath_var=$shlibpath_var
20964 # Is shlibpath searched before the hard-coded library search path?
20965 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20967 # Format of library name prefix.
20968 libname_spec=$lt_libname_spec
20970 # List of archive names. First name is the real one, the rest are links.
20971 # The last name is the one that the linker finds with -lNAME
20972 library_names_spec=$lt_library_names_spec
20974 # The coded name of the library, if different from the real name.
20975 soname_spec=$lt_soname_spec
20977 # Permission mode override for installation of shared libraries.
20978 install_override_mode=$lt_install_override_mode
20980 # Command to use after installation of a shared archive.
20981 postinstall_cmds=$lt_postinstall_cmds
20983 # Command to use after uninstallation of a shared archive.
20984 postuninstall_cmds=$lt_postuninstall_cmds
20986 # Commands used to finish a libtool library installation in a directory.
20987 finish_cmds=$lt_finish_cmds
20989 # As "finish_cmds", except a single script fragment to be evaled but
20991 finish_eval=$lt_finish_eval
20993 # Whether we should hardcode library paths into libraries.
20994 hardcode_into_libs=$hardcode_into_libs
20996 # Compile-time system search path for libraries.
20997 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20999 # Detected run-time system search path for libraries.
21000 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
21002 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
21003 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
21005 # Whether dlopen is supported.
21006 dlopen_support=$enable_dlopen
21008 # Whether dlopen of programs is supported.
21009 dlopen_self=$enable_dlopen_self
21011 # Whether dlopen of statically linked programs is supported.
21012 dlopen_self_static=$enable_dlopen_self_static
21014 # Commands to strip libraries.
21015 old_striplib=$lt_old_striplib
21016 striplib=$lt_striplib
21019 # The linker used to build libraries.
21022 # How to create reloadable object files.
21023 reload_flag=$lt_reload_flag
21024 reload_cmds=$lt_reload_cmds
21026 # Commands used to build an old-style archive.
21027 old_archive_cmds=$lt_old_archive_cmds
21029 # A language specific compiler.
21032 # Is the compiler the GNU compiler?
21035 # Compiler flag to turn off builtin functions.
21036 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21038 # Additional compiler flags for building library objects.
21039 pic_flag=$lt_lt_prog_compiler_pic
21041 # How to pass a linker flag through the compiler.
21042 wl=$lt_lt_prog_compiler_wl
21044 # Compiler flag to prevent dynamic linking.
21045 link_static_flag=$lt_lt_prog_compiler_static
21047 # Does compiler simultaneously support -c and -o options?
21048 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21050 # Whether or not to add -lc for building shared libraries.
21051 build_libtool_need_lc=$archive_cmds_need_lc
21053 # Whether or not to disallow shared libs when runtime libs are static.
21054 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21056 # Compiler flag to allow reflexive dlopens.
21057 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21059 # Compiler flag to generate shared objects directly from archives.
21060 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21062 # Whether the compiler copes with passing no objects directly.
21063 compiler_needs_object=$lt_compiler_needs_object
21065 # Create an old-style archive from a shared archive.
21066 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21068 # Create a temporary old-style archive to link instead of a shared archive.
21069 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21071 # Commands used to build a shared archive.
21072 archive_cmds=$lt_archive_cmds
21073 archive_expsym_cmds=$lt_archive_expsym_cmds
21075 # Commands used to build a loadable module if different from building
21076 # a shared archive.
21077 module_cmds=$lt_module_cmds
21078 module_expsym_cmds=$lt_module_expsym_cmds
21080 # Whether we are building with GNU ld or not.
21081 with_gnu_ld=$lt_with_gnu_ld
21083 # Flag that allows shared libraries with undefined symbols to be built.
21084 allow_undefined_flag=$lt_allow_undefined_flag
21086 # Flag that enforces no undefined symbols.
21087 no_undefined_flag=$lt_no_undefined_flag
21089 # Flag to hardcode \$libdir into a binary during linking.
21090 # This must work even if \$libdir does not exist
21091 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21093 # Whether we need a single "-rpath" flag with a separated argument.
21094 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21096 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21097 # DIR into the resulting binary.
21098 hardcode_direct=$hardcode_direct
21100 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21101 # DIR into the resulting binary and the resulting library dependency is
21102 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
21103 # library is relocated.
21104 hardcode_direct_absolute=$hardcode_direct_absolute
21106 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21107 # into the resulting binary.
21108 hardcode_minus_L=$hardcode_minus_L
21110 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21111 # into the resulting binary.
21112 hardcode_shlibpath_var=$hardcode_shlibpath_var
21114 # Set to "yes" if building a shared library automatically hardcodes DIR
21115 # into the library and all subsequent libraries and executables linked
21117 hardcode_automatic=$hardcode_automatic
21119 # Set to yes if linker adds runtime paths of dependent libraries
21120 # to runtime path list.
21121 inherit_rpath=$inherit_rpath
21123 # Whether libtool must link a program against all its dependency libraries.
21124 link_all_deplibs=$link_all_deplibs
21126 # Set to "yes" if exported symbols are required.
21127 always_export_symbols=$always_export_symbols
21129 # The commands to list exported symbols.
21130 export_symbols_cmds=$lt_export_symbols_cmds
21132 # Symbols that should not be listed in the preloaded symbols.
21133 exclude_expsyms=$lt_exclude_expsyms
21135 # Symbols that must always be exported.
21136 include_expsyms=$lt_include_expsyms
21138 # Commands necessary for linking programs (against libraries) with templates.
21139 prelink_cmds=$lt_prelink_cmds
21141 # Commands necessary for finishing linking programs.
21142 postlink_cmds=$lt_postlink_cmds
21144 # Specify filename containing input files.
21145 file_list_spec=$lt_file_list_spec
21147 # How to hardcode a shared library path into an executable.
21148 hardcode_action=$hardcode_action
21150 # ### END LIBTOOL CONFIG
21154 cat <<'_LT_EOF' >> "$cfgfile"
21156 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
21158 # func_munge_path_list VARIABLE PATH
21159 # -----------------------------------
21160 # VARIABLE is name of variable containing _space_ separated list of
21161 # directories to be munged by the contents of PATH, which is string
21164 # string "DIR[ DIR]" will be prepended to VARIABLE
21166 # string "DIR[ DIR]" will be appended to VARIABLE
21167 # "DIRP[:DIRP]::[DIRA:]DIRA"
21168 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
21169 # "DIRA[ DIRA]" will be appended to VARIABLE
21171 # VARIABLE will be replaced by "DIR[ DIR]"
21172 func_munge_path_list ()
21178 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
21181 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
21184 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
21185 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
21188 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
21194 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
21195 func_cc_basename ()
21197 for cc_temp in $*""; do
21199 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21200 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21205 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
21209 # ### END FUNCTIONS SHARED WITH CONFIGURE
21215 cat <<\_LT_EOF
>> "$cfgfile"
21216 # AIX sometimes has problems with the GCC collect2 program. For some
21217 # reason, if we set the COLLECT_NAMES environment variable, the problems
21218 # vanish in a puff of smoke.
21219 if test set != "${COLLECT_NAMES+set}"; then
21221 export COLLECT_NAMES
21228 ltmain
=$ac_aux_dir/ltmain.sh
21231 # We use sed instead of cat because bash on DJGPP gets confused if
21232 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21233 # text mode, it properly converts lines to CR/LF. This bash problem
21234 # is reportedly fixed, but why not run on old versions too?
21235 sed '$q' "$ltmain" >> "$cfgfile" \
21236 ||
(rm -f "$cfgfile"; exit 1)
21238 mv -f "$cfgfile" "$ofile" ||
21239 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21250 ac_clean_files
=$ac_clean_files_save
21252 test $ac_write_fail = 0 ||
21253 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21256 # configure is writing to config.log, and then calls config.status.
21257 # config.status does its own redirection, appending to config.log.
21258 # Unfortunately, on DOS this fails, as config.log is still kept open
21259 # by configure, so config.status won't be able to write to it; its
21260 # output is simply discarded. So we exec the FD to /dev/null,
21261 # effectively closing config.log, so it can be properly (re)opened and
21262 # appended to by config.status. When coming back to configure, we
21263 # need to make the FD available again.
21264 if test "$no_create" != yes; then
21266 ac_config_status_args
=
21267 test "$silent" = yes &&
21268 ac_config_status_args
="$ac_config_status_args --quiet"
21270 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21272 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21273 # would make configure fail if this is the last instruction.
21274 $ac_cs_success || as_fn_exit
1
21276 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21278 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}