2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for spl 0.6.5.
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'
591 PACKAGE_STRING
='spl 0.6.5'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars
='am__EXEEXT_FALSE
723 INSTALL_STRIP_PROGRAM
743 MAINTAINER_MODE_FALSE
797 program_transform_name
810 enable_option_checking
811 enable_maintainer_mode
813 enable_dependency_tracking
829 enable_debug_kmem_tracking
830 enable_atomic_spinlocks
832 ac_precious_vars
='build_alias
844 # Initialize some variables set by options.
846 ac_init_version
=false
847 ac_unrecognized_opts
=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name
=s
,x
,x
,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir
='${exec_prefix}/bin'
873 sbindir
='${exec_prefix}/sbin'
874 libexecdir
='${exec_prefix}/libexec'
875 datarootdir
='${prefix}/share'
876 datadir
='${datarootdir}'
877 sysconfdir
='${prefix}/etc'
878 sharedstatedir
='${prefix}/com'
879 localstatedir
='${prefix}/var'
880 runstatedir
='${localstatedir}/run'
881 includedir
='${prefix}/include'
882 oldincludedir
='/usr/include'
883 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
884 infodir
='${datarootdir}/info'
889 libdir
='${exec_prefix}/lib'
890 localedir
='${datarootdir}/locale'
891 mandir
='${datarootdir}/man'
897 # If the previous option needs an argument, assign it.
898 if test -n "$ac_prev"; then
899 eval $ac_prev=\
$ac_option
905 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error $?
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=no
;;
964 -docdir |
--docdir |
--docdi |
--doc |
--do)
966 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
969 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
971 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
974 -enable-* |
--enable-*)
975 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
978 as_fn_error $?
"invalid feature name: $ac_useropt"
979 ac_useropt_orig
=$ac_useropt
980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986 ac_unrecognized_sep
=', ';;
988 eval enable_
$ac_useropt=\
$ac_optarg ;;
990 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
991 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
992 |
--exec |
--exe |
--ex)
993 ac_prev
=exec_prefix
;;
994 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
995 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
996 |
--exec=* |
--exe=* |
--ex=*)
997 exec_prefix
=$ac_optarg ;;
999 -gas |
--gas |
--ga |
--g)
1000 # Obsolete; use --with-gas.
1003 -help |
--help |
--hel |
--he |
-h)
1004 ac_init_help
=long
;;
1005 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1006 ac_init_help
=recursive
;;
1007 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1008 ac_init_help
=short
;;
1010 -host |
--host |
--hos |
--ho)
1011 ac_prev
=host_alias
;;
1012 -host=* |
--host=* |
--hos=* |
--ho=*)
1013 host_alias
=$ac_optarg ;;
1015 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1017 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1019 htmldir
=$ac_optarg ;;
1021 -includedir |
--includedir |
--includedi |
--included |
--include \
1022 |
--includ |
--inclu |
--incl |
--inc)
1023 ac_prev
=includedir
;;
1024 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1025 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1026 includedir
=$ac_optarg ;;
1028 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1030 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1031 infodir
=$ac_optarg ;;
1033 -libdir |
--libdir |
--libdi |
--libd)
1035 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1036 libdir
=$ac_optarg ;;
1038 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1039 |
--libexe |
--libex |
--libe)
1040 ac_prev
=libexecdir
;;
1041 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1042 |
--libexe=* |
--libex=* |
--libe=*)
1043 libexecdir
=$ac_optarg ;;
1045 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1046 ac_prev
=localedir
;;
1047 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1048 localedir
=$ac_optarg ;;
1050 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1051 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1052 ac_prev
=localstatedir
;;
1053 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1054 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1055 localstatedir
=$ac_optarg ;;
1057 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1059 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1060 mandir
=$ac_optarg ;;
1062 -nfp |
--nfp |
--nf)
1063 # Obsolete; use --without-fp.
1066 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1067 |
--no-cr |
--no-c |
-n)
1070 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1071 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1074 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1075 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1076 |
--oldin |
--oldi |
--old |
--ol |
--o)
1077 ac_prev
=oldincludedir
;;
1078 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1079 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1080 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1081 oldincludedir
=$ac_optarg ;;
1083 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1085 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1086 prefix
=$ac_optarg ;;
1088 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1089 |
--program-pre |
--program-pr |
--program-p)
1090 ac_prev
=program_prefix
;;
1091 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1092 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1093 program_prefix
=$ac_optarg ;;
1095 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1096 |
--program-suf |
--program-su |
--program-s)
1097 ac_prev
=program_suffix
;;
1098 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1099 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1100 program_suffix
=$ac_optarg ;;
1102 -program-transform-name |
--program-transform-name \
1103 |
--program-transform-nam |
--program-transform-na \
1104 |
--program-transform-n |
--program-transform- \
1105 |
--program-transform |
--program-transfor \
1106 |
--program-transfo |
--program-transf \
1107 |
--program-trans |
--program-tran \
1108 |
--progr-tra |
--program-tr |
--program-t)
1109 ac_prev
=program_transform_name
;;
1110 -program-transform-name=* |
--program-transform-name=* \
1111 |
--program-transform-nam=* |
--program-transform-na=* \
1112 |
--program-transform-n=* |
--program-transform-=* \
1113 |
--program-transform=* |
--program-transfor=* \
1114 |
--program-transfo=* |
--program-transf=* \
1115 |
--program-trans=* |
--program-tran=* \
1116 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1117 program_transform_name
=$ac_optarg ;;
1119 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1121 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1122 pdfdir
=$ac_optarg ;;
1124 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1126 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1129 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1130 |
-silent |
--silent |
--silen |
--sile |
--sil)
1133 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1134 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1135 |
--run |
--ru |
--r)
1136 ac_prev
=runstatedir
;;
1137 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1138 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1139 |
--run=* |
--ru=* |
--r=*)
1140 runstatedir
=$ac_optarg ;;
1142 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1144 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1146 sbindir
=$ac_optarg ;;
1148 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1149 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1150 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1152 ac_prev
=sharedstatedir
;;
1153 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1154 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1155 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1157 sharedstatedir
=$ac_optarg ;;
1159 -site |
--site |
--sit)
1161 -site=* |
--site=* |
--sit=*)
1164 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1166 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1167 srcdir
=$ac_optarg ;;
1169 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1170 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1171 ac_prev
=sysconfdir
;;
1172 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1173 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1174 sysconfdir
=$ac_optarg ;;
1176 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1177 ac_prev
=target_alias
;;
1178 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1179 target_alias
=$ac_optarg ;;
1181 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1184 -version |
--version |
--versio |
--versi |
--vers |
-V)
1185 ac_init_version
=: ;;
1188 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1191 as_fn_error $?
"invalid package name: $ac_useropt"
1192 ac_useropt_orig
=$ac_useropt
1193 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1198 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1199 ac_unrecognized_sep
=', ';;
1201 eval with_
$ac_useropt=\
$ac_optarg ;;
1203 -without-* |
--without-*)
1204 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1207 as_fn_error $?
"invalid package name: $ac_useropt"
1208 ac_useropt_orig
=$ac_useropt
1209 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210 case $ac_user_opts in
1214 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1215 ac_unrecognized_sep
=', ';;
1217 eval with_
$ac_useropt=no
;;
1220 # Obsolete; use --with-x.
1223 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1224 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1225 ac_prev
=x_includes
;;
1226 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1227 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1228 x_includes
=$ac_optarg ;;
1230 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1231 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1232 ac_prev
=x_libraries
;;
1233 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1234 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1235 x_libraries
=$ac_optarg ;;
1237 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1238 Try \`$0 --help' for more information"
1242 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1243 # Reject names that are not valid shell variable names.
1244 case $ac_envvar in #(
1245 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1246 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1248 eval $ac_envvar=\
$ac_optarg
1249 export $ac_envvar ;;
1252 # FIXME: should be removed in autoconf 3.0.
1253 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1254 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1255 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1256 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1262 if test -n "$ac_prev"; then
1263 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1264 as_fn_error $?
"missing argument to $ac_option"
1267 if test -n "$ac_unrecognized_opts"; then
1268 case $enable_option_checking in
1270 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275 # Check all directory arguments for consistency.
1276 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1277 datadir sysconfdir sharedstatedir localstatedir includedir \
1278 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1279 libdir localedir mandir runstatedir
1281 eval ac_val
=\$
$ac_var
1282 # Remove trailing slashes.
1285 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1286 eval $ac_var=\
$ac_val;;
1288 # Be sure to have absolute directory names.
1290 [\\/$
]* | ?
:[\\/]* ) continue;;
1291 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1293 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1296 # There might be people who depend on the old broken behavior: `$host'
1297 # used to hold the argument of --host etc.
1298 # FIXME: To remove some day.
1301 target
=$target_alias
1303 # FIXME: To remove some day.
1304 if test "x$host_alias" != x
; then
1305 if test "x$build_alias" = x
; then
1306 cross_compiling
=maybe
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 as_fn_error $?
"working directory cannot be determined"
1322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323 as_fn_error $?
"pwd does not report name of working directory"
1326 # Find the source files, if location was not specified.
1327 if test -z "$srcdir"; then
1328 ac_srcdir_defaulted
=yes
1329 # Try the directory containing this script, then the parent directory.
1330 ac_confdir
=`$as_dirname -- "$as_myself" ||
1331 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332 X"$as_myself" : 'X\(//\)[^/]' \| \
1333 X"$as_myself" : 'X\(//\)$' \| \
1334 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1335 $as_echo X"$as_myself" |
1336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1358 ac_srcdir_defaulted
=no
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1362 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1364 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1368 # When building in place, set srcdir=.
1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
1372 # Remove unnecessary trailing slashes from srcdir.
1373 # Double slashes in file names in object file debugging info
1374 # mess up M-x gdb in Emacs.
1376 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 for ac_var
in $ac_precious_vars; do
1379 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1381 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1386 # Report the --help message.
1388 if test "$ac_init_help" = "long"; then
1389 # Omit some internal or obsolete options to make the list less imposing.
1390 # This message is too long to be a string in the A/UX 3.1 sh.
1392 \`configure' configures spl 0.6.5 to adapt to many kinds of systems.
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE. See below for descriptions of some of the useful variables.
1399 Defaults for the options are specified in brackets.
1402 -h, --help display this help and exit
1403 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking ...' messages
1407 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412 Installation directories:
1413 --prefix=PREFIX install architecture-independent files in PREFIX
1414 [$ac_default_prefix]
1415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1423 For better control, use the options below.
1425 Fine tuning of the installation directories:
1426 --bindir=DIR user executables [EPREFIX/bin]
1427 --sbindir=DIR system admin executables [EPREFIX/sbin]
1428 --libexecdir=DIR program executables [EPREFIX/libexec]
1429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1432 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/spl]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1456 --build=BUILD configure
for building on BUILD
[guessed
]
1457 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1458 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short | recursive
) echo "Configuration of spl 0.6.5:";;
1469 --disable-option-checking ignore unrecognized
--enable/--with options
1470 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1471 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1472 --enable-maintainer-mode
1473 enable make rules and dependencies not useful
(and
1474 sometimes confusing
) to the casual installer
1475 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1476 --disable-silent-rules verbose build output
(undo
: "make V=0")
1477 --enable-dependency-tracking
1478 do not reject slow dependency extractors
1479 --disable-dependency-tracking
1480 speeds up one-time build
1481 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1482 --enable-static[=PKGS
] build static libraries
[default
=yes]
1483 --enable-fast-install[=PKGS
]
1484 optimize
for fast installation
[default
=yes]
1485 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1486 --enable-linux-builtin Configure
for builtin in-tree kernel modules
1488 --enable-debug Enable generic debug support
[default
=no
]
1489 --enable-debug-kmem Enable basic kmem accounting
[default
=no
]
1490 --enable-debug-kmem-tracking
1491 Enable detailed kmem tracking
[default
=no
]
1492 --enable-atomic-spinlocks
1493 Atomic types use spinlocks
[default
=check
]
1496 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1497 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1498 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1500 --with-aix-soname=aix|svr4|both
1501 shared library versioning
(aka
"SONAME") variant to
1502 provide on AIX
, [default
=aix
].
1503 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1504 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1505 compiler
's sysroot if not specified).
1506 --with-spec=SPEC Spec files 'generic|redhat
'
1507 --with-config=CONFIG Config file 'kernel|user|all|srpm
'
1508 --with-linux=PATH Path to kernel source
1509 --with-linux-obj=PATH Path to kernel build objects
1511 Some influential environment variables:
1512 CC C compiler command
1513 CFLAGS C compiler flags
1514 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1515 nonstandard directory <lib dir>
1516 LIBS libraries to pass to the linker, e.g. -l<library>
1517 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1518 you have headers in a nonstandard directory <include dir>
1520 User-defined run-time library search path.
1523 Use these variables to override the choices made by `configure' or to
help
1524 it to
find libraries and programs with nonstandard names
/locations.
1526 Report bugs to the package provider.
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1533 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1540 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1542 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543 # A ".." for each directory in $ac_dir_suffix.
1544 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1547 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1550 ac_abs_top_builddir
=$ac_pwd
1551 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir
=$ac_top_build_prefix
1556 .
) # We are building in place.
1558 ac_top_srcdir
=$ac_top_builddir_sub
1559 ac_abs_top_srcdir
=$ac_pwd ;;
1560 [\\/]* | ?
:[\\/]* ) # Absolute name.
1561 ac_srcdir
=$srcdir$ac_dir_suffix;
1562 ac_top_srcdir
=$srcdir
1563 ac_abs_top_srcdir
=$srcdir ;;
1565 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1569 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1571 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1572 # Check for guested configure.
1573 if test -f "$ac_srcdir/configure.gnu"; then
1575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
1578 $SHELL "$ac_srcdir/configure" --help=recursive
1580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1590 generated by GNU Autoconf
2.69
1592 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1593 This configure
script is free software
; the Free Software Foundation
1594 gives unlimited permission to copy
, distribute and modify it.
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1603 # ac_fn_c_try_compile LINENO
1604 # --------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_compile
()
1608 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1609 rm -f conftest.
$ac_objext
1610 if { { ac_try
="$ac_compile"
1612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.$ac_objext; then :
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1639 } # ac_fn_c_try_compile
1641 # ac_fn_c_try_link LINENO
1642 # -----------------------
1643 # Try to link conftest.$ac_ext, and return whether this succeeded.
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext conftest$ac_exeext
1648 if { { ac_try="$ac_link"
1650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1651 *) ac_try_echo
=$ac_try;;
1653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_link") 2>conftest.err
1657 if test -s conftest.err
; then
1658 grep -v '^ *+' conftest.err
>conftest.er1
1659 cat conftest.er1
>&5
1660 mv -f conftest.er1 conftest.err
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_c_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest
$ac_exeext && {
1667 test "$cross_compiling" = yes ||
1668 test -x conftest
$ac_exeext
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.
$ac_ext >&5
1677 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1678 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1679 # interfere with the next link command; also delete a directory that is
1680 # left behind by Apple's compiler. We do this before executing the actions.
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status
$ac_retval
1685 } # ac_fn_c_try_link
1687 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1688 # -------------------------------------------------------
1689 # Tests whether HEADER exists and can be compiled using the include files in
1690 # INCLUDES, setting the cache variable VAR accordingly.
1691 ac_fn_c_check_header_compile
()
1693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if eval \
${$3+:} false
; then :
1697 $as_echo_n "(cached) " >&6
1699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1704 if ac_fn_c_try_compile
"$LINENO"; then :
1709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 } # ac_fn_c_check_header_compile
1718 # ac_fn_c_try_cpp LINENO
1719 # ----------------------
1720 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1723 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1724 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } > conftest.i && {
1740 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1741 test ! -s conftest.err
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_link"
1764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1765 *) ac_try_echo
=$ac_try;;
1767 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>&5
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1773 { { case "(($ac_try" in
1774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_try") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; }; }; then :
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1789 ac_retval=$ac_status
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1797 # ac_fn_c_check_func LINENO FUNC VAR
1798 # ----------------------------------
1799 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1800 ac_fn_c_check_func ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1810 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1812 #define $2 innocuous_$2
1814 /* System header to define __stub macros and hopefully few prototypes,
1815 which can conflict with char $2 (); below.
1816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1817 <limits.h> exists even on freestanding compilers. */
1820 # include <limits.h>
1822 # include <assert.h>
1827 /* Override any GCC internal prototype to avoid an error.
1828 Use char because int might match the return type of a GCC
1829 builtin and then its argument prototype would still apply. */
1834 /* The GNU C library defines this for functions which it implements
1835 to always fail with ENOSYS. Some functions are actually named
1836 something starting with __ and the normal name is an alias. */
1837 #if defined __stub_$2 || defined __stub___$2
1849 if ac_fn_c_try_link "$LINENO"; then :
1854 rm -f core conftest.err conftest.$ac_objext \
1855 conftest$ac_exeext conftest.$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 } # ac_fn_c_check_func
1863 cat >config.log <<_ACEOF
1864 This file contains any messages produced by compilers while
1865 running configure, to aid debugging if configure makes a mistake.
1867 It was created by spl $as_me 0.6.5, which was
1868 generated by GNU Autoconf 2.69. Invocation command line was
1880 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1881 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1882 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1883 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1884 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1886 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1887 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1889 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1890 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1891 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1892 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1893 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1894 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1895 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 $as_echo "PATH: $as_dir"
1920 # Keep a trace of the command line.
1921 # Strip out --no-create and --no-recursion so they do not pile up.
1922 # Strip out --silent because we don't want to record it for future runs.
1923 # Also quote any args containing shell meta-characters.
1924 # Make two passes to allow for proper duplicate-argument suppression.
1928 ac_must_keep_next=false
1934 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1936 | -silent | --silent | --silen | --sile | --sil)
1939 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1942 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1944 as_fn_append ac_configure_args1 " '$ac_arg'"
1945 if test $ac_must_keep_next = true; then
1946 ac_must_keep_next=false # Got value, back to normal.
1949 *=* | --config-cache | -C | -disable-* | --disable-* \
1950 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1951 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1952 | -with-* | --with-* | -without-* | --without-* | --x)
1953 case "$ac_configure_args0 " in
1954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1957 -* ) ac_must_keep_next=true ;;
1960 as_fn_append ac_configure_args " '$ac_arg'"
1965 { ac_configure_args0=; unset ac_configure_args0;}
1966 { ac_configure_args1=; unset ac_configure_args1;}
1968 # When interrupted or exit'd, cleanup temporary files, and complete
1969 # config.log. We remove comments because anyway the quotes in there
1970 # would cause problems or look ugly.
1971 # WARNING: Use '\'' to represent an apostrophe within the trap.
1972 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1973 trap 'exit_status=$?
1974 # Save into config.log some information that might help in debugging.
1978 $as_echo "## ---------------- ##
1979 ## Cache variables. ##
1980 ## ---------------- ##"
1982 # The following way of writing the cache mishandles newlines in values,
1984 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1985 eval ac_val=\$$ac_var
1989 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1993 _ | IFS | as_nl) ;; #(
1994 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1995 *) { eval $ac_var=; unset $ac_var;} ;;
2000 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2001 *${as_nl}ac_space=\ *)
2003 "s/'\''/'\''\\\\'\'''\''/g;
2004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2014 $as_echo "## ----------------- ##
2015 ## Output variables. ##
2016 ## ----------------- ##"
2018 for ac_var in $ac_subst_vars
2020 eval ac_val=\$$ac_var
2022 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2024 $as_echo "$ac_var='\''$ac_val'\''"
2028 if test -n "$ac_subst_files"; then
2029 $as_echo "## ------------------- ##
2030 ## File substitutions. ##
2031 ## ------------------- ##"
2033 for ac_var in $ac_subst_files
2035 eval ac_val=\$$ac_var
2037 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2039 $as_echo "$ac_var='\''$ac_val'\''"
2044 if test -s confdefs.h; then
2045 $as_echo "## ----------- ##
2052 test "$ac_signal" != 0 &&
2053 $as_echo "$as_me: caught signal $ac_signal"
2054 $as_echo "$as_me: exit $exit_status"
2056 rm -f core *.core core.conftest.* &&
2057 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2060 for ac_signal in 1 2 13 15; do
2061 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2066 rm -f -r conftest* confdefs.h
2068 $as_echo "/* confdefs.h */" > confdefs.h
2070 # Predefined preprocessor variables.
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_NAME "$PACKAGE_NAME"
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_STRING "$PACKAGE_STRING"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_URL "$PACKAGE_URL"
2097 # Let the site file select an alternate cache file if it wants to.
2098 # Prefer an explicitly selected file to automatically selected ones.
2101 if test -n "$CONFIG_SITE"; then
2102 # We do not want a PATH search for config.site.
2103 case $CONFIG_SITE in #((
2104 -*) ac_site_file1=./$CONFIG_SITE;;
2105 */*) ac_site_file1=$CONFIG_SITE;;
2106 *) ac_site_file1=./$CONFIG_SITE;;
2108 elif test "x$prefix" != xNONE; then
2109 ac_site_file1=$prefix/share/config.site
2110 ac_site_file2=$prefix/etc/config.site
2112 ac_site_file1=$ac_default_prefix/share/config.site
2113 ac_site_file2=$ac_default_prefix/etc/config.site
2115 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2117 test "x$ac_site_file" = xNONE && continue
2118 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2120 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2121 sed 's/^/| /' "$ac_site_file" >&5
2123 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2125 as_fn_error $? "failed to load site
script $ac_site_file
2126 See \
`config.log' for more details" "$LINENO" 5; }
2130 if test -r "$cache_file"; then
2131 # Some versions of bash will fail to source /dev/null (special files
2132 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2133 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2135 $as_echo "$as_me: loading cache $cache_file" >&6;}
2137 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2138 *) . "./$cache_file";;
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2143 $as_echo "$as_me: creating cache $cache_file" >&6;}
2147 # Check that the precious variables saved in the cache have kept the same
2149 ac_cache_corrupted=false
2150 for ac_var in $ac_precious_vars; do
2151 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2152 eval ac_new_set=\$ac_env_${ac_var}_set
2153 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2154 eval ac_new_val=\$ac_env_${ac_var}_value
2155 case $ac_old_set,$ac_new_set in
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2158 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2159 ac_cache_corrupted=: ;;
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2162 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2163 ac_cache_corrupted=: ;;
2166 if test "x$ac_old_val" != "x$ac_new_val"; then
2167 # differences in whitespace do not lead to failure.
2168 ac_old_val_w=`echo x
$ac_old_val`
2169 ac_new_val_w=`echo x
$ac_new_val`
2170 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2172 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2173 ac_cache_corrupted=:
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2176 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2177 eval $ac_var=\$ac_old_val
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2180 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2182 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2185 # Pass precious variables to config.status.
2186 if test "$ac_new_set" = set; then
2188 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2189 *) ac_arg=$ac_var=$ac_new_val ;;
2191 case " $ac_configure_args " in
2192 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2193 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2197 if $ac_cache_corrupted; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2201 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2202 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2204 ## -------------------- ##
2205 ## Main body of script. ##
2206 ## -------------------- ##
2209 ac_cpp='$CPP $CPPFLAGS'
2210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2216 ac_cpp='$CPP $CPPFLAGS'
2217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2222 for ac_prog in gawk mawk nawk awk
2224 # Extract the first word of "$ac_prog", so it can be a program name with args.
2225 set dummy $ac_prog; ac_word=$2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if ${ac_cv_prog_AWK+:} false; then :
2229 $as_echo_n "(cached) " >&6
2231 if test -n "$AWK"; then
2232 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_AWK="$ac_prog"
2242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$AWK"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2254 $as_echo "$AWK" >&6; }
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257 $as_echo "no" >&6; }
2261 test -n "$AWK" && break
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking metadata" >&5
2265 $as_echo_n "checking metadata... " >&6; }
2268 _spl_ac_meta_type="none"
2269 if test -f "$META"; then
2270 _spl_ac_meta_type="META file"
2272 SPL_META_NAME=`$AWK -F ':[ \t]+' '$1 ~ /^ *(Name|Project|Package)$/ { print $2; exit }' $META`;
2273 if test -n "$SPL_META_NAME"; then
2275 cat >>confdefs.h <<_ACEOF
2276 #define SPL_META_NAME "$SPL_META_NAME"
2282 SPL_META_VERSION=`$AWK -F ':[ \t]+' '$1 ~ /^ *Version$/ { print $2; exit }' $META`;
2283 if test -n "$SPL_META_VERSION"; then
2285 cat >>confdefs.h <<_ACEOF
2286 #define SPL_META_VERSION "$SPL_META_VERSION"
2292 SPL_META_RELEASE=`$AWK -F ':[ \t]+' '$1 ~ /^ *Release$/ { print $2; exit }' $META`;
2293 if test ! -f ".nogitrelease" && git rev-parse --git-dir > /dev/null 2>&1; then
2294 _match="${SPL_META_NAME}-${SPL_META_VERSION}"
2295 _alias=$(git describe --match=${_match} 2>/dev/null)
2296 _release=$(echo ${_alias}|cut -f3- -d'-'|sed 's/-/_/g')
2297 if test -n "${_release}"; then
2298 SPL_META_RELEASE=${_release}
2299 _spl_ac_meta_type="git describe"
2303 if test -n "$SPL_META_RELEASE"; then
2305 cat >>confdefs.h <<_ACEOF
2306 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2311 RELEASE="$SPL_META_RELEASE"
2315 SPL_META_LICENSE=`$AWK -F ':[ \t]+' '$1 ~ /^ *License$/ { print $2; exit }' $META`;
2316 if test -n "$SPL_META_LICENSE"; then
2318 cat >>confdefs.h <<_ACEOF
2319 #define SPL_META_LICENSE "$SPL_META_LICENSE"
2325 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2326 SPL_META_ALIAS="$SPL_META_NAME-$SPL_META_VERSION"
2327 test -n "$SPL_META_RELEASE" &&
2328 SPL_META_ALIAS="$SPL_META_ALIAS-$SPL_META_RELEASE"
2330 cat >>confdefs.h <<_ACEOF
2331 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2337 SPL_META_DATA=`$AWK -F ':[ \t]+' '$1 ~ /^ *Date$/ { print $2; exit }' $META`;
2338 if test -n "$SPL_META_DATA"; then
2340 cat >>confdefs.h <<_ACEOF
2341 #define SPL_META_DATA "$SPL_META_DATA"
2347 SPL_META_AUTHOR=`$AWK -F ':[ \t]+' '$1 ~ /^ *Author$/ { print $2; exit }' $META`;
2348 if test -n "$SPL_META_AUTHOR"; then
2350 cat >>confdefs.h <<_ACEOF
2351 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2358 SPL_META_LT_CURRENT=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Current$/ { print $2; exit }' $META`;
2359 SPL_META_LT_REVISION=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Revision$/ { print $2; exit }' $META`;
2360 SPL_META_LT_AGE=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Age$/ { print $2; exit }' $META`;
2361 if test -n "$SPL_META_LT_CURRENT" \
2362 -o -n "$SPL_META_LT_REVISION" \
2363 -o -n "$SPL_META_LT_AGE"; then
2364 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT="0"
2365 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION="0"
2366 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE="0"
2368 cat >>confdefs.h <<_ACEOF
2369 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2373 cat >>confdefs.h <<_ACEOF
2374 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2378 cat >>confdefs.h <<_ACEOF
2379 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_spl_ac_meta_type" >&5
2389 $as_echo "$_spl_ac_meta_type" >&6; }
2393 for ac_dir in config "$srcdir"/config; do
2394 if test -f "$ac_dir/install-sh"; then
2396 ac_install_sh="$ac_aux_dir/install-sh -c"
2398 elif test -f "$ac_dir/install.sh"; then
2400 ac_install_sh="$ac_aux_dir/install.sh -c"
2402 elif test -f "$ac_dir/shtool"; then
2404 ac_install_sh="$ac_aux_dir/shtool install -c"
2408 if test -z "$ac_aux_dir"; then
2409 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2412 # These three variables are undocumented and unsupported,
2413 # and are intended to be withdrawn in a future Autoconf release.
2414 # They can cause serious problems if a builder's source tree is in a directory
2415 # whose full name contains unusual characters.
2416 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2417 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2418 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2422 # Make sure we can run config.sub.
2423 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2424 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2427 $as_echo_n "checking build system type... " >&6; }
2428 if ${ac_cv_build+:} false; then :
2429 $as_echo_n "(cached) " >&6
2431 ac_build_alias=$build_alias
2432 test "x$ac_build_alias" = x &&
2433 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x &&
2435 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2436 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2437 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2441 $as_echo "$ac_cv_build" >&6; }
2442 case $ac_cv_build in
2444 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2447 ac_save_IFS=$IFS; IFS='-'
2453 # Remember, the first character of IFS is used to create $*,
2454 # except with old shells:
2457 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2461 $as_echo_n "checking host system type... " >&6; }
2462 if ${ac_cv_host+:} false; then :
2463 $as_echo_n "(cached) " >&6
2465 if test "x$host_alias" = x; then
2466 ac_cv_host=$ac_cv_build
2468 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2469 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2474 $as_echo "$ac_cv_host" >&6; }
2477 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2480 ac_save_IFS=$IFS; IFS='-'
2486 # Remember, the first character of IFS is used to create $*,
2487 # except with old shells:
2490 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2494 $as_echo_n "checking target system type... " >&6; }
2495 if ${ac_cv_target+:} false; then :
2496 $as_echo_n "(cached) " >&6
2498 if test "x$target_alias" = x; then
2499 ac_cv_target=$ac_cv_host
2501 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2502 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2507 $as_echo "$ac_cv_target" >&6; }
2508 case $ac_cv_target in
2510 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2512 target=$ac_cv_target
2513 ac_save_IFS=$IFS; IFS='-'
2519 # Remember, the first character of IFS is used to create $*,
2520 # except with old shells:
2523 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2526 # The aliases save the names the user supplied, while $host etc.
2527 # will get canonicalized.
2528 test -n "$target_alias" &&
2529 test "$program_prefix$program_suffix$program_transform_name" = \
2531 program_prefix=${target_alias}-
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2535 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2536 # Check whether --enable-maintainer-mode was given.
2537 if test "${enable_maintainer_mode+set}" = set; then :
2538 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2540 USE_MAINTAINER_MODE=no
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2544 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2545 if test $USE_MAINTAINER_MODE = yes; then
2546 MAINTAINER_MODE_TRUE=
2547 MAINTAINER_MODE_FALSE='#'
2549 MAINTAINER_MODE_TRUE='#'
2550 MAINTAINER_MODE_FALSE=
2553 MAINT=$MAINTAINER_MODE_TRUE
2556 # Check whether --enable-silent-rules was given.
2557 if test "${enable_silent_rules+set}" = set; then :
2558 enableval=$enable_silent_rules;
2561 case $enable_silent_rules in # (((
2562 yes) AM_DEFAULT_VERBOSITY=0;;
2563 no) AM_DEFAULT_VERBOSITY=1;;
2564 *) AM_DEFAULT_VERBOSITY=0;;
2566 am_make=${MAKE-make}
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2568 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2569 if ${am_cv_make_support_nested_variables+:} false; then :
2570 $as_echo_n "(cached) " >&6
2572 if $as_echo 'TRUE=$(BAR$(V))
2578 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2579 am_cv_make_support_nested_variables=yes
2581 am_cv_make_support_nested_variables=no
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2585 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2586 if test $am_cv_make_support_nested_variables = yes; then
2588 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2590 AM_V=$AM_DEFAULT_VERBOSITY
2591 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2595 am__api_version='1.15'
2597 # Find a good install program. We prefer a C program (faster),
2598 # so one script is as good as another. But avoid the broken or
2599 # incompatible versions:
2600 # SysV /etc/install, /usr/sbin/install
2601 # SunOS /usr/etc/install
2602 # IRIX /sbin/install
2604 # AmigaOS /C/install, which installs bootblocks on floppy discs
2605 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2606 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2607 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2608 # OS/2's system install, which has a completely different semantic
2609 # ./install, which can be erroneously created by make from ./install.sh.
2610 # Reject install programs that cannot install multiple files.
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2612 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2613 if test -z "$INSTALL"; then
2614 if ${ac_cv_path_install+:} false; then :
2615 $as_echo_n "(cached) " >&6
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir=.
2622 # Account for people who put trailing slashes in PATH elements.
2623 case $as_dir/ in #((
2624 ./ | .// | /[cC]/* | \
2625 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2626 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2629 # OSF1 and SCO ODT 3.0 have their own names for install.
2630 # Don't use installbsd from OSF since it installs stuff as root
2632 for ac_prog in ginstall scoinst install; do
2633 for ac_exec_ext in '' $ac_executable_extensions; do
2634 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2635 if test $ac_prog = install &&
2636 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2637 # AIX install. It has an incompatible calling convention.
2639 elif test $ac_prog = install &&
2640 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2641 # program-specific install script used by HP pwplus--don't use.
2644 rm -rf conftest.one conftest.two conftest.dir
2645 echo one > conftest.one
2646 echo two > conftest.two
2648 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2649 test -s conftest.one && test -s conftest.two &&
2650 test -s conftest.dir/conftest.one &&
2651 test -s conftest.dir/conftest.two
2653 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2666 rm -rf conftest.one conftest.two conftest.dir
2669 if test "${ac_cv_path_install+set}" = set; then
2670 INSTALL=$ac_cv_path_install
2672 # As a last resort, use the slow shell script. Don't cache a
2673 # value for INSTALL within a source directory, because that will
2674 # break other packages using the cache if that directory is
2675 # removed, or if the value is a relative name.
2676 INSTALL=$ac_install_sh
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2680 $as_echo "$INSTALL" >&6; }
2682 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2683 # It thinks the first close brace ends the variable substitution.
2684 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2686 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2688 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2691 $as_echo_n "checking whether build environment is sane... " >&6; }
2692 # Reject unsafe characters in $srcdir or the absolute working directory
2693 # name. Accept space and tab only in the latter.
2697 *[\\\"\#\$\&\'\`$am_lf]*)
2698 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2701 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2702 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2705 # Do 'set' in a subshell so we don't clobber the current shell's
2706 # arguments. Must try -L first in case configure is actually a
2707 # symlink; some systems play weird games with the mod time of symlinks
2708 # (eg FreeBSD returns the mod time of the symlink's containing
2712 for am_try
in 1 2; do
2713 echo "timestamp, slept: $am_has_slept" > conftest.
file
2714 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2715 if test "$*" = "X"; then
2717 set X
`ls -t "$srcdir/configure" conftest.file`
2719 if test "$*" != "X $srcdir/configure conftest.file" \
2720 && test "$*" != "X conftest.file $srcdir/configure"; then
2722 # If neither matched, then we have a broken ls. This can happen
2723 # if, for instance, CONFIG_SHELL is bash and it inherits a
2724 # broken ls alias from the environment. This has actually
2725 # happened. Such a system could not be considered "sane".
2726 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2727 alias in your environment" "$LINENO" 5
2729 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2736 test "$2" = conftest.
file
2742 as_fn_error $?
"newly created file is older than distributed files!
2743 Check your system clock" "$LINENO" 5
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2746 $as_echo "yes" >&6; }
2747 # If we didn't sleep, we still need to ensure time stamps of config.status and
2748 # generated files are strictly newer.
2750 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2757 test "$program_prefix" != NONE
&&
2758 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2759 # Use a double $ so make ignores it.
2760 test "$program_suffix" != NONE
&&
2761 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2762 # Double any \ or $.
2763 # By default was `s,x,x', remove it if useless.
2764 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2765 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2767 # Expand $ac_aux_dir to an absolute path.
2768 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2770 if test x
"${MISSING+set}" != xset
; then
2773 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2775 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2778 # Use eval to expand $SHELL
2779 if eval "$MISSING --is-lightweight"; then
2780 am_missing_run
="$MISSING "
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2784 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2787 if test x
"${install_sh+set}" != xset
; then
2790 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2792 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2796 # Installed binaries are usually stripped using 'strip' when the user
2797 # run "make install-strip". However 'strip' might not be the right
2798 # tool to use in cross-compilation environments, therefore Automake
2799 # will honor the 'STRIP' environment variable to overrule this program.
2800 if test "$cross_compiling" != no
; then
2801 if test -n "$ac_tool_prefix"; then
2802 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2803 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if ${ac_cv_prog_STRIP+:} false
; then :
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$STRIP"; then
2810 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir
=.
2817 for ac_exec_ext
in '' $ac_executable_extensions; do
2818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2819 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 STRIP
=$ac_cv_prog_STRIP
2830 if test -n "$STRIP"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2832 $as_echo "$STRIP" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2840 if test -z "$ac_cv_prog_STRIP"; then
2842 # Extract the first word of "strip", so it can be a program name with args.
2843 set dummy strip
; ac_word
=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2847 $as_echo_n "(cached) " >&6
2849 if test -n "$ac_ct_STRIP"; then
2850 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir
=.
2857 for ac_exec_ext
in '' $ac_executable_extensions; do
2858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_ac_ct_STRIP
="strip"
2860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2870 if test -n "$ac_ct_STRIP"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2872 $as_echo "$ac_ct_STRIP" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2878 if test "x$ac_ct_STRIP" = x
; then
2881 case $cross_compiling:$ac_tool_warned in
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2885 ac_tool_warned
=yes ;;
2890 STRIP
="$ac_cv_prog_STRIP"
2894 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2897 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2898 if test -z "$MKDIR_P"; then
2899 if ${ac_cv_path_mkdir+:} false
; then :
2900 $as_echo_n "(cached) " >&6
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2906 test -z "$as_dir" && as_dir
=.
2907 for ac_prog
in mkdir gmkdir
; do
2908 for ac_exec_ext
in '' $ac_executable_extensions; do
2909 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2910 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2911 'mkdir (GNU coreutils) '* | \
2912 'mkdir (coreutils) '* | \
2913 'mkdir (fileutils) '4.1*)
2914 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2924 test -d .
/--version && rmdir .
/--version
2925 if test "${ac_cv_path_mkdir+set}" = set; then
2926 MKDIR_P
="$ac_cv_path_mkdir -p"
2928 # As a last resort, use the slow shell script. Don't cache a
2929 # value for MKDIR_P within a source directory, because that will
2930 # break other packages using the cache if that directory is
2931 # removed, or if the value is a relative name.
2932 MKDIR_P
="$ac_install_sh -d"
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2936 $as_echo "$MKDIR_P" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2939 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2941 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2942 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2943 $as_echo_n "(cached) " >&6
2945 cat >conftest.
make <<\_ACEOF
2948 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2950 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2951 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2953 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2955 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2959 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2961 $as_echo "yes" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2966 SET_MAKE
="MAKE=${MAKE-make}"
2969 rm -rf .tst
2>/dev
/null
2970 mkdir .tst
2>/dev
/null
2971 if test -d .tst
; then
2976 rmdir .tst
2>/dev
/null
2978 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2979 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2980 # is not polluted with repeated "-I."
2981 am__isrc
=' -I$(srcdir)'
2982 # test to see if srcdir already configured
2983 if test -f $srcdir/config.status
; then
2984 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2988 # test whether we have cygpath
2989 if test -z "$CYGPATH_W"; then
2990 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2991 CYGPATH_W
='cygpath -w'
2998 # Define the identity of the package.
3003 cat >>confdefs.h
<<_ACEOF
3004 #define PACKAGE "$PACKAGE"
3008 cat >>confdefs.h
<<_ACEOF
3009 #define VERSION "$VERSION"
3012 # Some tools Automake needs.
3014 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3017 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3020 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3023 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3026 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3028 # For better backward compatibility. To be removed once Automake 1.9.x
3029 # dies out for good. For more background, see:
3030 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3031 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3032 mkdir_p
='$(MKDIR_P)'
3034 # We need awk for the "check" target (and possibly the TAP driver). The
3035 # system "awk" is bad on some platforms.
3036 # Always define AMTAR for backward compatibility. Yes, it's still used
3037 # in the wild :-( We should find a proper way to deprecate it ...
3041 # We'll loop over all known methods to create a tar archive until one works.
3042 _am_tools
='gnutar pax cpio none'
3044 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3051 # POSIX will say in a future version that running "rm -f" with no argument
3052 # is OK; and we want to be able to make that assumption in our Makefile
3053 # recipes. So use an aggressive probe to check that the usage we want is
3054 # actually supported "in the wild" to an acceptable degree.
3055 # See automake bug#10828.
3056 # To make any issue more visible, cause the running configure to be aborted
3057 # by default if the 'rm' program in use doesn't match our expectations; the
3058 # user can still override this though.
3059 if rm -f && rm -fr && rm -rf; then : OK
; else
3063 Your 'rm' program seems unable to run without file operands specified
3064 on the command line, even when the '-f' option is present. This is contrary
3065 to the behaviour of most rm programs out there, and not conforming with
3066 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3068 Please tell bug-automake@gnu.org about your system, including the value
3069 of your $PATH and any error possibly output before this message. This
3070 can help us improve future automake versions.
3073 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3074 echo 'Configuration will proceed anyway, since you have set the' >&2
3075 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3079 Aborting the configuration process, to ensure you take notice of the issue.
3081 You can download and install GNU coreutils to get an 'rm' implementation
3082 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3084 If you want to complete the configuration process using your problematic
3085 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3086 to "yes", and re-run configure.
3089 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3093 ac_config_headers
="$ac_config_headers spl_config.h"
3098 ac_cpp
='$CPP $CPPFLAGS'
3099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3102 if test -n "$ac_tool_prefix"; then
3103 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3104 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if ${ac_cv_prog_CC+:} false
; then :
3108 $as_echo_n "(cached) " >&6
3110 if test -n "$CC"; then
3111 ac_cv_prog_CC
="$CC" # Let the user override the test.
3113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir
=.
3118 for ac_exec_ext
in '' $ac_executable_extensions; do
3119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3120 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 if test -n "$CC"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3133 $as_echo "$CC" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3141 if test -z "$ac_cv_prog_CC"; then
3143 # Extract the first word of "gcc", so it can be a program name with args.
3144 set dummy gcc
; ac_word
=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3148 $as_echo_n "(cached) " >&6
3150 if test -n "$ac_ct_CC"; then
3151 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir
=.
3158 for ac_exec_ext
in '' $ac_executable_extensions; do
3159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_ac_ct_CC
="gcc"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3171 if test -n "$ac_ct_CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3173 $as_echo "$ac_ct_CC" >&6; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3179 if test "x$ac_ct_CC" = x
; then
3182 case $cross_compiling:$ac_tool_warned in
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3186 ac_tool_warned
=yes ;;
3194 if test -z "$CC"; then
3195 if test -n "$ac_tool_prefix"; then
3196 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3197 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if ${ac_cv_prog_CC+:} false
; then :
3201 $as_echo_n "(cached) " >&6
3203 if test -n "$CC"; then
3204 ac_cv_prog_CC
="$CC" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3213 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 if test -n "$CC"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3226 $as_echo "$CC" >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3235 if test -z "$CC"; then
3236 # Extract the first word of "cc", so it can be a program name with args.
3237 set dummy cc
; ac_word
=$2
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239 $as_echo_n "checking for $ac_word... " >&6; }
3240 if ${ac_cv_prog_CC+:} false
; then :
3241 $as_echo_n "(cached) " >&6
3243 if test -n "$CC"; then
3244 ac_cv_prog_CC
="$CC" # Let the user override the test.
3247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir
=.
3252 for ac_exec_ext
in '' $ac_executable_extensions; do
3253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3254 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3255 ac_prog_rejected
=yes
3259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 if test $ac_prog_rejected = yes; then
3267 # We found a bogon in the path, so make sure we never use it.
3268 set dummy
$ac_cv_prog_CC
3270 if test $# != 0; then
3271 # We chose a different compiler from the bogus one.
3272 # However, it has the same basename, so the bogon will be chosen
3273 # first if we set CC to just the basename; use the full file name.
3275 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3281 if test -n "$CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3283 $as_echo "$CC" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3291 if test -z "$CC"; then
3292 if test -n "$ac_tool_prefix"; then
3293 for ac_prog
in cl.exe
3295 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3296 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298 $as_echo_n "checking for $ac_word... " >&6; }
3299 if ${ac_cv_prog_CC+:} false
; then :
3300 $as_echo_n "(cached) " >&6
3302 if test -n "$CC"; then
3303 ac_cv_prog_CC
="$CC" # Let the user override the test.
3305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir
=.
3310 for ac_exec_ext
in '' $ac_executable_extensions; do
3311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3312 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323 if test -n "$CC"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3325 $as_echo "$CC" >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328 $as_echo "no" >&6; }
3332 test -n "$CC" && break
3335 if test -z "$CC"; then
3337 for ac_prog
in cl.exe
3339 # Extract the first word of "$ac_prog", so it can be a program name with args.
3340 set dummy
$ac_prog; ac_word
=$2
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3342 $as_echo_n "checking for $ac_word... " >&6; }
3343 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3344 $as_echo_n "(cached) " >&6
3346 if test -n "$ac_ct_CC"; then
3347 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3353 test -z "$as_dir" && as_dir
=.
3354 for ac_exec_ext
in '' $ac_executable_extensions; do
3355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3356 ac_cv_prog_ac_ct_CC
="$ac_prog"
3357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3366 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3367 if test -n "$ac_ct_CC"; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3369 $as_echo "$ac_ct_CC" >&6; }
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372 $as_echo "no" >&6; }
3376 test -n "$ac_ct_CC" && break
3379 if test "x$ac_ct_CC" = x
; then
3382 case $cross_compiling:$ac_tool_warned in
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3386 ac_tool_warned
=yes ;;
3395 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397 as_fn_error $?
"no acceptable C compiler found in \$PATH
3398 See \`config.log' for more details" "$LINENO" 5; }
3400 # Provide some information about the compiler.
3401 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3404 for ac_option
in --version -v -V -qversion; do
3405 { { ac_try
="$ac_compiler $ac_option >&5"
3407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3414 if test -s conftest.err; then
3416 ... rest of stderr output deleted ...
3417 10q' conftest.err >conftest.er1
3418 cat conftest.er1 >&5
3420 rm -f conftest.er1 conftest.err
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3436 ac_clean_files_save=$ac_clean_files
3437 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3438 # Try to create an executable without -o first, disregard a.out.
3439 # It will help us diagnose broken compilers, and finding out an intuition
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3442 $as_echo_n "checking whether the C compiler works... " >&6; }
3443 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3445 # The possible output files:
3446 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3449 for ac_file in $ac_files
3452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3453 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3458 if { { ac_try="$ac_link_default"
3460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3461 *) ac_try_echo
=$ac_try;;
3463 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464 $as_echo "$ac_try_echo"; } >&5
3465 (eval "$ac_link_default") 2>&5
3467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468 test $ac_status = 0; }; then :
3469 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3470 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3471 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3472 # so that the user can short-circuit this test for compilers unknown to
3474 for ac_file
in $ac_files ''
3476 test -f "$ac_file" ||
continue
3478 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3481 # We found the default executable, but exeext='' is most
3485 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3487 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3489 # We set ac_cv_exeext here because the later test for it is not
3490 # safe: cross compilers may not add the suffix if given an `-o'
3491 # argument, so we may need to know it at that point already.
3492 # Even if this section looks crufty: it has the advantage of
3499 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3504 if test -z "$ac_file"; then :
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3506 $as_echo "no" >&6; }
3507 $as_echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.
$ac_ext >&5
3510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3512 as_fn_error
77 "C compiler cannot create executables
3513 See \`config.log' for more details" "$LINENO" 5; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3516 $as_echo "yes" >&6; }
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3519 $as_echo_n "checking for C compiler default output file name... " >&6; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3521 $as_echo "$ac_file" >&6; }
3522 ac_exeext
=$ac_cv_exeext
3524 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3525 ac_clean_files
=$ac_clean_files_save
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3527 $as_echo_n "checking for suffix of executables... " >&6; }
3528 if { { ac_try
="$ac_link"
3530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534 $as_echo "$ac_try_echo"; } >&5
3535 (eval "$ac_link") 2>&5
3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538 test $ac_status = 0; }; then :
3539 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3540 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3541 # work properly (i.e., refer to `conftest.exe'), while it won't with
3543 for ac_file
in conftest.exe conftest conftest.
*; do
3544 test -f "$ac_file" ||
continue
3546 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3547 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3556 See \`config.log' for more details" "$LINENO" 5; }
3558 rm -f conftest conftest
$ac_cv_exeext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3560 $as_echo "$ac_cv_exeext" >&6; }
3562 rm -f conftest.
$ac_ext
3563 EXEEXT
=$ac_cv_exeext
3565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3571 FILE *f = fopen ("conftest.out", "w");
3572 return ferror (f) || fclose (f) != 0;
3578 ac_clean_files
="$ac_clean_files conftest.out"
3579 # Check that the compiler produces executables we can run. If not, either
3580 # the compiler is broken, or we cross compile.
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3582 $as_echo_n "checking whether we are cross compiling... " >&6; }
3583 if test "$cross_compiling" != yes; then
3584 { { ac_try
="$ac_link"
3586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3590 $as_echo "$ac_try_echo"; } >&5
3591 (eval "$ac_link") 2>&5
3593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3594 test $ac_status = 0; }
3595 if { ac_try='./conftest$ac_cv_exeext'
3596 { { case "(($ac_try" in
3597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3598 *) ac_try_echo
=$ac_try;;
3600 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602 (eval "$ac_try") 2>&5
3604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605 test $ac_status = 0; }; }; then
3608 if test "$cross_compiling" = maybe
; then
3611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 as_fn_error $?
"cannot run C compiled programs.
3614 If you meant to cross compile, use \`--host'.
3615 See \`config.log' for more details" "$LINENO" 5; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3620 $as_echo "$cross_compiling" >&6; }
3622 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3623 ac_clean_files
=$ac_clean_files_save
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3625 $as_echo_n "checking for suffix of object files... " >&6; }
3626 if ${ac_cv_objext+:} false
; then :
3627 $as_echo_n "(cached) " >&6
3629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3640 rm -f conftest.o conftest.obj
3641 if { { ac_try
="$ac_compile"
3643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3644 *) ac_try_echo=$ac_try;;
3646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3647 $as_echo "$ac_try_echo"; } >&5
3648 (eval "$ac_compile") 2>&5
3650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3651 test $ac_status = 0; }; then :
3652 for ac_file in conftest.o conftest.obj conftest.*; do
3653 test -f "$ac_file" || continue;
3655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3656 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3661 $as_echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.$ac_ext >&5
3664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3667 See \
`config.log' for more details" "$LINENO" 5; }
3669 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3672 $as_echo "$ac_cv_objext" >&6; }
3673 OBJEXT=$ac_cv_objext
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3676 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3677 if ${ac_cv_c_compiler_gnu+:} false; then :
3678 $as_echo_n "(cached) " >&6
3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h. */
3694 if ac_fn_c_try_compile "$LINENO"; then :
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3704 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3705 if test $ac_compiler_gnu = yes; then
3710 ac_test_CFLAGS=${CFLAGS+set}
3711 ac_save_CFLAGS=$CFLAGS
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3713 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3714 if ${ac_cv_prog_cc_g+:} false; then :
3715 $as_echo_n "(cached) " >&6
3717 ac_save_c_werror_flag=$ac_c_werror_flag
3718 ac_c_werror_flag=yes
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3732 if ac_fn_c_try_compile "$LINENO"; then :
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3747 if ac_fn_c_try_compile "$LINENO"; then :
3750 ac_c_werror_flag=$ac_save_c_werror_flag
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3763 if ac_fn_c_try_compile "$LINENO"; then :
3766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3771 ac_c_werror_flag=$ac_save_c_werror_flag
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3774 $as_echo "$ac_cv_prog_cc_g" >&6; }
3775 if test "$ac_test_CFLAGS" = set; then
3776 CFLAGS=$ac_save_CFLAGS
3777 elif test $ac_cv_prog_cc_g = yes; then
3778 if test "$GCC" = yes; then
3784 if test "$GCC" = yes; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3791 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3792 if ${ac_cv_prog_cc_c89+:} false; then :
3793 $as_echo_n "(cached) " >&6
3795 ac_cv_prog_cc_c89=no
3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3802 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3803 struct buf { int x; };
3804 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3805 static char *e (p, i)
3811 static char *f (char * (*g) (char **, int), char **p, ...)
3816 s = g (p, va_arg (v,int));
3821 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3822 function prototypes and stuff, but not '\xHH' hex character constants.
3823 These don't provoke an error unfortunately, instead are silently treated
3824 as 'x'. The following induces an error, until -std is added to get
3825 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3826 array size at least. It's necessary to write '\x00'==0 to get something
3827 that's true only with -std. */
3828 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3830 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3831 inside strings and character constants. */
3833 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3835 int test (int i, double x);
3836 struct s1 {int (*f) (int a);};
3837 struct s2 {int (*f) (double a);};
3838 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3844 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3849 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3850 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3852 CC="$ac_save_CC $ac_arg"
3853 if ac_fn_c_try_compile "$LINENO"; then :
3854 ac_cv_prog_cc_c89=$ac_arg
3856 rm -f core conftest.err conftest.$ac_objext
3857 test "x$ac_cv_prog_cc_c89" != "xno" && break
3859 rm -f conftest.$ac_ext
3864 case "x$ac_cv_prog_cc_c89" in
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3867 $as_echo "none needed" >&6; } ;;
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3870 $as_echo "unsupported" >&6; } ;;
3872 CC="$CC $ac_cv_prog_cc_c89"
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3874 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3876 if test "x$ac_cv_prog_cc_c89" != xno; then :
3881 ac_cpp='$CPP $CPPFLAGS'
3882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3887 ac_cpp='$CPP $CPPFLAGS'
3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3892 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3893 if ${am_cv_prog_cc_c_o+:} false; then :
3894 $as_echo_n "(cached) " >&6
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3907 # Make sure it works both with $CC and with simple cc.
3908 # Following AC_PROG_CC_C_O, we do the test twice because some
3909 # compilers refuse to overwrite an existing .o file with -o,
3910 # though they will create one.
3911 am_cv_prog_cc_c_o=yes
3913 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3914 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); } \
3918 && test -f conftest2.$ac_objext; then
3921 am_cv_prog_cc_c_o=no
3925 rm -f core conftest*
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3929 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3930 if test "$am_cv_prog_cc_c_o" != yes; then
3931 # Losing compiler, so override with the script.
3932 # FIXME: It is wrong to rewrite CC.
3933 # But if we don't then we get into trouble of one sort or another.
3934 # A longer-term fix would be to have automake use am__CC in this case,
3935 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3936 CC="$am_aux_dir/compile $CC"
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 DEPDIR="${am__leading_dot}deps"
3946 ac_config_commands="$ac_config_commands depfiles"
3949 am_make=${MAKE-make}
3950 cat > confinc << 'END'
3952 @echo this is the am__doit target
3955 # If we don't find an include directive, just comment out the code.
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3957 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3961 # First try GNU make style include.
3962 echo "include confinc" > confmf
3963 # Ignore all kinds of additional output from 'make'.
3964 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3965 *the\ am__doit\ target*)
3971 # Now try BSD make style include.
3972 if test "$am__include" = "#"; then
3973 echo '.include "confinc"' > confmf
3974 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3975 *the\ am__doit\ target*)
3976 am__include=.include
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3985 $as_echo "$_am_result" >&6; }
3986 rm -f confinc confmf
3988 # Check whether --enable-dependency-tracking was given.
3989 if test "${enable_dependency_tracking+set}" = set; then :
3990 enableval=$enable_dependency_tracking;
3993 if test "x$enable_dependency_tracking" != xno; then
3994 am_depcomp="$ac_aux_dir/depcomp"
3998 if test "x$enable_dependency_tracking" != xno; then
4008 depcc="$CC" am_compiler_list=
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4011 $as_echo_n "checking dependency style of $depcc... " >&6; }
4012 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4013 $as_echo_n "(cached) " >&6
4015 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4016 # We make a subdir and do the tests there. Otherwise we can end up
4017 # making bogus files that we don't know about and never remove. For
4018 # instance it was reported that on HP-UX the gcc test will end up
4019 # making a dummy file named 'D' -- because '-MD' means "put the output
4023 # Copy depcomp to subdir because otherwise we won't find it if we're
4024 # using a relative directory.
4025 cp "$am_depcomp" conftest.dir
4027 # We will build objects and dependencies in a subdirectory because
4028 # it helps to detect inapplicable dependency modes. For instance
4029 # both Tru64's cc and ICC support -MD to output dependencies as a
4030 # side effect of compilation, but ICC will put the dependencies in
4031 # the current directory while Tru64 will put them in the object
4035 am_cv_CC_dependencies_compiler_type=none
4036 if test "$am_compiler_list" = ""; then
4037 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4040 case " $depcc " in #(
4041 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4044 for depmode in $am_compiler_list; do
4045 # Setup a source with many dependencies, because some compilers
4046 # like to wrap large dependency lists on column 80 (with \), and
4047 # we should not choose a depcomp mode which is confused by this.
4049 # We need to recreate these files for each test, as the compiler may
4050 # overwrite some of them when testing with obscure command lines.
4051 # This happens at least with the AIX C compiler.
4053 for i in 1 2 3 4 5 6; do
4054 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4055 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4056 # Solaris 10 /bin/sh.
4057 echo '/* dummy */' > sub/conftst$i.h
4059 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4061 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4062 # mode. It turns out that the SunPro C++ compiler does not properly
4063 # handle '-M -o', and we need to detect this. Also, some Intel
4064 # versions had trouble with output in subdirs.
4065 am__obj=sub/conftest.${OBJEXT-o}
4066 am__minus_obj="-o $am__obj"
4069 # This depmode causes a compiler race in universal mode.
4070 test "$am__universal" = false || continue
4073 # After this tag, mechanisms are not by side-effect, so they'll
4074 # only be used when explicitly requested.
4075 if test "x$enable_dependency_tracking" = xyes; then
4081 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4082 # This compiler won't grok '-c -o', but also, the minuso test has
4083 # not run yet. These depmodes are late enough in the game, and
4084 # so weak that their functioning should not be impacted.
4085 am__obj=conftest.${OBJEXT-o}
4090 if depmode=$depmode \
4091 source=sub/conftest.c object=$am__obj \
4092 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4093 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4094 >/dev/null 2>conftest.err &&
4095 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4096 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4097 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4098 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4099 # icc doesn't choke on unknown options, it will just issue warnings
4100 # or remarks (even with -Werror). So we grep stderr for any message
4101 # that says an option was ignored or not supported.
4102 # When given -MP, icc 7.0 and 7.1 complain thusly:
4103 # icc: Command line warning: ignoring option '-M'; no argument required
4104 # The diagnosis changed in icc 8.0:
4105 # icc: Command line remark: option '-MP' not supported
4106 if (grep 'ignoring option' conftest.err ||
4107 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4108 am_cv_CC_dependencies_compiler_type=$depmode
4117 am_cv_CC_dependencies_compiler_type=none
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4122 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4123 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4126 test "x$enable_dependency_tracking" != xno \
4127 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4129 am__fastdepCC_FALSE='#'
4131 am__fastdepCC_TRUE='#'
4132 am__fastdepCC_FALSE=
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4139 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4144 macro_version='2.4.6'
4145 macro_revision='2.4.6'
4159 ltmain=$ac_aux_dir/ltmain.sh
4161 # Backslashify metacharacters that are still active within
4162 # double-quoted strings.
4163 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4165 # Same as above, but do not quote variable references.
4166 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4168 # Sed substitution to delay expansion of an escaped shell variable in a
4169 # double_quote_subst'ed string.
4170 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4172 # Sed substitution to delay expansion of an escaped single quote.
4173 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4175 # Sed substitution to avoid accidental globbing in evaled expressions
4176 no_glob_subst='s/\*/\\\*/g'
4178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4179 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4180 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4183 $as_echo_n "checking how to print
strings...
" >&6; }
4184 # Test print first, because it will be a builtin if present.
4185 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4186 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4188 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4191 # Use this function as a fallback that always works.
4192 func_fallback_echo ()
4194 eval 'cat <<_LTECHO_EOF
4198 ECHO='func_fallback_echo'
4201 # func_echo_all arg...
4202 # Invoke $ECHO with all args, space-separated.
4209 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4210 $as_echo "printf" >&6; } ;;
4211 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4212 $as_echo "print
-r" >&6; } ;;
4213 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4214 $as_echo "cat" >&6; } ;;
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4231 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4232 if ${ac_cv_path_SED+:} false; then :
4233 $as_echo_n "(cached
) " >&6
4235 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4236 for ac_i in 1 2 3 4 5 6 7; do
4237 ac_script="$ac_script$as_nl$ac_script"
4239 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4240 { ac_script=; unset ac_script;}
4241 if test -z "$SED"; then
4242 ac_path_SED_found=false
4243 # Loop through the user's path and test for each of PROGNAME-LIST
4244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4248 test -z "$as_dir" && as_dir=.
4249 for ac_prog in sed gsed; do
4250 for ac_exec_ext in '' $ac_executable_extensions; do
4251 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4252 as_fn_executable_p "$ac_path_SED" || continue
4253 # Check for GNU ac_path_SED and select it if it is found.
4254 # Check for GNU $ac_path_SED
4255 case `"$ac_path_SED" --version 2>&1` in
4257 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4260 $as_echo_n 0123456789 >"conftest.
in"
4263 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4264 mv "conftest.tmp
" "conftest.
in"
4265 cp "conftest.
in" "conftest.
nl"
4266 $as_echo '' >> "conftest.
nl"
4267 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4268 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4269 as_fn_arith $ac_count + 1 && ac_count=$as_val
4270 if test $ac_count -gt ${ac_path_SED_max-0}; then
4271 # Best one so far, save it but keep looking for a better one
4272 ac_cv_path_SED="$ac_path_SED"
4273 ac_path_SED_max=$ac_count
4275 # 10*(2^10) chars as input seems more than enough
4276 test $ac_count -gt 10 && break
4278 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4281 $ac_path_SED_found && break 3
4286 if test -z "$ac_cv_path_SED"; then
4287 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4295 $as_echo "$ac_cv_path_SED" >&6; }
4296 SED="$ac_cv_path_SED"
4299 test -z "$SED" && SED=sed
4300 Xsed="$SED -e 1s
/^X
//"
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4313 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4314 if ${ac_cv_path_GREP+:} false; then :
4315 $as_echo_n "(cached
) " >&6
4317 if test -z "$GREP"; then
4318 ac_path_GREP_found=false
4319 # Loop through the user's path and test for each of PROGNAME-LIST
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4324 test -z "$as_dir" && as_dir=.
4325 for ac_prog in grep ggrep; do
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4328 as_fn_executable_p "$ac_path_GREP" || continue
4329 # Check for GNU ac_path_GREP and select it if it is found.
4330 # Check for GNU $ac_path_GREP
4331 case `"$ac_path_GREP" --version 2>&1` in
4333 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4336 $as_echo_n 0123456789 >"conftest.
in"
4339 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4340 mv "conftest.tmp
" "conftest.
in"
4341 cp "conftest.
in" "conftest.
nl"
4342 $as_echo 'GREP' >> "conftest.
nl"
4343 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4344 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4345 as_fn_arith $ac_count + 1 && ac_count=$as_val
4346 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4347 # Best one so far, save it but keep looking for a better one
4348 ac_cv_path_GREP="$ac_path_GREP"
4349 ac_path_GREP_max=$ac_count
4351 # 10*(2^10) chars as input seems more than enough
4352 test $ac_count -gt 10 && break
4354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4357 $ac_path_GREP_found && break 3
4362 if test -z "$ac_cv_path_GREP"; then
4363 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4366 ac_cv_path_GREP=$GREP
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4371 $as_echo "$ac_cv_path_GREP" >&6; }
4372 GREP="$ac_cv_path_GREP"
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4376 $as_echo_n "checking
for egrep...
" >&6; }
4377 if ${ac_cv_path_EGREP+:} false; then :
4378 $as_echo_n "(cached
) " >&6
4380 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4381 then ac_cv_path_EGREP="$GREP -E"
4383 if test -z "$EGREP"; then
4384 ac_path_EGREP_found=false
4385 # Loop through the user's path and test for each of PROGNAME-LIST
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4390 test -z "$as_dir" && as_dir=.
4391 for ac_prog in egrep; do
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4394 as_fn_executable_p "$ac_path_EGREP" || continue
4395 # Check for GNU ac_path_EGREP and select it if it is found.
4396 # Check for GNU $ac_path_EGREP
4397 case `"$ac_path_EGREP" --version 2>&1` in
4399 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4402 $as_echo_n 0123456789 >"conftest.
in"
4405 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4406 mv "conftest.tmp
" "conftest.
in"
4407 cp "conftest.
in" "conftest.
nl"
4408 $as_echo 'EGREP' >> "conftest.
nl"
4409 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4410 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4411 as_fn_arith $ac_count + 1 && ac_count=$as_val
4412 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4413 # Best one so far, save it but keep looking for a better one
4414 ac_cv_path_EGREP="$ac_path_EGREP"
4415 ac_path_EGREP_max=$ac_count
4417 # 10*(2^10) chars as input seems more than enough
4418 test $ac_count -gt 10 && break
4420 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4423 $ac_path_EGREP_found && break 3
4428 if test -z "$ac_cv_path_EGREP"; then
4429 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4432 ac_cv_path_EGREP=$EGREP
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4438 $as_echo "$ac_cv_path_EGREP" >&6; }
4439 EGREP="$ac_cv_path_EGREP"
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4443 $as_echo_n "checking
for fgrep...
" >&6; }
4444 if ${ac_cv_path_FGREP+:} false; then :
4445 $as_echo_n "(cached
) " >&6
4447 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4448 then ac_cv_path_FGREP="$GREP -F"
4450 if test -z "$FGREP"; then
4451 ac_path_FGREP_found=false
4452 # Loop through the user's path and test for each of PROGNAME-LIST
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4457 test -z "$as_dir" && as_dir=.
4458 for ac_prog in fgrep; do
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4461 as_fn_executable_p "$ac_path_FGREP" || continue
4462 # Check for GNU ac_path_FGREP and select it if it is found.
4463 # Check for GNU $ac_path_FGREP
4464 case `"$ac_path_FGREP" --version 2>&1` in
4466 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4469 $as_echo_n 0123456789 >"conftest.
in"
4472 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4473 mv "conftest.tmp
" "conftest.
in"
4474 cp "conftest.
in" "conftest.
nl"
4475 $as_echo 'FGREP' >> "conftest.
nl"
4476 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4477 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4478 as_fn_arith $ac_count + 1 && ac_count=$as_val
4479 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4480 # Best one so far, save it but keep looking for a better one
4481 ac_cv_path_FGREP="$ac_path_FGREP"
4482 ac_path_FGREP_max=$ac_count
4484 # 10*(2^10) chars as input seems more than enough
4485 test $ac_count -gt 10 && break
4487 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4490 $ac_path_FGREP_found && break 3
4495 if test -z "$ac_cv_path_FGREP"; then
4496 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4499 ac_cv_path_FGREP=$FGREP
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4505 $as_echo "$ac_cv_path_FGREP" >&6; }
4506 FGREP="$ac_cv_path_FGREP"
4509 test -z "$GREP" && GREP=grep
4529 # Check whether --with-gnu-ld was given.
4530 if test "${with_gnu_ld+set}" = set; then :
4531 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4537 if test yes = "$GCC"; then
4538 # Check if gcc -print-prog-name=ld gives a path.
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4540 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4543 # gcc leaves a trailing carriage return, which upsets mingw
4544 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4546 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4549 # Accept absolute paths.
4551 re_direlt='/[^/][^/]*/\.\./'
4552 # Canonicalize the pathname of ld
4553 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4554 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4555 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4557 test -z "$LD" && LD=$ac_prog
4560 # If it fails, then pretend we aren't using GCC.
4564 # If it is relative, then search for the first ld in PATH.
4568 elif test yes = "$with_gnu_ld"; then
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4570 $as_echo_n "checking
for GNU ld...
" >&6; }
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4573 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4575 if ${lt_cv_path_LD+:} false; then :
4576 $as_echo_n "(cached
) " >&6
4578 if test -z "$LD"; then
4579 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4580 for ac_dir in $PATH; do
4582 test -z "$ac_dir" && ac_dir=.
4583 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4584 lt_cv_path_LD=$ac_dir/$ac_prog
4585 # Check to see if the program is GNU ld. I'd rather use --version,
4586 # but apparently some variants of GNU ld only accept -v.
4587 # Break only if it was the GNU/non-GNU ld that we prefer.
4588 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4589 *GNU* | *'with BFD'*)
4590 test no != "$with_gnu_ld" && break
4593 test yes != "$with_gnu_ld" && break
4600 lt_cv_path_LD=$LD # Let the user override the test with a path.
4605 if test -n "$LD"; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4607 $as_echo "$LD" >&6; }
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4610 $as_echo "no
" >&6; }
4612 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4614 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4615 if ${lt_cv_prog_gnu_ld+:} false; then :
4616 $as_echo_n "(cached
) " >&6
4618 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4619 case `$LD -v 2>&1 </dev/null` in
4620 *GNU* | *'with BFD'*)
4621 lt_cv_prog_gnu_ld=yes
4624 lt_cv_prog_gnu_ld=no
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4629 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4630 with_gnu_ld=$lt_cv_prog_gnu_ld
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4641 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4642 if ${lt_cv_path_NM+:} false; then :
4643 $as_echo_n "(cached
) " >&6
4645 if test -n "$NM"; then
4646 # Let the user override the test.
4649 lt_nm_to_check=${ac_tool_prefix}nm
4650 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4651 lt_nm_to_check="$lt_nm_to_check nm
"
4653 for lt_tmp_nm in $lt_nm_to_check; do
4654 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4655 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4657 test -z "$ac_dir" && ac_dir=.
4658 tmp_nm=$ac_dir/$lt_tmp_nm
4659 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4660 # Check to see if the nm accepts a BSD-compat flag.
4661 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4662 # nm: unknown option "B
" ignored
4663 # Tru64's nm complains that /dev/null is an invalid object file
4664 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4666 mingw*) lt_bad_file=conftest.nm/nofile ;;
4667 *) lt_bad_file=/dev/null ;;
4669 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4670 *$lt_bad_file* | *'Invalid file or object type'*)
4671 lt_cv_path_NM="$tmp_nm -B"
4675 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4677 lt_cv_path_NM="$tmp_nm -p"
4681 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4682 continue # so that we can try to find one that supports BSD flags
4691 : ${lt_cv_path_NM=no}
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4695 $as_echo "$lt_cv_path_NM" >&6; }
4696 if test no != "$lt_cv_path_NM"; then
4699 # Didn't find any BSD compatible name lister, look for dumpbin.
4700 if test -n "$DUMPBIN"; then :
4701 # Let the user override the test.
4703 if test -n "$ac_tool_prefix"; then
4704 for ac_prog in dumpbin "link
-dump"
4706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4709 $as_echo_n "checking
for $ac_word...
" >&6; }
4710 if ${ac_cv_prog_DUMPBIN+:} false; then :
4711 $as_echo_n "(cached
) " >&6
4713 if test -n "$DUMPBIN"; then
4714 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir=.
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4723 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4733 DUMPBIN=$ac_cv_prog_DUMPBIN
4734 if test -n "$DUMPBIN"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4736 $as_echo "$DUMPBIN" >&6; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4739 $as_echo "no
" >&6; }
4743 test -n "$DUMPBIN" && break
4746 if test -z "$DUMPBIN"; then
4747 ac_ct_DUMPBIN=$DUMPBIN
4748 for ac_prog in dumpbin "link
-dump"
4750 # Extract the first word of "$ac_prog", so it can be a program name with args.
4751 set dummy $ac_prog; ac_word=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4753 $as_echo_n "checking
for $ac_word...
" >&6; }
4754 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4755 $as_echo_n "(cached
) " >&6
4757 if test -n "$ac_ct_DUMPBIN"; then
4758 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4767 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4777 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4778 if test -n "$ac_ct_DUMPBIN"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4780 $as_echo "$ac_ct_DUMPBIN" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4783 $as_echo "no
" >&6; }
4787 test -n "$ac_ct_DUMPBIN" && break
4790 if test "x
$ac_ct_DUMPBIN" = x; then
4793 case $cross_compiling:$ac_tool_warned in
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4796 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4797 ac_tool_warned=yes ;;
4799 DUMPBIN=$ac_ct_DUMPBIN
4803 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4805 DUMPBIN="$DUMPBIN -symbols -headers"
4813 if test : != "$DUMPBIN"; then
4817 test -z "$NM" && NM=nm
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4825 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4826 if ${lt_cv_nm_interface+:} false; then :
4827 $as_echo_n "(cached
) " >&6
4829 lt_cv_nm_interface="BSD nm
"
4830 echo "int some_variable
= 0;" > conftest.$ac_ext
4831 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4832 (eval "$ac_compile" 2>conftest.err)
4833 cat conftest.err >&5
4834 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4835 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4836 cat conftest.err >&5
4837 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4838 cat conftest.out >&5
4839 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4840 lt_cv_nm_interface="MS dumpbin
"
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4845 $as_echo "$lt_cv_nm_interface" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
4848 $as_echo_n "checking whether
ln -s works...
" >&6; }
4850 if test "$LN_S" = "ln -s"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4852 $as_echo "yes" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
4855 $as_echo "no
, using
$LN_S" >&6; }
4858 # find the maximum length of command line arguments
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4860 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4861 if ${lt_cv_sys_max_cmd_len+:} false; then :
4862 $as_echo_n "(cached
) " >&6
4869 # On DJGPP, this test can blow up pretty badly due to problems in libc
4870 # (any single argument exceeding 2000 bytes causes a buffer overrun
4871 # during glob expansion). Even if it were fixed, the result of this
4872 # check would be larger than it should be.
4873 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4877 # Under GNU Hurd, this test is not required because there is
4878 # no limit to the length of command line arguments.
4879 # Libtool will interpret -1 as no limit whatsoever
4880 lt_cv_sys_max_cmd_len=-1;
4883 cygwin* | mingw* | cegcc*)
4884 # On Win9x/ME, this test blows up -- it succeeds, but takes
4885 # about 5 minutes as the teststring grows exponentially.
4886 # Worse, since 9x/ME are not pre-emptively multitasking,
4887 # you end up with a "frozen
" computer, even though with patience
4888 # the test eventually succeeds (with a max line length of 256k).
4889 # Instead, let's just punt: use the minimum linelength reported by
4890 # all of the supported platforms: 8192 (on NT/2K/XP).
4891 lt_cv_sys_max_cmd_len=8192;
4895 # On MiNT this can take a long time and run out of memory.
4896 lt_cv_sys_max_cmd_len=8192;
4900 # On AmigaOS with pdksh, this test takes hours, literally.
4901 # So we just punt and use a minimum line length of 8192.
4902 lt_cv_sys_max_cmd_len=8192;
4905 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4906 # This has been around since 386BSD, at least. Likely further.
4907 if test -x /sbin/sysctl; then
4908 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4909 elif test -x /usr/sbin/sysctl; then
4910 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4912 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4914 # And add a safety zone
4915 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4916 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4920 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4921 lt_cv_sys_max_cmd_len=196608
4925 # The test takes a long time on OS/2.
4926 lt_cv_sys_max_cmd_len=8192
4930 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4931 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4932 # nice to cause kernel panics so lets avoid the loop below.
4933 # First set a reasonable default.
4934 lt_cv_sys_max_cmd_len=16384
4936 if test -x /sbin/sysconfig; then
4937 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4938 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4943 lt_cv_sys_max_cmd_len=102400
4945 sysv5* | sco5v6* | sysv4.2uw2*)
4946 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4947 if test -n "$kargmax"; then
4948 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4950 lt_cv_sys_max_cmd_len=32768
4954 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4955 if test -n "$lt_cv_sys_max_cmd_len" && \
4956 test undefined != "$lt_cv_sys_max_cmd_len"; then
4957 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4958 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4960 # Make teststring a little bigger before we do anything with it.
4961 # a 1K string should be a reasonable start.
4962 for i in 1 2 3 4 5 6 7 8; do
4963 teststring=$teststring$teststring
4965 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4966 # If test is not a shell built-in, we'll probably end up computing a
4967 # maximum length that is only half of the actual maximum length, but
4969 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4970 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4971 test 17 != "$i" # 1/2 MB should be enough
4974 teststring=$teststring$teststring
4976 # Only check the string length outside the loop.
4977 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4979 # Add a significant safety factor because C++ compilers can tack on
4980 # massive amounts of additional arguments before passing them to the
4981 # linker. It appears as though 1/2 is a usable value.
4982 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4989 if test -n "$lt_cv_sys_max_cmd_len"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4991 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4994 $as_echo "none
" >&6; }
4996 max_cmd_len=$lt_cv_sys_max_cmd_len
5007 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5017 # test EBCDIC or ASCII
5018 case `echo X|tr X '\101'` in
5019 A) # ASCII based system
5020 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5021 lt_SP2NL='tr \040 \012'
5022 lt_NL2SP='tr \015\012 \040\040'
5024 *) # EBCDIC based system
5025 lt_SP2NL='tr \100 \n'
5026 lt_NL2SP='tr \r\n \100\100'
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5039 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5040 if ${lt_cv_to_host_file_cmd+:} false; then :
5041 $as_echo_n "(cached
) " >&6
5046 *-*-mingw* ) # actually msys
5047 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5050 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5052 * ) # otherwise, assume *nix
5053 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5059 *-*-mingw* ) # actually msys
5060 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5063 lt_cv_to_host_file_cmd=func_convert_file_noop
5065 * ) # otherwise, assume *nix
5066 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5070 * ) # unhandled hosts (and "normal
" native builds)
5071 lt_cv_to_host_file_cmd=func_convert_file_noop
5077 to_host_file_cmd=$lt_cv_to_host_file_cmd
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5079 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5086 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5087 if ${lt_cv_to_tool_file_cmd+:} false; then :
5088 $as_echo_n "(cached
) " >&6
5090 #assume ordinary cross tools, or native build.
5091 lt_cv_to_tool_file_cmd=func_convert_file_noop
5095 *-*-mingw* ) # actually msys
5096 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5104 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5106 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5113 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5114 if ${lt_cv_ld_reload_flag+:} false; then :
5115 $as_echo_n "(cached
) " >&6
5117 lt_cv_ld_reload_flag='-r'
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5120 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5121 reload_flag=$lt_cv_ld_reload_flag
5122 case $reload_flag in
5124 *) reload_flag=" $reload_flag" ;;
5126 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5128 cygwin* | mingw* | pw32* | cegcc*)
5129 if test yes != "$GCC"; then
5134 if test yes = "$GCC"; then
5135 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5137 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5150 if test -n "$ac_tool_prefix"; then
5151 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5152 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5154 $as_echo_n "checking
for $ac_word...
" >&6; }
5155 if ${ac_cv_prog_OBJDUMP+:} false; then :
5156 $as_echo_n "(cached
) " >&6
5158 if test -n "$OBJDUMP"; then
5159 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir=.
5166 for ac_exec_ext in '' $ac_executable_extensions; do
5167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5168 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5178 OBJDUMP=$ac_cv_prog_OBJDUMP
5179 if test -n "$OBJDUMP"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5181 $as_echo "$OBJDUMP" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5184 $as_echo "no
" >&6; }
5189 if test -z "$ac_cv_prog_OBJDUMP"; then
5190 ac_ct_OBJDUMP=$OBJDUMP
5191 # Extract the first word of "objdump
", so it can be a program name with args.
5192 set dummy objdump; ac_word=$2
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5194 $as_echo_n "checking
for $ac_word...
" >&6; }
5195 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5196 $as_echo_n "(cached
) " >&6
5198 if test -n "$ac_ct_OBJDUMP"; then
5199 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 test -z "$as_dir" && as_dir=.
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5208 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5218 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5219 if test -n "$ac_ct_OBJDUMP"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5221 $as_echo "$ac_ct_OBJDUMP" >&6; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5224 $as_echo "no
" >&6; }
5227 if test "x
$ac_ct_OBJDUMP" = x; then
5230 case $cross_compiling:$ac_tool_warned in
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5233 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5234 ac_tool_warned=yes ;;
5236 OBJDUMP=$ac_ct_OBJDUMP
5239 OBJDUMP="$ac_cv_prog_OBJDUMP"
5242 test -z "$OBJDUMP" && OBJDUMP=objdump
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5253 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5254 if ${lt_cv_deplibs_check_method+:} false; then :
5255 $as_echo_n "(cached
) " >&6
5257 lt_cv_file_magic_cmd='$MAGIC_CMD'
5258 lt_cv_file_magic_test_file=
5259 lt_cv_deplibs_check_method='unknown'
5260 # Need to set the preceding variable on all platforms that support
5261 # interlibrary dependencies.
5262 # 'none' -- dependencies not supported.
5263 # 'unknown' -- same as none, but documents that we really don't know.
5264 # 'pass_all' -- all dependencies passed with no checks.
5265 # 'test_compile' -- check by making test program.
5266 # 'file_magic [[regex]]' -- check by looking for files in library path
5267 # that responds to the $file_magic_cmd with a given extended regex.
5268 # If you have 'file' or equivalent on your system and you're not sure
5269 # whether 'pass_all' will *always* work, you probably want this one.
5273 lt_cv_deplibs_check_method=pass_all
5277 lt_cv_deplibs_check_method=pass_all
5281 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5282 lt_cv_file_magic_cmd='/usr/bin/file -L'
5283 lt_cv_file_magic_test_file=/shlib/libc.so
5287 # func_win32_libid is a shell function defined in ltmain.sh
5288 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5289 lt_cv_file_magic_cmd='func_win32_libid'
5293 # Base MSYS/MinGW do not provide the 'file' command needed by
5294 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5295 # unless we find 'file', for example because we are cross-compiling.
5296 if ( file / ) >/dev/null 2>&1; then
5297 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5298 lt_cv_file_magic_cmd='func_win32_libid'
5300 # Keep this pattern in sync with the one in func_win32_libid.
5301 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5302 lt_cv_file_magic_cmd='$OBJDUMP -f'
5307 # use the weaker test based on 'objdump'. See mingw*.
5308 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5309 lt_cv_file_magic_cmd='$OBJDUMP -f'
5312 darwin* | rhapsody*)
5313 lt_cv_deplibs_check_method=pass_all
5316 freebsd* | dragonfly*)
5317 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5320 # Not sure whether the presence of OpenBSD here was a mistake.
5321 # Let's accept both of them until this is cleared up.
5322 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5323 lt_cv_file_magic_cmd=/usr/bin/file
5324 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5328 lt_cv_deplibs_check_method=pass_all
5333 lt_cv_deplibs_check_method=pass_all
5336 hpux10.20* | hpux11*)
5337 lt_cv_file_magic_cmd=/usr/bin/file
5340 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5341 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5344 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]'
5345 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5348 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5349 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5355 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5359 irix5* | irix6* | nonstopux*)
5361 *-32|*"-32 ") libmagic=32-bit;;
5362 *-n32|*"-n32 ") libmagic=N32;;
5363 *-64|*"-64 ") libmagic=64-bit;;
5364 *) libmagic=never-match;;
5366 lt_cv_deplibs_check_method=pass_all
5369 # This must be glibc/ELF.
5370 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5371 lt_cv_deplibs_check_method=pass_all
5374 netbsd* | netbsdelf*-gnu)
5375 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5376 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5378 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5383 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5384 lt_cv_file_magic_cmd=/usr/bin/file
5385 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5389 lt_cv_deplibs_check_method=pass_all
5393 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5394 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5396 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5400 osf3* | osf4* | osf5*)
5401 lt_cv_deplibs_check_method=pass_all
5405 lt_cv_deplibs_check_method=pass_all
5409 lt_cv_deplibs_check_method=pass_all
5412 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5413 lt_cv_deplibs_check_method=pass_all
5417 case $host_vendor in
5419 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]'
5420 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5423 lt_cv_deplibs_check_method=pass_all
5426 lt_cv_file_magic_cmd='/bin/file'
5427 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5430 lt_cv_file_magic_cmd='/bin/file'
5431 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5432 lt_cv_file_magic_test_file=/lib/libc.so
5435 lt_cv_deplibs_check_method=pass_all
5438 lt_cv_deplibs_check_method=pass_all
5444 lt_cv_deplibs_check_method=pass_all
5447 lt_cv_deplibs_check_method=pass_all
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5453 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5457 if test "$build" = "$host"; then
5460 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5463 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5469 file_magic_cmd=$lt_cv_file_magic_cmd
5470 deplibs_check_method=$lt_cv_deplibs_check_method
5471 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5494 if test -n "$ac_tool_prefix"; then
5495 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5496 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5498 $as_echo_n "checking
for $ac_word...
" >&6; }
5499 if ${ac_cv_prog_DLLTOOL+:} false; then :
5500 $as_echo_n "(cached
) " >&6
5502 if test -n "$DLLTOOL"; then
5503 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5522 DLLTOOL=$ac_cv_prog_DLLTOOL
5523 if test -n "$DLLTOOL"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5525 $as_echo "$DLLTOOL" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5528 $as_echo "no
" >&6; }
5533 if test -z "$ac_cv_prog_DLLTOOL"; then
5534 ac_ct_DLLTOOL=$DLLTOOL
5535 # Extract the first word of "dlltool
", so it can be a program name with args.
5536 set dummy dlltool; ac_word=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5538 $as_echo_n "checking
for $ac_word...
" >&6; }
5539 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5540 $as_echo_n "(cached
) " >&6
5542 if test -n "$ac_ct_DLLTOOL"; then
5543 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 test -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5562 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5563 if test -n "$ac_ct_DLLTOOL"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5565 $as_echo "$ac_ct_DLLTOOL" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5568 $as_echo "no
" >&6; }
5571 if test "x
$ac_ct_DLLTOOL" = x; then
5574 case $cross_compiling:$ac_tool_warned in
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5577 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5578 ac_tool_warned=yes ;;
5580 DLLTOOL=$ac_ct_DLLTOOL
5583 DLLTOOL="$ac_cv_prog_DLLTOOL"
5586 test -z "$DLLTOOL" && DLLTOOL=dlltool
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5598 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5599 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5600 $as_echo_n "(cached
) " >&6
5602 lt_cv_sharedlib_from_linklib_cmd='unknown'
5605 cygwin* | mingw* | pw32* | cegcc*)
5606 # two different shell functions defined in ltmain.sh;
5607 # decide which one to use based on capabilities of $DLLTOOL
5608 case `$DLLTOOL --help 2>&1` in
5609 *--identify-strict*)
5610 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5613 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5618 # fallback: assume linklib IS sharedlib
5619 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5625 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5626 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5627 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5636 if test -n "$ac_tool_prefix"; then
5639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5642 $as_echo_n "checking
for $ac_word...
" >&6; }
5643 if ${ac_cv_prog_AR+:} false; then :
5644 $as_echo_n "(cached
) " >&6
5646 if test -n "$AR"; then
5647 ac_cv_prog_AR="$AR" # Let the user override the test.
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5667 if test -n "$AR"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5669 $as_echo "$AR" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5672 $as_echo "no
" >&6; }
5676 test -n "$AR" && break
5679 if test -z "$AR"; then
5683 # Extract the first word of "$ac_prog", so it can be a program name with args.
5684 set dummy $ac_prog; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5686 $as_echo_n "checking
for $ac_word...
" >&6; }
5687 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5688 $as_echo_n "(cached
) " >&6
5690 if test -n "$ac_ct_AR"; then
5691 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_ac_ct_AR="$ac_prog"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5710 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5711 if test -n "$ac_ct_AR"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5713 $as_echo "$ac_ct_AR" >&6; }
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5716 $as_echo "no
" >&6; }
5720 test -n "$ac_ct_AR" && break
5723 if test "x
$ac_ct_AR" = x; then
5726 case $cross_compiling:$ac_tool_warned in
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5729 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5730 ac_tool_warned=yes ;;
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5750 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5751 if ${lt_cv_ar_at_file+:} false; then :
5752 $as_echo_n "(cached
) " >&6
5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5766 if ac_fn_c_try_compile "$LINENO"; then :
5767 echo conftest.$ac_objext > conftest.lst
5768 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5769 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5770 (eval $lt_ar_try) 2>&5
5772 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5773 test $ac_status = 0; }
5774 if test 0 -eq "$ac_status"; then
5775 # Ensure the archiver fails upon bogus file names.
5776 rm -f conftest.$ac_objext libconftest.a
5777 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5778 (eval $lt_ar_try) 2>&5
5780 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5781 test $ac_status = 0; }
5782 if test 0 -ne "$ac_status"; then
5786 rm -f conftest.* libconftest.a
5789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5793 $as_echo "$lt_cv_ar_at_file" >&6; }
5795 if test no = "$lt_cv_ar_at_file"; then
5798 archiver_list_spec=$lt_cv_ar_at_file
5807 if test -n "$ac_tool_prefix"; then
5808 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5809 set dummy ${ac_tool_prefix}strip; ac_word=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5811 $as_echo_n "checking
for $ac_word...
" >&6; }
5812 if ${ac_cv_prog_STRIP+:} false; then :
5813 $as_echo_n "(cached
) " >&6
5815 if test -n "$STRIP"; then
5816 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5835 STRIP=$ac_cv_prog_STRIP
5836 if test -n "$STRIP"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5838 $as_echo "$STRIP" >&6; }
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5841 $as_echo "no
" >&6; }
5846 if test -z "$ac_cv_prog_STRIP"; then
5848 # Extract the first word of "strip
", so it can be a program name with args.
5849 set dummy strip; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5851 $as_echo_n "checking
for $ac_word...
" >&6; }
5852 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5853 $as_echo_n "(cached
) " >&6
5855 if test -n "$ac_ct_STRIP"; then
5856 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_ac_ct_STRIP="strip
"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5875 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5876 if test -n "$ac_ct_STRIP"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5878 $as_echo "$ac_ct_STRIP" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5881 $as_echo "no
" >&6; }
5884 if test "x
$ac_ct_STRIP" = x; then
5887 case $cross_compiling:$ac_tool_warned in
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5890 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5891 ac_tool_warned=yes ;;
5896 STRIP="$ac_cv_prog_STRIP"
5899 test -z "$STRIP" && STRIP=:
5906 if test -n "$ac_tool_prefix"; then
5907 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5908 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5910 $as_echo_n "checking
for $ac_word...
" >&6; }
5911 if ${ac_cv_prog_RANLIB+:} false; then :
5912 $as_echo_n "(cached
) " >&6
5914 if test -n "$RANLIB"; then
5915 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5924 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5934 RANLIB=$ac_cv_prog_RANLIB
5935 if test -n "$RANLIB"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5937 $as_echo "$RANLIB" >&6; }
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5940 $as_echo "no
" >&6; }
5945 if test -z "$ac_cv_prog_RANLIB"; then
5946 ac_ct_RANLIB=$RANLIB
5947 # Extract the first word of "ranlib
", so it can be a program name with args.
5948 set dummy ranlib; ac_word=$2
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5950 $as_echo_n "checking
for $ac_word...
" >&6; }
5951 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5952 $as_echo_n "(cached
) " >&6
5954 if test -n "$ac_ct_RANLIB"; then
5955 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 test -z "$as_dir" && as_dir=.
5962 for ac_exec_ext in '' $ac_executable_extensions; do
5963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5964 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5974 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5975 if test -n "$ac_ct_RANLIB"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5977 $as_echo "$ac_ct_RANLIB" >&6; }
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5980 $as_echo "no
" >&6; }
5983 if test "x
$ac_ct_RANLIB" = x; then
5986 case $cross_compiling:$ac_tool_warned in
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5989 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5990 ac_tool_warned=yes ;;
5992 RANLIB=$ac_ct_RANLIB
5995 RANLIB="$ac_cv_prog_RANLIB"
5998 test -z "$RANLIB" && RANLIB=:
6005 # Determine commands to create old-style static archives.
6006 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6007 old_postinstall_cmds='chmod 644 $oldlib'
6008 old_postuninstall_cmds=
6010 if test -n "$RANLIB"; then
6013 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6016 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6019 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6024 lock_old_archive_extraction=yes ;;
6026 lock_old_archive_extraction=no ;;
6067 # If no C compiler was specified, use CC.
6070 # If no C compiler flags were specified, use CFLAGS.
6071 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6073 # Allow CC to be a program name with arguments.
6077 # Check for command to grab the raw symbol name followed by C symbol from nm.
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6079 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6080 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6081 $as_echo_n "(cached
) " >&6
6084 # These are sane defaults that work on at least a few old systems.
6085 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6087 # Character class describing NM global symbol codes.
6088 symcode='[BCDEGRST]'
6090 # Regexp to match symbols that can be accessed directly from C.
6091 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6093 # Define system-specific variables.
6098 cygwin* | mingw* | pw32* | cegcc*)
6099 symcode='[ABCDGISTW]'
6102 if test ia64 = "$host_cpu"; then
6103 symcode='[ABCDEGRST]'
6107 symcode='[BCDEGRST]'
6110 symcode='[BCDEGQRST]'
6121 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6129 # If we're using GNU nm, then use its standard symbol codes.
6130 case `$NM -V 2>&1` in
6131 *GNU* | *'with BFD'*)
6132 symcode='[ABCDGIRSTW]' ;;
6135 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6136 # Gets list of data symbols to import.
6137 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6138 # Adjust the below global symbol transforms to fixup imported variables.
6139 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6140 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6141 lt_c_name_lib_hook="\
6142 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6143 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6145 # Disable hooks by default.
6146 lt_cv_sys_global_symbol_to_import=
6152 # Transform an extracted symbol line into a proper C declaration.
6153 # Some systems (esp. on ia64) link data and code symbols differently,
6154 # so use this general approach.
6155 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6157 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6158 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6160 # Transform an extracted symbol line into symbol name and symbol address
6161 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6163 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6164 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6166 # Transform an extracted symbol line into symbol name with lib prefix and
6168 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6169 $lt_c_name_lib_hook\
6170 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6171 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6172 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6174 # Handle CRLF in mingw tool chain
6178 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6182 # Try without a prefix underscore, then with it.
6183 for ac_symprfx in "" "_
"; do
6185 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6186 symxfrm="\\1 $ac_symprfx\\2 \\2"
6188 # Write the raw and C identifiers.
6189 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6190 # Fake it for dumpbin and say T for any non-static function,
6191 # D for any global variable and I for any imported variable.
6192 # Also find C++ and __fastcall symbols from MSVC++,
6193 # which start with @ or ?.
6194 lt_cv_sys_global_symbol_pipe="$AWK '"\
6195 " {last_section=section; section=\$ 3};"\
6196 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6197 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6198 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6199 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6200 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6201 " \$ 0!~/External *\|/{next};"\
6202 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6203 " {if(hide[section]) next};"\
6204 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6205 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6206 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6207 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6208 " ' prfx
=^
$ac_symprfx"
6210 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6212 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6214 # Check to see that the pipe works correctly.
6218 cat > conftest.$ac_ext <<_LT_EOF
6223 void nm_test_func(void);
6224 void nm_test_func(void){}
6228 int main(){nm_test_var='a';nm_test_func();return(0);}
6231 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6232 (eval $ac_compile) 2>&5
6234 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6235 test $ac_status = 0; }; then
6236 # Now try to grab the symbols.
6238 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6239 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6241 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6242 test $ac_status = 0; } && test -s "$nlist"; then
6243 # Try sorting and uniquifying the output.
6244 if sort "$nlist" | uniq > "$nlist"T; then
6245 mv -f "$nlist"T "$nlist"
6250 # Make sure that we snagged all the symbols we need.
6251 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6252 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6253 cat <<_LT_EOF > conftest.$ac_ext
6254 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6255 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6256 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6257 relocations are performed -- see ld's documentation on pseudo-relocs. */
6258 # define LT_DLSYM_CONST
6259 #elif defined __osf__
6260 /* This system does not cope well with relocations in const data. */
6261 # define LT_DLSYM_CONST
6263 # define LT_DLSYM_CONST const
6271 # Now generate the symbol file.
6272 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6274 cat <<_LT_EOF >> conftest.$ac_ext
6276 /* The mapping between symbol names and symbols. */
6277 LT_DLSYM_CONST struct {
6281 lt__PROGRAM__LTX_preloaded_symbols[] =
6283 { "@PROGRAM@
", (void *) 0 },
6285 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6286 cat <<\_LT_EOF >> conftest.$ac_ext
6290 /* This works around a problem in FreeBSD linker */
6291 #ifdef FREEBSD_WORKAROUND
6292 static const void *lt_preloaded_setup() {
6293 return lt__PROGRAM__LTX_preloaded_symbols;
6301 # Now try linking the two files.
6302 mv conftest.$ac_objext conftstm.$ac_objext
6303 lt_globsym_save_LIBS=$LIBS
6304 lt_globsym_save_CFLAGS=$CFLAGS
6305 LIBS=conftstm.$ac_objext
6306 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6307 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6308 (eval $ac_link) 2>&5
6310 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6311 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6314 LIBS=$lt_globsym_save_LIBS
6315 CFLAGS=$lt_globsym_save_CFLAGS
6317 echo "cannot
find nm_test_func
in $nlist" >&5
6320 echo "cannot
find nm_test_var
in $nlist" >&5
6323 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6326 echo "$progname: failed program was
:" >&5
6327 cat conftest.$ac_ext >&5
6329 rm -rf conftest* conftst*
6331 # Do not use the global_symbol_pipe unless it works.
6332 if test yes = "$pipe_works"; then
6335 lt_cv_sys_global_symbol_pipe=
6341 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6342 lt_cv_sys_global_symbol_to_cdecl=
6344 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6346 $as_echo "failed
" >&6; }
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6349 $as_echo "ok
" >&6; }
6352 # Response file support.
6353 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6354 nm_file_list_spec='@'
6355 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6356 nm_file_list_spec='@'
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6396 $as_echo_n "checking
for sysroot...
" >&6; }
6398 # Check whether --with-sysroot was given.
6399 if test "${with_sysroot+set}" = set; then :
6400 withval=$with_sysroot;
6407 case $with_sysroot in #(
6409 if test yes = "$GCC"; then
6410 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6414 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6420 $as_echo "$with_sysroot" >&6; }
6421 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6426 $as_echo "${lt_sysroot:-no}" >&6; }
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6433 $as_echo_n "checking
for a working
dd...
" >&6; }
6434 if ${ac_cv_path_lt_DD+:} false; then :
6435 $as_echo_n "(cached
) " >&6
6437 printf 0123456789abcdef0123456789abcdef >conftest.i
6438 cat conftest.i conftest.i >conftest2.i
6440 if test -z "$lt_DD"; then
6441 ac_path_lt_DD_found=false
6442 # Loop through the user's path and test for each of PROGNAME-LIST
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir=.
6448 for ac_prog in dd; do
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6451 as_fn_executable_p "$ac_path_lt_DD" || continue
6452 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6453 cmp -s conftest.i conftest.out \
6454 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6456 $ac_path_lt_DD_found && break 3
6461 if test -z "$ac_cv_path_lt_DD"; then
6465 ac_cv_path_lt_DD=$lt_DD
6468 rm -f conftest.i conftest2.i conftest.out
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6471 $as_echo "$ac_cv_path_lt_DD" >&6; }
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6475 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6476 if ${lt_cv_truncate_bin+:} false; then :
6477 $as_echo_n "(cached
) " >&6
6479 printf 0123456789abcdef0123456789abcdef >conftest.i
6480 cat conftest.i conftest.i >conftest2.i
6482 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6483 cmp -s conftest.i conftest.out \
6484 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6486 rm -f conftest.i conftest2.i conftest.out
6487 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6490 $as_echo "$lt_cv_truncate_bin" >&6; }
6498 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6501 for cc_temp in $*""; do
6503 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6504 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6509 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6512 # Check whether --enable-libtool-lock was given.
6513 if test "${enable_libtool_lock+set}" = set; then :
6514 enableval=$enable_libtool_lock;
6517 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6519 # Some flags need to be propagated to the compiler or linker for good
6523 # Find out what ABI is being produced by ac_compile, and set mode
6524 # options accordingly.
6525 echo 'int i;' > conftest.$ac_ext
6526 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6527 (eval $ac_compile) 2>&5
6529 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6530 test $ac_status = 0; }; then
6531 case `/usr/bin/file conftest.$ac_objext` in
6543 # Find out what ABI is being produced by ac_compile, and set linker
6544 # options accordingly.
6545 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6546 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6547 (eval $ac_compile) 2>&5
6549 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6550 test $ac_status = 0; }; then
6551 if test yes = "$lt_cv_prog_gnu_ld"; then
6552 case `/usr/bin/file conftest.$ac_objext` in
6554 LD="${LD-ld} -melf32bsmip"
6557 LD="${LD-ld} -melf32bmipn32"
6560 LD="${LD-ld} -melf64bmip"
6564 case `/usr/bin/file conftest.$ac_objext` in
6581 # Find out what ABI is being produced by ac_compile, and set linker
6582 # options accordingly.
6583 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6584 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6585 (eval $ac_compile) 2>&5
6587 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6588 test $ac_status = 0; }; then
6590 case `/usr/bin/file conftest.$ac_objext` in
6598 case `/usr/bin/file conftest.$ac_objext` in
6600 emul="${emul}btsmip
"
6603 emul="${emul}ltsmip
"
6606 case `/usr/bin/file conftest.$ac_objext` in
6611 LD="${LD-ld} -m $emul"
6616 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6617 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6618 # Find out what ABI is being produced by ac_compile, and set linker
6619 # options accordingly. Note that the listed cases only cover the
6620 # situations where additional linker options are needed (such as when
6621 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6622 # vice versa); the common cases where no linker options are needed do
6623 # not appear in the list.
6624 echo 'int i;' > conftest.$ac_ext
6625 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6626 (eval $ac_compile) 2>&5
6628 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6629 test $ac_status = 0; }; then
6630 case `/usr/bin/file conftest.o` in
6633 x86_64-*kfreebsd*-gnu)
6634 LD="${LD-ld} -m elf_i386_fbsd
"
6637 case `/usr/bin/file conftest.o` in
6639 LD="${LD-ld} -m elf32_x86_64
"
6642 LD="${LD-ld} -m elf_i386
"
6646 powerpc64le-*linux*)
6647 LD="${LD-ld} -m elf32lppclinux
"
6650 LD="${LD-ld} -m elf32ppclinux
"
6653 LD="${LD-ld} -m elf_s390
"
6656 LD="${LD-ld} -m elf32_sparc
"
6662 x86_64-*kfreebsd*-gnu)
6663 LD="${LD-ld} -m elf_x86_64_fbsd
"
6666 LD="${LD-ld} -m elf_x86_64
"
6669 LD="${LD-ld} -m elf64lppc
"
6672 LD="${LD-ld} -m elf64ppc
"
6674 s390*-*linux*|s390*-*tpf*)
6675 LD="${LD-ld} -m elf64_s390
"
6678 LD="${LD-ld} -m elf64_sparc
"
6688 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6690 CFLAGS="$CFLAGS -belf"
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6692 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6693 if ${lt_cv_cc_needs_belf+:} false; then :
6694 $as_echo_n "(cached
) " >&6
6697 ac_cpp='$CPP $CPPFLAGS'
6698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6703 /* end confdefs.h. */
6713 if ac_fn_c_try_link "$LINENO"; then :
6714 lt_cv_cc_needs_belf=yes
6716 lt_cv_cc_needs_belf=no
6718 rm -f core conftest.err conftest.$ac_objext \
6719 conftest$ac_exeext conftest.$ac_ext
6721 ac_cpp='$CPP $CPPFLAGS'
6722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6728 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6729 if test yes != "$lt_cv_cc_needs_belf"; then
6730 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6735 # Find out what ABI is being produced by ac_compile, and set linker
6736 # options accordingly.
6737 echo 'int i;' > conftest.$ac_ext
6738 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6739 (eval $ac_compile) 2>&5
6741 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6742 test $ac_status = 0; }; then
6743 case `/usr/bin/file conftest.o` in
6745 case $lt_cv_prog_gnu_ld in
6748 i?86-*-solaris*|x86_64-*-solaris*)
6749 LD="${LD-ld} -m elf_x86_64
"
6752 LD="${LD-ld} -m elf64_sparc
"
6755 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6756 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6761 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6773 need_locks=$enable_libtool_lock
6775 if test -n "$ac_tool_prefix"; then
6776 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6777 set dummy ${ac_tool_prefix}mt; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6779 $as_echo_n "checking
for $ac_word...
" >&6; }
6780 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6781 $as_echo_n "(cached
) " >&6
6783 if test -n "$MANIFEST_TOOL"; then
6784 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6793 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6803 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6804 if test -n "$MANIFEST_TOOL"; then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6806 $as_echo "$MANIFEST_TOOL" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6809 $as_echo "no
" >&6; }
6814 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6815 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6816 # Extract the first word of "mt
", so it can be a program name with args.
6817 set dummy mt; ac_word=$2
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6819 $as_echo_n "checking
for $ac_word...
" >&6; }
6820 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6821 $as_echo_n "(cached
) " >&6
6823 if test -n "$ac_ct_MANIFEST_TOOL"; then
6824 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir=.
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6843 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6844 if test -n "$ac_ct_MANIFEST_TOOL"; then
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6846 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6849 $as_echo "no
" >&6; }
6852 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6855 case $cross_compiling:$ac_tool_warned in
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6858 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6859 ac_tool_warned=yes ;;
6861 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6864 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6867 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6869 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6870 if ${lt_cv_path_mainfest_tool+:} false; then :
6871 $as_echo_n "(cached
) " >&6
6873 lt_cv_path_mainfest_tool=no
6874 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6875 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6876 cat conftest.err >&5
6877 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6878 lt_cv_path_mainfest_tool=yes
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6883 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6884 if test yes != "$lt_cv_path_mainfest_tool"; then
6894 rhapsody* | darwin*)
6895 if test -n "$ac_tool_prefix"; then
6896 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6897 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6899 $as_echo_n "checking
for $ac_word...
" >&6; }
6900 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6901 $as_echo_n "(cached
) " >&6
6903 if test -n "$DSYMUTIL"; then
6904 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910 test -z "$as_dir" && as_dir=.
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6913 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6923 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6924 if test -n "$DSYMUTIL"; then
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6926 $as_echo "$DSYMUTIL" >&6; }
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6929 $as_echo "no
" >&6; }
6934 if test -z "$ac_cv_prog_DSYMUTIL"; then
6935 ac_ct_DSYMUTIL=$DSYMUTIL
6936 # Extract the first word of "dsymutil
", so it can be a program name with args.
6937 set dummy dsymutil; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6939 $as_echo_n "checking
for $ac_word...
" >&6; }
6940 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6941 $as_echo_n "(cached
) " >&6
6943 if test -n "$ac_ct_DSYMUTIL"; then
6944 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6953 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6963 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6964 if test -n "$ac_ct_DSYMUTIL"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6966 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6969 $as_echo "no
" >&6; }
6972 if test "x
$ac_ct_DSYMUTIL" = x; then
6975 case $cross_compiling:$ac_tool_warned in
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6978 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6979 ac_tool_warned=yes ;;
6981 DSYMUTIL=$ac_ct_DSYMUTIL
6984 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6987 if test -n "$ac_tool_prefix"; then
6988 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6989 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6991 $as_echo_n "checking
for $ac_word...
" >&6; }
6992 if ${ac_cv_prog_NMEDIT+:} false; then :
6993 $as_echo_n "(cached
) " >&6
6995 if test -n "$NMEDIT"; then
6996 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7015 NMEDIT=$ac_cv_prog_NMEDIT
7016 if test -n "$NMEDIT"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7018 $as_echo "$NMEDIT" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7021 $as_echo "no
" >&6; }
7026 if test -z "$ac_cv_prog_NMEDIT"; then
7027 ac_ct_NMEDIT=$NMEDIT
7028 # Extract the first word of "nmedit
", so it can be a program name with args.
7029 set dummy nmedit; ac_word=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7031 $as_echo_n "checking
for $ac_word...
" >&6; }
7032 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7033 $as_echo_n "(cached
) " >&6
7035 if test -n "$ac_ct_NMEDIT"; then
7036 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir=.
7043 for ac_exec_ext in '' $ac_executable_extensions; do
7044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7045 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7055 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7056 if test -n "$ac_ct_NMEDIT"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7058 $as_echo "$ac_ct_NMEDIT" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7061 $as_echo "no
" >&6; }
7064 if test "x
$ac_ct_NMEDIT" = x; then
7067 case $cross_compiling:$ac_tool_warned in
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7070 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7071 ac_tool_warned=yes ;;
7073 NMEDIT=$ac_ct_NMEDIT
7076 NMEDIT="$ac_cv_prog_NMEDIT"
7079 if test -n "$ac_tool_prefix"; then
7080 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7081 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7083 $as_echo_n "checking
for $ac_word...
" >&6; }
7084 if ${ac_cv_prog_LIPO+:} false; then :
7085 $as_echo_n "(cached
) " >&6
7087 if test -n "$LIPO"; then
7088 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7107 LIPO=$ac_cv_prog_LIPO
7108 if test -n "$LIPO"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7110 $as_echo "$LIPO" >&6; }
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7113 $as_echo "no
" >&6; }
7118 if test -z "$ac_cv_prog_LIPO"; then
7120 # Extract the first word of "lipo
", so it can be a program name with args.
7121 set dummy lipo; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7123 $as_echo_n "checking
for $ac_word...
" >&6; }
7124 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7125 $as_echo_n "(cached
) " >&6
7127 if test -n "$ac_ct_LIPO"; then
7128 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7134 test -z "$as_dir" && as_dir=.
7135 for ac_exec_ext in '' $ac_executable_extensions; do
7136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7137 ac_cv_prog_ac_ct_LIPO="lipo
"
7138 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7147 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7148 if test -n "$ac_ct_LIPO"; then
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7150 $as_echo "$ac_ct_LIPO" >&6; }
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7153 $as_echo "no
" >&6; }
7156 if test "x
$ac_ct_LIPO" = x; then
7159 case $cross_compiling:$ac_tool_warned in
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7162 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7163 ac_tool_warned=yes ;;
7168 LIPO="$ac_cv_prog_LIPO"
7171 if test -n "$ac_tool_prefix"; then
7172 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7173 set dummy ${ac_tool_prefix}otool; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7175 $as_echo_n "checking
for $ac_word...
" >&6; }
7176 if ${ac_cv_prog_OTOOL+:} false; then :
7177 $as_echo_n "(cached
) " >&6
7179 if test -n "$OTOOL"; then
7180 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir=.
7187 for ac_exec_ext in '' $ac_executable_extensions; do
7188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7199 OTOOL=$ac_cv_prog_OTOOL
7200 if test -n "$OTOOL"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7202 $as_echo "$OTOOL" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7205 $as_echo "no
" >&6; }
7210 if test -z "$ac_cv_prog_OTOOL"; then
7212 # Extract the first word of "otool
", so it can be a program name with args.
7213 set dummy otool; ac_word=$2
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7215 $as_echo_n "checking
for $ac_word...
" >&6; }
7216 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7217 $as_echo_n "(cached
) " >&6
7219 if test -n "$ac_ct_OTOOL"; then
7220 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 test -z "$as_dir" && as_dir=.
7227 for ac_exec_ext in '' $ac_executable_extensions; do
7228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7229 ac_cv_prog_ac_ct_OTOOL="otool
"
7230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7239 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7240 if test -n "$ac_ct_OTOOL"; then
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7242 $as_echo "$ac_ct_OTOOL" >&6; }
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7245 $as_echo "no
" >&6; }
7248 if test "x
$ac_ct_OTOOL" = x; then
7251 case $cross_compiling:$ac_tool_warned in
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7254 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7255 ac_tool_warned=yes ;;
7260 OTOOL="$ac_cv_prog_OTOOL"
7263 if test -n "$ac_tool_prefix"; then
7264 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7265 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7267 $as_echo_n "checking
for $ac_word...
" >&6; }
7268 if ${ac_cv_prog_OTOOL64+:} false; then :
7269 $as_echo_n "(cached
) " >&6
7271 if test -n "$OTOOL64"; then
7272 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7278 test -z "$as_dir" && as_dir=.
7279 for ac_exec_ext in '' $ac_executable_extensions; do
7280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7291 OTOOL64=$ac_cv_prog_OTOOL64
7292 if test -n "$OTOOL64"; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7294 $as_echo "$OTOOL64" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7297 $as_echo "no
" >&6; }
7302 if test -z "$ac_cv_prog_OTOOL64"; then
7303 ac_ct_OTOOL64=$OTOOL64
7304 # Extract the first word of "otool64
", so it can be a program name with args.
7305 set dummy otool64; ac_word=$2
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7307 $as_echo_n "checking
for $ac_word...
" >&6; }
7308 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7309 $as_echo_n "(cached
) " >&6
7311 if test -n "$ac_ct_OTOOL64"; then
7312 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 test -z "$as_dir" && as_dir=.
7319 for ac_exec_ext in '' $ac_executable_extensions; do
7320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7321 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7331 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7332 if test -n "$ac_ct_OTOOL64"; then
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7334 $as_echo "$ac_ct_OTOOL64" >&6; }
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7337 $as_echo "no
" >&6; }
7340 if test "x
$ac_ct_OTOOL64" = x; then
7343 case $cross_compiling:$ac_tool_warned in
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7346 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7347 ac_tool_warned=yes ;;
7349 OTOOL64=$ac_ct_OTOOL64
7352 OTOOL64="$ac_cv_prog_OTOOL64"
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7382 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7383 if ${lt_cv_apple_cc_single_mod+:} false; then :
7384 $as_echo_n "(cached
) " >&6
7386 lt_cv_apple_cc_single_mod=no
7387 if test -z "$LT_MULTI_MODULE"; then
7388 # By default we will add the -single_module flag. You can override
7389 # by either setting the environment variable LT_MULTI_MODULE
7390 # non-empty at configure time, or by adding -multi_module to the
7392 rm -rf libconftest.dylib*
7393 echo "int foo
(void
){return 1;}" > conftest.c
7394 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7395 -dynamiclib -Wl,-single_module conftest.c
" >&5
7396 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7397 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7399 # If there is a non-empty error log, and "single_module
"
7400 # appears in it, assume the flag caused a linker warning
7401 if test -s conftest.err && $GREP single_module conftest.err; then
7402 cat conftest.err >&5
7403 # Otherwise, if the output was created with a 0 exit code from
7404 # the compiler, it worked.
7405 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7406 lt_cv_apple_cc_single_mod=yes
7408 cat conftest.err >&5
7410 rm -rf libconftest.dylib*
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7415 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7418 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7419 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7420 $as_echo_n "(cached
) " >&6
7422 lt_cv_ld_exported_symbols_list=no
7423 save_LDFLAGS=$LDFLAGS
7424 echo "_main
" > conftest.sym
7425 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7427 /* end confdefs.h. */
7437 if ac_fn_c_try_link "$LINENO"; then :
7438 lt_cv_ld_exported_symbols_list=yes
7440 lt_cv_ld_exported_symbols_list=no
7442 rm -f core conftest.err conftest.$ac_objext \
7443 conftest$ac_exeext conftest.$ac_ext
7444 LDFLAGS=$save_LDFLAGS
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7448 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7451 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7452 if ${lt_cv_ld_force_load+:} false; then :
7453 $as_echo_n "(cached
) " >&6
7455 lt_cv_ld_force_load=no
7456 cat > conftest.c << _LT_EOF
7457 int forced_loaded() { return 2;}
7459 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7460 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7461 echo "$AR cru libconftest.a conftest.o
" >&5
7462 $AR cru libconftest.a conftest.o 2>&5
7463 echo "$RANLIB libconftest.a
" >&5
7464 $RANLIB libconftest.a 2>&5
7465 cat > conftest.c << _LT_EOF
7466 int main() { return 0;}
7468 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7469 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7471 if test -s conftest.err && $GREP force_load conftest.err; then
7472 cat conftest.err >&5
7473 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7474 lt_cv_ld_force_load=yes
7476 cat conftest.err >&5
7478 rm -f conftest.err libconftest.a conftest conftest.c
7479 rm -rf conftest.dSYM
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7483 $as_echo "$lt_cv_ld_force_load" >&6; }
7485 rhapsody* | darwin1.[012])
7486 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7488 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7489 darwin*) # darwin 5.x on
7490 # if running on 10.5 or later, the deployment target defaults
7491 # to the OS version, if on x86, and 10.4, the deployment
7492 # target defaults to 10.4. Don't you love it?
7493 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7494 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7495 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7497 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7499 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7503 if test yes = "$lt_cv_apple_cc_single_mod"; then
7504 _lt_dar_single_mod='$single_module'
7506 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7507 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7509 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7511 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7512 _lt_dsymutil='~$DSYMUTIL $lib || :'
7519 # func_munge_path_list VARIABLE PATH
7520 # -----------------------------------
7521 # VARIABLE is name of variable containing _space_ separated list of
7522 # directories to be munged by the contents of PATH, which is string
7525 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7527 # string "DIR
[ DIR
]" will be appended to VARIABLE
7528 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7529 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7530 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7532 # VARIABLE will be replaced by "DIR
[ DIR
]"
7533 func_munge_path_list ()
7539 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7542 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7545 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7546 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7549 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7555 ac_cpp='$CPP $CPPFLAGS'
7556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7560 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7561 # On Suns, sometimes $CPP names a directory.
7562 if test -n "$CPP" && test -d "$CPP"; then
7565 if test -z "$CPP"; then
7566 if ${ac_cv_prog_CPP+:} false; then :
7567 $as_echo_n "(cached
) " >&6
7569 # Double quotes because CPP needs to be expanded
7570 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7573 for ac_c_preproc_warn_flag in '' yes
7575 # Use a header file that comes with gcc, so configuring glibc
7576 # with a fresh cross-compiler works.
7577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7578 # <limits.h> exists even on freestanding compilers.
7579 # On the NeXT, cc -E runs the code through the compiler's parser,
7580 # not just through cpp. "Syntax error
" is here to catch this case.
7581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7582 /* end confdefs.h. */
7584 # include <limits.h>
7586 # include <assert.h>
7590 if ac_fn_c_try_cpp "$LINENO"; then :
7593 # Broken: fails on valid input.
7596 rm -f conftest.err conftest.i conftest.$ac_ext
7598 # OK, works on sane cases. Now check whether nonexistent headers
7599 # can be detected and how.
7600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7602 #include <ac_nonexistent.h>
7604 if ac_fn_c_try_cpp "$LINENO"; then :
7605 # Broken: success on invalid input.
7608 # Passes both tests.
7612 rm -f conftest.err conftest.i conftest.$ac_ext
7615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7616 rm -f conftest.i conftest.err conftest.$ac_ext
7617 if $ac_preproc_ok; then :
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7630 $as_echo "$CPP" >&6; }
7632 for ac_c_preproc_warn_flag in '' yes
7634 # Use a header file that comes with gcc, so configuring glibc
7635 # with a fresh cross-compiler works.
7636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7637 # <limits.h> exists even on freestanding compilers.
7638 # On the NeXT, cc -E runs the code through the compiler's parser,
7639 # not just through cpp. "Syntax error
" is here to catch this case.
7640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h. */
7643 # include <limits.h>
7645 # include <assert.h>
7649 if ac_fn_c_try_cpp "$LINENO"; then :
7652 # Broken: fails on valid input.
7655 rm -f conftest.err conftest.i conftest.$ac_ext
7657 # OK, works on sane cases. Now check whether nonexistent headers
7658 # can be detected and how.
7659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h. */
7661 #include <ac_nonexistent.h>
7663 if ac_fn_c_try_cpp "$LINENO"; then :
7664 # Broken: success on invalid input.
7667 # Passes both tests.
7671 rm -f conftest.err conftest.i conftest.$ac_ext
7674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7675 rm -f conftest.i conftest.err conftest.$ac_ext
7676 if $ac_preproc_ok; then :
7679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7681 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7682 See \`config.log' for more details
" "$LINENO" 5; }
7686 ac_cpp='$CPP $CPPFLAGS'
7687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7693 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7694 if ${ac_cv_header_stdc+:} false; then :
7695 $as_echo_n "(cached
) " >&6
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7712 if ac_fn_c_try_compile "$LINENO"; then :
7713 ac_cv_header_stdc=yes
7715 ac_cv_header_stdc=no
7717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7719 if test $ac_cv_header_stdc = yes; then
7720 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7726 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7727 $EGREP "memchr
" >/dev/null 2>&1; then :
7730 ac_cv_header_stdc=no
7736 if test $ac_cv_header_stdc = yes; then
7737 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7743 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7744 $EGREP "free
" >/dev/null 2>&1; then :
7747 ac_cv_header_stdc=no
7753 if test $ac_cv_header_stdc = yes; then
7754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7755 if test "$cross_compiling" = yes; then :
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7762 #if ((' ' & 0x0FF) == 0x020)
7763 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7764 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7766 # define ISLOWER(c) \
7767 (('a' <= (c) && (c) <= 'i') \
7768 || ('j' <= (c) && (c) <= 'r') \
7769 || ('s' <= (c) && (c) <= 'z'))
7770 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7773 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7778 for (i = 0; i < 256; i++)
7779 if (XOR (islower (i), ISLOWER (i))
7780 || toupper (i) != TOUPPER (i))
7785 if ac_fn_c_try_run "$LINENO"; then :
7788 ac_cv_header_stdc=no
7790 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7791 conftest.$ac_objext conftest.beam conftest.$ac_ext
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7797 $as_echo "$ac_cv_header_stdc" >&6; }
7798 if test $ac_cv_header_stdc = yes; then
7800 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7804 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7805 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7806 inttypes.h stdint.h unistd.h
7808 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7809 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7811 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7812 cat >>confdefs.h
<<_ACEOF
7813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7821 for ac_header
in dlfcn.h
7823 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7825 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7826 cat >>confdefs.h
<<_ACEOF
7827 #define HAVE_DLFCN_H 1
7848 # Check whether --enable-shared was given.
7849 if test "${enable_shared+set}" = set; then :
7850 enableval
=$enable_shared; p
=${PACKAGE-default}
7852 yes) enable_shared
=yes ;;
7853 no
) enable_shared
=no
;;
7856 # Look at the argument we got. We use all the common list separators.
7857 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7858 for pkg
in $enableval; do
7860 if test "X$pkg" = "X$p"; then
7879 # Check whether --enable-static was given.
7880 if test "${enable_static+set}" = set; then :
7881 enableval
=$enable_static; p
=${PACKAGE-default}
7883 yes) enable_static
=yes ;;
7884 no
) enable_static
=no
;;
7887 # Look at the argument we got. We use all the common list separators.
7888 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7889 for pkg
in $enableval; do
7891 if test "X$pkg" = "X$p"; then
7911 # Check whether --with-pic was given.
7912 if test "${with_pic+set}" = set; then :
7913 withval
=$with_pic; lt_p
=${PACKAGE-default}
7915 yes|no
) pic_mode
=$withval ;;
7918 # Look at the argument we got. We use all the common list separators.
7919 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7920 for lt_pkg
in $withval; do
7922 if test "X$lt_pkg" = "X$lt_p"; then
7940 # Check whether --enable-fast-install was given.
7941 if test "${enable_fast_install+set}" = set; then :
7942 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7944 yes) enable_fast_install
=yes ;;
7945 no
) enable_fast_install
=no
;;
7947 enable_fast_install
=no
7948 # Look at the argument we got. We use all the common list separators.
7949 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7950 for pkg
in $enableval; do
7952 if test "X$pkg" = "X$p"; then
7953 enable_fast_install
=yes
7960 enable_fast_install
=yes
7970 shared_archive_member_spec
=
7971 case $host,$enable_shared in
7972 power
*-*-aix[5-9]*,yes)
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7974 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7976 # Check whether --with-aix-soname was given.
7977 if test "${with_aix_soname+set}" = set; then :
7978 withval
=$with_aix_soname; case $withval in
7982 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7985 lt_cv_with_aix_soname
=$with_aix_soname
7987 if ${lt_cv_with_aix_soname+:} false
; then :
7988 $as_echo_n "(cached) " >&6
7990 lt_cv_with_aix_soname
=aix
7993 with_aix_soname
=$lt_cv_with_aix_soname
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7997 $as_echo "$with_aix_soname" >&6; }
7998 if test aix
!= "$with_aix_soname"; then
7999 # For the AIX way of multilib, we name the shared archive member
8000 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8001 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8002 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8003 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8004 if test 64 = "${OBJECT_MODE-32}"; then
8005 shared_archive_member_spec
=shr_64
8007 shared_archive_member_spec
=shr
8025 # This can be used to rebuild libtool when needed
8026 LIBTOOL_DEPS
=$ltmain
8028 # Always use our own libtool.
8029 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8060 test -z "$LN_S" && LN_S
="ln -s"
8075 if test -n "${ZSH_VERSION+set}"; then
8076 setopt NO_GLOB_SUBST
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8080 $as_echo_n "checking for objdir... " >&6; }
8081 if ${lt_cv_objdir+:} false
; then :
8082 $as_echo_n "(cached) " >&6
8084 rm -f .libs
2>/dev
/null
8085 mkdir .libs
2>/dev
/null
8086 if test -d .libs
; then
8089 # MS-DOS does not allow filenames that begin with a dot.
8092 rmdir .libs
2>/dev
/null
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8095 $as_echo "$lt_cv_objdir" >&6; }
8096 objdir
=$lt_cv_objdir
8102 cat >>confdefs.h
<<_ACEOF
8103 #define LT_OBJDIR "$lt_cv_objdir/"
8111 # AIX sometimes has problems with the GCC collect2 program. For some
8112 # reason, if we set the COLLECT_NAMES environment variable, the problems
8113 # vanish in a puff of smoke.
8114 if test set != "${COLLECT_NAMES+set}"; then
8116 export COLLECT_NAMES
8123 can_build_shared
=yes
8125 # All known linkers require a '.a' archive for static linking (except MSVC,
8126 # which needs '.lib').
8129 with_gnu_ld
=$lt_cv_prog_gnu_ld
8134 # Set sane defaults for various variables
8135 test -z "$CC" && CC
=cc
8136 test -z "$LTCC" && LTCC
=$CC
8137 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8138 test -z "$LD" && LD
=ld
8139 test -z "$ac_objext" && ac_objext
=o
8141 func_cc_basename
$compiler
8142 cc_basename
=$func_cc_basename_result
8145 # Only perform the check for file, if the check method requires it
8146 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8147 case $deplibs_check_method in
8149 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8151 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8152 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8153 $as_echo_n "(cached) " >&6
8157 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8160 lt_save_MAGIC_CMD
=$MAGIC_CMD
8161 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8162 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8163 for ac_dir
in $ac_dummy; do
8165 test -z "$ac_dir" && ac_dir
=.
8166 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8167 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8168 if test -n "$file_magic_test_file"; then
8169 case $deplibs_check_method in
8171 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8172 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8173 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8174 $EGREP "$file_magic_regex" > /dev
/null
; then
8179 *** Warning: the command libtool uses to detect shared libraries,
8180 *** $file_magic_cmd, produces output that libtool cannot recognize.
8181 *** The result is that libtool may fail to recognize shared libraries
8182 *** as such. This will affect the creation of libtool libraries that
8183 *** depend on shared libraries, but programs linked with such libtool
8184 *** libraries will work regardless of this problem. Nevertheless, you
8185 *** may want to report the problem to your system manager and/or to
8186 *** bug-libtool@gnu.org
8196 MAGIC_CMD
=$lt_save_MAGIC_CMD
8201 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8202 if test -n "$MAGIC_CMD"; then
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8204 $as_echo "$MAGIC_CMD" >&6; }
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8207 $as_echo "no" >&6; }
8214 if test -z "$lt_cv_path_MAGIC_CMD"; then
8215 if test -n "$ac_tool_prefix"; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8217 $as_echo_n "checking for file... " >&6; }
8218 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8219 $as_echo_n "(cached) " >&6
8223 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8226 lt_save_MAGIC_CMD
=$MAGIC_CMD
8227 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8228 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8229 for ac_dir
in $ac_dummy; do
8231 test -z "$ac_dir" && ac_dir
=.
8232 if test -f "$ac_dir/file"; then
8233 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8234 if test -n "$file_magic_test_file"; then
8235 case $deplibs_check_method in
8237 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8238 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8239 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8240 $EGREP "$file_magic_regex" > /dev
/null
; then
8245 *** Warning: the command libtool uses to detect shared libraries,
8246 *** $file_magic_cmd, produces output that libtool cannot recognize.
8247 *** The result is that libtool may fail to recognize shared libraries
8248 *** as such. This will affect the creation of libtool libraries that
8249 *** depend on shared libraries, but programs linked with such libtool
8250 *** libraries will work regardless of this problem. Nevertheless, you
8251 *** may want to report the problem to your system manager and/or to
8252 *** bug-libtool@gnu.org
8262 MAGIC_CMD
=$lt_save_MAGIC_CMD
8267 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8268 if test -n "$MAGIC_CMD"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8270 $as_echo "$MAGIC_CMD" >&6; }
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8286 # Use C for the default configuration in the libtool script
8290 ac_cpp
='$CPP $CPPFLAGS'
8291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8296 # Source file extension for C test sources.
8299 # Object file extension for compiled C test sources.
8303 # Code to be used in simple compile tests
8304 lt_simple_compile_test_code
="int some_variable = 0;"
8306 # Code to be used in simple link tests
8307 lt_simple_link_test_code
='int main(){return(0);}'
8315 # If no C compiler was specified, use CC.
8318 # If no C compiler flags were specified, use CFLAGS.
8319 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8321 # Allow CC to be a program name with arguments.
8324 # Save the default compiler, since it gets overwritten when the other
8325 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8326 compiler_DEFAULT
=$CC
8328 # save warnings/boilerplate of simple test code
8329 ac_outfile
=conftest.
$ac_objext
8330 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8331 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8332 _lt_compiler_boilerplate
=`cat conftest.err`
8335 ac_outfile
=conftest.
$ac_objext
8336 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8337 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8338 _lt_linker_boilerplate
=`cat conftest.err`
8343 ## There is no encapsulation within the following macros, do not change
8344 ## the running order or otherwise move them around unless you know exactly
8345 ## what you are doing...
8346 if test -n "$compiler"; then
8348 lt_prog_compiler_no_builtin_flag
=
8350 if test yes = "$GCC"; then
8351 case $cc_basename in
8353 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8355 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8359 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8360 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8361 $as_echo_n "(cached) " >&6
8363 lt_cv_prog_compiler_rtti_exceptions
=no
8364 ac_outfile
=conftest.
$ac_objext
8365 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8366 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8367 # Insert the option either (1) after the last *FLAGS variable, or
8368 # (2) before a word containing "conftest.", or (3) at the end.
8369 # Note that $ac_compile itself does not contain backslashes and begins
8370 # with a dollar sign (not a hyphen), so the echo should work correctly.
8371 # The option is referenced via a variable to avoid confusing sed.
8372 lt_compile
=`echo "$ac_compile" | $SED \
8373 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8374 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8375 -e 's:$: $lt_compiler_flag:'`
8376 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8377 (eval "$lt_compile" 2>conftest.err
)
8379 cat conftest.err
>&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 if (exit $ac_status) && test -s "$ac_outfile"; then
8382 # The compiler can only warn and ignore the option if not recognized
8383 # So say no if there are warnings other than the usual output.
8384 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8385 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8386 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8387 lt_cv_prog_compiler_rtti_exceptions
=yes
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8394 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8396 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8397 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8409 lt_prog_compiler_wl
=
8410 lt_prog_compiler_pic
=
8411 lt_prog_compiler_static
=
8414 if test yes = "$GCC"; then
8415 lt_prog_compiler_wl
='-Wl,'
8416 lt_prog_compiler_static
='-static'
8420 # All AIX code is PIC.
8421 if test ia64
= "$host_cpu"; then
8422 # AIX 5 now supports IA64 processor
8423 lt_prog_compiler_static
='-Bstatic'
8425 lt_prog_compiler_pic
='-fPIC'
8431 # see comment about AmigaOS4 .so support
8432 lt_prog_compiler_pic
='-fPIC'
8435 # FIXME: we need at least 68020 code to build shared libraries, but
8436 # adding the '-m68020' flag to GCC prevents building anything better,
8438 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8443 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8444 # PIC is the default for these OSes.
8447 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8448 # This hack is so that the source file can tell whether it is being
8449 # built for inclusion in a dll (and should export symbols for example).
8450 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8451 # (--disable-auto-import) libraries
8452 lt_prog_compiler_pic
='-DDLL_EXPORT'
8455 lt_prog_compiler_static
='$wl-static'
8460 darwin
* | rhapsody
*)
8461 # PIC is the default on this platform
8462 # Common symbols not allowed in MH_DYLIB files
8463 lt_prog_compiler_pic
='-fno-common'
8467 # PIC is the default for Haiku.
8468 # The "-static" flag exists, but is broken.
8469 lt_prog_compiler_static
=
8473 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8474 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8475 # sets the default TLS model and affects inlining.
8481 lt_prog_compiler_pic
='-fPIC'
8487 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8488 # Instead, we relocate shared libraries at runtime.
8492 # Just because we use GCC doesn't mean we suddenly get shared libraries
8493 # on systems that don't support them.
8494 lt_prog_compiler_can_build_shared
=no
8499 # QNX uses GNU C++, but need to define -shared option too, otherwise
8501 lt_prog_compiler_pic
='-fPIC -shared'
8505 if test -d /usr
/nec
; then
8506 lt_prog_compiler_pic
=-Kconform_pic
8511 lt_prog_compiler_pic
='-fPIC'
8515 case $cc_basename in
8516 nvcc
*) # Cuda Compiler Driver 2.2
8517 lt_prog_compiler_wl
='-Xlinker '
8518 if test -n "$lt_prog_compiler_pic"; then
8519 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8524 # PORTME Check for flag to pass linker flags through the system compiler.
8527 lt_prog_compiler_wl
='-Wl,'
8528 if test ia64
= "$host_cpu"; then
8529 # AIX 5 now supports IA64 processor
8530 lt_prog_compiler_static
='-Bstatic'
8532 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8536 darwin
* | rhapsody
*)
8537 # PIC is the default on this platform
8538 # Common symbols not allowed in MH_DYLIB files
8539 lt_prog_compiler_pic
='-fno-common'
8540 case $cc_basename in
8542 # NAG Fortran compiler
8543 lt_prog_compiler_wl
='-Wl,-Wl,,'
8544 lt_prog_compiler_pic
='-PIC'
8545 lt_prog_compiler_static
='-Bstatic'
8550 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8551 # This hack is so that the source file can tell whether it is being
8552 # built for inclusion in a dll (and should export symbols for example).
8553 lt_prog_compiler_pic
='-DDLL_EXPORT'
8556 lt_prog_compiler_static
='$wl-static'
8561 hpux9
* | hpux10
* | hpux11
*)
8562 lt_prog_compiler_wl
='-Wl,'
8563 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8570 lt_prog_compiler_pic
='+Z'
8573 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8574 lt_prog_compiler_static
='$wl-a ${wl}archive'
8577 irix5
* | irix6
* | nonstopux
*)
8578 lt_prog_compiler_wl
='-Wl,'
8579 # PIC (with -KPIC) is the default.
8580 lt_prog_compiler_static
='-non_shared'
8583 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8584 case $cc_basename in
8585 # old Intel for x86_64, which still supported -KPIC.
8587 lt_prog_compiler_wl
='-Wl,'
8588 lt_prog_compiler_pic
='-KPIC'
8589 lt_prog_compiler_static
='-static'
8591 # icc used to be incompatible with GCC.
8592 # ICC 10 doesn't accept -KPIC any more.
8594 lt_prog_compiler_wl
='-Wl,'
8595 lt_prog_compiler_pic
='-fPIC'
8596 lt_prog_compiler_static
='-static'
8598 # Lahey Fortran 8.1.
8600 lt_prog_compiler_wl
='-Wl,'
8601 lt_prog_compiler_pic
='--shared'
8602 lt_prog_compiler_static
='--static'
8605 # NAG Fortran compiler
8606 lt_prog_compiler_wl
='-Wl,-Wl,,'
8607 lt_prog_compiler_pic
='-PIC'
8608 lt_prog_compiler_static
='-Bstatic'
8611 # Fabrice Bellard et al's Tiny C Compiler
8612 lt_prog_compiler_wl
='-Wl,'
8613 lt_prog_compiler_pic
='-fPIC'
8614 lt_prog_compiler_static
='-static'
8616 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8617 # Portland Group compilers (*not* the Pentium gcc compiler,
8618 # which looks to be a dead project)
8619 lt_prog_compiler_wl
='-Wl,'
8620 lt_prog_compiler_pic
='-fpic'
8621 lt_prog_compiler_static
='-Bstatic'
8624 lt_prog_compiler_wl
='-Wl,'
8625 # All Alpha code is PIC.
8626 lt_prog_compiler_static
='-non_shared'
8628 xl
* | bgxl
* | bgf
* | mpixl
*)
8629 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8630 lt_prog_compiler_wl
='-Wl,'
8631 lt_prog_compiler_pic
='-qpic'
8632 lt_prog_compiler_static
='-qstaticlink'
8635 case `$CC -V 2>&1 | sed 5q` in
8636 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8637 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8638 lt_prog_compiler_pic
='-KPIC'
8639 lt_prog_compiler_static
='-Bstatic'
8640 lt_prog_compiler_wl
=''
8642 *Sun\ F
* |
*Sun
*Fortran
*)
8643 lt_prog_compiler_pic
='-KPIC'
8644 lt_prog_compiler_static
='-Bstatic'
8645 lt_prog_compiler_wl
='-Qoption ld '
8649 lt_prog_compiler_pic
='-KPIC'
8650 lt_prog_compiler_static
='-Bstatic'
8651 lt_prog_compiler_wl
='-Wl,'
8653 *Intel
*\
[CF
]*Compiler
*)
8654 lt_prog_compiler_wl
='-Wl,'
8655 lt_prog_compiler_pic
='-fPIC'
8656 lt_prog_compiler_static
='-static'
8659 lt_prog_compiler_wl
='-Wl,'
8660 lt_prog_compiler_pic
='-fpic'
8661 lt_prog_compiler_static
='-Bstatic'
8669 lt_prog_compiler_pic
='-KPIC'
8670 lt_prog_compiler_static
='-Bstatic'
8674 # QNX uses GNU C++, but need to define -shared option too, otherwise
8676 lt_prog_compiler_pic
='-fPIC -shared'
8679 osf3
* | osf4
* | osf5
*)
8680 lt_prog_compiler_wl
='-Wl,'
8681 # All OSF/1 code is PIC.
8682 lt_prog_compiler_static
='-non_shared'
8686 lt_prog_compiler_static
='-non_shared'
8690 lt_prog_compiler_pic
='-KPIC'
8691 lt_prog_compiler_static
='-Bstatic'
8692 case $cc_basename in
8693 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8694 lt_prog_compiler_wl
='-Qoption ld ';;
8696 lt_prog_compiler_wl
='-Wl,';;
8701 lt_prog_compiler_wl
='-Qoption ld '
8702 lt_prog_compiler_pic
='-PIC'
8703 lt_prog_compiler_static
='-Bstatic'
8706 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8707 lt_prog_compiler_wl
='-Wl,'
8708 lt_prog_compiler_pic
='-KPIC'
8709 lt_prog_compiler_static
='-Bstatic'
8713 if test -d /usr
/nec
; then
8714 lt_prog_compiler_pic
='-Kconform_pic'
8715 lt_prog_compiler_static
='-Bstatic'
8719 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8720 lt_prog_compiler_wl
='-Wl,'
8721 lt_prog_compiler_pic
='-KPIC'
8722 lt_prog_compiler_static
='-Bstatic'
8726 lt_prog_compiler_wl
='-Wl,'
8727 lt_prog_compiler_can_build_shared
=no
8731 lt_prog_compiler_pic
='-pic'
8732 lt_prog_compiler_static
='-Bstatic'
8736 lt_prog_compiler_can_build_shared
=no
8742 # For platforms that do not support PIC, -DPIC is meaningless:
8744 lt_prog_compiler_pic
=
8747 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8752 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8753 if ${lt_cv_prog_compiler_pic+:} false
; then :
8754 $as_echo_n "(cached) " >&6
8756 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8759 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8760 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8763 # Check to make sure the PIC flag actually works.
8765 if test -n "$lt_prog_compiler_pic"; then
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8767 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8768 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8769 $as_echo_n "(cached) " >&6
8771 lt_cv_prog_compiler_pic_works
=no
8772 ac_outfile
=conftest.
$ac_objext
8773 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8774 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8775 # Insert the option either (1) after the last *FLAGS variable, or
8776 # (2) before a word containing "conftest.", or (3) at the end.
8777 # Note that $ac_compile itself does not contain backslashes and begins
8778 # with a dollar sign (not a hyphen), so the echo should work correctly.
8779 # The option is referenced via a variable to avoid confusing sed.
8780 lt_compile
=`echo "$ac_compile" | $SED \
8781 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8783 -e 's:$: $lt_compiler_flag:'`
8784 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8785 (eval "$lt_compile" 2>conftest.err
)
8787 cat conftest.err
>&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 if (exit $ac_status) && test -s "$ac_outfile"; then
8790 # The compiler can only warn and ignore the option if not recognized
8791 # So say no if there are warnings other than the usual output.
8792 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8793 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8794 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8795 lt_cv_prog_compiler_pic_works
=yes
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8802 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8804 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8805 case $lt_prog_compiler_pic in
8807 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8810 lt_prog_compiler_pic
=
8811 lt_prog_compiler_can_build_shared
=no
8827 # Check to make sure the static flag actually works.
8829 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8831 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8832 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8833 $as_echo_n "(cached) " >&6
8835 lt_cv_prog_compiler_static_works
=no
8836 save_LDFLAGS
=$LDFLAGS
8837 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8838 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8839 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8840 # The linker can only warn and ignore the option if not recognized
8841 # So say no if there are warnings
8842 if test -s conftest.err
; then
8843 # Append any errors to the config.log.
8844 cat conftest.err
1>&5
8845 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8846 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8847 if diff conftest.exp conftest.er2
>/dev
/null
; then
8848 lt_cv_prog_compiler_static_works
=yes
8851 lt_cv_prog_compiler_static_works
=yes
8855 LDFLAGS
=$save_LDFLAGS
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8859 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8861 if test yes = "$lt_cv_prog_compiler_static_works"; then
8864 lt_prog_compiler_static
=
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8874 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8875 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8876 $as_echo_n "(cached) " >&6
8878 lt_cv_prog_compiler_c_o
=no
8879 $RM -r conftest
2>/dev
/null
8883 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8885 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8886 # Insert the option either (1) after the last *FLAGS variable, or
8887 # (2) before a word containing "conftest.", or (3) at the end.
8888 # Note that $ac_compile itself does not contain backslashes and begins
8889 # with a dollar sign (not a hyphen), so the echo should work correctly.
8890 lt_compile
=`echo "$ac_compile" | $SED \
8891 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8892 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8893 -e 's:$: $lt_compiler_flag:'`
8894 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8895 (eval "$lt_compile" 2>out
/conftest.err
)
8897 cat out
/conftest.err
>&5
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8901 # The compiler can only warn and ignore the option if not recognized
8902 # So say no if there are warnings
8903 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8904 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8905 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8906 lt_cv_prog_compiler_c_o
=yes
8911 # SGI C++ compiler will create directory out/ii_files/ for
8912 # template instantiation
8913 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8914 $RM out
/* && rmdir out
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8921 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8931 $as_echo_n "(cached) " >&6
8933 lt_cv_prog_compiler_c_o
=no
8934 $RM -r conftest
2>/dev
/null
8938 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8940 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile
=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out
/conftest.err
)
8952 cat out
/conftest.err
>&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8960 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8961 lt_cv_prog_compiler_c_o
=yes
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8969 $RM out
/* && rmdir out
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8981 hard_links
=nottested
8982 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8983 # do not overwrite the value of need_locks provided by the user
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8985 $as_echo_n "checking if we can lock with hard links... " >&6; }
8988 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8990 ln conftest.a conftest.b
2>&5 || hard_links
=no
8991 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8993 $as_echo "$hard_links" >&6; }
8994 if test no
= "$hard_links"; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8996 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9009 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9012 allow_undefined_flag
=
9013 always_export_symbols
=no
9015 archive_expsym_cmds
=
9016 compiler_needs_object
=no
9017 enable_shared_with_static_runtimes
=no
9018 export_dynamic_flag_spec
=
9019 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9020 hardcode_automatic
=no
9022 hardcode_direct_absolute
=no
9023 hardcode_libdir_flag_spec
=
9024 hardcode_libdir_separator
=
9026 hardcode_shlibpath_var
=unsupported
9028 link_all_deplibs
=unknown
9031 old_archive_from_new_cmds
=
9032 old_archive_from_expsyms_cmds
=
9033 thread_safe_flag_spec
=
9034 whole_archive_flag_spec
=
9035 # include_expsyms should be a list of space-separated symbols to be *always*
9036 # included in the symbol list
9038 # exclude_expsyms can be an extended regexp of symbols to exclude
9039 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9040 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9041 # as well as any symbol that contains 'd'.
9042 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9043 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9044 # platforms (ab)use it in PIC code, but their linkers get confused if
9045 # the symbol is explicitly referenced. Since portable code cannot
9046 # rely on this symbol name, it's probably fine to never include it in
9047 # preloaded symbol tables.
9048 # Exclude shared library initialization/finalization symbols.
9049 extract_expsyms_cmds
=
9052 cygwin
* | mingw
* | pw32
* | cegcc
*)
9053 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9054 # When not using gcc, we currently assume that we are using
9055 # Microsoft Visual C++.
9056 if test yes != "$GCC"; then
9061 # we just hope/assume this is gcc and not c89 (= MSVC++)
9067 linux
* | k
*bsd
*-gnu | gnu
*)
9074 # On some targets, GNU ld is compatible enough with the native linker
9075 # that we're better off using the native interface for both.
9076 lt_use_gnu_ld_interface
=no
9077 if test yes = "$with_gnu_ld"; then
9080 # The AIX port of GNU ld has always aspired to compatibility
9081 # with the native linker. However, as the warning in the GNU ld
9082 # block says, versions before 2.19.5* couldn't really create working
9083 # shared libraries, regardless of the interface used.
9084 case `$LD -v 2>&1` in
9085 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9086 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9087 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9089 lt_use_gnu_ld_interface
=yes
9094 lt_use_gnu_ld_interface
=yes
9099 if test yes = "$lt_use_gnu_ld_interface"; then
9100 # If archive_cmds runs LD, not CC, wlarc should be empty
9103 # Set some defaults for GNU ld with shared library support. These
9104 # are reset later if shared libraries are not supported. Putting them
9105 # here allows them to be overridden if necessary.
9106 runpath_var
=LD_RUN_PATH
9107 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9108 export_dynamic_flag_spec
='$wl--export-dynamic'
9109 # ancient GNU ld didn't support --whole-archive et. al.
9110 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9111 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9113 whole_archive_flag_spec
=
9115 supports_anon_versioning
=no
9116 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9117 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9118 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9119 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9120 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9121 *\
2.11.
*) ;; # other 2.11 versions
9122 *) supports_anon_versioning
=yes ;;
9125 # See if GNU ld supports shared libraries.
9128 # On AIX/PPC, the GNU linker is very broken
9129 if test ia64
!= "$host_cpu"; then
9133 *** Warning: the GNU linker, at least up to release 2.19, is reported
9134 *** to be unable to reliably create shared libraries on AIX.
9135 *** Therefore, libtool is disabling shared libraries support. If you
9136 *** really care for shared libraries, you may want to install binutils
9137 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9138 *** You will then need to restart the configuration process.
9147 # see comment about AmigaOS4 .so support
9148 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9149 archive_expsym_cmds
=''
9152 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)'
9153 hardcode_libdir_flag_spec
='-L$libdir'
9154 hardcode_minus_L
=yes
9160 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9161 allow_undefined_flag
=unsupported
9162 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9163 # support --undefined. This deserves some investigation. FIXME
9164 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9170 cygwin
* | mingw
* | pw32
* | cegcc
*)
9171 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9172 # as there is no search path for DLLs.
9173 hardcode_libdir_flag_spec
='-L$libdir'
9174 export_dynamic_flag_spec
='$wl--export-all-symbols'
9175 allow_undefined_flag
=unsupported
9176 always_export_symbols
=no
9177 enable_shared_with_static_runtimes
=yes
9178 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'
9179 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9181 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9182 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9183 # If the export-symbols file already is a .def file, use it as
9184 # is; otherwise, prepend EXPORTS...
9185 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9186 cp $export_symbols $output_objdir/$soname.def;
9188 echo EXPORTS > $output_objdir/$soname.def;
9189 cat $export_symbols >> $output_objdir/$soname.def;
9191 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9198 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9199 link_all_deplibs
=yes
9203 hardcode_libdir_flag_spec
='-L$libdir'
9204 hardcode_minus_L
=yes
9205 allow_undefined_flag
=unsupported
9207 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9208 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9209 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9210 $ECHO EXPORTS >> $output_objdir/$libname.def~
9211 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9212 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9213 emximp -o $lib $output_objdir/$libname.def'
9214 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9215 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9216 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9217 $ECHO EXPORTS >> $output_objdir/$libname.def~
9219 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9220 prefix_cmds="$prefix_cmds -e 1d";
9222 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9223 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9224 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9225 emximp -o $lib $output_objdir/$libname.def'
9226 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9227 enable_shared_with_static_runtimes
=yes
9232 hardcode_shlibpath_var
=no
9233 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9234 export_dynamic_flag_spec
='$wl-E'
9235 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9236 # Instead, shared libraries are loaded at an image base (0x10000000 by
9237 # default) and relocated if they conflict, which is a slow very memory
9238 # consuming and fragmenting process. To avoid this, we pick a random,
9239 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9240 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9241 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9242 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'
9245 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9247 if test linux-dietlibc
= "$host_os"; then
9248 case $cc_basename in
9249 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9252 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9253 && test no
= "$tmp_diet"
9255 tmp_addflag
=' $pic_flag'
9256 tmp_sharedflag
='-shared'
9257 case $cc_basename,$host_cpu in
9258 pgcc
*) # Portland Group C compiler
9259 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'
9260 tmp_addflag
=' $pic_flag'
9262 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9263 # Portland Group f77 and f90 compilers
9264 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'
9265 tmp_addflag
=' $pic_flag -Mnomain' ;;
9266 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9267 tmp_addflag
=' -i_dynamic' ;;
9268 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9269 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9270 ifc
* | ifort
*) # Intel Fortran compiler
9271 tmp_addflag
=' -nofor_main' ;;
9272 lf95
*) # Lahey Fortran 8.1
9273 whole_archive_flag_spec
=
9274 tmp_sharedflag
='--shared' ;;
9275 nagfor
*) # NAGFOR 5.3
9276 tmp_sharedflag
='-Wl,-shared' ;;
9277 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9278 tmp_sharedflag
='-qmkshrobj'
9280 nvcc
*) # Cuda Compiler Driver 2.2
9281 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'
9282 compiler_needs_object
=yes
9285 case `$CC -V 2>&1 | sed 5q` in
9286 *Sun\ C
*) # Sun C 5.9
9287 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'
9288 compiler_needs_object
=yes
9289 tmp_sharedflag
='-G' ;;
9290 *Sun\ F
*) # Sun Fortran 8.3
9291 tmp_sharedflag
='-G' ;;
9293 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9295 if test yes = "$supports_anon_versioning"; then
9296 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9297 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9298 echo "local: *; };" >> $output_objdir/$libname.ver~
9299 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9302 case $cc_basename in
9304 export_dynamic_flag_spec
='-rdynamic'
9306 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9307 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9308 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9309 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9310 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9311 if test yes = "$supports_anon_versioning"; then
9312 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9313 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9314 echo "local: *; };" >> $output_objdir/$libname.ver~
9315 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9324 netbsd
* | netbsdelf
*-gnu)
9325 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9326 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9329 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9330 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9335 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9339 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9340 *** create shared libraries on Solaris systems. Therefore, libtool
9341 *** is disabling shared libraries support. We urge you to upgrade GNU
9342 *** binutils to release 2.9.1 or newer. Another option is to modify
9343 *** your PATH or compiler configuration so that the native linker is
9344 *** used, and then restart.
9347 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9348 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9349 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9355 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9356 case `$LD -v 2>&1` in
9357 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9361 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9362 *** reliably create shared libraries on SCO systems. Therefore, libtool
9363 *** is disabling shared libraries support. We urge you to upgrade GNU
9364 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9365 *** your PATH or compiler configuration so that the native linker is
9366 *** used, and then restart.
9371 # For security reasons, it is highly recommended that you always
9372 # use absolute paths for naming shared libraries, and exclude the
9373 # DT_RUNPATH tag from executables and libraries. But doing so
9374 # requires that you compile everything twice, which is a pain.
9375 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9376 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9377 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9378 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9387 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9390 hardcode_shlibpath_var
=no
9394 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9395 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9396 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9403 if test no
= "$ld_shlibs"; then
9405 hardcode_libdir_flag_spec
=
9406 export_dynamic_flag_spec
=
9407 whole_archive_flag_spec
=
9410 # PORTME fill in a description of your system's linker (not GNU ld)
9413 allow_undefined_flag
=unsupported
9414 always_export_symbols
=yes
9415 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'
9416 # Note: this linker hardcodes the directories in LIBPATH if there
9417 # are no directories specified by -L.
9418 hardcode_minus_L
=yes
9419 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9420 # Neither direct hardcoding nor static linking is supported with a
9422 hardcode_direct
=unsupported
9427 if test ia64
= "$host_cpu"; then
9428 # On IA64, the linker does run time linking by default, so we don't
9429 # have to do anything special.
9430 aix_use_runtimelinking
=no
9431 exp_sym_flag
='-Bexport'
9434 # If we're using GNU nm, then we don't want the "-C" option.
9435 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9436 # Without the "-l" option, or with the "-B" option, AIX nm treats
9437 # weak defined symbols like other global defined symbols, whereas
9438 # GNU nm marks them as "W".
9439 # While the 'weak' keyword is ignored in the Export File, we need
9440 # it in the Import File for the 'aix-soname' feature, so we have
9441 # to replace the "-B" option with "-P" for AIX nm.
9442 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9443 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'
9445 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'
9447 aix_use_runtimelinking
=no
9449 # Test if we are trying to use run time linking or normal
9450 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9451 # have runtime linking enabled, and use it for executables.
9452 # For shared libraries, we enable/disable runtime linking
9453 # depending on the kind of the shared library created -
9454 # when "with_aix_soname,aix_use_runtimelinking" is:
9455 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9456 # "aix,yes" lib.so shared, rtl:yes, for executables
9457 # lib.a static archive
9458 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9459 # lib.a(lib.so.V) shared, rtl:no, for executables
9460 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9461 # lib.a(lib.so.V) shared, rtl:no
9462 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9463 # lib.a static archive
9464 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9465 for ld_flag
in $LDFLAGS; do
9466 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9467 aix_use_runtimelinking
=yes
9471 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9472 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9473 # so we don't have lib.a shared libs to link our executables.
9474 # We have to force runtime linking in this case.
9475 aix_use_runtimelinking
=yes
9476 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9481 exp_sym_flag
='-bexport'
9482 no_entry_flag
='-bnoentry'
9485 # When large executables or shared objects are built, AIX ld can
9486 # have problems creating the table of contents. If linking a library
9487 # or program results in "error TOC overflow" add -mminimal-toc to
9488 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9489 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9493 hardcode_direct_absolute
=yes
9494 hardcode_libdir_separator
=':'
9495 link_all_deplibs
=yes
9496 file_list_spec
='$wl-f,'
9497 case $with_aix_soname,$aix_use_runtimelinking in
9498 aix
,*) ;; # traditional, no import file
9499 svr4
,* |
*,yes) # use import file
9500 # The Import File defines what to hardcode.
9502 hardcode_direct_absolute
=no
9506 if test yes = "$GCC"; then
9507 case $host_os in aix4.
[012]|aix4.
[012].
*)
9508 # We only want to do this on AIX 4.2 and lower, the check
9509 # below for broken collect2 doesn't work under 4.3+
9510 collect2name
=`$CC -print-prog-name=collect2`
9511 if test -f "$collect2name" &&
9512 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9514 # We have reworked collect2
9517 # We have old collect2
9518 hardcode_direct
=unsupported
9519 # It fails to find uninstalled libraries when the uninstalled
9520 # path is not listed in the libpath. Setting hardcode_minus_L
9521 # to unsupported forces relinking
9522 hardcode_minus_L
=yes
9523 hardcode_libdir_flag_spec
='-L$libdir'
9524 hardcode_libdir_separator
=
9528 shared_flag
='-shared'
9529 if test yes = "$aix_use_runtimelinking"; then
9530 shared_flag
="$shared_flag "'$wl-G'
9532 # Need to ensure runtime linking is disabled for the traditional
9533 # shared library, or the linker may eventually find shared libraries
9534 # /with/ Import File - we do not want to mix them.
9535 shared_flag_aix
='-shared'
9536 shared_flag_svr4
='-shared $wl-G'
9539 if test ia64
= "$host_cpu"; then
9540 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9541 # chokes on -Wl,-G. The following line is correct:
9544 if test yes = "$aix_use_runtimelinking"; then
9547 shared_flag
='$wl-bM:SRE'
9549 shared_flag_aix
='$wl-bM:SRE'
9550 shared_flag_svr4
='$wl-G'
9554 export_dynamic_flag_spec
='$wl-bexpall'
9555 # It seems that -bexpall does not export symbols beginning with
9556 # underscore (_), so it is better to generate a list of symbols to export.
9557 always_export_symbols
=yes
9558 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9559 # Warning - without using the other runtime loading flags (-brtl),
9560 # -berok will link without error, but may produce a broken library.
9561 allow_undefined_flag
='-berok'
9562 # Determine the default libpath from the value encoded in an
9564 if test set = "${lt_cv_aix_libpath+set}"; then
9565 aix_libpath
=$lt_cv_aix_libpath
9567 if ${lt_cv_aix_libpath_+:} false
; then :
9568 $as_echo_n "(cached) " >&6
9570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9581 if ac_fn_c_try_link
"$LINENO"; then :
9583 lt_aix_libpath_sed
='
9584 /Import File Strings/,/^$/ {
9586 s/^0 *\([^ ]*\) *$/\1/
9590 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 # Check for a 64-bit object if we didn't find anything.
9592 if test -z "$lt_cv_aix_libpath_"; then
9593 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9596 rm -f core conftest.err conftest.
$ac_objext \
9597 conftest
$ac_exeext conftest.
$ac_ext
9598 if test -z "$lt_cv_aix_libpath_"; then
9599 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9604 aix_libpath
=$lt_cv_aix_libpath_
9607 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9608 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
9610 if test ia64
= "$host_cpu"; then
9611 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9612 allow_undefined_flag
="-z nodefs"
9613 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"
9615 # Determine the default libpath from the value encoded in an
9617 if test set = "${lt_cv_aix_libpath+set}"; then
9618 aix_libpath
=$lt_cv_aix_libpath
9620 if ${lt_cv_aix_libpath_+:} false
; then :
9621 $as_echo_n "(cached) " >&6
9623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9634 if ac_fn_c_try_link
"$LINENO"; then :
9636 lt_aix_libpath_sed
='
9637 /Import File Strings/,/^$/ {
9639 s/^0 *\([^ ]*\) *$/\1/
9643 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9644 # Check for a 64-bit object if we didn't find anything.
9645 if test -z "$lt_cv_aix_libpath_"; then
9646 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9649 rm -f core conftest.err conftest.
$ac_objext \
9650 conftest
$ac_exeext conftest.
$ac_ext
9651 if test -z "$lt_cv_aix_libpath_"; then
9652 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9657 aix_libpath
=$lt_cv_aix_libpath_
9660 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9661 # Warning - without using the other run time loading flags,
9662 # -berok will link without error, but may produce a broken library.
9663 no_undefined_flag
=' $wl-bernotok'
9664 allow_undefined_flag
=' $wl-berok'
9665 if test yes = "$with_gnu_ld"; then
9666 # We only use this code for GNU lds that support --whole-archive.
9667 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9669 # Exported symbols can be pulled into shared objects from archives
9670 whole_archive_flag_spec
='$convenience'
9672 archive_cmds_need_lc
=yes
9673 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9674 # -brtl affects multiple linker settings, -berok does not and is overridden later
9675 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9676 if test svr4
!= "$with_aix_soname"; then
9677 # This is similar to how AIX traditionally builds its shared libraries.
9678 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'
9680 if test aix
!= "$with_aix_soname"; then
9681 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'
9683 # used by -dlpreopen to get the symbols
9684 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9686 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9694 # see comment about AmigaOS4 .so support
9695 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9696 archive_expsym_cmds
=''
9699 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)'
9700 hardcode_libdir_flag_spec
='-L$libdir'
9701 hardcode_minus_L
=yes
9707 export_dynamic_flag_spec
=-rdynamic
9710 cygwin
* | mingw
* | pw32
* | cegcc
*)
9711 # When not using gcc, we currently assume that we are using
9712 # Microsoft Visual C++.
9713 # hardcode_libdir_flag_spec is actually meaningless, as there is
9714 # no search path for DLLs.
9715 case $cc_basename in
9718 hardcode_libdir_flag_spec
=' '
9719 allow_undefined_flag
=unsupported
9720 always_export_symbols
=yes
9722 # Tell ltmain to make .lib files, not .a files.
9724 # Tell ltmain to make .dll files, not .so files.
9726 # FIXME: Setting linknames here is a bad hack.
9727 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9728 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9729 cp "$export_symbols" "$output_objdir/$soname.def";
9730 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9732 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9734 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9736 # The linker will not automatically build a static lib if we build a DLL.
9737 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9738 enable_shared_with_static_runtimes
=yes
9739 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9740 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9742 old_postinstall_cmds
='chmod 644 $oldlib'
9743 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9744 lt_tool_outputfile="@TOOL_OUTPUT@"~
9745 case $lt_outputfile in
9748 lt_outputfile=$lt_outputfile.exe
9749 lt_tool_outputfile=$lt_tool_outputfile.exe
9752 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9753 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9754 $RM "$lt_outputfile.manifest";
9758 # Assume MSVC wrapper
9759 hardcode_libdir_flag_spec
=' '
9760 allow_undefined_flag
=unsupported
9761 # Tell ltmain to make .lib files, not .a files.
9763 # Tell ltmain to make .dll files, not .so files.
9765 # FIXME: Setting linknames here is a bad hack.
9766 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9767 # The linker will automatically build a .lib file if we build a DLL.
9768 old_archive_from_new_cmds
='true'
9769 # FIXME: Should let the user specify the lib program.
9770 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9771 enable_shared_with_static_runtimes
=yes
9776 darwin
* | rhapsody
*)
9779 archive_cmds_need_lc
=no
9781 hardcode_automatic
=yes
9782 hardcode_shlibpath_var
=unsupported
9783 if test yes = "$lt_cv_ld_force_load"; then
9784 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\"`'
9787 whole_archive_flag_spec
=''
9789 link_all_deplibs
=yes
9790 allow_undefined_flag
=$_lt_dar_allow_undefined
9791 case $cc_basename in
9792 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9793 *) _lt_dar_can_shared
=$GCC ;;
9795 if test yes = "$_lt_dar_can_shared"; then
9796 output_verbose_link_cmd
=func_echo_all
9797 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9798 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9799 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"
9800 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"
9809 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9810 hardcode_libdir_flag_spec
='-L$libdir'
9811 hardcode_shlibpath_var
=no
9814 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9815 # support. Future versions do this automatically, but an explicit c++rt0.o
9816 # does not break anything, and helps significantly (at the cost of a little
9819 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9820 hardcode_libdir_flag_spec
='-R$libdir'
9822 hardcode_shlibpath_var
=no
9825 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9827 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9829 hardcode_minus_L
=yes
9830 hardcode_shlibpath_var
=no
9833 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9834 freebsd
* | dragonfly
*)
9835 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9836 hardcode_libdir_flag_spec
='-R$libdir'
9838 hardcode_shlibpath_var
=no
9842 if test yes = "$GCC"; then
9843 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'
9845 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'
9847 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9848 hardcode_libdir_separator
=:
9851 # hardcode_minus_L: Not really in the search PATH,
9852 # but as the default location of the library.
9853 hardcode_minus_L
=yes
9854 export_dynamic_flag_spec
='$wl-E'
9858 if test yes,no
= "$GCC,$with_gnu_ld"; then
9859 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9863 if test no
= "$with_gnu_ld"; then
9864 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9865 hardcode_libdir_separator
=:
9867 hardcode_direct_absolute
=yes
9868 export_dynamic_flag_spec
='$wl-E'
9869 # hardcode_minus_L: Not really in the search PATH,
9870 # but as the default location of the library.
9871 hardcode_minus_L
=yes
9876 if test yes,no
= "$GCC,$with_gnu_ld"; then
9879 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9885 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9891 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9894 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9898 # Older versions of the 11.00 compiler do not understand -b yet
9899 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9901 $as_echo_n "checking if $CC understands -b... " >&6; }
9902 if ${lt_cv_prog_compiler__b+:} false
; then :
9903 $as_echo_n "(cached) " >&6
9905 lt_cv_prog_compiler__b
=no
9906 save_LDFLAGS
=$LDFLAGS
9907 LDFLAGS
="$LDFLAGS -b"
9908 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9909 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9910 # The linker can only warn and ignore the option if not recognized
9911 # So say no if there are warnings
9912 if test -s conftest.err
; then
9913 # Append any errors to the config.log.
9914 cat conftest.err
1>&5
9915 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9916 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9917 if diff conftest.exp conftest.er2
>/dev
/null
; then
9918 lt_cv_prog_compiler__b
=yes
9921 lt_cv_prog_compiler__b
=yes
9925 LDFLAGS
=$save_LDFLAGS
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9929 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9931 if test yes = "$lt_cv_prog_compiler__b"; then
9932 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9940 if test no
= "$with_gnu_ld"; then
9941 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9942 hardcode_libdir_separator
=:
9947 hardcode_shlibpath_var
=no
9951 hardcode_direct_absolute
=yes
9952 export_dynamic_flag_spec
='$wl-E'
9954 # hardcode_minus_L: Not really in the search PATH,
9955 # but as the default location of the library.
9956 hardcode_minus_L
=yes
9962 irix5
* | irix6
* | nonstopux
*)
9963 if test yes = "$GCC"; then
9964 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'
9965 # Try to use the -exported_symbol ld option, if it does not
9966 # work, assume that -exports_file does not work either and
9967 # implicitly export all symbols.
9968 # This should be the same for all languages, so no per-tag cache variable.
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9970 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9971 if ${lt_cv_irix_exported_symbol+:} false
; then :
9972 $as_echo_n "(cached) " >&6
9974 save_LDFLAGS
=$LDFLAGS
9975 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9978 int foo (void) { return 0; }
9980 if ac_fn_c_try_link
"$LINENO"; then :
9981 lt_cv_irix_exported_symbol
=yes
9983 lt_cv_irix_exported_symbol
=no
9985 rm -f core conftest.err conftest.
$ac_objext \
9986 conftest
$ac_exeext conftest.
$ac_ext
9987 LDFLAGS
=$save_LDFLAGS
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9990 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9991 if test yes = "$lt_cv_irix_exported_symbol"; then
9992 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'
9996 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'
9997 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'
9999 archive_cmds_need_lc
='no'
10000 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10001 hardcode_libdir_separator
=:
10003 link_all_deplibs
=yes
10007 case $cc_basename in
10009 # Fabrice Bellard et al's Tiny C Compiler
10011 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10016 netbsd
* | netbsdelf
*-gnu)
10017 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10018 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10020 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10022 hardcode_libdir_flag_spec
='-R$libdir'
10023 hardcode_direct
=yes
10024 hardcode_shlibpath_var
=no
10028 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10029 hardcode_direct
=yes
10030 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10031 hardcode_libdir_separator
=:
10032 hardcode_shlibpath_var
=no
10038 openbsd
* | bitrig
*)
10039 if test -f /usr
/libexec
/ld.so
; then
10040 hardcode_direct
=yes
10041 hardcode_shlibpath_var
=no
10042 hardcode_direct_absolute
=yes
10043 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10044 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10046 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10047 export_dynamic_flag_spec
='$wl-E'
10049 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10050 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10058 hardcode_libdir_flag_spec
='-L$libdir'
10059 hardcode_minus_L
=yes
10060 allow_undefined_flag
=unsupported
10062 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10063 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10064 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10065 $ECHO EXPORTS >> $output_objdir/$libname.def~
10066 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10067 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10068 emximp -o $lib $output_objdir/$libname.def'
10069 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10070 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10071 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10072 $ECHO EXPORTS >> $output_objdir/$libname.def~
10073 prefix_cmds="$SED"~
10074 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10075 prefix_cmds="$prefix_cmds -e 1d";
10077 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10078 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10079 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10080 emximp -o $lib $output_objdir/$libname.def'
10081 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10082 enable_shared_with_static_runtimes
=yes
10086 if test yes = "$GCC"; then
10087 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10088 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'
10090 allow_undefined_flag
=' -expect_unresolved \*'
10091 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'
10093 archive_cmds_need_lc
='no'
10094 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10095 hardcode_libdir_separator
=:
10098 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10099 if test yes = "$GCC"; then
10100 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10101 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'
10102 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10104 allow_undefined_flag
=' -expect_unresolved \*'
10105 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'
10106 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~
10107 $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'
10109 # Both c and cxx compiler support -rpath directly
10110 hardcode_libdir_flag_spec
='-rpath $libdir'
10112 archive_cmds_need_lc
='no'
10113 hardcode_libdir_separator
=:
10117 no_undefined_flag
=' -z defs'
10118 if test yes = "$GCC"; then
10120 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10122 $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'
10124 case `$CC -V 2>&1` in
10127 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10128 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10129 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10133 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10135 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10139 hardcode_libdir_flag_spec
='-R$libdir'
10140 hardcode_shlibpath_var
=no
10142 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10144 # The compiler driver will combine and reorder linker options,
10145 # but understands '-z linker_flag'. GCC discards it without '$wl',
10146 # but is careful enough not to reorder.
10147 # Supported since Solaris 2.6 (maybe 2.5.1?)
10148 if test yes = "$GCC"; then
10149 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10151 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10155 link_all_deplibs
=yes
10159 if test sequent
= "$host_vendor"; then
10160 # Use $CC to link under sequent, because it throws in some extra .o
10161 # files that make .init and .fini sections work.
10162 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10164 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10166 hardcode_libdir_flag_spec
='-L$libdir'
10167 hardcode_direct
=yes
10168 hardcode_minus_L
=yes
10169 hardcode_shlibpath_var
=no
10173 case $host_vendor in
10175 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10176 hardcode_direct
=yes # is this really true???
10179 ## LD is ld it makes a PLAMLIB
10180 ## CC just makes a GrossModule.
10181 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10182 reload_cmds
='$CC -r -o $output$reload_objs'
10186 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10187 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10190 runpath_var
='LD_RUN_PATH'
10191 hardcode_shlibpath_var
=no
10195 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10196 hardcode_shlibpath_var
=no
10197 export_dynamic_flag_spec
='-Bexport'
10201 if test -d /usr
/nec
; then
10202 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10203 hardcode_shlibpath_var
=no
10204 runpath_var
=LD_RUN_PATH
10205 hardcode_runpath_var
=yes
10210 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10211 no_undefined_flag
='$wl-z,text'
10212 archive_cmds_need_lc
=no
10213 hardcode_shlibpath_var
=no
10214 runpath_var
='LD_RUN_PATH'
10216 if test yes = "$GCC"; then
10217 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10218 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10221 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10225 sysv5
* | sco3.2v5
* | sco5v6
*)
10226 # Note: We CANNOT use -z defs as we might desire, because we do not
10227 # link with -lc, and that would cause any symbols used from libc to
10228 # always be unresolved, which means just about no library would
10229 # ever link correctly. If we're not using GNU ld we use -z text
10230 # though, which does catch some bad symbols but isn't as heavy-handed
10232 no_undefined_flag
='$wl-z,text'
10233 allow_undefined_flag
='$wl-z,nodefs'
10234 archive_cmds_need_lc
=no
10235 hardcode_shlibpath_var
=no
10236 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10237 hardcode_libdir_separator
=':'
10238 link_all_deplibs
=yes
10239 export_dynamic_flag_spec
='$wl-Bexport'
10240 runpath_var
='LD_RUN_PATH'
10242 if test yes = "$GCC"; then
10243 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10244 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10247 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10252 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10253 hardcode_libdir_flag_spec
='-L$libdir'
10254 hardcode_shlibpath_var
=no
10262 if test sni
= "$host_vendor"; then
10264 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10265 export_dynamic_flag_spec
='$wl-Blargedynsym'
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10272 $as_echo "$ld_shlibs" >&6; }
10273 test no
= "$ld_shlibs" && can_build_shared
=no
10275 with_gnu_ld
=$with_gnu_ld
10292 # Do we need to explicitly link libc?
10294 case "x$archive_cmds_need_lc" in
10296 # Assume -lc should be added
10297 archive_cmds_need_lc
=yes
10299 if test yes,yes = "$GCC,$enable_shared"; then
10300 case $archive_cmds in
10302 # FIXME: we may have to deal with multi-command sequences.
10305 # Test whether the compiler implicitly links with -lc since on some
10306 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10307 # to ld, don't add -lc before -lgcc.
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10309 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10310 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10311 $as_echo_n "(cached) " >&6
10314 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10317 (eval $ac_compile) 2>&5
10319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10320 test $ac_status = 0; } 2>conftest.err
; then
10323 libobjs
=conftest.
$ac_objext
10325 wl
=$lt_prog_compiler_wl
10326 pic_flag
=$lt_prog_compiler_pic
10332 lt_save_allow_undefined_flag
=$allow_undefined_flag
10333 allow_undefined_flag
=
10334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10335 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10338 test $ac_status = 0; }
10340 lt_cv_archive_cmds_need_lc
=no
10342 lt_cv_archive_cmds_need_lc
=yes
10344 allow_undefined_flag
=$lt_save_allow_undefined_flag
10346 cat conftest.err
1>&5
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10352 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10353 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10512 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10514 if test yes = "$GCC"; then
10516 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10517 *) lt_awk_arg
='/^libraries:/' ;;
10520 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10521 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10523 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10524 case $lt_search_path_spec in
10526 # if the path contains ";" then we assume it to be the separator
10527 # otherwise default to the standard path separator (i.e. ":") - it is
10528 # assumed that no part of a normal pathname contains ";" but that should
10529 # okay in the real world where ";" in dirpaths is itself problematic.
10530 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10533 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10536 # Ok, now we have the path, separated by spaces, we can step through it
10537 # and add multilib dir if necessary...
10538 lt_tmp_lt_search_path_spec
=
10539 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10540 # ...but if some path component already ends with the multilib dir we assume
10541 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10542 case "$lt_multi_os_dir; $lt_search_path_spec " in
10543 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10547 for lt_sys_path
in $lt_search_path_spec; do
10548 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10549 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10550 elif test -n "$lt_multi_os_dir"; then
10551 test -d "$lt_sys_path" && \
10552 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10555 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10556 BEGIN {RS = " "; FS = "/|\n";} {
10559 for (lt_i = NF; lt_i > 0; lt_i--) {
10560 if ($lt_i != "" && $lt_i != ".") {
10561 if ($lt_i == "..") {
10564 if (lt_count == 0) {
10565 lt_foo = "/" $lt_i lt_foo;
10572 if (lt_foo != "") { lt_freq[lt_foo]++; }
10573 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10575 # AWK program above erroneously prepends '/' to C:/dos/paths
10578 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10579 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10581 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10583 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10585 library_names_spec
=
10586 libname_spec
='lib$name'
10590 postuninstall_cmds
=
10594 shlibpath_overrides_runpath
=unknown
10596 dynamic_linker
="$host_os ld.so"
10597 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10598 need_lib_prefix
=unknown
10599 hardcode_into_libs
=no
10601 # when you set need_version to no, make sure it does not cause -set_version
10602 # flags to be left without arguments
10603 need_version
=unknown
10609 version_type
=linux
# correct to gnu/linux during the next big refactor
10610 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10611 shlibpath_var
=LIBPATH
10613 # AIX 3 has no versioning support, so we append a major version to the name.
10614 soname_spec
='$libname$release$shared_ext$major'
10618 version_type
=linux
# correct to gnu/linux during the next big refactor
10621 hardcode_into_libs
=yes
10622 if test ia64
= "$host_cpu"; then
10623 # AIX 5 supports IA64
10624 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10625 shlibpath_var
=LD_LIBRARY_PATH
10627 # With GCC up to 2.95.x, collect2 would create an import file
10628 # for dependence libraries. The import file would start with
10629 # the line '#! .'. This would cause the generated library to
10630 # depend on '.', always an invalid library. This was fixed in
10631 # development snapshots of GCC prior to 3.0.
10633 aix4 | aix4.
[01] | aix4.
[01].
*)
10634 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10636 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10639 can_build_shared
=no
10643 # Using Import Files as archive members, it is possible to support
10644 # filename-based versioning of shared library archives on AIX. While
10645 # this would work for both with and without runtime linking, it will
10646 # prevent static linking of such archives. So we do filename-based
10647 # shared library versioning with .so extension only, which is used
10648 # when both runtime linking and shared linking is enabled.
10649 # Unfortunately, runtime linking may impact performance, so we do
10650 # not want this to be the default eventually. Also, we use the
10651 # versioned .so libs for executables only if there is the -brtl
10652 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10653 # To allow for filename-based versioning support, we need to create
10654 # libNAME.so.V as an archive file, containing:
10655 # *) an Import File, referring to the versioned filename of the
10656 # archive as well as the shared archive member, telling the
10657 # bitwidth (32 or 64) of that shared object, and providing the
10658 # list of exported symbols of that shared object, eventually
10659 # decorated with the 'weak' keyword
10660 # *) the shared object with the F_LOADONLY flag set, to really avoid
10661 # it being seen by the linker.
10662 # At run time we better use the real file rather than another symlink,
10663 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10665 case $with_aix_soname,$aix_use_runtimelinking in
10666 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10667 # soname into executable. Probably we can add versioning support to
10668 # collect2, so additional links can be useful in future.
10669 aix
,yes) # traditional libtool
10670 dynamic_linker
='AIX unversionable lib.so'
10671 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10672 # instead of lib<name>.a to let people know that these are not
10673 # typical AIX shared libraries.
10674 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10676 aix
,no
) # traditional AIX only
10677 dynamic_linker
='AIX lib.a(lib.so.V)'
10678 # We preserve .a as extension for shared libraries through AIX4.2
10679 # and later when we are not doing run time linking.
10680 library_names_spec
='$libname$release.a $libname.a'
10681 soname_spec
='$libname$release$shared_ext$major'
10683 svr4
,*) # full svr4 only
10684 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10685 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10686 # We do not specify a path in Import Files, so LIBPATH fires.
10687 shlibpath_overrides_runpath
=yes
10689 *,yes) # both, prefer svr4
10690 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10691 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10692 # unpreferred sharedlib libNAME.a needs extra handling
10693 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"'
10694 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"'
10695 # We do not specify a path in Import Files, so LIBPATH fires.
10696 shlibpath_overrides_runpath
=yes
10698 *,no
) # both, prefer aix
10699 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10700 library_names_spec
='$libname$release.a $libname.a'
10701 soname_spec
='$libname$release$shared_ext$major'
10702 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10703 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)'
10704 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"'
10707 shlibpath_var
=LIBPATH
10714 # Since July 2007 AmigaOS4 officially supports .so libraries.
10715 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10716 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10719 library_names_spec
='$libname.ixlibrary $libname.a'
10720 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10721 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'
10727 library_names_spec
='$libname$shared_ext'
10728 dynamic_linker
="$host_os ld.so"
10729 shlibpath_var
=LIBRARY_PATH
10733 version_type
=linux
# correct to gnu/linux during the next big refactor
10735 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10736 soname_spec
='$libname$release$shared_ext$major'
10737 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10738 shlibpath_var
=LD_LIBRARY_PATH
10739 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10740 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10741 # the default ld.so.conf also contains /usr/contrib/lib and
10742 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10743 # libtool to hard-code these into programs
10746 cygwin
* | mingw
* | pw32
* | cegcc
*)
10747 version_type
=windows
10752 case $GCC,$cc_basename in
10755 library_names_spec
='$libname.dll.a'
10756 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10757 postinstall_cmds
='base_file=`basename \$file`~
10758 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10759 dldir=$destdir/`dirname \$dlpath`~
10760 test -d \$dldir || mkdir -p \$dldir~
10761 $install_prog $dir/$dlname \$dldir/$dlname~
10762 chmod a+x \$dldir/$dlname~
10763 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10764 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10766 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10767 dlpath=$dir/\$dldll~
10769 shlibpath_overrides_runpath
=yes
10773 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10774 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10776 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10779 # MinGW DLLs use traditional 'lib' prefix
10780 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10783 # pw32 DLLs use 'pw' prefix rather than 'lib'
10784 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10787 dynamic_linker
='Win32 ld.exe'
10792 libname_spec
='$name'
10793 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10794 library_names_spec
='$libname.dll.lib'
10798 sys_lib_search_path_spec
=
10801 for lt_path
in $LIB
10804 # Let DOS variable expansion print the short 8.3 style file name.
10805 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10806 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10809 # Convert to MSYS style.
10810 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10813 # Convert to unix form, then to dos form, then back to unix form
10814 # but this time dos style (no spaces!) so that the unix form looks
10815 # like /cygdrive/c/PROGRA~1:/cygdr...
10816 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10817 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10818 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10821 sys_lib_search_path_spec
=$LIB
10822 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10823 # It is most probably a Windows format PATH.
10824 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10826 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10828 # FIXME: find the short name or the path components, as spaces are
10829 # common. (e.g. "Program Files" -> "PROGRA~1")
10833 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10834 postinstall_cmds
='base_file=`basename \$file`~
10835 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10836 dldir=$destdir/`dirname \$dlpath`~
10837 test -d \$dldir || mkdir -p \$dldir~
10838 $install_prog $dir/$dlname \$dldir/$dlname'
10839 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10840 dlpath=$dir/\$dldll~
10842 shlibpath_overrides_runpath
=yes
10843 dynamic_linker
='Win32 link.exe'
10847 # Assume MSVC wrapper
10848 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10849 dynamic_linker
='Win32 ld.exe'
10852 # FIXME: first we should search . and the directory the executable is in
10856 darwin
* | rhapsody
*)
10857 dynamic_linker
="$host_os dyld"
10858 version_type
=darwin
10861 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10862 soname_spec
='$libname$release$major$shared_ext'
10863 shlibpath_overrides_runpath
=yes
10864 shlibpath_var
=DYLD_LIBRARY_PATH
10865 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10867 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10868 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10872 version_type
=linux
# correct to gnu/linux during the next big refactor
10875 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10876 soname_spec
='$libname$release$shared_ext$major'
10877 shlibpath_var
=LD_LIBRARY_PATH
10880 freebsd
* | dragonfly
*)
10881 # DragonFly does not have aout. When/if they implement a new
10882 # versioning mechanism, adjust this.
10883 if test -x /usr
/bin
/objformat
; then
10884 objformat
=`/usr/bin/objformat`
10887 freebsd
[23].
*) objformat
=aout
;;
10888 *) objformat
=elf
;;
10891 version_type
=freebsd-
$objformat
10892 case $version_type in
10894 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10895 soname_spec
='$libname$release$shared_ext$major'
10900 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10904 shlibpath_var
=LD_LIBRARY_PATH
10907 shlibpath_overrides_runpath
=yes
10909 freebsd3.
[01]* | freebsdelf3.
[01]*)
10910 shlibpath_overrides_runpath
=yes
10911 hardcode_into_libs
=yes
10913 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10914 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10915 shlibpath_overrides_runpath
=no
10916 hardcode_into_libs
=yes
10918 *) # from 4.6 on, and DragonFly
10919 shlibpath_overrides_runpath
=yes
10920 hardcode_into_libs
=yes
10926 version_type
=linux
# correct to gnu/linux during the next big refactor
10929 dynamic_linker
="$host_os runtime_loader"
10930 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10931 soname_spec
='$libname$release$shared_ext$major'
10932 shlibpath_var
=LIBRARY_PATH
10933 shlibpath_overrides_runpath
=no
10934 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10935 hardcode_into_libs
=yes
10938 hpux9
* | hpux10
* | hpux11
*)
10939 # Give a soname corresponding to the major version so that dld.sl refuses to
10940 # link against other versions.
10947 hardcode_into_libs
=yes
10948 dynamic_linker
="$host_os dld.so"
10949 shlibpath_var
=LD_LIBRARY_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 if test 32 = "$HPUX_IA64_MODE"; then
10954 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10955 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10957 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10958 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10963 hardcode_into_libs
=yes
10964 dynamic_linker
="$host_os dld.sl"
10965 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10966 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10967 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10968 soname_spec
='$libname$release$shared_ext$major'
10969 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10970 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10974 dynamic_linker
="$host_os dld.sl"
10975 shlibpath_var
=SHLIB_PATH
10976 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10977 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10978 soname_spec
='$libname$release$shared_ext$major'
10981 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10982 postinstall_cmds
='chmod 555 $lib'
10983 # or fails outright, so override atomically:
10984 install_override_mode
=555
10988 version_type
=linux
# correct to gnu/linux during the next big refactor
10991 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10992 soname_spec
='$libname$release$shared_ext$major'
10993 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10994 shlibpath_var
=LD_LIBRARY_PATH
10995 shlibpath_overrides_runpath
=no
10996 hardcode_into_libs
=yes
10999 irix5
* | irix6
* | nonstopux
*)
11001 nonstopux
*) version_type
=nonstopux
;;
11003 if test yes = "$lt_cv_prog_gnu_ld"; then
11004 version_type
=linux
# correct to gnu/linux during the next big refactor
11011 soname_spec
='$libname$release$shared_ext$major'
11012 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11014 irix5
* | nonstopux
*)
11015 libsuff
= shlibsuff
=
11018 case $LD in # libtool.m4 will add one of these switches to LD
11019 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11020 libsuff
= shlibsuff
= libmagic
=32-bit;;
11021 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11022 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11023 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11024 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11025 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11029 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11030 shlibpath_overrides_runpath
=no
11031 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11032 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11033 hardcode_into_libs
=yes
11036 # No shared lib support for Linux oldld, aout, or coff.
11037 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11042 version_type
=none
# Android doesn't support versioned libraries.
11045 library_names_spec
='$libname$release$shared_ext'
11046 soname_spec
='$libname$release$shared_ext'
11048 shlibpath_var
=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath
=yes
11051 # This implies no fast_install, which is unacceptable.
11052 # Some rework will be needed to allow for fast_install
11053 # before this can be enabled.
11054 hardcode_into_libs
=yes
11056 dynamic_linker
='Android linker'
11057 # Don't embed -rpath directories since the linker doesn't support them.
11058 hardcode_libdir_flag_spec
='-L$libdir'
11061 # This must be glibc/ELF.
11062 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11063 version_type
=linux
# correct to gnu/linux during the next big refactor
11066 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11067 soname_spec
='$libname$release$shared_ext$major'
11068 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11069 shlibpath_var
=LD_LIBRARY_PATH
11070 shlibpath_overrides_runpath
=no
11072 # Some binutils ld are patched to set DT_RUNPATH
11073 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11074 $as_echo_n "(cached) " >&6
11076 lt_cv_shlibpath_overrides_runpath
=no
11077 save_LDFLAGS
=$LDFLAGS
11078 save_libdir
=$libdir
11079 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11080 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h. */
11092 if ac_fn_c_try_link
"$LINENO"; then :
11093 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11094 lt_cv_shlibpath_overrides_runpath
=yes
11097 rm -f core conftest.err conftest.
$ac_objext \
11098 conftest
$ac_exeext conftest.
$ac_ext
11099 LDFLAGS
=$save_LDFLAGS
11100 libdir
=$save_libdir
11104 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11106 # This implies no fast_install, which is unacceptable.
11107 # Some rework will be needed to allow for fast_install
11108 # before this can be enabled.
11109 hardcode_into_libs
=yes
11111 # Ideally, we could use ldconfig to report *all* directores which are
11112 # searched for libraries, however this is still not possible. Aside from not
11113 # being certain /sbin/ldconfig is available, command
11114 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11115 # even though it is searched at run-time. Try to do the best guess by
11116 # appending ld.so.conf contents (and includes) to the search path.
11117 if test -f /etc
/ld.so.conf
; then
11118 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' ' '`
11119 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11122 # We used to test for /lib/ld.so.1 and disable shared libraries on
11123 # powerpc, because MkLinux only supported shared libraries with the
11124 # GNU dynamic linker. Since this was broken with cross compilers,
11125 # most powerpc-linux boxes support dynamic linking these days and
11126 # people can always --disable-shared, the test was removed, and we
11127 # assume the GNU/Linux dynamic linker is in use.
11128 dynamic_linker
='GNU/Linux ld.so'
11135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11136 soname_spec
='${libname}${release}${shared_ext}$major'
11137 shlibpath_var
=LD_LIBRARY_PATH
11138 shlibpath_overrides_runpath
=no
11139 hardcode_into_libs
=yes
11140 dynamic_linker
='NetBSD ld.elf_so'
11147 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11148 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11149 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11150 dynamic_linker
='NetBSD (a.out) ld.so'
11152 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11153 soname_spec
='$libname$release$shared_ext$major'
11154 dynamic_linker
='NetBSD ld.elf_so'
11156 shlibpath_var
=LD_LIBRARY_PATH
11157 shlibpath_overrides_runpath
=yes
11158 hardcode_into_libs
=yes
11162 version_type
=linux
# correct to gnu/linux during the next big refactor
11163 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11164 shlibpath_var
=LD_LIBRARY_PATH
11165 shlibpath_overrides_runpath
=yes
11172 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11173 soname_spec
='$libname$release$shared_ext$major'
11174 shlibpath_var
=LD_LIBRARY_PATH
11175 shlibpath_overrides_runpath
=no
11176 hardcode_into_libs
=yes
11177 dynamic_linker
='ldqnx.so'
11180 openbsd
* | bitrig
*)
11182 sys_lib_dlsearch_path_spec
=/usr
/lib
11184 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11189 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11190 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11191 shlibpath_var
=LD_LIBRARY_PATH
11192 shlibpath_overrides_runpath
=yes
11196 libname_spec
='$name'
11197 version_type
=windows
11201 # OS/2 can only load a DLL with a base name of 8 characters or less.
11202 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11203 v=$($ECHO $release$versuffix | tr -d .-);
11204 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11205 $ECHO $n$v`$shared_ext'
11206 library_names_spec
='${libname}_dll.$libext'
11207 dynamic_linker
='OS/2 ld.exe'
11208 shlibpath_var
=BEGINLIBPATH
11209 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11210 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11211 postinstall_cmds
='base_file=`basename \$file`~
11212 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11213 dldir=$destdir/`dirname \$dlpath`~
11214 test -d \$dldir || mkdir -p \$dldir~
11215 $install_prog $dir/$dlname \$dldir/$dlname~
11216 chmod a+x \$dldir/$dlname~
11217 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11218 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11220 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11221 dlpath=$dir/\$dldll~
11225 osf3
* | osf4
* | osf5
*)
11229 soname_spec
='$libname$release$shared_ext$major'
11230 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11231 shlibpath_var
=LD_LIBRARY_PATH
11232 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11233 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11241 version_type
=linux
# correct to gnu/linux during the next big refactor
11244 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11245 soname_spec
='$libname$release$shared_ext$major'
11246 shlibpath_var
=LD_LIBRARY_PATH
11247 shlibpath_overrides_runpath
=yes
11248 hardcode_into_libs
=yes
11249 # ldd complains unless libraries are executable
11250 postinstall_cmds
='chmod +x $lib'
11255 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11256 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11257 shlibpath_var
=LD_LIBRARY_PATH
11258 shlibpath_overrides_runpath
=yes
11259 if test yes = "$with_gnu_ld"; then
11266 version_type
=linux
# correct to gnu/linux during the next big refactor
11267 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11268 soname_spec
='$libname$release$shared_ext$major'
11269 shlibpath_var
=LD_LIBRARY_PATH
11270 case $host_vendor in
11272 shlibpath_overrides_runpath
=no
11274 runpath_var
=LD_RUN_PATH
11282 shlibpath_overrides_runpath
=no
11283 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11289 if test -d /usr
/nec
; then
11290 version_type
=linux
# correct to gnu/linux during the next big refactor
11291 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11292 soname_spec
='$libname$shared_ext.$major'
11293 shlibpath_var
=LD_LIBRARY_PATH
11297 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11301 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11302 soname_spec
='$libname$release$shared_ext$major'
11303 shlibpath_var
=LD_LIBRARY_PATH
11304 shlibpath_overrides_runpath
=yes
11305 hardcode_into_libs
=yes
11306 if test yes = "$with_gnu_ld"; then
11307 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11309 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11312 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11316 sys_lib_dlsearch_path_spec
='/usr/lib'
11320 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11321 version_type
=linux
# correct to gnu/linux during the next big refactor
11324 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11325 shlibpath_var
=LD_LIBRARY_PATH
11326 shlibpath_overrides_runpath
=no
11327 hardcode_into_libs
=yes
11331 version_type
=linux
# correct to gnu/linux during the next big refactor
11332 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11333 soname_spec
='$libname$release$shared_ext$major'
11334 shlibpath_var
=LD_LIBRARY_PATH
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11342 $as_echo "$dynamic_linker" >&6; }
11343 test no
= "$dynamic_linker" && can_build_shared
=no
11345 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11346 if test yes = "$GCC"; then
11347 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11350 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11351 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11354 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11355 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11358 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11359 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11361 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11362 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11364 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11365 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11464 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11466 if test -n "$hardcode_libdir_flag_spec" ||
11467 test -n "$runpath_var" ||
11468 test yes = "$hardcode_automatic"; then
11470 # We can hardcode non-existent directories.
11471 if test no
!= "$hardcode_direct" &&
11472 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11473 # have to relink, otherwise we might link with an installed library
11474 # when we should be linking with a yet-to-be-installed one
11475 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11476 test no
!= "$hardcode_minus_L"; then
11477 # Linking always hardcodes the temporary library directory.
11478 hardcode_action
=relink
11480 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11481 hardcode_action
=immediate
11484 # We cannot hardcode anything, or else we can only hardcode existing
11486 hardcode_action
=unsupported
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11489 $as_echo "$hardcode_action" >&6; }
11491 if test relink
= "$hardcode_action" ||
11492 test yes = "$inherit_rpath"; then
11493 # Fast installation is not supported
11494 enable_fast_install
=no
11495 elif test yes = "$shlibpath_overrides_runpath" ||
11496 test no
= "$enable_shared"; then
11497 # Fast installation is not necessary
11498 enable_fast_install
=needless
11506 if test yes != "$enable_dlopen"; then
11507 enable_dlopen
=unknown
11508 enable_dlopen_self
=unknown
11509 enable_dlopen_self_static
=unknown
11516 lt_cv_dlopen
=load_add_on
11518 lt_cv_dlopen_self
=yes
11521 mingw
* | pw32
* | cegcc
*)
11522 lt_cv_dlopen
=LoadLibrary
11527 lt_cv_dlopen
=dlopen
11532 # if libdl is installed we need to link against it
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11534 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11535 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 ac_check_lib_save_LIBS
=$LIBS
11540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11558 if ac_fn_c_try_link
"$LINENO"; then :
11559 ac_cv_lib_dl_dlopen
=yes
11561 ac_cv_lib_dl_dlopen
=no
11563 rm -f core conftest.err conftest.
$ac_objext \
11564 conftest
$ac_exeext conftest.
$ac_ext
11565 LIBS
=$ac_check_lib_save_LIBS
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11568 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11569 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11570 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11575 lt_cv_dlopen_self
=yes
11582 # Don't try to run any link tests for TPF. We know it's impossible
11583 # because TPF is a cross-compiler, and we know how we open DSOs.
11584 lt_cv_dlopen
=dlopen
11586 lt_cv_dlopen_self
=no
11590 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11591 if test "x$ac_cv_func_shl_load" = xyes
; then :
11592 lt_cv_dlopen
=shl_load
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11595 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11596 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11597 $as_echo_n "(cached) " >&6
11599 ac_check_lib_save_LIBS
=$LIBS
11601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11614 return shl_load ();
11619 if ac_fn_c_try_link
"$LINENO"; then :
11620 ac_cv_lib_dld_shl_load
=yes
11622 ac_cv_lib_dld_shl_load
=no
11624 rm -f core conftest.err conftest.
$ac_objext \
11625 conftest
$ac_exeext conftest.
$ac_ext
11626 LIBS
=$ac_check_lib_save_LIBS
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11629 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11630 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11631 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11633 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11634 if test "x$ac_cv_func_dlopen" = xyes
; then :
11635 lt_cv_dlopen
=dlopen
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11638 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11639 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11640 $as_echo_n "(cached) " >&6
11642 ac_check_lib_save_LIBS
=$LIBS
11644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11662 if ac_fn_c_try_link
"$LINENO"; then :
11663 ac_cv_lib_dl_dlopen
=yes
11665 ac_cv_lib_dl_dlopen
=no
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 LIBS
=$ac_check_lib_save_LIBS
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11672 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11673 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11674 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11677 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11678 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11679 $as_echo_n "(cached) " >&6
11681 ac_check_lib_save_LIBS
=$LIBS
11682 LIBS
="-lsvld $LIBS"
11683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11701 if ac_fn_c_try_link
"$LINENO"; then :
11702 ac_cv_lib_svld_dlopen
=yes
11704 ac_cv_lib_svld_dlopen
=no
11706 rm -f core conftest.err conftest.
$ac_objext \
11707 conftest
$ac_exeext conftest.
$ac_ext
11708 LIBS
=$ac_check_lib_save_LIBS
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11711 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11712 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11713 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11716 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11717 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11718 $as_echo_n "(cached) " >&6
11720 ac_check_lib_save_LIBS
=$LIBS
11722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11725 /* Override any GCC internal prototype to avoid an error.
11726 Use char because int might match the return type of a GCC
11727 builtin and then its argument prototype would still apply. */
11735 return dld_link ();
11740 if ac_fn_c_try_link
"$LINENO"; then :
11741 ac_cv_lib_dld_dld_link
=yes
11743 ac_cv_lib_dld_dld_link
=no
11745 rm -f core conftest.err conftest.
$ac_objext \
11746 conftest
$ac_exeext conftest.
$ac_ext
11747 LIBS
=$ac_check_lib_save_LIBS
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11750 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11751 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11752 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11773 if test no
= "$lt_cv_dlopen"; then
11779 case $lt_cv_dlopen in
11781 save_CPPFLAGS
=$CPPFLAGS
11782 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11784 save_LDFLAGS
=$LDFLAGS
11785 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11788 LIBS
="$lt_cv_dlopen_libs $LIBS"
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11791 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11792 if ${lt_cv_dlopen_self+:} false
; then :
11793 $as_echo_n "(cached) " >&6
11795 if test yes = "$cross_compiling"; then :
11796 lt_cv_dlopen_self
=cross
11798 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11799 lt_status
=$lt_dlunknown
11800 cat > conftest.
$ac_ext <<_LT_EOF
11801 #line $LINENO "configure"
11802 #include "confdefs.h"
11811 # define LT_DLGLOBAL RTLD_GLOBAL
11814 # define LT_DLGLOBAL DL_GLOBAL
11816 # define LT_DLGLOBAL 0
11820 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11821 find out it does not work in some platform. */
11822 #ifndef LT_DLLAZY_OR_NOW
11824 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11827 # define LT_DLLAZY_OR_NOW DL_LAZY
11830 # define LT_DLLAZY_OR_NOW RTLD_NOW
11833 # define LT_DLLAZY_OR_NOW DL_NOW
11835 # define LT_DLLAZY_OR_NOW 0
11842 /* When -fvisibility=hidden is used, assume the code has been annotated
11843 correspondingly for the symbols needed. */
11844 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11845 int fnord () __attribute__((visibility("default")));
11848 int fnord () { return 42; }
11851 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11852 int status = $lt_dlunknown;
11856 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11859 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11860 else puts (dlerror ());
11862 /* dlclose (self); */
11870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11871 (eval $ac_link) 2>&5
11873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11874 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11875 (.
/conftest
; exit; ) >&5 2>/dev
/null
11877 case x
$lt_status in
11878 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11879 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11880 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11883 # compilation failed
11884 lt_cv_dlopen_self
=no
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11892 $as_echo "$lt_cv_dlopen_self" >&6; }
11894 if test yes = "$lt_cv_dlopen_self"; then
11895 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11897 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11898 if ${lt_cv_dlopen_self_static+:} false
; then :
11899 $as_echo_n "(cached) " >&6
11901 if test yes = "$cross_compiling"; then :
11902 lt_cv_dlopen_self_static
=cross
11904 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11905 lt_status
=$lt_dlunknown
11906 cat > conftest.
$ac_ext <<_LT_EOF
11907 #line $LINENO "configure"
11908 #include "confdefs.h"
11917 # define LT_DLGLOBAL RTLD_GLOBAL
11920 # define LT_DLGLOBAL DL_GLOBAL
11922 # define LT_DLGLOBAL 0
11926 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11927 find out it does not work in some platform. */
11928 #ifndef LT_DLLAZY_OR_NOW
11930 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11933 # define LT_DLLAZY_OR_NOW DL_LAZY
11936 # define LT_DLLAZY_OR_NOW RTLD_NOW
11939 # define LT_DLLAZY_OR_NOW DL_NOW
11941 # define LT_DLLAZY_OR_NOW 0
11948 /* When -fvisibility=hidden is used, assume the code has been annotated
11949 correspondingly for the symbols needed. */
11950 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11951 int fnord () __attribute__((visibility("default")));
11954 int fnord () { return 42; }
11957 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11958 int status = $lt_dlunknown;
11962 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11965 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11966 else puts (dlerror ());
11968 /* dlclose (self); */
11976 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11977 (eval $ac_link) 2>&5
11979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11980 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11981 (.
/conftest
; exit; ) >&5 2>/dev
/null
11983 case x
$lt_status in
11984 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11985 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11986 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11989 # compilation failed
11990 lt_cv_dlopen_self_static
=no
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11998 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12001 CPPFLAGS
=$save_CPPFLAGS
12002 LDFLAGS
=$save_LDFLAGS
12007 case $lt_cv_dlopen_self in
12008 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12009 *) enable_dlopen_self
=unknown
;;
12012 case $lt_cv_dlopen_self_static in
12013 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12014 *) enable_dlopen_self_static
=unknown
;;
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12037 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12038 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12039 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12040 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12042 $as_echo "yes" >&6; }
12044 # FIXME - insert some real tests, host_os isn't really good enough
12047 if test -n "$STRIP"; then
12048 striplib
="$STRIP -x"
12049 old_striplib
="$STRIP -S"
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12051 $as_echo "yes" >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12054 $as_echo "no" >&6; }
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12059 $as_echo "no" >&6; }
12075 # Report what library types will actually be built
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12077 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12079 $as_echo "$can_build_shared" >&6; }
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12082 $as_echo_n "checking whether to build shared libraries... " >&6; }
12083 test no
= "$can_build_shared" && enable_shared
=no
12085 # On AIX, shared libraries and static libraries use the same namespace, and
12086 # are all built from PIC.
12089 test yes = "$enable_shared" && enable_static
=no
12090 if test -n "$RANLIB"; then
12091 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12092 postinstall_cmds
='$RANLIB $lib'
12097 if test ia64
!= "$host_cpu"; then
12098 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12099 yes,aix
,yes) ;; # shared object as lib.so file only
12100 yes,svr4
,*) ;; # shared object as lib.so archive member only
12101 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12107 $as_echo "$enable_shared" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12110 $as_echo_n "checking whether to build static libraries... " >&6; }
12111 # Make sure either enable_shared or enable_static is yes.
12112 test yes = "$enable_shared" || enable_static
=yes
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12114 $as_echo "$enable_static" >&6; }
12121 ac_cpp
='$CPP $CPPFLAGS'
12122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12142 ac_config_commands
="$ac_config_commands libtool"
12147 # Only expand once:
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl author" >&5
12153 $as_echo_n "checking spl author... " >&6; }
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_META_AUTHOR" >&5
12155 $as_echo "$SPL_META_AUTHOR" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl license" >&5
12158 $as_echo_n "checking spl license... " >&6; }
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_META_LICENSE" >&5
12160 $as_echo "$SPL_META_LICENSE" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linux distribution" >&5
12165 $as_echo_n "checking linux distribution... " >&6; }
12166 if test -f /etc
/toss-release
; then
12168 elif test -f /etc
/fedora-release
; then
12170 elif test -f /etc
/redhat-release
; then
12172 elif test -f /etc
/gentoo-release
; then
12174 elif test -f /etc
/arch-release
; then
12176 elif test -f /etc
/SuSE-release
; then
12178 elif test -f /etc
/slackware-version
; then
12180 elif test -f /etc
/lunar.release
; then
12182 elif test -f /etc
/lsb-release
; then
12184 elif test -f /etc
/debian_version
; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VENDOR" >&5
12190 $as_echo "$VENDOR" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default package type" >&5
12194 $as_echo_n "checking default package type... " >&6; }
12196 toss
) DEFAULT_PACKAGE
=rpm
;;
12197 redhat
) DEFAULT_PACKAGE
=rpm
;;
12198 fedora
) DEFAULT_PACKAGE
=rpm
;;
12199 gentoo
) DEFAULT_PACKAGE
=tgz
;;
12200 arch
) DEFAULT_PACKAGE
=tgz
;;
12201 sles
) DEFAULT_PACKAGE
=rpm
;;
12202 slackware
) DEFAULT_PACKAGE
=tgz
;;
12203 lunar
) DEFAULT_PACKAGE
=tgz
;;
12204 ubuntu
) DEFAULT_PACKAGE
=deb
;;
12205 debian
) DEFAULT_PACKAGE
=deb
;;
12206 *) DEFAULT_PACKAGE
=rpm
;;
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_PACKAGE" >&5
12210 $as_echo "$DEFAULT_PACKAGE" >&6; }
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPM is available" >&5
12218 $as_echo_n "checking whether $RPM is available... " >&6; }
12219 if tmp
=$
($RPM --version 2>/dev
/null
); then :
12221 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM ($RPM_VERSION)" >&5
12224 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM" >&5
12230 $as_echo "$HAVE_RPM" >&6; }
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPMBUILD is available" >&5
12235 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
12236 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then :
12238 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
12241 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD" >&5
12247 $as_echo "$HAVE_RPMBUILD" >&6; }
12251 RPM_DEFINE_COMMON
='--define "$(DEBUG_SPL) 1" --define "$(DEBUG_KMEM) 1" --define "$(DEBUG_KMEM_TRACKING) 1"'
12253 RPM_DEFINE_KMOD
='--define "kernels $(LINUX_VERSION)"'
12256 SRPM_DEFINE_COMMON
='--define "build_src_rpm 1"'
12261 RPM_SPEC_DIR
="rpm/generic"
12263 # Check whether --with-spec was given.
12264 if test "${with_spec+set}" = set; then :
12265 withval
=$with_spec; RPM_SPEC_DIR
="rpm/$withval"
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether spec files are available" >&5
12270 $as_echo_n "checking whether spec files are available... " >&6; }
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($RPM_SPEC_DIR/*.spec.in)" >&5
12272 $as_echo "yes ($RPM_SPEC_DIR/*.spec.in)" >&6; }
12294 DPKGBUILD
=dpkg-buildpackage
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKG is available" >&5
12297 $as_echo_n "checking whether $DPKG is available... " >&6; }
12298 if tmp
=$
($DPKG --version 2>/dev
/null
); then :
12300 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
12303 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG" >&5
12309 $as_echo "$HAVE_DPKG" >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKGBUILD is available" >&5
12314 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
12315 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then :
12317 DPKGBUILD_VERSION
=$
(echo $tmp | \
12318 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
12321 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD" >&5
12327 $as_echo "$HAVE_DPKGBUILD" >&6; }
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ALIEN is available" >&5
12343 $as_echo_n "checking whether $ALIEN is available... " >&6; }
12344 if tmp
=$
($ALIEN --version 2>/dev
/null
); then :
12346 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
12349 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN" >&5
12355 $as_echo "$HAVE_ALIEN" >&6; }
12367 # Check whether --with-config was given.
12368 if test "${with_config+set}" = set; then :
12369 withval
=$with_config; SPL_CONFIG
="$withval"
12372 # Check whether --enable-linux-builtin was given.
12373 if test "${enable_linux_builtin+set}" = set; then :
12374 enableval
=$enable_linux_builtin;
12376 enable_linux_builtin
=no
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl config" >&5
12381 $as_echo_n "checking spl config... " >&6; }
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_CONFIG" >&5
12383 $as_echo "$SPL_CONFIG" >&6; };
12386 case "$SPL_CONFIG" in
12390 # Check whether --with-linux was given.
12391 if test "${with_linux+set}" = set; then :
12392 withval
=$with_linux; kernelsrc
="$withval"
12397 # Check whether --with-linux-obj was given.
12398 if test "${with_linux_obj+set}" = set; then :
12399 withval
=$with_linux_obj; kernelbuild
="$withval"
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
12404 $as_echo_n "checking kernel source directory... " >&6; }
12405 if test -z "$kernelsrc"; then
12406 if test -e "/lib/modules/$(uname -r)/source"; then
12407 headersdir
="/lib/modules/$(uname -r)/source"
12408 sourcelink
=$
(readlink
-f "$headersdir")
12409 elif test -e "/lib/modules/$(uname -r)/build"; then
12410 headersdir
="/lib/modules/$(uname -r)/build"
12411 sourcelink
=$
(readlink
-f "$headersdir")
12413 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
12415 2>/dev
/null |
grep -v obj |
tail -1)
12418 if test -n "$sourcelink" && test -e ${sourcelink}; then
12419 kernelsrc
=`readlink -f ${sourcelink}`
12421 kernelsrc
="Not found"
12424 if test "$kernelsrc" = "NONE"; then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
12430 $as_echo "$kernelsrc" >&6; }
12431 if test ! -d "$kernelsrc"; then
12433 *** Please make sure the kernel devel package for your distribution
12434 *** is installed and then try again. If that fails, you can specify the
12435 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
12439 $as_echo_n "checking kernel build directory... " >&6; }
12440 if test -z "$kernelbuild"; then
12441 if test -e "/lib/modules/$(uname -r)/build"; then
12442 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
12443 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
12444 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
12445 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
12446 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
12447 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
12448 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
12450 kernelbuild
=${kernelsrc}
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
12454 $as_echo "$kernelbuild" >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
12457 $as_echo_n "checking kernel source version... " >&6; }
12458 utsrelease1
=$kernelbuild/include
/linux
/version.h
12459 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
12460 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
12461 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
12462 utsrelease
=linux
/version.h
12463 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
12464 utsrelease
=linux
/utsrelease.h
12465 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
12466 utsrelease
=generated
/utsrelease.h
12469 if test "$utsrelease"; then
12470 kernsrcver
=`(echo "#include <$utsrelease>";
12471 echo "kernsrcver=UTS_RELEASE") |
12472 cpp -I $kernelbuild/include |
12473 grep "^kernsrcver=" | cut -d \" -f 2`
12475 if test -z "$kernsrcver"; then
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
12477 $as_echo "Not found" >&6; }
12478 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
12482 $as_echo "Not found" >&6; }
12483 if test "x$enable_linux_builtin" != xyes
; then
12484 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
12487 *** Cannot find UTS_RELEASE definition.
12488 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
12493 $as_echo "$kernsrcver" >&6; }
12496 LINUX_OBJ
=${kernelbuild}
12497 LINUX_VERSION
=${kernsrcver}
12504 modpost
=$LINUX/scripts
/Makefile.modpost
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
12506 $as_echo_n "checking kernel file name for module symbols... " >&6; }
12507 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
12508 if grep -q Modules.symvers
$modpost; then
12509 LINUX_SYMBOLS
=Modules.symvers
12511 LINUX_SYMBOLS
=Module.symvers
12514 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
12516 *** Please make sure the kernel devel package for your distribution
12517 *** is installed. If you are building with a custom kernel, make sure the
12518 *** kernel is configured, built, and the '--with-linux=PATH' configure
12519 *** option refers to the location of the kernel source." "$LINENO" 5
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
12525 $as_echo "$LINUX_SYMBOLS" >&6; }
12530 if test "${LINUX_OBJ}" != "${LINUX}"; then
12531 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
12535 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
12540 $as_echo_n "checking whether debugging is enabled... " >&6; }
12541 # Check whether --enable-debug was given.
12542 if test "${enable_debug+set}" = set; then :
12543 enableval
=$enable_debug;
12549 if test "x$enable_debug" = xyes
; then :
12551 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
12552 DEBUG_CFLAGS
="-DDEBUG -Werror"
12553 DEBUG_SPL
="_with_debug"
12557 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
12558 DEBUG_CFLAGS
="-DNDEBUG"
12559 DEBUG_SPL
="_without_debug"
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
12566 $as_echo "$enable_debug" >&6; }
12569 # Check whether --enable-debug-kmem was given.
12570 if test "${enable_debug_kmem+set}" = set; then :
12571 enableval
=$enable_debug_kmem;
12573 enable_debug_kmem
=no
12577 if test "x$enable_debug_kmem" = xyes
; then :
12579 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
12580 DEBUG_KMEM
="_with_debug_kmem"
12582 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
12587 DEBUG_KMEM
="_without_debug_kmem"
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
12593 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
12595 $as_echo "$enable_debug_kmem" >&6; }
12598 # Check whether --enable-debug-kmem-tracking was given.
12599 if test "${enable_debug_kmem_tracking+set}" = set; then :
12600 enableval
=$enable_debug_kmem_tracking;
12602 enable_debug_kmem_tracking
=no
12606 if test "x$enable_debug_kmem_tracking" = xyes
; then :
12608 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
12609 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
12611 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
12616 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
12622 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
12624 $as_echo "$enable_debug_kmem_tracking" >&6; }
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
12627 $as_echo_n "checking whether modules can be built... " >&6; }
12630 cat confdefs.h
- <<_ACEOF >conftest.c
12644 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12645 echo "obj-m := conftest.o" >build
/Makefile
12647 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12648 if { 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'
12649 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12650 (eval $ac_try) 2>&5
12652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12653 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12654 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12655 (eval $ac_try) 2>&5
12657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12658 test $ac_status = 0; }; }; then :
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12661 $as_echo "yes" >&6; }
12664 $as_echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.
$ac_ext >&5
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12668 $as_echo "no" >&6; }
12669 if test "x$enable_linux_builtin" != xyes
; then
12670 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
12673 *** Unable to build an empty module.
12674 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
12684 if test "x$cross_compiling" != xyes
; then :
12686 if test "$cross_compiling" = yes; then :
12687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12689 as_fn_error $?
"cannot run test program while cross compiling
12690 See \`config.log' for more details" "$LINENO" 5; }
12692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12696 #include "$LINUX/include/linux/license.h"
12702 return !license_is_gpl_compatible(
12703 "$SPL_META_LICENSE");
12710 if ac_fn_c_try_run
"$LINENO"; then :
12713 $as_echo "#define SPL_IS_GPL_COMPATIBLE 1" >>confdefs.h
12717 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12718 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12725 # Check whether --enable-atomic-spinlocks was given.
12726 if test "${enable_atomic_spinlocks+set}" = set; then :
12727 enableval
=$enable_atomic_spinlocks;
12729 enable_atomic_spinlocks
=check
12735 cat confdefs.h
- <<_ACEOF >conftest.c
12738 #include <linux/fs.h>
12744 atomic64_t *ptr __attribute__ ((unused));
12753 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12754 echo "obj-m := conftest.o" >build
/Makefile
12756 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12757 if { 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'
12758 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12759 (eval $ac_try) 2>&5
12761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12762 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12763 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12764 (eval $ac_try) 2>&5
12766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12767 test $ac_status = 0; }; }; then :
12769 have_atomic64_t
=yes
12771 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
12775 $as_echo "$as_me: failed program was:" >&5
12776 sed 's/^/| /' conftest.
$ac_ext >&5
12787 if test "x$enable_atomic_spinlocks" = xcheck
; then :
12789 if test "x$have_atomic64_t" = xyes
; then :
12791 enable_atomic_spinlocks
=no
12795 enable_atomic_spinlocks
=yes
12801 if test "x$enable_atomic_spinlocks" = xyes
; then :
12804 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
12809 if test "x$have_atomic64_t" = xno
; then :
12811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12813 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
12814 See \`config.log' for more details" "$LINENO" 5; }
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
12821 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
12823 $as_echo "$enable_atomic_spinlocks" >&6; }
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
12826 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
12828 $as_echo "$have_atomic64_t" >&6; }
12831 tmp_flags
="$EXTRA_KCFLAGS"
12832 EXTRA_KCFLAGS
="-Werror"
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 2-argument shrinker exists" >&5
12834 $as_echo_n "checking whether old 2-argument shrinker exists... " >&6; }
12837 cat confdefs.h
- <<_ACEOF >conftest.c
12840 #include <linux/mm.h>
12842 int shrinker_cb(int nr_to_scan, gfp_t gfp_mask);
12848 struct shrinker cache_shrinker = {
12849 .shrink = shrinker_cb,
12850 .seeks = DEFAULT_SEEKS,
12852 register_shrinker(&cache_shrinker);
12861 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12862 echo "obj-m := conftest.o" >build
/Makefile
12864 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12865 if { 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'
12866 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12867 (eval $ac_try) 2>&5
12869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12870 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12871 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12872 (eval $ac_try) 2>&5
12874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12875 test $ac_status = 0; }; }; then :
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12878 $as_echo "yes" >&6; }
12880 $as_echo "#define HAVE_2ARGS_OLD_SHRINKER_CALLBACK 1" >>confdefs.h
12884 $as_echo "$as_me: failed program was:" >&5
12885 sed 's/^/| /' conftest.
$ac_ext >&5
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12888 $as_echo "no" >&6; }
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 3-argument shrinker exists" >&5
12890 $as_echo_n "checking whether old 3-argument shrinker exists... " >&6; }
12893 cat confdefs.h
- <<_ACEOF >conftest.c
12896 #include <linux/mm.h>
12898 int shrinker_cb(struct shrinker *, int nr_to_scan,
12905 struct shrinker cache_shrinker = {
12906 .shrink = shrinker_cb,
12907 .seeks = DEFAULT_SEEKS,
12909 register_shrinker(&cache_shrinker);
12918 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12919 echo "obj-m := conftest.o" >build
/Makefile
12921 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12922 if { 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'
12923 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12924 (eval $ac_try) 2>&5
12926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12927 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12928 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12929 (eval $ac_try) 2>&5
12931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12932 test $ac_status = 0; }; }; then :
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12935 $as_echo "yes" >&6; }
12937 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
12941 $as_echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.
$ac_ext >&5
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12945 $as_echo "no" >&6; }
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether new 2-argument shrinker exists" >&5
12947 $as_echo_n "checking whether new 2-argument shrinker exists... " >&6; }
12950 cat confdefs.h
- <<_ACEOF >conftest.c
12953 #include <linux/mm.h>
12955 int shrinker_cb(struct shrinker *,
12956 struct shrink_control *sc);
12962 struct shrinker cache_shrinker = {
12963 .shrink = shrinker_cb,
12964 .seeks = DEFAULT_SEEKS,
12966 register_shrinker(&cache_shrinker);
12975 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12976 echo "obj-m := conftest.o" >build
/Makefile
12978 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12979 if { 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'
12980 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12981 (eval $ac_try) 2>&5
12983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12984 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12985 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12986 (eval $ac_try) 2>&5
12988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12989 test $ac_status = 0; }; }; then :
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12992 $as_echo "yes" >&6; }
12994 $as_echo "#define HAVE_2ARGS_NEW_SHRINKER_CALLBACK 1" >>confdefs.h
12998 $as_echo "$as_me: failed program was:" >&5
12999 sed 's/^/| /' conftest.
$ac_ext >&5
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13002 $as_echo "no" >&6; }
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ->count_objects callback exists" >&5
13004 $as_echo_n "checking whether ->count_objects callback exists... " >&6; }
13007 cat confdefs.h
- <<_ACEOF >conftest.c
13010 #include <linux/mm.h>
13012 unsigned long shrinker_cb(
13014 struct shrink_control *sc);
13020 struct shrinker cache_shrinker = {
13021 .count_objects = shrinker_cb,
13022 .scan_objects = shrinker_cb,
13023 .seeks = DEFAULT_SEEKS,
13025 register_shrinker(&cache_shrinker);
13034 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13035 echo "obj-m := conftest.o" >build
/Makefile
13037 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13038 if { 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'
13039 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13040 (eval $ac_try) 2>&5
13042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13043 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13044 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13045 (eval $ac_try) 2>&5
13047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13048 test $ac_status = 0; }; }; then :
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13051 $as_echo "yes" >&6; }
13053 $as_echo "#define HAVE_SPLIT_SHRINKER_CALLBACK 1" >>confdefs.h
13057 $as_echo "$as_me: failed program was:" >&5
13058 sed 's/^/| /' conftest.
$ac_ext >&5
13060 as_fn_error $?
"error" "$LINENO" 5
13089 EXTRA_KCFLAGS
="$tmp_flags"
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
13093 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
13096 cat confdefs.h
- <<_ACEOF >conftest.c
13099 #include <linux/sysctl.h>
13105 struct ctl_table ctl __attribute__ ((unused));
13115 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13116 echo "obj-m := conftest.o" >build
/Makefile
13118 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13119 if { 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'
13120 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13121 (eval $ac_try) 2>&5
13123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13124 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13125 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13126 (eval $ac_try) 2>&5
13128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13129 test $ac_status = 0; }; }; then :
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13132 $as_echo "yes" >&6; }
13134 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
13138 $as_echo "$as_me: failed program was:" >&5
13139 sed 's/^/| /' conftest.
$ac_ext >&5
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13142 $as_echo "no" >&6; }
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_TRIM_UNUSED_KSYM is disabled" >&5
13153 $as_echo_n "checking whether CONFIG_TRIM_UNUSED_KSYM is disabled... " >&6; }
13156 cat confdefs.h
- <<_ACEOF >conftest.c
13159 #if defined(CONFIG_TRIM_UNUSED_KSYMS)
13160 #error CONFIG_TRIM_UNUSED_KSYMS not defined
13174 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13175 echo "obj-m := conftest.o" >build
/Makefile
13177 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13178 if { 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'
13179 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13180 (eval $ac_try) 2>&5
13182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13183 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13184 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13185 (eval $ac_try) 2>&5
13187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13188 test $ac_status = 0; }; }; then :
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13191 $as_echo "yes" >&6; }
13194 $as_echo "$as_me: failed program was:" >&5
13195 sed 's/^/| /' conftest.
$ac_ext >&5
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13198 $as_echo "no" >&6; }
13200 *** This kernel has unused symbols trimming enabled, please disable.
13201 *** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set." "$LINENO" 5
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
13212 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
13216 cat confdefs.h
- <<_ACEOF >conftest.c
13219 #include <linux/proc_fs.h>
13234 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13235 echo "obj-m := conftest.o" >build
/Makefile
13237 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13238 if { 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'
13239 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13240 (eval $ac_try) 2>&5
13242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13243 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13244 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13245 (eval $ac_try) 2>&5
13247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248 test $ac_status = 0; }; }; then :
13251 $as_echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.
$ac_ext >&5
13260 if test $rc -ne 0; then :
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263 $as_echo "no" >&6; }
13266 if test "x$enable_linux_builtin" != xyes
; then
13268 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
13269 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13271 if test $rc -ne 0; then
13274 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
13275 "$LINUX_OBJ/$file" 2>/dev
/null
13277 if test $rc -eq 0; then
13282 if test $export -eq 0; then :
13292 if test $rc -ne 0; then :
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13295 $as_echo "no" >&6; }
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13300 $as_echo "yes" >&6; }
13302 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
13309 tmp_flags
="$EXTRA_KCFLAGS"
13310 EXTRA_KCFLAGS
="-Werror"
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
13312 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
13315 cat confdefs.h
- <<_ACEOF >conftest.c
13318 #include <linux/spinlock.h>
13319 #include <linux/fs_struct.h>
13320 #include <linux/path.h>
13321 void (*const set_fs_pwd_func)
13322 (struct fs_struct *, const struct path *)
13338 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13339 echo "obj-m := conftest.o" >build
/Makefile
13341 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13342 if { 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'
13343 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13344 (eval $ac_try) 2>&5
13346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13347 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13348 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13349 (eval $ac_try) 2>&5
13351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13352 test $ac_status = 0; }; }; then :
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13355 $as_echo "yes" >&6; }
13357 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
13361 $as_echo "$as_me: failed program was:" >&5
13362 sed 's/^/| /' conftest.
$ac_ext >&5
13366 cat confdefs.h
- <<_ACEOF >conftest.c
13369 #include <linux/spinlock.h>
13370 #include <linux/fs_struct.h>
13371 #include <linux/path.h>
13372 void (*const set_fs_pwd_func)
13373 (struct fs_struct *, struct path *)
13389 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13390 echo "obj-m := conftest.o" >build
/Makefile
13392 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13393 if { 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'
13394 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13395 (eval $ac_try) 2>&5
13397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13398 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13399 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13400 (eval $ac_try) 2>&5
13402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13403 test $ac_status = 0; }; }; then :
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13406 $as_echo "no" >&6; }
13409 $as_echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.
$ac_ext >&5
13412 as_fn_error $?
"unknown" "$LINENO" 5
13427 EXTRA_KCFLAGS
="$tmp_flags"
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
13430 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
13433 cat confdefs.h
- <<_ACEOF >conftest.c
13436 #include <linux/fs.h>
13442 vfs_unlink((struct inode *) NULL, (struct dentry *) NULL);
13451 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13452 echo "obj-m := conftest.o" >build
/Makefile
13454 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13455 if { 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'
13456 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13457 (eval $ac_try) 2>&5
13459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13460 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13461 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13462 (eval $ac_try) 2>&5
13464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13465 test $ac_status = 0; }; }; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13468 $as_echo "yes" >&6; }
13470 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
13474 $as_echo "$as_me: failed program was:" >&5
13475 sed 's/^/| /' conftest.
$ac_ext >&5
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13478 $as_echo "no" >&6; }
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 3 args" >&5
13480 $as_echo_n "checking whether vfs_unlink() wants 3 args... " >&6; }
13483 cat confdefs.h
- <<_ACEOF >conftest.c
13486 #include <linux/fs.h>
13492 vfs_unlink((struct inode *) NULL,
13493 (struct dentry *) NULL,
13494 (struct inode **) NULL);
13503 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13504 echo "obj-m := conftest.o" >build
/Makefile
13506 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13507 if { 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'
13508 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13509 (eval $ac_try) 2>&5
13511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13512 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13513 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13514 (eval $ac_try) 2>&5
13516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13517 test $ac_status = 0; }; }; then :
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13520 $as_echo "yes" >&6; }
13522 $as_echo "#define HAVE_3ARGS_VFS_UNLINK 1" >>confdefs.h
13526 $as_echo "$as_me: failed program was:" >&5
13527 sed 's/^/| /' conftest.
$ac_ext >&5
13529 as_fn_error $?
"no" "$LINENO" 5
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
13547 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
13550 cat confdefs.h
- <<_ACEOF >conftest.c
13553 #include <linux/fs.h>
13559 vfs_rename((struct inode *) NULL, (struct dentry *) NULL,
13560 (struct inode *) NULL, (struct dentry *) NULL);
13569 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13570 echo "obj-m := conftest.o" >build
/Makefile
13572 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13573 if { 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'
13574 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13575 (eval $ac_try) 2>&5
13577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13578 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13579 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13580 (eval $ac_try) 2>&5
13582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13583 test $ac_status = 0; }; }; then :
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13586 $as_echo "yes" >&6; }
13588 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
13592 $as_echo "$as_me: failed program was:" >&5
13593 sed 's/^/| /' conftest.
$ac_ext >&5
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13596 $as_echo "no" >&6; }
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 5 args" >&5
13598 $as_echo_n "checking whether vfs_rename() wants 5 args... " >&6; }
13601 cat confdefs.h
- <<_ACEOF >conftest.c
13604 #include <linux/fs.h>
13610 vfs_rename((struct inode *) NULL,
13611 (struct dentry *) NULL,
13612 (struct inode *) NULL,
13613 (struct dentry *) NULL,
13614 (struct inode **) NULL);
13623 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13624 echo "obj-m := conftest.o" >build
/Makefile
13626 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13627 if { 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'
13628 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13629 (eval $ac_try) 2>&5
13631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13632 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13633 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13634 (eval $ac_try) 2>&5
13636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13637 test $ac_status = 0; }; }; then :
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13640 $as_echo "yes" >&6; }
13642 $as_echo "#define HAVE_5ARGS_VFS_RENAME 1" >>confdefs.h
13646 $as_echo "$as_me: failed program was:" >&5
13647 sed 's/^/| /' conftest.
$ac_ext >&5
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13650 $as_echo "no" >&6; }
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 6 args" >&5
13652 $as_echo_n "checking whether vfs_rename() wants 6 args... " >&6; }
13655 cat confdefs.h
- <<_ACEOF >conftest.c
13658 #include <linux/fs.h>
13664 vfs_rename((struct inode *) NULL,
13665 (struct dentry *) NULL,
13666 (struct inode *) NULL,
13667 (struct dentry *) NULL,
13668 (struct inode **) NULL,
13678 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13679 echo "obj-m := conftest.o" >build
/Makefile
13681 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13682 if { 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'
13683 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13684 (eval $ac_try) 2>&5
13686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13687 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13688 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13689 (eval $ac_try) 2>&5
13691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13692 test $ac_status = 0; }; }; then :
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13695 $as_echo "yes" >&6; }
13697 $as_echo "#define HAVE_6ARGS_VFS_RENAME 1" >>confdefs.h
13701 $as_echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.
$ac_ext >&5
13704 as_fn_error $?
"no" "$LINENO" 5
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
13729 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
13732 cat confdefs.h
- <<_ACEOF >conftest.c
13735 #include <linux/fs.h>
13741 vfs_fsync(NULL, 0);
13750 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13751 echo "obj-m := conftest.o" >build
/Makefile
13753 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13754 if { 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'
13755 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13756 (eval $ac_try) 2>&5
13758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13759 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13760 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13761 (eval $ac_try) 2>&5
13763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13764 test $ac_status = 0; }; }; then :
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13767 $as_echo "yes" >&6; }
13769 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
13773 $as_echo "$as_me: failed program was:" >&5
13774 sed 's/^/| /' conftest.
$ac_ext >&5
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13777 $as_echo "no" >&6; }
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
13788 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
13791 cat confdefs.h
- <<_ACEOF >conftest.c
13794 #include <linux/fs.h>
13800 struct inode_operations ops;
13801 ops.truncate_range = NULL;
13810 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13811 echo "obj-m := conftest.o" >build
/Makefile
13813 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13814 if { 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'
13815 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13816 (eval $ac_try) 2>&5
13818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13819 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13820 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13821 (eval $ac_try) 2>&5
13823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13824 test $ac_status = 0; }; }; then :
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13827 $as_echo "yes" >&6; }
13829 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
13833 $as_echo "$as_me: failed program was:" >&5
13834 sed 's/^/| /' conftest.
$ac_ext >&5
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13837 $as_echo "no" >&6; }
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
13848 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
13849 tmp_flags
="$EXTRA_KCFLAGS"
13850 EXTRA_KCFLAGS
="-Werror"
13853 cat confdefs.h
- <<_ACEOF >conftest.c
13856 #include <linux/sched.h>
13857 #include <linux/fs_struct.h>
13863 static struct fs_struct fs;
13864 spin_lock_init(&fs.lock);
13873 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13874 echo "obj-m := conftest.o" >build
/Makefile
13876 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13877 if { 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'
13878 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13879 (eval $ac_try) 2>&5
13881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13882 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13883 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13884 (eval $ac_try) 2>&5
13886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13887 test $ac_status = 0; }; }; then :
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13890 $as_echo "yes" >&6; }
13892 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
13896 $as_echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.
$ac_ext >&5
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13900 $as_echo "no" >&6; }
13908 EXTRA_KCFLAGS
="$tmp_flags"
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
13912 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
13915 cat confdefs.h
- <<_ACEOF >conftest.c
13918 #include <linux/uidgid.h>
13924 kuid_t userid = KUIDT_INIT(0);
13925 kgid_t groupid = KGIDT_INIT(0);
13934 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13935 echo "obj-m := conftest.o" >build
/Makefile
13937 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13938 if { 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'
13939 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13940 (eval $ac_try) 2>&5
13942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13943 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13944 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13945 (eval $ac_try) 2>&5
13947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13948 test $ac_status = 0; }; }; then :
13952 cat confdefs.h
- <<_ACEOF >conftest.c
13955 #include <linux/uidgid.h>
13962 kgid_t groupid = 0;
13971 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13972 echo "obj-m := conftest.o" >build
/Makefile
13974 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13975 if { 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'
13976 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13977 (eval $ac_try) 2>&5
13979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13980 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13981 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13982 (eval $ac_try) 2>&5
13984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13985 test $ac_status = 0; }; }; then :
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
13988 $as_echo "yes; optional" >&6; }
13991 $as_echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.
$ac_ext >&5
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
13995 $as_echo "yes; mandatory" >&6; }
13997 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
14008 $as_echo "$as_me: failed program was:" >&5
14009 sed 's/^/| /' conftest.
$ac_ext >&5
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14012 $as_echo "no" >&6; }
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __put_task_struct() is available" >&5
14022 $as_echo_n "checking whether __put_task_struct() is available... " >&6; }
14026 cat confdefs.h
- <<_ACEOF >conftest.c
14029 #include <linux/sched.h>
14035 __put_task_struct(NULL);
14044 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14045 echo "obj-m := conftest.o" >build
/Makefile
14047 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14048 if { 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'
14049 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14050 (eval $ac_try) 2>&5
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14054 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14055 (eval $ac_try) 2>&5
14057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14058 test $ac_status = 0; }; }; then :
14061 $as_echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.
$ac_ext >&5
14070 if test $rc -ne 0; then :
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14073 $as_echo "no" >&6; }
14076 if test "x$enable_linux_builtin" != xyes
; then
14078 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
14079 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
14081 if test $rc -ne 0; then
14084 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
14085 "$LINUX_OBJ/$file" 2>/dev
/null
14087 if test $rc -eq 0; then
14092 if test $export -eq 0; then :
14102 if test $rc -ne 0; then :
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14105 $as_echo "no" >&6; }
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14110 $as_echo "yes" >&6; }
14112 $as_echo "#define HAVE_PUT_TASK_STRUCT 1" >>confdefs.h
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
14122 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
14125 cat confdefs.h
- <<_ACEOF >conftest.c
14128 #include <linux/fs.h>
14134 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
14135 struct file_operations fops __attribute__ ((unused)) = {
14136 .fallocate = fallocate,
14146 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14147 echo "obj-m := conftest.o" >build
/Makefile
14149 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14150 if { 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'
14151 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14152 (eval $ac_try) 2>&5
14154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14155 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14156 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14157 (eval $ac_try) 2>&5
14159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160 test $ac_status = 0; }; }; then :
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14163 $as_echo "yes" >&6; }
14165 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
14169 $as_echo "$as_me: failed program was:" >&5
14170 sed 's/^/| /' conftest.
$ac_ext >&5
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14173 $as_echo "no" >&6; }
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
14184 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
14187 cat confdefs.h
- <<_ACEOF >conftest.c
14190 #include <linux/fs.h>
14196 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
14197 struct inode_operations fops __attribute__ ((unused)) = {
14198 .fallocate = fallocate,
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; }
14227 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
14231 $as_echo "$as_me: failed program was:" >&5
14232 sed 's/^/| /' conftest.
$ac_ext >&5
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14235 $as_echo "no" >&6; }
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
14246 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
14249 cat confdefs.h
- <<_ACEOF >conftest.c
14252 #include <linux/fs.h>
14258 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
14259 struct file_operations_no_const fops __attribute__ ((unused)) = {
14260 .fallocate = fallocate,
14270 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14271 echo "obj-m := conftest.o" >build
/Makefile
14273 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14274 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14275 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14276 (eval $ac_try) 2>&5
14278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14279 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14280 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14281 (eval $ac_try) 2>&5
14283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14284 test $ac_status = 0; }; }; then :
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14287 $as_echo "yes" >&6; }
14289 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
14293 $as_echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.
$ac_ext >&5
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14297 $as_echo "no" >&6; }
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
14309 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
14312 cat confdefs.h
- <<_ACEOF >conftest.c
14315 #if !defined(CONFIG_ZLIB_INFLATE) && \
14316 !defined(CONFIG_ZLIB_INFLATE_MODULE)
14317 #error CONFIG_ZLIB_INFLATE not defined
14331 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14332 echo "obj-m := conftest.o" >build
/Makefile
14334 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14335 if { 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'
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; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14341 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14342 (eval $ac_try) 2>&5
14344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14345 test $ac_status = 0; }; }; then :
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14348 $as_echo "yes" >&6; }
14351 $as_echo "$as_me: failed program was:" >&5
14352 sed 's/^/| /' conftest.
$ac_ext >&5
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14355 $as_echo "no" >&6; }
14357 *** This kernel does not include the required zlib inflate support.
14358 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
14369 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
14372 cat confdefs.h
- <<_ACEOF >conftest.c
14375 #if !defined(CONFIG_ZLIB_DEFLATE) && \
14376 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
14377 #error CONFIG_ZLIB_DEFLATE not defined
14391 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14392 echo "obj-m := conftest.o" >build
/Makefile
14394 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14395 if { 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'
14396 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14397 (eval $ac_try) 2>&5
14399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14400 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14401 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14402 (eval $ac_try) 2>&5
14404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14405 test $ac_status = 0; }; }; then :
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14408 $as_echo "yes" >&6; }
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; }
14417 *** This kernel does not include the required zlib deflate support.
14418 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
14428 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
14431 cat confdefs.h
- <<_ACEOF >conftest.c
14434 #include <linux/zlib.h>
14440 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
14449 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14450 echo "obj-m := conftest.o" >build
/Makefile
14452 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14453 if { 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'
14454 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14455 (eval $ac_try) 2>&5
14457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14458 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14459 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14460 (eval $ac_try) 2>&5
14462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14463 test $ac_status = 0; }; }; then :
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14466 $as_echo "yes" >&6; }
14468 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
14472 $as_echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.
$ac_ext >&5
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14476 $as_echo "no" >&6; }
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
14487 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
14490 cat confdefs.h
- <<_ACEOF >conftest.c
14493 #include <linux/mm.h>
14499 struct shrink_control sc __attribute__ ((unused));
14502 sc.gfp_mask = GFP_KERNEL;
14511 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14512 echo "obj-m := conftest.o" >build
/Makefile
14514 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14515 if { 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'
14516 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14517 (eval $ac_try) 2>&5
14519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14520 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14521 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14522 (eval $ac_try) 2>&5
14524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14525 test $ac_status = 0; }; }; then :
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14528 $as_echo "yes" >&6; }
14530 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
14534 $as_echo "$as_me: failed program was:" >&5
14535 sed 's/^/| /' conftest.
$ac_ext >&5
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14538 $as_echo "no" >&6; }
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
14549 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
14550 tmp_flags
="$EXTRA_KCFLAGS"
14551 EXTRA_KCFLAGS
="-Werror"
14554 cat confdefs.h
- <<_ACEOF >conftest.c
14557 #include <linux/rwsem.h>
14563 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
14564 raw_spinlock_t dummy_lock __attribute__ ((unused));
14565 dummy_semaphore.wait_lock = dummy_lock;
14574 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14575 echo "obj-m := conftest.o" >build
/Makefile
14577 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14578 if { 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'
14579 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14580 (eval $ac_try) 2>&5
14582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14583 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14584 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14585 (eval $ac_try) 2>&5
14587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14588 test $ac_status = 0; }; }; then :
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14591 $as_echo "yes" >&6; }
14593 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
14597 $as_echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.
$ac_ext >&5
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14601 $as_echo "no" >&6; }
14609 EXTRA_KCFLAGS
="$tmp_flags"
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has member activity" >&5
14613 $as_echo_n "checking whether struct rw_semaphore has member activity... " >&6; }
14614 tmp_flags
="$EXTRA_KCFLAGS"
14615 EXTRA_KCFLAGS
="-Werror"
14618 cat confdefs.h
- <<_ACEOF >conftest.c
14621 #include <linux/rwsem.h>
14627 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
14628 dummy_semaphore.activity = 0;
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 :
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14654 $as_echo "yes" >&6; }
14656 $as_echo "#define HAVE_RWSEM_ACTIVITY 1" >>confdefs.h
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; }
14672 EXTRA_KCFLAGS
="$tmp_flags"
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has atomic_long_t member count" >&5
14676 $as_echo_n "checking whether struct rw_semaphore has atomic_long_t member count... " >&6; }
14677 tmp_flags
="$EXTRA_KCFLAGS"
14678 EXTRA_KCFLAGS
="-Werror"
14681 cat confdefs.h
- <<_ACEOF >conftest.c
14684 #include <linux/rwsem.h>
14690 DECLARE_RWSEM(dummy_semaphore);
14691 (void) atomic_long_read(&dummy_semaphore.count);
14700 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14701 echo "obj-m := conftest.o" >build
/Makefile
14703 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14704 if { 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'
14705 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14706 (eval $ac_try) 2>&5
14708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14709 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14710 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14711 (eval $ac_try) 2>&5
14713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14714 test $ac_status = 0; }; }; then :
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14717 $as_echo "yes" >&6; }
14719 $as_echo "#define HAVE_RWSEM_ATOMIC_LONG_COUNT 1" >>confdefs.h
14723 $as_echo "$as_me: failed program was:" >&5
14724 sed 's/^/| /' conftest.
$ac_ext >&5
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14727 $as_echo "no" >&6; }
14735 EXTRA_KCFLAGS
="$tmp_flags"
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
14738 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
14741 cat confdefs.h
- <<_ACEOF >conftest.c
14744 #include <linux/sched.h>
14745 #include <linux/sched/rt.h>
14760 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14761 echo "obj-m := conftest.o" >build
/Makefile
14763 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14764 if { 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'
14765 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14766 (eval $ac_try) 2>&5
14768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14769 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14770 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14771 (eval $ac_try) 2>&5
14773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14774 test $ac_status = 0; }; }; then :
14777 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14780 $as_echo "yes" >&6; }
14783 $as_echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.
$ac_ext >&5
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14787 $as_echo "no" >&6; }
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants" >&5
14798 $as_echo_n "checking whether vfs_getattr() wants... " >&6; }
14801 cat confdefs.h
- <<_ACEOF >conftest.c
14804 #include <linux/fs.h>
14810 vfs_getattr((struct path *) NULL,
14811 (struct kstat *)NULL);
14820 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14821 echo "obj-m := conftest.o" >build
/Makefile
14823 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14824 if { 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'
14825 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14826 (eval $ac_try) 2>&5
14828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14829 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14830 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14831 (eval $ac_try) 2>&5
14833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14834 test $ac_status = 0; }; }; then :
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2 args" >&5
14837 $as_echo "2 args" >&6; }
14839 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
14843 $as_echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.
$ac_ext >&5
14848 cat confdefs.h
- <<_ACEOF >conftest.c
14851 #include <linux/fs.h>
14857 vfs_getattr((struct vfsmount *)NULL,
14858 (struct dentry *)NULL,
14859 (struct kstat *)NULL);
14868 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14869 echo "obj-m := conftest.o" >build
/Makefile
14871 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14872 if { 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'
14873 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14874 (eval $ac_try) 2>&5
14876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14877 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14878 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14879 (eval $ac_try) 2>&5
14881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14882 test $ac_status = 0; }; }; then :
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3 args" >&5
14885 $as_echo "3 args" >&6; }
14888 $as_echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.
$ac_ext >&5
14891 as_fn_error $?
"unknown" "$LINENO" 5
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep_range() is available" >&5
14909 $as_echo_n "checking whether usleep_range() is available... " >&6; }
14912 cat confdefs.h
- <<_ACEOF >conftest.c
14915 #include <linux/delay.h>
14921 usleep_range(0, 0);
14930 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14931 echo "obj-m := conftest.o" >build
/Makefile
14933 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14934 if { 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'
14935 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14936 (eval $ac_try) 2>&5
14938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14939 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14940 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14941 (eval $ac_try) 2>&5
14943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14944 test $ac_status = 0; }; }; then :
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14947 $as_echo "yes" >&6; }
14949 $as_echo "#define HAVE_USLEEP_RANGE 1" >>confdefs.h
14953 $as_echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.
$ac_ext >&5
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14957 $as_echo "no" >&6; }
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has allocflags" >&5
14968 $as_echo_n "checking whether struct kmem_cache has allocflags... " >&6; }
14971 cat confdefs.h
- <<_ACEOF >conftest.c
14974 #include <linux/slab.h>
14980 struct kmem_cache cachep __attribute__ ((unused));
14981 cachep.allocflags = GFP_KERNEL;
14990 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14991 echo "obj-m := conftest.o" >build
/Makefile
14993 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14994 if { 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'
14995 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14996 (eval $ac_try) 2>&5
14998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14999 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15000 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15001 (eval $ac_try) 2>&5
15003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 test $ac_status = 0; }; }; then :
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15007 $as_echo "yes" >&6; }
15009 $as_echo "#define HAVE_KMEM_CACHE_ALLOCFLAGS 1" >>confdefs.h
15013 $as_echo "$as_me: failed program was:" >&5
15014 sed 's/^/| /' conftest.
$ac_ext >&5
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15017 $as_echo "no" >&6; }
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has gfpflags" >&5
15020 $as_echo_n "checking whether struct kmem_cache has gfpflags... " >&6; }
15023 cat confdefs.h
- <<_ACEOF >conftest.c
15026 #include <linux/slab.h>
15032 struct kmem_cache cachep __attribute__ ((unused));
15033 cachep.gfpflags = GFP_KERNEL;
15042 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15043 echo "obj-m := conftest.o" >build
/Makefile
15045 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15046 if { 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'
15047 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15048 (eval $ac_try) 2>&5
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15052 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15053 (eval $ac_try) 2>&5
15055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15056 test $ac_status = 0; }; }; then :
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15059 $as_echo "yes" >&6; }
15061 $as_echo "#define HAVE_KMEM_CACHE_GFPFLAGS 1" >>confdefs.h
15065 $as_echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.
$ac_ext >&5
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15069 $as_echo "no" >&6; }
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_on_bit() takes an action" >&5
15087 $as_echo_n "checking whether wait_on_bit() takes an action... " >&6; }
15090 cat confdefs.h
- <<_ACEOF >conftest.c
15093 #include <linux/wait.h>
15099 int (*action)(void *) = NULL;
15100 wait_on_bit(NULL, 0, action, 0);
15109 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15110 echo "obj-m := conftest.o" >build
/Makefile
15112 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15113 if { 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'
15114 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15115 (eval $ac_try) 2>&5
15117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15118 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15119 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15120 (eval $ac_try) 2>&5
15122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15123 test $ac_status = 0; }; }; then :
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15126 $as_echo "yes" >&6; }
15128 $as_echo "#define HAVE_WAIT_ON_BIT_ACTION 1" >>confdefs.h
15132 $as_echo "$as_me: failed program was:" >&5
15133 sed 's/^/| /' conftest.
$ac_ext >&5
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15136 $as_echo "no" >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mutex has owner" >&5
15147 $as_echo_n "checking whether mutex has owner... " >&6; }
15148 tmp_flags
="$EXTRA_KCFLAGS"
15149 EXTRA_KCFLAGS
="-Werror"
15152 cat confdefs.h
- <<_ACEOF >conftest.c
15155 #include <linux/mutex.h>
15156 #include <linux/spinlock.h>
15163 struct task_struct *t __attribute__ ((unused));
15173 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15174 echo "obj-m := conftest.o" >build
/Makefile
15176 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15177 if { 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'
15178 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15179 (eval $ac_try) 2>&5
15181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15182 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15183 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15184 (eval $ac_try) 2>&5
15186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15187 test $ac_status = 0; }; }; then :
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15190 $as_echo "yes" >&6; }
15192 $as_echo "#define HAVE_MUTEX_OWNER 1" >>confdefs.h
15196 $as_echo "$as_me: failed program was:" >&5
15197 sed 's/^/| /' conftest.
$ac_ext >&5
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15200 $as_echo "no" >&6; }
15208 EXTRA_KCFLAGS
="$tmp_flags"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inode_lock_shared() exists" >&5
15212 $as_echo_n "checking whether inode_lock_shared() exists... " >&6; }
15213 tmp_flags
="$EXTRA_KCFLAGS"
15214 EXTRA_KCFLAGS
="-Werror"
15217 cat confdefs.h
- <<_ACEOF >conftest.c
15220 #include <linux/fs.h>
15226 struct inode *inode = NULL;
15227 inode_lock_shared(inode);
15236 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15237 echo "obj-m := conftest.o" >build
/Makefile
15239 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15240 if { 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'
15241 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15242 (eval $ac_try) 2>&5
15244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15245 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15246 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15247 (eval $ac_try) 2>&5
15249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15250 test $ac_status = 0; }; }; then :
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15253 $as_echo "yes" >&6; }
15255 $as_echo "#define HAVE_INODE_LOCK_SHARED 1" >>confdefs.h
15259 $as_echo "$as_me: failed program was:" >&5
15260 sed 's/^/| /' conftest.
$ac_ext >&5
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15263 $as_echo "no" >&6; }
15271 EXTRA_KCFLAGS
="$tmp_flags"
15278 # Check whether --with-linux was given.
15279 if test "${with_linux+set}" = set; then :
15280 withval
=$with_linux; kernelsrc
="$withval"
15285 # Check whether --with-linux-obj was given.
15286 if test "${with_linux_obj+set}" = set; then :
15287 withval
=$with_linux_obj; kernelbuild
="$withval"
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
15292 $as_echo_n "checking kernel source directory... " >&6; }
15293 if test -z "$kernelsrc"; then
15294 if test -e "/lib/modules/$(uname -r)/source"; then
15295 headersdir
="/lib/modules/$(uname -r)/source"
15296 sourcelink
=$
(readlink
-f "$headersdir")
15297 elif test -e "/lib/modules/$(uname -r)/build"; then
15298 headersdir
="/lib/modules/$(uname -r)/build"
15299 sourcelink
=$
(readlink
-f "$headersdir")
15301 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
15303 2>/dev
/null |
grep -v obj |
tail -1)
15306 if test -n "$sourcelink" && test -e ${sourcelink}; then
15307 kernelsrc
=`readlink -f ${sourcelink}`
15309 kernelsrc
="Not found"
15312 if test "$kernelsrc" = "NONE"; then
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
15318 $as_echo "$kernelsrc" >&6; }
15319 if test ! -d "$kernelsrc"; then
15321 *** Please make sure the kernel devel package for your distribution
15322 *** is installed and then try again. If that fails, you can specify the
15323 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
15327 $as_echo_n "checking kernel build directory... " >&6; }
15328 if test -z "$kernelbuild"; then
15329 if test -e "/lib/modules/$(uname -r)/build"; then
15330 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
15331 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
15332 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
15333 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
15334 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
15335 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
15336 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
15338 kernelbuild
=${kernelsrc}
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
15342 $as_echo "$kernelbuild" >&6; }
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
15345 $as_echo_n "checking kernel source version... " >&6; }
15346 utsrelease1
=$kernelbuild/include
/linux
/version.h
15347 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
15348 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
15349 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
15350 utsrelease
=linux
/version.h
15351 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
15352 utsrelease
=linux
/utsrelease.h
15353 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
15354 utsrelease
=generated
/utsrelease.h
15357 if test "$utsrelease"; then
15358 kernsrcver
=`(echo "#include <$utsrelease>";
15359 echo "kernsrcver=UTS_RELEASE") |
15360 cpp -I $kernelbuild/include |
15361 grep "^kernsrcver=" | cut -d \" -f 2`
15363 if test -z "$kernsrcver"; then
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
15365 $as_echo "Not found" >&6; }
15366 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
15370 $as_echo "Not found" >&6; }
15371 if test "x$enable_linux_builtin" != xyes
; then
15372 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
15375 *** Cannot find UTS_RELEASE definition.
15376 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
15381 $as_echo "$kernsrcver" >&6; }
15384 LINUX_OBJ
=${kernelbuild}
15385 LINUX_VERSION
=${kernsrcver}
15392 modpost
=$LINUX/scripts
/Makefile.modpost
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
15394 $as_echo_n "checking kernel file name for module symbols... " >&6; }
15395 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
15396 if grep -q Modules.symvers
$modpost; then
15397 LINUX_SYMBOLS
=Modules.symvers
15399 LINUX_SYMBOLS
=Module.symvers
15402 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
15404 *** Please make sure the kernel devel package for your distribution
15405 *** is installed. If you are building with a custom kernel, make sure the
15406 *** kernel is configured, built, and the '--with-linux=PATH' configure
15407 *** option refers to the location of the kernel source." "$LINENO" 5
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
15413 $as_echo "$LINUX_SYMBOLS" >&6; }
15418 if test "${LINUX_OBJ}" != "${LINUX}"; then
15419 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
15423 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
15428 $as_echo_n "checking whether debugging is enabled... " >&6; }
15429 # Check whether --enable-debug was given.
15430 if test "${enable_debug+set}" = set; then :
15431 enableval
=$enable_debug;
15437 if test "x$enable_debug" = xyes
; then :
15439 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
15440 DEBUG_CFLAGS
="-DDEBUG -Werror"
15441 DEBUG_SPL
="_with_debug"
15445 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
15446 DEBUG_CFLAGS
="-DNDEBUG"
15447 DEBUG_SPL
="_without_debug"
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
15454 $as_echo "$enable_debug" >&6; }
15457 # Check whether --enable-debug-kmem was given.
15458 if test "${enable_debug_kmem+set}" = set; then :
15459 enableval
=$enable_debug_kmem;
15461 enable_debug_kmem
=no
15465 if test "x$enable_debug_kmem" = xyes
; then :
15467 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
15468 DEBUG_KMEM
="_with_debug_kmem"
15470 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
15475 DEBUG_KMEM
="_without_debug_kmem"
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
15481 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
15483 $as_echo "$enable_debug_kmem" >&6; }
15486 # Check whether --enable-debug-kmem-tracking was given.
15487 if test "${enable_debug_kmem_tracking+set}" = set; then :
15488 enableval
=$enable_debug_kmem_tracking;
15490 enable_debug_kmem_tracking
=no
15494 if test "x$enable_debug_kmem_tracking" = xyes
; then :
15496 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
15497 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
15499 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
15504 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
15510 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
15512 $as_echo "$enable_debug_kmem_tracking" >&6; }
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
15515 $as_echo_n "checking whether modules can be built... " >&6; }
15518 cat confdefs.h
- <<_ACEOF >conftest.c
15532 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15533 echo "obj-m := conftest.o" >build
/Makefile
15535 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15536 if { 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'
15537 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15538 (eval $ac_try) 2>&5
15540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15542 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15543 (eval $ac_try) 2>&5
15545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15546 test $ac_status = 0; }; }; then :
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15549 $as_echo "yes" >&6; }
15552 $as_echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.
$ac_ext >&5
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15556 $as_echo "no" >&6; }
15557 if test "x$enable_linux_builtin" != xyes
; then
15558 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
15561 *** Unable to build an empty module.
15562 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
15572 if test "x$cross_compiling" != xyes
; then :
15574 if test "$cross_compiling" = yes; then :
15575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15577 as_fn_error $?
"cannot run test program while cross compiling
15578 See \`config.log' for more details" "$LINENO" 5; }
15580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15584 #include "$LINUX/include/linux/license.h"
15590 return !license_is_gpl_compatible(
15591 "$SPL_META_LICENSE");
15598 if ac_fn_c_try_run
"$LINENO"; then :
15601 $as_echo "#define SPL_IS_GPL_COMPATIBLE 1" >>confdefs.h
15605 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15606 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15613 # Check whether --enable-atomic-spinlocks was given.
15614 if test "${enable_atomic_spinlocks+set}" = set; then :
15615 enableval
=$enable_atomic_spinlocks;
15617 enable_atomic_spinlocks
=check
15623 cat confdefs.h
- <<_ACEOF >conftest.c
15626 #include <linux/fs.h>
15632 atomic64_t *ptr __attribute__ ((unused));
15641 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15642 echo "obj-m := conftest.o" >build
/Makefile
15644 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15645 if { 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'
15646 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15647 (eval $ac_try) 2>&5
15649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15650 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15651 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15652 (eval $ac_try) 2>&5
15654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15655 test $ac_status = 0; }; }; then :
15657 have_atomic64_t
=yes
15659 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
15663 $as_echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.
$ac_ext >&5
15675 if test "x$enable_atomic_spinlocks" = xcheck
; then :
15677 if test "x$have_atomic64_t" = xyes
; then :
15679 enable_atomic_spinlocks
=no
15683 enable_atomic_spinlocks
=yes
15689 if test "x$enable_atomic_spinlocks" = xyes
; then :
15692 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
15697 if test "x$have_atomic64_t" = xno
; then :
15699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15701 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
15702 See \`config.log' for more details" "$LINENO" 5; }
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
15709 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
15711 $as_echo "$enable_atomic_spinlocks" >&6; }
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
15714 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
15716 $as_echo "$have_atomic64_t" >&6; }
15719 tmp_flags
="$EXTRA_KCFLAGS"
15720 EXTRA_KCFLAGS
="-Werror"
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 2-argument shrinker exists" >&5
15722 $as_echo_n "checking whether old 2-argument shrinker exists... " >&6; }
15725 cat confdefs.h
- <<_ACEOF >conftest.c
15728 #include <linux/mm.h>
15730 int shrinker_cb(int nr_to_scan, gfp_t gfp_mask);
15736 struct shrinker cache_shrinker = {
15737 .shrink = shrinker_cb,
15738 .seeks = DEFAULT_SEEKS,
15740 register_shrinker(&cache_shrinker);
15749 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15750 echo "obj-m := conftest.o" >build
/Makefile
15752 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15753 if { 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'
15754 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15755 (eval $ac_try) 2>&5
15757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15758 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15759 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15760 (eval $ac_try) 2>&5
15762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15763 test $ac_status = 0; }; }; then :
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15766 $as_echo "yes" >&6; }
15768 $as_echo "#define HAVE_2ARGS_OLD_SHRINKER_CALLBACK 1" >>confdefs.h
15772 $as_echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.
$ac_ext >&5
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15776 $as_echo "no" >&6; }
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 3-argument shrinker exists" >&5
15778 $as_echo_n "checking whether old 3-argument shrinker exists... " >&6; }
15781 cat confdefs.h
- <<_ACEOF >conftest.c
15784 #include <linux/mm.h>
15786 int shrinker_cb(struct shrinker *, int nr_to_scan,
15793 struct shrinker cache_shrinker = {
15794 .shrink = shrinker_cb,
15795 .seeks = DEFAULT_SEEKS,
15797 register_shrinker(&cache_shrinker);
15806 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15807 echo "obj-m := conftest.o" >build
/Makefile
15809 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15810 if { 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'
15811 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15812 (eval $ac_try) 2>&5
15814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15815 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15816 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15817 (eval $ac_try) 2>&5
15819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15820 test $ac_status = 0; }; }; then :
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15823 $as_echo "yes" >&6; }
15825 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
15829 $as_echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.
$ac_ext >&5
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15833 $as_echo "no" >&6; }
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether new 2-argument shrinker exists" >&5
15835 $as_echo_n "checking whether new 2-argument shrinker exists... " >&6; }
15838 cat confdefs.h
- <<_ACEOF >conftest.c
15841 #include <linux/mm.h>
15843 int shrinker_cb(struct shrinker *,
15844 struct shrink_control *sc);
15850 struct shrinker cache_shrinker = {
15851 .shrink = shrinker_cb,
15852 .seeks = DEFAULT_SEEKS,
15854 register_shrinker(&cache_shrinker);
15863 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15864 echo "obj-m := conftest.o" >build
/Makefile
15866 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15867 if { 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'
15868 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15869 (eval $ac_try) 2>&5
15871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15872 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15873 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15874 (eval $ac_try) 2>&5
15876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15877 test $ac_status = 0; }; }; then :
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15880 $as_echo "yes" >&6; }
15882 $as_echo "#define HAVE_2ARGS_NEW_SHRINKER_CALLBACK 1" >>confdefs.h
15886 $as_echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.
$ac_ext >&5
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15890 $as_echo "no" >&6; }
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ->count_objects callback exists" >&5
15892 $as_echo_n "checking whether ->count_objects callback exists... " >&6; }
15895 cat confdefs.h
- <<_ACEOF >conftest.c
15898 #include <linux/mm.h>
15900 unsigned long shrinker_cb(
15902 struct shrink_control *sc);
15908 struct shrinker cache_shrinker = {
15909 .count_objects = shrinker_cb,
15910 .scan_objects = shrinker_cb,
15911 .seeks = DEFAULT_SEEKS,
15913 register_shrinker(&cache_shrinker);
15922 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15923 echo "obj-m := conftest.o" >build
/Makefile
15925 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15926 if { 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'
15927 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15928 (eval $ac_try) 2>&5
15930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15931 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15932 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15933 (eval $ac_try) 2>&5
15935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15936 test $ac_status = 0; }; }; then :
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15939 $as_echo "yes" >&6; }
15941 $as_echo "#define HAVE_SPLIT_SHRINKER_CALLBACK 1" >>confdefs.h
15945 $as_echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.
$ac_ext >&5
15948 as_fn_error $?
"error" "$LINENO" 5
15977 EXTRA_KCFLAGS
="$tmp_flags"
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
15981 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
15984 cat confdefs.h
- <<_ACEOF >conftest.c
15987 #include <linux/sysctl.h>
15993 struct ctl_table ctl __attribute__ ((unused));
16003 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16004 echo "obj-m := conftest.o" >build
/Makefile
16006 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16007 if { 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'
16008 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16009 (eval $ac_try) 2>&5
16011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16012 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16013 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16014 (eval $ac_try) 2>&5
16016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16017 test $ac_status = 0; }; }; then :
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16020 $as_echo "yes" >&6; }
16022 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
16026 $as_echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.
$ac_ext >&5
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16030 $as_echo "no" >&6; }
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_TRIM_UNUSED_KSYM is disabled" >&5
16041 $as_echo_n "checking whether CONFIG_TRIM_UNUSED_KSYM is disabled... " >&6; }
16044 cat confdefs.h
- <<_ACEOF >conftest.c
16047 #if defined(CONFIG_TRIM_UNUSED_KSYMS)
16048 #error CONFIG_TRIM_UNUSED_KSYMS not defined
16062 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16063 echo "obj-m := conftest.o" >build
/Makefile
16065 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16066 if { 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'
16067 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16068 (eval $ac_try) 2>&5
16070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16071 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16072 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16073 (eval $ac_try) 2>&5
16075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16076 test $ac_status = 0; }; }; then :
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16079 $as_echo "yes" >&6; }
16082 $as_echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.
$ac_ext >&5
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16086 $as_echo "no" >&6; }
16088 *** This kernel has unused symbols trimming enabled, please disable.
16089 *** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set." "$LINENO" 5
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
16100 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
16104 cat confdefs.h
- <<_ACEOF >conftest.c
16107 #include <linux/proc_fs.h>
16122 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16123 echo "obj-m := conftest.o" >build
/Makefile
16125 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16126 if { 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'
16127 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16128 (eval $ac_try) 2>&5
16130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16131 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16132 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16133 (eval $ac_try) 2>&5
16135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16136 test $ac_status = 0; }; }; then :
16139 $as_echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.
$ac_ext >&5
16148 if test $rc -ne 0; then :
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16151 $as_echo "no" >&6; }
16154 if test "x$enable_linux_builtin" != xyes
; then
16156 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
16157 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16159 if test $rc -ne 0; then
16162 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
16163 "$LINUX_OBJ/$file" 2>/dev
/null
16165 if test $rc -eq 0; then
16170 if test $export -eq 0; then :
16180 if test $rc -ne 0; then :
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16183 $as_echo "no" >&6; }
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16188 $as_echo "yes" >&6; }
16190 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
16197 tmp_flags
="$EXTRA_KCFLAGS"
16198 EXTRA_KCFLAGS
="-Werror"
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
16200 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
16203 cat confdefs.h
- <<_ACEOF >conftest.c
16206 #include <linux/spinlock.h>
16207 #include <linux/fs_struct.h>
16208 #include <linux/path.h>
16209 void (*const set_fs_pwd_func)
16210 (struct fs_struct *, const struct path *)
16226 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16227 echo "obj-m := conftest.o" >build
/Makefile
16229 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16230 if { 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'
16231 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16232 (eval $ac_try) 2>&5
16234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16235 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16236 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16237 (eval $ac_try) 2>&5
16239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16240 test $ac_status = 0; }; }; then :
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16243 $as_echo "yes" >&6; }
16245 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
16249 $as_echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.
$ac_ext >&5
16254 cat confdefs.h
- <<_ACEOF >conftest.c
16257 #include <linux/spinlock.h>
16258 #include <linux/fs_struct.h>
16259 #include <linux/path.h>
16260 void (*const set_fs_pwd_func)
16261 (struct fs_struct *, struct path *)
16277 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16278 echo "obj-m := conftest.o" >build
/Makefile
16280 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16281 if { 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'
16282 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16283 (eval $ac_try) 2>&5
16285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16286 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16287 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16288 (eval $ac_try) 2>&5
16290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16291 test $ac_status = 0; }; }; then :
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16294 $as_echo "no" >&6; }
16297 $as_echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.
$ac_ext >&5
16300 as_fn_error $?
"unknown" "$LINENO" 5
16315 EXTRA_KCFLAGS
="$tmp_flags"
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
16318 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
16321 cat confdefs.h
- <<_ACEOF >conftest.c
16324 #include <linux/fs.h>
16330 vfs_unlink((struct inode *) NULL, (struct dentry *) NULL);
16339 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16340 echo "obj-m := conftest.o" >build
/Makefile
16342 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16343 if { 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'
16344 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16345 (eval $ac_try) 2>&5
16347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16348 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16349 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16350 (eval $ac_try) 2>&5
16352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16353 test $ac_status = 0; }; }; then :
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16356 $as_echo "yes" >&6; }
16358 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
16362 $as_echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.
$ac_ext >&5
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16366 $as_echo "no" >&6; }
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 3 args" >&5
16368 $as_echo_n "checking whether vfs_unlink() wants 3 args... " >&6; }
16371 cat confdefs.h
- <<_ACEOF >conftest.c
16374 #include <linux/fs.h>
16380 vfs_unlink((struct inode *) NULL,
16381 (struct dentry *) NULL,
16382 (struct inode **) NULL);
16391 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16392 echo "obj-m := conftest.o" >build
/Makefile
16394 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16395 if { 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'
16396 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16397 (eval $ac_try) 2>&5
16399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16400 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16401 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16402 (eval $ac_try) 2>&5
16404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16405 test $ac_status = 0; }; }; then :
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16408 $as_echo "yes" >&6; }
16410 $as_echo "#define HAVE_3ARGS_VFS_UNLINK 1" >>confdefs.h
16414 $as_echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.
$ac_ext >&5
16417 as_fn_error $?
"no" "$LINENO" 5
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
16435 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
16438 cat confdefs.h
- <<_ACEOF >conftest.c
16441 #include <linux/fs.h>
16447 vfs_rename((struct inode *) NULL, (struct dentry *) NULL,
16448 (struct inode *) NULL, (struct dentry *) NULL);
16457 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16458 echo "obj-m := conftest.o" >build
/Makefile
16460 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16461 if { 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'
16462 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16463 (eval $ac_try) 2>&5
16465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16466 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
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; }; }; then :
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16474 $as_echo "yes" >&6; }
16476 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
16480 $as_echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.
$ac_ext >&5
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16484 $as_echo "no" >&6; }
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 5 args" >&5
16486 $as_echo_n "checking whether vfs_rename() wants 5 args... " >&6; }
16489 cat confdefs.h
- <<_ACEOF >conftest.c
16492 #include <linux/fs.h>
16498 vfs_rename((struct inode *) NULL,
16499 (struct dentry *) NULL,
16500 (struct inode *) NULL,
16501 (struct dentry *) NULL,
16502 (struct inode **) NULL);
16511 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16512 echo "obj-m := conftest.o" >build
/Makefile
16514 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16515 if { 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'
16516 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16517 (eval $ac_try) 2>&5
16519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16520 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16521 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16522 (eval $ac_try) 2>&5
16524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16525 test $ac_status = 0; }; }; then :
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16528 $as_echo "yes" >&6; }
16530 $as_echo "#define HAVE_5ARGS_VFS_RENAME 1" >>confdefs.h
16534 $as_echo "$as_me: failed program was:" >&5
16535 sed 's/^/| /' conftest.
$ac_ext >&5
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16538 $as_echo "no" >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 6 args" >&5
16540 $as_echo_n "checking whether vfs_rename() wants 6 args... " >&6; }
16543 cat confdefs.h
- <<_ACEOF >conftest.c
16546 #include <linux/fs.h>
16552 vfs_rename((struct inode *) NULL,
16553 (struct dentry *) NULL,
16554 (struct inode *) NULL,
16555 (struct dentry *) NULL,
16556 (struct inode **) NULL,
16566 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16567 echo "obj-m := conftest.o" >build
/Makefile
16569 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16570 if { 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'
16571 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16572 (eval $ac_try) 2>&5
16574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16575 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16576 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16577 (eval $ac_try) 2>&5
16579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16580 test $ac_status = 0; }; }; then :
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16583 $as_echo "yes" >&6; }
16585 $as_echo "#define HAVE_6ARGS_VFS_RENAME 1" >>confdefs.h
16589 $as_echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.
$ac_ext >&5
16592 as_fn_error $?
"no" "$LINENO" 5
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
16617 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
16620 cat confdefs.h
- <<_ACEOF >conftest.c
16623 #include <linux/fs.h>
16629 vfs_fsync(NULL, 0);
16638 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16639 echo "obj-m := conftest.o" >build
/Makefile
16641 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16642 if { 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'
16643 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16644 (eval $ac_try) 2>&5
16646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16647 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16648 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16649 (eval $ac_try) 2>&5
16651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16652 test $ac_status = 0; }; }; then :
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16655 $as_echo "yes" >&6; }
16657 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
16661 $as_echo "$as_me: failed program was:" >&5
16662 sed 's/^/| /' conftest.
$ac_ext >&5
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16665 $as_echo "no" >&6; }
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
16676 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
16679 cat confdefs.h
- <<_ACEOF >conftest.c
16682 #include <linux/fs.h>
16688 struct inode_operations ops;
16689 ops.truncate_range = NULL;
16698 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16699 echo "obj-m := conftest.o" >build
/Makefile
16701 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16702 if { 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'
16703 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16704 (eval $ac_try) 2>&5
16706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16707 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16708 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16709 (eval $ac_try) 2>&5
16711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16712 test $ac_status = 0; }; }; then :
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16715 $as_echo "yes" >&6; }
16717 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
16721 $as_echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.
$ac_ext >&5
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16725 $as_echo "no" >&6; }
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
16736 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
16737 tmp_flags
="$EXTRA_KCFLAGS"
16738 EXTRA_KCFLAGS
="-Werror"
16741 cat confdefs.h
- <<_ACEOF >conftest.c
16744 #include <linux/sched.h>
16745 #include <linux/fs_struct.h>
16751 static struct fs_struct fs;
16752 spin_lock_init(&fs.lock);
16761 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16762 echo "obj-m := conftest.o" >build
/Makefile
16764 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16765 if { 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'
16766 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16767 (eval $ac_try) 2>&5
16769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16770 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16771 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16772 (eval $ac_try) 2>&5
16774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16775 test $ac_status = 0; }; }; then :
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16778 $as_echo "yes" >&6; }
16780 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
16784 $as_echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.
$ac_ext >&5
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16788 $as_echo "no" >&6; }
16796 EXTRA_KCFLAGS
="$tmp_flags"
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
16800 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
16803 cat confdefs.h
- <<_ACEOF >conftest.c
16806 #include <linux/uidgid.h>
16812 kuid_t userid = KUIDT_INIT(0);
16813 kgid_t groupid = KGIDT_INIT(0);
16822 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16823 echo "obj-m := conftest.o" >build
/Makefile
16825 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16826 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16827 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16828 (eval $ac_try) 2>&5
16830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16831 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16832 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16833 (eval $ac_try) 2>&5
16835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16836 test $ac_status = 0; }; }; then :
16840 cat confdefs.h
- <<_ACEOF >conftest.c
16843 #include <linux/uidgid.h>
16850 kgid_t groupid = 0;
16859 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16860 echo "obj-m := conftest.o" >build
/Makefile
16862 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16863 if { 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'
16864 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16865 (eval $ac_try) 2>&5
16867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16868 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16869 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16870 (eval $ac_try) 2>&5
16872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16873 test $ac_status = 0; }; }; then :
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
16876 $as_echo "yes; optional" >&6; }
16879 $as_echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.
$ac_ext >&5
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
16883 $as_echo "yes; mandatory" >&6; }
16885 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
16896 $as_echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.
$ac_ext >&5
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16900 $as_echo "no" >&6; }
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __put_task_struct() is available" >&5
16910 $as_echo_n "checking whether __put_task_struct() is available... " >&6; }
16914 cat confdefs.h
- <<_ACEOF >conftest.c
16917 #include <linux/sched.h>
16923 __put_task_struct(NULL);
16932 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16933 echo "obj-m := conftest.o" >build
/Makefile
16935 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16936 if { 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'
16937 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16938 (eval $ac_try) 2>&5
16940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16941 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16942 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16943 (eval $ac_try) 2>&5
16945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16946 test $ac_status = 0; }; }; then :
16949 $as_echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.
$ac_ext >&5
16958 if test $rc -ne 0; then :
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16961 $as_echo "no" >&6; }
16964 if test "x$enable_linux_builtin" != xyes
; then
16966 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
16967 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
16969 if test $rc -ne 0; then
16972 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
16973 "$LINUX_OBJ/$file" 2>/dev
/null
16975 if test $rc -eq 0; then
16980 if test $export -eq 0; then :
16990 if test $rc -ne 0; then :
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16993 $as_echo "no" >&6; }
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16998 $as_echo "yes" >&6; }
17000 $as_echo "#define HAVE_PUT_TASK_STRUCT 1" >>confdefs.h
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
17010 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
17013 cat confdefs.h
- <<_ACEOF >conftest.c
17016 #include <linux/fs.h>
17022 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
17023 struct file_operations fops __attribute__ ((unused)) = {
17024 .fallocate = fallocate,
17034 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17035 echo "obj-m := conftest.o" >build
/Makefile
17037 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17038 if { 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'
17039 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17040 (eval $ac_try) 2>&5
17042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17043 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17044 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17045 (eval $ac_try) 2>&5
17047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17048 test $ac_status = 0; }; }; then :
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17051 $as_echo "yes" >&6; }
17053 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
17057 $as_echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.
$ac_ext >&5
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17061 $as_echo "no" >&6; }
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
17072 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
17075 cat confdefs.h
- <<_ACEOF >conftest.c
17078 #include <linux/fs.h>
17084 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
17085 struct inode_operations fops __attribute__ ((unused)) = {
17086 .fallocate = fallocate,
17096 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17097 echo "obj-m := conftest.o" >build
/Makefile
17099 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17100 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
17101 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17102 (eval $ac_try) 2>&5
17104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17105 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17106 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17107 (eval $ac_try) 2>&5
17109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17110 test $ac_status = 0; }; }; then :
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17113 $as_echo "yes" >&6; }
17115 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
17119 $as_echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.
$ac_ext >&5
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17123 $as_echo "no" >&6; }
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
17134 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
17137 cat confdefs.h
- <<_ACEOF >conftest.c
17140 #include <linux/fs.h>
17146 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
17147 struct file_operations_no_const fops __attribute__ ((unused)) = {
17148 .fallocate = fallocate,
17158 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17159 echo "obj-m := conftest.o" >build
/Makefile
17161 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17162 if { 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'
17163 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17164 (eval $ac_try) 2>&5
17166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17167 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17168 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17169 (eval $ac_try) 2>&5
17171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17172 test $ac_status = 0; }; }; then :
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17175 $as_echo "yes" >&6; }
17177 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
17181 $as_echo "$as_me: failed program was:" >&5
17182 sed 's/^/| /' conftest.
$ac_ext >&5
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17185 $as_echo "no" >&6; }
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
17197 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
17200 cat confdefs.h
- <<_ACEOF >conftest.c
17203 #if !defined(CONFIG_ZLIB_INFLATE) && \
17204 !defined(CONFIG_ZLIB_INFLATE_MODULE)
17205 #error CONFIG_ZLIB_INFLATE not defined
17219 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17220 echo "obj-m := conftest.o" >build
/Makefile
17222 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17223 if { 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'
17224 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17225 (eval $ac_try) 2>&5
17227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17228 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17229 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17230 (eval $ac_try) 2>&5
17232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17233 test $ac_status = 0; }; }; then :
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17236 $as_echo "yes" >&6; }
17239 $as_echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.
$ac_ext >&5
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17243 $as_echo "no" >&6; }
17245 *** This kernel does not include the required zlib inflate support.
17246 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
17257 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
17260 cat confdefs.h
- <<_ACEOF >conftest.c
17263 #if !defined(CONFIG_ZLIB_DEFLATE) && \
17264 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
17265 #error CONFIG_ZLIB_DEFLATE not defined
17279 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17280 echo "obj-m := conftest.o" >build
/Makefile
17282 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17283 if { 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'
17284 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17285 (eval $ac_try) 2>&5
17287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17288 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17289 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17290 (eval $ac_try) 2>&5
17292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17293 test $ac_status = 0; }; }; then :
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17296 $as_echo "yes" >&6; }
17299 $as_echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.
$ac_ext >&5
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17303 $as_echo "no" >&6; }
17305 *** This kernel does not include the required zlib deflate support.
17306 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
17316 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
17319 cat confdefs.h
- <<_ACEOF >conftest.c
17322 #include <linux/zlib.h>
17328 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
17337 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17338 echo "obj-m := conftest.o" >build
/Makefile
17340 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17341 if { 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'
17342 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17343 (eval $ac_try) 2>&5
17345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17346 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17347 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17348 (eval $ac_try) 2>&5
17350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17351 test $ac_status = 0; }; }; then :
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17354 $as_echo "yes" >&6; }
17356 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
17360 $as_echo "$as_me: failed program was:" >&5
17361 sed 's/^/| /' conftest.
$ac_ext >&5
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17364 $as_echo "no" >&6; }
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
17375 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
17378 cat confdefs.h
- <<_ACEOF >conftest.c
17381 #include <linux/mm.h>
17387 struct shrink_control sc __attribute__ ((unused));
17390 sc.gfp_mask = GFP_KERNEL;
17399 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17400 echo "obj-m := conftest.o" >build
/Makefile
17402 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17403 if { 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'
17404 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17405 (eval $ac_try) 2>&5
17407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17408 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17409 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17410 (eval $ac_try) 2>&5
17412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17413 test $ac_status = 0; }; }; then :
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17416 $as_echo "yes" >&6; }
17418 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
17422 $as_echo "$as_me: failed program was:" >&5
17423 sed 's/^/| /' conftest.
$ac_ext >&5
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17426 $as_echo "no" >&6; }
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
17437 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
17438 tmp_flags
="$EXTRA_KCFLAGS"
17439 EXTRA_KCFLAGS
="-Werror"
17442 cat confdefs.h
- <<_ACEOF >conftest.c
17445 #include <linux/rwsem.h>
17451 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
17452 raw_spinlock_t dummy_lock __attribute__ ((unused));
17453 dummy_semaphore.wait_lock = dummy_lock;
17462 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17463 echo "obj-m := conftest.o" >build
/Makefile
17465 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17466 if { 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'
17467 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17468 (eval $ac_try) 2>&5
17470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17471 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17472 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17473 (eval $ac_try) 2>&5
17475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17476 test $ac_status = 0; }; }; then :
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17479 $as_echo "yes" >&6; }
17481 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
17485 $as_echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.
$ac_ext >&5
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17489 $as_echo "no" >&6; }
17497 EXTRA_KCFLAGS
="$tmp_flags"
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has member activity" >&5
17501 $as_echo_n "checking whether struct rw_semaphore has member activity... " >&6; }
17502 tmp_flags
="$EXTRA_KCFLAGS"
17503 EXTRA_KCFLAGS
="-Werror"
17506 cat confdefs.h
- <<_ACEOF >conftest.c
17509 #include <linux/rwsem.h>
17515 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
17516 dummy_semaphore.activity = 0;
17525 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17526 echo "obj-m := conftest.o" >build
/Makefile
17528 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17529 if { 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'
17530 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17531 (eval $ac_try) 2>&5
17533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17534 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17535 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17536 (eval $ac_try) 2>&5
17538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17539 test $ac_status = 0; }; }; then :
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17542 $as_echo "yes" >&6; }
17544 $as_echo "#define HAVE_RWSEM_ACTIVITY 1" >>confdefs.h
17548 $as_echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.
$ac_ext >&5
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17552 $as_echo "no" >&6; }
17560 EXTRA_KCFLAGS
="$tmp_flags"
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore has atomic_long_t member count" >&5
17564 $as_echo_n "checking whether struct rw_semaphore has atomic_long_t member count... " >&6; }
17565 tmp_flags
="$EXTRA_KCFLAGS"
17566 EXTRA_KCFLAGS
="-Werror"
17569 cat confdefs.h
- <<_ACEOF >conftest.c
17572 #include <linux/rwsem.h>
17578 DECLARE_RWSEM(dummy_semaphore);
17579 (void) atomic_long_read(&dummy_semaphore.count);
17588 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17589 echo "obj-m := conftest.o" >build
/Makefile
17591 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17592 if { 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'
17593 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17594 (eval $ac_try) 2>&5
17596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17597 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17598 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17599 (eval $ac_try) 2>&5
17601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17602 test $ac_status = 0; }; }; then :
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17605 $as_echo "yes" >&6; }
17607 $as_echo "#define HAVE_RWSEM_ATOMIC_LONG_COUNT 1" >>confdefs.h
17611 $as_echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.
$ac_ext >&5
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17615 $as_echo "no" >&6; }
17623 EXTRA_KCFLAGS
="$tmp_flags"
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
17626 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
17629 cat confdefs.h
- <<_ACEOF >conftest.c
17632 #include <linux/sched.h>
17633 #include <linux/sched/rt.h>
17648 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17649 echo "obj-m := conftest.o" >build
/Makefile
17651 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17652 if { 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'
17653 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17654 (eval $ac_try) 2>&5
17656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17657 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17658 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17659 (eval $ac_try) 2>&5
17661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17662 test $ac_status = 0; }; }; then :
17665 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17668 $as_echo "yes" >&6; }
17671 $as_echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.
$ac_ext >&5
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17675 $as_echo "no" >&6; }
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants" >&5
17686 $as_echo_n "checking whether vfs_getattr() wants... " >&6; }
17689 cat confdefs.h
- <<_ACEOF >conftest.c
17692 #include <linux/fs.h>
17698 vfs_getattr((struct path *) NULL,
17699 (struct kstat *)NULL);
17708 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17709 echo "obj-m := conftest.o" >build
/Makefile
17711 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17712 if { 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'
17713 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17714 (eval $ac_try) 2>&5
17716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17717 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17718 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17719 (eval $ac_try) 2>&5
17721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17722 test $ac_status = 0; }; }; then :
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2 args" >&5
17725 $as_echo "2 args" >&6; }
17727 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
17731 $as_echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.
$ac_ext >&5
17736 cat confdefs.h
- <<_ACEOF >conftest.c
17739 #include <linux/fs.h>
17745 vfs_getattr((struct vfsmount *)NULL,
17746 (struct dentry *)NULL,
17747 (struct kstat *)NULL);
17756 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17757 echo "obj-m := conftest.o" >build
/Makefile
17759 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17760 if { 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'
17761 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17762 (eval $ac_try) 2>&5
17764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17765 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17766 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17767 (eval $ac_try) 2>&5
17769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17770 test $ac_status = 0; }; }; then :
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3 args" >&5
17773 $as_echo "3 args" >&6; }
17776 $as_echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.
$ac_ext >&5
17779 as_fn_error $?
"unknown" "$LINENO" 5
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep_range() is available" >&5
17797 $as_echo_n "checking whether usleep_range() is available... " >&6; }
17800 cat confdefs.h
- <<_ACEOF >conftest.c
17803 #include <linux/delay.h>
17809 usleep_range(0, 0);
17818 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17819 echo "obj-m := conftest.o" >build
/Makefile
17821 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17822 if { 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'
17823 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17824 (eval $ac_try) 2>&5
17826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17827 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17828 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17829 (eval $ac_try) 2>&5
17831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17832 test $ac_status = 0; }; }; then :
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17835 $as_echo "yes" >&6; }
17837 $as_echo "#define HAVE_USLEEP_RANGE 1" >>confdefs.h
17841 $as_echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.
$ac_ext >&5
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17845 $as_echo "no" >&6; }
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has allocflags" >&5
17856 $as_echo_n "checking whether struct kmem_cache has allocflags... " >&6; }
17859 cat confdefs.h
- <<_ACEOF >conftest.c
17862 #include <linux/slab.h>
17868 struct kmem_cache cachep __attribute__ ((unused));
17869 cachep.allocflags = GFP_KERNEL;
17878 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17879 echo "obj-m := conftest.o" >build
/Makefile
17881 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17882 if { 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'
17883 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17884 (eval $ac_try) 2>&5
17886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17887 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17888 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17889 (eval $ac_try) 2>&5
17891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17892 test $ac_status = 0; }; }; then :
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17895 $as_echo "yes" >&6; }
17897 $as_echo "#define HAVE_KMEM_CACHE_ALLOCFLAGS 1" >>confdefs.h
17901 $as_echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.
$ac_ext >&5
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17905 $as_echo "no" >&6; }
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has gfpflags" >&5
17908 $as_echo_n "checking whether struct kmem_cache has gfpflags... " >&6; }
17911 cat confdefs.h
- <<_ACEOF >conftest.c
17914 #include <linux/slab.h>
17920 struct kmem_cache cachep __attribute__ ((unused));
17921 cachep.gfpflags = GFP_KERNEL;
17930 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17931 echo "obj-m := conftest.o" >build
/Makefile
17933 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
17934 if { 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'
17935 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17936 (eval $ac_try) 2>&5
17938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17939 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
17940 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17941 (eval $ac_try) 2>&5
17943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17944 test $ac_status = 0; }; }; then :
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17947 $as_echo "yes" >&6; }
17949 $as_echo "#define HAVE_KMEM_CACHE_GFPFLAGS 1" >>confdefs.h
17953 $as_echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.
$ac_ext >&5
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17957 $as_echo "no" >&6; }
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_on_bit() takes an action" >&5
17975 $as_echo_n "checking whether wait_on_bit() takes an action... " >&6; }
17978 cat confdefs.h
- <<_ACEOF >conftest.c
17981 #include <linux/wait.h>
17987 int (*action)(void *) = NULL;
17988 wait_on_bit(NULL, 0, action, 0);
17997 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
17998 echo "obj-m := conftest.o" >build
/Makefile
18000 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18001 if { 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'
18002 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18003 (eval $ac_try) 2>&5
18005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18006 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18007 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18008 (eval $ac_try) 2>&5
18010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18011 test $ac_status = 0; }; }; then :
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18014 $as_echo "yes" >&6; }
18016 $as_echo "#define HAVE_WAIT_ON_BIT_ACTION 1" >>confdefs.h
18020 $as_echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.
$ac_ext >&5
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18024 $as_echo "no" >&6; }
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mutex has owner" >&5
18035 $as_echo_n "checking whether mutex has owner... " >&6; }
18036 tmp_flags
="$EXTRA_KCFLAGS"
18037 EXTRA_KCFLAGS
="-Werror"
18040 cat confdefs.h
- <<_ACEOF >conftest.c
18043 #include <linux/mutex.h>
18044 #include <linux/spinlock.h>
18051 struct task_struct *t __attribute__ ((unused));
18061 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18062 echo "obj-m := conftest.o" >build
/Makefile
18064 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18065 if { 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'
18066 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18067 (eval $ac_try) 2>&5
18069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18070 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18071 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18072 (eval $ac_try) 2>&5
18074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18075 test $ac_status = 0; }; }; then :
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18078 $as_echo "yes" >&6; }
18080 $as_echo "#define HAVE_MUTEX_OWNER 1" >>confdefs.h
18084 $as_echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.
$ac_ext >&5
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18088 $as_echo "no" >&6; }
18096 EXTRA_KCFLAGS
="$tmp_flags"
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inode_lock_shared() exists" >&5
18100 $as_echo_n "checking whether inode_lock_shared() exists... " >&6; }
18101 tmp_flags
="$EXTRA_KCFLAGS"
18102 EXTRA_KCFLAGS
="-Werror"
18105 cat confdefs.h
- <<_ACEOF >conftest.c
18108 #include <linux/fs.h>
18114 struct inode *inode = NULL;
18115 inode_lock_shared(inode);
18124 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
18125 echo "obj-m := conftest.o" >build
/Makefile
18127 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
18128 if { 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'
18129 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18130 (eval $ac_try) 2>&5
18132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18133 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
18134 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18135 (eval $ac_try) 2>&5
18137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18138 test $ac_status = 0; }; }; then :
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18141 $as_echo "yes" >&6; }
18143 $as_echo "#define HAVE_INODE_LOCK_SHARED 1" >>confdefs.h
18147 $as_echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.
$ac_ext >&5
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18151 $as_echo "no" >&6; }
18159 EXTRA_KCFLAGS
="$tmp_flags"
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Error!" >&5
18166 $as_echo "Error!" >&6; }
18167 as_fn_error $?
"Bad value \"$SPL_CONFIG\" for --with-config,
18168 user kernel|user|all|srpm" "$LINENO" 5 ;;
18171 if test "$SPL_CONFIG" = user
-o "$SPL_CONFIG" = all
; then
18173 CONFIG_USER_FALSE
='#'
18175 CONFIG_USER_TRUE
='#'
18179 if test "$SPL_CONFIG" = kernel
-o "$SPL_CONFIG" = all
&&
18180 test "x$enable_linux_builtin" != xyes
; then
18181 CONFIG_KERNEL_TRUE
=
18182 CONFIG_KERNEL_FALSE
='#'
18184 CONFIG_KERNEL_TRUE
='#'
18185 CONFIG_KERNEL_FALSE
=
18190 ac_config_files
="$ac_config_files Makefile man/Makefile man/man1/Makefile man/man5/Makefile lib/Makefile cmd/Makefile cmd/splat/Makefile cmd/splslab/Makefile module/Makefile module/spl/Makefile module/splat/Makefile include/Makefile include/fs/Makefile include/linux/Makefile include/rpc/Makefile include/sharefs/Makefile include/sys/Makefile include/sys/fm/Makefile include/sys/fs/Makefile include/sys/sysevent/Makefile include/util/Makefile include/vm/Makefile scripts/Makefile rpm/Makefile rpm/redhat/Makefile rpm/redhat/spl.spec rpm/redhat/spl-kmod.spec rpm/redhat/spl-dkms.spec rpm/generic/Makefile rpm/generic/spl.spec rpm/generic/spl-kmod.spec rpm/generic/spl-dkms.spec spl.release"
18193 cat >confcache
<<\_ACEOF
18194 # This file is a shell script that caches the results of configure
18195 # tests run on this system so they can be shared between configure
18196 # scripts and configure runs, see configure's option --config-cache.
18197 # It is not useful on other systems. If it contains results you don't
18198 # want to keep, you may remove or edit it.
18200 # config.status only pays attention to the cache file if you give it
18201 # the --recheck option to rerun configure.
18203 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18204 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18205 # following values.
18209 # The following way of writing the cache mishandles newlines in values,
18210 # but we know of no workaround that is simple, portable, and efficient.
18211 # So, we kill variables containing newlines.
18212 # Ultrix sh set writes to stderr and can't be redirected directly,
18213 # and sets the high bit in the cache file unless we assign to the vars.
18215 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18216 eval ac_val
=\$
$ac_var
18220 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18221 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18224 _ | IFS | as_nl
) ;; #(
18225 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18226 *) { eval $ac_var=; unset $ac_var;} ;;
18232 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18233 *${as_nl}ac_space
=\
*)
18234 # `set' does not quote correctly, so add quotes: double-quote
18235 # substitution turns \\\\ into \\, and sed turns \\ into \.
18238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18241 # `set' quotes correctly as required by POSIX, so do not add quotes.
18242 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18251 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18253 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18255 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18256 if test -w "$cache_file"; then
18257 if test "x$cache_file" != "x/dev/null"; then
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18259 $as_echo "$as_me: updating cache $cache_file" >&6;}
18260 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18261 cat confcache
>"$cache_file"
18263 case $cache_file in #(
18265 mv -f confcache
"$cache_file"$$
&&
18266 mv -f "$cache_file"$$
"$cache_file" ;; #(
18268 mv -f confcache
"$cache_file" ;;
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18274 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18279 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18280 # Let make expand exec_prefix.
18281 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18283 DEFS
=-DHAVE_CONFIG_H
18288 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18289 # 1. Remove the extension, and $U if already installed.
18290 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18291 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18292 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18293 # will be set to the directory where LIBOBJS objects are built.
18294 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18295 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18297 LIBOBJS
=$ac_libobjs
18299 LTLIBOBJS
=$ac_ltlibobjs
18302 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18303 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
18304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18307 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18308 if test -n "$am_sleep_pid"; then
18309 # Hide warnings about reused PIDs.
18310 wait $am_sleep_pid 2>/dev
/null
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18313 $as_echo "done" >&6; }
18314 if test -n "$EXEEXT"; then
18316 am__EXEEXT_FALSE
='#'
18318 am__EXEEXT_TRUE
='#'
18322 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18323 as_fn_error $?
"conditional \"AMDEP\" was never defined.
18324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18326 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18327 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
18328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18330 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
18331 as_fn_error $?
"conditional \"CONFIG_USER\" was never defined.
18332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18334 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
18335 as_fn_error $?
"conditional \"CONFIG_KERNEL\" was never defined.
18336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18339 : "${CONFIG_STATUS=./config.status}"
18341 ac_clean_files_save
=$ac_clean_files
18342 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18344 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18346 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18348 # Generated by $as_me.
18349 # Run this file to recreate the current configuration.
18350 # Compiler output produced by configure, useful for debugging
18351 # configure, is in config.log if it exists.
18354 ac_cs_recheck=false
18357 SHELL=\${CONFIG_SHELL-$SHELL}
18360 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18361 ## -------------------- ##
18362 ## M4sh Initialization. ##
18363 ## -------------------- ##
18365 # Be more Bourne compatible
18366 DUALCASE
=1; export DUALCASE
# for MKS sh
18367 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18370 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18371 # is contrary to our usage. Disable this feature.
18372 alias -g '${1+"$@"}'='"$@"'
18373 setopt NO_GLOB_SUBST
18375 case `(set -o) 2>/dev/null` in #(
18387 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18388 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18389 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18390 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18391 # Prefer a ksh shell builtin over an external printf program on Solaris,
18392 # but without wasting forks for bash or zsh.
18393 if test -z "$BASH_VERSION$ZSH_VERSION" \
18394 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18395 as_echo='print
-r --'
18396 as_echo_n='print
-rn --'
18397 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18398 as_echo='printf %s
\n'
18399 as_echo_n='printf %s
'
18401 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18402 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18403 as_echo_n='/usr
/ucb
/echo -n'
18405 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18406 as_echo_n_body='eval
18410 expr "X$arg" : "X\\(.*\\)$as_nl";
18411 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18413 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18415 export as_echo_n_body
18416 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18418 export as_echo_body
18419 as_echo='sh
-c $as_echo_body as_echo
'
18422 # The user is always right.
18423 if test "${PATH_SEPARATOR+set}" != set; then
18425 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18426 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18433 # We need space, tab and new line, in precisely that order. Quoting is
18434 # there to prevent editors from complaining about space-tab.
18435 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18436 # splitting by setting IFS to empty value.)
18439 # Find who we are. Look in the path if we contain no directory separator.
18442 *[\\/]* ) as_myself=$0 ;;
18443 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18444 for as_dir in $PATH
18447 test -z "$as_dir" && as_dir=.
18448 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18454 # We did not find ourselves, most probably we were run as `sh COMMAND'
18455 # in which case we are not to be found in the path.
18456 if test "x$as_myself" = x
; then
18459 if test ! -f "$as_myself"; then
18460 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18464 # Unset variables that we do not need and which cause bugs (e.g. in
18465 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18466 # suppresses any "Segmentation fault" message there. '((' could
18467 # trigger a bug in pdksh 5.2.14.
18468 for as_var
in BASH_ENV ENV MAIL MAILPATH
18469 do eval test x\
${$as_var+set} = xset \
18470 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18483 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18486 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18487 # ----------------------------------------
18488 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18489 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18490 # script with STATUS, using 1 if that was 0.
18493 as_status
=$1; test $as_status -eq 0 && as_status
=1
18495 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18496 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18498 $as_echo "$as_me: error: $2" >&2
18499 as_fn_exit
$as_status
18503 # as_fn_set_status STATUS
18504 # -----------------------
18505 # Set $? to STATUS, without forking.
18506 as_fn_set_status
()
18509 } # as_fn_set_status
18511 # as_fn_exit STATUS
18512 # -----------------
18513 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18517 as_fn_set_status
$1
18523 # Portably unset VAR.
18526 { eval $1=; unset $1;}
18528 as_unset
=as_fn_unset
18529 # as_fn_append VAR VALUE
18530 # ----------------------
18531 # Append the text in VALUE to the end of the definition contained in VAR. Take
18532 # advantage of any shell optimizations that allow amortized linear growth over
18533 # repeated appends, instead of the typical quadratic growth present in naive
18535 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18536 eval 'as_fn_append ()
18547 # as_fn_arith ARG...
18548 # ------------------
18549 # Perform arithmetic evaluation on the ARGs, and store the result in the
18550 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18551 # must be portable across $(()) and expr.
18552 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18553 eval 'as_fn_arith ()
18560 as_val
=`expr "$@" || test $? -eq 1`
18565 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18566 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18572 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18573 as_basename
=basename
18578 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18584 as_me
=`$as_basename -- "$0" ||
18585 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18586 X"$0" : 'X\(//\)$' \| \
18587 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18589 sed '/^.*\/\([^/][^/]*\)\/*$/{
18603 # Avoid depending upon Character Ranges.
18604 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18605 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18606 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18607 as_cr_digits
='0123456789'
18608 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18610 ECHO_C
= ECHO_N
= ECHO_T
=
18611 case `echo -n x` in #(((((
18613 case `echo 'xy\c'` in
18614 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18616 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18623 rm -f conf$$ conf$$.exe conf$$.
file
18624 if test -d conf$$.dir
; then
18625 rm -f conf$$.dir
/conf$$.
file
18628 mkdir conf$$.dir
2>/dev
/null
18630 if (echo >conf$$.
file) 2>/dev
/null
; then
18631 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18633 # ... but there are two gotchas:
18634 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18635 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18636 # In both cases, we have to default to `cp -pR'.
18637 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18639 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18647 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18648 rmdir conf$$.dir
2>/dev
/null
18653 # Create "$as_dir" as a directory, including parents if necessary.
18658 -*) as_dir
=.
/$as_dir;;
18660 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18664 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18665 *) as_qdir
=$as_dir;;
18667 as_dirs
="'$as_qdir' $as_dirs"
18668 as_dir
=`$as_dirname -- "$as_dir" ||
18669 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18670 X"$as_dir" : 'X\(//\)[^/]' \| \
18671 X"$as_dir" : 'X\(//\)$' \| \
18672 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18673 $as_echo X"$as_dir" |
18674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18678 /^X\(\/\/\)[^/].*/{
18691 test -d "$as_dir" && break
18693 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18694 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18698 if mkdir
-p .
2>/dev
/null
; then
18699 as_mkdir_p
='mkdir -p "$as_dir"'
18701 test -d .
/-p && rmdir .
/-p
18706 # as_fn_executable_p FILE
18707 # -----------------------
18708 # Test if FILE is an executable regular file.
18709 as_fn_executable_p
()
18711 test -f "$1" && test -x "$1"
18712 } # as_fn_executable_p
18713 as_test_x
='test -x'
18714 as_executable_p
=as_fn_executable_p
18716 # Sed expression to map a string onto a valid CPP name.
18717 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18719 # Sed expression to map a string onto a valid variable name.
18720 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18724 ## ----------------------------------- ##
18725 ## Main body of $CONFIG_STATUS script. ##
18726 ## ----------------------------------- ##
18728 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18731 # Save the log message, to keep $0 and so on meaningful, and to
18732 # report actual input values of CONFIG_FILES etc. instead of their
18733 # values after options handling.
18735 This file was extended by spl $as_me 0.6.5, which was
18736 generated by GNU Autoconf 2.69. Invocation command line was
18738 CONFIG_FILES = $CONFIG_FILES
18739 CONFIG_HEADERS = $CONFIG_HEADERS
18740 CONFIG_LINKS = $CONFIG_LINKS
18741 CONFIG_COMMANDS = $CONFIG_COMMANDS
18744 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18749 case $ac_config_files in *"
18750 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18753 case $ac_config_headers in *"
18754 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18759 # Files that config.status was made for.
18760 config_files="$ac_config_files"
18761 config_headers="$ac_config_headers"
18762 config_commands="$ac_config_commands"
18766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18768 \`$as_me' instantiates files and other configuration actions
18769 from templates according to the current configuration. Unless the files
18770 and actions are specified as TAGs, all are instantiated by default.
18772 Usage: $0 [OPTION]... [TAG]...
18774 -h, --help print this help, then exit
18775 -V, --version print version number and configuration settings, then exit
18776 --config print configuration, then exit
18777 -q, --quiet, --silent
18778 do not print progress messages
18779 -d, --debug don't remove temporary files
18780 --recheck update $as_me by reconfiguring in the same conditions
18781 --file=FILE[:TEMPLATE]
18782 instantiate the configuration file FILE
18783 --header=FILE[:TEMPLATE]
18784 instantiate the configuration header FILE
18786 Configuration files:
18789 Configuration headers:
18792 Configuration commands:
18795 Report bugs to the package provider."
18798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18799 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18801 spl config.status 0.6.5
18802 configured by $0, generated by GNU Autoconf 2.69,
18803 with options \\"\$ac_cs_config\\"
18805 Copyright (C) 2012 Free Software Foundation, Inc.
18806 This config.status script is free software; the Free Software Foundation
18807 gives unlimited permission to copy, distribute and modify it."
18814 test -n "\$AWK" || AWK=awk
18817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18818 # The default lists apply if the user does not specify any file.
18824 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18825 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18829 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18841 # Handling of the options.
18842 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18844 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18845 $as_echo "$ac_cs_version"; exit ;;
18846 --config |
--confi |
--conf |
--con |
--co |
--c )
18847 $as_echo "$ac_cs_config"; exit ;;
18848 --debug |
--debu |
--deb |
--de |
--d |
-d )
18850 --file |
--fil |
--fi |
--f )
18853 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18854 '') as_fn_error $?
"missing file argument" ;;
18856 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18857 ac_need_defaults
=false
;;
18858 --header |
--heade |
--head |
--hea )
18861 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18863 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18864 ac_need_defaults
=false
;;
18866 # Conflict between --help and --header
18867 as_fn_error $?
"ambiguous option: \`$1'
18868 Try \`$0 --help' for more information.";;
18869 --help |
--hel |
-h )
18870 $as_echo "$ac_cs_usage"; exit ;;
18871 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18872 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18875 # This is an error.
18876 -*) as_fn_error $?
"unrecognized option: \`$1'
18877 Try \`$0 --help' for more information." ;;
18879 *) as_fn_append ac_config_targets
" $1"
18880 ac_need_defaults
=false
;;
18886 ac_configure_extra_args
=
18888 if $ac_cs_silent; then
18890 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18895 if \$ac_cs_recheck; then
18896 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18898 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18899 CONFIG_SHELL='$SHELL'
18900 export CONFIG_SHELL
18905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18909 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18910 ## Running $as_me. ##
18916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18920 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18923 # The HP-UX ksh and POSIX shell print the target directory to stdout
18924 # if CDPATH is set.
18925 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18927 sed_quote_subst='$sed_quote_subst'
18928 double_quote_subst='$double_quote_subst'
18929 delay_variable_subst='$delay_variable_subst'
18930 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18931 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18932 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18933 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18934 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18935 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18936 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18937 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18938 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18939 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18940 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18941 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18942 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18943 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18944 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18945 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18946 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18947 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18948 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18949 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18950 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18951 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18952 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18953 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18954 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18955 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18956 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18957 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18958 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18959 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18960 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18961 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18962 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18963 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18964 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18965 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18966 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18967 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18968 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18969 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18970 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18971 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18972 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18973 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18974 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18975 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18976 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18977 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18978 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18979 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18980 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18981 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18982 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18983 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18984 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18985 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18986 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18987 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18988 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"`'
18989 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18990 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18991 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18992 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18993 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18994 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18995 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18996 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18997 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18998 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18999 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19000 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19001 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19002 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19003 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19004 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19005 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19006 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19007 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19008 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19009 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19010 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19011 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19012 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19013 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19014 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19015 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19016 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19017 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19018 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19019 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19020 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19021 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19022 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19023 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19024 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19025 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19026 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19027 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19028 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19029 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19030 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19031 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19032 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19033 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19034 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19035 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19036 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19037 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19038 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19039 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19040 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19041 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19042 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19043 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19044 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19045 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19046 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19047 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19048 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19049 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19050 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19051 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19052 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19053 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19054 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19055 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19056 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19057 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
19058 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
19059 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19060 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19061 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19062 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19063 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19064 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19067 LTCFLAGS='$LTCFLAGS'
19068 compiler='$compiler_DEFAULT'
19070 # A function that is used when there is no print builtin or printf.
19071 func_fallback_echo ()
19073 eval 'cat <<_LTECHO_EOF
19078 # Quote evaled strings.
19093 deplibs_check_method \
19098 sharedlib_from_linklib_cmd \
19101 archiver_list_spec \
19107 lt_cv_sys_global_symbol_pipe \
19108 lt_cv_sys_global_symbol_to_cdecl \
19109 lt_cv_sys_global_symbol_to_import \
19110 lt_cv_sys_global_symbol_to_c_name_address \
19111 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19112 lt_cv_nm_interface \
19113 nm_file_list_spec \
19114 lt_cv_truncate_bin \
19115 lt_prog_compiler_no_builtin_flag \
19116 lt_prog_compiler_pic \
19117 lt_prog_compiler_wl \
19118 lt_prog_compiler_static \
19119 lt_cv_prog_compiler_c_o \
19128 export_dynamic_flag_spec \
19129 whole_archive_flag_spec \
19130 compiler_needs_object \
19132 allow_undefined_flag \
19133 no_undefined_flag \
19134 hardcode_libdir_flag_spec \
19135 hardcode_libdir_separator \
19139 variables_saved_for_relink \
19141 library_names_spec \
19143 install_override_mode \
19147 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19148 *[\\\\\\\`\\"\\\$]*)
19149 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19152 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19157 # Double-quote double-evaled strings.
19158 for var in reload_cmds \
19159 old_postinstall_cmds \
19160 old_postuninstall_cmds \
19162 extract_expsyms_cmds \
19163 old_archive_from_new_cmds \
19164 old_archive_from_expsyms_cmds \
19166 archive_expsym_cmds \
19168 module_expsym_cmds \
19169 export_symbols_cmds \
19173 postuninstall_cmds \
19175 sys_lib_search_path_spec \
19176 configure_time_dlsearch_path \
19177 configure_time_lt_sys_library_path; do
19178 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19179 *[\\\\\\\`\\"\\\$]*)
19180 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19183 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19188 ac_aux_dir='$ac_aux_dir'
19190 # See if we are running on zsh, and set the options that allow our
19191 # commands through without removal of \ escapes INIT.
19192 if test -n "\${ZSH_VERSION+set}"; then
19193 setopt NO_GLOB_SUBST
19207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19209 # Handling of arguments.
19210 for ac_config_target
in $ac_config_targets
19212 case $ac_config_target in
19213 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
19214 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19215 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19216 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19217 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
19218 "man/man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man1/Makefile" ;;
19219 "man/man5/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man5/Makefile" ;;
19220 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19221 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
19222 "cmd/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/splat/Makefile" ;;
19223 "cmd/splslab/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/splslab/Makefile" ;;
19224 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
19225 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
19226 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
19227 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19228 "include/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/fs/Makefile" ;;
19229 "include/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES include/linux/Makefile" ;;
19230 "include/rpc/Makefile") CONFIG_FILES
="$CONFIG_FILES include/rpc/Makefile" ;;
19231 "include/sharefs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sharefs/Makefile" ;;
19232 "include/sys/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/Makefile" ;;
19233 "include/sys/fm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fm/Makefile" ;;
19234 "include/sys/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fs/Makefile" ;;
19235 "include/sys/sysevent/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/sysevent/Makefile" ;;
19236 "include/util/Makefile") CONFIG_FILES
="$CONFIG_FILES include/util/Makefile" ;;
19237 "include/vm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/vm/Makefile" ;;
19238 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19239 "rpm/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/Makefile" ;;
19240 "rpm/redhat/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/Makefile" ;;
19241 "rpm/redhat/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl.spec" ;;
19242 "rpm/redhat/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl-kmod.spec" ;;
19243 "rpm/redhat/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl-dkms.spec" ;;
19244 "rpm/generic/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/generic/Makefile" ;;
19245 "rpm/generic/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl.spec" ;;
19246 "rpm/generic/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-kmod.spec" ;;
19247 "rpm/generic/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-dkms.spec" ;;
19248 "spl.release") CONFIG_FILES
="$CONFIG_FILES spl.release" ;;
19250 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19255 # If the user did not use the arguments to specify the items to instantiate,
19256 # then the envvar interface is used. Set only those that are not.
19257 # We use the long form for the default assignment because of an extremely
19258 # bizarre bug on SunOS 4.1.3.
19259 if $ac_need_defaults; then
19260 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19261 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19262 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19265 # Have a temporary directory for convenience. Make it in the build tree
19266 # simply because there is no reason against having it here, and in addition,
19267 # creating and moving files from /tmp can sometimes cause problems.
19268 # Hook for its removal unless debugging.
19269 # Note that there is a small window in which the directory will not be cleaned:
19270 # after its creation but before its name has been assigned to `$tmp'.
19274 trap 'exit_status=$?
19275 : "${ac_tmp:=$tmp}"
19276 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19278 trap 'as_fn_exit 1' 1 2 13 15
19280 # Create a (secure) tmp directory for tmp files.
19283 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19287 tmp
=.
/conf$$
-$RANDOM
19288 (umask 077 && mkdir
"$tmp")
19289 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19292 # Set up the scripts for CONFIG_FILES section.
19293 # No need to generate them if there are no CONFIG_FILES.
19294 # This happens for instance with `./config.status config.h'.
19295 if test -n "$CONFIG_FILES"; then
19298 ac_cr
=`echo X | tr X '\015'`
19299 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19300 # But we know of no other shell where ac_cr would be empty at this
19301 # point, so we can use a bashism as a fallback.
19302 if test "x$ac_cr" = x
; then
19303 eval ac_cr
=\$
\'\\r
\'
19305 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19306 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19309 ac_cs_awk_cr
=$ac_cr
19312 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19317 echo "cat >conf$$subs.awk <<_ACEOF" &&
19318 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19320 } >conf$$subs.sh ||
19321 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19322 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19324 for ac_last_try in false false false false false :; do
19325 . ./conf$$subs.sh ||
19326 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19328 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19329 if test $ac_delim_n = $ac_delim_num; then
19331 elif $ac_last_try; then
19332 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19334 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19337 rm -f conf$$subs.sh
19339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19340 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19344 s/^/S["/; s
/!.
*/"]=/
19354 s/\(.\{148\}\)..*/\1/
19356 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19361 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19368 s/\(.\{148\}\)..*/\1/
19370 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19374 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19379 ' <conf$$subs.awk | sed '
19384 ' >>$CONFIG_STATUS || ac_write_fail=1
19385 rm -f conf$$subs.awk
19386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19388 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19389 for (key in S) S_is_set[key] = 1
19395 nfields = split(line, field, "@
")
19397 len = length(field[1])
19398 for (i = 2; i < nfields; i++) {
19400 keylen = length(key)
19401 if (S_is_set[key]) {
19403 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19404 len += length(value) + length(field[++i])
19415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19416 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19417 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19420 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19421 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19424 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19425 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19426 # trailing colons and then remove the whole line if VPATH becomes empty
19427 # (actually we leave an empty line to preserve line numbers).
19428 if test "x
$srcdir" = x.; then
19429 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19448 fi # test -n "$CONFIG_FILES"
19450 # Set up the scripts for CONFIG_HEADERS section.
19451 # No need to generate them if there are no CONFIG_HEADERS.
19452 # This happens for instance with `./config.status Makefile'.
19453 if test -n "$CONFIG_HEADERS"; then
19454 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19458 # Transform confdefs.h into an awk script `defines.awk', embedded as
19459 # here-document in config.status, that substitutes the proper values into
19460 # config.h.in to produce config.h.
19462 # Create a delimiter string that does not exist in confdefs.h, to ease
19463 # handling of long lines.
19465 for ac_last_try in false false :; do
19466 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19467 if test -z "$ac_tt"; then
19469 elif $ac_last_try; then
19470 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19472 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19476 # For the awk script, D is an array of macro values keyed by name,
19477 # likewise P contains macro parameters if any. Preserve backslash
19478 # newline sequences.
19480 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19482 s/.\{148\}/&'"$ac_delim"'/g
19485 s/^[ ]*#[ ]*define[ ][ ]*/ /
19492 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19494 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19499 D["\
1"]=" \
3\\\\\\n
"\\/p
19501 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19506 s/.\{148\}/&'"$ac_delim"'/g
19511 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19514 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19516 ' <confdefs.h | sed '
19517 s/'"$ac_delim"'/"\\\
19518 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19521 for (key in D) D_is_set[key] = 1
19524 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19526 split(line, arg, " ")
19527 if (arg[1] == "#") {
19531 defundef
= substr
(arg
[1], 2)
19534 split(mac1
, mac2
, "(") #)
19536 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19537 if (D_is_set
[macro
]) {
19538 # Preserve the white space surrounding the "#".
19539 print prefix
"define", macro P
[macro
] D
[macro
]
19542 # Replace #undef with comments. This is necessary, for example,
19543 # in the case of _POSIX_SOURCE, which is predefined and required
19544 # on some systems where configure will not decide to define it.
19545 if (defundef
== "undef") {
19546 print
"/*", prefix defundef
, macro
, "*/"
19554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19555 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19556 fi # test -n "$CONFIG_HEADERS"
19559 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19564 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19566 case $ac_mode$ac_tag in
19568 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19569 :[FH
]-) ac_tag
=-:-;;
19570 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19587 -) ac_f
="$ac_tmp/stdin";;
19588 *) # Look for the file first in the build tree, then in the source tree
19589 # (if the path is not absolute). The absolute path cannot be DOS-style,
19590 # because $ac_f cannot contain `:'.
19594 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19596 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19598 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19599 as_fn_append ac_file_inputs
" '$ac_f'"
19602 # Let's still pretend it is `configure' which instantiates (i.e., don't
19603 # use $as_me), people would be surprised to read:
19604 # /* config.h. Generated by config.status. */
19605 configure_input
='Generated from '`
19606 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19608 if test x
"$ac_file" != x-
; then
19609 configure_input
="$ac_file. $configure_input"
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19611 $as_echo "$as_me: creating $ac_file" >&6;}
19613 # Neutralize special characters interpreted by sed in replacement strings.
19614 case $configure_input in #(
19615 *\
&* |
*\|
* |
*\\* )
19616 ac_sed_conf_input
=`$as_echo "$configure_input" |
19617 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19618 *) ac_sed_conf_input
=$configure_input;;
19622 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19623 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19628 ac_dir
=`$as_dirname -- "$ac_file" ||
19629 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19630 X"$ac_file" : 'X\(//\)[^/]' \| \
19631 X"$ac_file" : 'X\(//\)$' \| \
19632 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19633 $as_echo X"$ac_file" |
19634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19638 /^X\(\/\/\)[^/].*/{
19651 as_dir
="$ac_dir"; as_fn_mkdir_p
19655 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19657 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19658 # A ".." for each directory in $ac_dir_suffix.
19659 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19660 case $ac_top_builddir_sub in
19661 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19662 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19665 ac_abs_top_builddir
=$ac_pwd
19666 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19667 # for backward compatibility:
19668 ac_top_builddir
=$ac_top_build_prefix
19671 .
) # We are building in place.
19673 ac_top_srcdir
=$ac_top_builddir_sub
19674 ac_abs_top_srcdir
=$ac_pwd ;;
19675 [\\/]* | ?
:[\\/]* ) # Absolute name.
19676 ac_srcdir
=$srcdir$ac_dir_suffix;
19677 ac_top_srcdir
=$srcdir
19678 ac_abs_top_srcdir
=$srcdir ;;
19679 *) # Relative name.
19680 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19681 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19682 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19684 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19694 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19695 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19697 ac_MKDIR_P
=$MKDIR_P
19699 [\\/$
]* | ?
:[\\/]* ) ;;
19700 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19705 # If the template does not know about datarootdir, expand it.
19706 # FIXME: This hack should be removed a few years after 2.60.
19707 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19718 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19719 *datarootdir
*) ac_datarootdir_seen
=yes;;
19720 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19722 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19725 ac_datarootdir_hack='
19726 s&@datadir@&$datadir&g
19727 s&@docdir@&$docdir&g
19728 s&@infodir@&$infodir&g
19729 s&@localedir@&$localedir&g
19730 s&@mandir@&$mandir&g
19731 s&\\\${datarootdir}&$datarootdir&g' ;;
19735 # Neutralize VPATH when `$srcdir' = `.'.
19736 # Shell code in configure.ac might set extrasub.
19737 # FIXME: do we really want to maintain this feature?
19738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19739 ac_sed_extra="$ac_vpsub
19742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19744 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19745 s|@configure_input@|
$ac_sed_conf_input|
;t t
19746 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19747 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19748 s
&@srcdir@
&$ac_srcdir&;t t
19749 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19750 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19751 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19752 s
&@builddir@
&$ac_builddir&;t t
19753 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19754 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19755 s
&@INSTALL@
&$ac_INSTALL&;t t
19756 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19757 $ac_datarootdir_hack
19759 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19760 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19762 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19763 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19764 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19765 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19767 which seems to be undefined. Please make sure it is defined" >&5
19768 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19769 which seems to be undefined. Please make sure it is defined" >&2;}
19771 rm -f "$ac_tmp/stdin"
19773 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19774 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19782 if test x"$ac_file" != x-; then
19784 $as_echo "/* $configure_input */" \
19785 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19786 } >"$ac_tmp/config.h" \
19787 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19788 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19790 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19793 mv "$ac_tmp/config.h" "$ac_file" \
19794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19797 $as_echo "/* $configure_input */" \
19798 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19799 || as_fn_error $? "could not create -" "$LINENO" 5
19801 # Compute "$ac_file"'s index
in $config_headers.
19804 for _am_header
in $config_headers :; do
19805 case $_am_header in
19806 $_am_arg |
$_am_arg:* )
19809 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19812 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19813 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19814 X"$_am_arg" : 'X\(//\)[^/]' \| \
19815 X"$_am_arg" : 'X\(//\)$' \| \
19816 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19817 $as_echo X"$_am_arg" |
19818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19822 /^X\(\/\/\)[^/].*/{
19834 s/.*/./; q'`/stamp-h
$_am_stamp_count
19837 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19838 $as_echo "$as_me: executing $ac_file commands" >&6;}
19843 case $ac_file$ac_mode in
19845 (mv spl_config.h spl_config.h.tmp
&&
19846 awk -f ${ac_srcdir}/config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
19847 rm spl_config.h.tmp
) ||
exit 1 ;;
19848 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19849 # Older Autoconf quotes --file arguments for eval, but not when files
19850 # are listed without --file. Let's play safe and only enable the eval
19851 # if we detect the quoting.
19852 case $CONFIG_FILES in
19853 *\'*) eval set x
"$CONFIG_FILES" ;;
19854 *) set x
$CONFIG_FILES ;;
19859 # Strip MF so we end up with the name of the file.
19860 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19861 # Check whether this is an Automake generated Makefile or not.
19862 # We used to match only the files named 'Makefile.in', but
19863 # some people rename them; so instead we look at the file content.
19864 # Grep'ing the first line is not enough: some people post-process
19865 # each Makefile.in and add a new line on top of each file to say so.
19866 # Grep'ing the whole file is not good either: AIX grep has a line
19867 # limit of 2048, but all sed's we know have understand at least 4000.
19868 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19869 dirpart
=`$as_dirname -- "$mf" ||
19870 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19871 X"$mf" : 'X\(//\)[^/]' \| \
19872 X"$mf" : 'X\(//\)$' \| \
19873 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19879 /^X\(\/\/\)[^/].*/{
19895 # Extract the definition of DEPDIR, am__include, and am__quote
19896 # from the Makefile without running 'make'.
19897 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19898 test -z "$DEPDIR" && continue
19899 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19900 test -z "$am__include" && continue
19901 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19902 # Find all dependency output files, they are included files with
19903 # $(DEPDIR) in their names. We invoke sed twice because it is the
19904 # simplest approach to changing $(DEPDIR) to its actual value in the
19906 for file in `sed -n "
19907 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19908 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19909 # Make sure the directory exists.
19910 test -f "$dirpart/$file" && continue
19911 fdir
=`$as_dirname -- "$file" ||
19912 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19913 X"$file" : 'X\(//\)[^/]' \| \
19914 X"$file" : 'X\(//\)$' \| \
19915 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19916 $as_echo X"$file" |
19917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19921 /^X\(\/\/\)[^/].*/{
19934 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19935 # echo "creating $dirpart/$file"
19936 echo '# dummy' > "$dirpart/$file"
19943 # See if we are running on zsh, and set the options that allow our
19944 # commands through without removal of \ escapes.
19945 if test -n "${ZSH_VERSION+set}"; then
19946 setopt NO_GLOB_SUBST
19950 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19953 cat <<_LT_EOF >> "$cfgfile"
19955 # Generated automatically by $as_me ($PACKAGE) $VERSION
19956 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19957 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19959 # Provide generalized library-building support services.
19960 # Written by Gordon Matzigkeit, 1996
19962 # Copyright (C) 2014 Free Software Foundation, Inc.
19963 # This is free software; see the source for copying conditions. There is NO
19964 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19966 # GNU Libtool is free software; you can redistribute it and/or modify
19967 # it under the terms of the GNU General Public License as published by
19968 # the Free Software Foundation; either version 2 of of the License, or
19969 # (at your option) any later version.
19971 # As a special exception to the GNU General Public License, if you
19972 # distribute this file as part of a program or library that is built
19973 # using GNU Libtool, you may include this file under the same
19974 # distribution terms that you use for the rest of that program.
19976 # GNU Libtool is distributed in the hope that it will be useful, but
19977 # WITHOUT ANY WARRANTY; without even the implied warranty of
19978 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19979 # GNU General Public License for more details.
19981 # You should have received a copy of the GNU General Public License
19982 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19985 # The names of the tagged configurations supported by this script.
19988 # Configured defaults for sys_lib_dlsearch_path munging.
19989 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19991 # ### BEGIN LIBTOOL CONFIG
19993 # Which release of libtool.m4 was used?
19994 macro_version=$macro_version
19995 macro_revision=$macro_revision
19997 # Whether or not to build shared libraries.
19998 build_libtool_libs=$enable_shared
20000 # Whether or not to build static libraries.
20001 build_old_libs=$enable_static
20003 # What type of objects to build.
20006 # Whether or not to optimize for fast installation.
20007 fast_install=$enable_fast_install
20009 # Shared archive member basename,for filename based shared library versioning on AIX.
20010 shared_archive_member_spec=$shared_archive_member_spec
20012 # Shell to use when invoking shell scripts.
20015 # An echo program that protects backslashes.
20018 # The PATH separator for the build system.
20019 PATH_SEPARATOR=$lt_PATH_SEPARATOR
20022 host_alias=$host_alias
20026 # The build system.
20027 build_alias=$build_alias
20031 # A sed program that does not truncate output.
20034 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20035 Xsed="\$SED -e 1s/^X//"
20037 # A grep program that handles long lines.
20043 # A literal string matcher.
20046 # A BSD- or MS-compatible name lister.
20049 # Whether we need soft or hard links.
20052 # What is the maximum length of a command?
20053 max_cmd_len=$max_cmd_len
20055 # Object file suffix (normally "o").
20058 # Executable file suffix (normally "").
20061 # whether the shell understands "unset".
20064 # turn spaces into newlines.
20067 # turn newlines into spaces.
20070 # convert \$build file names to \$host format.
20071 to_host_file_cmd=$lt_cv_to_host_file_cmd
20073 # convert \$build files to toolchain format.
20074 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20076 # An object symbol dumper.
20077 OBJDUMP=$lt_OBJDUMP
20079 # Method to check whether dependent libraries are shared objects.
20080 deplibs_check_method=$lt_deplibs_check_method
20082 # Command to use when deplibs_check_method = "file_magic".
20083 file_magic_cmd=$lt_file_magic_cmd
20085 # How to find potential files when deplibs_check_method = "file_magic".
20086 file_magic_glob=$lt_file_magic_glob
20088 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20089 want_nocaseglob=$lt_want_nocaseglob
20091 # DLL creation program.
20092 DLLTOOL=$lt_DLLTOOL
20094 # Command to associate shared and link libraries.
20095 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20100 # Flags to create an archive.
20101 AR_FLAGS=$lt_AR_FLAGS
20103 # How to feed a file listing to the archiver.
20104 archiver_list_spec=$lt_archiver_list_spec
20106 # A symbol stripping program.
20109 # Commands used to install an old-style archive.
20111 old_postinstall_cmds=$lt_old_postinstall_cmds
20112 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20114 # Whether to use a lock for old archive extraction.
20115 lock_old_archive_extraction=$lock_old_archive_extraction
20120 # LTCC compiler flags.
20121 LTCFLAGS=$lt_CFLAGS
20123 # Take the output of nm and produce a listing of raw symbols and C names.
20124 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20126 # Transform the output of nm in a proper C declaration.
20127 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20129 # Transform the output of nm into a list of symbols to manually relocate.
20130 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20132 # Transform the output of nm in a C name address pair.
20133 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20135 # Transform the output of nm in a C name address pair when lib prefix is needed.
20136 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20138 # The name lister interface.
20139 nm_interface=$lt_lt_cv_nm_interface
20141 # Specify filename containing input files for \$NM.
20142 nm_file_list_spec=$lt_nm_file_list_spec
20144 # The root where to search for dependent libraries,and where our libraries should be installed.
20145 lt_sysroot=$lt_sysroot
20147 # Command to truncate a binary pipe.
20148 lt_truncate_bin=$lt_lt_cv_truncate_bin
20150 # The name of the directory that contains temporary libtool files.
20153 # Used to examine libraries when file_magic_cmd begins with "file".
20154 MAGIC_CMD=$MAGIC_CMD
20156 # Must we lock files when doing compilation?
20157 need_locks=$lt_need_locks
20160 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20162 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20163 DSYMUTIL=$lt_DSYMUTIL
20165 # Tool to change global to local symbols on Mac OS X.
20168 # Tool to manipulate fat objects and archives on Mac OS X.
20171 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20174 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20175 OTOOL64=$lt_OTOOL64
20177 # Old archive suffix (normally "a").
20180 # Shared library suffix (normally ".so").
20181 shrext_cmds=$lt_shrext_cmds
20183 # The commands to extract the exported symbol list from a shared archive.
20184 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20186 # Variables whose values should be saved in libtool wrapper scripts and
20187 # restored at link time.
20188 variables_saved_for_relink=$lt_variables_saved_for_relink
20190 # Do we need the "lib" prefix for modules?
20191 need_lib_prefix=$need_lib_prefix
20193 # Do we need a version for libraries?
20194 need_version=$need_version
20196 # Library versioning type.
20197 version_type=$version_type
20199 # Shared library runtime path variable.
20200 runpath_var=$runpath_var
20202 # Shared library path variable.
20203 shlibpath_var=$shlibpath_var
20205 # Is shlibpath searched before the hard-coded library search path?
20206 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20208 # Format of library name prefix.
20209 libname_spec=$lt_libname_spec
20211 # List of archive names. First name is the real one, the rest are links.
20212 # The last name is the one that the linker finds with -lNAME
20213 library_names_spec=$lt_library_names_spec
20215 # The coded name of the library, if different from the real name.
20216 soname_spec=$lt_soname_spec
20218 # Permission mode override for installation of shared libraries.
20219 install_override_mode=$lt_install_override_mode
20221 # Command to use after installation of a shared archive.
20222 postinstall_cmds=$lt_postinstall_cmds
20224 # Command to use after uninstallation of a shared archive.
20225 postuninstall_cmds=$lt_postuninstall_cmds
20227 # Commands used to finish a libtool library installation in a directory.
20228 finish_cmds=$lt_finish_cmds
20230 # As "finish_cmds", except a single script fragment to be evaled but
20232 finish_eval=$lt_finish_eval
20234 # Whether we should hardcode library paths into libraries.
20235 hardcode_into_libs=$hardcode_into_libs
20237 # Compile-time system search path for libraries.
20238 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20240 # Detected run-time system search path for libraries.
20241 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20243 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20244 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20246 # Whether dlopen is supported.
20247 dlopen_support=$enable_dlopen
20249 # Whether dlopen of programs is supported.
20250 dlopen_self=$enable_dlopen_self
20252 # Whether dlopen of statically linked programs is supported.
20253 dlopen_self_static=$enable_dlopen_self_static
20255 # Commands to strip libraries.
20256 old_striplib=$lt_old_striplib
20257 striplib=$lt_striplib
20260 # The linker used to build libraries.
20263 # How to create reloadable object files.
20264 reload_flag=$lt_reload_flag
20265 reload_cmds=$lt_reload_cmds
20267 # Commands used to build an old-style archive.
20268 old_archive_cmds=$lt_old_archive_cmds
20270 # A language specific compiler.
20273 # Is the compiler the GNU compiler?
20276 # Compiler flag to turn off builtin functions.
20277 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20279 # Additional compiler flags for building library objects.
20280 pic_flag=$lt_lt_prog_compiler_pic
20282 # How to pass a linker flag through the compiler.
20283 wl=$lt_lt_prog_compiler_wl
20285 # Compiler flag to prevent dynamic linking.
20286 link_static_flag=$lt_lt_prog_compiler_static
20288 # Does compiler simultaneously support -c and -o options?
20289 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20291 # Whether or not to add -lc for building shared libraries.
20292 build_libtool_need_lc=$archive_cmds_need_lc
20294 # Whether or not to disallow shared libs when runtime libs are static.
20295 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20297 # Compiler flag to allow reflexive dlopens.
20298 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20300 # Compiler flag to generate shared objects directly from archives.
20301 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20303 # Whether the compiler copes with passing no objects directly.
20304 compiler_needs_object=$lt_compiler_needs_object
20306 # Create an old-style archive from a shared archive.
20307 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20309 # Create a temporary old-style archive to link instead of a shared archive.
20310 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20312 # Commands used to build a shared archive.
20313 archive_cmds=$lt_archive_cmds
20314 archive_expsym_cmds=$lt_archive_expsym_cmds
20316 # Commands used to build a loadable module if different from building
20317 # a shared archive.
20318 module_cmds=$lt_module_cmds
20319 module_expsym_cmds=$lt_module_expsym_cmds
20321 # Whether we are building with GNU ld or not.
20322 with_gnu_ld=$lt_with_gnu_ld
20324 # Flag that allows shared libraries with undefined symbols to be built.
20325 allow_undefined_flag=$lt_allow_undefined_flag
20327 # Flag that enforces no undefined symbols.
20328 no_undefined_flag=$lt_no_undefined_flag
20330 # Flag to hardcode \$libdir into a binary during linking.
20331 # This must work even if \$libdir does not exist
20332 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20334 # Whether we need a single "-rpath" flag with a separated argument.
20335 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20337 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20338 # DIR into the resulting binary.
20339 hardcode_direct=$hardcode_direct
20341 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20342 # DIR into the resulting binary and the resulting library dependency is
20343 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
20344 # library is relocated.
20345 hardcode_direct_absolute=$hardcode_direct_absolute
20347 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20348 # into the resulting binary.
20349 hardcode_minus_L=$hardcode_minus_L
20351 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20352 # into the resulting binary.
20353 hardcode_shlibpath_var=$hardcode_shlibpath_var
20355 # Set to "yes" if building a shared library automatically hardcodes DIR
20356 # into the library and all subsequent libraries and executables linked
20358 hardcode_automatic=$hardcode_automatic
20360 # Set to yes if linker adds runtime paths of dependent libraries
20361 # to runtime path list.
20362 inherit_rpath=$inherit_rpath
20364 # Whether libtool must link a program against all its dependency libraries.
20365 link_all_deplibs=$link_all_deplibs
20367 # Set to "yes" if exported symbols are required.
20368 always_export_symbols=$always_export_symbols
20370 # The commands to list exported symbols.
20371 export_symbols_cmds=$lt_export_symbols_cmds
20373 # Symbols that should not be listed in the preloaded symbols.
20374 exclude_expsyms=$lt_exclude_expsyms
20376 # Symbols that must always be exported.
20377 include_expsyms=$lt_include_expsyms
20379 # Commands necessary for linking programs (against libraries) with templates.
20380 prelink_cmds=$lt_prelink_cmds
20382 # Commands necessary for finishing linking programs.
20383 postlink_cmds=$lt_postlink_cmds
20385 # Specify filename containing input files.
20386 file_list_spec=$lt_file_list_spec
20388 # How to hardcode a shared library path into an executable.
20389 hardcode_action=$hardcode_action
20391 # ### END LIBTOOL CONFIG
20395 cat <<'_LT_EOF' >> "$cfgfile"
20397 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20399 # func_munge_path_list VARIABLE PATH
20400 # -----------------------------------
20401 # VARIABLE is name of variable containing _space_ separated list of
20402 # directories to be munged by the contents of PATH, which is string
20405 # string "DIR[ DIR]" will be prepended to VARIABLE
20407 # string "DIR[ DIR]" will be appended to VARIABLE
20408 # "DIRP[:DIRP]::[DIRA:]DIRA"
20409 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20410 # "DIRA[ DIRA]" will be appended to VARIABLE
20412 # VARIABLE will be replaced by "DIR[ DIR]"
20413 func_munge_path_list ()
20419 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20422 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20425 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20426 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20429 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20435 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
20436 func_cc_basename ()
20438 for cc_temp in $*""; do
20440 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20441 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20446 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20450 # ### END FUNCTIONS SHARED WITH CONFIGURE
20456 cat <<\_LT_EOF
>> "$cfgfile"
20457 # AIX sometimes has problems with the GCC collect2 program. For some
20458 # reason, if we set the COLLECT_NAMES environment variable, the problems
20459 # vanish in a puff of smoke.
20460 if test set != "${COLLECT_NAMES+set}"; then
20462 export COLLECT_NAMES
20469 ltmain
=$ac_aux_dir/ltmain.sh
20472 # We use sed instead of cat because bash on DJGPP gets confused if
20473 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20474 # text mode, it properly converts lines to CR/LF. This bash problem
20475 # is reportedly fixed, but why not run on old versions too?
20476 sed '$q' "$ltmain" >> "$cfgfile" \
20477 ||
(rm -f "$cfgfile"; exit 1)
20479 mv -f "$cfgfile" "$ofile" ||
20480 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20491 ac_clean_files
=$ac_clean_files_save
20493 test $ac_write_fail = 0 ||
20494 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20497 # configure is writing to config.log, and then calls config.status.
20498 # config.status does its own redirection, appending to config.log.
20499 # Unfortunately, on DOS this fails, as config.log is still kept open
20500 # by configure, so config.status won't be able to write to it; its
20501 # output is simply discarded. So we exec the FD to /dev/null,
20502 # effectively closing config.log, so it can be properly (re)opened and
20503 # appended to by config.status. When coming back to configure, we
20504 # need to make the FD available again.
20505 if test "$no_create" != yes; then
20507 ac_config_status_args
=
20508 test "$silent" = yes &&
20509 ac_config_status_args
="$ac_config_status_args --quiet"
20511 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20513 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20514 # would make configure fail if this is the last instruction.
20515 $ac_cs_success || as_fn_exit
1
20517 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20519 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}