2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for spl 0.6.5.10.
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.6.5.10'
591 PACKAGE_STRING
='spl 0.6.5.10'
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
796 program_transform_name
809 enable_option_checking
810 enable_maintainer_mode
812 enable_dependency_tracking
828 enable_debug_kmem_tracking
829 enable_atomic_spinlocks
831 ac_precious_vars
='build_alias
843 # Initialize some variables set by options.
845 ac_init_version
=false
846 ac_unrecognized_opts
=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
857 program_transform_name
=s
,x
,x
,
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir
='${exec_prefix}/bin'
872 sbindir
='${exec_prefix}/sbin'
873 libexecdir
='${exec_prefix}/libexec'
874 datarootdir
='${prefix}/share'
875 datadir
='${datarootdir}'
876 sysconfdir
='${prefix}/etc'
877 sharedstatedir
='${prefix}/com'
878 localstatedir
='${prefix}/var'
879 includedir
='${prefix}/include'
880 oldincludedir
='/usr/include'
881 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
882 infodir
='${datarootdir}/info'
887 libdir
='${exec_prefix}/lib'
888 localedir
='${datarootdir}/locale'
889 mandir
='${datarootdir}/man'
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\
$ac_option
903 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
916 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
919 -build |
--build |
--buil |
--bui |
--bu)
920 ac_prev
=build_alias
;;
921 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
922 build_alias
=$ac_optarg ;;
924 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
925 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
926 ac_prev
=cache_file
;;
927 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
928 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
929 cache_file
=$ac_optarg ;;
932 cache_file
=config.cache
;;
934 -datadir |
--datadir |
--datadi |
--datad)
936 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
937 datadir
=$ac_optarg ;;
939 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
940 |
--dataroo |
--dataro |
--datar)
941 ac_prev
=datarootdir
;;
942 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
943 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
944 datarootdir
=$ac_optarg ;;
946 -disable-* |
--disable-*)
947 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
950 as_fn_error $?
"invalid feature name: $ac_useropt"
951 ac_useropt_orig
=$ac_useropt
952 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep
=', ';;
960 eval enable_
$ac_useropt=no
;;
962 -docdir |
--docdir |
--docdi |
--doc |
--do)
964 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
967 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
969 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
972 -enable-* |
--enable-*)
973 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
976 as_fn_error $?
"invalid feature name: $ac_useropt"
977 ac_useropt_orig
=$ac_useropt
978 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep
=', ';;
986 eval enable_
$ac_useropt=\
$ac_optarg ;;
988 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
989 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
990 |
--exec |
--exe |
--ex)
991 ac_prev
=exec_prefix
;;
992 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
993 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
994 |
--exec=* |
--exe=* |
--ex=*)
995 exec_prefix
=$ac_optarg ;;
997 -gas |
--gas |
--ga |
--g)
998 # Obsolete; use --with-gas.
1001 -help |
--help |
--hel |
--he |
-h)
1002 ac_init_help
=long
;;
1003 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1004 ac_init_help
=recursive
;;
1005 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1006 ac_init_help
=short
;;
1008 -host |
--host |
--hos |
--ho)
1009 ac_prev
=host_alias
;;
1010 -host=* |
--host=* |
--hos=* |
--ho=*)
1011 host_alias
=$ac_optarg ;;
1013 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1015 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1017 htmldir
=$ac_optarg ;;
1019 -includedir |
--includedir |
--includedi |
--included |
--include \
1020 |
--includ |
--inclu |
--incl |
--inc)
1021 ac_prev
=includedir
;;
1022 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1023 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1024 includedir
=$ac_optarg ;;
1026 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1028 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1029 infodir
=$ac_optarg ;;
1031 -libdir |
--libdir |
--libdi |
--libd)
1033 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1034 libdir
=$ac_optarg ;;
1036 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1037 |
--libexe |
--libex |
--libe)
1038 ac_prev
=libexecdir
;;
1039 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1040 |
--libexe=* |
--libex=* |
--libe=*)
1041 libexecdir
=$ac_optarg ;;
1043 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1044 ac_prev
=localedir
;;
1045 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1046 localedir
=$ac_optarg ;;
1048 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1049 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1050 ac_prev
=localstatedir
;;
1051 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1052 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1053 localstatedir
=$ac_optarg ;;
1055 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1057 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1058 mandir
=$ac_optarg ;;
1060 -nfp |
--nfp |
--nf)
1061 # Obsolete; use --without-fp.
1064 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1065 |
--no-cr |
--no-c |
-n)
1068 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1069 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1072 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1073 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1074 |
--oldin |
--oldi |
--old |
--ol |
--o)
1075 ac_prev
=oldincludedir
;;
1076 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1077 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1078 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1079 oldincludedir
=$ac_optarg ;;
1081 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1083 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1084 prefix
=$ac_optarg ;;
1086 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1087 |
--program-pre |
--program-pr |
--program-p)
1088 ac_prev
=program_prefix
;;
1089 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1090 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1091 program_prefix
=$ac_optarg ;;
1093 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1094 |
--program-suf |
--program-su |
--program-s)
1095 ac_prev
=program_suffix
;;
1096 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1097 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1098 program_suffix
=$ac_optarg ;;
1100 -program-transform-name |
--program-transform-name \
1101 |
--program-transform-nam |
--program-transform-na \
1102 |
--program-transform-n |
--program-transform- \
1103 |
--program-transform |
--program-transfor \
1104 |
--program-transfo |
--program-transf \
1105 |
--program-trans |
--program-tran \
1106 |
--progr-tra |
--program-tr |
--program-t)
1107 ac_prev
=program_transform_name
;;
1108 -program-transform-name=* |
--program-transform-name=* \
1109 |
--program-transform-nam=* |
--program-transform-na=* \
1110 |
--program-transform-n=* |
--program-transform-=* \
1111 |
--program-transform=* |
--program-transfor=* \
1112 |
--program-transfo=* |
--program-transf=* \
1113 |
--program-trans=* |
--program-tran=* \
1114 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1115 program_transform_name
=$ac_optarg ;;
1117 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1119 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1120 pdfdir
=$ac_optarg ;;
1122 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1124 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1128 |
-silent |
--silent |
--silen |
--sile |
--sil)
1131 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1133 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1135 sbindir
=$ac_optarg ;;
1137 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1138 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1139 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1141 ac_prev
=sharedstatedir
;;
1142 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1143 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1144 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1146 sharedstatedir
=$ac_optarg ;;
1148 -site |
--site |
--sit)
1150 -site=* |
--site=* |
--sit=*)
1153 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1155 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1156 srcdir
=$ac_optarg ;;
1158 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1159 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1160 ac_prev
=sysconfdir
;;
1161 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1162 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1163 sysconfdir
=$ac_optarg ;;
1165 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1166 ac_prev
=target_alias
;;
1167 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1168 target_alias
=$ac_optarg ;;
1170 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1173 -version |
--version |
--versio |
--versi |
--vers |
-V)
1174 ac_init_version
=: ;;
1177 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1180 as_fn_error $?
"invalid package name: $ac_useropt"
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval with_
$ac_useropt=\
$ac_optarg ;;
1192 -without-* |
--without-*)
1193 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error $?
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=no
;;
1209 # Obsolete; use --with-x.
1212 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1213 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1214 ac_prev
=x_includes
;;
1215 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1216 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1217 x_includes
=$ac_optarg ;;
1219 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1220 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1221 ac_prev
=x_libraries
;;
1222 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1223 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1224 x_libraries
=$ac_optarg ;;
1226 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information"
1231 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1235 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1237 eval $ac_envvar=\
$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251 if test -n "$ac_prev"; then
1252 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error $?
"missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1259 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 # Check all directory arguments for consistency.
1265 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val
=\$
$ac_var
1271 # Remove trailing slashes.
1274 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\
$ac_val;;
1277 # Be sure to have absolute directory names.
1279 [\\/$
]* | ?
:[\\/]* ) continue;;
1280 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1282 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1290 target
=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x
; then
1294 if test "x$build_alias" = x
; then
1295 cross_compiling
=maybe
1296 elif test "x$build_alias" != "x$host_alias"; then
1302 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1304 test "$silent" = yes && exec 6>/dev
/null
1307 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di
=`ls -di .` &&
1309 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $?
"working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $?
"pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted
=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir
=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1347 ac_srcdir_defaulted
=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1351 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1365 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 for ac_var
in $ac_precious_vars; do
1368 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1370 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1381 \`configure' configures spl 0.6.5.10 to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/spl]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1444 --build=BUILD configure
for building on BUILD
[guessed
]
1445 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1446 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive
) echo "Configuration of spl 0.6.5.10:";;
1457 --disable-option-checking ignore unrecognized
--enable/--with options
1458 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1459 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1460 --enable-maintainer-mode
1461 enable make rules and dependencies not useful
(and
1462 sometimes confusing
) to the casual installer
1463 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1464 --disable-silent-rules verbose build output
(undo
: "make V=0")
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1469 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1470 --enable-static[=PKGS
] build static libraries
[default
=yes]
1471 --enable-fast-install[=PKGS
]
1472 optimize
for fast installation
[default
=yes]
1473 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1474 --enable-linux-builtin Configure
for builtin in-tree kernel modules
1476 --enable-debug Enable generic debug support
[default
=no
]
1477 --enable-debug-kmem Enable basic kmem accounting
[default
=no
]
1478 --enable-debug-kmem-tracking
1479 Enable detailed kmem tracking
[default
=no
]
1480 --enable-atomic-spinlocks
1481 Atomic types use spinlocks
[default
=check
]
1484 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1485 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1486 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1488 --with-aix-soname=aix|svr4|both
1489 shared library versioning
(aka
"SONAME") variant to
1490 provide on AIX
, [default
=aix
].
1491 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1492 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1493 compiler
's sysroot if not specified).
1494 --with-spec=SPEC Spec files 'generic|redhat
'
1495 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1496 --with-linux=PATH Path to kernel source
1497 --with-linux-obj=PATH Path to kernel build objects
1499 Some influential environment variables:
1500 CC C compiler command
1501 CFLAGS C compiler flags
1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1503 nonstandard directory <lib dir>
1504 LIBS libraries to pass to the linker, e.g. -l<library>
1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1506 you have headers in a nonstandard directory <include dir>
1508 User-defined run-time library search path.
1511 Use these variables to override the choices made by `configure' or to
help
1512 it to
find libraries and programs with nonstandard names
/locations.
1514 Report bugs to the package provider.
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1522 test -d "$ac_dir" ||
1523 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1528 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1530 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1531 # A ".." for each directory in $ac_dir_suffix.
1532 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1533 case $ac_top_builddir_sub in
1534 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1535 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1538 ac_abs_top_builddir
=$ac_pwd
1539 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1540 # for backward compatibility:
1541 ac_top_builddir
=$ac_top_build_prefix
1544 .
) # We are building in place.
1546 ac_top_srcdir
=$ac_top_builddir_sub
1547 ac_abs_top_srcdir
=$ac_pwd ;;
1548 [\\/]* | ?
:[\\/]* ) # Absolute name.
1549 ac_srcdir
=$srcdir$ac_dir_suffix;
1550 ac_top_srcdir
=$srcdir
1551 ac_abs_top_srcdir
=$srcdir ;;
1553 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1555 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1557 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1559 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1560 # Check for guested configure.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1568 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1574 test -n "$ac_init_help" && exit $ac_status
1575 if $ac_init_version; then
1577 spl configure
0.6.5.10
1578 generated by GNU Autoconf
2.69
1580 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1581 This configure
script is free software
; the Free Software Foundation
1582 gives unlimited permission to copy
, distribute and modify it.
1587 ## ------------------------ ##
1588 ## Autoconf initialization. ##
1589 ## ------------------------ ##
1591 # ac_fn_c_try_compile LINENO
1592 # --------------------------
1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1594 ac_fn_c_try_compile
()
1596 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1597 rm -f conftest.
$ac_objext
1598 if { { ac_try
="$ac_compile"
1600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_compile") 2>conftest.err
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest.$ac_objext; then :
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.$ac_ext >&5
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status $ac_retval
1627 } # ac_fn_c_try_compile
1629 # ac_fn_c_try_link LINENO
1630 # -----------------------
1631 # Try to link conftest.$ac_ext, and return whether this succeeded.
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 rm -f conftest.$ac_objext conftest$ac_exeext
1636 if { { ac_try="$ac_link"
1638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1639 *) ac_try_echo
=$ac_try;;
1641 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_link") 2>conftest.err
1645 if test -s conftest.err
; then
1646 grep -v '^ *+' conftest.err
>conftest.er1
1647 cat conftest.er1
>&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } && {
1652 test -z "$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1654 } && test -s conftest
$ac_exeext && {
1655 test "$cross_compiling" = yes ||
1656 test -x conftest
$ac_exeext
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.
$ac_ext >&5
1665 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1666 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1667 # interfere with the next link command; also delete a directory that is
1668 # left behind by Apple's compiler. We do this before executing the actions.
1669 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 as_fn_set_status
$ac_retval
1673 } # ac_fn_c_try_link
1675 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1676 # -------------------------------------------------------
1677 # Tests whether HEADER exists and can be compiled using the include files in
1678 # INCLUDES, setting the cache variable VAR accordingly.
1679 ac_fn_c_check_header_compile
()
1681 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683 $as_echo_n "checking for $2... " >&6; }
1684 if eval \
${$3+:} false
; then :
1685 $as_echo_n "(cached) " >&6
1687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1692 if ac_fn_c_try_compile
"$LINENO"; then :
1697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701 $as_echo "$ac_res" >&6; }
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 } # ac_fn_c_check_header_compile
1706 # ac_fn_c_try_cpp LINENO
1707 # ----------------------
1708 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1711 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1712 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } > conftest.i && {
1728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 as_fn_set_status $ac_retval
1743 # ac_fn_c_try_run LINENO
1744 # ----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1746 # that executables *can* be run.
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 if { { ac_try="$ac_link"
1752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1753 *) ac_try_echo
=$ac_try;;
1755 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>&5
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1761 { { case "(($ac_try" in
1762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_try") 2>&5
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; }; }; then :
1773 $as_echo "$as_me: program exited with status $ac_status" >&5
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1777 ac_retval=$ac_status
1779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 as_fn_set_status $ac_retval
1785 # ac_fn_c_check_func LINENO FUNC VAR
1786 # ----------------------------------
1787 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1788 ac_fn_c_check_func ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 $as_echo_n "checking for $2... " >&6; }
1793 if eval \${$3+:} false; then :
1794 $as_echo_n "(cached) " >&6
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1798 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1800 #define $2 innocuous_$2
1802 /* System header to define __stub macros and hopefully few prototypes,
1803 which can conflict with char $2 (); below.
1804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1805 <limits.h> exists even on freestanding compilers. */
1808 # include <limits.h>
1810 # include <assert.h>
1815 /* Override any GCC internal prototype to avoid an error.
1816 Use char because int might match the return type of a GCC
1817 builtin and then its argument prototype would still apply. */
1822 /* The GNU C library defines this for functions which it implements
1823 to always fail with ENOSYS. Some functions are actually named
1824 something starting with __ and the normal name is an alias. */
1825 #if defined __stub_$2 || defined __stub___$2
1837 if ac_fn_c_try_link "$LINENO"; then :
1842 rm -f core conftest.err conftest.$ac_objext \
1843 conftest$ac_exeext conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 } # ac_fn_c_check_func
1851 cat >config.log <<_ACEOF
1852 This file contains any messages produced by compilers while
1853 running configure, to aid debugging if configure makes a mistake.
1855 It was created by spl $as_me 0.6.5.10, which was
1856 generated by GNU Autoconf 2.69. Invocation command line was
1868 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1869 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1870 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1871 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1872 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1874 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1875 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1877 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1878 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1879 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1880 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1881 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1882 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1883 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 test -z "$as_dir" && as_dir=.
1892 $as_echo "PATH: $as_dir"
1908 # Keep a trace of the command line.
1909 # Strip out --no-create and --no-recursion so they do not pile up.
1910 # Strip out --silent because we don't want to record it for future runs.
1911 # Also quote any args containing shell meta-characters.
1912 # Make two passes to allow for proper duplicate-argument suppression.
1916 ac_must_keep_next=false
1922 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1924 | -silent | --silent | --silen | --sile | --sil)
1927 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1930 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1932 as_fn_append ac_configure_args1 " '$ac_arg'"
1933 if test $ac_must_keep_next = true; then
1934 ac_must_keep_next=false # Got value, back to normal.
1937 *=* | --config-cache | -C | -disable-* | --disable-* \
1938 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1939 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1940 | -with-* | --with-* | -without-* | --without-* | --x)
1941 case "$ac_configure_args0 " in
1942 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1945 -* ) ac_must_keep_next=true ;;
1948 as_fn_append ac_configure_args " '$ac_arg'"
1953 { ac_configure_args0=; unset ac_configure_args0;}
1954 { ac_configure_args1=; unset ac_configure_args1;}
1956 # When interrupted or exit'd, cleanup temporary files, and complete
1957 # config.log. We remove comments because anyway the quotes in there
1958 # would cause problems or look ugly.
1959 # WARNING: Use '\'' to represent an apostrophe within the trap.
1960 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1961 trap 'exit_status=$?
1962 # Save into config.log some information that might help in debugging.
1966 $as_echo "## ---------------- ##
1967 ## Cache variables. ##
1968 ## ---------------- ##"
1970 # The following way of writing the cache mishandles newlines in values,
1972 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1973 eval ac_val=\$$ac_var
1977 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1981 _ | IFS | as_nl) ;; #(
1982 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1983 *) { eval $ac_var=; unset $ac_var;} ;;
1988 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1989 *${as_nl}ac_space=\ *)
1991 "s/'\''/'\''\\\\'\'''\''/g;
1992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1995 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2002 $as_echo "## ----------------- ##
2003 ## Output variables. ##
2004 ## ----------------- ##"
2006 for ac_var in $ac_subst_vars
2008 eval ac_val=\$$ac_var
2010 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2012 $as_echo "$ac_var='\''$ac_val'\''"
2016 if test -n "$ac_subst_files"; then
2017 $as_echo "## ------------------- ##
2018 ## File substitutions. ##
2019 ## ------------------- ##"
2021 for ac_var in $ac_subst_files
2023 eval ac_val=\$$ac_var
2025 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2027 $as_echo "$ac_var='\''$ac_val'\''"
2032 if test -s confdefs.h; then
2033 $as_echo "## ----------- ##
2040 test "$ac_signal" != 0 &&
2041 $as_echo "$as_me: caught signal $ac_signal"
2042 $as_echo "$as_me: exit $exit_status"
2044 rm -f core *.core core.conftest.* &&
2045 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2048 for ac_signal in 1 2 13 15; do
2049 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2053 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2054 rm -f -r conftest* confdefs.h
2056 $as_echo "/* confdefs.h */" > confdefs.h
2058 # Predefined preprocessor variables.
2060 cat >>confdefs.h <<_ACEOF
2061 #define PACKAGE_NAME "$PACKAGE_NAME"
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_STRING "$PACKAGE_STRING"
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_URL "$PACKAGE_URL"
2085 # Let the site file select an alternate cache file if it wants to.
2086 # Prefer an explicitly selected file to automatically selected ones.
2089 if test -n "$CONFIG_SITE"; then
2090 # We do not want a PATH search for config.site.
2091 case $CONFIG_SITE in #((
2092 -*) ac_site_file1=./$CONFIG_SITE;;
2093 */*) ac_site_file1=$CONFIG_SITE;;
2094 *) ac_site_file1=./$CONFIG_SITE;;
2096 elif test "x$prefix" != xNONE; then
2097 ac_site_file1=$prefix/share/config.site
2098 ac_site_file2=$prefix/etc/config.site
2100 ac_site_file1=$ac_default_prefix/share/config.site
2101 ac_site_file2=$ac_default_prefix/etc/config.site
2103 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2105 test "x$ac_site_file" = xNONE && continue
2106 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2108 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2109 sed 's/^/| /' "$ac_site_file" >&5
2111 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2113 as_fn_error $? "failed to load site
script $ac_site_file
2114 See \
`config.log' for more details" "$LINENO" 5; }
2118 if test -r "$cache_file"; then
2119 # Some versions of bash will fail to source /dev/null (special files
2120 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2121 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2123 $as_echo "$as_me: loading cache $cache_file" >&6;}
2125 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2126 *) . "./$cache_file";;
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2131 $as_echo "$as_me: creating cache $cache_file" >&6;}
2135 # Check that the precious variables saved in the cache have kept the same
2137 ac_cache_corrupted=false
2138 for ac_var in $ac_precious_vars; do
2139 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2140 eval ac_new_set=\$ac_env_${ac_var}_set
2141 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2142 eval ac_new_val=\$ac_env_${ac_var}_value
2143 case $ac_old_set,$ac_new_set in
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2146 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2147 ac_cache_corrupted=: ;;
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2150 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2151 ac_cache_corrupted=: ;;
2154 if test "x$ac_old_val" != "x$ac_new_val"; then
2155 # differences in whitespace do not lead to failure.
2156 ac_old_val_w=`echo x
$ac_old_val`
2157 ac_new_val_w=`echo x
$ac_new_val`
2158 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2160 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2161 ac_cache_corrupted=:
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2164 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2165 eval $ac_var=\$ac_old_val
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2168 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2170 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2173 # Pass precious variables to config.status.
2174 if test "$ac_new_set" = set; then
2176 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2177 *) ac_arg=$ac_var=$ac_new_val ;;
2179 case " $ac_configure_args " in
2180 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2181 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2185 if $ac_cache_corrupted; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2189 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2190 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2192 ## -------------------- ##
2193 ## Main body of script. ##
2194 ## -------------------- ##
2197 ac_cpp='$CPP $CPPFLAGS'
2198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2204 ac_cpp='$CPP $CPPFLAGS'
2205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2210 for ac_prog in gawk mawk nawk awk
2212 # Extract the first word of "$ac_prog", so it can be a program name with args.
2213 set dummy $ac_prog; ac_word=$2
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2215 $as_echo_n "checking for $ac_word... " >&6; }
2216 if ${ac_cv_prog_AWK+:} false; then :
2217 $as_echo_n "(cached) " >&6
2219 if test -n "$AWK"; then
2220 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir=.
2227 for ac_exec_ext in '' $ac_executable_extensions; do
2228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2229 ac_cv_prog_AWK="$ac_prog"
2230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 if test -n "$AWK"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2242 $as_echo "$AWK" >&6; }
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2245 $as_echo "no" >&6; }
2249 test -n "$AWK" && break
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking metadata" >&5
2253 $as_echo_n "checking metadata... " >&6; }
2256 _spl_ac_meta_type="none"
2257 if test -f "$META"; then
2258 _spl_ac_meta_type="META file"
2260 SPL_META_NAME=`$AWK -F ':[ \t]+' '$1 ~ /^ *(Name|Project|Package)$/ { print $2; exit }' $META`;
2261 if test -n "$SPL_META_NAME"; then
2263 cat >>confdefs.h <<_ACEOF
2264 #define SPL_META_NAME "$SPL_META_NAME"
2270 SPL_META_VERSION=`$AWK -F ':[ \t]+' '$1 ~ /^ *Version$/ { print $2; exit }' $META`;
2271 if test -n "$SPL_META_VERSION"; then
2273 cat >>confdefs.h <<_ACEOF
2274 #define SPL_META_VERSION "$SPL_META_VERSION"
2280 SPL_META_RELEASE=`$AWK -F ':[ \t]+' '$1 ~ /^ *Release$/ { print $2; exit }' $META`;
2281 if test ! -f ".nogitrelease" && git rev-parse --git-dir > /dev/null 2>&1; then
2282 _match="${SPL_META_NAME}-${SPL_META_VERSION}"
2283 _alias=$(git describe --match=${_match} 2>/dev/null)
2284 _release=$(echo ${_alias}|cut -f3- -d'-'|sed 's/-/_/g')
2285 if test -n "${_release}"; then
2286 SPL_META_RELEASE=${_release}
2287 _spl_ac_meta_type="git describe"
2291 if test -n "$SPL_META_RELEASE"; then
2293 cat >>confdefs.h <<_ACEOF
2294 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2299 RELEASE="$SPL_META_RELEASE"
2303 SPL_META_LICENSE=`$AWK -F ':[ \t]+' '$1 ~ /^ *License$/ { print $2; exit }' $META`;
2304 if test -n "$SPL_META_LICENSE"; then
2306 cat >>confdefs.h <<_ACEOF
2307 #define SPL_META_LICENSE "$SPL_META_LICENSE"
2313 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2314 SPL_META_ALIAS="$SPL_META_NAME-$SPL_META_VERSION"
2315 test -n "$SPL_META_RELEASE" &&
2316 SPL_META_ALIAS="$SPL_META_ALIAS-$SPL_META_RELEASE"
2318 cat >>confdefs.h <<_ACEOF
2319 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2325 SPL_META_DATA=`$AWK -F ':[ \t]+' '$1 ~ /^ *Date$/ { print $2; exit }' $META`;
2326 if test -n "$SPL_META_DATA"; then
2328 cat >>confdefs.h <<_ACEOF
2329 #define SPL_META_DATA "$SPL_META_DATA"
2335 SPL_META_AUTHOR=`$AWK -F ':[ \t]+' '$1 ~ /^ *Author$/ { print $2; exit }' $META`;
2336 if test -n "$SPL_META_AUTHOR"; then
2338 cat >>confdefs.h <<_ACEOF
2339 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2346 SPL_META_LT_CURRENT=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Current$/ { print $2; exit }' $META`;
2347 SPL_META_LT_REVISION=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Revision$/ { print $2; exit }' $META`;
2348 SPL_META_LT_AGE=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Age$/ { print $2; exit }' $META`;
2349 if test -n "$SPL_META_LT_CURRENT" \
2350 -o -n "$SPL_META_LT_REVISION" \
2351 -o -n "$SPL_META_LT_AGE"; then
2352 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT="0"
2353 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION="0"
2354 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE="0"
2356 cat >>confdefs.h <<_ACEOF
2357 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2361 cat >>confdefs.h <<_ACEOF
2362 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2366 cat >>confdefs.h <<_ACEOF
2367 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_spl_ac_meta_type" >&5
2377 $as_echo "$_spl_ac_meta_type" >&6; }
2381 for ac_dir in config "$srcdir"/config; do
2382 if test -f "$ac_dir/install-sh"; then
2384 ac_install_sh="$ac_aux_dir/install-sh -c"
2386 elif test -f "$ac_dir/install.sh"; then
2388 ac_install_sh="$ac_aux_dir/install.sh -c"
2390 elif test -f "$ac_dir/shtool"; then
2392 ac_install_sh="$ac_aux_dir/shtool install -c"
2396 if test -z "$ac_aux_dir"; then
2397 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2400 # These three variables are undocumented and unsupported,
2401 # and are intended to be withdrawn in a future Autoconf release.
2402 # They can cause serious problems if a builder's source tree is in a directory
2403 # whose full name contains unusual characters.
2404 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2405 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2406 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2410 # Make sure we can run config.sub.
2411 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2412 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2415 $as_echo_n "checking build system type... " >&6; }
2416 if ${ac_cv_build+:} false; then :
2417 $as_echo_n "(cached) " >&6
2419 ac_build_alias=$build_alias
2420 test "x$ac_build_alias" = x &&
2421 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2422 test "x$ac_build_alias" = x &&
2423 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2424 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2425 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2429 $as_echo "$ac_cv_build" >&6; }
2430 case $ac_cv_build in
2432 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2435 ac_save_IFS=$IFS; IFS='-'
2441 # Remember, the first character of IFS is used to create $*,
2442 # except with old shells:
2445 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2449 $as_echo_n "checking host system type... " >&6; }
2450 if ${ac_cv_host+:} false; then :
2451 $as_echo_n "(cached) " >&6
2453 if test "x$host_alias" = x; then
2454 ac_cv_host=$ac_cv_build
2456 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2457 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2462 $as_echo "$ac_cv_host" >&6; }
2465 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2468 ac_save_IFS=$IFS; IFS='-'
2474 # Remember, the first character of IFS is used to create $*,
2475 # except with old shells:
2478 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2482 $as_echo_n "checking target system type... " >&6; }
2483 if ${ac_cv_target+:} false; then :
2484 $as_echo_n "(cached) " >&6
2486 if test "x$target_alias" = x; then
2487 ac_cv_target=$ac_cv_host
2489 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2490 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2495 $as_echo "$ac_cv_target" >&6; }
2496 case $ac_cv_target in
2498 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2500 target=$ac_cv_target
2501 ac_save_IFS=$IFS; IFS='-'
2507 # Remember, the first character of IFS is used to create $*,
2508 # except with old shells:
2511 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2514 # The aliases save the names the user supplied, while $host etc.
2515 # will get canonicalized.
2516 test -n "$target_alias" &&
2517 test "$program_prefix$program_suffix$program_transform_name" = \
2519 program_prefix=${target_alias}-
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2523 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2524 # Check whether --enable-maintainer-mode was given.
2525 if test "${enable_maintainer_mode+set}" = set; then :
2526 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2528 USE_MAINTAINER_MODE=no
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2532 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2533 if test $USE_MAINTAINER_MODE = yes; then
2534 MAINTAINER_MODE_TRUE=
2535 MAINTAINER_MODE_FALSE='#'
2537 MAINTAINER_MODE_TRUE='#'
2538 MAINTAINER_MODE_FALSE=
2541 MAINT=$MAINTAINER_MODE_TRUE
2544 # Check whether --enable-silent-rules was given.
2545 if test "${enable_silent_rules+set}" = set; then :
2546 enableval=$enable_silent_rules;
2549 case $enable_silent_rules in # (((
2550 yes) AM_DEFAULT_VERBOSITY=0;;
2551 no) AM_DEFAULT_VERBOSITY=1;;
2552 *) AM_DEFAULT_VERBOSITY=0;;
2554 am_make=${MAKE-make}
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2556 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2557 if ${am_cv_make_support_nested_variables+:} false; then :
2558 $as_echo_n "(cached) " >&6
2560 if $as_echo 'TRUE=$(BAR$(V))
2566 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2567 am_cv_make_support_nested_variables=yes
2569 am_cv_make_support_nested_variables=no
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2573 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2574 if test $am_cv_make_support_nested_variables = yes; then
2576 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2578 AM_V=$AM_DEFAULT_VERBOSITY
2579 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2583 am__api_version='1.15'
2585 # Find a good install program. We prefer a C program (faster),
2586 # so one script is as good as another. But avoid the broken or
2587 # incompatible versions:
2588 # SysV /etc/install, /usr/sbin/install
2589 # SunOS /usr/etc/install
2590 # IRIX /sbin/install
2592 # AmigaOS /C/install, which installs bootblocks on floppy discs
2593 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2594 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2595 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2596 # OS/2's system install, which has a completely different semantic
2597 # ./install, which can be erroneously created by make from ./install.sh.
2598 # Reject install programs that cannot install multiple files.
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2600 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2601 if test -z "$INSTALL"; then
2602 if ${ac_cv_path_install+:} false; then :
2603 $as_echo_n "(cached) " >&6
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 # Account for people who put trailing slashes in PATH elements.
2611 case $as_dir/ in #((
2612 ./ | .// | /[cC]/* | \
2613 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2614 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2617 # OSF1 and SCO ODT 3.0 have their own names for install.
2618 # Don't use installbsd from OSF since it installs stuff as root
2620 for ac_prog in ginstall scoinst install; do
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2623 if test $ac_prog = install &&
2624 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2625 # AIX install. It has an incompatible calling convention.
2627 elif test $ac_prog = install &&
2628 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2629 # program-specific install script used by HP pwplus--don't use.
2632 rm -rf conftest.one conftest.two conftest.dir
2633 echo one > conftest.one
2634 echo two > conftest.two
2636 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2637 test -s conftest.one && test -s conftest.two &&
2638 test -s conftest.dir/conftest.one &&
2639 test -s conftest.dir/conftest.two
2641 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2654 rm -rf conftest.one conftest.two conftest.dir
2657 if test "${ac_cv_path_install+set}" = set; then
2658 INSTALL=$ac_cv_path_install
2660 # As a last resort, use the slow shell script. Don't cache a
2661 # value for INSTALL within a source directory, because that will
2662 # break other packages using the cache if that directory is
2663 # removed, or if the value is a relative name.
2664 INSTALL=$ac_install_sh
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2668 $as_echo "$INSTALL" >&6; }
2670 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2671 # It thinks the first close brace ends the variable substitution.
2672 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2674 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2676 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2679 $as_echo_n "checking whether build environment is sane... " >&6; }
2680 # Reject unsafe characters in $srcdir or the absolute working directory
2681 # name. Accept space and tab only in the latter.
2685 *[\\\"\#\$\&\'\`$am_lf]*)
2686 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2689 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2690 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2693 # Do 'set' in a subshell so we don't clobber the current shell's
2694 # arguments. Must try -L first in case configure is actually a
2695 # symlink; some systems play weird games with the mod time of symlinks
2696 # (eg FreeBSD returns the mod time of the symlink's containing
2700 for am_try
in 1 2; do
2701 echo "timestamp, slept: $am_has_slept" > conftest.
file
2702 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2703 if test "$*" = "X"; then
2705 set X
`ls -t "$srcdir/configure" conftest.file`
2707 if test "$*" != "X $srcdir/configure conftest.file" \
2708 && test "$*" != "X conftest.file $srcdir/configure"; then
2710 # If neither matched, then we have a broken ls. This can happen
2711 # if, for instance, CONFIG_SHELL is bash and it inherits a
2712 # broken ls alias from the environment. This has actually
2713 # happened. Such a system could not be considered "sane".
2714 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2715 alias in your environment" "$LINENO" 5
2717 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2724 test "$2" = conftest.
file
2730 as_fn_error $?
"newly created file is older than distributed files!
2731 Check your system clock" "$LINENO" 5
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2734 $as_echo "yes" >&6; }
2735 # If we didn't sleep, we still need to ensure time stamps of config.status and
2736 # generated files are strictly newer.
2738 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2745 test "$program_prefix" != NONE
&&
2746 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2747 # Use a double $ so make ignores it.
2748 test "$program_suffix" != NONE
&&
2749 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2750 # Double any \ or $.
2751 # By default was `s,x,x', remove it if useless.
2752 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2753 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2755 # Expand $ac_aux_dir to an absolute path.
2756 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2758 if test x
"${MISSING+set}" != xset
; then
2761 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2763 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2766 # Use eval to expand $SHELL
2767 if eval "$MISSING --is-lightweight"; then
2768 am_missing_run
="$MISSING "
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2772 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2775 if test x
"${install_sh+set}" != xset
; then
2778 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2780 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2784 # Installed binaries are usually stripped using 'strip' when the user
2785 # run "make install-strip". However 'strip' might not be the right
2786 # tool to use in cross-compilation environments, therefore Automake
2787 # will honor the 'STRIP' environment variable to overrule this program.
2788 if test "$cross_compiling" != no
; then
2789 if test -n "$ac_tool_prefix"; then
2790 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2791 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if ${ac_cv_prog_STRIP+:} false
; then :
2795 $as_echo_n "(cached) " >&6
2797 if test -n "$STRIP"; then
2798 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir
=.
2805 for ac_exec_ext
in '' $ac_executable_extensions; do
2806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2807 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 STRIP
=$ac_cv_prog_STRIP
2818 if test -n "$STRIP"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2820 $as_echo "$STRIP" >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2828 if test -z "$ac_cv_prog_STRIP"; then
2830 # Extract the first word of "strip", so it can be a program name with args.
2831 set dummy strip
; ac_word
=$2
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833 $as_echo_n "checking for $ac_word... " >&6; }
2834 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2835 $as_echo_n "(cached) " >&6
2837 if test -n "$ac_ct_STRIP"; then
2838 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir
=.
2845 for ac_exec_ext
in '' $ac_executable_extensions; do
2846 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2847 ac_cv_prog_ac_ct_STRIP
="strip"
2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2858 if test -n "$ac_ct_STRIP"; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2860 $as_echo "$ac_ct_STRIP" >&6; }
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2866 if test "x$ac_ct_STRIP" = x
; then
2869 case $cross_compiling:$ac_tool_warned in
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2873 ac_tool_warned
=yes ;;
2878 STRIP
="$ac_cv_prog_STRIP"
2882 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2885 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2886 if test -z "$MKDIR_P"; then
2887 if ${ac_cv_path_mkdir+:} false
; then :
2888 $as_echo_n "(cached) " >&6
2890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2891 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2894 test -z "$as_dir" && as_dir
=.
2895 for ac_prog
in mkdir gmkdir
; do
2896 for ac_exec_ext
in '' $ac_executable_extensions; do
2897 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2898 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2899 'mkdir (GNU coreutils) '* | \
2900 'mkdir (coreutils) '* | \
2901 'mkdir (fileutils) '4.1*)
2902 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2912 test -d .
/--version && rmdir .
/--version
2913 if test "${ac_cv_path_mkdir+set}" = set; then
2914 MKDIR_P
="$ac_cv_path_mkdir -p"
2916 # As a last resort, use the slow shell script. Don't cache a
2917 # value for MKDIR_P within a source directory, because that will
2918 # break other packages using the cache if that directory is
2919 # removed, or if the value is a relative name.
2920 MKDIR_P
="$ac_install_sh -d"
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2924 $as_echo "$MKDIR_P" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2927 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2929 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2930 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2931 $as_echo_n "(cached) " >&6
2933 cat >conftest.
make <<\_ACEOF
2936 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2938 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2939 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2941 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2943 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2947 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2949 $as_echo "yes" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2954 SET_MAKE
="MAKE=${MAKE-make}"
2957 rm -rf .tst
2>/dev
/null
2958 mkdir .tst
2>/dev
/null
2959 if test -d .tst
; then
2964 rmdir .tst
2>/dev
/null
2966 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2967 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2968 # is not polluted with repeated "-I."
2969 am__isrc
=' -I$(srcdir)'
2970 # test to see if srcdir already configured
2971 if test -f $srcdir/config.status
; then
2972 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2976 # test whether we have cygpath
2977 if test -z "$CYGPATH_W"; then
2978 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2979 CYGPATH_W
='cygpath -w'
2986 # Define the identity of the package.
2991 cat >>confdefs.h
<<_ACEOF
2992 #define PACKAGE "$PACKAGE"
2996 cat >>confdefs.h
<<_ACEOF
2997 #define VERSION "$VERSION"
3000 # Some tools Automake needs.
3002 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3005 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3008 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3011 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3014 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3016 # For better backward compatibility. To be removed once Automake 1.9.x
3017 # dies out for good. For more background, see:
3018 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3019 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3020 mkdir_p
='$(MKDIR_P)'
3022 # We need awk for the "check" target (and possibly the TAP driver). The
3023 # system "awk" is bad on some platforms.
3024 # Always define AMTAR for backward compatibility. Yes, it's still used
3025 # in the wild :-( We should find a proper way to deprecate it ...
3029 # We'll loop over all known methods to create a tar archive until one works.
3030 _am_tools
='gnutar pax cpio none'
3032 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3039 # POSIX will say in a future version that running "rm -f" with no argument
3040 # is OK; and we want to be able to make that assumption in our Makefile
3041 # recipes. So use an aggressive probe to check that the usage we want is
3042 # actually supported "in the wild" to an acceptable degree.
3043 # See automake bug#10828.
3044 # To make any issue more visible, cause the running configure to be aborted
3045 # by default if the 'rm' program in use doesn't match our expectations; the
3046 # user can still override this though.
3047 if rm -f && rm -fr && rm -rf; then : OK
; else
3051 Your 'rm' program seems unable to run without file operands specified
3052 on the command line, even when the '-f' option is present. This is contrary
3053 to the behaviour of most rm programs out there, and not conforming with
3054 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3056 Please tell bug-automake@gnu.org about your system, including the value
3057 of your $PATH and any error possibly output before this message. This
3058 can help us improve future automake versions.
3061 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3062 echo 'Configuration will proceed anyway, since you have set the' >&2
3063 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3067 Aborting the configuration process, to ensure you take notice of the issue.
3069 You can download and install GNU coreutils to get an 'rm' implementation
3070 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3072 If you want to complete the configuration process using your problematic
3073 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3074 to "yes", and re-run configure.
3077 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3081 ac_config_headers
="$ac_config_headers spl_config.h"
3086 ac_cpp
='$CPP $CPPFLAGS'
3087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3090 if test -n "$ac_tool_prefix"; then
3091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3092 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3094 $as_echo_n "checking for $ac_word... " >&6; }
3095 if ${ac_cv_prog_CC+:} false
; then :
3096 $as_echo_n "(cached) " >&6
3098 if test -n "$CC"; then
3099 ac_cv_prog_CC
="$CC" # Let the user override the test.
3101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3105 test -z "$as_dir" && as_dir
=.
3106 for ac_exec_ext
in '' $ac_executable_extensions; do
3107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3108 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119 if test -n "$CC"; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3121 $as_echo "$CC" >&6; }
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124 $as_echo "no" >&6; }
3129 if test -z "$ac_cv_prog_CC"; then
3131 # Extract the first word of "gcc", so it can be a program name with args.
3132 set dummy gcc
; ac_word
=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$ac_ct_CC"; then
3139 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_ac_ct_CC
="gcc"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3159 if test -n "$ac_ct_CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3161 $as_echo "$ac_ct_CC" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3167 if test "x$ac_ct_CC" = x
; then
3170 case $cross_compiling:$ac_tool_warned in
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3174 ac_tool_warned
=yes ;;
3182 if test -z "$CC"; then
3183 if test -n "$ac_tool_prefix"; then
3184 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3185 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if ${ac_cv_prog_CC+:} false
; then :
3189 $as_echo_n "(cached) " >&6
3191 if test -n "$CC"; then
3192 ac_cv_prog_CC
="$CC" # Let the user override the test.
3194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir
=.
3199 for ac_exec_ext
in '' $ac_executable_extensions; do
3200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3201 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 if test -n "$CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3214 $as_echo "$CC" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3223 if test -z "$CC"; then
3224 # Extract the first word of "cc", so it can be a program name with args.
3225 set dummy cc
; ac_word
=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if ${ac_cv_prog_CC+:} false
; then :
3229 $as_echo_n "(cached) " >&6
3231 if test -n "$CC"; then
3232 ac_cv_prog_CC
="$CC" # Let the user override the test.
3235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3239 test -z "$as_dir" && as_dir
=.
3240 for ac_exec_ext
in '' $ac_executable_extensions; do
3241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3243 ac_prog_rejected
=yes
3247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 if test $ac_prog_rejected = yes; then
3255 # We found a bogon in the path, so make sure we never use it.
3256 set dummy
$ac_cv_prog_CC
3258 if test $# != 0; then
3259 # We chose a different compiler from the bogus one.
3260 # However, it has the same basename, so the bogon will be chosen
3261 # first if we set CC to just the basename; use the full file name.
3263 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3269 if test -n "$CC"; then
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3271 $as_echo "$CC" >&6; }
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274 $as_echo "no" >&6; }
3279 if test -z "$CC"; then
3280 if test -n "$ac_tool_prefix"; then
3281 for ac_prog
in cl.exe
3283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3284 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_CC+:} false
; then :
3288 $as_echo_n "(cached) " >&6
3290 if test -n "$CC"; then
3291 ac_cv_prog_CC
="$CC" # Let the user override the test.
3293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3297 test -z "$as_dir" && as_dir
=.
3298 for ac_exec_ext
in '' $ac_executable_extensions; do
3299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3300 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311 if test -n "$CC"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3313 $as_echo "$CC" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3320 test -n "$CC" && break
3323 if test -z "$CC"; then
3325 for ac_prog
in cl.exe
3327 # Extract the first word of "$ac_prog", so it can be a program name with args.
3328 set dummy
$ac_prog; ac_word
=$2
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3330 $as_echo_n "checking for $ac_word... " >&6; }
3331 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3332 $as_echo_n "(cached) " >&6
3334 if test -n "$ac_ct_CC"; then
3335 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3341 test -z "$as_dir" && as_dir
=.
3342 for ac_exec_ext
in '' $ac_executable_extensions; do
3343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3344 ac_cv_prog_ac_ct_CC
="$ac_prog"
3345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3355 if test -n "$ac_ct_CC"; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3357 $as_echo "$ac_ct_CC" >&6; }
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360 $as_echo "no" >&6; }
3364 test -n "$ac_ct_CC" && break
3367 if test "x$ac_ct_CC" = x
; then
3370 case $cross_compiling:$ac_tool_warned in
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3374 ac_tool_warned
=yes ;;
3383 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 as_fn_error $?
"no acceptable C compiler found in \$PATH
3386 See \`config.log' for more details" "$LINENO" 5; }
3388 # Provide some information about the compiler.
3389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3392 for ac_option
in --version -v -V -qversion; do
3393 { { ac_try
="$ac_compiler $ac_option >&5"
3395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3402 if test -s conftest.err; then
3404 ... rest of stderr output deleted ...
3405 10q' conftest.err >conftest.er1
3406 cat conftest.er1 >&5
3408 rm -f conftest.er1 conftest.err
3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3410 test $ac_status = 0; }
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3424 ac_clean_files_save=$ac_clean_files
3425 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3426 # Try to create an executable without -o first, disregard a.out.
3427 # It will help us diagnose broken compilers, and finding out an intuition
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3430 $as_echo_n "checking whether the C compiler works... " >&6; }
3431 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3433 # The possible output files:
3434 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3437 for ac_file in $ac_files
3440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3441 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3446 if { { ac_try="$ac_link_default"
3448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3449 *) ac_try_echo
=$ac_try;;
3451 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_link_default") 2>&5
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }; then :
3457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3460 # so that the user can short-circuit this test for compilers unknown to
3462 for ac_file
in $ac_files ''
3464 test -f "$ac_file" ||
continue
3466 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3469 # We found the default executable, but exeext='' is most
3473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3475 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3477 # We set ac_cv_exeext here because the later test for it is not
3478 # safe: cross compilers may not add the suffix if given an `-o'
3479 # argument, so we may need to know it at that point already.
3480 # Even if this section looks crufty: it has the advantage of
3487 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3492 if test -z "$ac_file"; then :
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.
$ac_ext >&5
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error
77 "C compiler cannot create executables
3501 See \`config.log' for more details" "$LINENO" 5; }
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3504 $as_echo "yes" >&6; }
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3507 $as_echo_n "checking for C compiler default output file name... " >&6; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3509 $as_echo "$ac_file" >&6; }
3510 ac_exeext
=$ac_cv_exeext
3512 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3513 ac_clean_files
=$ac_clean_files_save
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3515 $as_echo_n "checking for suffix of executables... " >&6; }
3516 if { { ac_try
="$ac_link"
3518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523 (eval "$ac_link") 2>&5
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
3527 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3528 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3529 # work properly (i.e., refer to `conftest.exe'), while it won't with
3531 for ac_file
in conftest.exe conftest conftest.
*; do
3532 test -f "$ac_file" ||
continue
3534 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3535 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3544 See \`config.log' for more details" "$LINENO" 5; }
3546 rm -f conftest conftest
$ac_cv_exeext
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3548 $as_echo "$ac_cv_exeext" >&6; }
3550 rm -f conftest.
$ac_ext
3551 EXEEXT
=$ac_cv_exeext
3553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3559 FILE *f = fopen ("conftest.out", "w");
3560 return ferror (f) || fclose (f) != 0;
3566 ac_clean_files
="$ac_clean_files conftest.out"
3567 # Check that the compiler produces executables we can run. If not, either
3568 # the compiler is broken, or we cross compile.
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3570 $as_echo_n "checking whether we are cross compiling... " >&6; }
3571 if test "$cross_compiling" != yes; then
3572 { { ac_try
="$ac_link"
3574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 $as_echo "$ac_try_echo"; } >&5
3579 (eval "$ac_link") 2>&5
3581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582 test $ac_status = 0; }
3583 if { ac_try='./conftest$ac_cv_exeext'
3584 { { case "(($ac_try" in
3585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3586 *) ac_try_echo
=$ac_try;;
3588 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589 $as_echo "$ac_try_echo"; } >&5
3590 (eval "$ac_try") 2>&5
3592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593 test $ac_status = 0; }; }; then
3596 if test "$cross_compiling" = maybe
; then
3599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601 as_fn_error $?
"cannot run C compiled programs.
3602 If you meant to cross compile, use \`--host'.
3603 See \`config.log' for more details" "$LINENO" 5; }
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3608 $as_echo "$cross_compiling" >&6; }
3610 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3611 ac_clean_files
=$ac_clean_files_save
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3613 $as_echo_n "checking for suffix of object files... " >&6; }
3614 if ${ac_cv_objext+:} false
; then :
3615 $as_echo_n "(cached) " >&6
3617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3628 rm -f conftest.o conftest.obj
3629 if { { ac_try
="$ac_compile"
3631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;
3634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635 $as_echo "$ac_try_echo"; } >&5
3636 (eval "$ac_compile") 2>&5
3638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test $ac_status = 0; }; then :
3640 for ac_file in conftest.o conftest.obj conftest.*; do
3641 test -f "$ac_file" || continue;
3643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3644 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3649 $as_echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3655 See \
`config.log' for more details" "$LINENO" 5; }
3657 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3660 $as_echo "$ac_cv_objext" >&6; }
3661 OBJEXT=$ac_cv_objext
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3664 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3665 if ${ac_cv_c_compiler_gnu+:} false; then :
3666 $as_echo_n "(cached) " >&6
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3682 if ac_fn_c_try_compile "$LINENO"; then :
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3692 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3693 if test $ac_compiler_gnu = yes; then
3698 ac_test_CFLAGS=${CFLAGS+set}
3699 ac_save_CFLAGS=$CFLAGS
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3701 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3702 if ${ac_cv_prog_cc_g+:} false; then :
3703 $as_echo_n "(cached) " >&6
3705 ac_save_c_werror_flag=$ac_c_werror_flag
3706 ac_c_werror_flag=yes
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3720 if ac_fn_c_try_compile "$LINENO"; then :
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3735 if ac_fn_c_try_compile "$LINENO"; then :
3738 ac_c_werror_flag=$ac_save_c_werror_flag
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3751 if ac_fn_c_try_compile "$LINENO"; then :
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3759 ac_c_werror_flag=$ac_save_c_werror_flag
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3762 $as_echo "$ac_cv_prog_cc_g" >&6; }
3763 if test "$ac_test_CFLAGS" = set; then
3764 CFLAGS=$ac_save_CFLAGS
3765 elif test $ac_cv_prog_cc_g = yes; then
3766 if test "$GCC" = yes; then
3772 if test "$GCC" = yes; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3779 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3780 if ${ac_cv_prog_cc_c89+:} false; then :
3781 $as_echo_n "(cached) " >&6
3783 ac_cv_prog_cc_c89=no
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3790 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3791 struct buf { int x; };
3792 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3793 static char *e (p, i)
3799 static char *f (char * (*g) (char **, int), char **p, ...)
3804 s = g (p, va_arg (v,int));
3809 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3810 function prototypes and stuff, but not '\xHH' hex character constants.
3811 These don't provoke an error unfortunately, instead are silently treated
3812 as 'x'. The following induces an error, until -std is added to get
3813 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3814 array size at least. It's necessary to write '\x00'==0 to get something
3815 that's true only with -std. */
3816 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3818 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3819 inside strings and character constants. */
3821 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3823 int test (int i, double x);
3824 struct s1 {int (*f) (int a);};
3825 struct s2 {int (*f) (double a);};
3826 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3832 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3837 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3838 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3840 CC="$ac_save_CC $ac_arg"
3841 if ac_fn_c_try_compile "$LINENO"; then :
3842 ac_cv_prog_cc_c89=$ac_arg
3844 rm -f core conftest.err conftest.$ac_objext
3845 test "x$ac_cv_prog_cc_c89" != "xno" && break
3847 rm -f conftest.$ac_ext
3852 case "x$ac_cv_prog_cc_c89" in
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3855 $as_echo "none needed" >&6; } ;;
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3858 $as_echo "unsupported" >&6; } ;;
3860 CC="$CC $ac_cv_prog_cc_c89"
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3862 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3864 if test "x$ac_cv_prog_cc_c89" != xno; then :
3869 ac_cpp='$CPP $CPPFLAGS'
3870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3875 ac_cpp='$CPP $CPPFLAGS'
3876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3880 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3881 if ${am_cv_prog_cc_c_o+:} false; then :
3882 $as_echo_n "(cached) " >&6
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3895 # Make sure it works both with $CC and with simple cc.
3896 # Following AC_PROG_CC_C_O, we do the test twice because some
3897 # compilers refuse to overwrite an existing .o file with -o,
3898 # though they will create one.
3899 am_cv_prog_cc_c_o=yes
3901 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3902 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); } \
3906 && test -f conftest2.$ac_objext; then
3909 am_cv_prog_cc_c_o=no
3913 rm -f core conftest*
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3917 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3918 if test "$am_cv_prog_cc_c_o" != yes; then
3919 # Losing compiler, so override with the script.
3920 # FIXME: It is wrong to rewrite CC.
3921 # But if we don't then we get into trouble of one sort or another.
3922 # A longer-term fix would be to have automake use am__CC in this case,
3923 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3924 CC="$am_aux_dir/compile $CC"
3927 ac_cpp='$CPP $CPPFLAGS'
3928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3932 DEPDIR="${am__leading_dot}deps"
3934 ac_config_commands="$ac_config_commands depfiles"
3937 am_make=${MAKE-make}
3938 cat > confinc << 'END'
3940 @echo this is the am__doit target
3943 # If we don't find an include directive, just comment out the code.
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3945 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3949 # First try GNU make style include.
3950 echo "include confinc" > confmf
3951 # Ignore all kinds of additional output from 'make'.
3952 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3953 *the\ am__doit\ target*)
3959 # Now try BSD make style include.
3960 if test "$am__include" = "#"; then
3961 echo '.include "confinc"' > confmf
3962 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3963 *the\ am__doit\ target*)
3964 am__include=.include
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3973 $as_echo "$_am_result" >&6; }
3974 rm -f confinc confmf
3976 # Check whether --enable-dependency-tracking was given.
3977 if test "${enable_dependency_tracking+set}" = set; then :
3978 enableval=$enable_dependency_tracking;
3981 if test "x$enable_dependency_tracking" != xno; then
3982 am_depcomp="$ac_aux_dir/depcomp"
3986 if test "x$enable_dependency_tracking" != xno; then
3996 depcc="$CC" am_compiler_list=
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3999 $as_echo_n "checking dependency style of $depcc... " >&6; }
4000 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4001 $as_echo_n "(cached) " >&6
4003 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4004 # We make a subdir and do the tests there. Otherwise we can end up
4005 # making bogus files that we don't know about and never remove. For
4006 # instance it was reported that on HP-UX the gcc test will end up
4007 # making a dummy file named 'D' -- because '-MD' means "put the output
4011 # Copy depcomp to subdir because otherwise we won't find it if we're
4012 # using a relative directory.
4013 cp "$am_depcomp" conftest.dir
4015 # We will build objects and dependencies in a subdirectory because
4016 # it helps to detect inapplicable dependency modes. For instance
4017 # both Tru64's cc and ICC support -MD to output dependencies as a
4018 # side effect of compilation, but ICC will put the dependencies in
4019 # the current directory while Tru64 will put them in the object
4023 am_cv_CC_dependencies_compiler_type=none
4024 if test "$am_compiler_list" = ""; then
4025 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4028 case " $depcc " in #(
4029 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4032 for depmode in $am_compiler_list; do
4033 # Setup a source with many dependencies, because some compilers
4034 # like to wrap large dependency lists on column 80 (with \), and
4035 # we should not choose a depcomp mode which is confused by this.
4037 # We need to recreate these files for each test, as the compiler may
4038 # overwrite some of them when testing with obscure command lines.
4039 # This happens at least with the AIX C compiler.
4041 for i in 1 2 3 4 5 6; do
4042 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4043 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4044 # Solaris 10 /bin/sh.
4045 echo '/* dummy */' > sub/conftst$i.h
4047 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4049 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4050 # mode. It turns out that the SunPro C++ compiler does not properly
4051 # handle '-M -o', and we need to detect this. Also, some Intel
4052 # versions had trouble with output in subdirs.
4053 am__obj=sub/conftest.${OBJEXT-o}
4054 am__minus_obj="-o $am__obj"
4057 # This depmode causes a compiler race in universal mode.
4058 test "$am__universal" = false || continue
4061 # After this tag, mechanisms are not by side-effect, so they'll
4062 # only be used when explicitly requested.
4063 if test "x$enable_dependency_tracking" = xyes; then
4069 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4070 # This compiler won't grok '-c -o', but also, the minuso test has
4071 # not run yet. These depmodes are late enough in the game, and
4072 # so weak that their functioning should not be impacted.
4073 am__obj=conftest.${OBJEXT-o}
4078 if depmode=$depmode \
4079 source=sub/conftest.c object=$am__obj \
4080 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4081 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4082 >/dev/null 2>conftest.err &&
4083 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4084 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4085 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4086 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4087 # icc doesn't choke on unknown options, it will just issue warnings
4088 # or remarks (even with -Werror). So we grep stderr for any message
4089 # that says an option was ignored or not supported.
4090 # When given -MP, icc 7.0 and 7.1 complain thusly:
4091 # icc: Command line warning: ignoring option '-M'; no argument required
4092 # The diagnosis changed in icc 8.0:
4093 # icc: Command line remark: option '-MP' not supported
4094 if (grep 'ignoring option' conftest.err ||
4095 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4096 am_cv_CC_dependencies_compiler_type=$depmode
4105 am_cv_CC_dependencies_compiler_type=none
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4110 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4111 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4114 test "x$enable_dependency_tracking" != xno \
4115 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4117 am__fastdepCC_FALSE='#'
4119 am__fastdepCC_TRUE='#'
4120 am__fastdepCC_FALSE=
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4127 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4132 macro_version='2.4.6'
4133 macro_revision='2.4.6'
4147 ltmain=$ac_aux_dir/ltmain.sh
4149 # Backslashify metacharacters that are still active within
4150 # double-quoted strings.
4151 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4153 # Same as above, but do not quote variable references.
4154 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4156 # Sed substitution to delay expansion of an escaped shell variable in a
4157 # double_quote_subst'ed string.
4158 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4160 # Sed substitution to delay expansion of an escaped single quote.
4161 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4163 # Sed substitution to avoid accidental globbing in evaled expressions
4164 no_glob_subst='s/\*/\\\*/g'
4166 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4167 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4168 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4171 $as_echo_n "checking how to print
strings...
" >&6; }
4172 # Test print first, because it will be a builtin if present.
4173 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4174 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4176 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4179 # Use this function as a fallback that always works.
4180 func_fallback_echo ()
4182 eval 'cat <<_LTECHO_EOF
4186 ECHO='func_fallback_echo'
4189 # func_echo_all arg...
4190 # Invoke $ECHO with all args, space-separated.
4197 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4198 $as_echo "printf" >&6; } ;;
4199 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4200 $as_echo "print
-r" >&6; } ;;
4201 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4202 $as_echo "cat" >&6; } ;;
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4219 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4220 if ${ac_cv_path_SED+:} false; then :
4221 $as_echo_n "(cached
) " >&6
4223 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4224 for ac_i in 1 2 3 4 5 6 7; do
4225 ac_script="$ac_script$as_nl$ac_script"
4227 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4228 { ac_script=; unset ac_script;}
4229 if test -z "$SED"; then
4230 ac_path_SED_found=false
4231 # Loop through the user's path and test for each of PROGNAME-LIST
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 test -z "$as_dir" && as_dir=.
4237 for ac_prog in sed gsed; do
4238 for ac_exec_ext in '' $ac_executable_extensions; do
4239 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4240 as_fn_executable_p "$ac_path_SED" || continue
4241 # Check for GNU ac_path_SED and select it if it is found.
4242 # Check for GNU $ac_path_SED
4243 case `"$ac_path_SED" --version 2>&1` in
4245 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4248 $as_echo_n 0123456789 >"conftest.
in"
4251 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4252 mv "conftest.tmp
" "conftest.
in"
4253 cp "conftest.
in" "conftest.
nl"
4254 $as_echo '' >> "conftest.
nl"
4255 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4256 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4257 as_fn_arith $ac_count + 1 && ac_count=$as_val
4258 if test $ac_count -gt ${ac_path_SED_max-0}; then
4259 # Best one so far, save it but keep looking for a better one
4260 ac_cv_path_SED="$ac_path_SED"
4261 ac_path_SED_max=$ac_count
4263 # 10*(2^10) chars as input seems more than enough
4264 test $ac_count -gt 10 && break
4266 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4269 $ac_path_SED_found && break 3
4274 if test -z "$ac_cv_path_SED"; then
4275 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4283 $as_echo "$ac_cv_path_SED" >&6; }
4284 SED="$ac_cv_path_SED"
4287 test -z "$SED" && SED=sed
4288 Xsed="$SED -e 1s
/^X
//"
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4301 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4302 if ${ac_cv_path_GREP+:} false; then :
4303 $as_echo_n "(cached
) " >&6
4305 if test -z "$GREP"; then
4306 ac_path_GREP_found=false
4307 # Loop through the user's path and test for each of PROGNAME-LIST
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4312 test -z "$as_dir" && as_dir=.
4313 for ac_prog in grep ggrep; do
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4316 as_fn_executable_p "$ac_path_GREP" || continue
4317 # Check for GNU ac_path_GREP and select it if it is found.
4318 # Check for GNU $ac_path_GREP
4319 case `"$ac_path_GREP" --version 2>&1` in
4321 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4324 $as_echo_n 0123456789 >"conftest.
in"
4327 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4328 mv "conftest.tmp
" "conftest.
in"
4329 cp "conftest.
in" "conftest.
nl"
4330 $as_echo 'GREP' >> "conftest.
nl"
4331 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4332 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4333 as_fn_arith $ac_count + 1 && ac_count=$as_val
4334 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4335 # Best one so far, save it but keep looking for a better one
4336 ac_cv_path_GREP="$ac_path_GREP"
4337 ac_path_GREP_max=$ac_count
4339 # 10*(2^10) chars as input seems more than enough
4340 test $ac_count -gt 10 && break
4342 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4345 $ac_path_GREP_found && break 3
4350 if test -z "$ac_cv_path_GREP"; then
4351 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4354 ac_cv_path_GREP=$GREP
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4359 $as_echo "$ac_cv_path_GREP" >&6; }
4360 GREP="$ac_cv_path_GREP"
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4364 $as_echo_n "checking
for egrep...
" >&6; }
4365 if ${ac_cv_path_EGREP+:} false; then :
4366 $as_echo_n "(cached
) " >&6
4368 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4369 then ac_cv_path_EGREP="$GREP -E"
4371 if test -z "$EGREP"; then
4372 ac_path_EGREP_found=false
4373 # Loop through the user's path and test for each of PROGNAME-LIST
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4378 test -z "$as_dir" && as_dir=.
4379 for ac_prog in egrep; do
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4382 as_fn_executable_p "$ac_path_EGREP" || continue
4383 # Check for GNU ac_path_EGREP and select it if it is found.
4384 # Check for GNU $ac_path_EGREP
4385 case `"$ac_path_EGREP" --version 2>&1` in
4387 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4390 $as_echo_n 0123456789 >"conftest.
in"
4393 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4394 mv "conftest.tmp
" "conftest.
in"
4395 cp "conftest.
in" "conftest.
nl"
4396 $as_echo 'EGREP' >> "conftest.
nl"
4397 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4398 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4399 as_fn_arith $ac_count + 1 && ac_count=$as_val
4400 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4401 # Best one so far, save it but keep looking for a better one
4402 ac_cv_path_EGREP="$ac_path_EGREP"
4403 ac_path_EGREP_max=$ac_count
4405 # 10*(2^10) chars as input seems more than enough
4406 test $ac_count -gt 10 && break
4408 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4411 $ac_path_EGREP_found && break 3
4416 if test -z "$ac_cv_path_EGREP"; then
4417 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4420 ac_cv_path_EGREP=$EGREP
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4426 $as_echo "$ac_cv_path_EGREP" >&6; }
4427 EGREP="$ac_cv_path_EGREP"
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4431 $as_echo_n "checking
for fgrep...
" >&6; }
4432 if ${ac_cv_path_FGREP+:} false; then :
4433 $as_echo_n "(cached
) " >&6
4435 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4436 then ac_cv_path_FGREP="$GREP -F"
4438 if test -z "$FGREP"; then
4439 ac_path_FGREP_found=false
4440 # Loop through the user's path and test for each of PROGNAME-LIST
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4445 test -z "$as_dir" && as_dir=.
4446 for ac_prog in fgrep; do
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4449 as_fn_executable_p "$ac_path_FGREP" || continue
4450 # Check for GNU ac_path_FGREP and select it if it is found.
4451 # Check for GNU $ac_path_FGREP
4452 case `"$ac_path_FGREP" --version 2>&1` in
4454 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4457 $as_echo_n 0123456789 >"conftest.
in"
4460 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4461 mv "conftest.tmp
" "conftest.
in"
4462 cp "conftest.
in" "conftest.
nl"
4463 $as_echo 'FGREP' >> "conftest.
nl"
4464 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4465 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4466 as_fn_arith $ac_count + 1 && ac_count=$as_val
4467 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4468 # Best one so far, save it but keep looking for a better one
4469 ac_cv_path_FGREP="$ac_path_FGREP"
4470 ac_path_FGREP_max=$ac_count
4472 # 10*(2^10) chars as input seems more than enough
4473 test $ac_count -gt 10 && break
4475 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 $ac_path_FGREP_found && break 3
4483 if test -z "$ac_cv_path_FGREP"; then
4484 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4487 ac_cv_path_FGREP=$FGREP
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4493 $as_echo "$ac_cv_path_FGREP" >&6; }
4494 FGREP="$ac_cv_path_FGREP"
4497 test -z "$GREP" && GREP=grep
4517 # Check whether --with-gnu-ld was given.
4518 if test "${with_gnu_ld+set}" = set; then :
4519 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4525 if test yes = "$GCC"; then
4526 # Check if gcc -print-prog-name=ld gives a path.
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4528 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4531 # gcc leaves a trailing carriage return, which upsets mingw
4532 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4534 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4537 # Accept absolute paths.
4539 re_direlt='/[^/][^/]*/\.\./'
4540 # Canonicalize the pathname of ld
4541 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4542 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4543 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4545 test -z "$LD" && LD=$ac_prog
4548 # If it fails, then pretend we aren't using GCC.
4552 # If it is relative, then search for the first ld in PATH.
4556 elif test yes = "$with_gnu_ld"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4558 $as_echo_n "checking
for GNU ld...
" >&6; }
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4561 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4563 if ${lt_cv_path_LD+:} false; then :
4564 $as_echo_n "(cached
) " >&6
4566 if test -z "$LD"; then
4567 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4568 for ac_dir in $PATH; do
4570 test -z "$ac_dir" && ac_dir=.
4571 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4572 lt_cv_path_LD=$ac_dir/$ac_prog
4573 # Check to see if the program is GNU ld. I'd rather use --version,
4574 # but apparently some variants of GNU ld only accept -v.
4575 # Break only if it was the GNU/non-GNU ld that we prefer.
4576 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4577 *GNU* | *'with BFD'*)
4578 test no != "$with_gnu_ld" && break
4581 test yes != "$with_gnu_ld" && break
4588 lt_cv_path_LD=$LD # Let the user override the test with a path.
4593 if test -n "$LD"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4595 $as_echo "$LD" >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4598 $as_echo "no
" >&6; }
4600 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4602 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4603 if ${lt_cv_prog_gnu_ld+:} false; then :
4604 $as_echo_n "(cached
) " >&6
4606 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4607 case `$LD -v 2>&1 </dev/null` in
4608 *GNU* | *'with BFD'*)
4609 lt_cv_prog_gnu_ld=yes
4612 lt_cv_prog_gnu_ld=no
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4617 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4618 with_gnu_ld=$lt_cv_prog_gnu_ld
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4629 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4630 if ${lt_cv_path_NM+:} false; then :
4631 $as_echo_n "(cached
) " >&6
4633 if test -n "$NM"; then
4634 # Let the user override the test.
4637 lt_nm_to_check=${ac_tool_prefix}nm
4638 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4639 lt_nm_to_check="$lt_nm_to_check nm
"
4641 for lt_tmp_nm in $lt_nm_to_check; do
4642 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4643 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4645 test -z "$ac_dir" && ac_dir=.
4646 tmp_nm=$ac_dir/$lt_tmp_nm
4647 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4648 # Check to see if the nm accepts a BSD-compat flag.
4649 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4650 # nm: unknown option "B
" ignored
4651 # Tru64's nm complains that /dev/null is an invalid object file
4652 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4654 mingw*) lt_bad_file=conftest.nm/nofile ;;
4655 *) lt_bad_file=/dev/null ;;
4657 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4658 *$lt_bad_file* | *'Invalid file or object type'*)
4659 lt_cv_path_NM="$tmp_nm -B"
4663 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4665 lt_cv_path_NM="$tmp_nm -p"
4669 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4670 continue # so that we can try to find one that supports BSD flags
4679 : ${lt_cv_path_NM=no}
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4683 $as_echo "$lt_cv_path_NM" >&6; }
4684 if test no != "$lt_cv_path_NM"; then
4687 # Didn't find any BSD compatible name lister, look for dumpbin.
4688 if test -n "$DUMPBIN"; then :
4689 # Let the user override the test.
4691 if test -n "$ac_tool_prefix"; then
4692 for ac_prog in dumpbin "link
-dump"
4694 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4697 $as_echo_n "checking
for $ac_word...
" >&6; }
4698 if ${ac_cv_prog_DUMPBIN+:} false; then :
4699 $as_echo_n "(cached
) " >&6
4701 if test -n "$DUMPBIN"; then
4702 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir=.
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4711 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4721 DUMPBIN=$ac_cv_prog_DUMPBIN
4722 if test -n "$DUMPBIN"; then
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4724 $as_echo "$DUMPBIN" >&6; }
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4727 $as_echo "no
" >&6; }
4731 test -n "$DUMPBIN" && break
4734 if test -z "$DUMPBIN"; then
4735 ac_ct_DUMPBIN=$DUMPBIN
4736 for ac_prog in dumpbin "link
-dump"
4738 # Extract the first word of "$ac_prog", so it can be a program name with args.
4739 set dummy $ac_prog; ac_word=$2
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4741 $as_echo_n "checking
for $ac_word...
" >&6; }
4742 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4743 $as_echo_n "(cached
) " >&6
4745 if test -n "$ac_ct_DUMPBIN"; then
4746 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4752 test -z "$as_dir" && as_dir=.
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4755 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4765 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4766 if test -n "$ac_ct_DUMPBIN"; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4768 $as_echo "$ac_ct_DUMPBIN" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4771 $as_echo "no
" >&6; }
4775 test -n "$ac_ct_DUMPBIN" && break
4778 if test "x
$ac_ct_DUMPBIN" = x; then
4781 case $cross_compiling:$ac_tool_warned in
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4784 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4785 ac_tool_warned=yes ;;
4787 DUMPBIN=$ac_ct_DUMPBIN
4791 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4793 DUMPBIN="$DUMPBIN -symbols -headers"
4801 if test : != "$DUMPBIN"; then
4805 test -z "$NM" && NM=nm
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4813 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4814 if ${lt_cv_nm_interface+:} false; then :
4815 $as_echo_n "(cached
) " >&6
4817 lt_cv_nm_interface="BSD nm
"
4818 echo "int some_variable
= 0;" > conftest.$ac_ext
4819 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4820 (eval "$ac_compile" 2>conftest.err)
4821 cat conftest.err >&5
4822 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4823 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4824 cat conftest.err >&5
4825 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4826 cat conftest.out >&5
4827 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4828 lt_cv_nm_interface="MS dumpbin
"
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4833 $as_echo "$lt_cv_nm_interface" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
4836 $as_echo_n "checking whether
ln -s works...
" >&6; }
4838 if test "$LN_S" = "ln -s"; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4840 $as_echo "yes" >&6; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
4843 $as_echo "no
, using
$LN_S" >&6; }
4846 # find the maximum length of command line arguments
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4848 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4849 if ${lt_cv_sys_max_cmd_len+:} false; then :
4850 $as_echo_n "(cached
) " >&6
4857 # On DJGPP, this test can blow up pretty badly due to problems in libc
4858 # (any single argument exceeding 2000 bytes causes a buffer overrun
4859 # during glob expansion). Even if it were fixed, the result of this
4860 # check would be larger than it should be.
4861 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4865 # Under GNU Hurd, this test is not required because there is
4866 # no limit to the length of command line arguments.
4867 # Libtool will interpret -1 as no limit whatsoever
4868 lt_cv_sys_max_cmd_len=-1;
4871 cygwin* | mingw* | cegcc*)
4872 # On Win9x/ME, this test blows up -- it succeeds, but takes
4873 # about 5 minutes as the teststring grows exponentially.
4874 # Worse, since 9x/ME are not pre-emptively multitasking,
4875 # you end up with a "frozen
" computer, even though with patience
4876 # the test eventually succeeds (with a max line length of 256k).
4877 # Instead, let's just punt: use the minimum linelength reported by
4878 # all of the supported platforms: 8192 (on NT/2K/XP).
4879 lt_cv_sys_max_cmd_len=8192;
4883 # On MiNT this can take a long time and run out of memory.
4884 lt_cv_sys_max_cmd_len=8192;
4888 # On AmigaOS with pdksh, this test takes hours, literally.
4889 # So we just punt and use a minimum line length of 8192.
4890 lt_cv_sys_max_cmd_len=8192;
4893 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4894 # This has been around since 386BSD, at least. Likely further.
4895 if test -x /sbin/sysctl; then
4896 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4897 elif test -x /usr/sbin/sysctl; then
4898 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4900 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4902 # And add a safety zone
4903 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4904 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4908 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4909 lt_cv_sys_max_cmd_len=196608
4913 # The test takes a long time on OS/2.
4914 lt_cv_sys_max_cmd_len=8192
4918 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4919 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4920 # nice to cause kernel panics so lets avoid the loop below.
4921 # First set a reasonable default.
4922 lt_cv_sys_max_cmd_len=16384
4924 if test -x /sbin/sysconfig; then
4925 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4926 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4931 lt_cv_sys_max_cmd_len=102400
4933 sysv5* | sco5v6* | sysv4.2uw2*)
4934 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4935 if test -n "$kargmax"; then
4936 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4938 lt_cv_sys_max_cmd_len=32768
4942 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4943 if test -n "$lt_cv_sys_max_cmd_len" && \
4944 test undefined != "$lt_cv_sys_max_cmd_len"; then
4945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4948 # Make teststring a little bigger before we do anything with it.
4949 # a 1K string should be a reasonable start.
4950 for i in 1 2 3 4 5 6 7 8; do
4951 teststring=$teststring$teststring
4953 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4954 # If test is not a shell built-in, we'll probably end up computing a
4955 # maximum length that is only half of the actual maximum length, but
4957 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4958 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4959 test 17 != "$i" # 1/2 MB should be enough
4962 teststring=$teststring$teststring
4964 # Only check the string length outside the loop.
4965 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4967 # Add a significant safety factor because C++ compilers can tack on
4968 # massive amounts of additional arguments before passing them to the
4969 # linker. It appears as though 1/2 is a usable value.
4970 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4977 if test -n "$lt_cv_sys_max_cmd_len"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4979 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4982 $as_echo "none
" >&6; }
4984 max_cmd_len=$lt_cv_sys_max_cmd_len
4995 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5005 # test EBCDIC or ASCII
5006 case `echo X|tr X '\101'` in
5007 A) # ASCII based system
5008 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5009 lt_SP2NL='tr \040 \012'
5010 lt_NL2SP='tr \015\012 \040\040'
5012 *) # EBCDIC based system
5013 lt_SP2NL='tr \100 \n'
5014 lt_NL2SP='tr \r\n \100\100'
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5027 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5028 if ${lt_cv_to_host_file_cmd+:} false; then :
5029 $as_echo_n "(cached
) " >&6
5034 *-*-mingw* ) # actually msys
5035 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5038 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5040 * ) # otherwise, assume *nix
5041 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5047 *-*-mingw* ) # actually msys
5048 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5051 lt_cv_to_host_file_cmd=func_convert_file_noop
5053 * ) # otherwise, assume *nix
5054 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5058 * ) # unhandled hosts (and "normal
" native builds)
5059 lt_cv_to_host_file_cmd=func_convert_file_noop
5065 to_host_file_cmd=$lt_cv_to_host_file_cmd
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5067 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5074 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5075 if ${lt_cv_to_tool_file_cmd+:} false; then :
5076 $as_echo_n "(cached
) " >&6
5078 #assume ordinary cross tools, or native build.
5079 lt_cv_to_tool_file_cmd=func_convert_file_noop
5083 *-*-mingw* ) # actually msys
5084 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5092 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5094 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5101 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5102 if ${lt_cv_ld_reload_flag+:} false; then :
5103 $as_echo_n "(cached
) " >&6
5105 lt_cv_ld_reload_flag='-r'
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5108 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5109 reload_flag=$lt_cv_ld_reload_flag
5110 case $reload_flag in
5112 *) reload_flag=" $reload_flag" ;;
5114 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5116 cygwin* | mingw* | pw32* | cegcc*)
5117 if test yes != "$GCC"; then
5122 if test yes = "$GCC"; then
5123 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5125 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5138 if test -n "$ac_tool_prefix"; then
5139 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5140 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5142 $as_echo_n "checking
for $ac_word...
" >&6; }
5143 if ${ac_cv_prog_OBJDUMP+:} false; then :
5144 $as_echo_n "(cached
) " >&6
5146 if test -n "$OBJDUMP"; then
5147 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5166 OBJDUMP=$ac_cv_prog_OBJDUMP
5167 if test -n "$OBJDUMP"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5169 $as_echo "$OBJDUMP" >&6; }
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5172 $as_echo "no
" >&6; }
5177 if test -z "$ac_cv_prog_OBJDUMP"; then
5178 ac_ct_OBJDUMP=$OBJDUMP
5179 # Extract the first word of "objdump
", so it can be a program name with args.
5180 set dummy objdump; ac_word=$2
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5182 $as_echo_n "checking
for $ac_word...
" >&6; }
5183 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5184 $as_echo_n "(cached
) " >&6
5186 if test -n "$ac_ct_OBJDUMP"; then
5187 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5206 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5207 if test -n "$ac_ct_OBJDUMP"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5209 $as_echo "$ac_ct_OBJDUMP" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5212 $as_echo "no
" >&6; }
5215 if test "x
$ac_ct_OBJDUMP" = x; then
5218 case $cross_compiling:$ac_tool_warned in
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5221 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5222 ac_tool_warned=yes ;;
5224 OBJDUMP=$ac_ct_OBJDUMP
5227 OBJDUMP="$ac_cv_prog_OBJDUMP"
5230 test -z "$OBJDUMP" && OBJDUMP=objdump
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5241 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5242 if ${lt_cv_deplibs_check_method+:} false; then :
5243 $as_echo_n "(cached
) " >&6
5245 lt_cv_file_magic_cmd='$MAGIC_CMD'
5246 lt_cv_file_magic_test_file=
5247 lt_cv_deplibs_check_method='unknown'
5248 # Need to set the preceding variable on all platforms that support
5249 # interlibrary dependencies.
5250 # 'none' -- dependencies not supported.
5251 # 'unknown' -- same as none, but documents that we really don't know.
5252 # 'pass_all' -- all dependencies passed with no checks.
5253 # 'test_compile' -- check by making test program.
5254 # 'file_magic [[regex]]' -- check by looking for files in library path
5255 # that responds to the $file_magic_cmd with a given extended regex.
5256 # If you have 'file' or equivalent on your system and you're not sure
5257 # whether 'pass_all' will *always* work, you probably want this one.
5261 lt_cv_deplibs_check_method=pass_all
5265 lt_cv_deplibs_check_method=pass_all
5269 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5270 lt_cv_file_magic_cmd='/usr/bin/file -L'
5271 lt_cv_file_magic_test_file=/shlib/libc.so
5275 # func_win32_libid is a shell function defined in ltmain.sh
5276 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5277 lt_cv_file_magic_cmd='func_win32_libid'
5281 # Base MSYS/MinGW do not provide the 'file' command needed by
5282 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5283 # unless we find 'file', for example because we are cross-compiling.
5284 if ( file / ) >/dev/null 2>&1; then
5285 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5286 lt_cv_file_magic_cmd='func_win32_libid'
5288 # Keep this pattern in sync with the one in func_win32_libid.
5289 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5290 lt_cv_file_magic_cmd='$OBJDUMP -f'
5295 # use the weaker test based on 'objdump'. See mingw*.
5296 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5297 lt_cv_file_magic_cmd='$OBJDUMP -f'
5300 darwin* | rhapsody*)
5301 lt_cv_deplibs_check_method=pass_all
5304 freebsd* | dragonfly*)
5305 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5308 # Not sure whether the presence of OpenBSD here was a mistake.
5309 # Let's accept both of them until this is cleared up.
5310 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5311 lt_cv_file_magic_cmd=/usr/bin/file
5312 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5316 lt_cv_deplibs_check_method=pass_all
5321 lt_cv_deplibs_check_method=pass_all
5324 hpux10.20* | hpux11*)
5325 lt_cv_file_magic_cmd=/usr/bin/file
5328 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5329 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5332 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]'
5333 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5336 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5337 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5343 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5344 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5347 irix5* | irix6* | nonstopux*)
5349 *-32|*"-32 ") libmagic=32-bit;;
5350 *-n32|*"-n32 ") libmagic=N32;;
5351 *-64|*"-64 ") libmagic=64-bit;;
5352 *) libmagic=never-match;;
5354 lt_cv_deplibs_check_method=pass_all
5357 # This must be glibc/ELF.
5358 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5359 lt_cv_deplibs_check_method=pass_all
5363 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5364 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5366 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5371 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5372 lt_cv_file_magic_cmd=/usr/bin/file
5373 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5377 lt_cv_deplibs_check_method=pass_all
5381 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5382 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5384 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5388 osf3* | osf4* | osf5*)
5389 lt_cv_deplibs_check_method=pass_all
5393 lt_cv_deplibs_check_method=pass_all
5397 lt_cv_deplibs_check_method=pass_all
5400 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5401 lt_cv_deplibs_check_method=pass_all
5405 case $host_vendor in
5407 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]'
5408 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5411 lt_cv_deplibs_check_method=pass_all
5414 lt_cv_file_magic_cmd='/bin/file'
5415 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5418 lt_cv_file_magic_cmd='/bin/file'
5419 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5420 lt_cv_file_magic_test_file=/lib/libc.so
5423 lt_cv_deplibs_check_method=pass_all
5426 lt_cv_deplibs_check_method=pass_all
5432 lt_cv_deplibs_check_method=pass_all
5435 lt_cv_deplibs_check_method=pass_all
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5441 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5445 if test "$build" = "$host"; then
5448 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5451 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5457 file_magic_cmd=$lt_cv_file_magic_cmd
5458 deplibs_check_method=$lt_cv_deplibs_check_method
5459 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5482 if test -n "$ac_tool_prefix"; then
5483 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5484 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5486 $as_echo_n "checking
for $ac_word...
" >&6; }
5487 if ${ac_cv_prog_DLLTOOL+:} false; then :
5488 $as_echo_n "(cached
) " >&6
5490 if test -n "$DLLTOOL"; then
5491 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5510 DLLTOOL=$ac_cv_prog_DLLTOOL
5511 if test -n "$DLLTOOL"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5513 $as_echo "$DLLTOOL" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5516 $as_echo "no
" >&6; }
5521 if test -z "$ac_cv_prog_DLLTOOL"; then
5522 ac_ct_DLLTOOL=$DLLTOOL
5523 # Extract the first word of "dlltool
", so it can be a program name with args.
5524 set dummy dlltool; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5526 $as_echo_n "checking
for $ac_word...
" >&6; }
5527 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5528 $as_echo_n "(cached
) " >&6
5530 if test -n "$ac_ct_DLLTOOL"; then
5531 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5550 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5551 if test -n "$ac_ct_DLLTOOL"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5553 $as_echo "$ac_ct_DLLTOOL" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5556 $as_echo "no
" >&6; }
5559 if test "x
$ac_ct_DLLTOOL" = x; then
5562 case $cross_compiling:$ac_tool_warned in
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5565 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5566 ac_tool_warned=yes ;;
5568 DLLTOOL=$ac_ct_DLLTOOL
5571 DLLTOOL="$ac_cv_prog_DLLTOOL"
5574 test -z "$DLLTOOL" && DLLTOOL=dlltool
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5586 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5587 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5588 $as_echo_n "(cached
) " >&6
5590 lt_cv_sharedlib_from_linklib_cmd='unknown'
5593 cygwin* | mingw* | pw32* | cegcc*)
5594 # two different shell functions defined in ltmain.sh;
5595 # decide which one to use based on capabilities of $DLLTOOL
5596 case `$DLLTOOL --help 2>&1` in
5597 *--identify-strict*)
5598 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5601 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5606 # fallback: assume linklib IS sharedlib
5607 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5613 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5614 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5615 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5624 if test -n "$ac_tool_prefix"; then
5627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5630 $as_echo_n "checking
for $ac_word...
" >&6; }
5631 if ${ac_cv_prog_AR+:} false; then :
5632 $as_echo_n "(cached
) " >&6
5634 if test -n "$AR"; then
5635 ac_cv_prog_AR="$AR" # Let the user override the test.
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5655 if test -n "$AR"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5657 $as_echo "$AR" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5660 $as_echo "no
" >&6; }
5664 test -n "$AR" && break
5667 if test -z "$AR"; then
5671 # Extract the first word of "$ac_prog", so it can be a program name with args.
5672 set dummy $ac_prog; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5674 $as_echo_n "checking
for $ac_word...
" >&6; }
5675 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5676 $as_echo_n "(cached
) " >&6
5678 if test -n "$ac_ct_AR"; then
5679 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_ac_ct_AR="$ac_prog"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5698 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5699 if test -n "$ac_ct_AR"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5701 $as_echo "$ac_ct_AR" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5704 $as_echo "no
" >&6; }
5708 test -n "$ac_ct_AR" && break
5711 if test "x
$ac_ct_AR" = x; then
5714 case $cross_compiling:$ac_tool_warned in
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5717 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5718 ac_tool_warned=yes ;;
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5738 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5739 if ${lt_cv_ar_at_file+:} false; then :
5740 $as_echo_n "(cached
) " >&6
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5754 if ac_fn_c_try_compile "$LINENO"; then :
5755 echo conftest.$ac_objext > conftest.lst
5756 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5757 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5758 (eval $lt_ar_try) 2>&5
5760 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5761 test $ac_status = 0; }
5762 if test 0 -eq "$ac_status"; then
5763 # Ensure the archiver fails upon bogus file names.
5764 rm -f conftest.$ac_objext libconftest.a
5765 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5766 (eval $lt_ar_try) 2>&5
5768 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5769 test $ac_status = 0; }
5770 if test 0 -ne "$ac_status"; then
5774 rm -f conftest.* libconftest.a
5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5781 $as_echo "$lt_cv_ar_at_file" >&6; }
5783 if test no = "$lt_cv_ar_at_file"; then
5786 archiver_list_spec=$lt_cv_ar_at_file
5795 if test -n "$ac_tool_prefix"; then
5796 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5797 set dummy ${ac_tool_prefix}strip; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5799 $as_echo_n "checking
for $ac_word...
" >&6; }
5800 if ${ac_cv_prog_STRIP+:} false; then :
5801 $as_echo_n "(cached
) " >&6
5803 if test -n "$STRIP"; then
5804 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5823 STRIP=$ac_cv_prog_STRIP
5824 if test -n "$STRIP"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5826 $as_echo "$STRIP" >&6; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5829 $as_echo "no
" >&6; }
5834 if test -z "$ac_cv_prog_STRIP"; then
5836 # Extract the first word of "strip
", so it can be a program name with args.
5837 set dummy strip; ac_word=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5839 $as_echo_n "checking
for $ac_word...
" >&6; }
5840 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5841 $as_echo_n "(cached
) " >&6
5843 if test -n "$ac_ct_STRIP"; then
5844 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_ac_ct_STRIP="strip
"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5863 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5864 if test -n "$ac_ct_STRIP"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5866 $as_echo "$ac_ct_STRIP" >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5869 $as_echo "no
" >&6; }
5872 if test "x
$ac_ct_STRIP" = x; then
5875 case $cross_compiling:$ac_tool_warned in
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5878 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5879 ac_tool_warned=yes ;;
5884 STRIP="$ac_cv_prog_STRIP"
5887 test -z "$STRIP" && STRIP=:
5894 if test -n "$ac_tool_prefix"; then
5895 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5896 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5898 $as_echo_n "checking
for $ac_word...
" >&6; }
5899 if ${ac_cv_prog_RANLIB+:} false; then :
5900 $as_echo_n "(cached
) " >&6
5902 if test -n "$RANLIB"; then
5903 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5922 RANLIB=$ac_cv_prog_RANLIB
5923 if test -n "$RANLIB"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5925 $as_echo "$RANLIB" >&6; }
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5928 $as_echo "no
" >&6; }
5933 if test -z "$ac_cv_prog_RANLIB"; then
5934 ac_ct_RANLIB=$RANLIB
5935 # Extract the first word of "ranlib
", so it can be a program name with args.
5936 set dummy ranlib; ac_word=$2
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5938 $as_echo_n "checking
for $ac_word...
" >&6; }
5939 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5940 $as_echo_n "(cached
) " >&6
5942 if test -n "$ac_ct_RANLIB"; then
5943 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5962 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5963 if test -n "$ac_ct_RANLIB"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5965 $as_echo "$ac_ct_RANLIB" >&6; }
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5968 $as_echo "no
" >&6; }
5971 if test "x
$ac_ct_RANLIB" = x; then
5974 case $cross_compiling:$ac_tool_warned in
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5977 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5978 ac_tool_warned=yes ;;
5980 RANLIB=$ac_ct_RANLIB
5983 RANLIB="$ac_cv_prog_RANLIB"
5986 test -z "$RANLIB" && RANLIB=:
5993 # Determine commands to create old-style static archives.
5994 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5995 old_postinstall_cmds='chmod 644 $oldlib'
5996 old_postuninstall_cmds=
5998 if test -n "$RANLIB"; then
6001 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6004 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6007 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6012 lock_old_archive_extraction=yes ;;
6014 lock_old_archive_extraction=no ;;
6055 # If no C compiler was specified, use CC.
6058 # If no C compiler flags were specified, use CFLAGS.
6059 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6061 # Allow CC to be a program name with arguments.
6065 # Check for command to grab the raw symbol name followed by C symbol from nm.
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6067 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6068 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6069 $as_echo_n "(cached
) " >&6
6072 # These are sane defaults that work on at least a few old systems.
6073 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6075 # Character class describing NM global symbol codes.
6076 symcode='[BCDEGRST]'
6078 # Regexp to match symbols that can be accessed directly from C.
6079 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6081 # Define system-specific variables.
6086 cygwin* | mingw* | pw32* | cegcc*)
6087 symcode='[ABCDGISTW]'
6090 if test ia64 = "$host_cpu"; then
6091 symcode='[ABCDEGRST]'
6095 symcode='[BCDEGRST]'
6098 symcode='[BCDEGQRST]'
6109 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6117 # If we're using GNU nm, then use its standard symbol codes.
6118 case `$NM -V 2>&1` in
6119 *GNU* | *'with BFD'*)
6120 symcode='[ABCDGIRSTW]' ;;
6123 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6124 # Gets list of data symbols to import.
6125 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6126 # Adjust the below global symbol transforms to fixup imported variables.
6127 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6128 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6129 lt_c_name_lib_hook="\
6130 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6131 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6133 # Disable hooks by default.
6134 lt_cv_sys_global_symbol_to_import=
6140 # Transform an extracted symbol line into a proper C declaration.
6141 # Some systems (esp. on ia64) link data and code symbols differently,
6142 # so use this general approach.
6143 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6145 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6146 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6148 # Transform an extracted symbol line into symbol name and symbol address
6149 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6151 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6152 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6154 # Transform an extracted symbol line into symbol name with lib prefix and
6156 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6157 $lt_c_name_lib_hook\
6158 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6159 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6160 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6162 # Handle CRLF in mingw tool chain
6166 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6170 # Try without a prefix underscore, then with it.
6171 for ac_symprfx in "" "_
"; do
6173 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6174 symxfrm="\\1 $ac_symprfx\\2 \\2"
6176 # Write the raw and C identifiers.
6177 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6178 # Fake it for dumpbin and say T for any non-static function,
6179 # D for any global variable and I for any imported variable.
6180 # Also find C++ and __fastcall symbols from MSVC++,
6181 # which start with @ or ?.
6182 lt_cv_sys_global_symbol_pipe="$AWK '"\
6183 " {last_section=section; section=\$ 3};"\
6184 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6185 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6186 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6187 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6188 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6189 " \$ 0!~/External *\|/{next};"\
6190 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6191 " {if(hide[section]) next};"\
6192 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6193 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6194 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6195 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6196 " ' prfx
=^
$ac_symprfx"
6198 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6200 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6202 # Check to see that the pipe works correctly.
6206 cat > conftest.$ac_ext <<_LT_EOF
6211 void nm_test_func(void);
6212 void nm_test_func(void){}
6216 int main(){nm_test_var='a';nm_test_func();return(0);}
6219 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6220 (eval $ac_compile) 2>&5
6222 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6223 test $ac_status = 0; }; then
6224 # Now try to grab the symbols.
6226 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6227 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6229 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6230 test $ac_status = 0; } && test -s "$nlist"; then
6231 # Try sorting and uniquifying the output.
6232 if sort "$nlist" | uniq > "$nlist"T; then
6233 mv -f "$nlist"T "$nlist"
6238 # Make sure that we snagged all the symbols we need.
6239 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6240 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6241 cat <<_LT_EOF > conftest.$ac_ext
6242 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6243 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6244 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6245 relocations are performed -- see ld's documentation on pseudo-relocs. */
6246 # define LT_DLSYM_CONST
6247 #elif defined __osf__
6248 /* This system does not cope well with relocations in const data. */
6249 # define LT_DLSYM_CONST
6251 # define LT_DLSYM_CONST const
6259 # Now generate the symbol file.
6260 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6262 cat <<_LT_EOF >> conftest.$ac_ext
6264 /* The mapping between symbol names and symbols. */
6265 LT_DLSYM_CONST struct {
6269 lt__PROGRAM__LTX_preloaded_symbols[] =
6271 { "@PROGRAM@
", (void *) 0 },
6273 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6274 cat <<\_LT_EOF >> conftest.$ac_ext
6278 /* This works around a problem in FreeBSD linker */
6279 #ifdef FREEBSD_WORKAROUND
6280 static const void *lt_preloaded_setup() {
6281 return lt__PROGRAM__LTX_preloaded_symbols;
6289 # Now try linking the two files.
6290 mv conftest.$ac_objext conftstm.$ac_objext
6291 lt_globsym_save_LIBS=$LIBS
6292 lt_globsym_save_CFLAGS=$CFLAGS
6293 LIBS=conftstm.$ac_objext
6294 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6295 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6296 (eval $ac_link) 2>&5
6298 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6299 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6302 LIBS=$lt_globsym_save_LIBS
6303 CFLAGS=$lt_globsym_save_CFLAGS
6305 echo "cannot
find nm_test_func
in $nlist" >&5
6308 echo "cannot
find nm_test_var
in $nlist" >&5
6311 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6314 echo "$progname: failed program was
:" >&5
6315 cat conftest.$ac_ext >&5
6317 rm -rf conftest* conftst*
6319 # Do not use the global_symbol_pipe unless it works.
6320 if test yes = "$pipe_works"; then
6323 lt_cv_sys_global_symbol_pipe=
6329 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6330 lt_cv_sys_global_symbol_to_cdecl=
6332 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6334 $as_echo "failed
" >&6; }
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6337 $as_echo "ok
" >&6; }
6340 # Response file support.
6341 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6342 nm_file_list_spec='@'
6343 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6344 nm_file_list_spec='@'
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6384 $as_echo_n "checking
for sysroot...
" >&6; }
6386 # Check whether --with-sysroot was given.
6387 if test "${with_sysroot+set}" = set; then :
6388 withval=$with_sysroot;
6395 case $with_sysroot in #(
6397 if test yes = "$GCC"; then
6398 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6402 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6408 $as_echo "$with_sysroot" >&6; }
6409 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6414 $as_echo "${lt_sysroot:-no}" >&6; }
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6421 $as_echo_n "checking
for a working
dd...
" >&6; }
6422 if ${ac_cv_path_lt_DD+:} false; then :
6423 $as_echo_n "(cached
) " >&6
6425 printf 0123456789abcdef0123456789abcdef >conftest.i
6426 cat conftest.i conftest.i >conftest2.i
6428 if test -z "$lt_DD"; then
6429 ac_path_lt_DD_found=false
6430 # Loop through the user's path and test for each of PROGNAME-LIST
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir=.
6436 for ac_prog in dd; do
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6439 as_fn_executable_p "$ac_path_lt_DD" || continue
6440 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6441 cmp -s conftest.i conftest.out \
6442 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6444 $ac_path_lt_DD_found && break 3
6449 if test -z "$ac_cv_path_lt_DD"; then
6453 ac_cv_path_lt_DD=$lt_DD
6456 rm -f conftest.i conftest2.i conftest.out
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6459 $as_echo "$ac_cv_path_lt_DD" >&6; }
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6463 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6464 if ${lt_cv_truncate_bin+:} false; then :
6465 $as_echo_n "(cached
) " >&6
6467 printf 0123456789abcdef0123456789abcdef >conftest.i
6468 cat conftest.i conftest.i >conftest2.i
6470 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6471 cmp -s conftest.i conftest.out \
6472 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6474 rm -f conftest.i conftest2.i conftest.out
6475 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6478 $as_echo "$lt_cv_truncate_bin" >&6; }
6486 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6489 for cc_temp in $*""; do
6491 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6492 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6497 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6500 # Check whether --enable-libtool-lock was given.
6501 if test "${enable_libtool_lock+set}" = set; then :
6502 enableval=$enable_libtool_lock;
6505 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6507 # Some flags need to be propagated to the compiler or linker for good
6511 # Find out what ABI is being produced by ac_compile, and set mode
6512 # options accordingly.
6513 echo 'int i;' > conftest.$ac_ext
6514 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6515 (eval $ac_compile) 2>&5
6517 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6518 test $ac_status = 0; }; then
6519 case `/usr/bin/file conftest.$ac_objext` in
6531 # Find out what ABI is being produced by ac_compile, and set linker
6532 # options accordingly.
6533 echo '#line '$LINENO' "configure
"' > 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 if test yes = "$lt_cv_prog_gnu_ld"; then
6540 case `/usr/bin/file conftest.$ac_objext` in
6542 LD="${LD-ld} -melf32bsmip"
6545 LD="${LD-ld} -melf32bmipn32"
6548 LD="${LD-ld} -melf64bmip"
6552 case `/usr/bin/file conftest.$ac_objext` in
6569 # Find out what ABI is being produced by ac_compile, and set linker
6570 # options accordingly.
6571 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6572 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6573 (eval $ac_compile) 2>&5
6575 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6576 test $ac_status = 0; }; then
6578 case `/usr/bin/file conftest.$ac_objext` in
6586 case `/usr/bin/file conftest.$ac_objext` in
6588 emul="${emul}btsmip
"
6591 emul="${emul}ltsmip
"
6594 case `/usr/bin/file conftest.$ac_objext` in
6599 LD="${LD-ld} -m $emul"
6604 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6605 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6606 # Find out what ABI is being produced by ac_compile, and set linker
6607 # options accordingly. Note that the listed cases only cover the
6608 # situations where additional linker options are needed (such as when
6609 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6610 # vice versa); the common cases where no linker options are needed do
6611 # not appear in the list.
6612 echo 'int i;' > conftest.$ac_ext
6613 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6614 (eval $ac_compile) 2>&5
6616 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6617 test $ac_status = 0; }; then
6618 case `/usr/bin/file conftest.o` in
6621 x86_64-*kfreebsd*-gnu)
6622 LD="${LD-ld} -m elf_i386_fbsd
"
6625 case `/usr/bin/file conftest.o` in
6627 LD="${LD-ld} -m elf32_x86_64
"
6630 LD="${LD-ld} -m elf_i386
"
6634 powerpc64le-*linux*)
6635 LD="${LD-ld} -m elf32lppclinux
"
6638 LD="${LD-ld} -m elf32ppclinux
"
6641 LD="${LD-ld} -m elf_s390
"
6644 LD="${LD-ld} -m elf32_sparc
"
6650 x86_64-*kfreebsd*-gnu)
6651 LD="${LD-ld} -m elf_x86_64_fbsd
"
6654 LD="${LD-ld} -m elf_x86_64
"
6657 LD="${LD-ld} -m elf64lppc
"
6660 LD="${LD-ld} -m elf64ppc
"
6662 s390*-*linux*|s390*-*tpf*)
6663 LD="${LD-ld} -m elf64_s390
"
6666 LD="${LD-ld} -m elf64_sparc
"
6676 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6678 CFLAGS="$CFLAGS -belf"
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6680 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6681 if ${lt_cv_cc_needs_belf+:} false; then :
6682 $as_echo_n "(cached
) " >&6
6685 ac_cpp='$CPP $CPPFLAGS'
6686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6701 if ac_fn_c_try_link "$LINENO"; then :
6702 lt_cv_cc_needs_belf=yes
6704 lt_cv_cc_needs_belf=no
6706 rm -f core conftest.err conftest.$ac_objext \
6707 conftest$ac_exeext conftest.$ac_ext
6709 ac_cpp='$CPP $CPPFLAGS'
6710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6716 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6717 if test yes != "$lt_cv_cc_needs_belf"; then
6718 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6723 # Find out what ABI is being produced by ac_compile, and set linker
6724 # options accordingly.
6725 echo 'int i;' > conftest.$ac_ext
6726 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6727 (eval $ac_compile) 2>&5
6729 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6730 test $ac_status = 0; }; then
6731 case `/usr/bin/file conftest.o` in
6733 case $lt_cv_prog_gnu_ld in
6736 i?86-*-solaris*|x86_64-*-solaris*)
6737 LD="${LD-ld} -m elf_x86_64
"
6740 LD="${LD-ld} -m elf64_sparc
"
6743 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6744 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6749 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6761 need_locks=$enable_libtool_lock
6763 if test -n "$ac_tool_prefix"; then
6764 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6765 set dummy ${ac_tool_prefix}mt; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6767 $as_echo_n "checking
for $ac_word...
" >&6; }
6768 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6769 $as_echo_n "(cached
) " >&6
6771 if test -n "$MANIFEST_TOOL"; then
6772 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir=.
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6781 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6791 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6792 if test -n "$MANIFEST_TOOL"; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6794 $as_echo "$MANIFEST_TOOL" >&6; }
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6797 $as_echo "no
" >&6; }
6802 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6803 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6804 # Extract the first word of "mt
", so it can be a program name with args.
6805 set dummy mt; ac_word=$2
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6807 $as_echo_n "checking
for $ac_word...
" >&6; }
6808 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6809 $as_echo_n "(cached
) " >&6
6811 if test -n "$ac_ct_MANIFEST_TOOL"; then
6812 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6818 test -z "$as_dir" && as_dir=.
6819 for ac_exec_ext in '' $ac_executable_extensions; do
6820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6821 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6831 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6832 if test -n "$ac_ct_MANIFEST_TOOL"; then
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6834 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6837 $as_echo "no
" >&6; }
6840 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6843 case $cross_compiling:$ac_tool_warned in
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6846 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6847 ac_tool_warned=yes ;;
6849 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6852 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6855 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6857 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6858 if ${lt_cv_path_mainfest_tool+:} false; then :
6859 $as_echo_n "(cached
) " >&6
6861 lt_cv_path_mainfest_tool=no
6862 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6863 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6864 cat conftest.err >&5
6865 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6866 lt_cv_path_mainfest_tool=yes
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6871 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6872 if test yes != "$lt_cv_path_mainfest_tool"; then
6882 rhapsody* | darwin*)
6883 if test -n "$ac_tool_prefix"; then
6884 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6885 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6887 $as_echo_n "checking
for $ac_word...
" >&6; }
6888 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6889 $as_echo_n "(cached
) " >&6
6891 if test -n "$DSYMUTIL"; then
6892 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898 test -z "$as_dir" && as_dir=.
6899 for ac_exec_ext in '' $ac_executable_extensions; do
6900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6901 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6902 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6911 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6912 if test -n "$DSYMUTIL"; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6914 $as_echo "$DSYMUTIL" >&6; }
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6917 $as_echo "no
" >&6; }
6922 if test -z "$ac_cv_prog_DSYMUTIL"; then
6923 ac_ct_DSYMUTIL=$DSYMUTIL
6924 # Extract the first word of "dsymutil
", so it can be a program name with args.
6925 set dummy dsymutil; ac_word=$2
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6927 $as_echo_n "checking
for $ac_word...
" >&6; }
6928 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6929 $as_echo_n "(cached
) " >&6
6931 if test -n "$ac_ct_DSYMUTIL"; then
6932 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 test -z "$as_dir" && as_dir=.
6939 for ac_exec_ext in '' $ac_executable_extensions; do
6940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6941 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6951 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6952 if test -n "$ac_ct_DSYMUTIL"; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6954 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6957 $as_echo "no
" >&6; }
6960 if test "x
$ac_ct_DSYMUTIL" = x; then
6963 case $cross_compiling:$ac_tool_warned in
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6966 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6967 ac_tool_warned=yes ;;
6969 DSYMUTIL=$ac_ct_DSYMUTIL
6972 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6975 if test -n "$ac_tool_prefix"; then
6976 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6977 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6979 $as_echo_n "checking
for $ac_word...
" >&6; }
6980 if ${ac_cv_prog_NMEDIT+:} false; then :
6981 $as_echo_n "(cached
) " >&6
6983 if test -n "$NMEDIT"; then
6984 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6993 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7003 NMEDIT=$ac_cv_prog_NMEDIT
7004 if test -n "$NMEDIT"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7006 $as_echo "$NMEDIT" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7009 $as_echo "no
" >&6; }
7014 if test -z "$ac_cv_prog_NMEDIT"; then
7015 ac_ct_NMEDIT=$NMEDIT
7016 # Extract the first word of "nmedit
", so it can be a program name with args.
7017 set dummy nmedit; ac_word=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7019 $as_echo_n "checking
for $ac_word...
" >&6; }
7020 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7021 $as_echo_n "(cached
) " >&6
7023 if test -n "$ac_ct_NMEDIT"; then
7024 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 test -z "$as_dir" && as_dir=.
7031 for ac_exec_ext in '' $ac_executable_extensions; do
7032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7043 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7044 if test -n "$ac_ct_NMEDIT"; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7046 $as_echo "$ac_ct_NMEDIT" >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7049 $as_echo "no
" >&6; }
7052 if test "x
$ac_ct_NMEDIT" = x; then
7055 case $cross_compiling:$ac_tool_warned in
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7058 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7059 ac_tool_warned=yes ;;
7061 NMEDIT=$ac_ct_NMEDIT
7064 NMEDIT="$ac_cv_prog_NMEDIT"
7067 if test -n "$ac_tool_prefix"; then
7068 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7069 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7071 $as_echo_n "checking
for $ac_word...
" >&6; }
7072 if ${ac_cv_prog_LIPO+:} false; then :
7073 $as_echo_n "(cached
) " >&6
7075 if test -n "$LIPO"; then
7076 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7082 test -z "$as_dir" && as_dir=.
7083 for ac_exec_ext in '' $ac_executable_extensions; do
7084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7085 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7095 LIPO=$ac_cv_prog_LIPO
7096 if test -n "$LIPO"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7098 $as_echo "$LIPO" >&6; }
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7101 $as_echo "no
" >&6; }
7106 if test -z "$ac_cv_prog_LIPO"; then
7108 # Extract the first word of "lipo
", so it can be a program name with args.
7109 set dummy lipo; ac_word=$2
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7111 $as_echo_n "checking
for $ac_word...
" >&6; }
7112 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7113 $as_echo_n "(cached
) " >&6
7115 if test -n "$ac_ct_LIPO"; then
7116 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 test -z "$as_dir" && as_dir=.
7123 for ac_exec_ext in '' $ac_executable_extensions; do
7124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7125 ac_cv_prog_ac_ct_LIPO="lipo
"
7126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7135 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7136 if test -n "$ac_ct_LIPO"; then
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7138 $as_echo "$ac_ct_LIPO" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7141 $as_echo "no
" >&6; }
7144 if test "x
$ac_ct_LIPO" = x; then
7147 case $cross_compiling:$ac_tool_warned in
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7150 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7151 ac_tool_warned=yes ;;
7156 LIPO="$ac_cv_prog_LIPO"
7159 if test -n "$ac_tool_prefix"; then
7160 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7161 set dummy ${ac_tool_prefix}otool; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7163 $as_echo_n "checking
for $ac_word...
" >&6; }
7164 if ${ac_cv_prog_OTOOL+:} false; then :
7165 $as_echo_n "(cached
) " >&6
7167 if test -n "$OTOOL"; then
7168 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 test -z "$as_dir" && as_dir=.
7175 for ac_exec_ext in '' $ac_executable_extensions; do
7176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7177 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7187 OTOOL=$ac_cv_prog_OTOOL
7188 if test -n "$OTOOL"; then
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7190 $as_echo "$OTOOL" >&6; }
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7193 $as_echo "no
" >&6; }
7198 if test -z "$ac_cv_prog_OTOOL"; then
7200 # Extract the first word of "otool
", so it can be a program name with args.
7201 set dummy otool; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7203 $as_echo_n "checking
for $ac_word...
" >&6; }
7204 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7205 $as_echo_n "(cached
) " >&6
7207 if test -n "$ac_ct_OTOOL"; then
7208 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir=.
7215 for ac_exec_ext in '' $ac_executable_extensions; do
7216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7217 ac_cv_prog_ac_ct_OTOOL="otool
"
7218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7227 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7228 if test -n "$ac_ct_OTOOL"; then
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7230 $as_echo "$ac_ct_OTOOL" >&6; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7233 $as_echo "no
" >&6; }
7236 if test "x
$ac_ct_OTOOL" = x; then
7239 case $cross_compiling:$ac_tool_warned in
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7242 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7243 ac_tool_warned=yes ;;
7248 OTOOL="$ac_cv_prog_OTOOL"
7251 if test -n "$ac_tool_prefix"; then
7252 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7253 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7255 $as_echo_n "checking
for $ac_word...
" >&6; }
7256 if ${ac_cv_prog_OTOOL64+:} false; then :
7257 $as_echo_n "(cached
) " >&6
7259 if test -n "$OTOOL64"; then
7260 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 test -z "$as_dir" && as_dir=.
7267 for ac_exec_ext in '' $ac_executable_extensions; do
7268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7269 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7279 OTOOL64=$ac_cv_prog_OTOOL64
7280 if test -n "$OTOOL64"; then
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7282 $as_echo "$OTOOL64" >&6; }
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7285 $as_echo "no
" >&6; }
7290 if test -z "$ac_cv_prog_OTOOL64"; then
7291 ac_ct_OTOOL64=$OTOOL64
7292 # Extract the first word of "otool64
", so it can be a program name with args.
7293 set dummy otool64; ac_word=$2
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7295 $as_echo_n "checking
for $ac_word...
" >&6; }
7296 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7297 $as_echo_n "(cached
) " >&6
7299 if test -n "$ac_ct_OTOOL64"; then
7300 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 test -z "$as_dir" && as_dir=.
7307 for ac_exec_ext in '' $ac_executable_extensions; do
7308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7309 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7319 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7320 if test -n "$ac_ct_OTOOL64"; then
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7322 $as_echo "$ac_ct_OTOOL64" >&6; }
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7325 $as_echo "no
" >&6; }
7328 if test "x
$ac_ct_OTOOL64" = x; then
7331 case $cross_compiling:$ac_tool_warned in
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7334 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7335 ac_tool_warned=yes ;;
7337 OTOOL64=$ac_ct_OTOOL64
7340 OTOOL64="$ac_cv_prog_OTOOL64"
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7370 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7371 if ${lt_cv_apple_cc_single_mod+:} false; then :
7372 $as_echo_n "(cached
) " >&6
7374 lt_cv_apple_cc_single_mod=no
7375 if test -z "$LT_MULTI_MODULE"; then
7376 # By default we will add the -single_module flag. You can override
7377 # by either setting the environment variable LT_MULTI_MODULE
7378 # non-empty at configure time, or by adding -multi_module to the
7380 rm -rf libconftest.dylib*
7381 echo "int foo
(void
){return 1;}" > conftest.c
7382 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7383 -dynamiclib -Wl,-single_module conftest.c
" >&5
7384 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7385 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7387 # If there is a non-empty error log, and "single_module
"
7388 # appears in it, assume the flag caused a linker warning
7389 if test -s conftest.err && $GREP single_module conftest.err; then
7390 cat conftest.err >&5
7391 # Otherwise, if the output was created with a 0 exit code from
7392 # the compiler, it worked.
7393 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7394 lt_cv_apple_cc_single_mod=yes
7396 cat conftest.err >&5
7398 rm -rf libconftest.dylib*
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7403 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7406 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7407 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7408 $as_echo_n "(cached
) " >&6
7410 lt_cv_ld_exported_symbols_list=no
7411 save_LDFLAGS=$LDFLAGS
7412 echo "_main
" > conftest.sym
7413 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7415 /* end confdefs.h. */
7425 if ac_fn_c_try_link "$LINENO"; then :
7426 lt_cv_ld_exported_symbols_list=yes
7428 lt_cv_ld_exported_symbols_list=no
7430 rm -f core conftest.err conftest.$ac_objext \
7431 conftest$ac_exeext conftest.$ac_ext
7432 LDFLAGS=$save_LDFLAGS
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7436 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7439 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7440 if ${lt_cv_ld_force_load+:} false; then :
7441 $as_echo_n "(cached
) " >&6
7443 lt_cv_ld_force_load=no
7444 cat > conftest.c << _LT_EOF
7445 int forced_loaded() { return 2;}
7447 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7448 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7449 echo "$AR cru libconftest.a conftest.o
" >&5
7450 $AR cru libconftest.a conftest.o 2>&5
7451 echo "$RANLIB libconftest.a
" >&5
7452 $RANLIB libconftest.a 2>&5
7453 cat > conftest.c << _LT_EOF
7454 int main() { return 0;}
7456 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7457 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7459 if test -s conftest.err && $GREP force_load conftest.err; then
7460 cat conftest.err >&5
7461 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7462 lt_cv_ld_force_load=yes
7464 cat conftest.err >&5
7466 rm -f conftest.err libconftest.a conftest conftest.c
7467 rm -rf conftest.dSYM
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7471 $as_echo "$lt_cv_ld_force_load" >&6; }
7473 rhapsody* | darwin1.[012])
7474 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7476 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7477 darwin*) # darwin 5.x on
7478 # if running on 10.5 or later, the deployment target defaults
7479 # to the OS version, if on x86, and 10.4, the deployment
7480 # target defaults to 10.4. Don't you love it?
7481 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7482 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7483 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7485 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7487 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7491 if test yes = "$lt_cv_apple_cc_single_mod"; then
7492 _lt_dar_single_mod='$single_module'
7494 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7495 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7497 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7499 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7500 _lt_dsymutil='~$DSYMUTIL $lib || :'
7507 # func_munge_path_list VARIABLE PATH
7508 # -----------------------------------
7509 # VARIABLE is name of variable containing _space_ separated list of
7510 # directories to be munged by the contents of PATH, which is string
7513 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7515 # string "DIR
[ DIR
]" will be appended to VARIABLE
7516 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7517 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7518 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7520 # VARIABLE will be replaced by "DIR
[ DIR
]"
7521 func_munge_path_list ()
7527 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7530 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7533 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7534 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7537 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7543 ac_cpp='$CPP $CPPFLAGS'
7544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7548 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7549 # On Suns, sometimes $CPP names a directory.
7550 if test -n "$CPP" && test -d "$CPP"; then
7553 if test -z "$CPP"; then
7554 if ${ac_cv_prog_CPP+:} false; then :
7555 $as_echo_n "(cached
) " >&6
7557 # Double quotes because CPP needs to be expanded
7558 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7561 for ac_c_preproc_warn_flag in '' yes
7563 # Use a header file that comes with gcc, so configuring glibc
7564 # with a fresh cross-compiler works.
7565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7566 # <limits.h> exists even on freestanding compilers.
7567 # On the NeXT, cc -E runs the code through the compiler's parser,
7568 # not just through cpp. "Syntax error
" is here to catch this case.
7569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7570 /* end confdefs.h. */
7572 # include <limits.h>
7574 # include <assert.h>
7578 if ac_fn_c_try_cpp "$LINENO"; then :
7581 # Broken: fails on valid input.
7584 rm -f conftest.err conftest.i conftest.$ac_ext
7586 # OK, works on sane cases. Now check whether nonexistent headers
7587 # can be detected and how.
7588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7590 #include <ac_nonexistent.h>
7592 if ac_fn_c_try_cpp "$LINENO"; then :
7593 # Broken: success on invalid input.
7596 # Passes both tests.
7600 rm -f conftest.err conftest.i conftest.$ac_ext
7603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7604 rm -f conftest.i conftest.err conftest.$ac_ext
7605 if $ac_preproc_ok; then :
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7618 $as_echo "$CPP" >&6; }
7620 for ac_c_preproc_warn_flag in '' yes
7622 # Use a header file that comes with gcc, so configuring glibc
7623 # with a fresh cross-compiler works.
7624 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7625 # <limits.h> exists even on freestanding compilers.
7626 # On the NeXT, cc -E runs the code through the compiler's parser,
7627 # not just through cpp. "Syntax error
" is here to catch this case.
7628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7629 /* end confdefs.h. */
7631 # include <limits.h>
7633 # include <assert.h>
7637 if ac_fn_c_try_cpp "$LINENO"; then :
7640 # Broken: fails on valid input.
7643 rm -f conftest.err conftest.i conftest.$ac_ext
7645 # OK, works on sane cases. Now check whether nonexistent headers
7646 # can be detected and how.
7647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7649 #include <ac_nonexistent.h>
7651 if ac_fn_c_try_cpp "$LINENO"; then :
7652 # Broken: success on invalid input.
7655 # Passes both tests.
7659 rm -f conftest.err conftest.i conftest.$ac_ext
7662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7663 rm -f conftest.i conftest.err conftest.$ac_ext
7664 if $ac_preproc_ok; then :
7667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7669 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7670 See \`config.log' for more details
" "$LINENO" 5; }
7674 ac_cpp='$CPP $CPPFLAGS'
7675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7681 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7682 if ${ac_cv_header_stdc+:} false; then :
7683 $as_echo_n "(cached
) " >&6
7685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7700 if ac_fn_c_try_compile "$LINENO"; then :
7701 ac_cv_header_stdc=yes
7703 ac_cv_header_stdc=no
7705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7707 if test $ac_cv_header_stdc = yes; then
7708 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7714 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7715 $EGREP "memchr
" >/dev/null 2>&1; then :
7718 ac_cv_header_stdc=no
7724 if test $ac_cv_header_stdc = yes; then
7725 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7727 /* end confdefs.h. */
7731 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7732 $EGREP "free
" >/dev/null 2>&1; then :
7735 ac_cv_header_stdc=no
7741 if test $ac_cv_header_stdc = yes; then
7742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7743 if test "$cross_compiling" = yes; then :
7746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7750 #if ((' ' & 0x0FF) == 0x020)
7751 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7752 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7754 # define ISLOWER(c) \
7755 (('a' <= (c) && (c) <= 'i') \
7756 || ('j' <= (c) && (c) <= 'r') \
7757 || ('s' <= (c) && (c) <= 'z'))
7758 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7761 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7766 for (i = 0; i < 256; i++)
7767 if (XOR (islower (i), ISLOWER (i))
7768 || toupper (i) != TOUPPER (i))
7773 if ac_fn_c_try_run "$LINENO"; then :
7776 ac_cv_header_stdc=no
7778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7779 conftest.$ac_objext conftest.beam conftest.$ac_ext
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7785 $as_echo "$ac_cv_header_stdc" >&6; }
7786 if test $ac_cv_header_stdc = yes; then
7788 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7792 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7793 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7794 inttypes.h stdint.h unistd.h
7796 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7797 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7799 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7800 cat >>confdefs.h
<<_ACEOF
7801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7809 for ac_header
in dlfcn.h
7811 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7813 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7814 cat >>confdefs.h
<<_ACEOF
7815 #define HAVE_DLFCN_H 1
7836 # Check whether --enable-shared was given.
7837 if test "${enable_shared+set}" = set; then :
7838 enableval
=$enable_shared; p
=${PACKAGE-default}
7840 yes) enable_shared
=yes ;;
7841 no
) enable_shared
=no
;;
7844 # Look at the argument we got. We use all the common list separators.
7845 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7846 for pkg
in $enableval; do
7848 if test "X$pkg" = "X$p"; then
7867 # Check whether --enable-static was given.
7868 if test "${enable_static+set}" = set; then :
7869 enableval
=$enable_static; p
=${PACKAGE-default}
7871 yes) enable_static
=yes ;;
7872 no
) enable_static
=no
;;
7875 # Look at the argument we got. We use all the common list separators.
7876 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7877 for pkg
in $enableval; do
7879 if test "X$pkg" = "X$p"; then
7899 # Check whether --with-pic was given.
7900 if test "${with_pic+set}" = set; then :
7901 withval
=$with_pic; lt_p
=${PACKAGE-default}
7903 yes|no
) pic_mode
=$withval ;;
7906 # Look at the argument we got. We use all the common list separators.
7907 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7908 for lt_pkg
in $withval; do
7910 if test "X$lt_pkg" = "X$lt_p"; then
7928 # Check whether --enable-fast-install was given.
7929 if test "${enable_fast_install+set}" = set; then :
7930 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7932 yes) enable_fast_install
=yes ;;
7933 no
) enable_fast_install
=no
;;
7935 enable_fast_install
=no
7936 # Look at the argument we got. We use all the common list separators.
7937 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7938 for pkg
in $enableval; do
7940 if test "X$pkg" = "X$p"; then
7941 enable_fast_install
=yes
7948 enable_fast_install
=yes
7958 shared_archive_member_spec
=
7959 case $host,$enable_shared in
7960 power
*-*-aix[5-9]*,yes)
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7962 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7964 # Check whether --with-aix-soname was given.
7965 if test "${with_aix_soname+set}" = set; then :
7966 withval
=$with_aix_soname; case $withval in
7970 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7973 lt_cv_with_aix_soname
=$with_aix_soname
7975 if ${lt_cv_with_aix_soname+:} false
; then :
7976 $as_echo_n "(cached) " >&6
7978 lt_cv_with_aix_soname
=aix
7981 with_aix_soname
=$lt_cv_with_aix_soname
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7985 $as_echo "$with_aix_soname" >&6; }
7986 if test aix
!= "$with_aix_soname"; then
7987 # For the AIX way of multilib, we name the shared archive member
7988 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7989 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7990 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7991 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7992 if test 64 = "${OBJECT_MODE-32}"; then
7993 shared_archive_member_spec
=shr_64
7995 shared_archive_member_spec
=shr
8013 # This can be used to rebuild libtool when needed
8014 LIBTOOL_DEPS
=$ltmain
8016 # Always use our own libtool.
8017 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8048 test -z "$LN_S" && LN_S
="ln -s"
8063 if test -n "${ZSH_VERSION+set}"; then
8064 setopt NO_GLOB_SUBST
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8068 $as_echo_n "checking for objdir... " >&6; }
8069 if ${lt_cv_objdir+:} false
; then :
8070 $as_echo_n "(cached) " >&6
8072 rm -f .libs
2>/dev
/null
8073 mkdir .libs
2>/dev
/null
8074 if test -d .libs
; then
8077 # MS-DOS does not allow filenames that begin with a dot.
8080 rmdir .libs
2>/dev
/null
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8083 $as_echo "$lt_cv_objdir" >&6; }
8084 objdir
=$lt_cv_objdir
8090 cat >>confdefs.h
<<_ACEOF
8091 #define LT_OBJDIR "$lt_cv_objdir/"
8099 # AIX sometimes has problems with the GCC collect2 program. For some
8100 # reason, if we set the COLLECT_NAMES environment variable, the problems
8101 # vanish in a puff of smoke.
8102 if test set != "${COLLECT_NAMES+set}"; then
8104 export COLLECT_NAMES
8111 can_build_shared
=yes
8113 # All known linkers require a '.a' archive for static linking (except MSVC,
8114 # which needs '.lib').
8117 with_gnu_ld
=$lt_cv_prog_gnu_ld
8122 # Set sane defaults for various variables
8123 test -z "$CC" && CC
=cc
8124 test -z "$LTCC" && LTCC
=$CC
8125 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8126 test -z "$LD" && LD
=ld
8127 test -z "$ac_objext" && ac_objext
=o
8129 func_cc_basename
$compiler
8130 cc_basename
=$func_cc_basename_result
8133 # Only perform the check for file, if the check method requires it
8134 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8135 case $deplibs_check_method in
8137 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8139 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8140 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8141 $as_echo_n "(cached) " >&6
8145 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8148 lt_save_MAGIC_CMD
=$MAGIC_CMD
8149 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8150 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8151 for ac_dir
in $ac_dummy; do
8153 test -z "$ac_dir" && ac_dir
=.
8154 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8155 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8156 if test -n "$file_magic_test_file"; then
8157 case $deplibs_check_method in
8159 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8160 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8161 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8162 $EGREP "$file_magic_regex" > /dev
/null
; then
8167 *** Warning: the command libtool uses to detect shared libraries,
8168 *** $file_magic_cmd, produces output that libtool cannot recognize.
8169 *** The result is that libtool may fail to recognize shared libraries
8170 *** as such. This will affect the creation of libtool libraries that
8171 *** depend on shared libraries, but programs linked with such libtool
8172 *** libraries will work regardless of this problem. Nevertheless, you
8173 *** may want to report the problem to your system manager and/or to
8174 *** bug-libtool@gnu.org
8184 MAGIC_CMD
=$lt_save_MAGIC_CMD
8189 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8190 if test -n "$MAGIC_CMD"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8192 $as_echo "$MAGIC_CMD" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195 $as_echo "no" >&6; }
8202 if test -z "$lt_cv_path_MAGIC_CMD"; then
8203 if test -n "$ac_tool_prefix"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8205 $as_echo_n "checking for file... " >&6; }
8206 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8207 $as_echo_n "(cached) " >&6
8211 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8214 lt_save_MAGIC_CMD
=$MAGIC_CMD
8215 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8216 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8217 for ac_dir
in $ac_dummy; do
8219 test -z "$ac_dir" && ac_dir
=.
8220 if test -f "$ac_dir/file"; then
8221 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8222 if test -n "$file_magic_test_file"; then
8223 case $deplibs_check_method in
8225 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8226 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8227 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8228 $EGREP "$file_magic_regex" > /dev
/null
; then
8233 *** Warning: the command libtool uses to detect shared libraries,
8234 *** $file_magic_cmd, produces output that libtool cannot recognize.
8235 *** The result is that libtool may fail to recognize shared libraries
8236 *** as such. This will affect the creation of libtool libraries that
8237 *** depend on shared libraries, but programs linked with such libtool
8238 *** libraries will work regardless of this problem. Nevertheless, you
8239 *** may want to report the problem to your system manager and/or to
8240 *** bug-libtool@gnu.org
8250 MAGIC_CMD
=$lt_save_MAGIC_CMD
8255 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8256 if test -n "$MAGIC_CMD"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8258 $as_echo "$MAGIC_CMD" >&6; }
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8274 # Use C for the default configuration in the libtool script
8278 ac_cpp
='$CPP $CPPFLAGS'
8279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8284 # Source file extension for C test sources.
8287 # Object file extension for compiled C test sources.
8291 # Code to be used in simple compile tests
8292 lt_simple_compile_test_code
="int some_variable = 0;"
8294 # Code to be used in simple link tests
8295 lt_simple_link_test_code
='int main(){return(0);}'
8303 # If no C compiler was specified, use CC.
8306 # If no C compiler flags were specified, use CFLAGS.
8307 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8309 # Allow CC to be a program name with arguments.
8312 # Save the default compiler, since it gets overwritten when the other
8313 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8314 compiler_DEFAULT
=$CC
8316 # save warnings/boilerplate of simple test code
8317 ac_outfile
=conftest.
$ac_objext
8318 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8319 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8320 _lt_compiler_boilerplate
=`cat conftest.err`
8323 ac_outfile
=conftest.
$ac_objext
8324 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8325 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8326 _lt_linker_boilerplate
=`cat conftest.err`
8331 ## There is no encapsulation within the following macros, do not change
8332 ## the running order or otherwise move them around unless you know exactly
8333 ## what you are doing...
8334 if test -n "$compiler"; then
8336 lt_prog_compiler_no_builtin_flag
=
8338 if test yes = "$GCC"; then
8339 case $cc_basename in
8341 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8343 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8347 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8348 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8349 $as_echo_n "(cached) " >&6
8351 lt_cv_prog_compiler_rtti_exceptions
=no
8352 ac_outfile
=conftest.
$ac_objext
8353 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8354 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8355 # Insert the option either (1) after the last *FLAGS variable, or
8356 # (2) before a word containing "conftest.", or (3) at the end.
8357 # Note that $ac_compile itself does not contain backslashes and begins
8358 # with a dollar sign (not a hyphen), so the echo should work correctly.
8359 # The option is referenced via a variable to avoid confusing sed.
8360 lt_compile
=`echo "$ac_compile" | $SED \
8361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8363 -e 's:$: $lt_compiler_flag:'`
8364 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8365 (eval "$lt_compile" 2>conftest.err
)
8367 cat conftest.err
>&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 if (exit $ac_status) && test -s "$ac_outfile"; then
8370 # The compiler can only warn and ignore the option if not recognized
8371 # So say no if there are warnings other than the usual output.
8372 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8373 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8374 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8375 lt_cv_prog_compiler_rtti_exceptions
=yes
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8382 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8384 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8385 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8397 lt_prog_compiler_wl
=
8398 lt_prog_compiler_pic
=
8399 lt_prog_compiler_static
=
8402 if test yes = "$GCC"; then
8403 lt_prog_compiler_wl
='-Wl,'
8404 lt_prog_compiler_static
='-static'
8408 # All AIX code is PIC.
8409 if test ia64
= "$host_cpu"; then
8410 # AIX 5 now supports IA64 processor
8411 lt_prog_compiler_static
='-Bstatic'
8413 lt_prog_compiler_pic
='-fPIC'
8419 # see comment about AmigaOS4 .so support
8420 lt_prog_compiler_pic
='-fPIC'
8423 # FIXME: we need at least 68020 code to build shared libraries, but
8424 # adding the '-m68020' flag to GCC prevents building anything better,
8426 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8431 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8432 # PIC is the default for these OSes.
8435 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8436 # This hack is so that the source file can tell whether it is being
8437 # built for inclusion in a dll (and should export symbols for example).
8438 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8439 # (--disable-auto-import) libraries
8440 lt_prog_compiler_pic
='-DDLL_EXPORT'
8443 lt_prog_compiler_static
='$wl-static'
8448 darwin
* | rhapsody
*)
8449 # PIC is the default on this platform
8450 # Common symbols not allowed in MH_DYLIB files
8451 lt_prog_compiler_pic
='-fno-common'
8455 # PIC is the default for Haiku.
8456 # The "-static" flag exists, but is broken.
8457 lt_prog_compiler_static
=
8461 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8462 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8463 # sets the default TLS model and affects inlining.
8469 lt_prog_compiler_pic
='-fPIC'
8475 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8476 # Instead, we relocate shared libraries at runtime.
8480 # Just because we use GCC doesn't mean we suddenly get shared libraries
8481 # on systems that don't support them.
8482 lt_prog_compiler_can_build_shared
=no
8487 # QNX uses GNU C++, but need to define -shared option too, otherwise
8489 lt_prog_compiler_pic
='-fPIC -shared'
8493 if test -d /usr
/nec
; then
8494 lt_prog_compiler_pic
=-Kconform_pic
8499 lt_prog_compiler_pic
='-fPIC'
8503 case $cc_basename in
8504 nvcc
*) # Cuda Compiler Driver 2.2
8505 lt_prog_compiler_wl
='-Xlinker '
8506 if test -n "$lt_prog_compiler_pic"; then
8507 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8512 # PORTME Check for flag to pass linker flags through the system compiler.
8515 lt_prog_compiler_wl
='-Wl,'
8516 if test ia64
= "$host_cpu"; then
8517 # AIX 5 now supports IA64 processor
8518 lt_prog_compiler_static
='-Bstatic'
8520 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8524 darwin
* | rhapsody
*)
8525 # PIC is the default on this platform
8526 # Common symbols not allowed in MH_DYLIB files
8527 lt_prog_compiler_pic
='-fno-common'
8528 case $cc_basename in
8530 # NAG Fortran compiler
8531 lt_prog_compiler_wl
='-Wl,-Wl,,'
8532 lt_prog_compiler_pic
='-PIC'
8533 lt_prog_compiler_static
='-Bstatic'
8538 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8539 # This hack is so that the source file can tell whether it is being
8540 # built for inclusion in a dll (and should export symbols for example).
8541 lt_prog_compiler_pic
='-DDLL_EXPORT'
8544 lt_prog_compiler_static
='$wl-static'
8549 hpux9
* | hpux10
* | hpux11
*)
8550 lt_prog_compiler_wl
='-Wl,'
8551 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8558 lt_prog_compiler_pic
='+Z'
8561 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8562 lt_prog_compiler_static
='$wl-a ${wl}archive'
8565 irix5
* | irix6
* | nonstopux
*)
8566 lt_prog_compiler_wl
='-Wl,'
8567 # PIC (with -KPIC) is the default.
8568 lt_prog_compiler_static
='-non_shared'
8571 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8572 case $cc_basename in
8573 # old Intel for x86_64, which still supported -KPIC.
8575 lt_prog_compiler_wl
='-Wl,'
8576 lt_prog_compiler_pic
='-KPIC'
8577 lt_prog_compiler_static
='-static'
8579 # icc used to be incompatible with GCC.
8580 # ICC 10 doesn't accept -KPIC any more.
8582 lt_prog_compiler_wl
='-Wl,'
8583 lt_prog_compiler_pic
='-fPIC'
8584 lt_prog_compiler_static
='-static'
8586 # Lahey Fortran 8.1.
8588 lt_prog_compiler_wl
='-Wl,'
8589 lt_prog_compiler_pic
='--shared'
8590 lt_prog_compiler_static
='--static'
8593 # NAG Fortran compiler
8594 lt_prog_compiler_wl
='-Wl,-Wl,,'
8595 lt_prog_compiler_pic
='-PIC'
8596 lt_prog_compiler_static
='-Bstatic'
8599 # Fabrice Bellard et al's Tiny C Compiler
8600 lt_prog_compiler_wl
='-Wl,'
8601 lt_prog_compiler_pic
='-fPIC'
8602 lt_prog_compiler_static
='-static'
8604 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8605 # Portland Group compilers (*not* the Pentium gcc compiler,
8606 # which looks to be a dead project)
8607 lt_prog_compiler_wl
='-Wl,'
8608 lt_prog_compiler_pic
='-fpic'
8609 lt_prog_compiler_static
='-Bstatic'
8612 lt_prog_compiler_wl
='-Wl,'
8613 # All Alpha code is PIC.
8614 lt_prog_compiler_static
='-non_shared'
8616 xl
* | bgxl
* | bgf
* | mpixl
*)
8617 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8618 lt_prog_compiler_wl
='-Wl,'
8619 lt_prog_compiler_pic
='-qpic'
8620 lt_prog_compiler_static
='-qstaticlink'
8623 case `$CC -V 2>&1 | sed 5q` in
8624 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8625 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8626 lt_prog_compiler_pic
='-KPIC'
8627 lt_prog_compiler_static
='-Bstatic'
8628 lt_prog_compiler_wl
=''
8630 *Sun\ F
* |
*Sun
*Fortran
*)
8631 lt_prog_compiler_pic
='-KPIC'
8632 lt_prog_compiler_static
='-Bstatic'
8633 lt_prog_compiler_wl
='-Qoption ld '
8637 lt_prog_compiler_pic
='-KPIC'
8638 lt_prog_compiler_static
='-Bstatic'
8639 lt_prog_compiler_wl
='-Wl,'
8641 *Intel
*\
[CF
]*Compiler
*)
8642 lt_prog_compiler_wl
='-Wl,'
8643 lt_prog_compiler_pic
='-fPIC'
8644 lt_prog_compiler_static
='-static'
8647 lt_prog_compiler_wl
='-Wl,'
8648 lt_prog_compiler_pic
='-fpic'
8649 lt_prog_compiler_static
='-Bstatic'
8657 lt_prog_compiler_pic
='-KPIC'
8658 lt_prog_compiler_static
='-Bstatic'
8662 # QNX uses GNU C++, but need to define -shared option too, otherwise
8664 lt_prog_compiler_pic
='-fPIC -shared'
8667 osf3
* | osf4
* | osf5
*)
8668 lt_prog_compiler_wl
='-Wl,'
8669 # All OSF/1 code is PIC.
8670 lt_prog_compiler_static
='-non_shared'
8674 lt_prog_compiler_static
='-non_shared'
8678 lt_prog_compiler_pic
='-KPIC'
8679 lt_prog_compiler_static
='-Bstatic'
8680 case $cc_basename in
8681 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8682 lt_prog_compiler_wl
='-Qoption ld ';;
8684 lt_prog_compiler_wl
='-Wl,';;
8689 lt_prog_compiler_wl
='-Qoption ld '
8690 lt_prog_compiler_pic
='-PIC'
8691 lt_prog_compiler_static
='-Bstatic'
8694 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8695 lt_prog_compiler_wl
='-Wl,'
8696 lt_prog_compiler_pic
='-KPIC'
8697 lt_prog_compiler_static
='-Bstatic'
8701 if test -d /usr
/nec
; then
8702 lt_prog_compiler_pic
='-Kconform_pic'
8703 lt_prog_compiler_static
='-Bstatic'
8707 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8708 lt_prog_compiler_wl
='-Wl,'
8709 lt_prog_compiler_pic
='-KPIC'
8710 lt_prog_compiler_static
='-Bstatic'
8714 lt_prog_compiler_wl
='-Wl,'
8715 lt_prog_compiler_can_build_shared
=no
8719 lt_prog_compiler_pic
='-pic'
8720 lt_prog_compiler_static
='-Bstatic'
8724 lt_prog_compiler_can_build_shared
=no
8730 # For platforms that do not support PIC, -DPIC is meaningless:
8732 lt_prog_compiler_pic
=
8735 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8740 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8741 if ${lt_cv_prog_compiler_pic+:} false
; then :
8742 $as_echo_n "(cached) " >&6
8744 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8747 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8748 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8751 # Check to make sure the PIC flag actually works.
8753 if test -n "$lt_prog_compiler_pic"; then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8755 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8756 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8757 $as_echo_n "(cached) " >&6
8759 lt_cv_prog_compiler_pic_works
=no
8760 ac_outfile
=conftest.
$ac_objext
8761 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8762 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8763 # Insert the option either (1) after the last *FLAGS variable, or
8764 # (2) before a word containing "conftest.", or (3) at the end.
8765 # Note that $ac_compile itself does not contain backslashes and begins
8766 # with a dollar sign (not a hyphen), so the echo should work correctly.
8767 # The option is referenced via a variable to avoid confusing sed.
8768 lt_compile
=`echo "$ac_compile" | $SED \
8769 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8770 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8771 -e 's:$: $lt_compiler_flag:'`
8772 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8773 (eval "$lt_compile" 2>conftest.err
)
8775 cat conftest.err
>&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 if (exit $ac_status) && test -s "$ac_outfile"; then
8778 # The compiler can only warn and ignore the option if not recognized
8779 # So say no if there are warnings other than the usual output.
8780 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8781 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8782 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8783 lt_cv_prog_compiler_pic_works
=yes
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8790 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8792 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8793 case $lt_prog_compiler_pic in
8795 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8798 lt_prog_compiler_pic
=
8799 lt_prog_compiler_can_build_shared
=no
8815 # Check to make sure the static flag actually works.
8817 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8819 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8820 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8821 $as_echo_n "(cached) " >&6
8823 lt_cv_prog_compiler_static_works
=no
8824 save_LDFLAGS
=$LDFLAGS
8825 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8826 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8827 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8828 # The linker can only warn and ignore the option if not recognized
8829 # So say no if there are warnings
8830 if test -s conftest.err
; then
8831 # Append any errors to the config.log.
8832 cat conftest.err
1>&5
8833 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8834 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8835 if diff conftest.exp conftest.er2
>/dev
/null
; then
8836 lt_cv_prog_compiler_static_works
=yes
8839 lt_cv_prog_compiler_static_works
=yes
8843 LDFLAGS
=$save_LDFLAGS
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8847 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8849 if test yes = "$lt_cv_prog_compiler_static_works"; then
8852 lt_prog_compiler_static
=
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8862 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8863 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8864 $as_echo_n "(cached) " >&6
8866 lt_cv_prog_compiler_c_o
=no
8867 $RM -r conftest
2>/dev
/null
8871 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8873 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8874 # Insert the option either (1) after the last *FLAGS variable, or
8875 # (2) before a word containing "conftest.", or (3) at the end.
8876 # Note that $ac_compile itself does not contain backslashes and begins
8877 # with a dollar sign (not a hyphen), so the echo should work correctly.
8878 lt_compile
=`echo "$ac_compile" | $SED \
8879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8881 -e 's:$: $lt_compiler_flag:'`
8882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8883 (eval "$lt_compile" 2>out
/conftest.err
)
8885 cat out
/conftest.err
>&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8889 # The compiler can only warn and ignore the option if not recognized
8890 # So say no if there are warnings
8891 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8892 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8893 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8894 lt_cv_prog_compiler_c_o
=yes
8899 # SGI C++ compiler will create directory out/ii_files/ for
8900 # template instantiation
8901 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8902 $RM out
/* && rmdir out
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8909 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8917 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8918 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8919 $as_echo_n "(cached) " >&6
8921 lt_cv_prog_compiler_c_o
=no
8922 $RM -r conftest
2>/dev
/null
8926 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8928 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8929 # Insert the option either (1) after the last *FLAGS variable, or
8930 # (2) before a word containing "conftest.", or (3) at the end.
8931 # Note that $ac_compile itself does not contain backslashes and begins
8932 # with a dollar sign (not a hyphen), so the echo should work correctly.
8933 lt_compile
=`echo "$ac_compile" | $SED \
8934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8936 -e 's:$: $lt_compiler_flag:'`
8937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8938 (eval "$lt_compile" 2>out
/conftest.err
)
8940 cat out
/conftest.err
>&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8944 # The compiler can only warn and ignore the option if not recognized
8945 # So say no if there are warnings
8946 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8947 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8948 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8949 lt_cv_prog_compiler_c_o
=yes
8954 # SGI C++ compiler will create directory out/ii_files/ for
8955 # template instantiation
8956 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8957 $RM out
/* && rmdir out
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8964 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8969 hard_links
=nottested
8970 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8971 # do not overwrite the value of need_locks provided by the user
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8973 $as_echo_n "checking if we can lock with hard links... " >&6; }
8976 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8978 ln conftest.a conftest.b
2>&5 || hard_links
=no
8979 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8981 $as_echo "$hard_links" >&6; }
8982 if test no
= "$hard_links"; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8984 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8997 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9000 allow_undefined_flag
=
9001 always_export_symbols
=no
9003 archive_expsym_cmds
=
9004 compiler_needs_object
=no
9005 enable_shared_with_static_runtimes
=no
9006 export_dynamic_flag_spec
=
9007 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9008 hardcode_automatic
=no
9010 hardcode_direct_absolute
=no
9011 hardcode_libdir_flag_spec
=
9012 hardcode_libdir_separator
=
9014 hardcode_shlibpath_var
=unsupported
9016 link_all_deplibs
=unknown
9019 old_archive_from_new_cmds
=
9020 old_archive_from_expsyms_cmds
=
9021 thread_safe_flag_spec
=
9022 whole_archive_flag_spec
=
9023 # include_expsyms should be a list of space-separated symbols to be *always*
9024 # included in the symbol list
9026 # exclude_expsyms can be an extended regexp of symbols to exclude
9027 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9028 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9029 # as well as any symbol that contains 'd'.
9030 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9031 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9032 # platforms (ab)use it in PIC code, but their linkers get confused if
9033 # the symbol is explicitly referenced. Since portable code cannot
9034 # rely on this symbol name, it's probably fine to never include it in
9035 # preloaded symbol tables.
9036 # Exclude shared library initialization/finalization symbols.
9037 extract_expsyms_cmds
=
9040 cygwin
* | mingw
* | pw32
* | cegcc
*)
9041 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9042 # When not using gcc, we currently assume that we are using
9043 # Microsoft Visual C++.
9044 if test yes != "$GCC"; then
9049 # we just hope/assume this is gcc and not c89 (= MSVC++)
9059 # On some targets, GNU ld is compatible enough with the native linker
9060 # that we're better off using the native interface for both.
9061 lt_use_gnu_ld_interface
=no
9062 if test yes = "$with_gnu_ld"; then
9065 # The AIX port of GNU ld has always aspired to compatibility
9066 # with the native linker. However, as the warning in the GNU ld
9067 # block says, versions before 2.19.5* couldn't really create working
9068 # shared libraries, regardless of the interface used.
9069 case `$LD -v 2>&1` in
9070 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9071 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9072 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9074 lt_use_gnu_ld_interface
=yes
9079 lt_use_gnu_ld_interface
=yes
9084 if test yes = "$lt_use_gnu_ld_interface"; then
9085 # If archive_cmds runs LD, not CC, wlarc should be empty
9088 # Set some defaults for GNU ld with shared library support. These
9089 # are reset later if shared libraries are not supported. Putting them
9090 # here allows them to be overridden if necessary.
9091 runpath_var
=LD_RUN_PATH
9092 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9093 export_dynamic_flag_spec
='$wl--export-dynamic'
9094 # ancient GNU ld didn't support --whole-archive et. al.
9095 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9096 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9098 whole_archive_flag_spec
=
9100 supports_anon_versioning
=no
9101 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9102 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9103 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9104 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9105 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9106 *\
2.11.
*) ;; # other 2.11 versions
9107 *) supports_anon_versioning
=yes ;;
9110 # See if GNU ld supports shared libraries.
9113 # On AIX/PPC, the GNU linker is very broken
9114 if test ia64
!= "$host_cpu"; then
9118 *** Warning: the GNU linker, at least up to release 2.19, is reported
9119 *** to be unable to reliably create shared libraries on AIX.
9120 *** Therefore, libtool is disabling shared libraries support. If you
9121 *** really care for shared libraries, you may want to install binutils
9122 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9123 *** You will then need to restart the configuration process.
9132 # see comment about AmigaOS4 .so support
9133 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9134 archive_expsym_cmds
=''
9137 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)'
9138 hardcode_libdir_flag_spec
='-L$libdir'
9139 hardcode_minus_L
=yes
9145 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9146 allow_undefined_flag
=unsupported
9147 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9148 # support --undefined. This deserves some investigation. FIXME
9149 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9155 cygwin
* | mingw
* | pw32
* | cegcc
*)
9156 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9157 # as there is no search path for DLLs.
9158 hardcode_libdir_flag_spec
='-L$libdir'
9159 export_dynamic_flag_spec
='$wl--export-all-symbols'
9160 allow_undefined_flag
=unsupported
9161 always_export_symbols
=no
9162 enable_shared_with_static_runtimes
=yes
9163 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'
9164 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9166 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9167 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9168 # If the export-symbols file already is a .def file, use it as
9169 # is; otherwise, prepend EXPORTS...
9170 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9171 cp $export_symbols $output_objdir/$soname.def;
9173 echo EXPORTS > $output_objdir/$soname.def;
9174 cat $export_symbols >> $output_objdir/$soname.def;
9176 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9183 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9184 link_all_deplibs
=yes
9188 hardcode_libdir_flag_spec
='-L$libdir'
9189 hardcode_minus_L
=yes
9190 allow_undefined_flag
=unsupported
9192 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9193 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9194 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9195 $ECHO EXPORTS >> $output_objdir/$libname.def~
9196 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9197 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9198 emximp -o $lib $output_objdir/$libname.def'
9199 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9200 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9201 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9202 $ECHO EXPORTS >> $output_objdir/$libname.def~
9204 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9205 prefix_cmds="$prefix_cmds -e 1d";
9207 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9208 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9209 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9210 emximp -o $lib $output_objdir/$libname.def'
9211 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9212 enable_shared_with_static_runtimes
=yes
9217 hardcode_shlibpath_var
=no
9218 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9219 export_dynamic_flag_spec
='$wl-E'
9220 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9221 # Instead, shared libraries are loaded at an image base (0x10000000 by
9222 # default) and relocated if they conflict, which is a slow very memory
9223 # consuming and fragmenting process. To avoid this, we pick a random,
9224 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9225 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9226 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9227 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'
9230 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9232 if test linux-dietlibc
= "$host_os"; then
9233 case $cc_basename in
9234 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9237 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9238 && test no
= "$tmp_diet"
9240 tmp_addflag
=' $pic_flag'
9241 tmp_sharedflag
='-shared'
9242 case $cc_basename,$host_cpu in
9243 pgcc
*) # Portland Group C compiler
9244 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'
9245 tmp_addflag
=' $pic_flag'
9247 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9248 # Portland Group f77 and f90 compilers
9249 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'
9250 tmp_addflag
=' $pic_flag -Mnomain' ;;
9251 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9252 tmp_addflag
=' -i_dynamic' ;;
9253 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9254 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9255 ifc
* | ifort
*) # Intel Fortran compiler
9256 tmp_addflag
=' -nofor_main' ;;
9257 lf95
*) # Lahey Fortran 8.1
9258 whole_archive_flag_spec
=
9259 tmp_sharedflag
='--shared' ;;
9260 nagfor
*) # NAGFOR 5.3
9261 tmp_sharedflag
='-Wl,-shared' ;;
9262 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9263 tmp_sharedflag
='-qmkshrobj'
9265 nvcc
*) # Cuda Compiler Driver 2.2
9266 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'
9267 compiler_needs_object
=yes
9270 case `$CC -V 2>&1 | sed 5q` in
9271 *Sun\ C
*) # Sun C 5.9
9272 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'
9273 compiler_needs_object
=yes
9274 tmp_sharedflag
='-G' ;;
9275 *Sun\ F
*) # Sun Fortran 8.3
9276 tmp_sharedflag
='-G' ;;
9278 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9280 if test yes = "$supports_anon_versioning"; then
9281 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9282 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9283 echo "local: *; };" >> $output_objdir/$libname.ver~
9284 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9287 case $cc_basename in
9289 export_dynamic_flag_spec
='-rdynamic'
9291 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9292 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9293 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9294 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9295 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9296 if test yes = "$supports_anon_versioning"; then
9297 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9298 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9299 echo "local: *; };" >> $output_objdir/$libname.ver~
9300 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9310 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9311 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9314 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9315 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9320 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9324 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9325 *** create shared libraries on Solaris systems. Therefore, libtool
9326 *** is disabling shared libraries support. We urge you to upgrade GNU
9327 *** binutils to release 2.9.1 or newer. Another option is to modify
9328 *** your PATH or compiler configuration so that the native linker is
9329 *** used, and then restart.
9332 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9333 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9334 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9340 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9341 case `$LD -v 2>&1` in
9342 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9346 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9347 *** reliably create shared libraries on SCO systems. Therefore, libtool
9348 *** is disabling shared libraries support. We urge you to upgrade GNU
9349 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9350 *** your PATH or compiler configuration so that the native linker is
9351 *** used, and then restart.
9356 # For security reasons, it is highly recommended that you always
9357 # use absolute paths for naming shared libraries, and exclude the
9358 # DT_RUNPATH tag from executables and libraries. But doing so
9359 # requires that you compile everything twice, which is a pain.
9360 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9361 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9362 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9363 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9372 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9375 hardcode_shlibpath_var
=no
9379 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9380 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9381 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9388 if test no
= "$ld_shlibs"; then
9390 hardcode_libdir_flag_spec
=
9391 export_dynamic_flag_spec
=
9392 whole_archive_flag_spec
=
9395 # PORTME fill in a description of your system's linker (not GNU ld)
9398 allow_undefined_flag
=unsupported
9399 always_export_symbols
=yes
9400 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'
9401 # Note: this linker hardcodes the directories in LIBPATH if there
9402 # are no directories specified by -L.
9403 hardcode_minus_L
=yes
9404 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9405 # Neither direct hardcoding nor static linking is supported with a
9407 hardcode_direct
=unsupported
9412 if test ia64
= "$host_cpu"; then
9413 # On IA64, the linker does run time linking by default, so we don't
9414 # have to do anything special.
9415 aix_use_runtimelinking
=no
9416 exp_sym_flag
='-Bexport'
9419 # If we're using GNU nm, then we don't want the "-C" option.
9420 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9421 # Without the "-l" option, or with the "-B" option, AIX nm treats
9422 # weak defined symbols like other global defined symbols, whereas
9423 # GNU nm marks them as "W".
9424 # While the 'weak' keyword is ignored in the Export File, we need
9425 # it in the Import File for the 'aix-soname' feature, so we have
9426 # to replace the "-B" option with "-P" for AIX nm.
9427 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9428 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'
9430 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'
9432 aix_use_runtimelinking
=no
9434 # Test if we are trying to use run time linking or normal
9435 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9436 # have runtime linking enabled, and use it for executables.
9437 # For shared libraries, we enable/disable runtime linking
9438 # depending on the kind of the shared library created -
9439 # when "with_aix_soname,aix_use_runtimelinking" is:
9440 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9441 # "aix,yes" lib.so shared, rtl:yes, for executables
9442 # lib.a static archive
9443 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9444 # lib.a(lib.so.V) shared, rtl:no, for executables
9445 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9446 # lib.a(lib.so.V) shared, rtl:no
9447 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9448 # lib.a static archive
9449 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9450 for ld_flag
in $LDFLAGS; do
9451 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9452 aix_use_runtimelinking
=yes
9456 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9457 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9458 # so we don't have lib.a shared libs to link our executables.
9459 # We have to force runtime linking in this case.
9460 aix_use_runtimelinking
=yes
9461 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9466 exp_sym_flag
='-bexport'
9467 no_entry_flag
='-bnoentry'
9470 # When large executables or shared objects are built, AIX ld can
9471 # have problems creating the table of contents. If linking a library
9472 # or program results in "error TOC overflow" add -mminimal-toc to
9473 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9474 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9478 hardcode_direct_absolute
=yes
9479 hardcode_libdir_separator
=':'
9480 link_all_deplibs
=yes
9481 file_list_spec
='$wl-f,'
9482 case $with_aix_soname,$aix_use_runtimelinking in
9483 aix
,*) ;; # traditional, no import file
9484 svr4
,* |
*,yes) # use import file
9485 # The Import File defines what to hardcode.
9487 hardcode_direct_absolute
=no
9491 if test yes = "$GCC"; then
9492 case $host_os in aix4.
[012]|aix4.
[012].
*)
9493 # We only want to do this on AIX 4.2 and lower, the check
9494 # below for broken collect2 doesn't work under 4.3+
9495 collect2name
=`$CC -print-prog-name=collect2`
9496 if test -f "$collect2name" &&
9497 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9499 # We have reworked collect2
9502 # We have old collect2
9503 hardcode_direct
=unsupported
9504 # It fails to find uninstalled libraries when the uninstalled
9505 # path is not listed in the libpath. Setting hardcode_minus_L
9506 # to unsupported forces relinking
9507 hardcode_minus_L
=yes
9508 hardcode_libdir_flag_spec
='-L$libdir'
9509 hardcode_libdir_separator
=
9513 shared_flag
='-shared'
9514 if test yes = "$aix_use_runtimelinking"; then
9515 shared_flag
="$shared_flag "'$wl-G'
9517 # Need to ensure runtime linking is disabled for the traditional
9518 # shared library, or the linker may eventually find shared libraries
9519 # /with/ Import File - we do not want to mix them.
9520 shared_flag_aix
='-shared'
9521 shared_flag_svr4
='-shared $wl-G'
9524 if test ia64
= "$host_cpu"; then
9525 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9526 # chokes on -Wl,-G. The following line is correct:
9529 if test yes = "$aix_use_runtimelinking"; then
9532 shared_flag
='$wl-bM:SRE'
9534 shared_flag_aix
='$wl-bM:SRE'
9535 shared_flag_svr4
='$wl-G'
9539 export_dynamic_flag_spec
='$wl-bexpall'
9540 # It seems that -bexpall does not export symbols beginning with
9541 # underscore (_), so it is better to generate a list of symbols to export.
9542 always_export_symbols
=yes
9543 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9544 # Warning - without using the other runtime loading flags (-brtl),
9545 # -berok will link without error, but may produce a broken library.
9546 allow_undefined_flag
='-berok'
9547 # Determine the default libpath from the value encoded in an
9549 if test set = "${lt_cv_aix_libpath+set}"; then
9550 aix_libpath
=$lt_cv_aix_libpath
9552 if ${lt_cv_aix_libpath_+:} false
; then :
9553 $as_echo_n "(cached) " >&6
9555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9566 if ac_fn_c_try_link
"$LINENO"; then :
9568 lt_aix_libpath_sed
='
9569 /Import File Strings/,/^$/ {
9571 s/^0 *\([^ ]*\) *$/\1/
9575 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576 # Check for a 64-bit object if we didn't find anything.
9577 if test -z "$lt_cv_aix_libpath_"; then
9578 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9581 rm -f core conftest.err conftest.
$ac_objext \
9582 conftest
$ac_exeext conftest.
$ac_ext
9583 if test -z "$lt_cv_aix_libpath_"; then
9584 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9589 aix_libpath
=$lt_cv_aix_libpath_
9592 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9593 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
9595 if test ia64
= "$host_cpu"; then
9596 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag
="-z nodefs"
9598 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"
9600 # Determine the default libpath from the value encoded in an
9602 if test set = "${lt_cv_aix_libpath+set}"; then
9603 aix_libpath
=$lt_cv_aix_libpath
9605 if ${lt_cv_aix_libpath_+:} false
; then :
9606 $as_echo_n "(cached) " >&6
9608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9619 if ac_fn_c_try_link
"$LINENO"; then :
9621 lt_aix_libpath_sed
='
9622 /Import File Strings/,/^$/ {
9624 s/^0 *\([^ ]*\) *$/\1/
9628 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9629 # Check for a 64-bit object if we didn't find anything.
9630 if test -z "$lt_cv_aix_libpath_"; then
9631 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9634 rm -f core conftest.err conftest.
$ac_objext \
9635 conftest
$ac_exeext conftest.
$ac_ext
9636 if test -z "$lt_cv_aix_libpath_"; then
9637 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9642 aix_libpath
=$lt_cv_aix_libpath_
9645 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9646 # Warning - without using the other run time loading flags,
9647 # -berok will link without error, but may produce a broken library.
9648 no_undefined_flag
=' $wl-bernotok'
9649 allow_undefined_flag
=' $wl-berok'
9650 if test yes = "$with_gnu_ld"; then
9651 # We only use this code for GNU lds that support --whole-archive.
9652 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9654 # Exported symbols can be pulled into shared objects from archives
9655 whole_archive_flag_spec
='$convenience'
9657 archive_cmds_need_lc
=yes
9658 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9659 # -brtl affects multiple linker settings, -berok does not and is overridden later
9660 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9661 if test svr4
!= "$with_aix_soname"; then
9662 # This is similar to how AIX traditionally builds its shared libraries.
9663 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'
9665 if test aix
!= "$with_aix_soname"; then
9666 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'
9668 # used by -dlpreopen to get the symbols
9669 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9671 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9679 # see comment about AmigaOS4 .so support
9680 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9681 archive_expsym_cmds
=''
9684 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)'
9685 hardcode_libdir_flag_spec
='-L$libdir'
9686 hardcode_minus_L
=yes
9692 export_dynamic_flag_spec
=-rdynamic
9695 cygwin
* | mingw
* | pw32
* | cegcc
*)
9696 # When not using gcc, we currently assume that we are using
9697 # Microsoft Visual C++.
9698 # hardcode_libdir_flag_spec is actually meaningless, as there is
9699 # no search path for DLLs.
9700 case $cc_basename in
9703 hardcode_libdir_flag_spec
=' '
9704 allow_undefined_flag
=unsupported
9705 always_export_symbols
=yes
9707 # Tell ltmain to make .lib files, not .a files.
9709 # Tell ltmain to make .dll files, not .so files.
9711 # FIXME: Setting linknames here is a bad hack.
9712 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9713 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9714 cp "$export_symbols" "$output_objdir/$soname.def";
9715 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9717 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9719 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9721 # The linker will not automatically build a static lib if we build a DLL.
9722 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9723 enable_shared_with_static_runtimes
=yes
9724 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9725 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9727 old_postinstall_cmds
='chmod 644 $oldlib'
9728 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9729 lt_tool_outputfile="@TOOL_OUTPUT@"~
9730 case $lt_outputfile in
9733 lt_outputfile=$lt_outputfile.exe
9734 lt_tool_outputfile=$lt_tool_outputfile.exe
9737 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9738 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9739 $RM "$lt_outputfile.manifest";
9743 # Assume MSVC wrapper
9744 hardcode_libdir_flag_spec
=' '
9745 allow_undefined_flag
=unsupported
9746 # Tell ltmain to make .lib files, not .a files.
9748 # Tell ltmain to make .dll files, not .so files.
9750 # FIXME: Setting linknames here is a bad hack.
9751 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9752 # The linker will automatically build a .lib file if we build a DLL.
9753 old_archive_from_new_cmds
='true'
9754 # FIXME: Should let the user specify the lib program.
9755 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9756 enable_shared_with_static_runtimes
=yes
9761 darwin
* | rhapsody
*)
9764 archive_cmds_need_lc
=no
9766 hardcode_automatic
=yes
9767 hardcode_shlibpath_var
=unsupported
9768 if test yes = "$lt_cv_ld_force_load"; then
9769 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\"`'
9772 whole_archive_flag_spec
=''
9774 link_all_deplibs
=yes
9775 allow_undefined_flag
=$_lt_dar_allow_undefined
9776 case $cc_basename in
9777 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9778 *) _lt_dar_can_shared
=$GCC ;;
9780 if test yes = "$_lt_dar_can_shared"; then
9781 output_verbose_link_cmd
=func_echo_all
9782 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9783 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9784 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"
9785 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"
9794 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec
='-L$libdir'
9796 hardcode_shlibpath_var
=no
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9804 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec
='-R$libdir'
9807 hardcode_shlibpath_var
=no
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9812 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9814 hardcode_minus_L
=yes
9815 hardcode_shlibpath_var
=no
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd
* | dragonfly
*)
9820 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec
='-R$libdir'
9823 hardcode_shlibpath_var
=no
9827 if test yes = "$GCC"; then
9828 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'
9830 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'
9832 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9833 hardcode_libdir_separator
=:
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L
=yes
9839 export_dynamic_flag_spec
='$wl-E'
9843 if test yes,no
= "$GCC,$with_gnu_ld"; then
9844 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9846 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9848 if test no
= "$with_gnu_ld"; then
9849 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9850 hardcode_libdir_separator
=:
9852 hardcode_direct_absolute
=yes
9853 export_dynamic_flag_spec
='$wl-E'
9854 # hardcode_minus_L: Not really in the search PATH,
9855 # but as the default location of the library.
9856 hardcode_minus_L
=yes
9861 if test yes,no
= "$GCC,$with_gnu_ld"; then
9864 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9867 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9876 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9883 # Older versions of the 11.00 compiler do not understand -b yet
9884 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9886 $as_echo_n "checking if $CC understands -b... " >&6; }
9887 if ${lt_cv_prog_compiler__b+:} false
; then :
9888 $as_echo_n "(cached) " >&6
9890 lt_cv_prog_compiler__b
=no
9891 save_LDFLAGS
=$LDFLAGS
9892 LDFLAGS
="$LDFLAGS -b"
9893 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9894 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9895 # The linker can only warn and ignore the option if not recognized
9896 # So say no if there are warnings
9897 if test -s conftest.err
; then
9898 # Append any errors to the config.log.
9899 cat conftest.err
1>&5
9900 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9901 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9902 if diff conftest.exp conftest.er2
>/dev
/null
; then
9903 lt_cv_prog_compiler__b
=yes
9906 lt_cv_prog_compiler__b
=yes
9910 LDFLAGS
=$save_LDFLAGS
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9914 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9916 if test yes = "$lt_cv_prog_compiler__b"; then
9917 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9925 if test no
= "$with_gnu_ld"; then
9926 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9927 hardcode_libdir_separator
=:
9932 hardcode_shlibpath_var
=no
9936 hardcode_direct_absolute
=yes
9937 export_dynamic_flag_spec
='$wl-E'
9939 # hardcode_minus_L: Not really in the search PATH,
9940 # but as the default location of the library.
9941 hardcode_minus_L
=yes
9947 irix5
* | irix6
* | nonstopux
*)
9948 if test yes = "$GCC"; then
9949 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'
9950 # Try to use the -exported_symbol ld option, if it does not
9951 # work, assume that -exports_file does not work either and
9952 # implicitly export all symbols.
9953 # This should be the same for all languages, so no per-tag cache variable.
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9955 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9956 if ${lt_cv_irix_exported_symbol+:} false
; then :
9957 $as_echo_n "(cached) " >&6
9959 save_LDFLAGS
=$LDFLAGS
9960 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int foo (void) { return 0; }
9965 if ac_fn_c_try_link
"$LINENO"; then :
9966 lt_cv_irix_exported_symbol
=yes
9968 lt_cv_irix_exported_symbol
=no
9970 rm -f core conftest.err conftest.
$ac_objext \
9971 conftest
$ac_exeext conftest.
$ac_ext
9972 LDFLAGS
=$save_LDFLAGS
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9975 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9976 if test yes = "$lt_cv_irix_exported_symbol"; then
9977 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'
9980 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'
9981 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'
9983 archive_cmds_need_lc
='no'
9984 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9985 hardcode_libdir_separator
=:
9987 link_all_deplibs
=yes
9991 case $cc_basename in
9993 # Fabrice Bellard et al's Tiny C Compiler
9995 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10001 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10002 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10004 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10006 hardcode_libdir_flag_spec
='-R$libdir'
10007 hardcode_direct
=yes
10008 hardcode_shlibpath_var
=no
10012 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_direct
=yes
10014 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10015 hardcode_libdir_separator
=:
10016 hardcode_shlibpath_var
=no
10022 openbsd
* | bitrig
*)
10023 if test -f /usr
/libexec
/ld.so
; then
10024 hardcode_direct
=yes
10025 hardcode_shlibpath_var
=no
10026 hardcode_direct_absolute
=yes
10027 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10028 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10029 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10030 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10031 export_dynamic_flag_spec
='$wl-E'
10033 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10034 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10042 hardcode_libdir_flag_spec
='-L$libdir'
10043 hardcode_minus_L
=yes
10044 allow_undefined_flag
=unsupported
10046 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10047 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10048 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10049 $ECHO EXPORTS >> $output_objdir/$libname.def~
10050 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10051 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10052 emximp -o $lib $output_objdir/$libname.def'
10053 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10054 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10055 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10056 $ECHO EXPORTS >> $output_objdir/$libname.def~
10057 prefix_cmds="$SED"~
10058 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10059 prefix_cmds="$prefix_cmds -e 1d";
10061 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10062 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10063 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10064 emximp -o $lib $output_objdir/$libname.def'
10065 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10066 enable_shared_with_static_runtimes
=yes
10070 if test yes = "$GCC"; then
10071 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10072 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'
10074 allow_undefined_flag
=' -expect_unresolved \*'
10075 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'
10077 archive_cmds_need_lc
='no'
10078 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10079 hardcode_libdir_separator
=:
10082 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10083 if test yes = "$GCC"; then
10084 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10085 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'
10086 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10088 allow_undefined_flag
=' -expect_unresolved \*'
10089 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'
10090 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~
10091 $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'
10093 # Both c and cxx compiler support -rpath directly
10094 hardcode_libdir_flag_spec
='-rpath $libdir'
10096 archive_cmds_need_lc
='no'
10097 hardcode_libdir_separator
=:
10101 no_undefined_flag
=' -z defs'
10102 if test yes = "$GCC"; then
10104 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10105 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10106 $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'
10108 case `$CC -V 2>&1` in
10111 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10112 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10113 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10117 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10118 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10119 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10123 hardcode_libdir_flag_spec
='-R$libdir'
10124 hardcode_shlibpath_var
=no
10126 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10128 # The compiler driver will combine and reorder linker options,
10129 # but understands '-z linker_flag'. GCC discards it without '$wl',
10130 # but is careful enough not to reorder.
10131 # Supported since Solaris 2.6 (maybe 2.5.1?)
10132 if test yes = "$GCC"; then
10133 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10135 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10139 link_all_deplibs
=yes
10143 if test sequent
= "$host_vendor"; then
10144 # Use $CC to link under sequent, because it throws in some extra .o
10145 # files that make .init and .fini sections work.
10146 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10148 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10150 hardcode_libdir_flag_spec
='-L$libdir'
10151 hardcode_direct
=yes
10152 hardcode_minus_L
=yes
10153 hardcode_shlibpath_var
=no
10157 case $host_vendor in
10159 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10160 hardcode_direct
=yes # is this really true???
10163 ## LD is ld it makes a PLAMLIB
10164 ## CC just makes a GrossModule.
10165 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10166 reload_cmds
='$CC -r -o $output$reload_objs'
10170 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10171 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10174 runpath_var
='LD_RUN_PATH'
10175 hardcode_shlibpath_var
=no
10179 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10180 hardcode_shlibpath_var
=no
10181 export_dynamic_flag_spec
='-Bexport'
10185 if test -d /usr
/nec
; then
10186 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10187 hardcode_shlibpath_var
=no
10188 runpath_var
=LD_RUN_PATH
10189 hardcode_runpath_var
=yes
10194 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10195 no_undefined_flag
='$wl-z,text'
10196 archive_cmds_need_lc
=no
10197 hardcode_shlibpath_var
=no
10198 runpath_var
='LD_RUN_PATH'
10200 if test yes = "$GCC"; then
10201 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10205 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209 sysv5
* | sco3.2v5
* | sco5v6
*)
10210 # Note: We CANNOT use -z defs as we might desire, because we do not
10211 # link with -lc, and that would cause any symbols used from libc to
10212 # always be unresolved, which means just about no library would
10213 # ever link correctly. If we're not using GNU ld we use -z text
10214 # though, which does catch some bad symbols but isn't as heavy-handed
10216 no_undefined_flag
='$wl-z,text'
10217 allow_undefined_flag
='$wl-z,nodefs'
10218 archive_cmds_need_lc
=no
10219 hardcode_shlibpath_var
=no
10220 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10221 hardcode_libdir_separator
=':'
10222 link_all_deplibs
=yes
10223 export_dynamic_flag_spec
='$wl-Bexport'
10224 runpath_var
='LD_RUN_PATH'
10226 if test yes = "$GCC"; then
10227 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10228 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10230 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10231 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10236 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10237 hardcode_libdir_flag_spec
='-L$libdir'
10238 hardcode_shlibpath_var
=no
10246 if test sni
= "$host_vendor"; then
10248 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10249 export_dynamic_flag_spec
='$wl-Blargedynsym'
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10256 $as_echo "$ld_shlibs" >&6; }
10257 test no
= "$ld_shlibs" && can_build_shared
=no
10259 with_gnu_ld
=$with_gnu_ld
10276 # Do we need to explicitly link libc?
10278 case "x$archive_cmds_need_lc" in
10280 # Assume -lc should be added
10281 archive_cmds_need_lc
=yes
10283 if test yes,yes = "$GCC,$enable_shared"; then
10284 case $archive_cmds in
10286 # FIXME: we may have to deal with multi-command sequences.
10289 # Test whether the compiler implicitly links with -lc since on some
10290 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10291 # to ld, don't add -lc before -lgcc.
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10293 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10294 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10295 $as_echo_n "(cached) " >&6
10298 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10301 (eval $ac_compile) 2>&5
10303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10304 test $ac_status = 0; } 2>conftest.err
; then
10307 libobjs
=conftest.
$ac_objext
10309 wl
=$lt_prog_compiler_wl
10310 pic_flag
=$lt_prog_compiler_pic
10316 lt_save_allow_undefined_flag
=$allow_undefined_flag
10317 allow_undefined_flag
=
10318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10319 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10322 test $ac_status = 0; }
10324 lt_cv_archive_cmds_need_lc
=no
10326 lt_cv_archive_cmds_need_lc
=yes
10328 allow_undefined_flag
=$lt_save_allow_undefined_flag
10330 cat conftest.err
1>&5
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10336 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10337 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10496 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10498 if test yes = "$GCC"; then
10500 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10501 *) lt_awk_arg
='/^libraries:/' ;;
10504 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10505 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10507 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10508 case $lt_search_path_spec in
10510 # if the path contains ";" then we assume it to be the separator
10511 # otherwise default to the standard path separator (i.e. ":") - it is
10512 # assumed that no part of a normal pathname contains ";" but that should
10513 # okay in the real world where ";" in dirpaths is itself problematic.
10514 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10517 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10520 # Ok, now we have the path, separated by spaces, we can step through it
10521 # and add multilib dir if necessary...
10522 lt_tmp_lt_search_path_spec
=
10523 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10524 # ...but if some path component already ends with the multilib dir we assume
10525 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10526 case "$lt_multi_os_dir; $lt_search_path_spec " in
10527 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10531 for lt_sys_path
in $lt_search_path_spec; do
10532 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10533 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10534 elif test -n "$lt_multi_os_dir"; then
10535 test -d "$lt_sys_path" && \
10536 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10539 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10540 BEGIN {RS = " "; FS = "/|\n";} {
10543 for (lt_i = NF; lt_i > 0; lt_i--) {
10544 if ($lt_i != "" && $lt_i != ".") {
10545 if ($lt_i == "..") {
10548 if (lt_count == 0) {
10549 lt_foo = "/" $lt_i lt_foo;
10556 if (lt_foo != "") { lt_freq[lt_foo]++; }
10557 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10559 # AWK program above erroneously prepends '/' to C:/dos/paths
10562 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10563 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10565 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10567 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10569 library_names_spec
=
10570 libname_spec
='lib$name'
10574 postuninstall_cmds
=
10578 shlibpath_overrides_runpath
=unknown
10580 dynamic_linker
="$host_os ld.so"
10581 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10582 need_lib_prefix
=unknown
10583 hardcode_into_libs
=no
10585 # when you set need_version to no, make sure it does not cause -set_version
10586 # flags to be left without arguments
10587 need_version
=unknown
10593 version_type
=linux
# correct to gnu/linux during the next big refactor
10594 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10595 shlibpath_var
=LIBPATH
10597 # AIX 3 has no versioning support, so we append a major version to the name.
10598 soname_spec
='$libname$release$shared_ext$major'
10602 version_type
=linux
# correct to gnu/linux during the next big refactor
10605 hardcode_into_libs
=yes
10606 if test ia64
= "$host_cpu"; then
10607 # AIX 5 supports IA64
10608 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10609 shlibpath_var
=LD_LIBRARY_PATH
10611 # With GCC up to 2.95.x, collect2 would create an import file
10612 # for dependence libraries. The import file would start with
10613 # the line '#! .'. This would cause the generated library to
10614 # depend on '.', always an invalid library. This was fixed in
10615 # development snapshots of GCC prior to 3.0.
10617 aix4 | aix4.
[01] | aix4.
[01].
*)
10618 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10620 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10623 can_build_shared
=no
10627 # Using Import Files as archive members, it is possible to support
10628 # filename-based versioning of shared library archives on AIX. While
10629 # this would work for both with and without runtime linking, it will
10630 # prevent static linking of such archives. So we do filename-based
10631 # shared library versioning with .so extension only, which is used
10632 # when both runtime linking and shared linking is enabled.
10633 # Unfortunately, runtime linking may impact performance, so we do
10634 # not want this to be the default eventually. Also, we use the
10635 # versioned .so libs for executables only if there is the -brtl
10636 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10637 # To allow for filename-based versioning support, we need to create
10638 # libNAME.so.V as an archive file, containing:
10639 # *) an Import File, referring to the versioned filename of the
10640 # archive as well as the shared archive member, telling the
10641 # bitwidth (32 or 64) of that shared object, and providing the
10642 # list of exported symbols of that shared object, eventually
10643 # decorated with the 'weak' keyword
10644 # *) the shared object with the F_LOADONLY flag set, to really avoid
10645 # it being seen by the linker.
10646 # At run time we better use the real file rather than another symlink,
10647 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10649 case $with_aix_soname,$aix_use_runtimelinking in
10650 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10651 # soname into executable. Probably we can add versioning support to
10652 # collect2, so additional links can be useful in future.
10653 aix
,yes) # traditional libtool
10654 dynamic_linker
='AIX unversionable lib.so'
10655 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10656 # instead of lib<name>.a to let people know that these are not
10657 # typical AIX shared libraries.
10658 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10660 aix
,no
) # traditional AIX only
10661 dynamic_linker
='AIX lib.a(lib.so.V)'
10662 # We preserve .a as extension for shared libraries through AIX4.2
10663 # and later when we are not doing run time linking.
10664 library_names_spec
='$libname$release.a $libname.a'
10665 soname_spec
='$libname$release$shared_ext$major'
10667 svr4
,*) # full svr4 only
10668 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10669 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10670 # We do not specify a path in Import Files, so LIBPATH fires.
10671 shlibpath_overrides_runpath
=yes
10673 *,yes) # both, prefer svr4
10674 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10675 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10676 # unpreferred sharedlib libNAME.a needs extra handling
10677 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"'
10678 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"'
10679 # We do not specify a path in Import Files, so LIBPATH fires.
10680 shlibpath_overrides_runpath
=yes
10682 *,no
) # both, prefer aix
10683 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10684 library_names_spec
='$libname$release.a $libname.a'
10685 soname_spec
='$libname$release$shared_ext$major'
10686 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10687 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)'
10688 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"'
10691 shlibpath_var
=LIBPATH
10698 # Since July 2007 AmigaOS4 officially supports .so libraries.
10699 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10700 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10703 library_names_spec
='$libname.ixlibrary $libname.a'
10704 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10705 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'
10711 library_names_spec
='$libname$shared_ext'
10712 dynamic_linker
="$host_os ld.so"
10713 shlibpath_var
=LIBRARY_PATH
10717 version_type
=linux
# correct to gnu/linux during the next big refactor
10719 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10720 soname_spec
='$libname$release$shared_ext$major'
10721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10722 shlibpath_var
=LD_LIBRARY_PATH
10723 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10724 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10725 # the default ld.so.conf also contains /usr/contrib/lib and
10726 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10727 # libtool to hard-code these into programs
10730 cygwin
* | mingw
* | pw32
* | cegcc
*)
10731 version_type
=windows
10736 case $GCC,$cc_basename in
10739 library_names_spec
='$libname.dll.a'
10740 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10741 postinstall_cmds
='base_file=`basename \$file`~
10742 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10743 dldir=$destdir/`dirname \$dlpath`~
10744 test -d \$dldir || mkdir -p \$dldir~
10745 $install_prog $dir/$dlname \$dldir/$dlname~
10746 chmod a+x \$dldir/$dlname~
10747 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10748 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10750 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10751 dlpath=$dir/\$dldll~
10753 shlibpath_overrides_runpath
=yes
10757 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10758 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10760 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10763 # MinGW DLLs use traditional 'lib' prefix
10764 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10767 # pw32 DLLs use 'pw' prefix rather than 'lib'
10768 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10771 dynamic_linker
='Win32 ld.exe'
10776 libname_spec
='$name'
10777 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10778 library_names_spec
='$libname.dll.lib'
10782 sys_lib_search_path_spec
=
10785 for lt_path
in $LIB
10788 # Let DOS variable expansion print the short 8.3 style file name.
10789 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10790 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10793 # Convert to MSYS style.
10794 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10797 # Convert to unix form, then to dos form, then back to unix form
10798 # but this time dos style (no spaces!) so that the unix form looks
10799 # like /cygdrive/c/PROGRA~1:/cygdr...
10800 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10801 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10802 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10805 sys_lib_search_path_spec
=$LIB
10806 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10807 # It is most probably a Windows format PATH.
10808 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10810 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10812 # FIXME: find the short name or the path components, as spaces are
10813 # common. (e.g. "Program Files" -> "PROGRA~1")
10817 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10818 postinstall_cmds
='base_file=`basename \$file`~
10819 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10820 dldir=$destdir/`dirname \$dlpath`~
10821 test -d \$dldir || mkdir -p \$dldir~
10822 $install_prog $dir/$dlname \$dldir/$dlname'
10823 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10824 dlpath=$dir/\$dldll~
10826 shlibpath_overrides_runpath
=yes
10827 dynamic_linker
='Win32 link.exe'
10831 # Assume MSVC wrapper
10832 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10833 dynamic_linker
='Win32 ld.exe'
10836 # FIXME: first we should search . and the directory the executable is in
10840 darwin
* | rhapsody
*)
10841 dynamic_linker
="$host_os dyld"
10842 version_type
=darwin
10845 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10846 soname_spec
='$libname$release$major$shared_ext'
10847 shlibpath_overrides_runpath
=yes
10848 shlibpath_var
=DYLD_LIBRARY_PATH
10849 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10851 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10852 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10856 version_type
=linux
# correct to gnu/linux during the next big refactor
10859 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10860 soname_spec
='$libname$release$shared_ext$major'
10861 shlibpath_var
=LD_LIBRARY_PATH
10864 freebsd
* | dragonfly
*)
10865 # DragonFly does not have aout. When/if they implement a new
10866 # versioning mechanism, adjust this.
10867 if test -x /usr
/bin
/objformat
; then
10868 objformat
=`/usr/bin/objformat`
10871 freebsd
[23].
*) objformat
=aout
;;
10872 *) objformat
=elf
;;
10875 version_type
=freebsd-
$objformat
10876 case $version_type in
10878 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10879 soname_spec
='$libname$release$shared_ext$major'
10884 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10888 shlibpath_var
=LD_LIBRARY_PATH
10891 shlibpath_overrides_runpath
=yes
10893 freebsd3.
[01]* | freebsdelf3.
[01]*)
10894 shlibpath_overrides_runpath
=yes
10895 hardcode_into_libs
=yes
10897 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10898 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10899 shlibpath_overrides_runpath
=no
10900 hardcode_into_libs
=yes
10902 *) # from 4.6 on, and DragonFly
10903 shlibpath_overrides_runpath
=yes
10904 hardcode_into_libs
=yes
10910 version_type
=linux
# correct to gnu/linux during the next big refactor
10913 dynamic_linker
="$host_os runtime_loader"
10914 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10915 soname_spec
='$libname$release$shared_ext$major'
10916 shlibpath_var
=LIBRARY_PATH
10917 shlibpath_overrides_runpath
=no
10918 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10919 hardcode_into_libs
=yes
10922 hpux9
* | hpux10
* | hpux11
*)
10923 # Give a soname corresponding to the major version so that dld.sl refuses to
10924 # link against other versions.
10931 hardcode_into_libs
=yes
10932 dynamic_linker
="$host_os dld.so"
10933 shlibpath_var
=LD_LIBRARY_PATH
10934 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10935 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10936 soname_spec
='$libname$release$shared_ext$major'
10937 if test 32 = "$HPUX_IA64_MODE"; then
10938 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10939 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10941 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10942 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10947 hardcode_into_libs
=yes
10948 dynamic_linker
="$host_os dld.sl"
10949 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10950 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10951 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10952 soname_spec
='$libname$release$shared_ext$major'
10953 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10954 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10958 dynamic_linker
="$host_os dld.sl"
10959 shlibpath_var
=SHLIB_PATH
10960 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10961 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10962 soname_spec
='$libname$release$shared_ext$major'
10965 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10966 postinstall_cmds
='chmod 555 $lib'
10967 # or fails outright, so override atomically:
10968 install_override_mode
=555
10972 version_type
=linux
# correct to gnu/linux during the next big refactor
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 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10978 shlibpath_var
=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath
=no
10980 hardcode_into_libs
=yes
10983 irix5
* | irix6
* | nonstopux
*)
10985 nonstopux
*) version_type
=nonstopux
;;
10987 if test yes = "$lt_cv_prog_gnu_ld"; then
10988 version_type
=linux
# correct to gnu/linux during the next big refactor
10995 soname_spec
='$libname$release$shared_ext$major'
10996 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10998 irix5
* | nonstopux
*)
10999 libsuff
= shlibsuff
=
11002 case $LD in # libtool.m4 will add one of these switches to LD
11003 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11004 libsuff
= shlibsuff
= libmagic
=32-bit;;
11005 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11006 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11007 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11008 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11009 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11013 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11014 shlibpath_overrides_runpath
=no
11015 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11016 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11017 hardcode_into_libs
=yes
11020 # No shared lib support for Linux oldld, aout, or coff.
11021 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11026 version_type
=none
# Android doesn't support versioned libraries.
11029 library_names_spec
='$libname$release$shared_ext'
11030 soname_spec
='$libname$release$shared_ext'
11032 shlibpath_var
=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath
=yes
11035 # This implies no fast_install, which is unacceptable.
11036 # Some rework will be needed to allow for fast_install
11037 # before this can be enabled.
11038 hardcode_into_libs
=yes
11040 dynamic_linker
='Android linker'
11041 # Don't embed -rpath directories since the linker doesn't support them.
11042 hardcode_libdir_flag_spec
='-L$libdir'
11045 # This must be glibc/ELF.
11046 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11047 version_type
=linux
# correct to gnu/linux during the next big refactor
11050 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11051 soname_spec
='$libname$release$shared_ext$major'
11052 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11053 shlibpath_var
=LD_LIBRARY_PATH
11054 shlibpath_overrides_runpath
=no
11056 # Some binutils ld are patched to set DT_RUNPATH
11057 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11058 $as_echo_n "(cached) " >&6
11060 lt_cv_shlibpath_overrides_runpath
=no
11061 save_LDFLAGS
=$LDFLAGS
11062 save_libdir
=$libdir
11063 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11064 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11076 if ac_fn_c_try_link
"$LINENO"; then :
11077 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11078 lt_cv_shlibpath_overrides_runpath
=yes
11081 rm -f core conftest.err conftest.
$ac_objext \
11082 conftest
$ac_exeext conftest.
$ac_ext
11083 LDFLAGS
=$save_LDFLAGS
11084 libdir
=$save_libdir
11088 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11090 # This implies no fast_install, which is unacceptable.
11091 # Some rework will be needed to allow for fast_install
11092 # before this can be enabled.
11093 hardcode_into_libs
=yes
11095 # Add ABI-specific directories to the system library path.
11096 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11098 # Ideally, we could use ldconfig to report *all* directores which are
11099 # searched for libraries, however this is still not possible. Aside from not
11100 # being certain /sbin/ldconfig is available, command
11101 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11102 # even though it is searched at run-time. Try to do the best guess by
11103 # appending ld.so.conf contents (and includes) to the search path.
11104 if test -f /etc
/ld.so.conf
; then
11105 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' ' '`
11106 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11109 # We used to test for /lib/ld.so.1 and disable shared libraries on
11110 # powerpc, because MkLinux only supported shared libraries with the
11111 # GNU dynamic linker. Since this was broken with cross compilers,
11112 # most powerpc-linux boxes support dynamic linking these days and
11113 # people can always --disable-shared, the test was removed, and we
11114 # assume the GNU/Linux dynamic linker is in use.
11115 dynamic_linker
='GNU/Linux ld.so'
11122 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11123 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11124 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11125 dynamic_linker
='NetBSD (a.out) ld.so'
11127 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11128 soname_spec
='$libname$release$shared_ext$major'
11129 dynamic_linker
='NetBSD ld.elf_so'
11131 shlibpath_var
=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath
=yes
11133 hardcode_into_libs
=yes
11137 version_type
=linux
# correct to gnu/linux during the next big refactor
11138 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11139 shlibpath_var
=LD_LIBRARY_PATH
11140 shlibpath_overrides_runpath
=yes
11147 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11148 soname_spec
='$libname$release$shared_ext$major'
11149 shlibpath_var
=LD_LIBRARY_PATH
11150 shlibpath_overrides_runpath
=no
11151 hardcode_into_libs
=yes
11152 dynamic_linker
='ldqnx.so'
11155 openbsd
* | bitrig
*)
11157 sys_lib_dlsearch_path_spec
=/usr
/lib
11159 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11164 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11165 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11166 shlibpath_var
=LD_LIBRARY_PATH
11167 shlibpath_overrides_runpath
=yes
11171 libname_spec
='$name'
11172 version_type
=windows
11176 # OS/2 can only load a DLL with a base name of 8 characters or less.
11177 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11178 v=$($ECHO $release$versuffix | tr -d .-);
11179 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11180 $ECHO $n$v`$shared_ext'
11181 library_names_spec
='${libname}_dll.$libext'
11182 dynamic_linker
='OS/2 ld.exe'
11183 shlibpath_var
=BEGINLIBPATH
11184 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11185 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11186 postinstall_cmds
='base_file=`basename \$file`~
11187 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11188 dldir=$destdir/`dirname \$dlpath`~
11189 test -d \$dldir || mkdir -p \$dldir~
11190 $install_prog $dir/$dlname \$dldir/$dlname~
11191 chmod a+x \$dldir/$dlname~
11192 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11193 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11195 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11196 dlpath=$dir/\$dldll~
11200 osf3
* | osf4
* | osf5
*)
11204 soname_spec
='$libname$release$shared_ext$major'
11205 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11206 shlibpath_var
=LD_LIBRARY_PATH
11207 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11208 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11216 version_type
=linux
# correct to gnu/linux during the next big refactor
11219 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11220 soname_spec
='$libname$release$shared_ext$major'
11221 shlibpath_var
=LD_LIBRARY_PATH
11222 shlibpath_overrides_runpath
=yes
11223 hardcode_into_libs
=yes
11224 # ldd complains unless libraries are executable
11225 postinstall_cmds
='chmod +x $lib'
11230 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11231 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11232 shlibpath_var
=LD_LIBRARY_PATH
11233 shlibpath_overrides_runpath
=yes
11234 if test yes = "$with_gnu_ld"; then
11241 version_type
=linux
# correct to gnu/linux during the next big refactor
11242 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11243 soname_spec
='$libname$release$shared_ext$major'
11244 shlibpath_var
=LD_LIBRARY_PATH
11245 case $host_vendor in
11247 shlibpath_overrides_runpath
=no
11249 runpath_var
=LD_RUN_PATH
11257 shlibpath_overrides_runpath
=no
11258 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11264 if test -d /usr
/nec
; then
11265 version_type
=linux
# correct to gnu/linux during the next big refactor
11266 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11267 soname_spec
='$libname$shared_ext.$major'
11268 shlibpath_var
=LD_LIBRARY_PATH
11272 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11276 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11277 soname_spec
='$libname$release$shared_ext$major'
11278 shlibpath_var
=LD_LIBRARY_PATH
11279 shlibpath_overrides_runpath
=yes
11280 hardcode_into_libs
=yes
11281 if test yes = "$with_gnu_ld"; then
11282 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11284 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11287 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11291 sys_lib_dlsearch_path_spec
='/usr/lib'
11295 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11296 version_type
=linux
# correct to gnu/linux during the next big refactor
11299 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11300 shlibpath_var
=LD_LIBRARY_PATH
11301 shlibpath_overrides_runpath
=no
11302 hardcode_into_libs
=yes
11306 version_type
=linux
# correct to gnu/linux during the next big refactor
11307 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11308 soname_spec
='$libname$release$shared_ext$major'
11309 shlibpath_var
=LD_LIBRARY_PATH
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11317 $as_echo "$dynamic_linker" >&6; }
11318 test no
= "$dynamic_linker" && can_build_shared
=no
11320 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11321 if test yes = "$GCC"; then
11322 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11325 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11326 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11329 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11330 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11333 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11334 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11336 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11337 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11339 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11340 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11439 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11441 if test -n "$hardcode_libdir_flag_spec" ||
11442 test -n "$runpath_var" ||
11443 test yes = "$hardcode_automatic"; then
11445 # We can hardcode non-existent directories.
11446 if test no
!= "$hardcode_direct" &&
11447 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11448 # have to relink, otherwise we might link with an installed library
11449 # when we should be linking with a yet-to-be-installed one
11450 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11451 test no
!= "$hardcode_minus_L"; then
11452 # Linking always hardcodes the temporary library directory.
11453 hardcode_action
=relink
11455 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11456 hardcode_action
=immediate
11459 # We cannot hardcode anything, or else we can only hardcode existing
11461 hardcode_action
=unsupported
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11464 $as_echo "$hardcode_action" >&6; }
11466 if test relink
= "$hardcode_action" ||
11467 test yes = "$inherit_rpath"; then
11468 # Fast installation is not supported
11469 enable_fast_install
=no
11470 elif test yes = "$shlibpath_overrides_runpath" ||
11471 test no
= "$enable_shared"; then
11472 # Fast installation is not necessary
11473 enable_fast_install
=needless
11481 if test yes != "$enable_dlopen"; then
11482 enable_dlopen
=unknown
11483 enable_dlopen_self
=unknown
11484 enable_dlopen_self_static
=unknown
11491 lt_cv_dlopen
=load_add_on
11493 lt_cv_dlopen_self
=yes
11496 mingw
* | pw32
* | cegcc
*)
11497 lt_cv_dlopen
=LoadLibrary
11502 lt_cv_dlopen
=dlopen
11507 # if libdl is installed we need to link against it
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11509 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11510 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11511 $as_echo_n "(cached) " >&6
11513 ac_check_lib_save_LIBS
=$LIBS
11515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11533 if ac_fn_c_try_link
"$LINENO"; then :
11534 ac_cv_lib_dl_dlopen
=yes
11536 ac_cv_lib_dl_dlopen
=no
11538 rm -f core conftest.err conftest.
$ac_objext \
11539 conftest
$ac_exeext conftest.
$ac_ext
11540 LIBS
=$ac_check_lib_save_LIBS
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11543 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11544 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11545 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11550 lt_cv_dlopen_self
=yes
11557 # Don't try to run any link tests for TPF. We know it's impossible
11558 # because TPF is a cross-compiler, and we know how we open DSOs.
11559 lt_cv_dlopen
=dlopen
11561 lt_cv_dlopen_self
=no
11565 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11566 if test "x$ac_cv_func_shl_load" = xyes
; then :
11567 lt_cv_dlopen
=shl_load
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11570 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11571 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11572 $as_echo_n "(cached) " >&6
11574 ac_check_lib_save_LIBS
=$LIBS
11576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11589 return shl_load ();
11594 if ac_fn_c_try_link
"$LINENO"; then :
11595 ac_cv_lib_dld_shl_load
=yes
11597 ac_cv_lib_dld_shl_load
=no
11599 rm -f core conftest.err conftest.
$ac_objext \
11600 conftest
$ac_exeext conftest.
$ac_ext
11601 LIBS
=$ac_check_lib_save_LIBS
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11604 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11605 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11606 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11608 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11609 if test "x$ac_cv_func_dlopen" = xyes
; then :
11610 lt_cv_dlopen
=dlopen
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11613 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11614 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 ac_check_lib_save_LIBS
=$LIBS
11619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11637 if ac_fn_c_try_link
"$LINENO"; then :
11638 ac_cv_lib_dl_dlopen
=yes
11640 ac_cv_lib_dl_dlopen
=no
11642 rm -f core conftest.err conftest.
$ac_objext \
11643 conftest
$ac_exeext conftest.
$ac_ext
11644 LIBS
=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11647 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11648 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11649 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11652 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11653 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11654 $as_echo_n "(cached) " >&6
11656 ac_check_lib_save_LIBS
=$LIBS
11657 LIBS
="-lsvld $LIBS"
11658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11661 /* Override any GCC internal prototype to avoid an error.
11662 Use char because int might match the return type of a GCC
11663 builtin and then its argument prototype would still apply. */
11676 if ac_fn_c_try_link
"$LINENO"; then :
11677 ac_cv_lib_svld_dlopen
=yes
11679 ac_cv_lib_svld_dlopen
=no
11681 rm -f core conftest.err conftest.
$ac_objext \
11682 conftest
$ac_exeext conftest.
$ac_ext
11683 LIBS
=$ac_check_lib_save_LIBS
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11686 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11687 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11688 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11691 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11692 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11693 $as_echo_n "(cached) " >&6
11695 ac_check_lib_save_LIBS
=$LIBS
11697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11710 return dld_link ();
11715 if ac_fn_c_try_link
"$LINENO"; then :
11716 ac_cv_lib_dld_dld_link
=yes
11718 ac_cv_lib_dld_dld_link
=no
11720 rm -f core conftest.err conftest.
$ac_objext \
11721 conftest
$ac_exeext conftest.
$ac_ext
11722 LIBS
=$ac_check_lib_save_LIBS
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11725 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11726 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11727 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11748 if test no
= "$lt_cv_dlopen"; then
11754 case $lt_cv_dlopen in
11756 save_CPPFLAGS
=$CPPFLAGS
11757 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11759 save_LDFLAGS
=$LDFLAGS
11760 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11763 LIBS
="$lt_cv_dlopen_libs $LIBS"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11766 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11767 if ${lt_cv_dlopen_self+:} false
; then :
11768 $as_echo_n "(cached) " >&6
11770 if test yes = "$cross_compiling"; then :
11771 lt_cv_dlopen_self
=cross
11773 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11774 lt_status
=$lt_dlunknown
11775 cat > conftest.
$ac_ext <<_LT_EOF
11776 #line $LINENO "configure"
11777 #include "confdefs.h"
11786 # define LT_DLGLOBAL RTLD_GLOBAL
11789 # define LT_DLGLOBAL DL_GLOBAL
11791 # define LT_DLGLOBAL 0
11795 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11796 find out it does not work in some platform. */
11797 #ifndef LT_DLLAZY_OR_NOW
11799 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11802 # define LT_DLLAZY_OR_NOW DL_LAZY
11805 # define LT_DLLAZY_OR_NOW RTLD_NOW
11808 # define LT_DLLAZY_OR_NOW DL_NOW
11810 # define LT_DLLAZY_OR_NOW 0
11817 /* When -fvisibility=hidden is used, assume the code has been annotated
11818 correspondingly for the symbols needed. */
11819 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11820 int fnord () __attribute__((visibility("default")));
11823 int fnord () { return 42; }
11826 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11827 int status = $lt_dlunknown;
11831 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11834 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11835 else puts (dlerror ());
11837 /* dlclose (self); */
11845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11846 (eval $ac_link) 2>&5
11848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11849 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11850 (.
/conftest
; exit; ) >&5 2>/dev
/null
11852 case x
$lt_status in
11853 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11854 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11855 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11858 # compilation failed
11859 lt_cv_dlopen_self
=no
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11867 $as_echo "$lt_cv_dlopen_self" >&6; }
11869 if test yes = "$lt_cv_dlopen_self"; then
11870 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11872 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11873 if ${lt_cv_dlopen_self_static+:} false
; then :
11874 $as_echo_n "(cached) " >&6
11876 if test yes = "$cross_compiling"; then :
11877 lt_cv_dlopen_self_static
=cross
11879 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11880 lt_status
=$lt_dlunknown
11881 cat > conftest.
$ac_ext <<_LT_EOF
11882 #line $LINENO "configure"
11883 #include "confdefs.h"
11892 # define LT_DLGLOBAL RTLD_GLOBAL
11895 # define LT_DLGLOBAL DL_GLOBAL
11897 # define LT_DLGLOBAL 0
11901 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11902 find out it does not work in some platform. */
11903 #ifndef LT_DLLAZY_OR_NOW
11905 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11908 # define LT_DLLAZY_OR_NOW DL_LAZY
11911 # define LT_DLLAZY_OR_NOW RTLD_NOW
11914 # define LT_DLLAZY_OR_NOW DL_NOW
11916 # define LT_DLLAZY_OR_NOW 0
11923 /* When -fvisibility=hidden is used, assume the code has been annotated
11924 correspondingly for the symbols needed. */
11925 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11926 int fnord () __attribute__((visibility("default")));
11929 int fnord () { return 42; }
11932 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11933 int status = $lt_dlunknown;
11937 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11940 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11941 else puts (dlerror ());
11943 /* dlclose (self); */
11951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11952 (eval $ac_link) 2>&5
11954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11955 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11956 (.
/conftest
; exit; ) >&5 2>/dev
/null
11958 case x
$lt_status in
11959 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11960 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11961 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11964 # compilation failed
11965 lt_cv_dlopen_self_static
=no
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11973 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11976 CPPFLAGS
=$save_CPPFLAGS
11977 LDFLAGS
=$save_LDFLAGS
11982 case $lt_cv_dlopen_self in
11983 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11984 *) enable_dlopen_self
=unknown
;;
11987 case $lt_cv_dlopen_self_static in
11988 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11989 *) enable_dlopen_self_static
=unknown
;;
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12012 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12013 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12014 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12015 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12017 $as_echo "yes" >&6; }
12019 # FIXME - insert some real tests, host_os isn't really good enough
12022 if test -n "$STRIP"; then
12023 striplib
="$STRIP -x"
12024 old_striplib
="$STRIP -S"
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12026 $as_echo "yes" >&6; }
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12029 $as_echo "no" >&6; }
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12034 $as_echo "no" >&6; }
12050 # Report what library types will actually be built
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12052 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12054 $as_echo "$can_build_shared" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12057 $as_echo_n "checking whether to build shared libraries... " >&6; }
12058 test no
= "$can_build_shared" && enable_shared
=no
12060 # On AIX, shared libraries and static libraries use the same namespace, and
12061 # are all built from PIC.
12064 test yes = "$enable_shared" && enable_static
=no
12065 if test -n "$RANLIB"; then
12066 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12067 postinstall_cmds
='$RANLIB $lib'
12072 if test ia64
!= "$host_cpu"; then
12073 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12074 yes,aix
,yes) ;; # shared object as lib.so file only
12075 yes,svr4
,*) ;; # shared object as lib.so archive member only
12076 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12082 $as_echo "$enable_shared" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12085 $as_echo_n "checking whether to build static libraries... " >&6; }
12086 # Make sure either enable_shared or enable_static is yes.
12087 test yes = "$enable_shared" || enable_static
=yes
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12089 $as_echo "$enable_static" >&6; }
12096 ac_cpp
='$CPP $CPPFLAGS'
12097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12117 ac_config_commands
="$ac_config_commands libtool"
12122 # Only expand once:
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl author" >&5
12128 $as_echo_n "checking spl author... " >&6; }
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_META_AUTHOR" >&5
12130 $as_echo "$SPL_META_AUTHOR" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl license" >&5
12133 $as_echo_n "checking spl license... " >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_META_LICENSE" >&5
12135 $as_echo "$SPL_META_LICENSE" >&6; }
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linux distribution" >&5
12140 $as_echo_n "checking linux distribution... " >&6; }
12141 if test -f /etc
/toss-release
; then
12143 elif test -f /etc
/fedora-release
; then
12145 elif test -f /etc
/redhat-release
; then
12147 elif test -f /etc
/gentoo-release
; then
12149 elif test -f /etc
/arch-release
; then
12151 elif test -f /etc
/SuSE-release
; then
12153 elif test -f /etc
/slackware-version
; then
12155 elif test -f /etc
/lunar.release
; then
12157 elif test -f /etc
/lsb-release
; then
12159 elif test -f /etc
/debian_version
; then
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VENDOR" >&5
12165 $as_echo "$VENDOR" >&6; }
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default package type" >&5
12169 $as_echo_n "checking default package type... " >&6; }
12171 toss
) DEFAULT_PACKAGE
=rpm
;;
12172 redhat
) DEFAULT_PACKAGE
=rpm
;;
12173 fedora
) DEFAULT_PACKAGE
=rpm
;;
12174 gentoo
) DEFAULT_PACKAGE
=tgz
;;
12175 arch
) DEFAULT_PACKAGE
=tgz
;;
12176 sles
) DEFAULT_PACKAGE
=rpm
;;
12177 slackware
) DEFAULT_PACKAGE
=tgz
;;
12178 lunar
) DEFAULT_PACKAGE
=tgz
;;
12179 ubuntu
) DEFAULT_PACKAGE
=deb
;;
12180 debian
) DEFAULT_PACKAGE
=deb
;;
12181 *) DEFAULT_PACKAGE
=rpm
;;
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_PACKAGE" >&5
12185 $as_echo "$DEFAULT_PACKAGE" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPM is available" >&5
12193 $as_echo_n "checking whether $RPM is available... " >&6; }
12194 if tmp
=$
($RPM --version 2>/dev
/null
); then :
12196 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM ($RPM_VERSION)" >&5
12199 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM" >&5
12205 $as_echo "$HAVE_RPM" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPMBUILD is available" >&5
12210 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
12211 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then :
12213 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
12216 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD" >&5
12222 $as_echo "$HAVE_RPMBUILD" >&6; }
12226 RPM_DEFINE_COMMON
='--define "$(DEBUG_SPL) 1" --define "$(DEBUG_KMEM) 1" --define "$(DEBUG_KMEM_TRACKING) 1"'
12228 RPM_DEFINE_KMOD
='--define "kernels $(LINUX_VERSION)"'
12231 SRPM_DEFINE_COMMON
='--define "build_src_rpm 1"'
12236 RPM_SPEC_DIR
="rpm/generic"
12238 # Check whether --with-spec was given.
12239 if test "${with_spec+set}" = set; then :
12240 withval
=$with_spec; RPM_SPEC_DIR
="rpm/$withval"
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether spec files are available" >&5
12245 $as_echo_n "checking whether spec files are available... " >&6; }
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($RPM_SPEC_DIR/*.spec.in)" >&5
12247 $as_echo "yes ($RPM_SPEC_DIR/*.spec.in)" >&6; }
12269 DPKGBUILD
=dpkg-buildpackage
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKG is available" >&5
12272 $as_echo_n "checking whether $DPKG is available... " >&6; }
12273 if tmp
=$
($DPKG --version 2>/dev
/null
); then :
12275 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
12278 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG" >&5
12284 $as_echo "$HAVE_DPKG" >&6; }
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKGBUILD is available" >&5
12289 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
12290 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then :
12292 DPKGBUILD_VERSION
=$
(echo $tmp | \
12293 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
12296 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD" >&5
12302 $as_echo "$HAVE_DPKGBUILD" >&6; }
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ALIEN is available" >&5
12318 $as_echo_n "checking whether $ALIEN is available... " >&6; }
12319 if tmp
=$
($ALIEN --version 2>/dev
/null
); then :
12321 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
12324 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN" >&5
12330 $as_echo "$HAVE_ALIEN" >&6; }
12342 # Check whether --with-config was given.
12343 if test "${with_config+set}" = set; then :
12344 withval
=$with_config; SPL_CONFIG
="$withval"
12347 # Check whether --enable-linux-builtin was given.
12348 if test "${enable_linux_builtin+set}" = set; then :
12349 enableval
=$enable_linux_builtin;
12351 enable_linux_builtin
=no
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl config" >&5
12356 $as_echo_n "checking spl config... " >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_CONFIG" >&5
12358 $as_echo "$SPL_CONFIG" >&6; };
12361 case "$SPL_CONFIG" in
12365 # Check whether --with-linux was given.
12366 if test "${with_linux+set}" = set; then :
12367 withval
=$with_linux; kernelsrc
="$withval"
12372 # Check whether --with-linux-obj was given.
12373 if test "${with_linux_obj+set}" = set; then :
12374 withval
=$with_linux_obj; kernelbuild
="$withval"
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
12379 $as_echo_n "checking kernel source directory... " >&6; }
12380 if test -z "$kernelsrc"; then
12381 if test -e "/lib/modules/$(uname -r)/source"; then
12382 headersdir
="/lib/modules/$(uname -r)/source"
12383 sourcelink
=$
(readlink
-f "$headersdir")
12384 elif test -e "/lib/modules/$(uname -r)/build"; then
12385 headersdir
="/lib/modules/$(uname -r)/build"
12386 sourcelink
=$
(readlink
-f "$headersdir")
12388 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
12390 2>/dev
/null |
grep -v obj |
tail -1)
12393 if test -n "$sourcelink" && test -e ${sourcelink}; then
12394 kernelsrc
=`readlink -f ${sourcelink}`
12396 kernelsrc
="Not found"
12399 if test "$kernelsrc" = "NONE"; then
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
12405 $as_echo "$kernelsrc" >&6; }
12406 if test ! -d "$kernelsrc"; then
12408 *** Please make sure the kernel devel package for your distribution
12409 *** is installed and then try again. If that fails, you can specify the
12410 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
12414 $as_echo_n "checking kernel build directory... " >&6; }
12415 if test -z "$kernelbuild"; then
12416 if test -e "/lib/modules/$(uname -r)/build"; then
12417 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
12418 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
12419 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
12420 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
12421 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
12422 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
12423 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
12425 kernelbuild
=${kernelsrc}
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
12429 $as_echo "$kernelbuild" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
12432 $as_echo_n "checking kernel source version... " >&6; }
12433 utsrelease1
=$kernelbuild/include
/linux
/version.h
12434 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
12435 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
12436 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
12437 utsrelease
=linux
/version.h
12438 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
12439 utsrelease
=linux
/utsrelease.h
12440 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
12441 utsrelease
=generated
/utsrelease.h
12444 if test "$utsrelease"; then
12445 kernsrcver
=`(echo "#include <$utsrelease>";
12446 echo "kernsrcver=UTS_RELEASE") |
12447 cpp -I $kernelbuild/include |
12448 grep "^kernsrcver=" | cut -d \" -f 2`
12450 if test -z "$kernsrcver"; then
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
12452 $as_echo "Not found" >&6; }
12453 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
12457 $as_echo "Not found" >&6; }
12458 if test "x$enable_linux_builtin" != xyes
; then
12459 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
12462 *** Cannot find UTS_RELEASE definition.
12463 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
12468 $as_echo "$kernsrcver" >&6; }
12471 LINUX_OBJ
=${kernelbuild}
12472 LINUX_VERSION
=${kernsrcver}
12479 modpost
=$LINUX/scripts
/Makefile.modpost
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
12481 $as_echo_n "checking kernel file name for module symbols... " >&6; }
12482 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
12483 if grep -q Modules.symvers
$modpost; then
12484 LINUX_SYMBOLS
=Modules.symvers
12486 LINUX_SYMBOLS
=Module.symvers
12489 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
12491 *** Please make sure the kernel devel package for your distribution
12492 *** is installed. If you are building with a custom kernel, make sure the
12493 *** kernel is configured, built, and the '--with-linux=PATH' configure
12494 *** option refers to the location of the kernel source." "$LINENO" 5
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
12500 $as_echo "$LINUX_SYMBOLS" >&6; }
12505 if test "${LINUX_OBJ}" != "${LINUX}"; then
12506 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
12510 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
12515 $as_echo_n "checking whether debugging is enabled... " >&6; }
12516 # Check whether --enable-debug was given.
12517 if test "${enable_debug+set}" = set; then :
12518 enableval
=$enable_debug;
12524 if test "x$enable_debug" = xyes
; then :
12526 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
12527 DEBUG_CFLAGS
="-DDEBUG -Werror"
12528 DEBUG_SPL
="_with_debug"
12532 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
12533 DEBUG_CFLAGS
="-DNDEBUG"
12534 DEBUG_SPL
="_without_debug"
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
12541 $as_echo "$enable_debug" >&6; }
12544 # Check whether --enable-debug-kmem was given.
12545 if test "${enable_debug_kmem+set}" = set; then :
12546 enableval
=$enable_debug_kmem;
12548 enable_debug_kmem
=no
12552 if test "x$enable_debug_kmem" = xyes
; then :
12554 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
12555 DEBUG_KMEM
="_with_debug_kmem"
12557 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
12562 DEBUG_KMEM
="_without_debug_kmem"
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
12568 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
12570 $as_echo "$enable_debug_kmem" >&6; }
12573 # Check whether --enable-debug-kmem-tracking was given.
12574 if test "${enable_debug_kmem_tracking+set}" = set; then :
12575 enableval
=$enable_debug_kmem_tracking;
12577 enable_debug_kmem_tracking
=no
12581 if test "x$enable_debug_kmem_tracking" = xyes
; then :
12583 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
12584 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
12586 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
12591 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
12597 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
12599 $as_echo "$enable_debug_kmem_tracking" >&6; }
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
12602 $as_echo_n "checking whether modules can be built... " >&6; }
12605 cat confdefs.h
- <<_ACEOF >conftest.c
12619 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12620 echo "obj-m := conftest.o" >build
/Makefile
12622 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12623 if { 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'
12624 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12625 (eval $ac_try) 2>&5
12627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12628 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12629 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12630 (eval $ac_try) 2>&5
12632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12633 test $ac_status = 0; }; }; then :
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12636 $as_echo "yes" >&6; }
12639 $as_echo "$as_me: failed program was:" >&5
12640 sed 's/^/| /' conftest.
$ac_ext >&5
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12643 $as_echo "no" >&6; }
12644 if test "x$enable_linux_builtin" != xyes
; then
12645 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
12648 *** Unable to build an empty module.
12649 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
12659 if test "x$cross_compiling" != xyes
; then :
12661 if test "$cross_compiling" = yes; then :
12662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12664 as_fn_error $?
"cannot run test program while cross compiling
12665 See \`config.log' for more details" "$LINENO" 5; }
12667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12671 #include "$LINUX/include/linux/license.h"
12677 return !license_is_gpl_compatible(
12678 "$SPL_META_LICENSE");
12685 if ac_fn_c_try_run
"$LINENO"; then :
12688 $as_echo "#define SPL_IS_GPL_COMPATIBLE 1" >>confdefs.h
12692 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12693 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12700 # Check whether --enable-atomic-spinlocks was given.
12701 if test "${enable_atomic_spinlocks+set}" = set; then :
12702 enableval
=$enable_atomic_spinlocks;
12704 enable_atomic_spinlocks
=check
12710 cat confdefs.h
- <<_ACEOF >conftest.c
12713 #include <linux/fs.h>
12719 atomic64_t *ptr __attribute__ ((unused));
12728 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12729 echo "obj-m := conftest.o" >build
/Makefile
12731 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12732 if { 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'
12733 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12734 (eval $ac_try) 2>&5
12736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12737 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12738 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12739 (eval $ac_try) 2>&5
12741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12742 test $ac_status = 0; }; }; then :
12744 have_atomic64_t
=yes
12746 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
12750 $as_echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.
$ac_ext >&5
12762 if test "x$enable_atomic_spinlocks" = xcheck
; then :
12764 if test "x$have_atomic64_t" = xyes
; then :
12766 enable_atomic_spinlocks
=no
12770 enable_atomic_spinlocks
=yes
12776 if test "x$enable_atomic_spinlocks" = xyes
; then :
12779 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
12784 if test "x$have_atomic64_t" = xno
; then :
12786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12788 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
12789 See \`config.log' for more details" "$LINENO" 5; }
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
12796 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
12798 $as_echo "$enable_atomic_spinlocks" >&6; }
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
12801 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
12803 $as_echo "$have_atomic64_t" >&6; }
12806 tmp_flags
="$EXTRA_KCFLAGS"
12807 EXTRA_KCFLAGS
="-Werror"
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 2-argument shrinker exists" >&5
12809 $as_echo_n "checking whether old 2-argument shrinker exists... " >&6; }
12812 cat confdefs.h
- <<_ACEOF >conftest.c
12815 #include <linux/mm.h>
12817 int shrinker_cb(int nr_to_scan, gfp_t gfp_mask);
12823 struct shrinker cache_shrinker = {
12824 .shrink = shrinker_cb,
12825 .seeks = DEFAULT_SEEKS,
12827 register_shrinker(&cache_shrinker);
12836 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12837 echo "obj-m := conftest.o" >build
/Makefile
12839 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12840 if { 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'
12841 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12842 (eval $ac_try) 2>&5
12844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12845 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12846 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12847 (eval $ac_try) 2>&5
12849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12850 test $ac_status = 0; }; }; then :
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12853 $as_echo "yes" >&6; }
12855 $as_echo "#define HAVE_2ARGS_OLD_SHRINKER_CALLBACK 1" >>confdefs.h
12859 $as_echo "$as_me: failed program was:" >&5
12860 sed 's/^/| /' conftest.
$ac_ext >&5
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12863 $as_echo "no" >&6; }
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 3-argument shrinker exists" >&5
12865 $as_echo_n "checking whether old 3-argument shrinker exists... " >&6; }
12868 cat confdefs.h
- <<_ACEOF >conftest.c
12871 #include <linux/mm.h>
12873 int shrinker_cb(struct shrinker *, int nr_to_scan,
12880 struct shrinker cache_shrinker = {
12881 .shrink = shrinker_cb,
12882 .seeks = DEFAULT_SEEKS,
12884 register_shrinker(&cache_shrinker);
12893 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12894 echo "obj-m := conftest.o" >build
/Makefile
12896 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12897 if { 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'
12898 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12899 (eval $ac_try) 2>&5
12901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12902 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12903 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12904 (eval $ac_try) 2>&5
12906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12907 test $ac_status = 0; }; }; then :
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12910 $as_echo "yes" >&6; }
12912 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
12916 $as_echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.
$ac_ext >&5
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12920 $as_echo "no" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether new 2-argument shrinker exists" >&5
12922 $as_echo_n "checking whether new 2-argument shrinker exists... " >&6; }
12925 cat confdefs.h
- <<_ACEOF >conftest.c
12928 #include <linux/mm.h>
12930 int shrinker_cb(struct shrinker *,
12931 struct shrink_control *sc);
12937 struct shrinker cache_shrinker = {
12938 .shrink = shrinker_cb,
12939 .seeks = DEFAULT_SEEKS,
12941 register_shrinker(&cache_shrinker);
12950 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12951 echo "obj-m := conftest.o" >build
/Makefile
12953 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12954 if { 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'
12955 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12956 (eval $ac_try) 2>&5
12958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12959 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12961 (eval $ac_try) 2>&5
12963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12964 test $ac_status = 0; }; }; then :
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12967 $as_echo "yes" >&6; }
12969 $as_echo "#define HAVE_2ARGS_NEW_SHRINKER_CALLBACK 1" >>confdefs.h
12973 $as_echo "$as_me: failed program was:" >&5
12974 sed 's/^/| /' conftest.
$ac_ext >&5
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12977 $as_echo "no" >&6; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ->count_objects callback exists" >&5
12979 $as_echo_n "checking whether ->count_objects callback exists... " >&6; }
12982 cat confdefs.h
- <<_ACEOF >conftest.c
12985 #include <linux/mm.h>
12987 unsigned long shrinker_cb(
12989 struct shrink_control *sc);
12995 struct shrinker cache_shrinker = {
12996 .count_objects = shrinker_cb,
12997 .scan_objects = shrinker_cb,
12998 .seeks = DEFAULT_SEEKS,
13000 register_shrinker(&cache_shrinker);
13009 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13010 echo "obj-m := conftest.o" >build
/Makefile
13012 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13013 if { 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'
13014 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13015 (eval $ac_try) 2>&5
13017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13018 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13019 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13020 (eval $ac_try) 2>&5
13022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13023 test $ac_status = 0; }; }; then :
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13026 $as_echo "yes" >&6; }
13028 $as_echo "#define HAVE_SPLIT_SHRINKER_CALLBACK 1" >>confdefs.h
13032 $as_echo "$as_me: failed program was:" >&5
13033 sed 's/^/| /' conftest.
$ac_ext >&5
13035 as_fn_error $?
"error" "$LINENO" 5
13064 EXTRA_KCFLAGS
="$tmp_flags"
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
13068 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
13071 cat confdefs.h
- <<_ACEOF >conftest.c
13074 #include <linux/sysctl.h>
13080 struct ctl_table ctl __attribute__ ((unused));
13090 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13091 echo "obj-m := conftest.o" >build
/Makefile
13093 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13094 if { 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'
13095 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13096 (eval $ac_try) 2>&5
13098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13099 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13100 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13101 (eval $ac_try) 2>&5
13103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13104 test $ac_status = 0; }; }; then :
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13107 $as_echo "yes" >&6; }
13109 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
13113 $as_echo "$as_me: failed program was:" >&5
13114 sed 's/^/| /' conftest.
$ac_ext >&5
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13117 $as_echo "no" >&6; }
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_TRIM_UNUSED_KSYM is disabled" >&5
13128 $as_echo_n "checking whether CONFIG_TRIM_UNUSED_KSYM is disabled... " >&6; }
13131 cat confdefs.h
- <<_ACEOF >conftest.c
13134 #if defined(CONFIG_TRIM_UNUSED_KSYMS)
13135 #error CONFIG_TRIM_UNUSED_KSYMS not defined
13149 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13150 echo "obj-m := conftest.o" >build
/Makefile
13152 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13153 if { 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'
13154 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13155 (eval $ac_try) 2>&5
13157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13158 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13159 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13160 (eval $ac_try) 2>&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13163 test $ac_status = 0; }; }; then :
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13166 $as_echo "yes" >&6; }
13169 $as_echo "$as_me: failed program was:" >&5
13170 sed 's/^/| /' conftest.
$ac_ext >&5
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13173 $as_echo "no" >&6; }
13175 *** This kernel has unused symbols trimming enabled, please disable.
13176 *** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set." "$LINENO" 5
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
13187 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
13191 cat confdefs.h
- <<_ACEOF >conftest.c
13194 #include <linux/proc_fs.h>
13209 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13210 echo "obj-m := conftest.o" >build
/Makefile
13212 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13213 if { 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'
13214 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13215 (eval $ac_try) 2>&5
13217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13218 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13219 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13220 (eval $ac_try) 2>&5
13222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13223 test $ac_status = 0; }; }; then :
13226 $as_echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.
$ac_ext >&5
13235 if test $rc -ne 0; then :
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13238 $as_echo "no" >&6; }
13241 if test "x$enable_linux_builtin" != xyes
; then
13243 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
13244 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13246 if test $rc -ne 0; then
13249 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
13250 "$LINUX_OBJ/$file" 2>/dev
/null
13252 if test $rc -eq 0; then
13257 if test $export -eq 0; then :
13267 if test $rc -ne 0; then :
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270 $as_echo "no" >&6; }
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13275 $as_echo "yes" >&6; }
13277 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
13284 tmp_flags
="$EXTRA_KCFLAGS"
13285 EXTRA_KCFLAGS
="-Werror"
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
13287 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
13290 cat confdefs.h
- <<_ACEOF >conftest.c
13293 #include <linux/spinlock.h>
13294 #include <linux/fs_struct.h>
13295 #include <linux/path.h>
13296 void (*const set_fs_pwd_func)
13297 (struct fs_struct *, const struct path *)
13313 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13314 echo "obj-m := conftest.o" >build
/Makefile
13316 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13317 if { 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'
13318 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13319 (eval $ac_try) 2>&5
13321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13322 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13323 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13324 (eval $ac_try) 2>&5
13326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13327 test $ac_status = 0; }; }; then :
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13330 $as_echo "yes" >&6; }
13332 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
13336 $as_echo "$as_me: failed program was:" >&5
13337 sed 's/^/| /' conftest.
$ac_ext >&5
13341 cat confdefs.h
- <<_ACEOF >conftest.c
13344 #include <linux/spinlock.h>
13345 #include <linux/fs_struct.h>
13346 #include <linux/path.h>
13347 void (*const set_fs_pwd_func)
13348 (struct fs_struct *, struct path *)
13364 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13365 echo "obj-m := conftest.o" >build
/Makefile
13367 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13368 if { 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'
13369 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13370 (eval $ac_try) 2>&5
13372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13373 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13374 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13375 (eval $ac_try) 2>&5
13377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13378 test $ac_status = 0; }; }; then :
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13381 $as_echo "no" >&6; }
13384 $as_echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.
$ac_ext >&5
13387 as_fn_error $?
"unknown" "$LINENO" 5
13402 EXTRA_KCFLAGS
="$tmp_flags"
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
13405 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
13408 cat confdefs.h
- <<_ACEOF >conftest.c
13411 #include <linux/fs.h>
13417 vfs_unlink((struct inode *) NULL, (struct dentry *) NULL);
13426 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13427 echo "obj-m := conftest.o" >build
/Makefile
13429 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13430 if { 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'
13431 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13432 (eval $ac_try) 2>&5
13434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13435 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13436 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13437 (eval $ac_try) 2>&5
13439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13440 test $ac_status = 0; }; }; then :
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13443 $as_echo "yes" >&6; }
13445 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
13449 $as_echo "$as_me: failed program was:" >&5
13450 sed 's/^/| /' conftest.
$ac_ext >&5
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13453 $as_echo "no" >&6; }
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 3 args" >&5
13455 $as_echo_n "checking whether vfs_unlink() wants 3 args... " >&6; }
13458 cat confdefs.h
- <<_ACEOF >conftest.c
13461 #include <linux/fs.h>
13467 vfs_unlink((struct inode *) NULL,
13468 (struct dentry *) NULL,
13469 (struct inode **) NULL);
13478 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13479 echo "obj-m := conftest.o" >build
/Makefile
13481 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13482 if { 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'
13483 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13484 (eval $ac_try) 2>&5
13486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13487 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13488 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13489 (eval $ac_try) 2>&5
13491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13492 test $ac_status = 0; }; }; then :
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13495 $as_echo "yes" >&6; }
13497 $as_echo "#define HAVE_3ARGS_VFS_UNLINK 1" >>confdefs.h
13501 $as_echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.
$ac_ext >&5
13504 as_fn_error $?
"no" "$LINENO" 5
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
13522 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
13525 cat confdefs.h
- <<_ACEOF >conftest.c
13528 #include <linux/fs.h>
13534 vfs_rename((struct inode *) NULL, (struct dentry *) NULL,
13535 (struct inode *) NULL, (struct dentry *) NULL);
13544 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13545 echo "obj-m := conftest.o" >build
/Makefile
13547 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13548 if { 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'
13549 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13550 (eval $ac_try) 2>&5
13552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13553 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13554 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13555 (eval $ac_try) 2>&5
13557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13558 test $ac_status = 0; }; }; then :
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13561 $as_echo "yes" >&6; }
13563 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
13567 $as_echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.
$ac_ext >&5
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13571 $as_echo "no" >&6; }
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 5 args" >&5
13573 $as_echo_n "checking whether vfs_rename() wants 5 args... " >&6; }
13576 cat confdefs.h
- <<_ACEOF >conftest.c
13579 #include <linux/fs.h>
13585 vfs_rename((struct inode *) NULL,
13586 (struct dentry *) NULL,
13587 (struct inode *) NULL,
13588 (struct dentry *) NULL,
13589 (struct inode **) NULL);
13598 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13599 echo "obj-m := conftest.o" >build
/Makefile
13601 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13602 if { 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'
13603 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13604 (eval $ac_try) 2>&5
13606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13607 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13608 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13609 (eval $ac_try) 2>&5
13611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13612 test $ac_status = 0; }; }; then :
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13615 $as_echo "yes" >&6; }
13617 $as_echo "#define HAVE_5ARGS_VFS_RENAME 1" >>confdefs.h
13621 $as_echo "$as_me: failed program was:" >&5
13622 sed 's/^/| /' conftest.
$ac_ext >&5
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13625 $as_echo "no" >&6; }
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 6 args" >&5
13627 $as_echo_n "checking whether vfs_rename() wants 6 args... " >&6; }
13630 cat confdefs.h
- <<_ACEOF >conftest.c
13633 #include <linux/fs.h>
13639 vfs_rename((struct inode *) NULL,
13640 (struct dentry *) NULL,
13641 (struct inode *) NULL,
13642 (struct dentry *) NULL,
13643 (struct inode **) NULL,
13653 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13654 echo "obj-m := conftest.o" >build
/Makefile
13656 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13657 if { 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'
13658 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13659 (eval $ac_try) 2>&5
13661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13662 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13663 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13664 (eval $ac_try) 2>&5
13666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13667 test $ac_status = 0; }; }; then :
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13670 $as_echo "yes" >&6; }
13672 $as_echo "#define HAVE_6ARGS_VFS_RENAME 1" >>confdefs.h
13676 $as_echo "$as_me: failed program was:" >&5
13677 sed 's/^/| /' conftest.
$ac_ext >&5
13679 as_fn_error $?
"no" "$LINENO" 5
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
13704 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
13707 cat confdefs.h
- <<_ACEOF >conftest.c
13710 #include <linux/fs.h>
13716 vfs_fsync(NULL, 0);
13725 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13726 echo "obj-m := conftest.o" >build
/Makefile
13728 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13729 if { 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'
13730 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13731 (eval $ac_try) 2>&5
13733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13734 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13735 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13736 (eval $ac_try) 2>&5
13738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13739 test $ac_status = 0; }; }; then :
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13742 $as_echo "yes" >&6; }
13744 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
13748 $as_echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.
$ac_ext >&5
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13752 $as_echo "no" >&6; }
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
13763 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
13766 cat confdefs.h
- <<_ACEOF >conftest.c
13769 #include <linux/fs.h>
13775 struct inode_operations ops;
13776 ops.truncate_range = NULL;
13785 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13786 echo "obj-m := conftest.o" >build
/Makefile
13788 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13789 if { 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'
13790 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13791 (eval $ac_try) 2>&5
13793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13794 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13795 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13796 (eval $ac_try) 2>&5
13798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13799 test $ac_status = 0; }; }; then :
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13802 $as_echo "yes" >&6; }
13804 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
13808 $as_echo "$as_me: failed program was:" >&5
13809 sed 's/^/| /' conftest.
$ac_ext >&5
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13812 $as_echo "no" >&6; }
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
13823 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
13824 tmp_flags
="$EXTRA_KCFLAGS"
13825 EXTRA_KCFLAGS
="-Werror"
13828 cat confdefs.h
- <<_ACEOF >conftest.c
13831 #include <linux/sched.h>
13832 #include <linux/fs_struct.h>
13838 static struct fs_struct fs;
13839 spin_lock_init(&fs.lock);
13848 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13849 echo "obj-m := conftest.o" >build
/Makefile
13851 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13852 if { 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'
13853 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13854 (eval $ac_try) 2>&5
13856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13857 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13858 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13859 (eval $ac_try) 2>&5
13861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13862 test $ac_status = 0; }; }; then :
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13865 $as_echo "yes" >&6; }
13867 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
13871 $as_echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.
$ac_ext >&5
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13875 $as_echo "no" >&6; }
13883 EXTRA_KCFLAGS
="$tmp_flags"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
13887 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
13890 cat confdefs.h
- <<_ACEOF >conftest.c
13893 #include <linux/uidgid.h>
13899 kuid_t userid = KUIDT_INIT(0);
13900 kgid_t groupid = KGIDT_INIT(0);
13909 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13910 echo "obj-m := conftest.o" >build
/Makefile
13912 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13913 if { 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'
13914 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13915 (eval $ac_try) 2>&5
13917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13918 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13919 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13920 (eval $ac_try) 2>&5
13922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13923 test $ac_status = 0; }; }; then :
13927 cat confdefs.h
- <<_ACEOF >conftest.c
13930 #include <linux/uidgid.h>
13937 kgid_t groupid = 0;
13946 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13947 echo "obj-m := conftest.o" >build
/Makefile
13949 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13950 if { 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'
13951 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13952 (eval $ac_try) 2>&5
13954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13955 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13956 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13957 (eval $ac_try) 2>&5
13959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13960 test $ac_status = 0; }; }; then :
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
13963 $as_echo "yes; optional" >&6; }
13966 $as_echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.
$ac_ext >&5
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
13970 $as_echo "yes; mandatory" >&6; }
13972 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
13983 $as_echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.
$ac_ext >&5
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13987 $as_echo "no" >&6; }
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
13999 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
14002 cat confdefs.h
- <<_ACEOF >conftest.c
14005 #include <linux/fs.h>
14011 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
14012 struct file_operations fops __attribute__ ((unused)) = {
14013 .fallocate = fallocate,
14023 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14024 echo "obj-m := conftest.o" >build
/Makefile
14026 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14027 if { 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'
14028 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14029 (eval $ac_try) 2>&5
14031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14032 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14033 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14034 (eval $ac_try) 2>&5
14036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14037 test $ac_status = 0; }; }; then :
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14040 $as_echo "yes" >&6; }
14042 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
14046 $as_echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.
$ac_ext >&5
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14050 $as_echo "no" >&6; }
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
14061 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
14064 cat confdefs.h
- <<_ACEOF >conftest.c
14067 #include <linux/fs.h>
14073 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
14074 struct inode_operations fops __attribute__ ((unused)) = {
14075 .fallocate = fallocate,
14085 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14086 echo "obj-m := conftest.o" >build
/Makefile
14088 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14089 if { 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'
14090 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14091 (eval $ac_try) 2>&5
14093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14094 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14095 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14096 (eval $ac_try) 2>&5
14098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14099 test $ac_status = 0; }; }; then :
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14102 $as_echo "yes" >&6; }
14104 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
14108 $as_echo "$as_me: failed program was:" >&5
14109 sed 's/^/| /' conftest.
$ac_ext >&5
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14112 $as_echo "no" >&6; }
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
14123 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
14126 cat confdefs.h
- <<_ACEOF >conftest.c
14129 #include <linux/fs.h>
14135 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
14136 struct file_operations_no_const fops __attribute__ ((unused)) = {
14137 .fallocate = fallocate,
14147 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14148 echo "obj-m := conftest.o" >build
/Makefile
14150 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14151 if { 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'
14152 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14153 (eval $ac_try) 2>&5
14155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14156 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14157 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14158 (eval $ac_try) 2>&5
14160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14161 test $ac_status = 0; }; }; then :
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14164 $as_echo "yes" >&6; }
14166 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
14170 $as_echo "$as_me: failed program was:" >&5
14171 sed 's/^/| /' conftest.
$ac_ext >&5
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14174 $as_echo "no" >&6; }
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
14186 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
14189 cat confdefs.h
- <<_ACEOF >conftest.c
14192 #if !defined(CONFIG_ZLIB_INFLATE) && \
14193 !defined(CONFIG_ZLIB_INFLATE_MODULE)
14194 #error CONFIG_ZLIB_INFLATE not defined
14208 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14209 echo "obj-m := conftest.o" >build
/Makefile
14211 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14212 if { 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'
14213 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14214 (eval $ac_try) 2>&5
14216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14217 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14218 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14219 (eval $ac_try) 2>&5
14221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14222 test $ac_status = 0; }; }; then :
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14225 $as_echo "yes" >&6; }
14228 $as_echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.
$ac_ext >&5
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14232 $as_echo "no" >&6; }
14234 *** This kernel does not include the required zlib inflate support.
14235 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
14246 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
14249 cat confdefs.h
- <<_ACEOF >conftest.c
14252 #if !defined(CONFIG_ZLIB_DEFLATE) && \
14253 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
14254 #error CONFIG_ZLIB_DEFLATE not defined
14268 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14269 echo "obj-m := conftest.o" >build
/Makefile
14271 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14272 if { 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'
14273 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14274 (eval $ac_try) 2>&5
14276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14277 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14278 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14279 (eval $ac_try) 2>&5
14281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14282 test $ac_status = 0; }; }; then :
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14285 $as_echo "yes" >&6; }
14288 $as_echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.
$ac_ext >&5
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14292 $as_echo "no" >&6; }
14294 *** This kernel does not include the required zlib deflate support.
14295 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
14305 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
14308 cat confdefs.h
- <<_ACEOF >conftest.c
14311 #include <linux/zlib.h>
14317 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
14326 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14327 echo "obj-m := conftest.o" >build
/Makefile
14329 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14330 if { 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'
14331 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14332 (eval $ac_try) 2>&5
14334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14335 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14336 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14337 (eval $ac_try) 2>&5
14339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14340 test $ac_status = 0; }; }; then :
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14343 $as_echo "yes" >&6; }
14345 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
14349 $as_echo "$as_me: failed program was:" >&5
14350 sed 's/^/| /' conftest.
$ac_ext >&5
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14353 $as_echo "no" >&6; }
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
14364 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
14367 cat confdefs.h
- <<_ACEOF >conftest.c
14370 #include <linux/mm.h>
14376 struct shrink_control sc __attribute__ ((unused));
14379 sc.gfp_mask = GFP_KERNEL;
14388 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14389 echo "obj-m := conftest.o" >build
/Makefile
14391 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14392 if { 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'
14393 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14394 (eval $ac_try) 2>&5
14396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14397 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14398 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14399 (eval $ac_try) 2>&5
14401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14402 test $ac_status = 0; }; }; then :
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14405 $as_echo "yes" >&6; }
14407 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
14411 $as_echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.
$ac_ext >&5
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14415 $as_echo "no" >&6; }
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
14426 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
14427 tmp_flags
="$EXTRA_KCFLAGS"
14428 EXTRA_KCFLAGS
="-Werror"
14431 cat confdefs.h
- <<_ACEOF >conftest.c
14434 #include <linux/rwsem.h>
14440 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
14441 raw_spinlock_t dummy_lock __attribute__ ((unused));
14442 dummy_semaphore.wait_lock = dummy_lock;
14451 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14452 echo "obj-m := conftest.o" >build
/Makefile
14454 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14455 if { 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'
14456 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14457 (eval $ac_try) 2>&5
14459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14460 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14461 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14462 (eval $ac_try) 2>&5
14464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14465 test $ac_status = 0; }; }; then :
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14468 $as_echo "yes" >&6; }
14470 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
14474 $as_echo "$as_me: failed program was:" >&5
14475 sed 's/^/| /' conftest.
$ac_ext >&5
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14478 $as_echo "no" >&6; }
14486 EXTRA_KCFLAGS
="$tmp_flags"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has member activity" >&5
14490 $as_echo_n "checking whether struct rw_semaphore has member activity... " >&6; }
14491 tmp_flags
="$EXTRA_KCFLAGS"
14492 EXTRA_KCFLAGS
="-Werror"
14495 cat confdefs.h
- <<_ACEOF >conftest.c
14498 #include <linux/rwsem.h>
14504 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
14505 dummy_semaphore.activity = 0;
14514 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14515 echo "obj-m := conftest.o" >build
/Makefile
14517 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14518 if { 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'
14519 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14520 (eval $ac_try) 2>&5
14522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14523 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14524 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14525 (eval $ac_try) 2>&5
14527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14528 test $ac_status = 0; }; }; then :
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14531 $as_echo "yes" >&6; }
14533 $as_echo "#define HAVE_RWSEM_ACTIVITY 1" >>confdefs.h
14537 $as_echo "$as_me: failed program was:" >&5
14538 sed 's/^/| /' conftest.
$ac_ext >&5
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14541 $as_echo "no" >&6; }
14549 EXTRA_KCFLAGS
="$tmp_flags"
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has atomic_long_t member count" >&5
14553 $as_echo_n "checking whether struct rw_semaphore has atomic_long_t member count... " >&6; }
14554 tmp_flags
="$EXTRA_KCFLAGS"
14555 EXTRA_KCFLAGS
="-Werror"
14558 cat confdefs.h
- <<_ACEOF >conftest.c
14561 #include <linux/rwsem.h>
14567 DECLARE_RWSEM(dummy_semaphore);
14568 (void) atomic_long_read(&dummy_semaphore.count);
14577 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14578 echo "obj-m := conftest.o" >build
/Makefile
14580 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14581 if { 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'
14582 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14583 (eval $ac_try) 2>&5
14585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14586 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14587 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14588 (eval $ac_try) 2>&5
14590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14591 test $ac_status = 0; }; }; then :
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14594 $as_echo "yes" >&6; }
14596 $as_echo "#define HAVE_RWSEM_ATOMIC_LONG_COUNT 1" >>confdefs.h
14600 $as_echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.
$ac_ext >&5
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14604 $as_echo "no" >&6; }
14612 EXTRA_KCFLAGS
="$tmp_flags"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
14615 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
14618 cat confdefs.h
- <<_ACEOF >conftest.c
14621 #include <linux/sched.h>
14622 #include <linux/sched/rt.h>
14637 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14638 echo "obj-m := conftest.o" >build
/Makefile
14640 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14641 if { 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'
14642 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14643 (eval $ac_try) 2>&5
14645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14646 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14647 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14648 (eval $ac_try) 2>&5
14650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14651 test $ac_status = 0; }; }; then :
14654 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14657 $as_echo "yes" >&6; }
14660 $as_echo "$as_me: failed program was:" >&5
14661 sed 's/^/| /' conftest.
$ac_ext >&5
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14664 $as_echo "no" >&6; }
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/signal.h exists" >&5
14674 $as_echo_n "checking whether header linux/sched/signal.h exists... " >&6; }
14677 cat confdefs.h
- <<_ACEOF >conftest.c
14680 #include <linux/sched.h>
14681 #include <linux/sched/signal.h>
14696 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14697 echo "obj-m := conftest.o" >build
/Makefile
14699 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14700 if { 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'
14701 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14702 (eval $ac_try) 2>&5
14704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14705 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14706 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14707 (eval $ac_try) 2>&5
14709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14710 test $ac_status = 0; }; }; then :
14713 $as_echo "#define HAVE_SCHED_SIGNAL_HEADER 1" >>confdefs.h
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14716 $as_echo "yes" >&6; }
14719 $as_echo "$as_me: failed program was:" >&5
14720 sed 's/^/| /' conftest.
$ac_ext >&5
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14723 $as_echo "no" >&6; }
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 4 args" >&5
14734 $as_echo_n "checking whether vfs_getattr() wants 4 args... " >&6; }
14737 cat confdefs.h
- <<_ACEOF >conftest.c
14740 #include <linux/fs.h>
14746 vfs_getattr((const struct path *)NULL,
14747 (struct kstat *)NULL,
14758 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14759 echo "obj-m := conftest.o" >build
/Makefile
14761 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14762 if { 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'
14763 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14764 (eval $ac_try) 2>&5
14766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14767 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14769 (eval $ac_try) 2>&5
14771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14772 test $ac_status = 0; }; }; then :
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14775 $as_echo "yes" >&6; }
14777 $as_echo "#define HAVE_4ARGS_VFS_GETATTR 1" >>confdefs.h
14781 $as_echo "$as_me: failed program was:" >&5
14782 sed 's/^/| /' conftest.
$ac_ext >&5
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14785 $as_echo "no" >&6; }
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 3 args" >&5
14796 $as_echo_n "checking whether vfs_getattr() wants 3 args... " >&6; }
14799 cat confdefs.h
- <<_ACEOF >conftest.c
14802 #include <linux/fs.h>
14808 vfs_getattr((struct vfsmount *)NULL,
14809 (struct dentry *)NULL,
14810 (struct kstat *)NULL);
14819 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14820 echo "obj-m := conftest.o" >build
/Makefile
14822 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14823 if { 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'
14824 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14825 (eval $ac_try) 2>&5
14827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14828 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14829 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14830 (eval $ac_try) 2>&5
14832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14833 test $ac_status = 0; }; }; then :
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14836 $as_echo "yes" >&6; }
14838 $as_echo "#define HAVE_3ARGS_VFS_GETATTR 1" >>confdefs.h
14842 $as_echo "$as_me: failed program was:" >&5
14843 sed 's/^/| /' conftest.
$ac_ext >&5
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14846 $as_echo "no" >&6; }
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 2 args" >&5
14857 $as_echo_n "checking whether vfs_getattr() wants 2 args... " >&6; }
14860 cat confdefs.h
- <<_ACEOF >conftest.c
14863 #include <linux/fs.h>
14869 vfs_getattr((struct path *) NULL,
14870 (struct kstat *)NULL);
14879 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14880 echo "obj-m := conftest.o" >build
/Makefile
14882 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14883 if { 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'
14884 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14885 (eval $ac_try) 2>&5
14887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14888 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14889 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14890 (eval $ac_try) 2>&5
14892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14893 test $ac_status = 0; }; }; then :
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14896 $as_echo "yes" >&6; }
14898 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
14902 $as_echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.
$ac_ext >&5
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14906 $as_echo "no" >&6; }
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep_range() is available" >&5
14917 $as_echo_n "checking whether usleep_range() is available... " >&6; }
14920 cat confdefs.h
- <<_ACEOF >conftest.c
14923 #include <linux/delay.h>
14929 usleep_range(0, 0);
14938 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14939 echo "obj-m := conftest.o" >build
/Makefile
14941 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14942 if { 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'
14943 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14944 (eval $ac_try) 2>&5
14946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14947 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14948 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14949 (eval $ac_try) 2>&5
14951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14952 test $ac_status = 0; }; }; then :
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14955 $as_echo "yes" >&6; }
14957 $as_echo "#define HAVE_USLEEP_RANGE 1" >>confdefs.h
14961 $as_echo "$as_me: failed program was:" >&5
14962 sed 's/^/| /' conftest.
$ac_ext >&5
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14965 $as_echo "no" >&6; }
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has allocflags" >&5
14976 $as_echo_n "checking whether struct kmem_cache has allocflags... " >&6; }
14979 cat confdefs.h
- <<_ACEOF >conftest.c
14982 #include <linux/slab.h>
14988 struct kmem_cache cachep __attribute__ ((unused));
14989 cachep.allocflags = GFP_KERNEL;
14998 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14999 echo "obj-m := conftest.o" >build
/Makefile
15001 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15002 if { 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'
15003 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15004 (eval $ac_try) 2>&5
15006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15007 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15008 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15009 (eval $ac_try) 2>&5
15011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15012 test $ac_status = 0; }; }; then :
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15015 $as_echo "yes" >&6; }
15017 $as_echo "#define HAVE_KMEM_CACHE_ALLOCFLAGS 1" >>confdefs.h
15021 $as_echo "$as_me: failed program was:" >&5
15022 sed 's/^/| /' conftest.
$ac_ext >&5
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15025 $as_echo "no" >&6; }
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has gfpflags" >&5
15028 $as_echo_n "checking whether struct kmem_cache has gfpflags... " >&6; }
15031 cat confdefs.h
- <<_ACEOF >conftest.c
15034 #include <linux/slab.h>
15040 struct kmem_cache cachep __attribute__ ((unused));
15041 cachep.gfpflags = GFP_KERNEL;
15050 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15051 echo "obj-m := conftest.o" >build
/Makefile
15053 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15054 if { 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'
15055 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15056 (eval $ac_try) 2>&5
15058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15059 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15060 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15061 (eval $ac_try) 2>&5
15063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15064 test $ac_status = 0; }; }; then :
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15067 $as_echo "yes" >&6; }
15069 $as_echo "#define HAVE_KMEM_CACHE_GFPFLAGS 1" >>confdefs.h
15073 $as_echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.
$ac_ext >&5
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15077 $as_echo "no" >&6; }
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_on_bit() takes an action" >&5
15095 $as_echo_n "checking whether wait_on_bit() takes an action... " >&6; }
15098 cat confdefs.h
- <<_ACEOF >conftest.c
15101 #include <linux/wait.h>
15107 int (*action)(void *) = NULL;
15108 wait_on_bit(NULL, 0, action, 0);
15117 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15118 echo "obj-m := conftest.o" >build
/Makefile
15120 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15121 if { 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'
15122 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15123 (eval $ac_try) 2>&5
15125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15126 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15127 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15128 (eval $ac_try) 2>&5
15130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15131 test $ac_status = 0; }; }; then :
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15134 $as_echo "yes" >&6; }
15136 $as_echo "#define HAVE_WAIT_ON_BIT_ACTION 1" >>confdefs.h
15140 $as_echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.
$ac_ext >&5
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15144 $as_echo "no" >&6; }
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inode_lock_shared() exists" >&5
15155 $as_echo_n "checking whether inode_lock_shared() exists... " >&6; }
15156 tmp_flags
="$EXTRA_KCFLAGS"
15157 EXTRA_KCFLAGS
="-Werror"
15160 cat confdefs.h
- <<_ACEOF >conftest.c
15163 #include <linux/fs.h>
15169 struct inode *inode = NULL;
15170 inode_lock_shared(inode);
15179 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15180 echo "obj-m := conftest.o" >build
/Makefile
15182 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15183 if { 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'
15184 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15185 (eval $ac_try) 2>&5
15187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15188 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15189 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15190 (eval $ac_try) 2>&5
15192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15193 test $ac_status = 0; }; }; then :
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15196 $as_echo "yes" >&6; }
15198 $as_echo "#define HAVE_INODE_LOCK_SHARED 1" >>confdefs.h
15202 $as_echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.
$ac_ext >&5
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15206 $as_echo "no" >&6; }
15214 EXTRA_KCFLAGS
="$tmp_flags"
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mutex has owner" >&5
15218 $as_echo_n "checking whether mutex has owner... " >&6; }
15219 tmp_flags
="$EXTRA_KCFLAGS"
15220 EXTRA_KCFLAGS
="-Werror"
15223 cat confdefs.h
- <<_ACEOF >conftest.c
15226 #include <linux/mutex.h>
15227 #include <linux/spinlock.h>
15234 struct task_struct *t __attribute__ ((unused));
15244 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15245 echo "obj-m := conftest.o" >build
/Makefile
15247 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15248 if { 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'
15249 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15250 (eval $ac_try) 2>&5
15252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15253 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15254 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15255 (eval $ac_try) 2>&5
15257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15258 test $ac_status = 0; }; }; then :
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15261 $as_echo "yes" >&6; }
15263 $as_echo "#define HAVE_MUTEX_OWNER 1" >>confdefs.h
15267 $as_echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.
$ac_ext >&5
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15271 $as_echo "no" >&6; }
15279 EXTRA_KCFLAGS
="$tmp_flags"
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether group_info->gid exists" >&5
15283 $as_echo_n "checking whether group_info->gid exists... " >&6; }
15284 tmp_flags
="$EXTRA_KCFLAGS"
15285 EXTRA_KCFLAGS
="-Werror"
15288 cat confdefs.h
- <<_ACEOF >conftest.c
15291 #include <linux/cred.h>
15297 struct group_info *gi = groups_alloc(1);
15298 gi->gid[0] = KGIDT_INIT(0);
15307 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15308 echo "obj-m := conftest.o" >build
/Makefile
15310 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15311 if { 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'
15312 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15313 (eval $ac_try) 2>&5
15315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15316 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15317 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15318 (eval $ac_try) 2>&5
15320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15321 test $ac_status = 0; }; }; then :
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15324 $as_echo "yes" >&6; }
15326 $as_echo "#define HAVE_GROUP_INFO_GID 1" >>confdefs.h
15330 $as_echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.
$ac_ext >&5
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15334 $as_echo "no" >&6; }
15342 EXTRA_KCFLAGS
="$tmp_flags"
15349 # Check whether --with-linux was given.
15350 if test "${with_linux+set}" = set; then :
15351 withval
=$with_linux; kernelsrc
="$withval"
15356 # Check whether --with-linux-obj was given.
15357 if test "${with_linux_obj+set}" = set; then :
15358 withval
=$with_linux_obj; kernelbuild
="$withval"
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
15363 $as_echo_n "checking kernel source directory... " >&6; }
15364 if test -z "$kernelsrc"; then
15365 if test -e "/lib/modules/$(uname -r)/source"; then
15366 headersdir
="/lib/modules/$(uname -r)/source"
15367 sourcelink
=$
(readlink
-f "$headersdir")
15368 elif test -e "/lib/modules/$(uname -r)/build"; then
15369 headersdir
="/lib/modules/$(uname -r)/build"
15370 sourcelink
=$
(readlink
-f "$headersdir")
15372 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
15374 2>/dev
/null |
grep -v obj |
tail -1)
15377 if test -n "$sourcelink" && test -e ${sourcelink}; then
15378 kernelsrc
=`readlink -f ${sourcelink}`
15380 kernelsrc
="Not found"
15383 if test "$kernelsrc" = "NONE"; then
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
15389 $as_echo "$kernelsrc" >&6; }
15390 if test ! -d "$kernelsrc"; then
15392 *** Please make sure the kernel devel package for your distribution
15393 *** is installed and then try again. If that fails, you can specify the
15394 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
15398 $as_echo_n "checking kernel build directory... " >&6; }
15399 if test -z "$kernelbuild"; then
15400 if test -e "/lib/modules/$(uname -r)/build"; then
15401 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
15402 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
15403 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
15404 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
15405 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
15406 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
15407 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
15409 kernelbuild
=${kernelsrc}
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
15413 $as_echo "$kernelbuild" >&6; }
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
15416 $as_echo_n "checking kernel source version... " >&6; }
15417 utsrelease1
=$kernelbuild/include
/linux
/version.h
15418 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
15419 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
15420 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
15421 utsrelease
=linux
/version.h
15422 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
15423 utsrelease
=linux
/utsrelease.h
15424 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
15425 utsrelease
=generated
/utsrelease.h
15428 if test "$utsrelease"; then
15429 kernsrcver
=`(echo "#include <$utsrelease>";
15430 echo "kernsrcver=UTS_RELEASE") |
15431 cpp -I $kernelbuild/include |
15432 grep "^kernsrcver=" | cut -d \" -f 2`
15434 if test -z "$kernsrcver"; then
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
15436 $as_echo "Not found" >&6; }
15437 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
15441 $as_echo "Not found" >&6; }
15442 if test "x$enable_linux_builtin" != xyes
; then
15443 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
15446 *** Cannot find UTS_RELEASE definition.
15447 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
15452 $as_echo "$kernsrcver" >&6; }
15455 LINUX_OBJ
=${kernelbuild}
15456 LINUX_VERSION
=${kernsrcver}
15463 modpost
=$LINUX/scripts
/Makefile.modpost
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
15465 $as_echo_n "checking kernel file name for module symbols... " >&6; }
15466 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
15467 if grep -q Modules.symvers
$modpost; then
15468 LINUX_SYMBOLS
=Modules.symvers
15470 LINUX_SYMBOLS
=Module.symvers
15473 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
15475 *** Please make sure the kernel devel package for your distribution
15476 *** is installed. If you are building with a custom kernel, make sure the
15477 *** kernel is configured, built, and the '--with-linux=PATH' configure
15478 *** option refers to the location of the kernel source." "$LINENO" 5
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
15484 $as_echo "$LINUX_SYMBOLS" >&6; }
15489 if test "${LINUX_OBJ}" != "${LINUX}"; then
15490 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
15494 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
15499 $as_echo_n "checking whether debugging is enabled... " >&6; }
15500 # Check whether --enable-debug was given.
15501 if test "${enable_debug+set}" = set; then :
15502 enableval
=$enable_debug;
15508 if test "x$enable_debug" = xyes
; then :
15510 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
15511 DEBUG_CFLAGS
="-DDEBUG -Werror"
15512 DEBUG_SPL
="_with_debug"
15516 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
15517 DEBUG_CFLAGS
="-DNDEBUG"
15518 DEBUG_SPL
="_without_debug"
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
15525 $as_echo "$enable_debug" >&6; }
15528 # Check whether --enable-debug-kmem was given.
15529 if test "${enable_debug_kmem+set}" = set; then :
15530 enableval
=$enable_debug_kmem;
15532 enable_debug_kmem
=no
15536 if test "x$enable_debug_kmem" = xyes
; then :
15538 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
15539 DEBUG_KMEM
="_with_debug_kmem"
15541 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
15546 DEBUG_KMEM
="_without_debug_kmem"
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
15552 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
15554 $as_echo "$enable_debug_kmem" >&6; }
15557 # Check whether --enable-debug-kmem-tracking was given.
15558 if test "${enable_debug_kmem_tracking+set}" = set; then :
15559 enableval
=$enable_debug_kmem_tracking;
15561 enable_debug_kmem_tracking
=no
15565 if test "x$enable_debug_kmem_tracking" = xyes
; then :
15567 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
15568 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
15570 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
15575 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
15581 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
15583 $as_echo "$enable_debug_kmem_tracking" >&6; }
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
15586 $as_echo_n "checking whether modules can be built... " >&6; }
15589 cat confdefs.h
- <<_ACEOF >conftest.c
15603 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15604 echo "obj-m := conftest.o" >build
/Makefile
15606 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15607 if { 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'
15608 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15609 (eval $ac_try) 2>&5
15611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15612 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15613 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15614 (eval $ac_try) 2>&5
15616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15617 test $ac_status = 0; }; }; then :
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15620 $as_echo "yes" >&6; }
15623 $as_echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.
$ac_ext >&5
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15627 $as_echo "no" >&6; }
15628 if test "x$enable_linux_builtin" != xyes
; then
15629 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
15632 *** Unable to build an empty module.
15633 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
15643 if test "x$cross_compiling" != xyes
; then :
15645 if test "$cross_compiling" = yes; then :
15646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15648 as_fn_error $?
"cannot run test program while cross compiling
15649 See \`config.log' for more details" "$LINENO" 5; }
15651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15655 #include "$LINUX/include/linux/license.h"
15661 return !license_is_gpl_compatible(
15662 "$SPL_META_LICENSE");
15669 if ac_fn_c_try_run
"$LINENO"; then :
15672 $as_echo "#define SPL_IS_GPL_COMPATIBLE 1" >>confdefs.h
15676 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15677 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15684 # Check whether --enable-atomic-spinlocks was given.
15685 if test "${enable_atomic_spinlocks+set}" = set; then :
15686 enableval
=$enable_atomic_spinlocks;
15688 enable_atomic_spinlocks
=check
15694 cat confdefs.h
- <<_ACEOF >conftest.c
15697 #include <linux/fs.h>
15703 atomic64_t *ptr __attribute__ ((unused));
15712 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15713 echo "obj-m := conftest.o" >build
/Makefile
15715 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15716 if { 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'
15717 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15718 (eval $ac_try) 2>&5
15720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15721 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15722 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15723 (eval $ac_try) 2>&5
15725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15726 test $ac_status = 0; }; }; then :
15728 have_atomic64_t
=yes
15730 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
15734 $as_echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.
$ac_ext >&5
15746 if test "x$enable_atomic_spinlocks" = xcheck
; then :
15748 if test "x$have_atomic64_t" = xyes
; then :
15750 enable_atomic_spinlocks
=no
15754 enable_atomic_spinlocks
=yes
15760 if test "x$enable_atomic_spinlocks" = xyes
; then :
15763 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
15768 if test "x$have_atomic64_t" = xno
; then :
15770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15772 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
15773 See \`config.log' for more details" "$LINENO" 5; }
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
15780 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
15782 $as_echo "$enable_atomic_spinlocks" >&6; }
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
15785 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
15787 $as_echo "$have_atomic64_t" >&6; }
15790 tmp_flags
="$EXTRA_KCFLAGS"
15791 EXTRA_KCFLAGS
="-Werror"
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 2-argument shrinker exists" >&5
15793 $as_echo_n "checking whether old 2-argument shrinker exists... " >&6; }
15796 cat confdefs.h
- <<_ACEOF >conftest.c
15799 #include <linux/mm.h>
15801 int shrinker_cb(int nr_to_scan, gfp_t gfp_mask);
15807 struct shrinker cache_shrinker = {
15808 .shrink = shrinker_cb,
15809 .seeks = DEFAULT_SEEKS,
15811 register_shrinker(&cache_shrinker);
15820 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15821 echo "obj-m := conftest.o" >build
/Makefile
15823 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15824 if { 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'
15825 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15826 (eval $ac_try) 2>&5
15828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15829 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15830 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15831 (eval $ac_try) 2>&5
15833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15834 test $ac_status = 0; }; }; then :
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15837 $as_echo "yes" >&6; }
15839 $as_echo "#define HAVE_2ARGS_OLD_SHRINKER_CALLBACK 1" >>confdefs.h
15843 $as_echo "$as_me: failed program was:" >&5
15844 sed 's/^/| /' conftest.
$ac_ext >&5
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15847 $as_echo "no" >&6; }
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 3-argument shrinker exists" >&5
15849 $as_echo_n "checking whether old 3-argument shrinker exists... " >&6; }
15852 cat confdefs.h
- <<_ACEOF >conftest.c
15855 #include <linux/mm.h>
15857 int shrinker_cb(struct shrinker *, int nr_to_scan,
15864 struct shrinker cache_shrinker = {
15865 .shrink = shrinker_cb,
15866 .seeks = DEFAULT_SEEKS,
15868 register_shrinker(&cache_shrinker);
15877 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15878 echo "obj-m := conftest.o" >build
/Makefile
15880 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15881 if { 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'
15882 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15883 (eval $ac_try) 2>&5
15885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15886 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15887 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15888 (eval $ac_try) 2>&5
15890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15891 test $ac_status = 0; }; }; then :
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15894 $as_echo "yes" >&6; }
15896 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
15900 $as_echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.
$ac_ext >&5
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15904 $as_echo "no" >&6; }
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether new 2-argument shrinker exists" >&5
15906 $as_echo_n "checking whether new 2-argument shrinker exists... " >&6; }
15909 cat confdefs.h
- <<_ACEOF >conftest.c
15912 #include <linux/mm.h>
15914 int shrinker_cb(struct shrinker *,
15915 struct shrink_control *sc);
15921 struct shrinker cache_shrinker = {
15922 .shrink = shrinker_cb,
15923 .seeks = DEFAULT_SEEKS,
15925 register_shrinker(&cache_shrinker);
15934 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15935 echo "obj-m := conftest.o" >build
/Makefile
15937 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15938 if { 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'
15939 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15940 (eval $ac_try) 2>&5
15942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15943 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15944 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15945 (eval $ac_try) 2>&5
15947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15948 test $ac_status = 0; }; }; then :
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15951 $as_echo "yes" >&6; }
15953 $as_echo "#define HAVE_2ARGS_NEW_SHRINKER_CALLBACK 1" >>confdefs.h
15957 $as_echo "$as_me: failed program was:" >&5
15958 sed 's/^/| /' conftest.
$ac_ext >&5
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15961 $as_echo "no" >&6; }
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ->count_objects callback exists" >&5
15963 $as_echo_n "checking whether ->count_objects callback exists... " >&6; }
15966 cat confdefs.h
- <<_ACEOF >conftest.c
15969 #include <linux/mm.h>
15971 unsigned long shrinker_cb(
15973 struct shrink_control *sc);
15979 struct shrinker cache_shrinker = {
15980 .count_objects = shrinker_cb,
15981 .scan_objects = shrinker_cb,
15982 .seeks = DEFAULT_SEEKS,
15984 register_shrinker(&cache_shrinker);
15993 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15994 echo "obj-m := conftest.o" >build
/Makefile
15996 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15997 if { 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'
15998 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15999 (eval $ac_try) 2>&5
16001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16002 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16003 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16004 (eval $ac_try) 2>&5
16006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007 test $ac_status = 0; }; }; then :
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16010 $as_echo "yes" >&6; }
16012 $as_echo "#define HAVE_SPLIT_SHRINKER_CALLBACK 1" >>confdefs.h
16016 $as_echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.
$ac_ext >&5
16019 as_fn_error $?
"error" "$LINENO" 5
16048 EXTRA_KCFLAGS
="$tmp_flags"
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
16052 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
16055 cat confdefs.h
- <<_ACEOF >conftest.c
16058 #include <linux/sysctl.h>
16064 struct ctl_table ctl __attribute__ ((unused));
16074 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16075 echo "obj-m := conftest.o" >build
/Makefile
16077 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16078 if { 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'
16079 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16080 (eval $ac_try) 2>&5
16082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16083 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16084 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16085 (eval $ac_try) 2>&5
16087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16088 test $ac_status = 0; }; }; then :
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16091 $as_echo "yes" >&6; }
16093 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
16097 $as_echo "$as_me: failed program was:" >&5
16098 sed 's/^/| /' conftest.
$ac_ext >&5
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16101 $as_echo "no" >&6; }
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_TRIM_UNUSED_KSYM is disabled" >&5
16112 $as_echo_n "checking whether CONFIG_TRIM_UNUSED_KSYM is disabled... " >&6; }
16115 cat confdefs.h
- <<_ACEOF >conftest.c
16118 #if defined(CONFIG_TRIM_UNUSED_KSYMS)
16119 #error CONFIG_TRIM_UNUSED_KSYMS not defined
16133 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16134 echo "obj-m := conftest.o" >build
/Makefile
16136 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16137 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16138 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16139 (eval $ac_try) 2>&5
16141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16142 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16143 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16144 (eval $ac_try) 2>&5
16146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16147 test $ac_status = 0; }; }; then :
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16150 $as_echo "yes" >&6; }
16153 $as_echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.
$ac_ext >&5
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16157 $as_echo "no" >&6; }
16159 *** This kernel has unused symbols trimming enabled, please disable.
16160 *** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set." "$LINENO" 5
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
16171 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
16175 cat confdefs.h
- <<_ACEOF >conftest.c
16178 #include <linux/proc_fs.h>
16193 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16194 echo "obj-m := conftest.o" >build
/Makefile
16196 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16197 if { 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'
16198 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16199 (eval $ac_try) 2>&5
16201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16202 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16203 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16204 (eval $ac_try) 2>&5
16206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16207 test $ac_status = 0; }; }; then :
16210 $as_echo "$as_me: failed program was:" >&5
16211 sed 's/^/| /' conftest.
$ac_ext >&5
16219 if test $rc -ne 0; then :
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16222 $as_echo "no" >&6; }
16225 if test "x$enable_linux_builtin" != xyes
; then
16227 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
16228 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16230 if test $rc -ne 0; then
16233 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
16234 "$LINUX_OBJ/$file" 2>/dev
/null
16236 if test $rc -eq 0; then
16241 if test $export -eq 0; then :
16251 if test $rc -ne 0; then :
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16254 $as_echo "no" >&6; }
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16259 $as_echo "yes" >&6; }
16261 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
16268 tmp_flags
="$EXTRA_KCFLAGS"
16269 EXTRA_KCFLAGS
="-Werror"
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
16271 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
16274 cat confdefs.h
- <<_ACEOF >conftest.c
16277 #include <linux/spinlock.h>
16278 #include <linux/fs_struct.h>
16279 #include <linux/path.h>
16280 void (*const set_fs_pwd_func)
16281 (struct fs_struct *, const struct path *)
16297 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16298 echo "obj-m := conftest.o" >build
/Makefile
16300 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16301 if { 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'
16302 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16303 (eval $ac_try) 2>&5
16305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16306 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16307 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16308 (eval $ac_try) 2>&5
16310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16311 test $ac_status = 0; }; }; then :
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16314 $as_echo "yes" >&6; }
16316 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
16320 $as_echo "$as_me: failed program was:" >&5
16321 sed 's/^/| /' conftest.
$ac_ext >&5
16325 cat confdefs.h
- <<_ACEOF >conftest.c
16328 #include <linux/spinlock.h>
16329 #include <linux/fs_struct.h>
16330 #include <linux/path.h>
16331 void (*const set_fs_pwd_func)
16332 (struct fs_struct *, struct path *)
16348 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16349 echo "obj-m := conftest.o" >build
/Makefile
16351 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16352 if { 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'
16353 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16354 (eval $ac_try) 2>&5
16356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16357 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16358 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16359 (eval $ac_try) 2>&5
16361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16362 test $ac_status = 0; }; }; then :
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16365 $as_echo "no" >&6; }
16368 $as_echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.
$ac_ext >&5
16371 as_fn_error $?
"unknown" "$LINENO" 5
16386 EXTRA_KCFLAGS
="$tmp_flags"
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
16389 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
16392 cat confdefs.h
- <<_ACEOF >conftest.c
16395 #include <linux/fs.h>
16401 vfs_unlink((struct inode *) NULL, (struct dentry *) NULL);
16410 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16411 echo "obj-m := conftest.o" >build
/Makefile
16413 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16414 if { 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'
16415 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16416 (eval $ac_try) 2>&5
16418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16419 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16420 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16421 (eval $ac_try) 2>&5
16423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16424 test $ac_status = 0; }; }; then :
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16427 $as_echo "yes" >&6; }
16429 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
16433 $as_echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.
$ac_ext >&5
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16437 $as_echo "no" >&6; }
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 3 args" >&5
16439 $as_echo_n "checking whether vfs_unlink() wants 3 args... " >&6; }
16442 cat confdefs.h
- <<_ACEOF >conftest.c
16445 #include <linux/fs.h>
16451 vfs_unlink((struct inode *) NULL,
16452 (struct dentry *) NULL,
16453 (struct inode **) NULL);
16462 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16463 echo "obj-m := conftest.o" >build
/Makefile
16465 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16466 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16467 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16468 (eval $ac_try) 2>&5
16470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16471 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16472 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16473 (eval $ac_try) 2>&5
16475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16476 test $ac_status = 0; }; }; then :
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16479 $as_echo "yes" >&6; }
16481 $as_echo "#define HAVE_3ARGS_VFS_UNLINK 1" >>confdefs.h
16485 $as_echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.
$ac_ext >&5
16488 as_fn_error $?
"no" "$LINENO" 5
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
16506 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
16509 cat confdefs.h
- <<_ACEOF >conftest.c
16512 #include <linux/fs.h>
16518 vfs_rename((struct inode *) NULL, (struct dentry *) NULL,
16519 (struct inode *) NULL, (struct dentry *) NULL);
16528 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16529 echo "obj-m := conftest.o" >build
/Makefile
16531 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16532 if { 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'
16533 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16534 (eval $ac_try) 2>&5
16536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16537 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16538 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16539 (eval $ac_try) 2>&5
16541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16542 test $ac_status = 0; }; }; then :
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16545 $as_echo "yes" >&6; }
16547 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
16551 $as_echo "$as_me: failed program was:" >&5
16552 sed 's/^/| /' conftest.
$ac_ext >&5
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16555 $as_echo "no" >&6; }
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 5 args" >&5
16557 $as_echo_n "checking whether vfs_rename() wants 5 args... " >&6; }
16560 cat confdefs.h
- <<_ACEOF >conftest.c
16563 #include <linux/fs.h>
16569 vfs_rename((struct inode *) NULL,
16570 (struct dentry *) NULL,
16571 (struct inode *) NULL,
16572 (struct dentry *) NULL,
16573 (struct inode **) NULL);
16582 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16583 echo "obj-m := conftest.o" >build
/Makefile
16585 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16586 if { 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'
16587 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16588 (eval $ac_try) 2>&5
16590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16591 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16592 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16593 (eval $ac_try) 2>&5
16595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16596 test $ac_status = 0; }; }; then :
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16599 $as_echo "yes" >&6; }
16601 $as_echo "#define HAVE_5ARGS_VFS_RENAME 1" >>confdefs.h
16605 $as_echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.
$ac_ext >&5
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16609 $as_echo "no" >&6; }
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 6 args" >&5
16611 $as_echo_n "checking whether vfs_rename() wants 6 args... " >&6; }
16614 cat confdefs.h
- <<_ACEOF >conftest.c
16617 #include <linux/fs.h>
16623 vfs_rename((struct inode *) NULL,
16624 (struct dentry *) NULL,
16625 (struct inode *) NULL,
16626 (struct dentry *) NULL,
16627 (struct inode **) NULL,
16637 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16638 echo "obj-m := conftest.o" >build
/Makefile
16640 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16641 if { 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'
16642 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16643 (eval $ac_try) 2>&5
16645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16646 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16647 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16648 (eval $ac_try) 2>&5
16650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16651 test $ac_status = 0; }; }; then :
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16654 $as_echo "yes" >&6; }
16656 $as_echo "#define HAVE_6ARGS_VFS_RENAME 1" >>confdefs.h
16660 $as_echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.
$ac_ext >&5
16663 as_fn_error $?
"no" "$LINENO" 5
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
16688 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
16691 cat confdefs.h
- <<_ACEOF >conftest.c
16694 #include <linux/fs.h>
16700 vfs_fsync(NULL, 0);
16709 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16710 echo "obj-m := conftest.o" >build
/Makefile
16712 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16713 if { 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'
16714 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16715 (eval $ac_try) 2>&5
16717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16718 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16719 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16720 (eval $ac_try) 2>&5
16722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16723 test $ac_status = 0; }; }; then :
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16726 $as_echo "yes" >&6; }
16728 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
16732 $as_echo "$as_me: failed program was:" >&5
16733 sed 's/^/| /' conftest.
$ac_ext >&5
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16736 $as_echo "no" >&6; }
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
16747 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
16750 cat confdefs.h
- <<_ACEOF >conftest.c
16753 #include <linux/fs.h>
16759 struct inode_operations ops;
16760 ops.truncate_range = NULL;
16769 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16770 echo "obj-m := conftest.o" >build
/Makefile
16772 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16773 if { 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'
16774 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16775 (eval $ac_try) 2>&5
16777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16778 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16779 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16780 (eval $ac_try) 2>&5
16782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16783 test $ac_status = 0; }; }; then :
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16786 $as_echo "yes" >&6; }
16788 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
16792 $as_echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.
$ac_ext >&5
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16796 $as_echo "no" >&6; }
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
16807 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
16808 tmp_flags
="$EXTRA_KCFLAGS"
16809 EXTRA_KCFLAGS
="-Werror"
16812 cat confdefs.h
- <<_ACEOF >conftest.c
16815 #include <linux/sched.h>
16816 #include <linux/fs_struct.h>
16822 static struct fs_struct fs;
16823 spin_lock_init(&fs.lock);
16832 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16833 echo "obj-m := conftest.o" >build
/Makefile
16835 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16836 if { 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'
16837 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16838 (eval $ac_try) 2>&5
16840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16841 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16842 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16843 (eval $ac_try) 2>&5
16845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16846 test $ac_status = 0; }; }; then :
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16849 $as_echo "yes" >&6; }
16851 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
16855 $as_echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.
$ac_ext >&5
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16859 $as_echo "no" >&6; }
16867 EXTRA_KCFLAGS
="$tmp_flags"
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
16871 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
16874 cat confdefs.h
- <<_ACEOF >conftest.c
16877 #include <linux/uidgid.h>
16883 kuid_t userid = KUIDT_INIT(0);
16884 kgid_t groupid = KGIDT_INIT(0);
16893 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16894 echo "obj-m := conftest.o" >build
/Makefile
16896 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16897 if { 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'
16898 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16899 (eval $ac_try) 2>&5
16901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16902 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16903 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16904 (eval $ac_try) 2>&5
16906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16907 test $ac_status = 0; }; }; then :
16911 cat confdefs.h
- <<_ACEOF >conftest.c
16914 #include <linux/uidgid.h>
16921 kgid_t groupid = 0;
16930 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16931 echo "obj-m := conftest.o" >build
/Makefile
16933 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16934 if { 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'
16935 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16936 (eval $ac_try) 2>&5
16938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16939 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16940 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16941 (eval $ac_try) 2>&5
16943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16944 test $ac_status = 0; }; }; then :
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
16947 $as_echo "yes; optional" >&6; }
16950 $as_echo "$as_me: failed program was:" >&5
16951 sed 's/^/| /' conftest.
$ac_ext >&5
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
16954 $as_echo "yes; mandatory" >&6; }
16956 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
16967 $as_echo "$as_me: failed program was:" >&5
16968 sed 's/^/| /' conftest.
$ac_ext >&5
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16971 $as_echo "no" >&6; }
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
16983 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
16986 cat confdefs.h
- <<_ACEOF >conftest.c
16989 #include <linux/fs.h>
16995 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
16996 struct file_operations fops __attribute__ ((unused)) = {
16997 .fallocate = fallocate,
17007 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17008 echo "obj-m := conftest.o" >build
/Makefile
17010 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17011 if { 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'
17012 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17013 (eval $ac_try) 2>&5
17015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17016 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17017 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17018 (eval $ac_try) 2>&5
17020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17021 test $ac_status = 0; }; }; then :
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17024 $as_echo "yes" >&6; }
17026 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
17030 $as_echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.
$ac_ext >&5
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17034 $as_echo "no" >&6; }
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
17045 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
17048 cat confdefs.h
- <<_ACEOF >conftest.c
17051 #include <linux/fs.h>
17057 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
17058 struct inode_operations fops __attribute__ ((unused)) = {
17059 .fallocate = fallocate,
17069 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17070 echo "obj-m := conftest.o" >build
/Makefile
17072 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17073 if { 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'
17074 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17075 (eval $ac_try) 2>&5
17077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17078 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17079 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17080 (eval $ac_try) 2>&5
17082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17083 test $ac_status = 0; }; }; then :
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17086 $as_echo "yes" >&6; }
17088 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
17092 $as_echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.
$ac_ext >&5
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17096 $as_echo "no" >&6; }
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
17107 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
17110 cat confdefs.h
- <<_ACEOF >conftest.c
17113 #include <linux/fs.h>
17119 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
17120 struct file_operations_no_const fops __attribute__ ((unused)) = {
17121 .fallocate = fallocate,
17131 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17132 echo "obj-m := conftest.o" >build
/Makefile
17134 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17135 if { 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'
17136 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17137 (eval $ac_try) 2>&5
17139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17140 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17141 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17142 (eval $ac_try) 2>&5
17144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17145 test $ac_status = 0; }; }; then :
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17148 $as_echo "yes" >&6; }
17150 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
17154 $as_echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.
$ac_ext >&5
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17158 $as_echo "no" >&6; }
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
17170 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
17173 cat confdefs.h
- <<_ACEOF >conftest.c
17176 #if !defined(CONFIG_ZLIB_INFLATE) && \
17177 !defined(CONFIG_ZLIB_INFLATE_MODULE)
17178 #error CONFIG_ZLIB_INFLATE not defined
17192 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17193 echo "obj-m := conftest.o" >build
/Makefile
17195 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17196 if { 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'
17197 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17198 (eval $ac_try) 2>&5
17200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17201 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17202 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17203 (eval $ac_try) 2>&5
17205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17206 test $ac_status = 0; }; }; then :
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17209 $as_echo "yes" >&6; }
17212 $as_echo "$as_me: failed program was:" >&5
17213 sed 's/^/| /' conftest.
$ac_ext >&5
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17216 $as_echo "no" >&6; }
17218 *** This kernel does not include the required zlib inflate support.
17219 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
17230 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
17233 cat confdefs.h
- <<_ACEOF >conftest.c
17236 #if !defined(CONFIG_ZLIB_DEFLATE) && \
17237 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
17238 #error CONFIG_ZLIB_DEFLATE not defined
17252 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17253 echo "obj-m := conftest.o" >build
/Makefile
17255 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17256 if { 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'
17257 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17258 (eval $ac_try) 2>&5
17260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17261 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17262 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17263 (eval $ac_try) 2>&5
17265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17266 test $ac_status = 0; }; }; then :
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17269 $as_echo "yes" >&6; }
17272 $as_echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.
$ac_ext >&5
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17276 $as_echo "no" >&6; }
17278 *** This kernel does not include the required zlib deflate support.
17279 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
17289 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
17292 cat confdefs.h
- <<_ACEOF >conftest.c
17295 #include <linux/zlib.h>
17301 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
17310 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17311 echo "obj-m := conftest.o" >build
/Makefile
17313 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17314 if { 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'
17315 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17316 (eval $ac_try) 2>&5
17318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17319 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17320 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17321 (eval $ac_try) 2>&5
17323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17324 test $ac_status = 0; }; }; then :
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17327 $as_echo "yes" >&6; }
17329 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
17333 $as_echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.
$ac_ext >&5
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17337 $as_echo "no" >&6; }
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
17348 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
17351 cat confdefs.h
- <<_ACEOF >conftest.c
17354 #include <linux/mm.h>
17360 struct shrink_control sc __attribute__ ((unused));
17363 sc.gfp_mask = GFP_KERNEL;
17372 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17373 echo "obj-m := conftest.o" >build
/Makefile
17375 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17376 if { 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'
17377 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17378 (eval $ac_try) 2>&5
17380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17381 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17382 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17383 (eval $ac_try) 2>&5
17385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17386 test $ac_status = 0; }; }; then :
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17389 $as_echo "yes" >&6; }
17391 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
17395 $as_echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.
$ac_ext >&5
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17399 $as_echo "no" >&6; }
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
17410 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
17411 tmp_flags
="$EXTRA_KCFLAGS"
17412 EXTRA_KCFLAGS
="-Werror"
17415 cat confdefs.h
- <<_ACEOF >conftest.c
17418 #include <linux/rwsem.h>
17424 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
17425 raw_spinlock_t dummy_lock __attribute__ ((unused));
17426 dummy_semaphore.wait_lock = dummy_lock;
17435 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17436 echo "obj-m := conftest.o" >build
/Makefile
17438 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17439 if { 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'
17440 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17441 (eval $ac_try) 2>&5
17443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17444 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17445 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17446 (eval $ac_try) 2>&5
17448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17449 test $ac_status = 0; }; }; then :
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17452 $as_echo "yes" >&6; }
17454 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
17458 $as_echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.
$ac_ext >&5
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17462 $as_echo "no" >&6; }
17470 EXTRA_KCFLAGS
="$tmp_flags"
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has member activity" >&5
17474 $as_echo_n "checking whether struct rw_semaphore has member activity... " >&6; }
17475 tmp_flags
="$EXTRA_KCFLAGS"
17476 EXTRA_KCFLAGS
="-Werror"
17479 cat confdefs.h
- <<_ACEOF >conftest.c
17482 #include <linux/rwsem.h>
17488 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
17489 dummy_semaphore.activity = 0;
17498 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17499 echo "obj-m := conftest.o" >build
/Makefile
17501 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17502 if { 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'
17503 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17504 (eval $ac_try) 2>&5
17506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17507 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17508 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17509 (eval $ac_try) 2>&5
17511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17512 test $ac_status = 0; }; }; then :
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17515 $as_echo "yes" >&6; }
17517 $as_echo "#define HAVE_RWSEM_ACTIVITY 1" >>confdefs.h
17521 $as_echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.
$ac_ext >&5
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17525 $as_echo "no" >&6; }
17533 EXTRA_KCFLAGS
="$tmp_flags"
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has atomic_long_t member count" >&5
17537 $as_echo_n "checking whether struct rw_semaphore has atomic_long_t member count... " >&6; }
17538 tmp_flags
="$EXTRA_KCFLAGS"
17539 EXTRA_KCFLAGS
="-Werror"
17542 cat confdefs.h
- <<_ACEOF >conftest.c
17545 #include <linux/rwsem.h>
17551 DECLARE_RWSEM(dummy_semaphore);
17552 (void) atomic_long_read(&dummy_semaphore.count);
17561 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17562 echo "obj-m := conftest.o" >build
/Makefile
17564 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17565 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17566 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17567 (eval $ac_try) 2>&5
17569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17570 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
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; }; }; then :
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17578 $as_echo "yes" >&6; }
17580 $as_echo "#define HAVE_RWSEM_ATOMIC_LONG_COUNT 1" >>confdefs.h
17584 $as_echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.
$ac_ext >&5
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17588 $as_echo "no" >&6; }
17596 EXTRA_KCFLAGS
="$tmp_flags"
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
17599 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
17602 cat confdefs.h
- <<_ACEOF >conftest.c
17605 #include <linux/sched.h>
17606 #include <linux/sched/rt.h>
17621 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17622 echo "obj-m := conftest.o" >build
/Makefile
17624 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17625 if { 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'
17626 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17627 (eval $ac_try) 2>&5
17629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17630 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17631 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17632 (eval $ac_try) 2>&5
17634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17635 test $ac_status = 0; }; }; then :
17638 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17641 $as_echo "yes" >&6; }
17644 $as_echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.
$ac_ext >&5
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17648 $as_echo "no" >&6; }
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/signal.h exists" >&5
17658 $as_echo_n "checking whether header linux/sched/signal.h exists... " >&6; }
17661 cat confdefs.h
- <<_ACEOF >conftest.c
17664 #include <linux/sched.h>
17665 #include <linux/sched/signal.h>
17680 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17681 echo "obj-m := conftest.o" >build
/Makefile
17683 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17684 if { 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'
17685 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17686 (eval $ac_try) 2>&5
17688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17689 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17690 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17691 (eval $ac_try) 2>&5
17693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17694 test $ac_status = 0; }; }; then :
17697 $as_echo "#define HAVE_SCHED_SIGNAL_HEADER 1" >>confdefs.h
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17700 $as_echo "yes" >&6; }
17703 $as_echo "$as_me: failed program was:" >&5
17704 sed 's/^/| /' conftest.
$ac_ext >&5
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17707 $as_echo "no" >&6; }
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 4 args" >&5
17718 $as_echo_n "checking whether vfs_getattr() wants 4 args... " >&6; }
17721 cat confdefs.h
- <<_ACEOF >conftest.c
17724 #include <linux/fs.h>
17730 vfs_getattr((const struct path *)NULL,
17731 (struct kstat *)NULL,
17742 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17743 echo "obj-m := conftest.o" >build
/Makefile
17745 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17746 if { 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'
17747 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17748 (eval $ac_try) 2>&5
17750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17751 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17752 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17753 (eval $ac_try) 2>&5
17755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17756 test $ac_status = 0; }; }; then :
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17759 $as_echo "yes" >&6; }
17761 $as_echo "#define HAVE_4ARGS_VFS_GETATTR 1" >>confdefs.h
17765 $as_echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.
$ac_ext >&5
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17769 $as_echo "no" >&6; }
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 3 args" >&5
17780 $as_echo_n "checking whether vfs_getattr() wants 3 args... " >&6; }
17783 cat confdefs.h
- <<_ACEOF >conftest.c
17786 #include <linux/fs.h>
17792 vfs_getattr((struct vfsmount *)NULL,
17793 (struct dentry *)NULL,
17794 (struct kstat *)NULL);
17803 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17804 echo "obj-m := conftest.o" >build
/Makefile
17806 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17807 if { 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'
17808 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17809 (eval $ac_try) 2>&5
17811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17812 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17813 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17814 (eval $ac_try) 2>&5
17816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17817 test $ac_status = 0; }; }; then :
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17820 $as_echo "yes" >&6; }
17822 $as_echo "#define HAVE_3ARGS_VFS_GETATTR 1" >>confdefs.h
17826 $as_echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.
$ac_ext >&5
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17830 $as_echo "no" >&6; }
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants 2 args" >&5
17841 $as_echo_n "checking whether vfs_getattr() wants 2 args... " >&6; }
17844 cat confdefs.h
- <<_ACEOF >conftest.c
17847 #include <linux/fs.h>
17853 vfs_getattr((struct path *) NULL,
17854 (struct kstat *)NULL);
17863 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17864 echo "obj-m := conftest.o" >build
/Makefile
17866 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17867 if { 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'
17868 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17869 (eval $ac_try) 2>&5
17871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17872 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17873 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17874 (eval $ac_try) 2>&5
17876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17877 test $ac_status = 0; }; }; then :
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17880 $as_echo "yes" >&6; }
17882 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
17886 $as_echo "$as_me: failed program was:" >&5
17887 sed 's/^/| /' conftest.
$ac_ext >&5
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17890 $as_echo "no" >&6; }
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep_range() is available" >&5
17901 $as_echo_n "checking whether usleep_range() is available... " >&6; }
17904 cat confdefs.h
- <<_ACEOF >conftest.c
17907 #include <linux/delay.h>
17913 usleep_range(0, 0);
17922 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17923 echo "obj-m := conftest.o" >build
/Makefile
17925 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17926 if { 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'
17927 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17928 (eval $ac_try) 2>&5
17930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17931 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17932 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17933 (eval $ac_try) 2>&5
17935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17936 test $ac_status = 0; }; }; then :
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17939 $as_echo "yes" >&6; }
17941 $as_echo "#define HAVE_USLEEP_RANGE 1" >>confdefs.h
17945 $as_echo "$as_me: failed program was:" >&5
17946 sed 's/^/| /' conftest.
$ac_ext >&5
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17949 $as_echo "no" >&6; }
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has allocflags" >&5
17960 $as_echo_n "checking whether struct kmem_cache has allocflags... " >&6; }
17963 cat confdefs.h
- <<_ACEOF >conftest.c
17966 #include <linux/slab.h>
17972 struct kmem_cache cachep __attribute__ ((unused));
17973 cachep.allocflags = GFP_KERNEL;
17982 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17983 echo "obj-m := conftest.o" >build
/Makefile
17985 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17986 if { 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'
17987 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17988 (eval $ac_try) 2>&5
17990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17991 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17992 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17993 (eval $ac_try) 2>&5
17995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17996 test $ac_status = 0; }; }; then :
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17999 $as_echo "yes" >&6; }
18001 $as_echo "#define HAVE_KMEM_CACHE_ALLOCFLAGS 1" >>confdefs.h
18005 $as_echo "$as_me: failed program was:" >&5
18006 sed 's/^/| /' conftest.
$ac_ext >&5
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18009 $as_echo "no" >&6; }
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has gfpflags" >&5
18012 $as_echo_n "checking whether struct kmem_cache has gfpflags... " >&6; }
18015 cat confdefs.h
- <<_ACEOF >conftest.c
18018 #include <linux/slab.h>
18024 struct kmem_cache cachep __attribute__ ((unused));
18025 cachep.gfpflags = GFP_KERNEL;
18034 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18035 echo "obj-m := conftest.o" >build
/Makefile
18037 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18038 if { 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'
18039 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18040 (eval $ac_try) 2>&5
18042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18043 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18044 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18045 (eval $ac_try) 2>&5
18047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18048 test $ac_status = 0; }; }; then :
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18051 $as_echo "yes" >&6; }
18053 $as_echo "#define HAVE_KMEM_CACHE_GFPFLAGS 1" >>confdefs.h
18057 $as_echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.
$ac_ext >&5
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18061 $as_echo "no" >&6; }
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_on_bit() takes an action" >&5
18079 $as_echo_n "checking whether wait_on_bit() takes an action... " >&6; }
18082 cat confdefs.h
- <<_ACEOF >conftest.c
18085 #include <linux/wait.h>
18091 int (*action)(void *) = NULL;
18092 wait_on_bit(NULL, 0, action, 0);
18101 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18102 echo "obj-m := conftest.o" >build
/Makefile
18104 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18105 if { 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'
18106 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18107 (eval $ac_try) 2>&5
18109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18110 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18111 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18112 (eval $ac_try) 2>&5
18114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18115 test $ac_status = 0; }; }; then :
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18118 $as_echo "yes" >&6; }
18120 $as_echo "#define HAVE_WAIT_ON_BIT_ACTION 1" >>confdefs.h
18124 $as_echo "$as_me: failed program was:" >&5
18125 sed 's/^/| /' conftest.
$ac_ext >&5
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18128 $as_echo "no" >&6; }
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inode_lock_shared() exists" >&5
18139 $as_echo_n "checking whether inode_lock_shared() exists... " >&6; }
18140 tmp_flags
="$EXTRA_KCFLAGS"
18141 EXTRA_KCFLAGS
="-Werror"
18144 cat confdefs.h
- <<_ACEOF >conftest.c
18147 #include <linux/fs.h>
18153 struct inode *inode = NULL;
18154 inode_lock_shared(inode);
18163 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18164 echo "obj-m := conftest.o" >build
/Makefile
18166 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18167 if { 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'
18168 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18169 (eval $ac_try) 2>&5
18171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18172 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18173 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18174 (eval $ac_try) 2>&5
18176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18177 test $ac_status = 0; }; }; then :
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18180 $as_echo "yes" >&6; }
18182 $as_echo "#define HAVE_INODE_LOCK_SHARED 1" >>confdefs.h
18186 $as_echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.
$ac_ext >&5
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18190 $as_echo "no" >&6; }
18198 EXTRA_KCFLAGS
="$tmp_flags"
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mutex has owner" >&5
18202 $as_echo_n "checking whether mutex has owner... " >&6; }
18203 tmp_flags
="$EXTRA_KCFLAGS"
18204 EXTRA_KCFLAGS
="-Werror"
18207 cat confdefs.h
- <<_ACEOF >conftest.c
18210 #include <linux/mutex.h>
18211 #include <linux/spinlock.h>
18218 struct task_struct *t __attribute__ ((unused));
18228 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18229 echo "obj-m := conftest.o" >build
/Makefile
18231 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18232 if { 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'
18233 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18234 (eval $ac_try) 2>&5
18236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18237 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18238 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18239 (eval $ac_try) 2>&5
18241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18242 test $ac_status = 0; }; }; then :
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18245 $as_echo "yes" >&6; }
18247 $as_echo "#define HAVE_MUTEX_OWNER 1" >>confdefs.h
18251 $as_echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.
$ac_ext >&5
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18255 $as_echo "no" >&6; }
18263 EXTRA_KCFLAGS
="$tmp_flags"
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether group_info->gid exists" >&5
18267 $as_echo_n "checking whether group_info->gid exists... " >&6; }
18268 tmp_flags
="$EXTRA_KCFLAGS"
18269 EXTRA_KCFLAGS
="-Werror"
18272 cat confdefs.h
- <<_ACEOF >conftest.c
18275 #include <linux/cred.h>
18281 struct group_info *gi = groups_alloc(1);
18282 gi->gid[0] = KGIDT_INIT(0);
18291 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18292 echo "obj-m := conftest.o" >build
/Makefile
18294 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18295 if { 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'
18296 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18297 (eval $ac_try) 2>&5
18299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18300 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18301 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18302 (eval $ac_try) 2>&5
18304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18305 test $ac_status = 0; }; }; then :
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18308 $as_echo "yes" >&6; }
18310 $as_echo "#define HAVE_GROUP_INFO_GID 1" >>confdefs.h
18314 $as_echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.
$ac_ext >&5
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18318 $as_echo "no" >&6; }
18326 EXTRA_KCFLAGS
="$tmp_flags"
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Error!" >&5
18333 $as_echo "Error!" >&6; }
18334 as_fn_error $?
"Bad value \"$SPL_CONFIG\" for --with-config,
18335 user kernel|user|all|srpm" "$LINENO" 5 ;;
18338 if test "$SPL_CONFIG" = user
-o "$SPL_CONFIG" = all
; then
18340 CONFIG_USER_FALSE
='#'
18342 CONFIG_USER_TRUE
='#'
18346 if test "$SPL_CONFIG" = kernel
-o "$SPL_CONFIG" = all
&&
18347 test "x$enable_linux_builtin" != xyes
; then
18348 CONFIG_KERNEL_TRUE
=
18349 CONFIG_KERNEL_FALSE
='#'
18351 CONFIG_KERNEL_TRUE
='#'
18352 CONFIG_KERNEL_FALSE
=
18357 ac_config_files
="$ac_config_files Makefile man/Makefile man/man1/Makefile man/man5/Makefile lib/Makefile cmd/Makefile module/Makefile module/spl/Makefile module/splat/Makefile include/Makefile include/fs/Makefile include/linux/Makefile include/rpc/Makefile include/sharefs/Makefile include/sys/Makefile include/sys/fm/Makefile include/sys/fs/Makefile include/sys/sysevent/Makefile include/util/Makefile include/vm/Makefile scripts/Makefile rpm/Makefile rpm/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"
18360 cat >confcache
<<\_ACEOF
18361 # This file is a shell script that caches the results of configure
18362 # tests run on this system so they can be shared between configure
18363 # scripts and configure runs, see configure's option --config-cache.
18364 # It is not useful on other systems. If it contains results you don't
18365 # want to keep, you may remove or edit it.
18367 # config.status only pays attention to the cache file if you give it
18368 # the --recheck option to rerun configure.
18370 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18371 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18372 # following values.
18376 # The following way of writing the cache mishandles newlines in values,
18377 # but we know of no workaround that is simple, portable, and efficient.
18378 # So, we kill variables containing newlines.
18379 # Ultrix sh set writes to stderr and can't be redirected directly,
18380 # and sets the high bit in the cache file unless we assign to the vars.
18382 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18383 eval ac_val
=\$
$ac_var
18387 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18388 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18391 _ | IFS | as_nl
) ;; #(
18392 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18393 *) { eval $ac_var=; unset $ac_var;} ;;
18399 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18400 *${as_nl}ac_space
=\
*)
18401 # `set' does not quote correctly, so add quotes: double-quote
18402 # substitution turns \\\\ into \\, and sed turns \\ into \.
18405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18408 # `set' quotes correctly as required by POSIX, so do not add quotes.
18409 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18418 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18420 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18422 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18423 if test -w "$cache_file"; then
18424 if test "x$cache_file" != "x/dev/null"; then
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18426 $as_echo "$as_me: updating cache $cache_file" >&6;}
18427 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18428 cat confcache
>"$cache_file"
18430 case $cache_file in #(
18432 mv -f confcache
"$cache_file"$$
&&
18433 mv -f "$cache_file"$$
"$cache_file" ;; #(
18435 mv -f confcache
"$cache_file" ;;
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18441 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18446 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18447 # Let make expand exec_prefix.
18448 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18450 DEFS
=-DHAVE_CONFIG_H
18455 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18456 # 1. Remove the extension, and $U if already installed.
18457 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18458 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18459 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18460 # will be set to the directory where LIBOBJS objects are built.
18461 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18462 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18464 LIBOBJS
=$ac_libobjs
18466 LTLIBOBJS
=$ac_ltlibobjs
18469 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18470 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
18471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18474 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18475 if test -n "$am_sleep_pid"; then
18476 # Hide warnings about reused PIDs.
18477 wait $am_sleep_pid 2>/dev
/null
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18480 $as_echo "done" >&6; }
18481 if test -n "$EXEEXT"; then
18483 am__EXEEXT_FALSE
='#'
18485 am__EXEEXT_TRUE
='#'
18489 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18490 as_fn_error $?
"conditional \"AMDEP\" was never defined.
18491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18493 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18494 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
18495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18497 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
18498 as_fn_error $?
"conditional \"CONFIG_USER\" was never defined.
18499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18501 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
18502 as_fn_error $?
"conditional \"CONFIG_KERNEL\" was never defined.
18503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18506 : "${CONFIG_STATUS=./config.status}"
18508 ac_clean_files_save
=$ac_clean_files
18509 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18511 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18513 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18515 # Generated by $as_me.
18516 # Run this file to recreate the current configuration.
18517 # Compiler output produced by configure, useful for debugging
18518 # configure, is in config.log if it exists.
18521 ac_cs_recheck=false
18524 SHELL=\${CONFIG_SHELL-$SHELL}
18527 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18528 ## -------------------- ##
18529 ## M4sh Initialization. ##
18530 ## -------------------- ##
18532 # Be more Bourne compatible
18533 DUALCASE
=1; export DUALCASE
# for MKS sh
18534 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18537 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18538 # is contrary to our usage. Disable this feature.
18539 alias -g '${1+"$@"}'='"$@"'
18540 setopt NO_GLOB_SUBST
18542 case `(set -o) 2>/dev/null` in #(
18554 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18555 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18556 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18557 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18558 # Prefer a ksh shell builtin over an external printf program on Solaris,
18559 # but without wasting forks for bash or zsh.
18560 if test -z "$BASH_VERSION$ZSH_VERSION" \
18561 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18562 as_echo='print
-r --'
18563 as_echo_n='print
-rn --'
18564 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18565 as_echo='printf %s
\n'
18566 as_echo_n='printf %s
'
18568 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18569 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18570 as_echo_n='/usr
/ucb
/echo -n'
18572 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18573 as_echo_n_body='eval
18577 expr "X$arg" : "X\\(.*\\)$as_nl";
18578 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18580 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18582 export as_echo_n_body
18583 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18585 export as_echo_body
18586 as_echo='sh
-c $as_echo_body as_echo
'
18589 # The user is always right.
18590 if test "${PATH_SEPARATOR+set}" != set; then
18592 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18593 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18600 # We need space, tab and new line, in precisely that order. Quoting is
18601 # there to prevent editors from complaining about space-tab.
18602 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18603 # splitting by setting IFS to empty value.)
18606 # Find who we are. Look in the path if we contain no directory separator.
18609 *[\\/]* ) as_myself=$0 ;;
18610 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18611 for as_dir in $PATH
18614 test -z "$as_dir" && as_dir=.
18615 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18621 # We did not find ourselves, most probably we were run as `sh COMMAND'
18622 # in which case we are not to be found in the path.
18623 if test "x$as_myself" = x
; then
18626 if test ! -f "$as_myself"; then
18627 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18631 # Unset variables that we do not need and which cause bugs (e.g. in
18632 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18633 # suppresses any "Segmentation fault" message there. '((' could
18634 # trigger a bug in pdksh 5.2.14.
18635 for as_var
in BASH_ENV ENV MAIL MAILPATH
18636 do eval test x\
${$as_var+set} = xset \
18637 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18650 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18653 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18654 # ----------------------------------------
18655 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18656 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18657 # script with STATUS, using 1 if that was 0.
18660 as_status
=$1; test $as_status -eq 0 && as_status
=1
18662 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18663 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18665 $as_echo "$as_me: error: $2" >&2
18666 as_fn_exit
$as_status
18670 # as_fn_set_status STATUS
18671 # -----------------------
18672 # Set $? to STATUS, without forking.
18673 as_fn_set_status
()
18676 } # as_fn_set_status
18678 # as_fn_exit STATUS
18679 # -----------------
18680 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18684 as_fn_set_status
$1
18690 # Portably unset VAR.
18693 { eval $1=; unset $1;}
18695 as_unset
=as_fn_unset
18696 # as_fn_append VAR VALUE
18697 # ----------------------
18698 # Append the text in VALUE to the end of the definition contained in VAR. Take
18699 # advantage of any shell optimizations that allow amortized linear growth over
18700 # repeated appends, instead of the typical quadratic growth present in naive
18702 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18703 eval 'as_fn_append ()
18714 # as_fn_arith ARG...
18715 # ------------------
18716 # Perform arithmetic evaluation on the ARGs, and store the result in the
18717 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18718 # must be portable across $(()) and expr.
18719 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18720 eval 'as_fn_arith ()
18727 as_val
=`expr "$@" || test $? -eq 1`
18732 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18733 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18739 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18740 as_basename
=basename
18745 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18751 as_me
=`$as_basename -- "$0" ||
18752 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18753 X"$0" : 'X\(//\)$' \| \
18754 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18756 sed '/^.*\/\([^/][^/]*\)\/*$/{
18770 # Avoid depending upon Character Ranges.
18771 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18772 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18773 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18774 as_cr_digits
='0123456789'
18775 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18777 ECHO_C
= ECHO_N
= ECHO_T
=
18778 case `echo -n x` in #(((((
18780 case `echo 'xy\c'` in
18781 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18783 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18790 rm -f conf$$ conf$$.exe conf$$.
file
18791 if test -d conf$$.dir
; then
18792 rm -f conf$$.dir
/conf$$.
file
18795 mkdir conf$$.dir
2>/dev
/null
18797 if (echo >conf$$.
file) 2>/dev
/null
; then
18798 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18800 # ... but there are two gotchas:
18801 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18802 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18803 # In both cases, we have to default to `cp -pR'.
18804 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18806 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18814 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18815 rmdir conf$$.dir
2>/dev
/null
18820 # Create "$as_dir" as a directory, including parents if necessary.
18825 -*) as_dir
=.
/$as_dir;;
18827 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18831 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18832 *) as_qdir
=$as_dir;;
18834 as_dirs
="'$as_qdir' $as_dirs"
18835 as_dir
=`$as_dirname -- "$as_dir" ||
18836 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18837 X"$as_dir" : 'X\(//\)[^/]' \| \
18838 X"$as_dir" : 'X\(//\)$' \| \
18839 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18840 $as_echo X"$as_dir" |
18841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18845 /^X\(\/\/\)[^/].*/{
18858 test -d "$as_dir" && break
18860 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18861 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18865 if mkdir
-p .
2>/dev
/null
; then
18866 as_mkdir_p
='mkdir -p "$as_dir"'
18868 test -d .
/-p && rmdir .
/-p
18873 # as_fn_executable_p FILE
18874 # -----------------------
18875 # Test if FILE is an executable regular file.
18876 as_fn_executable_p
()
18878 test -f "$1" && test -x "$1"
18879 } # as_fn_executable_p
18880 as_test_x
='test -x'
18881 as_executable_p
=as_fn_executable_p
18883 # Sed expression to map a string onto a valid CPP name.
18884 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18886 # Sed expression to map a string onto a valid variable name.
18887 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18891 ## ----------------------------------- ##
18892 ## Main body of $CONFIG_STATUS script. ##
18893 ## ----------------------------------- ##
18895 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18898 # Save the log message, to keep $0 and so on meaningful, and to
18899 # report actual input values of CONFIG_FILES etc. instead of their
18900 # values after options handling.
18902 This file was extended by spl $as_me 0.6.5.10, which was
18903 generated by GNU Autoconf 2.69. Invocation command line was
18905 CONFIG_FILES = $CONFIG_FILES
18906 CONFIG_HEADERS = $CONFIG_HEADERS
18907 CONFIG_LINKS = $CONFIG_LINKS
18908 CONFIG_COMMANDS = $CONFIG_COMMANDS
18911 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18916 case $ac_config_files in *"
18917 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18920 case $ac_config_headers in *"
18921 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18926 # Files that config.status was made for.
18927 config_files="$ac_config_files"
18928 config_headers="$ac_config_headers"
18929 config_commands="$ac_config_commands"
18933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18935 \`$as_me' instantiates files and other configuration actions
18936 from templates according to the current configuration. Unless the files
18937 and actions are specified as TAGs, all are instantiated by default.
18939 Usage: $0 [OPTION]... [TAG]...
18941 -h, --help print this help, then exit
18942 -V, --version print version number and configuration settings, then exit
18943 --config print configuration, then exit
18944 -q, --quiet, --silent
18945 do not print progress messages
18946 -d, --debug don't remove temporary files
18947 --recheck update $as_me by reconfiguring in the same conditions
18948 --file=FILE[:TEMPLATE]
18949 instantiate the configuration file FILE
18950 --header=FILE[:TEMPLATE]
18951 instantiate the configuration header FILE
18953 Configuration files:
18956 Configuration headers:
18959 Configuration commands:
18962 Report bugs to the package provider."
18965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18966 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18968 spl config.status 0.6.5.10
18969 configured by $0, generated by GNU Autoconf 2.69,
18970 with options \\"\$ac_cs_config\\"
18972 Copyright (C) 2012 Free Software Foundation, Inc.
18973 This config.status script is free software; the Free Software Foundation
18974 gives unlimited permission to copy, distribute and modify it."
18981 test -n "\$AWK" || AWK=awk
18984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18985 # The default lists apply if the user does not specify any file.
18991 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18992 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18996 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19008 # Handling of the options.
19009 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19011 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19012 $as_echo "$ac_cs_version"; exit ;;
19013 --config |
--confi |
--conf |
--con |
--co |
--c )
19014 $as_echo "$ac_cs_config"; exit ;;
19015 --debug |
--debu |
--deb |
--de |
--d |
-d )
19017 --file |
--fil |
--fi |
--f )
19020 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19021 '') as_fn_error $?
"missing file argument" ;;
19023 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19024 ac_need_defaults
=false
;;
19025 --header |
--heade |
--head |
--hea )
19028 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19030 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19031 ac_need_defaults
=false
;;
19033 # Conflict between --help and --header
19034 as_fn_error $?
"ambiguous option: \`$1'
19035 Try \`$0 --help' for more information.";;
19036 --help |
--hel |
-h )
19037 $as_echo "$ac_cs_usage"; exit ;;
19038 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19039 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19042 # This is an error.
19043 -*) as_fn_error $?
"unrecognized option: \`$1'
19044 Try \`$0 --help' for more information." ;;
19046 *) as_fn_append ac_config_targets
" $1"
19047 ac_need_defaults
=false
;;
19053 ac_configure_extra_args
=
19055 if $ac_cs_silent; then
19057 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19062 if \$ac_cs_recheck; then
19063 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19065 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19066 CONFIG_SHELL='$SHELL'
19067 export CONFIG_SHELL
19072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19077 ## Running $as_me. ##
19083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19087 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19090 # The HP-UX ksh and POSIX shell print the target directory to stdout
19091 # if CDPATH is set.
19092 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19094 sed_quote_subst='$sed_quote_subst'
19095 double_quote_subst='$double_quote_subst'
19096 delay_variable_subst='$delay_variable_subst'
19097 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19098 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19099 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19100 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19101 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19102 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19103 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
19104 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19105 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19106 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19107 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19108 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19109 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19110 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19111 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19112 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19113 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19114 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19115 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19116 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19117 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19118 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19119 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19120 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19121 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19122 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19123 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19124 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19125 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19126 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19127 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19128 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19129 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19130 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19131 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19132 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19133 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19134 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19135 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19136 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19137 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19138 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19139 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19140 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19141 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19142 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19143 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19144 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19145 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19146 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19147 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19148 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19149 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19150 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19151 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19152 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19153 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
19154 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19155 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"`'
19156 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
19157 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19158 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19159 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
19160 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19161 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19162 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19163 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19164 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19165 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19166 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19167 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19168 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19169 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19170 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19171 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19172 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19173 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19174 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19175 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19176 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19177 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19178 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19179 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19180 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19181 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19182 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19183 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19184 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19185 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19186 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19187 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19188 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19189 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19190 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19191 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19192 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19193 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19194 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19195 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19196 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19197 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19198 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19199 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19200 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19201 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19202 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19203 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19204 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19205 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19206 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19207 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19208 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19209 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19210 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19211 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19212 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19213 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19214 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19215 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19216 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19217 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19218 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19219 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19220 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19221 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19222 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19223 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19224 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
19225 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
19226 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19227 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19228 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19229 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19230 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19231 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19234 LTCFLAGS='$LTCFLAGS'
19235 compiler='$compiler_DEFAULT'
19237 # A function that is used when there is no print builtin or printf.
19238 func_fallback_echo ()
19240 eval 'cat <<_LTECHO_EOF
19245 # Quote evaled strings.
19260 deplibs_check_method \
19265 sharedlib_from_linklib_cmd \
19268 archiver_list_spec \
19274 lt_cv_sys_global_symbol_pipe \
19275 lt_cv_sys_global_symbol_to_cdecl \
19276 lt_cv_sys_global_symbol_to_import \
19277 lt_cv_sys_global_symbol_to_c_name_address \
19278 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19279 lt_cv_nm_interface \
19280 nm_file_list_spec \
19281 lt_cv_truncate_bin \
19282 lt_prog_compiler_no_builtin_flag \
19283 lt_prog_compiler_pic \
19284 lt_prog_compiler_wl \
19285 lt_prog_compiler_static \
19286 lt_cv_prog_compiler_c_o \
19295 export_dynamic_flag_spec \
19296 whole_archive_flag_spec \
19297 compiler_needs_object \
19299 allow_undefined_flag \
19300 no_undefined_flag \
19301 hardcode_libdir_flag_spec \
19302 hardcode_libdir_separator \
19306 variables_saved_for_relink \
19308 library_names_spec \
19310 install_override_mode \
19314 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19315 *[\\\\\\\`\\"\\\$]*)
19316 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19319 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19324 # Double-quote double-evaled strings.
19325 for var in reload_cmds \
19326 old_postinstall_cmds \
19327 old_postuninstall_cmds \
19329 extract_expsyms_cmds \
19330 old_archive_from_new_cmds \
19331 old_archive_from_expsyms_cmds \
19333 archive_expsym_cmds \
19335 module_expsym_cmds \
19336 export_symbols_cmds \
19340 postuninstall_cmds \
19342 sys_lib_search_path_spec \
19343 configure_time_dlsearch_path \
19344 configure_time_lt_sys_library_path; do
19345 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19346 *[\\\\\\\`\\"\\\$]*)
19347 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19350 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19355 ac_aux_dir='$ac_aux_dir'
19357 # See if we are running on zsh, and set the options that allow our
19358 # commands through without removal of \ escapes INIT.
19359 if test -n "\${ZSH_VERSION+set}"; then
19360 setopt NO_GLOB_SUBST
19374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19376 # Handling of arguments.
19377 for ac_config_target
in $ac_config_targets
19379 case $ac_config_target in
19380 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
19381 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19382 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19383 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19384 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
19385 "man/man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man1/Makefile" ;;
19386 "man/man5/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man5/Makefile" ;;
19387 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19388 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
19389 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
19390 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
19391 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
19392 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19393 "include/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/fs/Makefile" ;;
19394 "include/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES include/linux/Makefile" ;;
19395 "include/rpc/Makefile") CONFIG_FILES
="$CONFIG_FILES include/rpc/Makefile" ;;
19396 "include/sharefs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sharefs/Makefile" ;;
19397 "include/sys/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/Makefile" ;;
19398 "include/sys/fm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fm/Makefile" ;;
19399 "include/sys/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fs/Makefile" ;;
19400 "include/sys/sysevent/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/sysevent/Makefile" ;;
19401 "include/util/Makefile") CONFIG_FILES
="$CONFIG_FILES include/util/Makefile" ;;
19402 "include/vm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/vm/Makefile" ;;
19403 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19404 "rpm/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/Makefile" ;;
19405 "rpm/redhat/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/Makefile" ;;
19406 "rpm/redhat/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl.spec" ;;
19407 "rpm/redhat/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl-kmod.spec" ;;
19408 "rpm/redhat/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl-dkms.spec" ;;
19409 "rpm/generic/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/generic/Makefile" ;;
19410 "rpm/generic/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl.spec" ;;
19411 "rpm/generic/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-kmod.spec" ;;
19412 "rpm/generic/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-dkms.spec" ;;
19413 "spl.release") CONFIG_FILES
="$CONFIG_FILES spl.release" ;;
19415 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19420 # If the user did not use the arguments to specify the items to instantiate,
19421 # then the envvar interface is used. Set only those that are not.
19422 # We use the long form for the default assignment because of an extremely
19423 # bizarre bug on SunOS 4.1.3.
19424 if $ac_need_defaults; then
19425 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19426 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19427 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19430 # Have a temporary directory for convenience. Make it in the build tree
19431 # simply because there is no reason against having it here, and in addition,
19432 # creating and moving files from /tmp can sometimes cause problems.
19433 # Hook for its removal unless debugging.
19434 # Note that there is a small window in which the directory will not be cleaned:
19435 # after its creation but before its name has been assigned to `$tmp'.
19439 trap 'exit_status=$?
19440 : "${ac_tmp:=$tmp}"
19441 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19443 trap 'as_fn_exit 1' 1 2 13 15
19445 # Create a (secure) tmp directory for tmp files.
19448 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19452 tmp
=.
/conf$$
-$RANDOM
19453 (umask 077 && mkdir
"$tmp")
19454 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19457 # Set up the scripts for CONFIG_FILES section.
19458 # No need to generate them if there are no CONFIG_FILES.
19459 # This happens for instance with `./config.status config.h'.
19460 if test -n "$CONFIG_FILES"; then
19463 ac_cr
=`echo X | tr X '\015'`
19464 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19465 # But we know of no other shell where ac_cr would be empty at this
19466 # point, so we can use a bashism as a fallback.
19467 if test "x$ac_cr" = x
; then
19468 eval ac_cr
=\$
\'\\r
\'
19470 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19471 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19474 ac_cs_awk_cr
=$ac_cr
19477 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19482 echo "cat >conf$$subs.awk <<_ACEOF" &&
19483 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19485 } >conf$$subs.sh ||
19486 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19487 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19489 for ac_last_try in false false false false false :; do
19490 . ./conf$$subs.sh ||
19491 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19493 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19494 if test $ac_delim_n = $ac_delim_num; then
19496 elif $ac_last_try; then
19497 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19499 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19502 rm -f conf$$subs.sh
19504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19505 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19509 s/^/S["/; s
/!.
*/"]=/
19519 s/\(.\{148\}\)..*/\1/
19521 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19526 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19533 s/\(.\{148\}\)..*/\1/
19535 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19539 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19544 ' <conf$$subs.awk | sed '
19549 ' >>$CONFIG_STATUS || ac_write_fail=1
19550 rm -f conf$$subs.awk
19551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19553 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19554 for (key in S) S_is_set[key] = 1
19560 nfields = split(line, field, "@
")
19562 len = length(field[1])
19563 for (i = 2; i < nfields; i++) {
19565 keylen = length(key)
19566 if (S_is_set[key]) {
19568 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19569 len += length(value) + length(field[++i])
19580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19581 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19582 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19585 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19586 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19589 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19590 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19591 # trailing colons and then remove the whole line if VPATH becomes empty
19592 # (actually we leave an empty line to preserve line numbers).
19593 if test "x
$srcdir" = x.; then
19594 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19613 fi # test -n "$CONFIG_FILES"
19615 # Set up the scripts for CONFIG_HEADERS section.
19616 # No need to generate them if there are no CONFIG_HEADERS.
19617 # This happens for instance with `./config.status Makefile'.
19618 if test -n "$CONFIG_HEADERS"; then
19619 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19623 # Transform confdefs.h into an awk script `defines.awk', embedded as
19624 # here-document in config.status, that substitutes the proper values into
19625 # config.h.in to produce config.h.
19627 # Create a delimiter string that does not exist in confdefs.h, to ease
19628 # handling of long lines.
19630 for ac_last_try in false false :; do
19631 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19632 if test -z "$ac_tt"; then
19634 elif $ac_last_try; then
19635 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19637 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19641 # For the awk script, D is an array of macro values keyed by name,
19642 # likewise P contains macro parameters if any. Preserve backslash
19643 # newline sequences.
19645 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19647 s/.\{148\}/&'"$ac_delim"'/g
19650 s/^[ ]*#[ ]*define[ ][ ]*/ /
19657 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19659 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19663 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19664 D["\
1"]=" \
3\\\\\\n
"\\/p
19666 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19671 s/.\{148\}/&'"$ac_delim"'/g
19676 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19679 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19681 ' <confdefs.h | sed '
19682 s/'"$ac_delim"'/"\\\
19683 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19686 for (key in D) D_is_set[key] = 1
19689 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19691 split(line, arg, " ")
19692 if (arg[1] == "#") {
19696 defundef
= substr
(arg
[1], 2)
19699 split(mac1
, mac2
, "(") #)
19701 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19702 if (D_is_set
[macro
]) {
19703 # Preserve the white space surrounding the "#".
19704 print prefix
"define", macro P
[macro
] D
[macro
]
19707 # Replace #undef with comments. This is necessary, for example,
19708 # in the case of _POSIX_SOURCE, which is predefined and required
19709 # on some systems where configure will not decide to define it.
19710 if (defundef
== "undef") {
19711 print
"/*", prefix defundef
, macro
, "*/"
19719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19720 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19721 fi # test -n "$CONFIG_HEADERS"
19724 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19729 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19731 case $ac_mode$ac_tag in
19733 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19734 :[FH
]-) ac_tag
=-:-;;
19735 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19752 -) ac_f
="$ac_tmp/stdin";;
19753 *) # Look for the file first in the build tree, then in the source tree
19754 # (if the path is not absolute). The absolute path cannot be DOS-style,
19755 # because $ac_f cannot contain `:'.
19759 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19761 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19763 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19764 as_fn_append ac_file_inputs
" '$ac_f'"
19767 # Let's still pretend it is `configure' which instantiates (i.e., don't
19768 # use $as_me), people would be surprised to read:
19769 # /* config.h. Generated by config.status. */
19770 configure_input
='Generated from '`
19771 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19773 if test x
"$ac_file" != x-
; then
19774 configure_input
="$ac_file. $configure_input"
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19776 $as_echo "$as_me: creating $ac_file" >&6;}
19778 # Neutralize special characters interpreted by sed in replacement strings.
19779 case $configure_input in #(
19780 *\
&* |
*\|
* |
*\\* )
19781 ac_sed_conf_input
=`$as_echo "$configure_input" |
19782 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19783 *) ac_sed_conf_input
=$configure_input;;
19787 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19788 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19793 ac_dir
=`$as_dirname -- "$ac_file" ||
19794 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19795 X"$ac_file" : 'X\(//\)[^/]' \| \
19796 X"$ac_file" : 'X\(//\)$' \| \
19797 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19798 $as_echo X"$ac_file" |
19799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19803 /^X\(\/\/\)[^/].*/{
19816 as_dir
="$ac_dir"; as_fn_mkdir_p
19820 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19822 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19823 # A ".." for each directory in $ac_dir_suffix.
19824 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19825 case $ac_top_builddir_sub in
19826 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19827 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19830 ac_abs_top_builddir
=$ac_pwd
19831 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19832 # for backward compatibility:
19833 ac_top_builddir
=$ac_top_build_prefix
19836 .
) # We are building in place.
19838 ac_top_srcdir
=$ac_top_builddir_sub
19839 ac_abs_top_srcdir
=$ac_pwd ;;
19840 [\\/]* | ?
:[\\/]* ) # Absolute name.
19841 ac_srcdir
=$srcdir$ac_dir_suffix;
19842 ac_top_srcdir
=$srcdir
19843 ac_abs_top_srcdir
=$srcdir ;;
19844 *) # Relative name.
19845 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19846 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19847 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19849 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19859 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19860 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19862 ac_MKDIR_P
=$MKDIR_P
19864 [\\/$
]* | ?
:[\\/]* ) ;;
19865 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19870 # If the template does not know about datarootdir, expand it.
19871 # FIXME: This hack should be removed a few years after 2.60.
19872 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19883 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19884 *datarootdir
*) ac_datarootdir_seen
=yes;;
19885 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19887 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19890 ac_datarootdir_hack='
19891 s&@datadir@&$datadir&g
19892 s&@docdir@&$docdir&g
19893 s&@infodir@&$infodir&g
19894 s&@localedir@&$localedir&g
19895 s&@mandir@&$mandir&g
19896 s&\\\${datarootdir}&$datarootdir&g' ;;
19900 # Neutralize VPATH when `$srcdir' = `.'.
19901 # Shell code in configure.ac might set extrasub.
19902 # FIXME: do we really want to maintain this feature?
19903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19904 ac_sed_extra="$ac_vpsub
19907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19909 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19910 s|@configure_input@|
$ac_sed_conf_input|
;t t
19911 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19912 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19913 s
&@srcdir@
&$ac_srcdir&;t t
19914 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19915 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19916 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19917 s
&@builddir@
&$ac_builddir&;t t
19918 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19919 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19920 s
&@INSTALL@
&$ac_INSTALL&;t t
19921 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19922 $ac_datarootdir_hack
19924 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19925 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19927 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19928 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19929 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19930 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19932 which seems to be undefined. Please make sure it is defined" >&5
19933 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19934 which seems to be undefined. Please make sure it is defined" >&2;}
19936 rm -f "$ac_tmp/stdin"
19938 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19939 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19947 if test x"$ac_file" != x-; then
19949 $as_echo "/* $configure_input */" \
19950 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19951 } >"$ac_tmp/config.h" \
19952 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19953 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19955 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19958 mv "$ac_tmp/config.h" "$ac_file" \
19959 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19962 $as_echo "/* $configure_input */" \
19963 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19964 || as_fn_error $? "could not create -" "$LINENO" 5
19966 # Compute "$ac_file"'s index
in $config_headers.
19969 for _am_header
in $config_headers :; do
19970 case $_am_header in
19971 $_am_arg |
$_am_arg:* )
19974 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19977 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19978 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19979 X"$_am_arg" : 'X\(//\)[^/]' \| \
19980 X"$_am_arg" : 'X\(//\)$' \| \
19981 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19982 $as_echo X"$_am_arg" |
19983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19987 /^X\(\/\/\)[^/].*/{
19999 s/.*/./; q'`/stamp-h
$_am_stamp_count
20002 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20003 $as_echo "$as_me: executing $ac_file commands" >&6;}
20008 case $ac_file$ac_mode in
20010 (mv spl_config.h spl_config.h.tmp
&&
20011 awk -f ${ac_srcdir}/config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
20012 rm spl_config.h.tmp
) ||
exit 1 ;;
20013 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
20014 # Older Autoconf quotes --file arguments for eval, but not when files
20015 # are listed without --file. Let's play safe and only enable the eval
20016 # if we detect the quoting.
20017 case $CONFIG_FILES in
20018 *\'*) eval set x
"$CONFIG_FILES" ;;
20019 *) set x
$CONFIG_FILES ;;
20024 # Strip MF so we end up with the name of the file.
20025 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20026 # Check whether this is an Automake generated Makefile or not.
20027 # We used to match only the files named 'Makefile.in', but
20028 # some people rename them; so instead we look at the file content.
20029 # Grep'ing the first line is not enough: some people post-process
20030 # each Makefile.in and add a new line on top of each file to say so.
20031 # Grep'ing the whole file is not good either: AIX grep has a line
20032 # limit of 2048, but all sed's we know have understand at least 4000.
20033 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20034 dirpart
=`$as_dirname -- "$mf" ||
20035 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20036 X"$mf" : 'X\(//\)[^/]' \| \
20037 X"$mf" : 'X\(//\)$' \| \
20038 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20044 /^X\(\/\/\)[^/].*/{
20060 # Extract the definition of DEPDIR, am__include, and am__quote
20061 # from the Makefile without running 'make'.
20062 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20063 test -z "$DEPDIR" && continue
20064 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20065 test -z "$am__include" && continue
20066 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20067 # Find all dependency output files, they are included files with
20068 # $(DEPDIR) in their names. We invoke sed twice because it is the
20069 # simplest approach to changing $(DEPDIR) to its actual value in the
20071 for file in `sed -n "
20072 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20073 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20074 # Make sure the directory exists.
20075 test -f "$dirpart/$file" && continue
20076 fdir
=`$as_dirname -- "$file" ||
20077 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20078 X"$file" : 'X\(//\)[^/]' \| \
20079 X"$file" : 'X\(//\)$' \| \
20080 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20081 $as_echo X"$file" |
20082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20086 /^X\(\/\/\)[^/].*/{
20099 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
20100 # echo "creating $dirpart/$file"
20101 echo '# dummy' > "$dirpart/$file"
20108 # See if we are running on zsh, and set the options that allow our
20109 # commands through without removal of \ escapes.
20110 if test -n "${ZSH_VERSION+set}"; then
20111 setopt NO_GLOB_SUBST
20115 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20118 cat <<_LT_EOF >> "$cfgfile"
20120 # Generated automatically by $as_me ($PACKAGE) $VERSION
20121 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20122 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20124 # Provide generalized library-building support services.
20125 # Written by Gordon Matzigkeit, 1996
20127 # Copyright (C) 2014 Free Software Foundation, Inc.
20128 # This is free software; see the source for copying conditions. There is NO
20129 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20131 # GNU Libtool is free software; you can redistribute it and/or modify
20132 # it under the terms of the GNU General Public License as published by
20133 # the Free Software Foundation; either version 2 of of the License, or
20134 # (at your option) any later version.
20136 # As a special exception to the GNU General Public License, if you
20137 # distribute this file as part of a program or library that is built
20138 # using GNU Libtool, you may include this file under the same
20139 # distribution terms that you use for the rest of that program.
20141 # GNU Libtool is distributed in the hope that it will be useful, but
20142 # WITHOUT ANY WARRANTY; without even the implied warranty of
20143 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20144 # GNU General Public License for more details.
20146 # You should have received a copy of the GNU General Public License
20147 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20150 # The names of the tagged configurations supported by this script.
20153 # Configured defaults for sys_lib_dlsearch_path munging.
20154 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
20156 # ### BEGIN LIBTOOL CONFIG
20158 # Which release of libtool.m4 was used?
20159 macro_version=$macro_version
20160 macro_revision=$macro_revision
20162 # Whether or not to build shared libraries.
20163 build_libtool_libs=$enable_shared
20165 # Whether or not to build static libraries.
20166 build_old_libs=$enable_static
20168 # What type of objects to build.
20171 # Whether or not to optimize for fast installation.
20172 fast_install=$enable_fast_install
20174 # Shared archive member basename,for filename based shared library versioning on AIX.
20175 shared_archive_member_spec=$shared_archive_member_spec
20177 # Shell to use when invoking shell scripts.
20180 # An echo program that protects backslashes.
20183 # The PATH separator for the build system.
20184 PATH_SEPARATOR=$lt_PATH_SEPARATOR
20187 host_alias=$host_alias
20191 # The build system.
20192 build_alias=$build_alias
20196 # A sed program that does not truncate output.
20199 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20200 Xsed="\$SED -e 1s/^X//"
20202 # A grep program that handles long lines.
20208 # A literal string matcher.
20211 # A BSD- or MS-compatible name lister.
20214 # Whether we need soft or hard links.
20217 # What is the maximum length of a command?
20218 max_cmd_len=$max_cmd_len
20220 # Object file suffix (normally "o").
20223 # Executable file suffix (normally "").
20226 # whether the shell understands "unset".
20229 # turn spaces into newlines.
20232 # turn newlines into spaces.
20235 # convert \$build file names to \$host format.
20236 to_host_file_cmd=$lt_cv_to_host_file_cmd
20238 # convert \$build files to toolchain format.
20239 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20241 # An object symbol dumper.
20242 OBJDUMP=$lt_OBJDUMP
20244 # Method to check whether dependent libraries are shared objects.
20245 deplibs_check_method=$lt_deplibs_check_method
20247 # Command to use when deplibs_check_method = "file_magic".
20248 file_magic_cmd=$lt_file_magic_cmd
20250 # How to find potential files when deplibs_check_method = "file_magic".
20251 file_magic_glob=$lt_file_magic_glob
20253 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20254 want_nocaseglob=$lt_want_nocaseglob
20256 # DLL creation program.
20257 DLLTOOL=$lt_DLLTOOL
20259 # Command to associate shared and link libraries.
20260 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20265 # Flags to create an archive.
20266 AR_FLAGS=$lt_AR_FLAGS
20268 # How to feed a file listing to the archiver.
20269 archiver_list_spec=$lt_archiver_list_spec
20271 # A symbol stripping program.
20274 # Commands used to install an old-style archive.
20276 old_postinstall_cmds=$lt_old_postinstall_cmds
20277 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20279 # Whether to use a lock for old archive extraction.
20280 lock_old_archive_extraction=$lock_old_archive_extraction
20285 # LTCC compiler flags.
20286 LTCFLAGS=$lt_CFLAGS
20288 # Take the output of nm and produce a listing of raw symbols and C names.
20289 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20291 # Transform the output of nm in a proper C declaration.
20292 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20294 # Transform the output of nm into a list of symbols to manually relocate.
20295 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20297 # Transform the output of nm in a C name address pair.
20298 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20300 # Transform the output of nm in a C name address pair when lib prefix is needed.
20301 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20303 # The name lister interface.
20304 nm_interface=$lt_lt_cv_nm_interface
20306 # Specify filename containing input files for \$NM.
20307 nm_file_list_spec=$lt_nm_file_list_spec
20309 # The root where to search for dependent libraries,and where our libraries should be installed.
20310 lt_sysroot=$lt_sysroot
20312 # Command to truncate a binary pipe.
20313 lt_truncate_bin=$lt_lt_cv_truncate_bin
20315 # The name of the directory that contains temporary libtool files.
20318 # Used to examine libraries when file_magic_cmd begins with "file".
20319 MAGIC_CMD=$MAGIC_CMD
20321 # Must we lock files when doing compilation?
20322 need_locks=$lt_need_locks
20325 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20327 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20328 DSYMUTIL=$lt_DSYMUTIL
20330 # Tool to change global to local symbols on Mac OS X.
20333 # Tool to manipulate fat objects and archives on Mac OS X.
20336 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20339 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20340 OTOOL64=$lt_OTOOL64
20342 # Old archive suffix (normally "a").
20345 # Shared library suffix (normally ".so").
20346 shrext_cmds=$lt_shrext_cmds
20348 # The commands to extract the exported symbol list from a shared archive.
20349 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20351 # Variables whose values should be saved in libtool wrapper scripts and
20352 # restored at link time.
20353 variables_saved_for_relink=$lt_variables_saved_for_relink
20355 # Do we need the "lib" prefix for modules?
20356 need_lib_prefix=$need_lib_prefix
20358 # Do we need a version for libraries?
20359 need_version=$need_version
20361 # Library versioning type.
20362 version_type=$version_type
20364 # Shared library runtime path variable.
20365 runpath_var=$runpath_var
20367 # Shared library path variable.
20368 shlibpath_var=$shlibpath_var
20370 # Is shlibpath searched before the hard-coded library search path?
20371 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20373 # Format of library name prefix.
20374 libname_spec=$lt_libname_spec
20376 # List of archive names. First name is the real one, the rest are links.
20377 # The last name is the one that the linker finds with -lNAME
20378 library_names_spec=$lt_library_names_spec
20380 # The coded name of the library, if different from the real name.
20381 soname_spec=$lt_soname_spec
20383 # Permission mode override for installation of shared libraries.
20384 install_override_mode=$lt_install_override_mode
20386 # Command to use after installation of a shared archive.
20387 postinstall_cmds=$lt_postinstall_cmds
20389 # Command to use after uninstallation of a shared archive.
20390 postuninstall_cmds=$lt_postuninstall_cmds
20392 # Commands used to finish a libtool library installation in a directory.
20393 finish_cmds=$lt_finish_cmds
20395 # As "finish_cmds", except a single script fragment to be evaled but
20397 finish_eval=$lt_finish_eval
20399 # Whether we should hardcode library paths into libraries.
20400 hardcode_into_libs=$hardcode_into_libs
20402 # Compile-time system search path for libraries.
20403 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20405 # Detected run-time system search path for libraries.
20406 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20408 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20409 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20411 # Whether dlopen is supported.
20412 dlopen_support=$enable_dlopen
20414 # Whether dlopen of programs is supported.
20415 dlopen_self=$enable_dlopen_self
20417 # Whether dlopen of statically linked programs is supported.
20418 dlopen_self_static=$enable_dlopen_self_static
20420 # Commands to strip libraries.
20421 old_striplib=$lt_old_striplib
20422 striplib=$lt_striplib
20425 # The linker used to build libraries.
20428 # How to create reloadable object files.
20429 reload_flag=$lt_reload_flag
20430 reload_cmds=$lt_reload_cmds
20432 # Commands used to build an old-style archive.
20433 old_archive_cmds=$lt_old_archive_cmds
20435 # A language specific compiler.
20438 # Is the compiler the GNU compiler?
20441 # Compiler flag to turn off builtin functions.
20442 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20444 # Additional compiler flags for building library objects.
20445 pic_flag=$lt_lt_prog_compiler_pic
20447 # How to pass a linker flag through the compiler.
20448 wl=$lt_lt_prog_compiler_wl
20450 # Compiler flag to prevent dynamic linking.
20451 link_static_flag=$lt_lt_prog_compiler_static
20453 # Does compiler simultaneously support -c and -o options?
20454 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20456 # Whether or not to add -lc for building shared libraries.
20457 build_libtool_need_lc=$archive_cmds_need_lc
20459 # Whether or not to disallow shared libs when runtime libs are static.
20460 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20462 # Compiler flag to allow reflexive dlopens.
20463 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20465 # Compiler flag to generate shared objects directly from archives.
20466 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20468 # Whether the compiler copes with passing no objects directly.
20469 compiler_needs_object=$lt_compiler_needs_object
20471 # Create an old-style archive from a shared archive.
20472 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20474 # Create a temporary old-style archive to link instead of a shared archive.
20475 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20477 # Commands used to build a shared archive.
20478 archive_cmds=$lt_archive_cmds
20479 archive_expsym_cmds=$lt_archive_expsym_cmds
20481 # Commands used to build a loadable module if different from building
20482 # a shared archive.
20483 module_cmds=$lt_module_cmds
20484 module_expsym_cmds=$lt_module_expsym_cmds
20486 # Whether we are building with GNU ld or not.
20487 with_gnu_ld=$lt_with_gnu_ld
20489 # Flag that allows shared libraries with undefined symbols to be built.
20490 allow_undefined_flag=$lt_allow_undefined_flag
20492 # Flag that enforces no undefined symbols.
20493 no_undefined_flag=$lt_no_undefined_flag
20495 # Flag to hardcode \$libdir into a binary during linking.
20496 # This must work even if \$libdir does not exist
20497 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20499 # Whether we need a single "-rpath" flag with a separated argument.
20500 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20502 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20503 # DIR into the resulting binary.
20504 hardcode_direct=$hardcode_direct
20506 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20507 # DIR into the resulting binary and the resulting library dependency is
20508 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
20509 # library is relocated.
20510 hardcode_direct_absolute=$hardcode_direct_absolute
20512 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20513 # into the resulting binary.
20514 hardcode_minus_L=$hardcode_minus_L
20516 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20517 # into the resulting binary.
20518 hardcode_shlibpath_var=$hardcode_shlibpath_var
20520 # Set to "yes" if building a shared library automatically hardcodes DIR
20521 # into the library and all subsequent libraries and executables linked
20523 hardcode_automatic=$hardcode_automatic
20525 # Set to yes if linker adds runtime paths of dependent libraries
20526 # to runtime path list.
20527 inherit_rpath=$inherit_rpath
20529 # Whether libtool must link a program against all its dependency libraries.
20530 link_all_deplibs=$link_all_deplibs
20532 # Set to "yes" if exported symbols are required.
20533 always_export_symbols=$always_export_symbols
20535 # The commands to list exported symbols.
20536 export_symbols_cmds=$lt_export_symbols_cmds
20538 # Symbols that should not be listed in the preloaded symbols.
20539 exclude_expsyms=$lt_exclude_expsyms
20541 # Symbols that must always be exported.
20542 include_expsyms=$lt_include_expsyms
20544 # Commands necessary for linking programs (against libraries) with templates.
20545 prelink_cmds=$lt_prelink_cmds
20547 # Commands necessary for finishing linking programs.
20548 postlink_cmds=$lt_postlink_cmds
20550 # Specify filename containing input files.
20551 file_list_spec=$lt_file_list_spec
20553 # How to hardcode a shared library path into an executable.
20554 hardcode_action=$hardcode_action
20556 # ### END LIBTOOL CONFIG
20560 cat <<'_LT_EOF' >> "$cfgfile"
20562 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20564 # func_munge_path_list VARIABLE PATH
20565 # -----------------------------------
20566 # VARIABLE is name of variable containing _space_ separated list of
20567 # directories to be munged by the contents of PATH, which is string
20570 # string "DIR[ DIR]" will be prepended to VARIABLE
20572 # string "DIR[ DIR]" will be appended to VARIABLE
20573 # "DIRP[:DIRP]::[DIRA:]DIRA"
20574 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20575 # "DIRA[ DIRA]" will be appended to VARIABLE
20577 # VARIABLE will be replaced by "DIR[ DIR]"
20578 func_munge_path_list ()
20584 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20587 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20590 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20591 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20594 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20600 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
20601 func_cc_basename ()
20603 for cc_temp in $*""; do
20605 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20606 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20611 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20615 # ### END FUNCTIONS SHARED WITH CONFIGURE
20621 cat <<\_LT_EOF
>> "$cfgfile"
20622 # AIX sometimes has problems with the GCC collect2 program. For some
20623 # reason, if we set the COLLECT_NAMES environment variable, the problems
20624 # vanish in a puff of smoke.
20625 if test set != "${COLLECT_NAMES+set}"; then
20627 export COLLECT_NAMES
20634 ltmain
=$ac_aux_dir/ltmain.sh
20637 # We use sed instead of cat because bash on DJGPP gets confused if
20638 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20639 # text mode, it properly converts lines to CR/LF. This bash problem
20640 # is reportedly fixed, but why not run on old versions too?
20641 sed '$q' "$ltmain" >> "$cfgfile" \
20642 ||
(rm -f "$cfgfile"; exit 1)
20644 mv -f "$cfgfile" "$ofile" ||
20645 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20656 ac_clean_files
=$ac_clean_files_save
20658 test $ac_write_fail = 0 ||
20659 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20662 # configure is writing to config.log, and then calls config.status.
20663 # config.status does its own redirection, appending to config.log.
20664 # Unfortunately, on DOS this fails, as config.log is still kept open
20665 # by configure, so config.status won't be able to write to it; its
20666 # output is simply discarded. So we exec the FD to /dev/null,
20667 # effectively closing config.log, so it can be properly (re)opened and
20668 # appended to by config.status. When coming back to configure, we
20669 # need to make the FD available again.
20670 if test "$no_create" != yes; then
20672 ac_config_status_args
=
20673 test "$silent" = yes &&
20674 ac_config_status_args
="$ac_config_status_args --quiet"
20676 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20678 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20679 # would make configure fail if this is the last instruction.
20680 $ac_cs_success || as_fn_exit
1
20682 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20684 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}