2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for spl 0.6.5.3.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev
/null
; then :
189 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
194 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir
=.
201 for as_base
in sh bash ksh sh5
; do
202 # Try only shells that exist, to save several forks.
203 as_shell
=$as_dir/$as_base
204 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$as_shell as_have_required
=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
215 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
217 CONFIG_SHELL
=$SHELL as_have_required
=yes
222 if test "x$CONFIG_SHELL" != x
; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
232 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x
$as_have_required = xno
; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x
${ZSH_VERSION+set} = xset
; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL
=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE
= GREP_OPTIONS
=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir
=.
/$as_dir;;
301 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
305 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs
="'$as_qdir' $as_dirs"
309 as_dir
=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
335 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
370 as_val
=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status
=$1; test $as_status -eq 0 && as_status
=1
384 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit
$as_status
391 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
398 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
410 as_me
=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits
='0123456789'
434 as_cr_alnum
=$as_cr_Letters$as_cr_digits
437 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
438 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x
"$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C
= ECHO_N
= ECHO_T
=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
481 rm -f conf$$ conf$$.exe conf$$.
file
482 if test -d conf$$.dir
; then
483 rm -f conf$$.dir
/conf$$.
file
486 mkdir conf$$.dir
2>/dev
/null
488 if (echo >conf$$.
file) 2>/dev
/null
; then
489 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
509 as_mkdir_p
='mkdir -p "$as_dir"'
511 test -d .
/-p && rmdir .
/-p
515 if test -x / >/dev
/null
2>&1; then
518 if ls -dL / >/dev
/null
2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p
=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL
=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix
=/usr
/local
560 ac_config_libobj_dir
=.
567 # Identity of this package.
569 PACKAGE_TARNAME
='spl'
570 PACKAGE_VERSION
='0.6.5.3'
571 PACKAGE_STRING
='spl 0.6.5.3'
575 # Factoring default headers for most tests.
576 ac_includes_default
="\
578 #ifdef HAVE_SYS_TYPES_H
579 # include <sys/types.h>
581 #ifdef HAVE_SYS_STAT_H
582 # include <sys/stat.h>
588 # ifdef HAVE_STDLIB_H
593 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #ifdef HAVE_STRINGS_H
599 # include <strings.h>
601 #ifdef HAVE_INTTYPES_H
602 # include <inttypes.h>
611 ac_subst_vars
='am__EXEEXT_FALSE
702 INSTALL_STRIP_PROGRAM
722 MAINTAINER_MODE_FALSE
775 program_transform_name
788 enable_option_checking
789 enable_maintainer_mode
791 enable_dependency_tracking
806 enable_debug_kmem_tracking
807 enable_atomic_spinlocks
809 ac_precious_vars
='build_alias
820 # Initialize some variables set by options.
822 ac_init_version
=false
823 ac_unrecognized_opts
=
825 # The variables have the same names as the options, with
826 # dashes changed to underlines.
834 program_transform_name
=s
,x
,x
,
842 # Installation directory options.
843 # These are left unexpanded so users can "make install exec_prefix=/foo"
844 # and all the variables that are supposed to be based on exec_prefix
845 # by default will actually change.
846 # Use braces instead of parens because sh, perl, etc. also accept them.
847 # (The list follows the same order as the GNU Coding Standards.)
848 bindir
='${exec_prefix}/bin'
849 sbindir
='${exec_prefix}/sbin'
850 libexecdir
='${exec_prefix}/libexec'
851 datarootdir
='${prefix}/share'
852 datadir
='${datarootdir}'
853 sysconfdir
='${prefix}/etc'
854 sharedstatedir
='${prefix}/com'
855 localstatedir
='${prefix}/var'
856 includedir
='${prefix}/include'
857 oldincludedir
='/usr/include'
858 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
859 infodir
='${datarootdir}/info'
864 libdir
='${exec_prefix}/lib'
865 localedir
='${datarootdir}/locale'
866 mandir
='${datarootdir}/man'
872 # If the previous option needs an argument, assign it.
873 if test -n "$ac_prev"; then
874 eval $ac_prev=\
$ac_option
880 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
885 # Accept the important Cygnus configure options, so we can diagnose typos.
887 case $ac_dashdash$ac_option in
891 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
893 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
896 -build |
--build |
--buil |
--bui |
--bu)
897 ac_prev
=build_alias
;;
898 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
899 build_alias
=$ac_optarg ;;
901 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
902 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
903 ac_prev
=cache_file
;;
904 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
905 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
906 cache_file
=$ac_optarg ;;
909 cache_file
=config.cache
;;
911 -datadir |
--datadir |
--datadi |
--datad)
913 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
914 datadir
=$ac_optarg ;;
916 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
917 |
--dataroo |
--dataro |
--datar)
918 ac_prev
=datarootdir
;;
919 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
920 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
921 datarootdir
=$ac_optarg ;;
923 -disable-* |
--disable-*)
924 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
927 as_fn_error $?
"invalid feature name: $ac_useropt"
928 ac_useropt_orig
=$ac_useropt
929 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930 case $ac_user_opts in
934 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
935 ac_unrecognized_sep
=', ';;
937 eval enable_
$ac_useropt=no
;;
939 -docdir |
--docdir |
--docdi |
--doc |
--do)
941 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
944 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
946 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
949 -enable-* |
--enable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 as_fn_error $?
"invalid feature name: $ac_useropt"
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=\
$ac_optarg ;;
965 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
966 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
967 |
--exec |
--exe |
--ex)
968 ac_prev
=exec_prefix
;;
969 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
970 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
971 |
--exec=* |
--exe=* |
--ex=*)
972 exec_prefix
=$ac_optarg ;;
974 -gas |
--gas |
--ga |
--g)
975 # Obsolete; use --with-gas.
978 -help |
--help |
--hel |
--he |
-h)
980 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
981 ac_init_help
=recursive
;;
982 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
983 ac_init_help
=short
;;
985 -host |
--host |
--hos |
--ho)
986 ac_prev
=host_alias
;;
987 -host=* |
--host=* |
--hos=* |
--ho=*)
988 host_alias
=$ac_optarg ;;
990 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
992 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
994 htmldir
=$ac_optarg ;;
996 -includedir |
--includedir |
--includedi |
--included |
--include \
997 |
--includ |
--inclu |
--incl |
--inc)
998 ac_prev
=includedir
;;
999 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1000 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1001 includedir
=$ac_optarg ;;
1003 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1005 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1006 infodir
=$ac_optarg ;;
1008 -libdir |
--libdir |
--libdi |
--libd)
1010 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1011 libdir
=$ac_optarg ;;
1013 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1014 |
--libexe |
--libex |
--libe)
1015 ac_prev
=libexecdir
;;
1016 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1017 |
--libexe=* |
--libex=* |
--libe=*)
1018 libexecdir
=$ac_optarg ;;
1020 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1021 ac_prev
=localedir
;;
1022 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1023 localedir
=$ac_optarg ;;
1025 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1026 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1027 ac_prev
=localstatedir
;;
1028 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1029 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1030 localstatedir
=$ac_optarg ;;
1032 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1034 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1035 mandir
=$ac_optarg ;;
1037 -nfp |
--nfp |
--nf)
1038 # Obsolete; use --without-fp.
1041 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1042 |
--no-cr |
--no-c |
-n)
1045 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1046 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1049 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1050 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1051 |
--oldin |
--oldi |
--old |
--ol |
--o)
1052 ac_prev
=oldincludedir
;;
1053 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1054 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1055 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1056 oldincludedir
=$ac_optarg ;;
1058 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1060 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1061 prefix
=$ac_optarg ;;
1063 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1064 |
--program-pre |
--program-pr |
--program-p)
1065 ac_prev
=program_prefix
;;
1066 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1067 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1068 program_prefix
=$ac_optarg ;;
1070 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1071 |
--program-suf |
--program-su |
--program-s)
1072 ac_prev
=program_suffix
;;
1073 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1074 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1075 program_suffix
=$ac_optarg ;;
1077 -program-transform-name |
--program-transform-name \
1078 |
--program-transform-nam |
--program-transform-na \
1079 |
--program-transform-n |
--program-transform- \
1080 |
--program-transform |
--program-transfor \
1081 |
--program-transfo |
--program-transf \
1082 |
--program-trans |
--program-tran \
1083 |
--progr-tra |
--program-tr |
--program-t)
1084 ac_prev
=program_transform_name
;;
1085 -program-transform-name=* |
--program-transform-name=* \
1086 |
--program-transform-nam=* |
--program-transform-na=* \
1087 |
--program-transform-n=* |
--program-transform-=* \
1088 |
--program-transform=* |
--program-transfor=* \
1089 |
--program-transfo=* |
--program-transf=* \
1090 |
--program-trans=* |
--program-tran=* \
1091 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1092 program_transform_name
=$ac_optarg ;;
1094 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1096 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1097 pdfdir
=$ac_optarg ;;
1099 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1101 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1104 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1105 |
-silent |
--silent |
--silen |
--sile |
--sil)
1108 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1110 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1112 sbindir
=$ac_optarg ;;
1114 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1115 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1116 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1118 ac_prev
=sharedstatedir
;;
1119 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1120 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1121 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1123 sharedstatedir
=$ac_optarg ;;
1125 -site |
--site |
--sit)
1127 -site=* |
--site=* |
--sit=*)
1130 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1132 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1133 srcdir
=$ac_optarg ;;
1135 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1136 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1137 ac_prev
=sysconfdir
;;
1138 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1139 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1140 sysconfdir
=$ac_optarg ;;
1142 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1143 ac_prev
=target_alias
;;
1144 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1145 target_alias
=$ac_optarg ;;
1147 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1150 -version |
--version |
--versio |
--versi |
--vers |
-V)
1151 ac_init_version
=: ;;
1154 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1157 as_fn_error $?
"invalid package name: $ac_useropt"
1158 ac_useropt_orig
=$ac_useropt
1159 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in
1164 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1165 ac_unrecognized_sep
=', ';;
1167 eval with_
$ac_useropt=\
$ac_optarg ;;
1169 -without-* |
--without-*)
1170 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1173 as_fn_error $?
"invalid package name: $ac_useropt"
1174 ac_useropt_orig
=$ac_useropt
1175 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1181 ac_unrecognized_sep
=', ';;
1183 eval with_
$ac_useropt=no
;;
1186 # Obsolete; use --with-x.
1189 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1190 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1191 ac_prev
=x_includes
;;
1192 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1193 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1194 x_includes
=$ac_optarg ;;
1196 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1197 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1198 ac_prev
=x_libraries
;;
1199 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1200 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1201 x_libraries
=$ac_optarg ;;
1203 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1204 Try \`$0 --help' for more information"
1208 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1209 # Reject names that are not valid shell variable names.
1210 case $ac_envvar in #(
1211 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1212 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1214 eval $ac_envvar=\
$ac_optarg
1215 export $ac_envvar ;;
1218 # FIXME: should be removed in autoconf 3.0.
1219 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1220 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1221 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1222 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1228 if test -n "$ac_prev"; then
1229 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1230 as_fn_error $?
"missing argument to $ac_option"
1233 if test -n "$ac_unrecognized_opts"; then
1234 case $enable_option_checking in
1236 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1237 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1241 # Check all directory arguments for consistency.
1242 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1243 datadir sysconfdir sharedstatedir localstatedir includedir \
1244 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1245 libdir localedir mandir
1247 eval ac_val
=\$
$ac_var
1248 # Remove trailing slashes.
1251 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1252 eval $ac_var=\
$ac_val;;
1254 # Be sure to have absolute directory names.
1256 [\\/$
]* | ?
:[\\/]* ) continue;;
1257 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1259 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1262 # There might be people who depend on the old broken behavior: `$host'
1263 # used to hold the argument of --host etc.
1264 # FIXME: To remove some day.
1267 target
=$target_alias
1269 # FIXME: To remove some day.
1270 if test "x$host_alias" != x
; then
1271 if test "x$build_alias" = x
; then
1272 cross_compiling
=maybe
1273 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1274 If a cross compiler is detected then cross compile mode will be used" >&2
1275 elif test "x$build_alias" != "x$host_alias"; then
1281 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1283 test "$silent" = yes && exec 6>/dev
/null
1286 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1287 ac_ls_di
=`ls -di .` &&
1288 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1289 as_fn_error $?
"working directory cannot be determined"
1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291 as_fn_error $?
"pwd does not report name of working directory"
1294 # Find the source files, if location was not specified.
1295 if test -z "$srcdir"; then
1296 ac_srcdir_defaulted
=yes
1297 # Try the directory containing this script, then the parent directory.
1298 ac_confdir
=`$as_dirname -- "$as_myself" ||
1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300 X"$as_myself" : 'X\(//\)[^/]' \| \
1301 X"$as_myself" : 'X\(//\)$' \| \
1302 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303 $as_echo X"$as_myself" |
1304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1326 ac_srcdir_defaulted
=no
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1329 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1330 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1332 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336 # When building in place, set srcdir=.
1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
1340 # Remove unnecessary trailing slashes from srcdir.
1341 # Double slashes in file names in object file debugging info
1342 # mess up M-x gdb in Emacs.
1344 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1346 for ac_var
in $ac_precious_vars; do
1347 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1348 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1349 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1350 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1354 # Report the --help message.
1356 if test "$ac_init_help" = "long"; then
1357 # Omit some internal or obsolete options to make the list less imposing.
1358 # This message is too long to be a string in the A/UX 3.1 sh.
1360 \`configure' configures spl 0.6.5.3 to adapt to many kinds of systems.
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE. See below for descriptions of some of the useful variables.
1367 Defaults for the options are specified in brackets.
1370 -h, --help display this help and exit
1371 --help=short display options specific to this package
1372 --help=recursive display the short help of all the included packages
1373 -V, --version display version information and exit
1374 -q, --quiet, --silent do not print \`checking ...' messages
1375 --cache-file=FILE cache test results in FILE [disabled]
1376 -C, --config-cache alias for \`--cache-file=config.cache'
1377 -n, --no-create do not create output files
1378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1380 Installation directories:
1381 --prefix=PREFIX install architecture-independent files in PREFIX
1382 [$ac_default_prefix]
1383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1391 For better control, use the options below.
1393 Fine tuning of the installation directories:
1394 --bindir=DIR user executables [EPREFIX/bin]
1395 --sbindir=DIR system admin executables [EPREFIX/sbin]
1396 --libexecdir=DIR program executables [EPREFIX/libexec]
1397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400 --libdir=DIR object code libraries [EPREFIX/lib]
1401 --includedir=DIR C header files [PREFIX/include]
1402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405 --infodir=DIR info documentation [DATAROOTDIR/info]
1406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407 --mandir=DIR man documentation [DATAROOTDIR/man]
1408 --docdir=DIR documentation root [DATAROOTDIR/doc/spl]
1409 --htmldir=DIR html documentation [DOCDIR]
1410 --dvidir=DIR dvi documentation [DOCDIR]
1411 --pdfdir=DIR pdf documentation [DOCDIR]
1412 --psdir=DIR ps documentation [DOCDIR]
1418 --program-prefix=PREFIX prepend PREFIX to installed program names
1419 --program-suffix=SUFFIX append SUFFIX to installed program names
1420 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1423 --build=BUILD configure
for building on BUILD
[guessed
]
1424 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1425 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1429 if test -n "$ac_init_help"; then
1430 case $ac_init_help in
1431 short | recursive
) echo "Configuration of spl 0.6.5.3:";;
1436 --disable-option-checking ignore unrecognized
--enable/--with options
1437 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1438 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1439 --enable-maintainer-mode enable make rules and dependencies not useful
1440 (and sometimes confusing
) to the casual installer
1441 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1442 --disable-silent-rules verbose build output (undo: `make V
=0')
1443 --disable-dependency-tracking speeds up one-time build
1444 --enable-dependency-tracking do not reject slow dependency extractors
1445 --enable-shared[=PKGS] build shared libraries [default=yes]
1446 --enable-static[=PKGS] build static libraries [default=yes]
1447 --enable-fast-install[=PKGS]
1448 optimize for fast installation [default=yes]
1449 --disable-libtool-lock avoid locking (might break parallel builds)
1450 --enable-linux-builtin Configure for builtin in-tree kernel modules
1452 --enable-debug Enable generic debug support [default=no]
1453 --enable-debug-kmem Enable basic kmem accounting [default=no]
1454 --enable-debug-kmem-tracking
1455 Enable detailed kmem tracking [default=no]
1456 --enable-atomic-spinlocks
1457 Atomic types use spinlocks [default=check]
1460 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1461 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1462 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1464 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1465 --with-sysroot=DIR Search for dependent libraries within DIR
1466 (or the compiler's sysroot
if not specified
).
1467 --with-spec=SPEC Spec files
'generic|redhat'
1468 --with-config=CONFIG Config
file 'kernel|user|all|srpm'
1469 --with-linux=PATH Path to kernel
source
1470 --with-linux-obj=PATH Path to kernel build objects
1472 Some influential environment variables
:
1473 CC C compiler
command
1474 CFLAGS C compiler flags
1475 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1476 nonstandard directory
<lib dir
>
1477 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1478 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1479 you have headers
in a nonstandard directory
<include dir
>
1482 Use these variables to override the choices made by
`configure' or to help
1483 it to find libraries and programs with nonstandard names/locations.
1485 Report bugs to the package provider.
1490 if test "$ac_init_help" = "recursive"; then
1491 # If there are subdirs, report their specific --help.
1492 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1493 test -d "$ac_dir" ||
1494 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1502 # A ".." for each directory in $ac_dir_suffix.
1503 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1504 case $ac_top_builddir_sub in
1505 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1506 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1509 ac_abs_top_builddir=$ac_pwd
1510 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1511 # for backward compatibility:
1512 ac_top_builddir=$ac_top_build_prefix
1515 .) # We are building in place.
1517 ac_top_srcdir=$ac_top_builddir_sub
1518 ac_abs_top_srcdir=$ac_pwd ;;
1519 [\\/]* | ?:[\\/]* ) # Absolute name.
1520 ac_srcdir=$srcdir$ac_dir_suffix;
1521 ac_top_srcdir=$srcdir
1522 ac_abs_top_srcdir=$srcdir ;;
1524 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1525 ac_top_srcdir=$ac_top_build_prefix$srcdir
1526 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1530 cd "$ac_dir" || { ac_status=$?; continue; }
1531 # Check for guested configure.
1532 if test -f "$ac_srcdir/configure.gnu"; then
1534 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1535 elif test -f "$ac_srcdir/configure"; then
1537 $SHELL "$ac_srcdir/configure" --help=recursive
1539 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1541 cd "$ac_pwd" || { ac_status=$?; break; }
1545 test -n "$ac_init_help" && exit $ac_status
1546 if $ac_init_version; then
1548 spl configure 0.6.5.3
1549 generated by GNU Autoconf 2.68
1551 Copyright (C) 2010 Free Software Foundation, Inc.
1552 This configure script is free software; the Free Software Foundation
1553 gives unlimited permission to copy, distribute and modify it.
1558 ## ------------------------ ##
1559 ## Autoconf initialization. ##
1560 ## ------------------------ ##
1562 # ac_fn_c_try_compile LINENO
1563 # --------------------------
1564 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1565 ac_fn_c_try_compile ()
1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568 rm -f conftest.$ac_objext
1569 if { { ac_try="$ac_compile"
1571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1572 *) ac_try_echo
=$ac_try;;
1574 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_compile") 2>conftest.err
1578 if test -s conftest.err
; then
1579 grep -v '^ *+' conftest.err
>conftest.er1
1580 cat conftest.er1
>&5
1581 mv -f conftest.er1 conftest.err
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } && {
1585 test -z "$ac_c_werror_flag" ||
1586 test ! -s conftest.err
1587 } && test -s conftest.
$ac_objext; then :
1590 $as_echo "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.
$ac_ext >&5
1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 as_fn_set_status
$ac_retval
1598 } # ac_fn_c_try_compile
1600 # ac_fn_c_try_link LINENO
1601 # -----------------------
1602 # Try to link conftest.$ac_ext, and return whether this succeeded.
1605 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1606 rm -f conftest.
$ac_objext conftest
$ac_exeext
1607 if { { ac_try
="$ac_link"
1609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1610 *) ac_try_echo=$ac_try;;
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_link") 2>conftest.err
1616 if test -s conftest.err; then
1617 grep -v '^ *+' conftest.err >conftest.er1
1618 cat conftest.er1 >&5
1619 mv -f conftest.er1 conftest.err
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } && {
1623 test -z "$ac_c_werror_flag" ||
1624 test ! -s conftest.err
1625 } && test -s conftest$ac_exeext && {
1626 test "$cross_compiling" = yes ||
1627 $as_test_x conftest$ac_exeext
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1637 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1638 # interfere with the next link command; also delete a directory that is
1639 # left behind by Apple's compiler. We do this before executing the actions.
1640 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1642 as_fn_set_status $ac_retval
1644 } # ac_fn_c_try_link
1646 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1647 # -------------------------------------------------------
1648 # Tests whether HEADER exists and can be compiled using the include files in
1649 # INCLUDES, setting the cache variable VAR accordingly.
1650 ac_fn_c_check_header_compile ()
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1654 $as_echo_n "checking for $2... " >&6; }
1655 if eval \${$3+:} false; then :
1656 $as_echo_n "(cached) " >&6
1658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1659 /* end confdefs.h. */
1663 if ac_fn_c_try_compile "$LINENO"; then :
1668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1672 $as_echo "$ac_res" >&6; }
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675 } # ac_fn_c_check_header_compile
1677 # ac_fn_c_try_cpp LINENO
1678 # ----------------------
1679 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 if { { ac_try="$ac_cpp conftest.$ac_ext"
1685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1686 *) ac_try_echo
=$ac_try;;
1688 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1692 if test -s conftest.err
; then
1693 grep -v '^ *+' conftest.err
>conftest.er1
1694 cat conftest.er1
>&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } > conftest.i
&& {
1699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1700 test ! -s conftest.err
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.
$ac_ext >&5
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status
$ac_retval
1714 # ac_fn_c_try_run LINENO
1715 # ----------------------
1716 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1717 # that executables *can* be run.
1720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1721 if { { ac_try
="$ac_link"
1723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_link") 2>&5
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1732 { { case "(($ac_try" in
1733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1734 *) ac_try_echo
=$ac_try;;
1736 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_try") 2>&5
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; }; }; then :
1744 $as_echo "$as_me: program exited with status $ac_status" >&5
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.
$ac_ext >&5
1748 ac_retval
=$ac_status
1750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 as_fn_set_status
$ac_retval
1756 # ac_fn_c_check_func LINENO FUNC VAR
1757 # ----------------------------------
1758 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1759 ac_fn_c_check_func
()
1761 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763 $as_echo_n "checking for $2... " >&6; }
1764 if eval \
${$3+:} false
; then :
1765 $as_echo_n "(cached) " >&6
1767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1769 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1771 #define $2 innocuous_$2
1773 /* System header to define __stub macros and hopefully few prototypes,
1774 which can conflict with char $2 (); below.
1775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1776 <limits.h> exists even on freestanding compilers. */
1779 # include <limits.h>
1781 # include <assert.h>
1786 /* Override any GCC internal prototype to avoid an error.
1787 Use char because int might match the return type of a GCC
1788 builtin and then its argument prototype would still apply. */
1793 /* The GNU C library defines this for functions which it implements
1794 to always fail with ENOSYS. Some functions are actually named
1795 something starting with __ and the normal name is an alias. */
1796 #if defined __stub_$2 || defined __stub___$2
1808 if ac_fn_c_try_link
"$LINENO"; then :
1813 rm -f core conftest.err conftest.
$ac_objext \
1814 conftest
$ac_exeext conftest.
$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 } # ac_fn_c_check_func
1822 cat >config.log
<<_ACEOF
1823 This file contains any messages produced by compilers while
1824 running configure, to aid debugging if configure makes a mistake.
1826 It was created by spl $as_me 0.6.5.3, which was
1827 generated by GNU Autoconf 2.68. Invocation command line was
1839 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1840 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1841 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1842 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1843 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1845 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1846 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1848 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1849 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1850 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1851 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1852 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1853 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1854 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1862 test -z "$as_dir" && as_dir
=.
1863 $as_echo "PATH: $as_dir"
1879 # Keep a trace of the command line.
1880 # Strip out --no-create and --no-recursion so they do not pile up.
1881 # Strip out --silent because we don't want to record it for future runs.
1882 # Also quote any args containing shell meta-characters.
1883 # Make two passes to allow for proper duplicate-argument suppression.
1887 ac_must_keep_next
=false
1893 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1894 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1895 |
-silent |
--silent |
--silen |
--sile |
--sil)
1898 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1901 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1903 as_fn_append ac_configure_args1
" '$ac_arg'"
1904 if test $ac_must_keep_next = true
; then
1905 ac_must_keep_next
=false
# Got value, back to normal.
1908 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1909 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1910 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1911 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1912 case "$ac_configure_args0 " in
1913 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1916 -* ) ac_must_keep_next
=true
;;
1919 as_fn_append ac_configure_args
" '$ac_arg'"
1924 { ac_configure_args0
=; unset ac_configure_args0
;}
1925 { ac_configure_args1
=; unset ac_configure_args1
;}
1927 # When interrupted or exit'd, cleanup temporary files, and complete
1928 # config.log. We remove comments because anyway the quotes in there
1929 # would cause problems or look ugly.
1930 # WARNING: Use '\'' to represent an apostrophe within the trap.
1931 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1932 trap 'exit_status=$?
1933 # Save into config.log some information that might help in debugging.
1937 $as_echo "## ---------------- ##
1938 ## Cache variables. ##
1939 ## ---------------- ##"
1941 # The following way of writing the cache mishandles newlines in values,
1943 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1944 eval ac_val=\$$ac_var
1948 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1949 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1952 _ | IFS | as_nl) ;; #(
1953 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1954 *) { eval $ac_var=; unset $ac_var;} ;;
1959 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1960 *${as_nl}ac_space=\ *)
1962 "s/'\''/'\''\\\\'\'''\''/g;
1963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1966 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1973 $as_echo "## ----------------- ##
1974 ## Output variables. ##
1975 ## ----------------- ##"
1977 for ac_var in $ac_subst_vars
1979 eval ac_val=\$$ac_var
1981 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1983 $as_echo "$ac_var='\''$ac_val'\''"
1987 if test -n "$ac_subst_files"; then
1988 $as_echo "## ------------------- ##
1989 ## File substitutions. ##
1990 ## ------------------- ##"
1992 for ac_var
in $ac_subst_files
1994 eval ac_val
=\$
$ac_var
1996 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1998 $as_echo "$ac_var='\''$ac_val'\''"
2003 if test -s confdefs.h; then
2004 $as_echo "## ----------- ##
2011 test "$ac_signal" != 0 &&
2012 $as_echo "$as_me: caught signal $ac_signal"
2013 $as_echo "$as_me: exit $exit_status"
2015 rm -f core *.core core.conftest.* &&
2016 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2019 for ac_signal
in 1 2 13 15; do
2020 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2025 rm -f -r conftest
* confdefs.h
2027 $as_echo "/* confdefs.h */" > confdefs.h
2029 # Predefined preprocessor variables.
2031 cat >>confdefs.h
<<_ACEOF
2032 #define PACKAGE_NAME "$PACKAGE_NAME"
2035 cat >>confdefs.h
<<_ACEOF
2036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2039 cat >>confdefs.h
<<_ACEOF
2040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2043 cat >>confdefs.h
<<_ACEOF
2044 #define PACKAGE_STRING "$PACKAGE_STRING"
2047 cat >>confdefs.h
<<_ACEOF
2048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2051 cat >>confdefs.h
<<_ACEOF
2052 #define PACKAGE_URL "$PACKAGE_URL"
2056 # Let the site file select an alternate cache file if it wants to.
2057 # Prefer an explicitly selected file to automatically selected ones.
2060 if test -n "$CONFIG_SITE"; then
2061 # We do not want a PATH search for config.site.
2062 case $CONFIG_SITE in #((
2063 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2064 */*) ac_site_file1
=$CONFIG_SITE;;
2065 *) ac_site_file1
=.
/$CONFIG_SITE;;
2067 elif test "x$prefix" != xNONE
; then
2068 ac_site_file1
=$prefix/share
/config.site
2069 ac_site_file2
=$prefix/etc
/config.site
2071 ac_site_file1
=$ac_default_prefix/share
/config.site
2072 ac_site_file2
=$ac_default_prefix/etc
/config.site
2074 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2076 test "x$ac_site_file" = xNONE
&& continue
2077 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2079 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2080 sed 's/^/| /' "$ac_site_file" >&5
2082 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2084 as_fn_error $?
"failed to load site script $ac_site_file
2085 See \`config.log' for more details" "$LINENO" 5; }
2089 if test -r "$cache_file"; then
2090 # Some versions of bash will fail to source /dev/null (special files
2091 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2092 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2094 $as_echo "$as_me: loading cache $cache_file" >&6;}
2096 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2097 *) .
"./$cache_file";;
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2102 $as_echo "$as_me: creating cache $cache_file" >&6;}
2106 # Check that the precious variables saved in the cache have kept the same
2108 ac_cache_corrupted
=false
2109 for ac_var
in $ac_precious_vars; do
2110 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2111 eval ac_new_set
=\
$ac_env_${ac_var}_set
2112 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2113 eval ac_new_val
=\
$ac_env_${ac_var}_value
2114 case $ac_old_set,$ac_new_set in
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2117 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2118 ac_cache_corrupted
=: ;;
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2121 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2122 ac_cache_corrupted
=: ;;
2125 if test "x$ac_old_val" != "x$ac_new_val"; then
2126 # differences in whitespace do not lead to failure.
2127 ac_old_val_w
=`echo x $ac_old_val`
2128 ac_new_val_w
=`echo x $ac_new_val`
2129 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2131 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2132 ac_cache_corrupted
=:
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2135 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2136 eval $ac_var=\
$ac_old_val
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2139 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2141 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2144 # Pass precious variables to config.status.
2145 if test "$ac_new_set" = set; then
2147 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2148 *) ac_arg
=$ac_var=$ac_new_val ;;
2150 case " $ac_configure_args " in
2151 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2152 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2156 if $ac_cache_corrupted; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2160 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2161 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2163 ## -------------------- ##
2164 ## Main body of script. ##
2165 ## -------------------- ##
2168 ac_cpp
='$CPP $CPPFLAGS'
2169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2175 ac_cpp
='$CPP $CPPFLAGS'
2176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2181 for ac_prog
in gawk mawk nawk
awk
2183 # Extract the first word of "$ac_prog", so it can be a program name with args.
2184 set dummy
$ac_prog; ac_word
=$2
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2186 $as_echo_n "checking for $ac_word... " >&6; }
2187 if ${ac_cv_prog_AWK+:} false
; then :
2188 $as_echo_n "(cached) " >&6
2190 if test -n "$AWK"; then
2191 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir
=.
2198 for ac_exec_ext
in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 ac_cv_prog_AWK
="$ac_prog"
2201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 if test -n "$AWK"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2213 $as_echo "$AWK" >&6; }
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2216 $as_echo "no" >&6; }
2220 test -n "$AWK" && break
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking metadata" >&5
2224 $as_echo_n "checking metadata... " >&6; }
2227 _spl_ac_meta_type
="none"
2228 if test -f "$META"; then
2229 _spl_ac_meta_type
="META file"
2231 SPL_META_NAME
=`$AWK -F ':[ \t]+' '$1 ~ /^ *(Name|Project|Package)$/ { print $2; exit }' $META`;
2232 if test -n "$SPL_META_NAME"; then
2234 cat >>confdefs.h
<<_ACEOF
2235 #define SPL_META_NAME "$SPL_META_NAME"
2241 SPL_META_VERSION
=`$AWK -F ':[ \t]+' '$1 ~ /^ *Version$/ { print $2; exit }' $META`;
2242 if test -n "$SPL_META_VERSION"; then
2244 cat >>confdefs.h
<<_ACEOF
2245 #define SPL_META_VERSION "$SPL_META_VERSION"
2251 SPL_META_RELEASE
=`$AWK -F ':[ \t]+' '$1 ~ /^ *Release$/ { print $2; exit }' $META`;
2252 if test ! -f ".nogitrelease" && git rev-parse
--git-dir > /dev
/null
2>&1; then
2253 _match
="${SPL_META_NAME}-${SPL_META_VERSION}"
2254 _alias
=$
(git describe
--match=${_match} 2>/dev
/null
)
2255 _release
=$
(echo ${_alias}|cut
-f3- -d'-'|
sed 's/-/_/g')
2256 if test -n "${_release}"; then
2257 SPL_META_RELEASE
=${_release}
2258 _spl_ac_meta_type
="git describe"
2262 if test -n "$SPL_META_RELEASE"; then
2264 cat >>confdefs.h
<<_ACEOF
2265 #define SPL_META_RELEASE "$SPL_META_RELEASE"
2270 RELEASE
="$SPL_META_RELEASE"
2274 SPL_META_LICENSE
=`$AWK -F ':[ \t]+' '$1 ~ /^ *License$/ { print $2; exit }' $META`;
2275 if test -n "$SPL_META_LICENSE"; then
2277 cat >>confdefs.h
<<_ACEOF
2278 #define SPL_META_LICENSE "$SPL_META_LICENSE"
2284 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
2285 SPL_META_ALIAS
="$SPL_META_NAME-$SPL_META_VERSION"
2286 test -n "$SPL_META_RELEASE" &&
2287 SPL_META_ALIAS
="$SPL_META_ALIAS-$SPL_META_RELEASE"
2289 cat >>confdefs.h
<<_ACEOF
2290 #define SPL_META_ALIAS "$SPL_META_ALIAS"
2296 SPL_META_DATA
=`$AWK -F ':[ \t]+' '$1 ~ /^ *Date$/ { print $2; exit }' $META`;
2297 if test -n "$SPL_META_DATA"; then
2299 cat >>confdefs.h
<<_ACEOF
2300 #define SPL_META_DATA "$SPL_META_DATA"
2306 SPL_META_AUTHOR
=`$AWK -F ':[ \t]+' '$1 ~ /^ *Author$/ { print $2; exit }' $META`;
2307 if test -n "$SPL_META_AUTHOR"; then
2309 cat >>confdefs.h
<<_ACEOF
2310 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
2317 SPL_META_LT_CURRENT
=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Current$/ { print $2; exit }' $META`;
2318 SPL_META_LT_REVISION
=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Revision$/ { print $2; exit }' $META`;
2319 SPL_META_LT_AGE
=`$AWK -F ':[ \t]+' '$1 ~ /^ *LT_Age$/ { print $2; exit }' $META`;
2320 if test -n "$SPL_META_LT_CURRENT" \
2321 -o -n "$SPL_META_LT_REVISION" \
2322 -o -n "$SPL_META_LT_AGE"; then
2323 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT
="0"
2324 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION
="0"
2325 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE
="0"
2327 cat >>confdefs.h
<<_ACEOF
2328 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
2332 cat >>confdefs.h
<<_ACEOF
2333 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
2337 cat >>confdefs.h
<<_ACEOF
2338 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_spl_ac_meta_type" >&5
2348 $as_echo "$_spl_ac_meta_type" >&6; }
2352 for ac_dir
in config
"$srcdir"/config
; do
2353 if test -f "$ac_dir/install-sh"; then
2355 ac_install_sh
="$ac_aux_dir/install-sh -c"
2357 elif test -f "$ac_dir/install.sh"; then
2359 ac_install_sh
="$ac_aux_dir/install.sh -c"
2361 elif test -f "$ac_dir/shtool"; then
2363 ac_install_sh
="$ac_aux_dir/shtool install -c"
2367 if test -z "$ac_aux_dir"; then
2368 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2371 # These three variables are undocumented and unsupported,
2372 # and are intended to be withdrawn in a future Autoconf release.
2373 # They can cause serious problems if a builder's source tree is in a directory
2374 # whose full name contains unusual characters.
2375 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2376 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2377 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2381 # Make sure we can run config.sub.
2382 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2383 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2386 $as_echo_n "checking build system type... " >&6; }
2387 if ${ac_cv_build+:} false
; then :
2388 $as_echo_n "(cached) " >&6
2390 ac_build_alias
=$build_alias
2391 test "x$ac_build_alias" = x
&&
2392 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2393 test "x$ac_build_alias" = x
&&
2394 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2395 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2396 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2400 $as_echo "$ac_cv_build" >&6; }
2401 case $ac_cv_build in
2403 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2406 ac_save_IFS
=$IFS; IFS
='-'
2412 # Remember, the first character of IFS is used to create $*,
2413 # except with old shells:
2416 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2420 $as_echo_n "checking host system type... " >&6; }
2421 if ${ac_cv_host+:} false
; then :
2422 $as_echo_n "(cached) " >&6
2424 if test "x$host_alias" = x
; then
2425 ac_cv_host
=$ac_cv_build
2427 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2428 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2433 $as_echo "$ac_cv_host" >&6; }
2436 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2439 ac_save_IFS
=$IFS; IFS
='-'
2445 # Remember, the first character of IFS is used to create $*,
2446 # except with old shells:
2449 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2453 $as_echo_n "checking target system type... " >&6; }
2454 if ${ac_cv_target+:} false
; then :
2455 $as_echo_n "(cached) " >&6
2457 if test "x$target_alias" = x
; then
2458 ac_cv_target
=$ac_cv_host
2460 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2461 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2466 $as_echo "$ac_cv_target" >&6; }
2467 case $ac_cv_target in
2469 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2471 target
=$ac_cv_target
2472 ac_save_IFS
=$IFS; IFS
='-'
2478 # Remember, the first character of IFS is used to create $*,
2479 # except with old shells:
2482 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2485 # The aliases save the names the user supplied, while $host etc.
2486 # will get canonicalized.
2487 test -n "$target_alias" &&
2488 test "$program_prefix$program_suffix$program_transform_name" = \
2490 program_prefix
=${target_alias}-
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2494 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2495 # Check whether --enable-maintainer-mode was given.
2496 if test "${enable_maintainer_mode+set}" = set; then :
2497 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2499 USE_MAINTAINER_MODE
=no
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2503 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2504 if test $USE_MAINTAINER_MODE = yes; then
2505 MAINTAINER_MODE_TRUE
=
2506 MAINTAINER_MODE_FALSE
='#'
2508 MAINTAINER_MODE_TRUE
='#'
2509 MAINTAINER_MODE_FALSE
=
2512 MAINT
=$MAINTAINER_MODE_TRUE
2515 # Check whether --enable-silent-rules was given.
2516 if test "${enable_silent_rules+set}" = set; then :
2517 enableval
=$enable_silent_rules;
2520 case $enable_silent_rules in
2521 yes) AM_DEFAULT_VERBOSITY
=0;;
2522 no
) AM_DEFAULT_VERBOSITY
=1;;
2523 *) AM_DEFAULT_VERBOSITY
=0;;
2525 am_make
=${MAKE-make}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2527 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2528 if ${am_cv_make_support_nested_variables+:} false
; then :
2529 $as_echo_n "(cached) " >&6
2531 if $as_echo 'TRUE=$(BAR$(V))
2537 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2538 am_cv_make_support_nested_variables
=yes
2540 am_cv_make_support_nested_variables
=no
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2544 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2545 if test $am_cv_make_support_nested_variables = yes; then
2547 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2549 AM_V
=$AM_DEFAULT_VERBOSITY
2550 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2554 am__api_version='1.11'
2556 # Find a good install program. We prefer a C program (faster),
2557 # so one script is as good as another. But avoid the broken or
2558 # incompatible versions:
2559 # SysV /etc/install, /usr/sbin/install
2560 # SunOS /usr/etc/install
2561 # IRIX /sbin/install
2563 # AmigaOS /C/install, which installs bootblocks on floppy discs
2564 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2565 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2566 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2567 # OS/2's system install, which has a completely different semantic
2568 # ./install, which can be erroneously created by make from ./install.sh.
2569 # Reject install programs that cannot install multiple files.
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2571 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2572 if test -z "$INSTALL"; then
2573 if ${ac_cv_path_install+:} false
; then :
2574 $as_echo_n "(cached) " >&6
2576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir
=.
2581 # Account for people who put trailing slashes in PATH elements.
2582 case $as_dir/ in #((
2583 .
/ | .
// |
/[cC
]/* | \
2584 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2585 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2588 # OSF1 and SCO ODT 3.0 have their own names for install.
2589 # Don't use installbsd from OSF since it installs stuff as root
2591 for ac_prog
in ginstall scoinst
install; do
2592 for ac_exec_ext
in '' $ac_executable_extensions; do
2593 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2594 if test $ac_prog = install &&
2595 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2596 # AIX install. It has an incompatible calling convention.
2598 elif test $ac_prog = install &&
2599 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2600 # program-specific install script used by HP pwplus--don't use.
2603 rm -rf conftest.one conftest.two conftest.dir
2604 echo one
> conftest.one
2605 echo two
> conftest.two
2607 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2608 test -s conftest.one
&& test -s conftest.two
&&
2609 test -s conftest.dir
/conftest.one
&&
2610 test -s conftest.dir
/conftest.two
2612 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2625 rm -rf conftest.one conftest.two conftest.dir
2628 if test "${ac_cv_path_install+set}" = set; then
2629 INSTALL
=$ac_cv_path_install
2631 # As a last resort, use the slow shell script. Don't cache a
2632 # value for INSTALL within a source directory, because that will
2633 # break other packages using the cache if that directory is
2634 # removed, or if the value is a relative name.
2635 INSTALL
=$ac_install_sh
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2639 $as_echo "$INSTALL" >&6; }
2641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2642 # It thinks the first close brace ends the variable substitution.
2643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2647 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2650 $as_echo_n "checking whether build environment is sane... " >&6; }
2653 echo timestamp
> conftest.
file
2654 # Reject unsafe characters in $srcdir or the absolute working directory
2655 # name. Accept space and tab only in the latter.
2659 *[\\\"\
#\$\&\'\`$am_lf]*)
2660 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2663 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2664 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2667 # Do `set' in a subshell so we don't clobber the current shell's
2668 # arguments. Must try -L first in case configure is actually a
2669 # symlink; some systems play weird games with the mod time of symlinks
2670 # (eg FreeBSD returns the mod time of the symlink's containing
2673 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2674 if test "$*" = "X"; then
2676 set X
`ls -t "$srcdir/configure" conftest.file`
2679 if test "$*" != "X $srcdir/configure conftest.file" \
2680 && test "$*" != "X conftest.file $srcdir/configure"; then
2682 # If neither matched, then we have a broken ls. This can happen
2683 # if, for instance, CONFIG_SHELL is bash and it inherits a
2684 # broken ls alias from the environment. This has actually
2685 # happened. Such a system could not be considered "sane".
2686 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2687 alias in your environment" "$LINENO" 5
2690 test "$2" = conftest.
file
2696 as_fn_error $?
"newly created file is older than distributed files!
2697 Check your system clock" "$LINENO" 5
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2700 $as_echo "yes" >&6; }
2701 test "$program_prefix" != NONE
&&
2702 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2703 # Use a double $ so make ignores it.
2704 test "$program_suffix" != NONE
&&
2705 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2706 # Double any \ or $.
2707 # By default was `s,x,x', remove it if useless.
2708 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2709 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2711 # expand $ac_aux_dir to an absolute path
2712 am_aux_dir
=`cd $ac_aux_dir && pwd`
2714 if test x
"${MISSING+set}" != xset
; then
2717 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2719 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2722 # Use eval to expand $SHELL
2723 if eval "$MISSING --run true"; then
2724 am_missing_run
="$MISSING --run "
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2728 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2731 if test x
"${install_sh}" != xset
; then
2734 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2736 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2740 # Installed binaries are usually stripped using `strip' when the user
2741 # run `make install-strip'. However `strip' might not be the right
2742 # tool to use in cross-compilation environments, therefore Automake
2743 # will honor the `STRIP' environment variable to overrule this program.
2744 if test "$cross_compiling" != no
; then
2745 if test -n "$ac_tool_prefix"; then
2746 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2747 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if ${ac_cv_prog_STRIP+:} false
; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$STRIP"; then
2754 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir
=.
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 STRIP
=$ac_cv_prog_STRIP
2774 if test -n "$STRIP"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2776 $as_echo "$STRIP" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2784 if test -z "$ac_cv_prog_STRIP"; then
2786 # Extract the first word of "strip", so it can be a program name with args.
2787 set dummy strip
; ac_word
=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2791 $as_echo_n "(cached) " >&6
2793 if test -n "$ac_ct_STRIP"; then
2794 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803 ac_cv_prog_ac_ct_STRIP
="strip"
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2814 if test -n "$ac_ct_STRIP"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2816 $as_echo "$ac_ct_STRIP" >&6; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2822 if test "x$ac_ct_STRIP" = x
; then
2825 case $cross_compiling:$ac_tool_warned in
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2829 ac_tool_warned
=yes ;;
2834 STRIP
="$ac_cv_prog_STRIP"
2838 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2841 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2842 if test -z "$MKDIR_P"; then
2843 if ${ac_cv_path_mkdir+:} false
; then :
2844 $as_echo_n "(cached) " >&6
2846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2847 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2850 test -z "$as_dir" && as_dir
=.
2851 for ac_prog
in mkdir gmkdir
; do
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2854 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2855 'mkdir (GNU coreutils) '* | \
2856 'mkdir (coreutils) '* | \
2857 'mkdir (fileutils) '4.1*)
2858 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2868 test -d .
/--version && rmdir .
/--version
2869 if test "${ac_cv_path_mkdir+set}" = set; then
2870 MKDIR_P
="$ac_cv_path_mkdir -p"
2872 # As a last resort, use the slow shell script. Don't cache a
2873 # value for MKDIR_P within a source directory, because that will
2874 # break other packages using the cache if that directory is
2875 # removed, or if the value is a relative name.
2876 MKDIR_P
="$ac_install_sh -d"
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2880 $as_echo "$MKDIR_P" >&6; }
2884 [\\/$
]* | ?
:[\\/]*) ;;
2885 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2889 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2891 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2892 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2893 $as_echo_n "(cached) " >&6
2895 cat >conftest.
make <<\_ACEOF
2898 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2900 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2901 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2903 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2905 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2909 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2911 $as_echo "yes" >&6; }
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2916 SET_MAKE
="MAKE=${MAKE-make}"
2919 rm -rf .tst
2>/dev
/null
2920 mkdir .tst
2>/dev
/null
2921 if test -d .tst
; then
2926 rmdir .tst
2>/dev
/null
2928 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2929 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2930 # is not polluted with repeated "-I."
2931 am__isrc
=' -I$(srcdir)'
2932 # test to see if srcdir already configured
2933 if test -f $srcdir/config.status
; then
2934 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2938 # test whether we have cygpath
2939 if test -z "$CYGPATH_W"; then
2940 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2941 CYGPATH_W
='cygpath -w'
2948 # Define the identity of the package.
2953 cat >>confdefs.h
<<_ACEOF
2954 #define PACKAGE "$PACKAGE"
2958 cat >>confdefs.h
<<_ACEOF
2959 #define VERSION "$VERSION"
2962 # Some tools Automake needs.
2964 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2967 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2970 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2973 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2976 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2978 # We need awk for the "check" target. The system "awk" is bad on
2980 # Always define AMTAR for backward compatibility. Yes, it's still used
2981 # in the wild :-( We should find a proper way to deprecate it ...
2984 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2990 ac_config_headers
="$ac_config_headers spl_config.h"
2995 ac_cpp
='$CPP $CPPFLAGS'
2996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2999 if test -n "$ac_tool_prefix"; then
3000 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3001 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_CC+:} false
; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$CC"; then
3008 ac_cv_prog_CC
="$CC" # Let the user override the test.
3010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir
=.
3015 for ac_exec_ext
in '' $ac_executable_extensions; do
3016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3017 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 if test -n "$CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3030 $as_echo "$CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3038 if test -z "$ac_cv_prog_CC"; then
3040 # Extract the first word of "gcc", so it can be a program name with args.
3041 set dummy gcc
; ac_word
=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3045 $as_echo_n "(cached) " >&6
3047 if test -n "$ac_ct_CC"; then
3048 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir
=.
3055 for ac_exec_ext
in '' $ac_executable_extensions; do
3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3057 ac_cv_prog_ac_ct_CC
="gcc"
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3068 if test -n "$ac_ct_CC"; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3070 $as_echo "$ac_ct_CC" >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3076 if test "x$ac_ct_CC" = x
; then
3079 case $cross_compiling:$ac_tool_warned in
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3083 ac_tool_warned
=yes ;;
3091 if test -z "$CC"; then
3092 if test -n "$ac_tool_prefix"; then
3093 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3094 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if ${ac_cv_prog_CC+:} false
; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC
="$CC" # Let the user override the test.
3103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir
=.
3108 for ac_exec_ext
in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 if test -n "$CC"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 $as_echo "$CC" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3132 if test -z "$CC"; then
3133 # Extract the first word of "cc", so it can be a program name with args.
3134 set dummy cc
; ac_word
=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if ${ac_cv_prog_CC+:} false
; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$CC"; then
3141 ac_cv_prog_CC
="$CC" # Let the user override the test.
3144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir
=.
3149 for ac_exec_ext
in '' $ac_executable_extensions; do
3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3152 ac_prog_rejected
=yes
3156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163 if test $ac_prog_rejected = yes; then
3164 # We found a bogon in the path, so make sure we never use it.
3165 set dummy
$ac_cv_prog_CC
3167 if test $# != 0; then
3168 # We chose a different compiler from the bogus one.
3169 # However, it has the same basename, so the bogon will be chosen
3170 # first if we set CC to just the basename; use the full file name.
3172 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3178 if test -n "$CC"; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3180 $as_echo "$CC" >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3188 if test -z "$CC"; then
3189 if test -n "$ac_tool_prefix"; then
3190 for ac_prog
in cl.exe
3192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3193 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if ${ac_cv_prog_CC+:} false
; then :
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$CC"; then
3200 ac_cv_prog_CC
="$CC" # Let the user override the test.
3202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir
=.
3207 for ac_exec_ext
in '' $ac_executable_extensions; do
3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 if test -n "$CC"; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3222 $as_echo "$CC" >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3229 test -n "$CC" && break
3232 if test -z "$CC"; then
3234 for ac_prog
in cl.exe
3236 # Extract the first word of "$ac_prog", so it can be a program name with args.
3237 set dummy
$ac_prog; 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_ac_ct_CC+:} false
; then :
3241 $as_echo_n "(cached) " >&6
3243 if test -n "$ac_ct_CC"; then
3244 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3250 test -z "$as_dir" && as_dir
=.
3251 for ac_exec_ext
in '' $ac_executable_extensions; do
3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253 ac_cv_prog_ac_ct_CC
="$ac_prog"
3254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3263 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3264 if test -n "$ac_ct_CC"; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3266 $as_echo "$ac_ct_CC" >&6; }
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3273 test -n "$ac_ct_CC" && break
3276 if test "x$ac_ct_CC" = x
; then
3279 case $cross_compiling:$ac_tool_warned in
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3283 ac_tool_warned
=yes ;;
3292 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3294 as_fn_error $?
"no acceptable C compiler found in \$PATH
3295 See \`config.log' for more details" "$LINENO" 5; }
3297 # Provide some information about the compiler.
3298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3301 for ac_option
in --version -v -V -qversion; do
3302 { { ac_try
="$ac_compiler $ac_option >&5"
3304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3308 $as_echo "$ac_try_echo"; } >&5
3309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3311 if test -s conftest.err; then
3313 ... rest of stderr output deleted ...
3314 10q' conftest.err >conftest.er1
3315 cat conftest.er1 >&5
3317 rm -f conftest.er1 conftest.err
3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3319 test $ac_status = 0; }
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3333 ac_clean_files_save=$ac_clean_files
3334 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3335 # Try to create an executable without -o first, disregard a.out.
3336 # It will help us diagnose broken compilers, and finding out an intuition
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3339 $as_echo_n "checking whether the C compiler works... " >&6; }
3340 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3342 # The possible output files:
3343 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3346 for ac_file in $ac_files
3349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3350 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3355 if { { ac_try="$ac_link_default"
3357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3358 *) ac_try_echo
=$ac_try;;
3360 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361 $as_echo "$ac_try_echo"; } >&5
3362 (eval "$ac_link_default") 2>&5
3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3365 test $ac_status = 0; }; then :
3366 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3367 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3368 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3369 # so that the user can short-circuit this test for compilers unknown to
3371 for ac_file
in $ac_files ''
3373 test -f "$ac_file" ||
continue
3375 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3378 # We found the default executable, but exeext='' is most
3382 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3384 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3386 # We set ac_cv_exeext here because the later test for it is not
3387 # safe: cross compilers may not add the suffix if given an `-o'
3388 # argument, so we may need to know it at that point already.
3389 # Even if this section looks crufty: it has the advantage of
3396 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3401 if test -z "$ac_file"; then :
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3404 $as_echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.
$ac_ext >&5
3407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3409 as_fn_error
77 "C compiler cannot create executables
3410 See \`config.log' for more details" "$LINENO" 5; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3413 $as_echo "yes" >&6; }
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3416 $as_echo_n "checking for C compiler default output file name... " >&6; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3418 $as_echo "$ac_file" >&6; }
3419 ac_exeext
=$ac_cv_exeext
3421 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3422 ac_clean_files
=$ac_clean_files_save
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3424 $as_echo_n "checking for suffix of executables... " >&6; }
3425 if { { ac_try
="$ac_link"
3427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3428 *) ac_try_echo=$ac_try;;
3430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3431 $as_echo "$ac_try_echo"; } >&5
3432 (eval "$ac_link") 2>&5
3434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3435 test $ac_status = 0; }; then :
3436 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3437 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3438 # work properly (i.e., refer to `conftest.exe'), while it won't with
3440 for ac_file
in conftest.exe conftest conftest.
*; do
3441 test -f "$ac_file" ||
continue
3443 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3444 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3453 See \`config.log' for more details" "$LINENO" 5; }
3455 rm -f conftest conftest
$ac_cv_exeext
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3457 $as_echo "$ac_cv_exeext" >&6; }
3459 rm -f conftest.
$ac_ext
3460 EXEEXT
=$ac_cv_exeext
3462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3468 FILE *f = fopen ("conftest.out", "w");
3469 return ferror (f) || fclose (f) != 0;
3475 ac_clean_files
="$ac_clean_files conftest.out"
3476 # Check that the compiler produces executables we can run. If not, either
3477 # the compiler is broken, or we cross compile.
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3479 $as_echo_n "checking whether we are cross compiling... " >&6; }
3480 if test "$cross_compiling" != yes; then
3481 { { ac_try
="$ac_link"
3483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3487 $as_echo "$ac_try_echo"; } >&5
3488 (eval "$ac_link") 2>&5
3490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3491 test $ac_status = 0; }
3492 if { ac_try='./conftest$ac_cv_exeext'
3493 { { case "(($ac_try" in
3494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3495 *) ac_try_echo
=$ac_try;;
3497 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3498 $as_echo "$ac_try_echo"; } >&5
3499 (eval "$ac_try") 2>&5
3501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3502 test $ac_status = 0; }; }; then
3505 if test "$cross_compiling" = maybe
; then
3508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3510 as_fn_error $?
"cannot run C compiled programs.
3511 If you meant to cross compile, use \`--host'.
3512 See \`config.log' for more details" "$LINENO" 5; }
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3517 $as_echo "$cross_compiling" >&6; }
3519 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3520 ac_clean_files
=$ac_clean_files_save
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3522 $as_echo_n "checking for suffix of object files... " >&6; }
3523 if ${ac_cv_objext+:} false
; then :
3524 $as_echo_n "(cached) " >&6
3526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3537 rm -f conftest.o conftest.obj
3538 if { { ac_try
="$ac_compile"
3540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3541 *) ac_try_echo=$ac_try;;
3543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544 $as_echo "$ac_try_echo"; } >&5
3545 (eval "$ac_compile") 2>&5
3547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548 test $ac_status = 0; }; then :
3549 for ac_file in conftest.o conftest.obj conftest.*; do
3550 test -f "$ac_file" || continue;
3552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3553 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3558 $as_echo "$as_me: failed program was:" >&5
3559 sed 's/^/| /' conftest.$ac_ext >&5
3561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3563 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3564 See \
`config.log' for more details" "$LINENO" 5; }
3566 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3569 $as_echo "$ac_cv_objext" >&6; }
3570 OBJEXT=$ac_cv_objext
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3573 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3574 if ${ac_cv_c_compiler_gnu+:} false; then :
3575 $as_echo_n "(cached) " >&6
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3591 if ac_fn_c_try_compile "$LINENO"; then :
3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3601 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3602 if test $ac_compiler_gnu = yes; then
3607 ac_test_CFLAGS=${CFLAGS+set}
3608 ac_save_CFLAGS=$CFLAGS
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3610 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3611 if ${ac_cv_prog_cc_g+:} false; then :
3612 $as_echo_n "(cached) " >&6
3614 ac_save_c_werror_flag=$ac_c_werror_flag
3615 ac_c_werror_flag=yes
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3629 if ac_fn_c_try_compile "$LINENO"; then :
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3644 if ac_fn_c_try_compile "$LINENO"; then :
3647 ac_c_werror_flag=$ac_save_c_werror_flag
3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650 /* end confdefs.h. */
3660 if ac_fn_c_try_compile "$LINENO"; then :
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668 ac_c_werror_flag=$ac_save_c_werror_flag
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3671 $as_echo "$ac_cv_prog_cc_g" >&6; }
3672 if test "$ac_test_CFLAGS" = set; then
3673 CFLAGS=$ac_save_CFLAGS
3674 elif test $ac_cv_prog_cc_g = yes; then
3675 if test "$GCC" = yes; then
3681 if test "$GCC" = yes; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3688 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3689 if ${ac_cv_prog_cc_c89+:} false; then :
3690 $as_echo_n "(cached) " >&6
3692 ac_cv_prog_cc_c89=no
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3698 #include <sys/types.h>
3699 #include <sys/stat.h>
3700 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3701 struct buf { int x; };
3702 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3703 static char *e (p, i)
3709 static char *f (char * (*g) (char **, int), char **p, ...)
3714 s = g (p, va_arg (v,int));
3719 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3720 function prototypes and stuff, but not '\xHH' hex character constants.
3721 These don't provoke an error unfortunately, instead are silently treated
3722 as 'x'. The following induces an error, until -std is added to get
3723 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3724 array size at least. It's necessary to write '\x00'==0 to get something
3725 that's true only with -std. */
3726 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3728 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3729 inside strings and character constants. */
3731 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3733 int test (int i, double x);
3734 struct s1 {int (*f) (int a);};
3735 struct s2 {int (*f) (double a);};
3736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3742 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3747 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3748 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3750 CC="$ac_save_CC $ac_arg"
3751 if ac_fn_c_try_compile "$LINENO"; then :
3752 ac_cv_prog_cc_c89=$ac_arg
3754 rm -f core conftest.err conftest.$ac_objext
3755 test "x$ac_cv_prog_cc_c89" != "xno" && break
3757 rm -f conftest.$ac_ext
3762 case "x$ac_cv_prog_cc_c89" in
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3765 $as_echo "none needed" >&6; } ;;
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3768 $as_echo "unsupported" >&6; } ;;
3770 CC="$CC $ac_cv_prog_cc_c89"
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3772 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3774 if test "x$ac_cv_prog_cc_c89" != xno; then :
3779 ac_cpp='$CPP $CPPFLAGS'
3780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3783 DEPDIR="${am__leading_dot}deps"
3785 ac_config_commands="$ac_config_commands depfiles"
3788 am_make=${MAKE-make}
3789 cat > confinc << 'END'
3791 @echo this is the am__doit target
3794 # If we don't find an include directive, just comment out the code.
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3796 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3800 # First try GNU make style include.
3801 echo "include confinc" > confmf
3802 # Ignore all kinds of additional output from `make'.
3803 case `$am_make -s -f confmf 2> /dev/null` in #(
3804 *the\ am__doit\ target*)
3810 # Now try BSD make style include.
3811 if test "$am__include" = "#"; then
3812 echo '.include
"confinc"' > confmf
3813 case `$am_make -s -f confmf 2> /dev/null` in #(
3814 *the\ am__doit\ target*)
3815 am__include=.include
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3824 $as_echo "$_am_result" >&6; }
3825 rm -f confinc confmf
3827 # Check whether --enable-dependency-tracking was given.
3828 if test "${enable_dependency_tracking+set}" = set; then :
3829 enableval=$enable_dependency_tracking;
3832 if test "x$enable_dependency_tracking" != xno; then
3833 am_depcomp="$ac_aux_dir/depcomp"
3837 if test "x$enable_dependency_tracking" != xno
; then
3847 depcc
="$CC" am_compiler_list
=
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3850 $as_echo_n "checking dependency style of $depcc... " >&6; }
3851 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3855 # We make a subdir and do the tests there. Otherwise we can end up
3856 # making bogus files that we don't know about and never remove. For
3857 # instance it was reported that on HP-UX the gcc test will end up
3858 # making a dummy file named `D' -- because `-MD' means `put the output
3862 # Copy depcomp to subdir because otherwise we won't find it if we're
3863 # using a relative directory.
3864 cp "$am_depcomp" conftest.dir
3866 # We will build objects and dependencies in a subdirectory because
3867 # it helps to detect inapplicable dependency modes. For instance
3868 # both Tru64's cc and ICC support -MD to output dependencies as a
3869 # side effect of compilation, but ICC will put the dependencies in
3870 # the current directory while Tru64 will put them in the object
3874 am_cv_CC_dependencies_compiler_type
=none
3875 if test "$am_compiler_list" = ""; then
3876 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3879 case " $depcc " in #(
3880 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3883 for depmode
in $am_compiler_list; do
3884 # Setup a source with many dependencies, because some compilers
3885 # like to wrap large dependency lists on column 80 (with \), and
3886 # we should not choose a depcomp mode which is confused by this.
3888 # We need to recreate these files for each test, as the compiler may
3889 # overwrite some of them when testing with obscure command lines.
3890 # This happens at least with the AIX C compiler.
3892 for i
in 1 2 3 4 5 6; do
3893 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3894 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3895 # Solaris 8's {/usr,}/bin/sh.
3896 touch sub
/conftst
$i.h
3898 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3900 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3901 # mode. It turns out that the SunPro C++ compiler does not properly
3902 # handle `-M -o', and we need to detect this. Also, some Intel
3903 # versions had trouble with output in subdirs
3904 am__obj
=sub
/conftest.
${OBJEXT-o}
3905 am__minus_obj
="-o $am__obj"
3908 # This depmode causes a compiler race in universal mode.
3909 test "$am__universal" = false ||
continue
3912 # after this tag, mechanisms are not by side-effect, so they'll
3913 # only be used when explicitly requested
3914 if test "x$enable_dependency_tracking" = xyes
; then
3920 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3921 # This compiler won't grok `-c -o', but also, the minuso test has
3922 # not run yet. These depmodes are late enough in the game, and
3923 # so weak that their functioning should not be impacted.
3924 am__obj
=conftest.
${OBJEXT-o}
3929 if depmode
=$depmode \
3930 source=sub
/conftest.c object
=$am__obj \
3931 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3932 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3933 >/dev
/null
2>conftest.err
&&
3934 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3935 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3936 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3937 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3938 # icc doesn't choke on unknown options, it will just issue warnings
3939 # or remarks (even with -Werror). So we grep stderr for any message
3940 # that says an option was ignored or not supported.
3941 # When given -MP, icc 7.0 and 7.1 complain thusly:
3942 # icc: Command line warning: ignoring option '-M'; no argument required
3943 # The diagnosis changed in icc 8.0:
3944 # icc: Command line remark: option '-MP' not supported
3945 if (grep 'ignoring option' conftest.err ||
3946 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3947 am_cv_CC_dependencies_compiler_type
=$depmode
3956 am_cv_CC_dependencies_compiler_type
=none
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3961 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3962 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3965 test "x$enable_dependency_tracking" != xno \
3966 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3968 am__fastdepCC_FALSE
='#'
3970 am__fastdepCC_TRUE
='#'
3971 am__fastdepCC_FALSE
=
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3978 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3983 macro_version
='2.4.2'
3984 macro_revision
='1.3337'
3998 ltmain
="$ac_aux_dir/ltmain.sh"
4000 # Backslashify metacharacters that are still active within
4001 # double-quoted strings.
4002 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4004 # Same as above, but do not quote variable references.
4005 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4007 # Sed substitution to delay expansion of an escaped shell variable in a
4008 # double_quote_subst'ed string.
4009 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4011 # Sed substitution to delay expansion of an escaped single quote.
4012 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4014 # Sed substitution to avoid accidental globbing in evaled expressions
4015 no_glob_subst
='s/\*/\\\*/g'
4017 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4018 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4019 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4022 $as_echo_n "checking how to print strings... " >&6; }
4023 # Test print first, because it will be a builtin if present.
4024 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4025 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4027 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4030 # Use this function as a fallback that always works.
4031 func_fallback_echo ()
4033 eval 'cat <<_LTECHO_EOF
4037 ECHO='func_fallback_echo
'
4040 # func_echo_all arg...
4041 # Invoke $ECHO with all args, space-separated.
4048 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4049 $as_echo "printf" >&6; } ;;
4050 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4051 $as_echo "print -r" >&6; } ;;
4052 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4053 $as_echo "cat" >&6; } ;;
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4070 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4071 if ${ac_cv_path_SED+:} false; then :
4072 $as_echo_n "(cached) " >&6
4074 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4075 for ac_i in 1 2 3 4 5 6 7; do
4076 ac_script="$ac_script$as_nl$ac_script"
4078 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4079 { ac_script=; unset ac_script;}
4080 if test -z "$SED"; then
4081 ac_path_SED_found=false
4082 # Loop through the user's path and
test for each of PROGNAME-LIST
4083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4087 test -z "$as_dir" && as_dir
=.
4088 for ac_prog
in sed gsed
; do
4089 for ac_exec_ext
in '' $ac_executable_extensions; do
4090 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4091 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4092 # Check for GNU ac_path_SED and select it if it is found.
4093 # Check for GNU $ac_path_SED
4094 case `"$ac_path_SED" --version 2>&1` in
4096 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4099 $as_echo_n 0123456789 >"conftest.in"
4102 cat "conftest.in" "conftest.in" >"conftest.tmp"
4103 mv "conftest.tmp" "conftest.in"
4104 cp "conftest.in" "conftest.nl"
4105 $as_echo '' >> "conftest.nl"
4106 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4107 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4108 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4109 if test $ac_count -gt ${ac_path_SED_max-0}; then
4110 # Best one so far, save it but keep looking for a better one
4111 ac_cv_path_SED
="$ac_path_SED"
4112 ac_path_SED_max
=$ac_count
4114 # 10*(2^10) chars as input seems more than enough
4115 test $ac_count -gt 10 && break
4117 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4120 $ac_path_SED_found && break 3
4125 if test -z "$ac_cv_path_SED"; then
4126 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4134 $as_echo "$ac_cv_path_SED" >&6; }
4135 SED
="$ac_cv_path_SED"
4138 test -z "$SED" && SED
=sed
4139 Xsed
="$SED -e 1s/^X//"
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4152 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4153 if ${ac_cv_path_GREP+:} false
; then :
4154 $as_echo_n "(cached) " >&6
4156 if test -z "$GREP"; then
4157 ac_path_GREP_found
=false
4158 # Loop through the user's path and test for each of PROGNAME-LIST
4159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4160 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4163 test -z "$as_dir" && as_dir
=.
4164 for ac_prog
in grep ggrep
; do
4165 for ac_exec_ext
in '' $ac_executable_extensions; do
4166 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4167 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4168 # Check for GNU ac_path_GREP and select it if it is found.
4169 # Check for GNU $ac_path_GREP
4170 case `"$ac_path_GREP" --version 2>&1` in
4172 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4175 $as_echo_n 0123456789 >"conftest.in"
4178 cat "conftest.in" "conftest.in" >"conftest.tmp"
4179 mv "conftest.tmp" "conftest.in"
4180 cp "conftest.in" "conftest.nl"
4181 $as_echo 'GREP' >> "conftest.nl"
4182 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4183 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4184 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4185 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4186 # Best one so far, save it but keep looking for a better one
4187 ac_cv_path_GREP
="$ac_path_GREP"
4188 ac_path_GREP_max
=$ac_count
4190 # 10*(2^10) chars as input seems more than enough
4191 test $ac_count -gt 10 && break
4193 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4196 $ac_path_GREP_found && break 3
4201 if test -z "$ac_cv_path_GREP"; then
4202 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4205 ac_cv_path_GREP
=$GREP
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4210 $as_echo "$ac_cv_path_GREP" >&6; }
4211 GREP
="$ac_cv_path_GREP"
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4215 $as_echo_n "checking for egrep... " >&6; }
4216 if ${ac_cv_path_EGREP+:} false
; then :
4217 $as_echo_n "(cached) " >&6
4219 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4220 then ac_cv_path_EGREP
="$GREP -E"
4222 if test -z "$EGREP"; then
4223 ac_path_EGREP_found
=false
4224 # Loop through the user's path and test for each of PROGNAME-LIST
4225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4229 test -z "$as_dir" && as_dir
=.
4230 for ac_prog
in egrep; do
4231 for ac_exec_ext
in '' $ac_executable_extensions; do
4232 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4233 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4234 # Check for GNU ac_path_EGREP and select it if it is found.
4235 # Check for GNU $ac_path_EGREP
4236 case `"$ac_path_EGREP" --version 2>&1` in
4238 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4241 $as_echo_n 0123456789 >"conftest.in"
4244 cat "conftest.in" "conftest.in" >"conftest.tmp"
4245 mv "conftest.tmp" "conftest.in"
4246 cp "conftest.in" "conftest.nl"
4247 $as_echo 'EGREP' >> "conftest.nl"
4248 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4249 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4250 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4251 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4252 # Best one so far, save it but keep looking for a better one
4253 ac_cv_path_EGREP
="$ac_path_EGREP"
4254 ac_path_EGREP_max
=$ac_count
4256 # 10*(2^10) chars as input seems more than enough
4257 test $ac_count -gt 10 && break
4259 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4262 $ac_path_EGREP_found && break 3
4267 if test -z "$ac_cv_path_EGREP"; then
4268 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4271 ac_cv_path_EGREP
=$EGREP
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4277 $as_echo "$ac_cv_path_EGREP" >&6; }
4278 EGREP
="$ac_cv_path_EGREP"
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4282 $as_echo_n "checking for fgrep... " >&6; }
4283 if ${ac_cv_path_FGREP+:} false
; then :
4284 $as_echo_n "(cached) " >&6
4286 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4287 then ac_cv_path_FGREP
="$GREP -F"
4289 if test -z "$FGREP"; then
4290 ac_path_FGREP_found
=false
4291 # Loop through the user's path and test for each of PROGNAME-LIST
4292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4293 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4296 test -z "$as_dir" && as_dir
=.
4297 for ac_prog
in fgrep
; do
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4300 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4301 # Check for GNU ac_path_FGREP and select it if it is found.
4302 # Check for GNU $ac_path_FGREP
4303 case `"$ac_path_FGREP" --version 2>&1` in
4305 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4308 $as_echo_n 0123456789 >"conftest.in"
4311 cat "conftest.in" "conftest.in" >"conftest.tmp"
4312 mv "conftest.tmp" "conftest.in"
4313 cp "conftest.in" "conftest.nl"
4314 $as_echo 'FGREP' >> "conftest.nl"
4315 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4316 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4317 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4318 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4319 # Best one so far, save it but keep looking for a better one
4320 ac_cv_path_FGREP
="$ac_path_FGREP"
4321 ac_path_FGREP_max
=$ac_count
4323 # 10*(2^10) chars as input seems more than enough
4324 test $ac_count -gt 10 && break
4326 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4329 $ac_path_FGREP_found && break 3
4334 if test -z "$ac_cv_path_FGREP"; then
4335 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4338 ac_cv_path_FGREP
=$FGREP
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4344 $as_echo "$ac_cv_path_FGREP" >&6; }
4345 FGREP
="$ac_cv_path_FGREP"
4348 test -z "$GREP" && GREP
=grep
4368 # Check whether --with-gnu-ld was given.
4369 if test "${with_gnu_ld+set}" = set; then :
4370 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4376 if test "$GCC" = yes; then
4377 # Check if gcc -print-prog-name=ld gives a path.
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4379 $as_echo_n "checking for ld used by $CC... " >&6; }
4382 # gcc leaves a trailing carriage return which upsets mingw
4383 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4385 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4388 # Accept absolute paths.
4390 re_direlt
='/[^/][^/]*/\.\./'
4391 # Canonicalize the pathname of ld
4392 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4393 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4394 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4396 test -z "$LD" && LD
="$ac_prog"
4399 # If it fails, then pretend we aren't using GCC.
4403 # If it is relative, then search for the first ld in PATH.
4407 elif test "$with_gnu_ld" = yes; then
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4409 $as_echo_n "checking for GNU ld... " >&6; }
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4412 $as_echo_n "checking for non-GNU ld... " >&6; }
4414 if ${lt_cv_path_LD+:} false
; then :
4415 $as_echo_n "(cached) " >&6
4417 if test -z "$LD"; then
4418 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4419 for ac_dir
in $PATH; do
4421 test -z "$ac_dir" && ac_dir
=.
4422 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4423 lt_cv_path_LD
="$ac_dir/$ac_prog"
4424 # Check to see if the program is GNU ld. I'd rather use --version,
4425 # but apparently some variants of GNU ld only accept -v.
4426 # Break only if it was the GNU/non-GNU ld that we prefer.
4427 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4428 *GNU
* |
*'with BFD'*)
4429 test "$with_gnu_ld" != no
&& break
4432 test "$with_gnu_ld" != yes && break
4439 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4444 if test -n "$LD"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4446 $as_echo "$LD" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4451 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4453 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4454 if ${lt_cv_prog_gnu_ld+:} false
; then :
4455 $as_echo_n "(cached) " >&6
4457 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4458 case `$LD -v 2>&1 </dev/null` in
4459 *GNU
* |
*'with BFD'*)
4460 lt_cv_prog_gnu_ld
=yes
4463 lt_cv_prog_gnu_ld
=no
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4468 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4469 with_gnu_ld
=$lt_cv_prog_gnu_ld
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4480 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4481 if ${lt_cv_path_NM+:} false
; then :
4482 $as_echo_n "(cached) " >&6
4484 if test -n "$NM"; then
4485 # Let the user override the test.
4488 lt_nm_to_check
="${ac_tool_prefix}nm"
4489 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4490 lt_nm_to_check
="$lt_nm_to_check nm"
4492 for lt_tmp_nm
in $lt_nm_to_check; do
4493 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4494 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4496 test -z "$ac_dir" && ac_dir
=.
4497 tmp_nm
="$ac_dir/$lt_tmp_nm"
4498 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4499 # Check to see if the nm accepts a BSD-compat flag.
4500 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4501 # nm: unknown option "B" ignored
4502 # Tru64's nm complains that /dev/null is an invalid object file
4503 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4504 */dev
/null
* |
*'Invalid file or object type'*)
4505 lt_cv_path_NM
="$tmp_nm -B"
4509 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4511 lt_cv_path_NM
="$tmp_nm -p"
4515 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4516 continue # so that we can try to find one that supports BSD flags
4525 : ${lt_cv_path_NM=no}
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4529 $as_echo "$lt_cv_path_NM" >&6; }
4530 if test "$lt_cv_path_NM" != "no"; then
4533 # Didn't find any BSD compatible name lister, look for dumpbin.
4534 if test -n "$DUMPBIN"; then :
4535 # Let the user override the test.
4537 if test -n "$ac_tool_prefix"; then
4538 for ac_prog
in dumpbin
"link -dump"
4540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4541 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4543 $as_echo_n "checking for $ac_word... " >&6; }
4544 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4545 $as_echo_n "(cached) " >&6
4547 if test -n "$DUMPBIN"; then
4548 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4554 test -z "$as_dir" && as_dir
=.
4555 for ac_exec_ext
in '' $ac_executable_extensions; do
4556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4557 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 DUMPBIN
=$ac_cv_prog_DUMPBIN
4568 if test -n "$DUMPBIN"; then
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4570 $as_echo "$DUMPBIN" >&6; }
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4573 $as_echo "no" >&6; }
4577 test -n "$DUMPBIN" && break
4580 if test -z "$DUMPBIN"; then
4581 ac_ct_DUMPBIN
=$DUMPBIN
4582 for ac_prog
in dumpbin
"link -dump"
4584 # Extract the first word of "$ac_prog", so it can be a program name with args.
4585 set dummy
$ac_prog; ac_word
=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4589 $as_echo_n "(cached) " >&6
4591 if test -n "$ac_ct_DUMPBIN"; then
4592 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir
=.
4599 for ac_exec_ext
in '' $ac_executable_extensions; do
4600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4601 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4612 if test -n "$ac_ct_DUMPBIN"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4614 $as_echo "$ac_ct_DUMPBIN" >&6; }
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4621 test -n "$ac_ct_DUMPBIN" && break
4624 if test "x$ac_ct_DUMPBIN" = x
; then
4627 case $cross_compiling:$ac_tool_warned in
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4631 ac_tool_warned
=yes ;;
4633 DUMPBIN
=$ac_ct_DUMPBIN
4637 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4639 DUMPBIN
="$DUMPBIN -symbols"
4647 if test "$DUMPBIN" != ":"; then
4651 test -z "$NM" && NM
=nm
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4659 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4660 if ${lt_cv_nm_interface+:} false
; then :
4661 $as_echo_n "(cached) " >&6
4663 lt_cv_nm_interface
="BSD nm"
4664 echo "int some_variable = 0;" > conftest.
$ac_ext
4665 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4666 (eval "$ac_compile" 2>conftest.err
)
4667 cat conftest.err
>&5
4668 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4669 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4670 cat conftest.err
>&5
4671 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4672 cat conftest.out
>&5
4673 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4674 lt_cv_nm_interface
="MS dumpbin"
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4679 $as_echo "$lt_cv_nm_interface" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4682 $as_echo_n "checking whether ln -s works... " >&6; }
4684 if test "$LN_S" = "ln -s"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4686 $as_echo "yes" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4689 $as_echo "no, using $LN_S" >&6; }
4692 # find the maximum length of command line arguments
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4694 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4695 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4696 $as_echo_n "(cached) " >&6
4703 # On DJGPP, this test can blow up pretty badly due to problems in libc
4704 # (any single argument exceeding 2000 bytes causes a buffer overrun
4705 # during glob expansion). Even if it were fixed, the result of this
4706 # check would be larger than it should be.
4707 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4711 # Under GNU Hurd, this test is not required because there is
4712 # no limit to the length of command line arguments.
4713 # Libtool will interpret -1 as no limit whatsoever
4714 lt_cv_sys_max_cmd_len
=-1;
4717 cygwin
* | mingw
* | cegcc
*)
4718 # On Win9x/ME, this test blows up -- it succeeds, but takes
4719 # about 5 minutes as the teststring grows exponentially.
4720 # Worse, since 9x/ME are not pre-emptively multitasking,
4721 # you end up with a "frozen" computer, even though with patience
4722 # the test eventually succeeds (with a max line length of 256k).
4723 # Instead, let's just punt: use the minimum linelength reported by
4724 # all of the supported platforms: 8192 (on NT/2K/XP).
4725 lt_cv_sys_max_cmd_len
=8192;
4729 # On MiNT this can take a long time and run out of memory.
4730 lt_cv_sys_max_cmd_len
=8192;
4734 # On AmigaOS with pdksh, this test takes hours, literally.
4735 # So we just punt and use a minimum line length of 8192.
4736 lt_cv_sys_max_cmd_len
=8192;
4739 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4740 # This has been around since 386BSD, at least. Likely further.
4741 if test -x /sbin
/sysctl
; then
4742 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4743 elif test -x /usr
/sbin
/sysctl
; then
4744 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4746 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4748 # And add a safety zone
4749 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4750 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4754 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4755 lt_cv_sys_max_cmd_len
=196608
4759 # The test takes a long time on OS/2.
4760 lt_cv_sys_max_cmd_len
=8192
4764 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4765 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4766 # nice to cause kernel panics so lets avoid the loop below.
4767 # First set a reasonable default.
4768 lt_cv_sys_max_cmd_len
=16384
4770 if test -x /sbin
/sysconfig
; then
4771 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4772 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4777 lt_cv_sys_max_cmd_len
=102400
4779 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4780 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4781 if test -n "$kargmax"; then
4782 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4784 lt_cv_sys_max_cmd_len
=32768
4788 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4789 if test -n "$lt_cv_sys_max_cmd_len"; then
4790 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4791 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4793 # Make teststring a little bigger before we do anything with it.
4794 # a 1K string should be a reasonable start.
4795 for i
in 1 2 3 4 5 6 7 8 ; do
4796 teststring
=$teststring$teststring
4798 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4799 # If test is not a shell built-in, we'll probably end up computing a
4800 # maximum length that is only half of the actual maximum length, but
4802 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4803 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4804 test $i != 17 # 1/2 MB should be enough
4807 teststring
=$teststring$teststring
4809 # Only check the string length outside the loop.
4810 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4812 # Add a significant safety factor because C++ compilers can tack on
4813 # massive amounts of additional arguments before passing them to the
4814 # linker. It appears as though 1/2 is a usable value.
4815 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4822 if test -n $lt_cv_sys_max_cmd_len ; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4824 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4827 $as_echo "none" >&6; }
4829 max_cmd_len
=$lt_cv_sys_max_cmd_len
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4841 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4842 # Try some XSI features
4845 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4847 && eval 'test $(( 1 + 1 )) -eq 2 \
4848 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4851 $as_echo "$xsi_shell" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4855 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4857 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4859 && lt_shell_append=yes
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4861 $as_echo "$lt_shell_append" >&6; }
4864 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4874 # test EBCDIC or ASCII
4875 case `echo X|tr X '\101'` in
4876 A) # ASCII based system
4877 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4878 lt_SP2NL='tr \040 \012'
4879 lt_NL2SP='tr \015\012 \040\040'
4881 *) # EBCDIC based system
4882 lt_SP2NL='tr \100 \n'
4883 lt_NL2SP='tr \r\n \100\100'
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4896 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4897 if ${lt_cv_to_host_file_cmd+:} false; then :
4898 $as_echo_n "(cached
) " >&6
4903 *-*-mingw* ) # actually msys
4904 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4907 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4909 * ) # otherwise, assume *nix
4910 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4916 *-*-mingw* ) # actually msys
4917 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4920 lt_cv_to_host_file_cmd=func_convert_file_noop
4922 * ) # otherwise, assume *nix
4923 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4927 * ) # unhandled hosts (and "normal
" native builds)
4928 lt_cv_to_host_file_cmd=func_convert_file_noop
4934 to_host_file_cmd=$lt_cv_to_host_file_cmd
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4936 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4943 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4944 if ${lt_cv_to_tool_file_cmd+:} false; then :
4945 $as_echo_n "(cached
) " >&6
4947 #assume ordinary cross tools, or native build.
4948 lt_cv_to_tool_file_cmd=func_convert_file_noop
4952 *-*-mingw* ) # actually msys
4953 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4961 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4963 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4970 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4971 if ${lt_cv_ld_reload_flag+:} false; then :
4972 $as_echo_n "(cached
) " >&6
4974 lt_cv_ld_reload_flag='-r'
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4977 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4978 reload_flag=$lt_cv_ld_reload_flag
4979 case $reload_flag in
4981 *) reload_flag=" $reload_flag" ;;
4983 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4985 cygwin* | mingw* | pw32* | cegcc*)
4986 if test "$GCC" != yes; then
4991 if test "$GCC" = yes; then
4992 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4994 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5007 if test -n "$ac_tool_prefix"; then
5008 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5009 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5011 $as_echo_n "checking
for $ac_word...
" >&6; }
5012 if ${ac_cv_prog_OBJDUMP+:} false; then :
5013 $as_echo_n "(cached
) " >&6
5015 if test -n "$OBJDUMP"; then
5016 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir=.
5023 for ac_exec_ext in '' $ac_executable_extensions; do
5024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5025 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5035 OBJDUMP=$ac_cv_prog_OBJDUMP
5036 if test -n "$OBJDUMP"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5038 $as_echo "$OBJDUMP" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5041 $as_echo "no
" >&6; }
5046 if test -z "$ac_cv_prog_OBJDUMP"; then
5047 ac_ct_OBJDUMP=$OBJDUMP
5048 # Extract the first word of "objdump
", so it can be a program name with args.
5049 set dummy objdump; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5051 $as_echo_n "checking
for $ac_word...
" >&6; }
5052 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5053 $as_echo_n "(cached
) " >&6
5055 if test -n "$ac_ct_OBJDUMP"; then
5056 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5075 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5076 if test -n "$ac_ct_OBJDUMP"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5078 $as_echo "$ac_ct_OBJDUMP" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5081 $as_echo "no
" >&6; }
5084 if test "x
$ac_ct_OBJDUMP" = x; then
5087 case $cross_compiling:$ac_tool_warned in
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5090 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5091 ac_tool_warned=yes ;;
5093 OBJDUMP=$ac_ct_OBJDUMP
5096 OBJDUMP="$ac_cv_prog_OBJDUMP"
5099 test -z "$OBJDUMP" && OBJDUMP=objdump
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5110 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5111 if ${lt_cv_deplibs_check_method+:} false; then :
5112 $as_echo_n "(cached
) " >&6
5114 lt_cv_file_magic_cmd='$MAGIC_CMD'
5115 lt_cv_file_magic_test_file=
5116 lt_cv_deplibs_check_method='unknown'
5117 # Need to set the preceding variable on all platforms that support
5118 # interlibrary dependencies.
5119 # 'none' -- dependencies not supported.
5120 # `unknown' -- same as none, but documents that we really don't know.
5121 # 'pass_all' -- all dependencies passed with no checks.
5122 # 'test_compile' -- check by making test program.
5123 # 'file_magic [[regex]]' -- check by looking for files in library path
5124 # which responds to the $file_magic_cmd with a given extended regex.
5125 # If you have `file' or equivalent on your system and you're not sure
5126 # whether `pass_all' will *always* work, you probably want this one.
5130 lt_cv_deplibs_check_method=pass_all
5134 lt_cv_deplibs_check_method=pass_all
5138 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5139 lt_cv_file_magic_cmd='/usr/bin/file -L'
5140 lt_cv_file_magic_test_file=/shlib/libc.so
5144 # func_win32_libid is a shell function defined in ltmain.sh
5145 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5146 lt_cv_file_magic_cmd='func_win32_libid'
5150 # Base MSYS/MinGW do not provide the 'file' command needed by
5151 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5152 # unless we find 'file', for example because we are cross-compiling.
5153 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5154 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5155 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5156 lt_cv_file_magic_cmd='func_win32_libid'
5158 # Keep this pattern in sync with the one in func_win32_libid.
5159 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5160 lt_cv_file_magic_cmd='$OBJDUMP -f'
5165 # use the weaker test based on 'objdump'. See mingw*.
5166 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5167 lt_cv_file_magic_cmd='$OBJDUMP -f'
5170 darwin* | rhapsody*)
5171 lt_cv_deplibs_check_method=pass_all
5174 freebsd* | dragonfly*)
5175 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5178 # Not sure whether the presence of OpenBSD here was a mistake.
5179 # Let's accept both of them until this is cleared up.
5180 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5181 lt_cv_file_magic_cmd=/usr/bin/file
5182 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5186 lt_cv_deplibs_check_method=pass_all
5191 lt_cv_deplibs_check_method=pass_all
5195 lt_cv_deplibs_check_method=pass_all
5198 hpux10.20* | hpux11*)
5199 lt_cv_file_magic_cmd=/usr/bin/file
5202 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5203 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5206 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]'
5207 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5210 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5211 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5217 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5218 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5221 irix5* | irix6* | nonstopux*)
5223 *-32|*"-32 ") libmagic=32-bit;;
5224 *-n32|*"-n32 ") libmagic=N32;;
5225 *-64|*"-64 ") libmagic=64-bit;;
5226 *) libmagic=never-match;;
5228 lt_cv_deplibs_check_method=pass_all
5231 # This must be glibc/ELF.
5232 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5233 lt_cv_deplibs_check_method=pass_all
5236 netbsd* | netbsdelf*-gnu)
5237 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5238 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5240 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5245 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5246 lt_cv_file_magic_cmd=/usr/bin/file
5247 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5251 lt_cv_deplibs_check_method=pass_all
5255 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5256 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5258 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5262 osf3* | osf4* | osf5*)
5263 lt_cv_deplibs_check_method=pass_all
5267 lt_cv_deplibs_check_method=pass_all
5271 lt_cv_deplibs_check_method=pass_all
5274 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5275 lt_cv_deplibs_check_method=pass_all
5279 case $host_vendor in
5281 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]'
5282 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5285 lt_cv_deplibs_check_method=pass_all
5288 lt_cv_file_magic_cmd='/bin/file'
5289 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5292 lt_cv_file_magic_cmd='/bin/file'
5293 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5294 lt_cv_file_magic_test_file=/lib/libc.so
5297 lt_cv_deplibs_check_method=pass_all
5300 lt_cv_deplibs_check_method=pass_all
5306 lt_cv_deplibs_check_method=pass_all
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5312 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5316 if test "$build" = "$host"; then
5319 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5322 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5328 file_magic_cmd=$lt_cv_file_magic_cmd
5329 deplibs_check_method=$lt_cv_deplibs_check_method
5330 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5353 if test -n "$ac_tool_prefix"; then
5354 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5355 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5357 $as_echo_n "checking
for $ac_word...
" >&6; }
5358 if ${ac_cv_prog_DLLTOOL+:} false; then :
5359 $as_echo_n "(cached
) " >&6
5361 if test -n "$DLLTOOL"; then
5362 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5371 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5381 DLLTOOL=$ac_cv_prog_DLLTOOL
5382 if test -n "$DLLTOOL"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5384 $as_echo "$DLLTOOL" >&6; }
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5387 $as_echo "no
" >&6; }
5392 if test -z "$ac_cv_prog_DLLTOOL"; then
5393 ac_ct_DLLTOOL=$DLLTOOL
5394 # Extract the first word of "dlltool
", so it can be a program name with args.
5395 set dummy dlltool; ac_word=$2
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5397 $as_echo_n "checking
for $ac_word...
" >&6; }
5398 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5399 $as_echo_n "(cached
) " >&6
5401 if test -n "$ac_ct_DLLTOOL"; then
5402 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5411 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5421 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5422 if test -n "$ac_ct_DLLTOOL"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5424 $as_echo "$ac_ct_DLLTOOL" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5427 $as_echo "no
" >&6; }
5430 if test "x
$ac_ct_DLLTOOL" = x; then
5433 case $cross_compiling:$ac_tool_warned in
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5436 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5437 ac_tool_warned=yes ;;
5439 DLLTOOL=$ac_ct_DLLTOOL
5442 DLLTOOL="$ac_cv_prog_DLLTOOL"
5445 test -z "$DLLTOOL" && DLLTOOL=dlltool
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5457 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5458 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5459 $as_echo_n "(cached
) " >&6
5461 lt_cv_sharedlib_from_linklib_cmd='unknown'
5464 cygwin* | mingw* | pw32* | cegcc*)
5465 # two different shell functions defined in ltmain.sh
5466 # decide which to use based on capabilities of $DLLTOOL
5467 case `$DLLTOOL --help 2>&1` in
5468 *--identify-strict*)
5469 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5472 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5477 # fallback: assume linklib IS sharedlib
5478 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5484 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5485 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5486 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5495 if test -n "$ac_tool_prefix"; then
5498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5501 $as_echo_n "checking
for $ac_word...
" >&6; }
5502 if ${ac_cv_prog_AR+:} false; then :
5503 $as_echo_n "(cached
) " >&6
5505 if test -n "$AR"; then
5506 ac_cv_prog_AR="$AR" # Let the user override the test.
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5515 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5526 if test -n "$AR"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5528 $as_echo "$AR" >&6; }
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5531 $as_echo "no
" >&6; }
5535 test -n "$AR" && break
5538 if test -z "$AR"; then
5542 # Extract the first word of "$ac_prog", so it can be a program name with args.
5543 set dummy $ac_prog; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5545 $as_echo_n "checking
for $ac_word...
" >&6; }
5546 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5547 $as_echo_n "(cached
) " >&6
5549 if test -n "$ac_ct_AR"; then
5550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5559 ac_cv_prog_ac_ct_AR="$ac_prog"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5570 if test -n "$ac_ct_AR"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5572 $as_echo "$ac_ct_AR" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5575 $as_echo "no
" >&6; }
5579 test -n "$ac_ct_AR" && break
5582 if test "x
$ac_ct_AR" = x; then
5585 case $cross_compiling:$ac_tool_warned in
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5588 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5589 ac_tool_warned=yes ;;
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5609 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5610 if ${lt_cv_ar_at_file+:} false; then :
5611 $as_echo_n "(cached
) " >&6
5614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5615 /* end confdefs.h. */
5625 if ac_fn_c_try_compile "$LINENO"; then :
5626 echo conftest.$ac_objext > conftest.lst
5627 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5628 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5629 (eval $lt_ar_try) 2>&5
5631 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5632 test $ac_status = 0; }
5633 if test "$ac_status" -eq 0; then
5634 # Ensure the archiver fails upon bogus file names.
5635 rm -f conftest.$ac_objext libconftest.a
5636 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5637 (eval $lt_ar_try) 2>&5
5639 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5640 test $ac_status = 0; }
5641 if test "$ac_status" -ne 0; then
5645 rm -f conftest.* libconftest.a
5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5652 $as_echo "$lt_cv_ar_at_file" >&6; }
5654 if test "x
$lt_cv_ar_at_file" = xno; then
5657 archiver_list_spec=$lt_cv_ar_at_file
5666 if test -n "$ac_tool_prefix"; then
5667 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5668 set dummy ${ac_tool_prefix}strip; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5670 $as_echo_n "checking
for $ac_word...
" >&6; }
5671 if ${ac_cv_prog_STRIP+:} false; then :
5672 $as_echo_n "(cached
) " >&6
5674 if test -n "$STRIP"; then
5675 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5684 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5694 STRIP=$ac_cv_prog_STRIP
5695 if test -n "$STRIP"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5697 $as_echo "$STRIP" >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5700 $as_echo "no
" >&6; }
5705 if test -z "$ac_cv_prog_STRIP"; then
5707 # Extract the first word of "strip
", so it can be a program name with args.
5708 set dummy strip; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5710 $as_echo_n "checking
for $ac_word...
" >&6; }
5711 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5712 $as_echo_n "(cached
) " >&6
5714 if test -n "$ac_ct_STRIP"; then
5715 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5724 ac_cv_prog_ac_ct_STRIP="strip
"
5725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5734 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5735 if test -n "$ac_ct_STRIP"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5737 $as_echo "$ac_ct_STRIP" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5740 $as_echo "no
" >&6; }
5743 if test "x
$ac_ct_STRIP" = x; then
5746 case $cross_compiling:$ac_tool_warned in
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5749 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5750 ac_tool_warned=yes ;;
5755 STRIP="$ac_cv_prog_STRIP"
5758 test -z "$STRIP" && STRIP=:
5765 if test -n "$ac_tool_prefix"; then
5766 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5769 $as_echo_n "checking
for $ac_word...
" >&6; }
5770 if ${ac_cv_prog_RANLIB+:} false; then :
5771 $as_echo_n "(cached
) " >&6
5773 if test -n "$RANLIB"; then
5774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5793 RANLIB=$ac_cv_prog_RANLIB
5794 if test -n "$RANLIB"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5796 $as_echo "$RANLIB" >&6; }
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5799 $as_echo "no
" >&6; }
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib
", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5809 $as_echo_n "checking
for $ac_word...
" >&6; }
5810 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5811 $as_echo_n "(cached
) " >&6
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5836 $as_echo "$ac_ct_RANLIB" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5839 $as_echo "no
" >&6; }
5842 if test "x
$ac_ct_RANLIB" = x; then
5845 case $cross_compiling:$ac_tool_warned in
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5848 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5849 ac_tool_warned=yes ;;
5851 RANLIB=$ac_ct_RANLIB
5854 RANLIB="$ac_cv_prog_RANLIB"
5857 test -z "$RANLIB" && RANLIB=:
5864 # Determine commands to create old-style static archives.
5865 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5866 old_postinstall_cmds='chmod 644 $oldlib'
5867 old_postuninstall_cmds=
5869 if test -n "$RANLIB"; then
5872 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5875 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5878 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5883 lock_old_archive_extraction=yes ;;
5885 lock_old_archive_extraction=no ;;
5926 # If no C compiler was specified, use CC.
5929 # If no C compiler flags were specified, use CFLAGS.
5930 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5932 # Allow CC to be a program name with arguments.
5936 # Check for command to grab the raw symbol name followed by C symbol from nm.
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5938 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5939 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5940 $as_echo_n "(cached
) " >&6
5943 # These are sane defaults that work on at least a few old systems.
5944 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5946 # Character class describing NM global symbol codes.
5947 symcode='[BCDEGRST]'
5949 # Regexp to match symbols that can be accessed directly from C.
5950 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5952 # Define system-specific variables.
5957 cygwin* | mingw* | pw32* | cegcc*)
5958 symcode='[ABCDGISTW]'
5961 if test "$host_cpu" = ia64; then
5962 symcode='[ABCDEGRST]'
5966 symcode='[BCDEGRST]'
5969 symcode='[BCDEGQRST]'
5980 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5988 # If we're using GNU nm, then use its standard symbol codes.
5989 case `$NM -V 2>&1` in
5990 *GNU* | *'with BFD'*)
5991 symcode='[ABCDGIRSTW]' ;;
5994 # Transform an extracted symbol line into a proper C declaration.
5995 # Some systems (esp. on ia64) link data and code symbols differently,
5996 # so use this general approach.
5997 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5999 # Transform an extracted symbol line into symbol name and symbol address
6000 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6001 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6003 # Handle CRLF in mingw tool chain
6007 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6011 # Try without a prefix underscore, then with it.
6012 for ac_symprfx in "" "_
"; do
6014 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6015 symxfrm="\\1 $ac_symprfx\\2 \\2"
6017 # Write the raw and C identifiers.
6018 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6019 # Fake it for dumpbin and say T for any non-static function
6020 # and D for any global variable.
6021 # Also find C++ and __fastcall symbols from MSVC++,
6022 # which start with @ or ?.
6023 lt_cv_sys_global_symbol_pipe="$AWK '"\
6024 " {last_section=section; section=\$ 3};"\
6025 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6026 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6027 " \$ 0!~/External *\|/{next};"\
6028 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6029 " {if(hide[section]) next};"\
6030 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6031 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6032 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6033 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6034 " ' prfx
=^
$ac_symprfx"
6036 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6038 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6040 # Check to see that the pipe works correctly.
6044 cat > conftest.$ac_ext <<_LT_EOF
6049 void nm_test_func(void);
6050 void nm_test_func(void){}
6054 int main(){nm_test_var='a';nm_test_func();return(0);}
6057 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6058 (eval $ac_compile) 2>&5
6060 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6061 test $ac_status = 0; }; then
6062 # Now try to grab the symbols.
6064 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6065 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6067 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6068 test $ac_status = 0; } && test -s "$nlist"; then
6069 # Try sorting and uniquifying the output.
6070 if sort "$nlist" | uniq > "$nlist"T; then
6071 mv -f "$nlist"T "$nlist"
6076 # Make sure that we snagged all the symbols we need.
6077 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6078 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6079 cat <<_LT_EOF > conftest.$ac_ext
6080 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6081 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6082 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6083 relocations are performed -- see ld's documentation on pseudo-relocs. */
6084 # define LT_DLSYM_CONST
6085 #elif defined(__osf__)
6086 /* This system does not cope well with relocations in const data. */
6087 # define LT_DLSYM_CONST
6089 # define LT_DLSYM_CONST const
6097 # Now generate the symbol file.
6098 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6100 cat <<_LT_EOF >> conftest.$ac_ext
6102 /* The mapping between symbol names and symbols. */
6103 LT_DLSYM_CONST struct {
6107 lt__PROGRAM__LTX_preloaded_symbols[] =
6109 { "@PROGRAM@
", (void *) 0 },
6111 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6112 cat <<\_LT_EOF >> conftest.$ac_ext
6116 /* This works around a problem in FreeBSD linker */
6117 #ifdef FREEBSD_WORKAROUND
6118 static const void *lt_preloaded_setup() {
6119 return lt__PROGRAM__LTX_preloaded_symbols;
6127 # Now try linking the two files.
6128 mv conftest.$ac_objext conftstm.$ac_objext
6129 lt_globsym_save_LIBS=$LIBS
6130 lt_globsym_save_CFLAGS=$CFLAGS
6131 LIBS="conftstm.
$ac_objext"
6132 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6133 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6134 (eval $ac_link) 2>&5
6136 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6137 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6140 LIBS=$lt_globsym_save_LIBS
6141 CFLAGS=$lt_globsym_save_CFLAGS
6143 echo "cannot
find nm_test_func
in $nlist" >&5
6146 echo "cannot
find nm_test_var
in $nlist" >&5
6149 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6152 echo "$progname: failed program was
:" >&5
6153 cat conftest.$ac_ext >&5
6155 rm -rf conftest* conftst*
6157 # Do not use the global_symbol_pipe unless it works.
6158 if test "$pipe_works" = yes; then
6161 lt_cv_sys_global_symbol_pipe=
6167 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6168 lt_cv_sys_global_symbol_to_cdecl=
6170 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6172 $as_echo "failed
" >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6175 $as_echo "ok
" >&6; }
6178 # Response file support.
6179 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6180 nm_file_list_spec='@'
6181 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6182 nm_file_list_spec='@'
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6212 $as_echo_n "checking
for sysroot...
" >&6; }
6214 # Check whether --with-sysroot was given.
6215 if test "${with_sysroot+set}" = set; then :
6216 withval=$with_sysroot;
6223 case ${with_sysroot} in #(
6225 if test "$GCC" = yes; then
6226 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6230 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6236 $as_echo "${with_sysroot}" >&6; }
6237 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6242 $as_echo "${lt_sysroot:-no}" >&6; }
6248 # Check whether --enable-libtool-lock was given.
6249 if test "${enable_libtool_lock+set}" = set; then :
6250 enableval=$enable_libtool_lock;
6253 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6255 # Some flags need to be propagated to the compiler or linker for good
6259 # Find out which ABI we are using.
6260 echo 'int i;' > conftest.$ac_ext
6261 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6262 (eval $ac_compile) 2>&5
6264 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6265 test $ac_status = 0; }; then
6266 case `/usr/bin/file conftest.$ac_objext` in
6278 # Find out which ABI we are using.
6279 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6280 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6281 (eval $ac_compile) 2>&5
6283 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6284 test $ac_status = 0; }; then
6285 if test "$lt_cv_prog_gnu_ld" = yes; then
6286 case `/usr/bin/file conftest.$ac_objext` in
6288 LD="${LD-ld} -melf32bsmip"
6291 LD="${LD-ld} -melf32bmipn32"
6294 LD="${LD-ld} -melf64bmip"
6298 case `/usr/bin/file conftest.$ac_objext` in
6314 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6315 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6316 # Find out which ABI we are using.
6317 echo 'int i;' > conftest.$ac_ext
6318 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6319 (eval $ac_compile) 2>&5
6321 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6322 test $ac_status = 0; }; then
6323 case `/usr/bin/file conftest.o` in
6326 x86_64-*kfreebsd*-gnu)
6327 LD="${LD-ld} -m elf_i386_fbsd
"
6330 LD="${LD-ld} -m elf_i386
"
6332 ppc64-*linux*|powerpc64-*linux*)
6333 LD="${LD-ld} -m elf32ppclinux
"
6336 LD="${LD-ld} -m elf_s390
"
6339 LD="${LD-ld} -m elf32_sparc
"
6345 x86_64-*kfreebsd*-gnu)
6346 LD="${LD-ld} -m elf_x86_64_fbsd
"
6349 LD="${LD-ld} -m elf_x86_64
"
6351 ppc*-*linux*|powerpc*-*linux*)
6352 LD="${LD-ld} -m elf64ppc
"
6354 s390*-*linux*|s390*-*tpf*)
6355 LD="${LD-ld} -m elf64_s390
"
6358 LD="${LD-ld} -m elf64_sparc
"
6368 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6369 SAVE_CFLAGS="$CFLAGS"
6370 CFLAGS="$CFLAGS -belf"
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6372 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6373 if ${lt_cv_cc_needs_belf+:} false; then :
6374 $as_echo_n "(cached
) " >&6
6377 ac_cpp='$CPP $CPPFLAGS'
6378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6393 if ac_fn_c_try_link "$LINENO"; then :
6394 lt_cv_cc_needs_belf=yes
6396 lt_cv_cc_needs_belf=no
6398 rm -f core conftest.err conftest.$ac_objext \
6399 conftest$ac_exeext conftest.$ac_ext
6401 ac_cpp='$CPP $CPPFLAGS'
6402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6408 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6409 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6410 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6411 CFLAGS="$SAVE_CFLAGS"
6415 # Find out which ABI we are using.
6416 echo 'int i;' > conftest.$ac_ext
6417 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6418 (eval $ac_compile) 2>&5
6420 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6421 test $ac_status = 0; }; then
6422 case `/usr/bin/file conftest.o` in
6424 case $lt_cv_prog_gnu_ld in
6428 LD="${LD-ld} -m elf_x86_64
"
6431 LD="${LD-ld} -m elf64_sparc
"
6434 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6435 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6440 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6452 need_locks="$enable_libtool_lock"
6454 if test -n "$ac_tool_prefix"; then
6455 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6456 set dummy ${ac_tool_prefix}mt; ac_word=$2
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6458 $as_echo_n "checking
for $ac_word...
" >&6; }
6459 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6460 $as_echo_n "(cached
) " >&6
6462 if test -n "$MANIFEST_TOOL"; then
6463 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6482 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6483 if test -n "$MANIFEST_TOOL"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6485 $as_echo "$MANIFEST_TOOL" >&6; }
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6488 $as_echo "no
" >&6; }
6493 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6494 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6495 # Extract the first word of "mt
", so it can be a program name with args.
6496 set dummy mt; ac_word=$2
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6498 $as_echo_n "checking
for $ac_word...
" >&6; }
6499 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6500 $as_echo_n "(cached
) " >&6
6502 if test -n "$ac_ct_MANIFEST_TOOL"; then
6503 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 test -z "$as_dir" && as_dir=.
6510 for ac_exec_ext in '' $ac_executable_extensions; do
6511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6512 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6522 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6523 if test -n "$ac_ct_MANIFEST_TOOL"; then
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6525 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6528 $as_echo "no
" >&6; }
6531 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6534 case $cross_compiling:$ac_tool_warned in
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6537 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6538 ac_tool_warned=yes ;;
6540 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6543 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6546 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6548 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6549 if ${lt_cv_path_mainfest_tool+:} false; then :
6550 $as_echo_n "(cached
) " >&6
6552 lt_cv_path_mainfest_tool=no
6553 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6554 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6555 cat conftest.err >&5
6556 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6557 lt_cv_path_mainfest_tool=yes
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6562 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6563 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6573 rhapsody* | darwin*)
6574 if test -n "$ac_tool_prefix"; then
6575 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6576 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6578 $as_echo_n "checking
for $ac_word...
" >&6; }
6579 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6580 $as_echo_n "(cached
) " >&6
6582 if test -n "$DSYMUTIL"; then
6583 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6592 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6602 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6603 if test -n "$DSYMUTIL"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6605 $as_echo "$DSYMUTIL" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6608 $as_echo "no
" >&6; }
6613 if test -z "$ac_cv_prog_DSYMUTIL"; then
6614 ac_ct_DSYMUTIL=$DSYMUTIL
6615 # Extract the first word of "dsymutil
", so it can be a program name with args.
6616 set dummy dsymutil; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6618 $as_echo_n "checking
for $ac_word...
" >&6; }
6619 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6620 $as_echo_n "(cached
) " >&6
6622 if test -n "$ac_ct_DSYMUTIL"; then
6623 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6632 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6642 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6643 if test -n "$ac_ct_DSYMUTIL"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6645 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6648 $as_echo "no
" >&6; }
6651 if test "x
$ac_ct_DSYMUTIL" = x; then
6654 case $cross_compiling:$ac_tool_warned in
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6657 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6658 ac_tool_warned=yes ;;
6660 DSYMUTIL=$ac_ct_DSYMUTIL
6663 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6666 if test -n "$ac_tool_prefix"; then
6667 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6668 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6670 $as_echo_n "checking
for $ac_word...
" >&6; }
6671 if ${ac_cv_prog_NMEDIT+:} false; then :
6672 $as_echo_n "(cached
) " >&6
6674 if test -n "$NMEDIT"; then
6675 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6694 NMEDIT=$ac_cv_prog_NMEDIT
6695 if test -n "$NMEDIT"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6697 $as_echo "$NMEDIT" >&6; }
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6700 $as_echo "no
" >&6; }
6705 if test -z "$ac_cv_prog_NMEDIT"; then
6706 ac_ct_NMEDIT=$NMEDIT
6707 # Extract the first word of "nmedit
", so it can be a program name with args.
6708 set dummy nmedit; ac_word=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6710 $as_echo_n "checking
for $ac_word...
" >&6; }
6711 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6712 $as_echo_n "(cached
) " >&6
6714 if test -n "$ac_ct_NMEDIT"; then
6715 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6734 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6735 if test -n "$ac_ct_NMEDIT"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6737 $as_echo "$ac_ct_NMEDIT" >&6; }
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6740 $as_echo "no
" >&6; }
6743 if test "x
$ac_ct_NMEDIT" = x; then
6746 case $cross_compiling:$ac_tool_warned in
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6749 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6750 ac_tool_warned=yes ;;
6752 NMEDIT=$ac_ct_NMEDIT
6755 NMEDIT="$ac_cv_prog_NMEDIT"
6758 if test -n "$ac_tool_prefix"; then
6759 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6760 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6762 $as_echo_n "checking
for $ac_word...
" >&6; }
6763 if ${ac_cv_prog_LIPO+:} false; then :
6764 $as_echo_n "(cached
) " >&6
6766 if test -n "$LIPO"; then
6767 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773 test -z "$as_dir" && as_dir=.
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6776 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6786 LIPO=$ac_cv_prog_LIPO
6787 if test -n "$LIPO"; then
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6789 $as_echo "$LIPO" >&6; }
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6792 $as_echo "no
" >&6; }
6797 if test -z "$ac_cv_prog_LIPO"; then
6799 # Extract the first word of "lipo
", so it can be a program name with args.
6800 set dummy lipo; ac_word=$2
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6802 $as_echo_n "checking
for $ac_word...
" >&6; }
6803 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6804 $as_echo_n "(cached
) " >&6
6806 if test -n "$ac_ct_LIPO"; then
6807 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 test -z "$as_dir" && as_dir=.
6814 for ac_exec_ext in '' $ac_executable_extensions; do
6815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6816 ac_cv_prog_ac_ct_LIPO="lipo
"
6817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6826 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6827 if test -n "$ac_ct_LIPO"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6829 $as_echo "$ac_ct_LIPO" >&6; }
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6832 $as_echo "no
" >&6; }
6835 if test "x
$ac_ct_LIPO" = x; then
6838 case $cross_compiling:$ac_tool_warned in
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6841 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6842 ac_tool_warned=yes ;;
6847 LIPO="$ac_cv_prog_LIPO"
6850 if test -n "$ac_tool_prefix"; then
6851 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6852 set dummy ${ac_tool_prefix}otool; ac_word=$2
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6854 $as_echo_n "checking
for $ac_word...
" >&6; }
6855 if ${ac_cv_prog_OTOOL+:} false; then :
6856 $as_echo_n "(cached
) " >&6
6858 if test -n "$OTOOL"; then
6859 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 test -z "$as_dir" && as_dir=.
6866 for ac_exec_ext in '' $ac_executable_extensions; do
6867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6868 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6878 OTOOL=$ac_cv_prog_OTOOL
6879 if test -n "$OTOOL"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6881 $as_echo "$OTOOL" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6884 $as_echo "no
" >&6; }
6889 if test -z "$ac_cv_prog_OTOOL"; then
6891 # Extract the first word of "otool
", so it can be a program name with args.
6892 set dummy otool; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6894 $as_echo_n "checking
for $ac_word...
" >&6; }
6895 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6896 $as_echo_n "(cached
) " >&6
6898 if test -n "$ac_ct_OTOOL"; then
6899 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908 ac_cv_prog_ac_ct_OTOOL="otool
"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6918 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6919 if test -n "$ac_ct_OTOOL"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6921 $as_echo "$ac_ct_OTOOL" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6924 $as_echo "no
" >&6; }
6927 if test "x
$ac_ct_OTOOL" = x; then
6930 case $cross_compiling:$ac_tool_warned in
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6933 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6934 ac_tool_warned=yes ;;
6939 OTOOL="$ac_cv_prog_OTOOL"
6942 if test -n "$ac_tool_prefix"; then
6943 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6944 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6946 $as_echo_n "checking
for $ac_word...
" >&6; }
6947 if ${ac_cv_prog_OTOOL64+:} false; then :
6948 $as_echo_n "(cached
) " >&6
6950 if test -n "$OTOOL64"; then
6951 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 test -z "$as_dir" && as_dir=.
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6960 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6970 OTOOL64=$ac_cv_prog_OTOOL64
6971 if test -n "$OTOOL64"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6973 $as_echo "$OTOOL64" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6976 $as_echo "no
" >&6; }
6981 if test -z "$ac_cv_prog_OTOOL64"; then
6982 ac_ct_OTOOL64=$OTOOL64
6983 # Extract the first word of "otool64
", so it can be a program name with args.
6984 set dummy otool64; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6986 $as_echo_n "checking
for $ac_word...
" >&6; }
6987 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6988 $as_echo_n "(cached
) " >&6
6990 if test -n "$ac_ct_OTOOL64"; then
6991 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7010 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7011 if test -n "$ac_ct_OTOOL64"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7013 $as_echo "$ac_ct_OTOOL64" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7016 $as_echo "no
" >&6; }
7019 if test "x
$ac_ct_OTOOL64" = x; then
7022 case $cross_compiling:$ac_tool_warned in
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7025 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7026 ac_tool_warned=yes ;;
7028 OTOOL64=$ac_ct_OTOOL64
7031 OTOOL64="$ac_cv_prog_OTOOL64"
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7061 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7062 if ${lt_cv_apple_cc_single_mod+:} false; then :
7063 $as_echo_n "(cached
) " >&6
7065 lt_cv_apple_cc_single_mod=no
7066 if test -z "${LT_MULTI_MODULE}"; then
7067 # By default we will add the -single_module flag. You can override
7068 # by either setting the environment variable LT_MULTI_MODULE
7069 # non-empty at configure time, or by adding -multi_module to the
7071 rm -rf libconftest.dylib*
7072 echo "int foo
(void
){return 1;}" > conftest.c
7073 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7074 -dynamiclib -Wl,-single_module conftest.c
" >&5
7075 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7076 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7078 # If there is a non-empty error log, and "single_module
"
7079 # appears in it, assume the flag caused a linker warning
7080 if test -s conftest.err && $GREP single_module conftest.err; then
7081 cat conftest.err >&5
7082 # Otherwise, if the output was created with a 0 exit code from
7083 # the compiler, it worked.
7084 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7085 lt_cv_apple_cc_single_mod=yes
7087 cat conftest.err >&5
7089 rm -rf libconftest.dylib*
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7094 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7097 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7098 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7099 $as_echo_n "(cached
) " >&6
7101 lt_cv_ld_exported_symbols_list=no
7102 save_LDFLAGS=$LDFLAGS
7103 echo "_main
" > conftest.sym
7104 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7106 /* end confdefs.h. */
7116 if ac_fn_c_try_link "$LINENO"; then :
7117 lt_cv_ld_exported_symbols_list=yes
7119 lt_cv_ld_exported_symbols_list=no
7121 rm -f core conftest.err conftest.$ac_objext \
7122 conftest$ac_exeext conftest.$ac_ext
7123 LDFLAGS="$save_LDFLAGS"
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7127 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7130 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7131 if ${lt_cv_ld_force_load+:} false; then :
7132 $as_echo_n "(cached
) " >&6
7134 lt_cv_ld_force_load=no
7135 cat > conftest.c << _LT_EOF
7136 int forced_loaded() { return 2;}
7138 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7139 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7140 echo "$AR cru libconftest.a conftest.o
" >&5
7141 $AR cru libconftest.a conftest.o 2>&5
7142 echo "$RANLIB libconftest.a
" >&5
7143 $RANLIB libconftest.a 2>&5
7144 cat > conftest.c << _LT_EOF
7145 int main() { return 0;}
7147 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7148 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7150 if test -s conftest.err && $GREP force_load conftest.err; then
7151 cat conftest.err >&5
7152 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7153 lt_cv_ld_force_load=yes
7155 cat conftest.err >&5
7157 rm -f conftest.err libconftest.a conftest conftest.c
7158 rm -rf conftest.dSYM
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7162 $as_echo "$lt_cv_ld_force_load" >&6; }
7164 rhapsody* | darwin1.[012])
7165 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7167 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7168 darwin*) # darwin 5.x on
7169 # if running on 10.5 or later, the deployment target defaults
7170 # to the OS version, if on x86, and 10.4, the deployment
7171 # target defaults to 10.4. Don't you love it?
7172 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7173 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7174 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7176 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7178 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7182 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7183 _lt_dar_single_mod='$single_module'
7185 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7186 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7188 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7190 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7191 _lt_dsymutil='~$DSYMUTIL $lib || :'
7199 ac_cpp='$CPP $CPPFLAGS'
7200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7204 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7205 # On Suns, sometimes $CPP names a directory.
7206 if test -n "$CPP" && test -d "$CPP"; then
7209 if test -z "$CPP"; then
7210 if ${ac_cv_prog_CPP+:} false; then :
7211 $as_echo_n "(cached
) " >&6
7213 # Double quotes because CPP needs to be expanded
7214 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7217 for ac_c_preproc_warn_flag in '' yes
7219 # Use a header file that comes with gcc, so configuring glibc
7220 # with a fresh cross-compiler works.
7221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7222 # <limits.h> exists even on freestanding compilers.
7223 # On the NeXT, cc -E runs the code through the compiler's parser,
7224 # not just through cpp. "Syntax error
" is here to catch this case.
7225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7226 /* end confdefs.h. */
7228 # include <limits.h>
7230 # include <assert.h>
7234 if ac_fn_c_try_cpp "$LINENO"; then :
7237 # Broken: fails on valid input.
7240 rm -f conftest.err conftest.i conftest.$ac_ext
7242 # OK, works on sane cases. Now check whether nonexistent headers
7243 # can be detected and how.
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <ac_nonexistent.h>
7248 if ac_fn_c_try_cpp "$LINENO"; then :
7249 # Broken: success on invalid input.
7252 # Passes both tests.
7256 rm -f conftest.err conftest.i conftest.$ac_ext
7259 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7260 rm -f conftest.i conftest.err conftest.$ac_ext
7261 if $ac_preproc_ok; then :
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7274 $as_echo "$CPP" >&6; }
7276 for ac_c_preproc_warn_flag in '' yes
7278 # Use a header file that comes with gcc, so configuring glibc
7279 # with a fresh cross-compiler works.
7280 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7281 # <limits.h> exists even on freestanding compilers.
7282 # On the NeXT, cc -E runs the code through the compiler's parser,
7283 # not just through cpp. "Syntax error
" is here to catch this case.
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7287 # include <limits.h>
7289 # include <assert.h>
7293 if ac_fn_c_try_cpp "$LINENO"; then :
7296 # Broken: fails on valid input.
7299 rm -f conftest.err conftest.i conftest.$ac_ext
7301 # OK, works on sane cases. Now check whether nonexistent headers
7302 # can be detected and how.
7303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7304 /* end confdefs.h. */
7305 #include <ac_nonexistent.h>
7307 if ac_fn_c_try_cpp "$LINENO"; then :
7308 # Broken: success on invalid input.
7311 # Passes both tests.
7315 rm -f conftest.err conftest.i conftest.$ac_ext
7318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7319 rm -f conftest.i conftest.err conftest.$ac_ext
7320 if $ac_preproc_ok; then :
7323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7325 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7326 See \`config.log' for more details
" "$LINENO" 5; }
7330 ac_cpp='$CPP $CPPFLAGS'
7331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7337 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7338 if ${ac_cv_header_stdc+:} false; then :
7339 $as_echo_n "(cached
) " >&6
7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7342 /* end confdefs.h. */
7356 if ac_fn_c_try_compile "$LINENO"; then :
7357 ac_cv_header_stdc=yes
7359 ac_cv_header_stdc=no
7361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7363 if test $ac_cv_header_stdc = yes; then
7364 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7366 /* end confdefs.h. */
7370 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7371 $EGREP "memchr
" >/dev/null 2>&1; then :
7374 ac_cv_header_stdc=no
7380 if test $ac_cv_header_stdc = yes; then
7381 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7383 /* end confdefs.h. */
7387 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7388 $EGREP "free
" >/dev/null 2>&1; then :
7391 ac_cv_header_stdc=no
7397 if test $ac_cv_header_stdc = yes; then
7398 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7399 if test "$cross_compiling" = yes; then :
7402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7403 /* end confdefs.h. */
7406 #if ((' ' & 0x0FF) == 0x020)
7407 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7408 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7410 # define ISLOWER(c) \
7411 (('a' <= (c) && (c) <= 'i') \
7412 || ('j' <= (c) && (c) <= 'r') \
7413 || ('s' <= (c) && (c) <= 'z'))
7414 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7417 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7422 for (i = 0; i < 256; i++)
7423 if (XOR (islower (i), ISLOWER (i))
7424 || toupper (i) != TOUPPER (i))
7429 if ac_fn_c_try_run "$LINENO"; then :
7432 ac_cv_header_stdc=no
7434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7435 conftest.$ac_objext conftest.beam conftest.$ac_ext
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7441 $as_echo "$ac_cv_header_stdc" >&6; }
7442 if test $ac_cv_header_stdc = yes; then
7444 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7448 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7449 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7450 inttypes.h stdint.h unistd.h
7452 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7453 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7455 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7456 cat >>confdefs.h
<<_ACEOF
7457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7465 for ac_header
in dlfcn.h
7467 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7469 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7470 cat >>confdefs.h
<<_ACEOF
7471 #define HAVE_DLFCN_H 1
7492 # Check whether --enable-shared was given.
7493 if test "${enable_shared+set}" = set; then :
7494 enableval
=$enable_shared; p
=${PACKAGE-default}
7496 yes) enable_shared
=yes ;;
7497 no
) enable_shared
=no
;;
7500 # Look at the argument we got. We use all the common list separators.
7501 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7502 for pkg
in $enableval; do
7504 if test "X$pkg" = "X$p"; then
7523 # Check whether --enable-static was given.
7524 if test "${enable_static+set}" = set; then :
7525 enableval
=$enable_static; p
=${PACKAGE-default}
7527 yes) enable_static
=yes ;;
7528 no
) enable_static
=no
;;
7531 # Look at the argument we got. We use all the common list separators.
7532 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7533 for pkg
in $enableval; do
7535 if test "X$pkg" = "X$p"; then
7555 # Check whether --with-pic was given.
7556 if test "${with_pic+set}" = set; then :
7557 withval
=$with_pic; lt_p
=${PACKAGE-default}
7559 yes|no
) pic_mode
=$withval ;;
7562 # Look at the argument we got. We use all the common list separators.
7563 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7564 for lt_pkg
in $withval; do
7566 if test "X$lt_pkg" = "X$lt_p"; then
7578 test -z "$pic_mode" && pic_mode
=default
7586 # Check whether --enable-fast-install was given.
7587 if test "${enable_fast_install+set}" = set; then :
7588 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7590 yes) enable_fast_install
=yes ;;
7591 no
) enable_fast_install
=no
;;
7593 enable_fast_install
=no
7594 # Look at the argument we got. We use all the common list separators.
7595 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7596 for pkg
in $enableval; do
7598 if test "X$pkg" = "X$p"; then
7599 enable_fast_install
=yes
7606 enable_fast_install
=yes
7619 # This can be used to rebuild libtool when needed
7620 LIBTOOL_DEPS
="$ltmain"
7622 # Always use our own libtool.
7623 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7654 test -z "$LN_S" && LN_S
="ln -s"
7669 if test -n "${ZSH_VERSION+set}" ; then
7670 setopt NO_GLOB_SUBST
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7674 $as_echo_n "checking for objdir... " >&6; }
7675 if ${lt_cv_objdir+:} false
; then :
7676 $as_echo_n "(cached) " >&6
7678 rm -f .libs
2>/dev
/null
7679 mkdir .libs
2>/dev
/null
7680 if test -d .libs
; then
7683 # MS-DOS does not allow filenames that begin with a dot.
7686 rmdir .libs
2>/dev
/null
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7689 $as_echo "$lt_cv_objdir" >&6; }
7690 objdir
=$lt_cv_objdir
7696 cat >>confdefs.h
<<_ACEOF
7697 #define LT_OBJDIR "$lt_cv_objdir/"
7705 # AIX sometimes has problems with the GCC collect2 program. For some
7706 # reason, if we set the COLLECT_NAMES environment variable, the problems
7707 # vanish in a puff of smoke.
7708 if test "X${COLLECT_NAMES+set}" != Xset
; then
7710 export COLLECT_NAMES
7717 can_build_shared
=yes
7719 # All known linkers require a `.a' archive for static linking (except MSVC,
7720 # which needs '.lib').
7723 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7726 old_CFLAGS
="$CFLAGS"
7728 # Set sane defaults for various variables
7729 test -z "$CC" && CC
=cc
7730 test -z "$LTCC" && LTCC
=$CC
7731 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7732 test -z "$LD" && LD
=ld
7733 test -z "$ac_objext" && ac_objext
=o
7735 for cc_temp
in $compiler""; do
7737 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7738 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7743 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7746 # Only perform the check for file, if the check method requires it
7747 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7748 case $deplibs_check_method in
7750 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7752 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7753 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7754 $as_echo_n "(cached) " >&6
7758 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7761 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7762 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7763 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7764 for ac_dir
in $ac_dummy; do
7766 test -z "$ac_dir" && ac_dir
=.
7767 if test -f $ac_dir/${ac_tool_prefix}file; then
7768 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7769 if test -n "$file_magic_test_file"; then
7770 case $deplibs_check_method in
7772 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7773 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7774 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7775 $EGREP "$file_magic_regex" > /dev
/null
; then
7780 *** Warning: the command libtool uses to detect shared libraries,
7781 *** $file_magic_cmd, produces output that libtool cannot recognize.
7782 *** The result is that libtool may fail to recognize shared libraries
7783 *** as such. This will affect the creation of libtool libraries that
7784 *** depend on shared libraries, but programs linked with such libtool
7785 *** libraries will work regardless of this problem. Nevertheless, you
7786 *** may want to report the problem to your system manager and/or to
7787 *** bug-libtool@gnu.org
7797 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7802 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7803 if test -n "$MAGIC_CMD"; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7805 $as_echo "$MAGIC_CMD" >&6; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808 $as_echo "no" >&6; }
7815 if test -z "$lt_cv_path_MAGIC_CMD"; then
7816 if test -n "$ac_tool_prefix"; then
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7818 $as_echo_n "checking for file... " >&6; }
7819 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7820 $as_echo_n "(cached) " >&6
7824 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7827 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7828 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7829 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7830 for ac_dir
in $ac_dummy; do
7832 test -z "$ac_dir" && ac_dir
=.
7833 if test -f $ac_dir/file; then
7834 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7835 if test -n "$file_magic_test_file"; then
7836 case $deplibs_check_method in
7838 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7839 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7840 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7841 $EGREP "$file_magic_regex" > /dev
/null
; then
7846 *** Warning: the command libtool uses to detect shared libraries,
7847 *** $file_magic_cmd, produces output that libtool cannot recognize.
7848 *** The result is that libtool may fail to recognize shared libraries
7849 *** as such. This will affect the creation of libtool libraries that
7850 *** depend on shared libraries, but programs linked with such libtool
7851 *** libraries will work regardless of this problem. Nevertheless, you
7852 *** may want to report the problem to your system manager and/or to
7853 *** bug-libtool@gnu.org
7863 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7868 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7869 if test -n "$MAGIC_CMD"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7871 $as_echo "$MAGIC_CMD" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7874 $as_echo "no" >&6; }
7887 # Use C for the default configuration in the libtool script
7891 ac_cpp
='$CPP $CPPFLAGS'
7892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7897 # Source file extension for C test sources.
7900 # Object file extension for compiled C test sources.
7904 # Code to be used in simple compile tests
7905 lt_simple_compile_test_code
="int some_variable = 0;"
7907 # Code to be used in simple link tests
7908 lt_simple_link_test_code
='int main(){return(0);}'
7916 # If no C compiler was specified, use CC.
7919 # If no C compiler flags were specified, use CFLAGS.
7920 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7922 # Allow CC to be a program name with arguments.
7925 # Save the default compiler, since it gets overwritten when the other
7926 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7927 compiler_DEFAULT
=$CC
7929 # save warnings/boilerplate of simple test code
7930 ac_outfile
=conftest.
$ac_objext
7931 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7932 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7933 _lt_compiler_boilerplate
=`cat conftest.err`
7936 ac_outfile
=conftest.
$ac_objext
7937 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7938 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7939 _lt_linker_boilerplate
=`cat conftest.err`
7944 ## There is no encapsulation within the following macros, do not change
7945 ## the running order or otherwise move them around unless you know exactly
7946 ## what you are doing...
7947 if test -n "$compiler"; then
7949 lt_prog_compiler_no_builtin_flag
=
7951 if test "$GCC" = yes; then
7952 case $cc_basename in
7954 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7956 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7960 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7961 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7962 $as_echo_n "(cached) " >&6
7964 lt_cv_prog_compiler_rtti_exceptions
=no
7965 ac_outfile
=conftest.
$ac_objext
7966 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7967 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7968 # Insert the option either (1) after the last *FLAGS variable, or
7969 # (2) before a word containing "conftest.", or (3) at the end.
7970 # Note that $ac_compile itself does not contain backslashes and begins
7971 # with a dollar sign (not a hyphen), so the echo should work correctly.
7972 # The option is referenced via a variable to avoid confusing sed.
7973 lt_compile
=`echo "$ac_compile" | $SED \
7974 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7975 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7976 -e 's:$: $lt_compiler_flag:'`
7977 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7978 (eval "$lt_compile" 2>conftest.err
)
7980 cat conftest.err
>&5
7981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982 if (exit $ac_status) && test -s "$ac_outfile"; then
7983 # The compiler can only warn and ignore the option if not recognized
7984 # So say no if there are warnings other than the usual output.
7985 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7986 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7987 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7988 lt_cv_prog_compiler_rtti_exceptions
=yes
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7995 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7997 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7998 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8010 lt_prog_compiler_wl
=
8011 lt_prog_compiler_pic
=
8012 lt_prog_compiler_static
=
8015 if test "$GCC" = yes; then
8016 lt_prog_compiler_wl
='-Wl,'
8017 lt_prog_compiler_static
='-static'
8021 # All AIX code is PIC.
8022 if test "$host_cpu" = ia64
; then
8023 # AIX 5 now supports IA64 processor
8024 lt_prog_compiler_static
='-Bstatic'
8031 # see comment about AmigaOS4 .so support
8032 lt_prog_compiler_pic
='-fPIC'
8035 # FIXME: we need at least 68020 code to build shared libraries, but
8036 # adding the `-m68020' flag to GCC prevents building anything better,
8038 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8043 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8044 # PIC is the default for these OSes.
8047 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8048 # This hack is so that the source file can tell whether it is being
8049 # built for inclusion in a dll (and should export symbols for example).
8050 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8051 # (--disable-auto-import) libraries
8052 lt_prog_compiler_pic
='-DDLL_EXPORT'
8055 darwin
* | rhapsody
*)
8056 # PIC is the default on this platform
8057 # Common symbols not allowed in MH_DYLIB files
8058 lt_prog_compiler_pic
='-fno-common'
8062 # PIC is the default for Haiku.
8063 # The "-static" flag exists, but is broken.
8064 lt_prog_compiler_static
=
8068 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8069 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8070 # sets the default TLS model and affects inlining.
8076 lt_prog_compiler_pic
='-fPIC'
8082 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8083 # Instead, we relocate shared libraries at runtime.
8087 # Just because we use GCC doesn't mean we suddenly get shared libraries
8088 # on systems that don't support them.
8089 lt_prog_compiler_can_build_shared
=no
8094 # QNX uses GNU C++, but need to define -shared option too, otherwise
8096 lt_prog_compiler_pic
='-fPIC -shared'
8100 if test -d /usr
/nec
; then
8101 lt_prog_compiler_pic
=-Kconform_pic
8106 lt_prog_compiler_pic
='-fPIC'
8110 case $cc_basename in
8111 nvcc
*) # Cuda Compiler Driver 2.2
8112 lt_prog_compiler_wl
='-Xlinker '
8113 if test -n "$lt_prog_compiler_pic"; then
8114 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8119 # PORTME Check for flag to pass linker flags through the system compiler.
8122 lt_prog_compiler_wl
='-Wl,'
8123 if test "$host_cpu" = ia64
; then
8124 # AIX 5 now supports IA64 processor
8125 lt_prog_compiler_static
='-Bstatic'
8127 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8131 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8132 # This hack is so that the source file can tell whether it is being
8133 # built for inclusion in a dll (and should export symbols for example).
8134 lt_prog_compiler_pic
='-DDLL_EXPORT'
8137 hpux9
* | hpux10
* | hpux11
*)
8138 lt_prog_compiler_wl
='-Wl,'
8139 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8146 lt_prog_compiler_pic
='+Z'
8149 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8150 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8153 irix5
* | irix6
* | nonstopux
*)
8154 lt_prog_compiler_wl
='-Wl,'
8155 # PIC (with -KPIC) is the default.
8156 lt_prog_compiler_static
='-non_shared'
8159 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8160 case $cc_basename in
8161 # old Intel for x86_64 which still supported -KPIC.
8163 lt_prog_compiler_wl
='-Wl,'
8164 lt_prog_compiler_pic
='-KPIC'
8165 lt_prog_compiler_static
='-static'
8167 # icc used to be incompatible with GCC.
8168 # ICC 10 doesn't accept -KPIC any more.
8170 lt_prog_compiler_wl
='-Wl,'
8171 lt_prog_compiler_pic
='-fPIC'
8172 lt_prog_compiler_static
='-static'
8174 # Lahey Fortran 8.1.
8176 lt_prog_compiler_wl
='-Wl,'
8177 lt_prog_compiler_pic
='--shared'
8178 lt_prog_compiler_static
='--static'
8181 # NAG Fortran compiler
8182 lt_prog_compiler_wl
='-Wl,-Wl,,'
8183 lt_prog_compiler_pic
='-PIC'
8184 lt_prog_compiler_static
='-Bstatic'
8186 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8187 # Portland Group compilers (*not* the Pentium gcc compiler,
8188 # which looks to be a dead project)
8189 lt_prog_compiler_wl
='-Wl,'
8190 lt_prog_compiler_pic
='-fpic'
8191 lt_prog_compiler_static
='-Bstatic'
8194 lt_prog_compiler_wl
='-Wl,'
8195 # All Alpha code is PIC.
8196 lt_prog_compiler_static
='-non_shared'
8198 xl
* | bgxl
* | bgf
* | mpixl
*)
8199 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8200 lt_prog_compiler_wl
='-Wl,'
8201 lt_prog_compiler_pic
='-qpic'
8202 lt_prog_compiler_static
='-qstaticlink'
8205 case `$CC -V 2>&1 | sed 5q` in
8206 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8207 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8208 lt_prog_compiler_pic
='-KPIC'
8209 lt_prog_compiler_static
='-Bstatic'
8210 lt_prog_compiler_wl
=''
8212 *Sun\ F
* |
*Sun
*Fortran
*)
8213 lt_prog_compiler_pic
='-KPIC'
8214 lt_prog_compiler_static
='-Bstatic'
8215 lt_prog_compiler_wl
='-Qoption ld '
8219 lt_prog_compiler_pic
='-KPIC'
8220 lt_prog_compiler_static
='-Bstatic'
8221 lt_prog_compiler_wl
='-Wl,'
8223 *Intel
*\
[CF
]*Compiler
*)
8224 lt_prog_compiler_wl
='-Wl,'
8225 lt_prog_compiler_pic
='-fPIC'
8226 lt_prog_compiler_static
='-static'
8229 lt_prog_compiler_wl
='-Wl,'
8230 lt_prog_compiler_pic
='-fpic'
8231 lt_prog_compiler_static
='-Bstatic'
8239 lt_prog_compiler_pic
='-KPIC'
8240 lt_prog_compiler_static
='-Bstatic'
8244 # QNX uses GNU C++, but need to define -shared option too, otherwise
8246 lt_prog_compiler_pic
='-fPIC -shared'
8249 osf3
* | osf4
* | osf5
*)
8250 lt_prog_compiler_wl
='-Wl,'
8251 # All OSF/1 code is PIC.
8252 lt_prog_compiler_static
='-non_shared'
8256 lt_prog_compiler_static
='-non_shared'
8260 lt_prog_compiler_pic
='-KPIC'
8261 lt_prog_compiler_static
='-Bstatic'
8262 case $cc_basename in
8263 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8264 lt_prog_compiler_wl
='-Qoption ld ';;
8266 lt_prog_compiler_wl
='-Wl,';;
8271 lt_prog_compiler_wl
='-Qoption ld '
8272 lt_prog_compiler_pic
='-PIC'
8273 lt_prog_compiler_static
='-Bstatic'
8276 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8277 lt_prog_compiler_wl
='-Wl,'
8278 lt_prog_compiler_pic
='-KPIC'
8279 lt_prog_compiler_static
='-Bstatic'
8283 if test -d /usr
/nec
;then
8284 lt_prog_compiler_pic
='-Kconform_pic'
8285 lt_prog_compiler_static
='-Bstatic'
8289 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8290 lt_prog_compiler_wl
='-Wl,'
8291 lt_prog_compiler_pic
='-KPIC'
8292 lt_prog_compiler_static
='-Bstatic'
8296 lt_prog_compiler_wl
='-Wl,'
8297 lt_prog_compiler_can_build_shared
=no
8301 lt_prog_compiler_pic
='-pic'
8302 lt_prog_compiler_static
='-Bstatic'
8306 lt_prog_compiler_can_build_shared
=no
8312 # For platforms which do not support PIC, -DPIC is meaningless:
8314 lt_prog_compiler_pic
=
8317 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8322 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8323 if ${lt_cv_prog_compiler_pic+:} false
; then :
8324 $as_echo_n "(cached) " >&6
8326 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8329 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8330 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8333 # Check to make sure the PIC flag actually works.
8335 if test -n "$lt_prog_compiler_pic"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8337 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8338 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8339 $as_echo_n "(cached) " >&6
8341 lt_cv_prog_compiler_pic_works
=no
8342 ac_outfile
=conftest.
$ac_objext
8343 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8344 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8345 # Insert the option either (1) after the last *FLAGS variable, or
8346 # (2) before a word containing "conftest.", or (3) at the end.
8347 # Note that $ac_compile itself does not contain backslashes and begins
8348 # with a dollar sign (not a hyphen), so the echo should work correctly.
8349 # The option is referenced via a variable to avoid confusing sed.
8350 lt_compile
=`echo "$ac_compile" | $SED \
8351 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8353 -e 's:$: $lt_compiler_flag:'`
8354 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8355 (eval "$lt_compile" 2>conftest.err
)
8357 cat conftest.err
>&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 if (exit $ac_status) && test -s "$ac_outfile"; then
8360 # The compiler can only warn and ignore the option if not recognized
8361 # So say no if there are warnings other than the usual output.
8362 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8363 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8364 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8365 lt_cv_prog_compiler_pic_works
=yes
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8372 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8374 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8375 case $lt_prog_compiler_pic in
8377 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8380 lt_prog_compiler_pic
=
8381 lt_prog_compiler_can_build_shared
=no
8397 # Check to make sure the static flag actually works.
8399 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8401 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8402 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8403 $as_echo_n "(cached) " >&6
8405 lt_cv_prog_compiler_static_works
=no
8406 save_LDFLAGS
="$LDFLAGS"
8407 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8408 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8409 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8410 # The linker can only warn and ignore the option if not recognized
8411 # So say no if there are warnings
8412 if test -s conftest.err
; then
8413 # Append any errors to the config.log.
8414 cat conftest.err
1>&5
8415 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8416 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8417 if diff conftest.exp conftest.er2
>/dev
/null
; then
8418 lt_cv_prog_compiler_static_works
=yes
8421 lt_cv_prog_compiler_static_works
=yes
8425 LDFLAGS
="$save_LDFLAGS"
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8429 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8431 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8434 lt_prog_compiler_static
=
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8444 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8445 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8446 $as_echo_n "(cached) " >&6
8448 lt_cv_prog_compiler_c_o
=no
8449 $RM -r conftest
2>/dev
/null
8453 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8455 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8456 # Insert the option either (1) after the last *FLAGS variable, or
8457 # (2) before a word containing "conftest.", or (3) at the end.
8458 # Note that $ac_compile itself does not contain backslashes and begins
8459 # with a dollar sign (not a hyphen), so the echo should work correctly.
8460 lt_compile
=`echo "$ac_compile" | $SED \
8461 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8463 -e 's:$: $lt_compiler_flag:'`
8464 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8465 (eval "$lt_compile" 2>out
/conftest.err
)
8467 cat out
/conftest.err
>&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8471 # The compiler can only warn and ignore the option if not recognized
8472 # So say no if there are warnings
8473 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8474 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8475 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8476 lt_cv_prog_compiler_c_o
=yes
8481 # SGI C++ compiler will create directory out/ii_files/ for
8482 # template instantiation
8483 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8484 $RM out
/* && rmdir out
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8491 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8499 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8500 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8501 $as_echo_n "(cached) " >&6
8503 lt_cv_prog_compiler_c_o
=no
8504 $RM -r conftest
2>/dev
/null
8508 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8510 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8511 # Insert the option either (1) after the last *FLAGS variable, or
8512 # (2) before a word containing "conftest.", or (3) at the end.
8513 # Note that $ac_compile itself does not contain backslashes and begins
8514 # with a dollar sign (not a hyphen), so the echo should work correctly.
8515 lt_compile
=`echo "$ac_compile" | $SED \
8516 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8517 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8518 -e 's:$: $lt_compiler_flag:'`
8519 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8520 (eval "$lt_compile" 2>out
/conftest.err
)
8522 cat out
/conftest.err
>&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8526 # The compiler can only warn and ignore the option if not recognized
8527 # So say no if there are warnings
8528 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8529 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8530 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8531 lt_cv_prog_compiler_c_o
=yes
8536 # SGI C++ compiler will create directory out/ii_files/ for
8537 # template instantiation
8538 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8539 $RM out
/* && rmdir out
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8546 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8551 hard_links
="nottested"
8552 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8553 # do not overwrite the value of need_locks provided by the user
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8555 $as_echo_n "checking if we can lock with hard links... " >&6; }
8558 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8560 ln conftest.a conftest.b
2>&5 || hard_links
=no
8561 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8563 $as_echo "$hard_links" >&6; }
8564 if test "$hard_links" = no
; then
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8566 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8579 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8582 allow_undefined_flag
=
8583 always_export_symbols
=no
8585 archive_expsym_cmds
=
8586 compiler_needs_object
=no
8587 enable_shared_with_static_runtimes
=no
8588 export_dynamic_flag_spec
=
8589 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8590 hardcode_automatic
=no
8592 hardcode_direct_absolute
=no
8593 hardcode_libdir_flag_spec
=
8594 hardcode_libdir_separator
=
8596 hardcode_shlibpath_var
=unsupported
8598 link_all_deplibs
=unknown
8601 old_archive_from_new_cmds
=
8602 old_archive_from_expsyms_cmds
=
8603 thread_safe_flag_spec
=
8604 whole_archive_flag_spec
=
8605 # include_expsyms should be a list of space-separated symbols to be *always*
8606 # included in the symbol list
8608 # exclude_expsyms can be an extended regexp of symbols to exclude
8609 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8610 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8611 # as well as any symbol that contains `d'.
8612 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8613 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8614 # platforms (ab)use it in PIC code, but their linkers get confused if
8615 # the symbol is explicitly referenced. Since portable code cannot
8616 # rely on this symbol name, it's probably fine to never include it in
8617 # preloaded symbol tables.
8618 # Exclude shared library initialization/finalization symbols.
8619 extract_expsyms_cmds
=
8622 cygwin
* | mingw
* | pw32
* | cegcc
*)
8623 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8624 # When not using gcc, we currently assume that we are using
8625 # Microsoft Visual C++.
8626 if test "$GCC" != yes; then
8631 # we just hope/assume this is gcc and not c89 (= MSVC++)
8637 linux
* | k
*bsd
*-gnu | gnu
*)
8644 # On some targets, GNU ld is compatible enough with the native linker
8645 # that we're better off using the native interface for both.
8646 lt_use_gnu_ld_interface
=no
8647 if test "$with_gnu_ld" = yes; then
8650 # The AIX port of GNU ld has always aspired to compatibility
8651 # with the native linker. However, as the warning in the GNU ld
8652 # block says, versions before 2.19.5* couldn't really create working
8653 # shared libraries, regardless of the interface used.
8654 case `$LD -v 2>&1` in
8655 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8656 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8657 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8659 lt_use_gnu_ld_interface
=yes
8664 lt_use_gnu_ld_interface
=yes
8669 if test "$lt_use_gnu_ld_interface" = yes; then
8670 # If archive_cmds runs LD, not CC, wlarc should be empty
8673 # Set some defaults for GNU ld with shared library support. These
8674 # are reset later if shared libraries are not supported. Putting them
8675 # here allows them to be overridden if necessary.
8676 runpath_var
=LD_RUN_PATH
8677 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8678 export_dynamic_flag_spec
='${wl}--export-dynamic'
8679 # ancient GNU ld didn't support --whole-archive et. al.
8680 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8681 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8683 whole_archive_flag_spec
=
8685 supports_anon_versioning
=no
8686 case `$LD -v 2>&1` in
8687 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8688 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8689 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8690 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8691 *\
2.11.
*) ;; # other 2.11 versions
8692 *) supports_anon_versioning
=yes ;;
8695 # See if GNU ld supports shared libraries.
8698 # On AIX/PPC, the GNU linker is very broken
8699 if test "$host_cpu" != ia64
; then
8703 *** Warning: the GNU linker, at least up to release 2.19, is reported
8704 *** to be unable to reliably create shared libraries on AIX.
8705 *** Therefore, libtool is disabling shared libraries support. If you
8706 *** really care for shared libraries, you may want to install binutils
8707 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8708 *** You will then need to restart the configuration process.
8717 # see comment about AmigaOS4 .so support
8718 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8719 archive_expsym_cmds
=''
8722 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)'
8723 hardcode_libdir_flag_spec
='-L$libdir'
8724 hardcode_minus_L
=yes
8730 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8731 allow_undefined_flag
=unsupported
8732 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8733 # support --undefined. This deserves some investigation. FIXME
8734 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8740 cygwin
* | mingw
* | pw32
* | cegcc
*)
8741 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8742 # as there is no search path for DLLs.
8743 hardcode_libdir_flag_spec
='-L$libdir'
8744 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8745 allow_undefined_flag
=unsupported
8746 always_export_symbols
=no
8747 enable_shared_with_static_runtimes
=yes
8748 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'
8749 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8751 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8752 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8753 # If the export-symbols file already is a .def file (1st line
8754 # is EXPORTS), use it as is; otherwise, prepend...
8755 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8756 cp $export_symbols $output_objdir/$soname.def;
8758 echo EXPORTS > $output_objdir/$soname.def;
8759 cat $export_symbols >> $output_objdir/$soname.def;
8761 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8768 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8769 link_all_deplibs
=yes
8774 hardcode_shlibpath_var
=no
8775 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8776 export_dynamic_flag_spec
='${wl}-E'
8777 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8778 # Instead, shared libraries are loaded at an image base (0x10000000 by
8779 # default) and relocated if they conflict, which is a slow very memory
8780 # consuming and fragmenting process. To avoid this, we pick a random,
8781 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8782 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8783 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8784 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'
8787 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8789 if test "$host_os" = linux-dietlibc
; then
8790 case $cc_basename in
8791 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8794 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8795 && test "$tmp_diet" = no
8797 tmp_addflag
=' $pic_flag'
8798 tmp_sharedflag
='-shared'
8799 case $cc_basename,$host_cpu in
8800 pgcc
*) # Portland Group C compiler
8801 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'
8802 tmp_addflag
=' $pic_flag'
8804 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8805 # Portland Group f77 and f90 compilers
8806 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'
8807 tmp_addflag
=' $pic_flag -Mnomain' ;;
8808 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8809 tmp_addflag
=' -i_dynamic' ;;
8810 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8811 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8812 ifc
* | ifort
*) # Intel Fortran compiler
8813 tmp_addflag
=' -nofor_main' ;;
8814 lf95
*) # Lahey Fortran 8.1
8815 whole_archive_flag_spec
=
8816 tmp_sharedflag
='--shared' ;;
8817 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8818 tmp_sharedflag
='-qmkshrobj'
8820 nvcc
*) # Cuda Compiler Driver 2.2
8821 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'
8822 compiler_needs_object
=yes
8825 case `$CC -V 2>&1 | sed 5q` in
8826 *Sun\ C
*) # Sun C 5.9
8827 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'
8828 compiler_needs_object
=yes
8829 tmp_sharedflag
='-G' ;;
8830 *Sun\ F
*) # Sun Fortran 8.3
8831 tmp_sharedflag
='-G' ;;
8833 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8835 if test "x$supports_anon_versioning" = xyes
; then
8836 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8837 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8838 echo "local: *; };" >> $output_objdir/$libname.ver~
8839 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8842 case $cc_basename in
8843 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8844 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8845 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8846 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8847 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8848 if test "x$supports_anon_versioning" = xyes
; then
8849 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8850 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8851 echo "local: *; };" >> $output_objdir/$libname.ver~
8852 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8861 netbsd
* | netbsdelf
*-gnu)
8862 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8863 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8866 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8867 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8872 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8876 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8877 *** create shared libraries on Solaris systems. Therefore, libtool
8878 *** is disabling shared libraries support. We urge you to upgrade GNU
8879 *** binutils to release 2.9.1 or newer. Another option is to modify
8880 *** your PATH or compiler configuration so that the native linker is
8881 *** used, and then restart.
8884 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8885 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8886 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8892 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8893 case `$LD -v 2>&1` in
8894 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8898 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8899 *** reliably create shared libraries on SCO systems. Therefore, libtool
8900 *** is disabling shared libraries support. We urge you to upgrade GNU
8901 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8902 *** your PATH or compiler configuration so that the native linker is
8903 *** used, and then restart.
8908 # For security reasons, it is highly recommended that you always
8909 # use absolute paths for naming shared libraries, and exclude the
8910 # DT_RUNPATH tag from executables and libraries. But doing so
8911 # requires that you compile everything twice, which is a pain.
8912 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8913 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8914 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8915 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8924 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8927 hardcode_shlibpath_var
=no
8931 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8932 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8933 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8940 if test "$ld_shlibs" = no
; then
8942 hardcode_libdir_flag_spec
=
8943 export_dynamic_flag_spec
=
8944 whole_archive_flag_spec
=
8947 # PORTME fill in a description of your system's linker (not GNU ld)
8950 allow_undefined_flag
=unsupported
8951 always_export_symbols
=yes
8952 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'
8953 # Note: this linker hardcodes the directories in LIBPATH if there
8954 # are no directories specified by -L.
8955 hardcode_minus_L
=yes
8956 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8957 # Neither direct hardcoding nor static linking is supported with a
8959 hardcode_direct
=unsupported
8964 if test "$host_cpu" = ia64
; then
8965 # On IA64, the linker does run time linking by default, so we don't
8966 # have to do anything special.
8967 aix_use_runtimelinking
=no
8968 exp_sym_flag
='-Bexport'
8971 # If we're using GNU nm, then we don't want the "-C" option.
8972 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8973 # Also, AIX nm treats weak defined symbols like other global
8974 # defined symbols, whereas GNU nm marks them as "W".
8975 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8976 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8978 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8980 aix_use_runtimelinking
=no
8982 # Test if we are trying to use run time linking or normal
8983 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8984 # need to do runtime linking.
8985 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8986 for ld_flag
in $LDFLAGS; do
8987 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8988 aix_use_runtimelinking
=yes
8995 exp_sym_flag
='-bexport'
8996 no_entry_flag
='-bnoentry'
8999 # When large executables or shared objects are built, AIX ld can
9000 # have problems creating the table of contents. If linking a library
9001 # or program results in "error TOC overflow" add -mminimal-toc to
9002 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9003 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9007 hardcode_direct_absolute
=yes
9008 hardcode_libdir_separator
=':'
9009 link_all_deplibs
=yes
9010 file_list_spec
='${wl}-f,'
9012 if test "$GCC" = yes; then
9013 case $host_os in aix4.
[012]|aix4.
[012].
*)
9014 # We only want to do this on AIX 4.2 and lower, the check
9015 # below for broken collect2 doesn't work under 4.3+
9016 collect2name
=`${CC} -print-prog-name=collect2`
9017 if test -f "$collect2name" &&
9018 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9020 # We have reworked collect2
9023 # We have old collect2
9024 hardcode_direct
=unsupported
9025 # It fails to find uninstalled libraries when the uninstalled
9026 # path is not listed in the libpath. Setting hardcode_minus_L
9027 # to unsupported forces relinking
9028 hardcode_minus_L
=yes
9029 hardcode_libdir_flag_spec
='-L$libdir'
9030 hardcode_libdir_separator
=
9034 shared_flag
='-shared'
9035 if test "$aix_use_runtimelinking" = yes; then
9036 shared_flag
="$shared_flag "'${wl}-G'
9041 if test "$host_cpu" = ia64
; then
9042 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9043 # chokes on -Wl,-G. The following line is correct:
9046 if test "$aix_use_runtimelinking" = yes; then
9047 shared_flag
='${wl}-G'
9049 shared_flag
='${wl}-bM:SRE'
9054 export_dynamic_flag_spec
='${wl}-bexpall'
9055 # It seems that -bexpall does not export symbols beginning with
9056 # underscore (_), so it is better to generate a list of symbols to export.
9057 always_export_symbols
=yes
9058 if test "$aix_use_runtimelinking" = yes; then
9059 # Warning - without using the other runtime loading flags (-brtl),
9060 # -berok will link without error, but may produce a broken library.
9061 allow_undefined_flag
='-berok'
9062 # Determine the default libpath from the value encoded in an
9064 if test "${lt_cv_aix_libpath+set}" = set; then
9065 aix_libpath
=$lt_cv_aix_libpath
9067 if ${lt_cv_aix_libpath_+:} false
; then :
9068 $as_echo_n "(cached) " >&6
9070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9081 if ac_fn_c_try_link
"$LINENO"; then :
9083 lt_aix_libpath_sed
='
9084 /Import File Strings/,/^$/ {
9086 s/^0 *\([^ ]*\) *$/\1/
9090 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9091 # Check for a 64-bit object if we didn't find anything.
9092 if test -z "$lt_cv_aix_libpath_"; then
9093 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9096 rm -f core conftest.err conftest.
$ac_objext \
9097 conftest
$ac_exeext conftest.
$ac_ext
9098 if test -z "$lt_cv_aix_libpath_"; then
9099 lt_cv_aix_libpath_
="/usr/lib:/lib"
9104 aix_libpath
=$lt_cv_aix_libpath_
9107 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9108 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9110 if test "$host_cpu" = ia64
; then
9111 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9112 allow_undefined_flag
="-z nodefs"
9113 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"
9115 # Determine the default libpath from the value encoded in an
9117 if test "${lt_cv_aix_libpath+set}" = set; then
9118 aix_libpath
=$lt_cv_aix_libpath
9120 if ${lt_cv_aix_libpath_+:} false
; then :
9121 $as_echo_n "(cached) " >&6
9123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9134 if ac_fn_c_try_link
"$LINENO"; then :
9136 lt_aix_libpath_sed
='
9137 /Import File Strings/,/^$/ {
9139 s/^0 *\([^ ]*\) *$/\1/
9143 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9144 # Check for a 64-bit object if we didn't find anything.
9145 if test -z "$lt_cv_aix_libpath_"; then
9146 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9149 rm -f core conftest.err conftest.
$ac_objext \
9150 conftest
$ac_exeext conftest.
$ac_ext
9151 if test -z "$lt_cv_aix_libpath_"; then
9152 lt_cv_aix_libpath_
="/usr/lib:/lib"
9157 aix_libpath
=$lt_cv_aix_libpath_
9160 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9161 # Warning - without using the other run time loading flags,
9162 # -berok will link without error, but may produce a broken library.
9163 no_undefined_flag
=' ${wl}-bernotok'
9164 allow_undefined_flag
=' ${wl}-berok'
9165 if test "$with_gnu_ld" = yes; then
9166 # We only use this code for GNU lds that support --whole-archive.
9167 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9169 # Exported symbols can be pulled into shared objects from archives
9170 whole_archive_flag_spec
='$convenience'
9172 archive_cmds_need_lc
=yes
9173 # This is similar to how AIX traditionally builds its shared libraries.
9174 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9182 # see comment about AmigaOS4 .so support
9183 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184 archive_expsym_cmds
=''
9187 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)'
9188 hardcode_libdir_flag_spec
='-L$libdir'
9189 hardcode_minus_L
=yes
9195 export_dynamic_flag_spec
=-rdynamic
9198 cygwin
* | mingw
* | pw32
* | cegcc
*)
9199 # When not using gcc, we currently assume that we are using
9200 # Microsoft Visual C++.
9201 # hardcode_libdir_flag_spec is actually meaningless, as there is
9202 # no search path for DLLs.
9203 case $cc_basename in
9206 hardcode_libdir_flag_spec
=' '
9207 allow_undefined_flag
=unsupported
9208 always_export_symbols
=yes
9210 # Tell ltmain to make .lib files, not .a files.
9212 # Tell ltmain to make .dll files, not .so files.
9214 # FIXME: Setting linknames here is a bad hack.
9215 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9216 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9217 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9219 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9221 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9223 # The linker will not automatically build a static lib if we build a DLL.
9224 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9225 enable_shared_with_static_runtimes
=yes
9226 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9227 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9229 old_postinstall_cmds
='chmod 644 $oldlib'
9230 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9231 lt_tool_outputfile="@TOOL_OUTPUT@"~
9232 case $lt_outputfile in
9235 lt_outputfile="$lt_outputfile.exe"
9236 lt_tool_outputfile="$lt_tool_outputfile.exe"
9239 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9240 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9241 $RM "$lt_outputfile.manifest";
9245 # Assume MSVC wrapper
9246 hardcode_libdir_flag_spec
=' '
9247 allow_undefined_flag
=unsupported
9248 # Tell ltmain to make .lib files, not .a files.
9250 # Tell ltmain to make .dll files, not .so files.
9252 # FIXME: Setting linknames here is a bad hack.
9253 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9254 # The linker will automatically build a .lib file if we build a DLL.
9255 old_archive_from_new_cmds
='true'
9256 # FIXME: Should let the user specify the lib program.
9257 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9258 enable_shared_with_static_runtimes
=yes
9263 darwin
* | rhapsody
*)
9266 archive_cmds_need_lc
=no
9268 hardcode_automatic
=yes
9269 hardcode_shlibpath_var
=unsupported
9270 if test "$lt_cv_ld_force_load" = "yes"; then
9271 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\"`'
9274 whole_archive_flag_spec
=''
9276 link_all_deplibs
=yes
9277 allow_undefined_flag
="$_lt_dar_allow_undefined"
9278 case $cc_basename in
9279 ifort
*) _lt_dar_can_shared
=yes ;;
9280 *) _lt_dar_can_shared
=$GCC ;;
9282 if test "$_lt_dar_can_shared" = "yes"; then
9283 output_verbose_link_cmd
=func_echo_all
9284 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9285 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9286 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}"
9287 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}"
9296 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9297 hardcode_libdir_flag_spec
='-L$libdir'
9298 hardcode_shlibpath_var
=no
9301 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9302 # support. Future versions do this automatically, but an explicit c++rt0.o
9303 # does not break anything, and helps significantly (at the cost of a little
9306 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9307 hardcode_libdir_flag_spec
='-R$libdir'
9309 hardcode_shlibpath_var
=no
9312 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9314 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9316 hardcode_minus_L
=yes
9317 hardcode_shlibpath_var
=no
9320 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9321 freebsd
* | dragonfly
*)
9322 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9323 hardcode_libdir_flag_spec
='-R$libdir'
9325 hardcode_shlibpath_var
=no
9329 if test "$GCC" = yes; then
9330 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9332 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9334 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9335 hardcode_libdir_separator
=:
9338 # hardcode_minus_L: Not really in the search PATH,
9339 # but as the default location of the library.
9340 hardcode_minus_L
=yes
9341 export_dynamic_flag_spec
='${wl}-E'
9345 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9346 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9348 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9350 if test "$with_gnu_ld" = no
; then
9351 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9352 hardcode_libdir_separator
=:
9354 hardcode_direct_absolute
=yes
9355 export_dynamic_flag_spec
='${wl}-E'
9356 # hardcode_minus_L: Not really in the search PATH,
9357 # but as the default location of the library.
9358 hardcode_minus_L
=yes
9363 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9366 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9369 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9372 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9378 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9381 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9385 # Older versions of the 11.00 compiler do not understand -b yet
9386 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9388 $as_echo_n "checking if $CC understands -b... " >&6; }
9389 if ${lt_cv_prog_compiler__b+:} false
; then :
9390 $as_echo_n "(cached) " >&6
9392 lt_cv_prog_compiler__b
=no
9393 save_LDFLAGS
="$LDFLAGS"
9394 LDFLAGS
="$LDFLAGS -b"
9395 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9396 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9397 # The linker can only warn and ignore the option if not recognized
9398 # So say no if there are warnings
9399 if test -s conftest.err
; then
9400 # Append any errors to the config.log.
9401 cat conftest.err
1>&5
9402 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9403 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9404 if diff conftest.exp conftest.er2
>/dev
/null
; then
9405 lt_cv_prog_compiler__b
=yes
9408 lt_cv_prog_compiler__b
=yes
9412 LDFLAGS
="$save_LDFLAGS"
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9416 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9418 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9419 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9421 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9427 if test "$with_gnu_ld" = no
; then
9428 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9429 hardcode_libdir_separator
=:
9434 hardcode_shlibpath_var
=no
9438 hardcode_direct_absolute
=yes
9439 export_dynamic_flag_spec
='${wl}-E'
9441 # hardcode_minus_L: Not really in the search PATH,
9442 # but as the default location of the library.
9443 hardcode_minus_L
=yes
9449 irix5
* | irix6
* | nonstopux
*)
9450 if test "$GCC" = yes; then
9451 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'
9452 # Try to use the -exported_symbol ld option, if it does not
9453 # work, assume that -exports_file does not work either and
9454 # implicitly export all symbols.
9455 # This should be the same for all languages, so no per-tag cache variable.
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9457 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9458 if ${lt_cv_irix_exported_symbol+:} false
; then :
9459 $as_echo_n "(cached) " >&6
9461 save_LDFLAGS
="$LDFLAGS"
9462 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9465 int foo (void) { return 0; }
9467 if ac_fn_c_try_link
"$LINENO"; then :
9468 lt_cv_irix_exported_symbol
=yes
9470 lt_cv_irix_exported_symbol
=no
9472 rm -f core conftest.err conftest.
$ac_objext \
9473 conftest
$ac_exeext conftest.
$ac_ext
9474 LDFLAGS
="$save_LDFLAGS"
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9477 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9478 if test "$lt_cv_irix_exported_symbol" = yes; then
9479 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'
9482 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'
9483 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'
9485 archive_cmds_need_lc
='no'
9486 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9487 hardcode_libdir_separator
=:
9489 link_all_deplibs
=yes
9492 netbsd
* | netbsdelf
*-gnu)
9493 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9494 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9496 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9498 hardcode_libdir_flag_spec
='-R$libdir'
9500 hardcode_shlibpath_var
=no
9504 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9506 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9507 hardcode_libdir_separator
=:
9508 hardcode_shlibpath_var
=no
9515 if test -f /usr
/libexec
/ld.so
; then
9517 hardcode_shlibpath_var
=no
9518 hardcode_direct_absolute
=yes
9519 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9520 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9521 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9522 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9523 export_dynamic_flag_spec
='${wl}-E'
9526 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9527 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9528 hardcode_libdir_flag_spec
='-R$libdir'
9531 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9532 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9542 hardcode_libdir_flag_spec
='-L$libdir'
9543 hardcode_minus_L
=yes
9544 allow_undefined_flag
=unsupported
9545 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9546 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9550 if test "$GCC" = yes; then
9551 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9552 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'
9554 allow_undefined_flag
=' -expect_unresolved \*'
9555 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'
9557 archive_cmds_need_lc
='no'
9558 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9559 hardcode_libdir_separator
=:
9562 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9563 if test "$GCC" = yes; then
9564 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9565 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'
9566 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9568 allow_undefined_flag
=' -expect_unresolved \*'
9569 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'
9570 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~
9571 $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'
9573 # Both c and cxx compiler support -rpath directly
9574 hardcode_libdir_flag_spec
='-rpath $libdir'
9576 archive_cmds_need_lc
='no'
9577 hardcode_libdir_separator
=:
9581 no_undefined_flag
=' -z defs'
9582 if test "$GCC" = yes; then
9584 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9585 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9586 $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'
9588 case `$CC -V 2>&1` in
9591 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9592 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9593 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9597 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9599 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9603 hardcode_libdir_flag_spec
='-R$libdir'
9604 hardcode_shlibpath_var
=no
9606 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9608 # The compiler driver will combine and reorder linker options,
9609 # but understands `-z linker_flag'. GCC discards it without `$wl',
9610 # but is careful enough not to reorder.
9611 # Supported since Solaris 2.6 (maybe 2.5.1?)
9612 if test "$GCC" = yes; then
9613 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9615 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9619 link_all_deplibs
=yes
9623 if test "x$host_vendor" = xsequent
; then
9624 # Use $CC to link under sequent, because it throws in some extra .o
9625 # files that make .init and .fini sections work.
9626 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9630 hardcode_libdir_flag_spec
='-L$libdir'
9632 hardcode_minus_L
=yes
9633 hardcode_shlibpath_var
=no
9637 case $host_vendor in
9639 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9640 hardcode_direct
=yes # is this really true???
9643 ## LD is ld it makes a PLAMLIB
9644 ## CC just makes a GrossModule.
9645 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9646 reload_cmds
='$CC -r -o $output$reload_objs'
9650 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9651 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9654 runpath_var
='LD_RUN_PATH'
9655 hardcode_shlibpath_var
=no
9659 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9660 hardcode_shlibpath_var
=no
9661 export_dynamic_flag_spec
='-Bexport'
9665 if test -d /usr
/nec
; then
9666 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9667 hardcode_shlibpath_var
=no
9668 runpath_var
=LD_RUN_PATH
9669 hardcode_runpath_var
=yes
9674 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9675 no_undefined_flag
='${wl}-z,text'
9676 archive_cmds_need_lc
=no
9677 hardcode_shlibpath_var
=no
9678 runpath_var
='LD_RUN_PATH'
9680 if test "$GCC" = yes; then
9681 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9682 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9684 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689 sysv5
* | sco3.2v5
* | sco5v6
*)
9690 # Note: We can NOT use -z defs as we might desire, because we do not
9691 # link with -lc, and that would cause any symbols used from libc to
9692 # always be unresolved, which means just about no library would
9693 # ever link correctly. If we're not using GNU ld we use -z text
9694 # though, which does catch some bad symbols but isn't as heavy-handed
9696 no_undefined_flag
='${wl}-z,text'
9697 allow_undefined_flag
='${wl}-z,nodefs'
9698 archive_cmds_need_lc
=no
9699 hardcode_shlibpath_var
=no
9700 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9701 hardcode_libdir_separator
=':'
9702 link_all_deplibs
=yes
9703 export_dynamic_flag_spec
='${wl}-Bexport'
9704 runpath_var
='LD_RUN_PATH'
9706 if test "$GCC" = yes; then
9707 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9708 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9710 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9711 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9716 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9717 hardcode_libdir_flag_spec
='-L$libdir'
9718 hardcode_shlibpath_var
=no
9726 if test x
$host_vendor = xsni
; then
9728 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9729 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9736 $as_echo "$ld_shlibs" >&6; }
9737 test "$ld_shlibs" = no
&& can_build_shared
=no
9739 with_gnu_ld
=$with_gnu_ld
9756 # Do we need to explicitly link libc?
9758 case "x$archive_cmds_need_lc" in
9760 # Assume -lc should be added
9761 archive_cmds_need_lc
=yes
9763 if test "$enable_shared" = yes && test "$GCC" = yes; then
9764 case $archive_cmds in
9766 # FIXME: we may have to deal with multi-command sequences.
9769 # Test whether the compiler implicitly links with -lc since on some
9770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9771 # to ld, don't add -lc before -lgcc.
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9773 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9774 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9775 $as_echo_n "(cached) " >&6
9778 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9781 (eval $ac_compile) 2>&5
9783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9784 test $ac_status = 0; } 2>conftest.err
; then
9787 libobjs
=conftest.
$ac_objext
9789 wl
=$lt_prog_compiler_wl
9790 pic_flag
=$lt_prog_compiler_pic
9796 lt_save_allow_undefined_flag
=$allow_undefined_flag
9797 allow_undefined_flag
=
9798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9799 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9802 test $ac_status = 0; }
9804 lt_cv_archive_cmds_need_lc
=no
9806 lt_cv_archive_cmds_need_lc
=yes
9808 allow_undefined_flag
=$lt_save_allow_undefined_flag
9810 cat conftest.err
1>&5
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9816 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9817 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9976 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9978 if test "$GCC" = yes; then
9980 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9981 *) lt_awk_arg
="/^libraries:/" ;;
9984 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9985 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9987 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9988 case $lt_search_path_spec in
9990 # if the path contains ";" then we assume it to be the separator
9991 # otherwise default to the standard path separator (i.e. ":") - it is
9992 # assumed that no part of a normal pathname contains ";" but that should
9993 # okay in the real world where ";" in dirpaths is itself problematic.
9994 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9997 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10000 # Ok, now we have the path, separated by spaces, we can step through it
10001 # and add multilib dir if necessary.
10002 lt_tmp_lt_search_path_spec
=
10003 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10004 for lt_sys_path
in $lt_search_path_spec; do
10005 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10006 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10008 test -d "$lt_sys_path" && \
10009 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10012 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10013 BEGIN {RS=" "; FS="/|\n";} {
10016 for (lt_i = NF; lt_i > 0; lt_i--) {
10017 if ($lt_i != "" && $lt_i != ".") {
10018 if ($lt_i == "..") {
10021 if (lt_count == 0) {
10022 lt_foo="/" $lt_i lt_foo;
10029 if (lt_foo != "") { lt_freq[lt_foo]++; }
10030 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10032 # AWK program above erroneously prepends '/' to C:/dos/paths
10035 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10036 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10038 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10040 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10042 library_names_spec
=
10043 libname_spec
='lib$name'
10047 postuninstall_cmds
=
10051 shlibpath_overrides_runpath
=unknown
10053 dynamic_linker
="$host_os ld.so"
10054 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10055 need_lib_prefix
=unknown
10056 hardcode_into_libs
=no
10058 # when you set need_version to no, make sure it does not cause -set_version
10059 # flags to be left without arguments
10060 need_version
=unknown
10064 version_type
=linux
# correct to gnu/linux during the next big refactor
10065 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10066 shlibpath_var
=LIBPATH
10068 # AIX 3 has no versioning support, so we append a major version to the name.
10069 soname_spec
='${libname}${release}${shared_ext}$major'
10073 version_type
=linux
# correct to gnu/linux during the next big refactor
10076 hardcode_into_libs
=yes
10077 if test "$host_cpu" = ia64
; then
10078 # AIX 5 supports IA64
10079 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10080 shlibpath_var
=LD_LIBRARY_PATH
10082 # With GCC up to 2.95.x, collect2 would create an import file
10083 # for dependence libraries. The import file would start with
10084 # the line `#! .'. This would cause the generated library to
10085 # depend on `.', always an invalid library. This was fixed in
10086 # development snapshots of GCC prior to 3.0.
10088 aix4 | aix4.
[01] | aix4.
[01].
*)
10089 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10091 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10094 can_build_shared
=no
10098 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10099 # soname into executable. Probably we can add versioning support to
10100 # collect2, so additional links can be useful in future.
10101 if test "$aix_use_runtimelinking" = yes; then
10102 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10103 # instead of lib<name>.a to let people know that these are not
10104 # typical AIX shared libraries.
10105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10107 # We preserve .a as extension for shared libraries through AIX4.2
10108 # and later when we are not doing run time linking.
10109 library_names_spec
='${libname}${release}.a $libname.a'
10110 soname_spec
='${libname}${release}${shared_ext}$major'
10112 shlibpath_var
=LIBPATH
10119 # Since July 2007 AmigaOS4 officially supports .so libraries.
10120 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10124 library_names_spec
='$libname.ixlibrary $libname.a'
10125 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10126 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10132 library_names_spec
='${libname}${shared_ext}'
10133 dynamic_linker
="$host_os ld.so"
10134 shlibpath_var
=LIBRARY_PATH
10138 version_type
=linux
# correct to gnu/linux during the next big refactor
10140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10141 soname_spec
='${libname}${release}${shared_ext}$major'
10142 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10143 shlibpath_var
=LD_LIBRARY_PATH
10144 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10145 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10146 # the default ld.so.conf also contains /usr/contrib/lib and
10147 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10148 # libtool to hard-code these into programs
10151 cygwin
* | mingw
* | pw32
* | cegcc
*)
10152 version_type
=windows
10157 case $GCC,$cc_basename in
10160 library_names_spec
='$libname.dll.a'
10161 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10162 postinstall_cmds
='base_file=`basename \${file}`~
10163 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10164 dldir=$destdir/`dirname \$dlpath`~
10165 test -d \$dldir || mkdir -p \$dldir~
10166 $install_prog $dir/$dlname \$dldir/$dlname~
10167 chmod a+x \$dldir/$dlname~
10168 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10169 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10171 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10172 dlpath=$dir/\$dldll~
10174 shlibpath_overrides_runpath
=yes
10178 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10179 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10181 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10184 # MinGW DLLs use traditional 'lib' prefix
10185 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10188 # pw32 DLLs use 'pw' prefix rather than 'lib'
10189 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10192 dynamic_linker
='Win32 ld.exe'
10197 libname_spec
='$name'
10198 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10199 library_names_spec
='${libname}.dll.lib'
10203 sys_lib_search_path_spec
=
10206 for lt_path
in $LIB
10209 # Let DOS variable expansion print the short 8.3 style file name.
10210 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10211 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10214 # Convert to MSYS style.
10215 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10218 # Convert to unix form, then to dos form, then back to unix form
10219 # but this time dos style (no spaces!) so that the unix form looks
10220 # like /cygdrive/c/PROGRA~1:/cygdr...
10221 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10222 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10223 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10226 sys_lib_search_path_spec
="$LIB"
10227 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10228 # It is most probably a Windows format PATH.
10229 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10231 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10233 # FIXME: find the short name or the path components, as spaces are
10234 # common. (e.g. "Program Files" -> "PROGRA~1")
10238 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10239 postinstall_cmds
='base_file=`basename \${file}`~
10240 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10241 dldir=$destdir/`dirname \$dlpath`~
10242 test -d \$dldir || mkdir -p \$dldir~
10243 $install_prog $dir/$dlname \$dldir/$dlname'
10244 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10245 dlpath=$dir/\$dldll~
10247 shlibpath_overrides_runpath
=yes
10248 dynamic_linker
='Win32 link.exe'
10252 # Assume MSVC wrapper
10253 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10254 dynamic_linker
='Win32 ld.exe'
10257 # FIXME: first we should search . and the directory the executable is in
10261 darwin
* | rhapsody
*)
10262 dynamic_linker
="$host_os dyld"
10263 version_type
=darwin
10266 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10267 soname_spec
='${libname}${release}${major}$shared_ext'
10268 shlibpath_overrides_runpath
=yes
10269 shlibpath_var
=DYLD_LIBRARY_PATH
10270 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10272 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10273 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10277 version_type
=linux
# correct to gnu/linux during the next big refactor
10280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10281 soname_spec
='${libname}${release}${shared_ext}$major'
10282 shlibpath_var
=LD_LIBRARY_PATH
10285 freebsd
* | dragonfly
*)
10286 # DragonFly does not have aout. When/if they implement a new
10287 # versioning mechanism, adjust this.
10288 if test -x /usr
/bin
/objformat
; then
10289 objformat
=`/usr/bin/objformat`
10292 freebsd
[23].
*) objformat
=aout
;;
10293 *) objformat
=elf
;;
10296 version_type
=freebsd-
$objformat
10297 case $version_type in
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10308 shlibpath_var
=LD_LIBRARY_PATH
10311 shlibpath_overrides_runpath
=yes
10313 freebsd3.
[01]* | freebsdelf3.
[01]*)
10314 shlibpath_overrides_runpath
=yes
10315 hardcode_into_libs
=yes
10317 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10318 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10319 shlibpath_overrides_runpath
=no
10320 hardcode_into_libs
=yes
10322 *) # from 4.6 on, and DragonFly
10323 shlibpath_overrides_runpath
=yes
10324 hardcode_into_libs
=yes
10330 version_type
=linux
# correct to gnu/linux during the next big refactor
10333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10334 soname_spec
='${libname}${release}${shared_ext}$major'
10335 shlibpath_var
=LD_LIBRARY_PATH
10336 shlibpath_overrides_runpath
=no
10337 hardcode_into_libs
=yes
10341 version_type
=linux
# correct to gnu/linux during the next big refactor
10344 dynamic_linker
="$host_os runtime_loader"
10345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10346 soname_spec
='${libname}${release}${shared_ext}$major'
10347 shlibpath_var
=LIBRARY_PATH
10348 shlibpath_overrides_runpath
=yes
10349 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10350 hardcode_into_libs
=yes
10353 hpux9
* | hpux10
* | hpux11
*)
10354 # Give a soname corresponding to the major version so that dld.sl refuses to
10355 # link against other versions.
10362 hardcode_into_libs
=yes
10363 dynamic_linker
="$host_os dld.so"
10364 shlibpath_var
=LD_LIBRARY_PATH
10365 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10367 soname_spec
='${libname}${release}${shared_ext}$major'
10368 if test "X$HPUX_IA64_MODE" = X32
; then
10369 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10371 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10373 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10377 hardcode_into_libs
=yes
10378 dynamic_linker
="$host_os dld.sl"
10379 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10380 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10382 soname_spec
='${libname}${release}${shared_ext}$major'
10383 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10384 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10388 dynamic_linker
="$host_os dld.sl"
10389 shlibpath_var
=SHLIB_PATH
10390 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10392 soname_spec
='${libname}${release}${shared_ext}$major'
10395 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10396 postinstall_cmds
='chmod 555 $lib'
10397 # or fails outright, so override atomically:
10398 install_override_mode
=555
10402 version_type
=linux
# correct to gnu/linux during the next big refactor
10405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10406 soname_spec
='${libname}${release}${shared_ext}$major'
10407 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10408 shlibpath_var
=LD_LIBRARY_PATH
10409 shlibpath_overrides_runpath
=no
10410 hardcode_into_libs
=yes
10413 irix5
* | irix6
* | nonstopux
*)
10415 nonstopux
*) version_type
=nonstopux
;;
10417 if test "$lt_cv_prog_gnu_ld" = yes; then
10418 version_type
=linux
# correct to gnu/linux during the next big refactor
10425 soname_spec
='${libname}${release}${shared_ext}$major'
10426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10428 irix5
* | nonstopux
*)
10429 libsuff
= shlibsuff
=
10432 case $LD in # libtool.m4 will add one of these switches to LD
10433 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10434 libsuff
= shlibsuff
= libmagic
=32-bit;;
10435 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10436 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10437 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10438 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10439 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10443 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10444 shlibpath_overrides_runpath
=no
10445 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10446 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10447 hardcode_into_libs
=yes
10450 # No shared lib support for Linux oldld, aout, or coff.
10451 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10455 # This must be glibc/ELF.
10456 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10457 version_type
=linux
# correct to gnu/linux during the next big refactor
10460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10461 soname_spec
='${libname}${release}${shared_ext}$major'
10462 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10463 shlibpath_var
=LD_LIBRARY_PATH
10464 shlibpath_overrides_runpath
=no
10466 # Some binutils ld are patched to set DT_RUNPATH
10467 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10468 $as_echo_n "(cached) " >&6
10470 lt_cv_shlibpath_overrides_runpath
=no
10471 save_LDFLAGS
=$LDFLAGS
10472 save_libdir
=$libdir
10473 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10474 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10486 if ac_fn_c_try_link
"$LINENO"; then :
10487 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10488 lt_cv_shlibpath_overrides_runpath
=yes
10491 rm -f core conftest.err conftest.
$ac_objext \
10492 conftest
$ac_exeext conftest.
$ac_ext
10493 LDFLAGS
=$save_LDFLAGS
10494 libdir
=$save_libdir
10498 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10500 # This implies no fast_install, which is unacceptable.
10501 # Some rework will be needed to allow for fast_install
10502 # before this can be enabled.
10503 hardcode_into_libs
=yes
10505 # Append ld.so.conf contents to the search path
10506 if test -f /etc
/ld.so.conf
; then
10507 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' ' '`
10508 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10511 # We used to test for /lib/ld.so.1 and disable shared libraries on
10512 # powerpc, because MkLinux only supported shared libraries with the
10513 # GNU dynamic linker. Since this was broken with cross compilers,
10514 # most powerpc-linux boxes support dynamic linking these days and
10515 # people can always --disable-shared, the test was removed, and we
10516 # assume the GNU/Linux dynamic linker is in use.
10517 dynamic_linker
='GNU/Linux ld.so'
10524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10525 soname_spec
='${libname}${release}${shared_ext}$major'
10526 shlibpath_var
=LD_LIBRARY_PATH
10527 shlibpath_overrides_runpath
=no
10528 hardcode_into_libs
=yes
10529 dynamic_linker
='NetBSD ld.elf_so'
10536 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10538 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10539 dynamic_linker
='NetBSD (a.out) ld.so'
10541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10542 soname_spec
='${libname}${release}${shared_ext}$major'
10543 dynamic_linker
='NetBSD ld.elf_so'
10545 shlibpath_var
=LD_LIBRARY_PATH
10546 shlibpath_overrides_runpath
=yes
10547 hardcode_into_libs
=yes
10551 version_type
=linux
# correct to gnu/linux during the next big refactor
10552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 shlibpath_var
=LD_LIBRARY_PATH
10554 shlibpath_overrides_runpath
=yes
10561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10562 soname_spec
='${libname}${release}${shared_ext}$major'
10563 shlibpath_var
=LD_LIBRARY_PATH
10564 shlibpath_overrides_runpath
=no
10565 hardcode_into_libs
=yes
10566 dynamic_linker
='ldqnx.so'
10571 sys_lib_dlsearch_path_spec
="/usr/lib"
10573 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10575 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10576 *) need_version
=no
;;
10578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10579 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10580 shlibpath_var
=LD_LIBRARY_PATH
10581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10583 openbsd2.
[89] | openbsd2.
[89].
*)
10584 shlibpath_overrides_runpath
=no
10587 shlibpath_overrides_runpath
=yes
10591 shlibpath_overrides_runpath
=yes
10596 libname_spec
='$name'
10599 library_names_spec
='$libname${shared_ext} $libname.a'
10600 dynamic_linker
='OS/2 ld.exe'
10601 shlibpath_var
=LIBPATH
10604 osf3
* | osf4
* | osf5
*)
10608 soname_spec
='${libname}${release}${shared_ext}$major'
10609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610 shlibpath_var
=LD_LIBRARY_PATH
10611 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10612 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10620 version_type
=linux
# correct to gnu/linux during the next big refactor
10623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10624 soname_spec
='${libname}${release}${shared_ext}$major'
10625 shlibpath_var
=LD_LIBRARY_PATH
10626 shlibpath_overrides_runpath
=yes
10627 hardcode_into_libs
=yes
10628 # ldd complains unless libraries are executable
10629 postinstall_cmds
='chmod +x $lib'
10634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10635 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10636 shlibpath_var
=LD_LIBRARY_PATH
10637 shlibpath_overrides_runpath
=yes
10638 if test "$with_gnu_ld" = yes; then
10645 version_type
=linux
# correct to gnu/linux during the next big refactor
10646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647 soname_spec
='${libname}${release}${shared_ext}$major'
10648 shlibpath_var
=LD_LIBRARY_PATH
10649 case $host_vendor in
10651 shlibpath_overrides_runpath
=no
10653 runpath_var
=LD_RUN_PATH
10661 shlibpath_overrides_runpath
=no
10662 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10668 if test -d /usr
/nec
;then
10669 version_type
=linux
# correct to gnu/linux during the next big refactor
10670 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10671 soname_spec
='$libname${shared_ext}.$major'
10672 shlibpath_var
=LD_LIBRARY_PATH
10676 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10677 version_type
=freebsd-elf
10680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10681 soname_spec
='${libname}${release}${shared_ext}$major'
10682 shlibpath_var
=LD_LIBRARY_PATH
10683 shlibpath_overrides_runpath
=yes
10684 hardcode_into_libs
=yes
10685 if test "$with_gnu_ld" = yes; then
10686 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10688 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10691 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10695 sys_lib_dlsearch_path_spec
='/usr/lib'
10699 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10700 version_type
=linux
# correct to gnu/linux during the next big refactor
10703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 shlibpath_var
=LD_LIBRARY_PATH
10705 shlibpath_overrides_runpath
=no
10706 hardcode_into_libs
=yes
10710 version_type
=linux
# correct to gnu/linux during the next big refactor
10711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10712 soname_spec
='${libname}${release}${shared_ext}$major'
10713 shlibpath_var
=LD_LIBRARY_PATH
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10721 $as_echo "$dynamic_linker" >&6; }
10722 test "$dynamic_linker" = no
&& can_build_shared
=no
10724 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10725 if test "$GCC" = yes; then
10726 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10729 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10730 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10732 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10733 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10828 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10830 if test -n "$hardcode_libdir_flag_spec" ||
10831 test -n "$runpath_var" ||
10832 test "X$hardcode_automatic" = "Xyes" ; then
10834 # We can hardcode non-existent directories.
10835 if test "$hardcode_direct" != no
&&
10836 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10837 # have to relink, otherwise we might link with an installed library
10838 # when we should be linking with a yet-to-be-installed one
10839 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10840 test "$hardcode_minus_L" != no
; then
10841 # Linking always hardcodes the temporary library directory.
10842 hardcode_action
=relink
10844 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10845 hardcode_action
=immediate
10848 # We cannot hardcode anything, or else we can only hardcode existing
10850 hardcode_action
=unsupported
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10853 $as_echo "$hardcode_action" >&6; }
10855 if test "$hardcode_action" = relink ||
10856 test "$inherit_rpath" = yes; then
10857 # Fast installation is not supported
10858 enable_fast_install
=no
10859 elif test "$shlibpath_overrides_runpath" = yes ||
10860 test "$enable_shared" = no
; then
10861 # Fast installation is not necessary
10862 enable_fast_install
=needless
10870 if test "x$enable_dlopen" != xyes
; then
10871 enable_dlopen
=unknown
10872 enable_dlopen_self
=unknown
10873 enable_dlopen_self_static
=unknown
10880 lt_cv_dlopen
="load_add_on"
10882 lt_cv_dlopen_self
=yes
10885 mingw
* | pw32
* | cegcc
*)
10886 lt_cv_dlopen
="LoadLibrary"
10891 lt_cv_dlopen
="dlopen"
10896 # if libdl is installed we need to link against it
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10898 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10899 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10900 $as_echo_n "(cached) " >&6
10902 ac_check_lib_save_LIBS
=$LIBS
10904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10907 /* Override any GCC internal prototype to avoid an error.
10908 Use char because int might match the return type of a GCC
10909 builtin and then its argument prototype would still apply. */
10922 if ac_fn_c_try_link
"$LINENO"; then :
10923 ac_cv_lib_dl_dlopen
=yes
10925 ac_cv_lib_dl_dlopen
=no
10927 rm -f core conftest.err conftest.
$ac_objext \
10928 conftest
$ac_exeext conftest.
$ac_ext
10929 LIBS
=$ac_check_lib_save_LIBS
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10932 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10933 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10934 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10937 lt_cv_dlopen
="dyld"
10939 lt_cv_dlopen_self
=yes
10946 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10947 if test "x$ac_cv_func_shl_load" = xyes
; then :
10948 lt_cv_dlopen
="shl_load"
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10951 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10952 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10953 $as_echo_n "(cached) " >&6
10955 ac_check_lib_save_LIBS
=$LIBS
10957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10960 /* Override any GCC internal prototype to avoid an error.
10961 Use char because int might match the return type of a GCC
10962 builtin and then its argument prototype would still apply. */
10970 return shl_load ();
10975 if ac_fn_c_try_link
"$LINENO"; then :
10976 ac_cv_lib_dld_shl_load
=yes
10978 ac_cv_lib_dld_shl_load
=no
10980 rm -f core conftest.err conftest.
$ac_objext \
10981 conftest
$ac_exeext conftest.
$ac_ext
10982 LIBS
=$ac_check_lib_save_LIBS
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10985 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10986 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10987 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10989 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10990 if test "x$ac_cv_func_dlopen" = xyes
; then :
10991 lt_cv_dlopen
="dlopen"
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10994 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10995 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10996 $as_echo_n "(cached) " >&6
10998 ac_check_lib_save_LIBS
=$LIBS
11000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11018 if ac_fn_c_try_link
"$LINENO"; then :
11019 ac_cv_lib_dl_dlopen
=yes
11021 ac_cv_lib_dl_dlopen
=no
11023 rm -f core conftest.err conftest.
$ac_objext \
11024 conftest
$ac_exeext conftest.
$ac_ext
11025 LIBS
=$ac_check_lib_save_LIBS
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11028 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11029 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11030 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11033 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11034 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11035 $as_echo_n "(cached) " >&6
11037 ac_check_lib_save_LIBS
=$LIBS
11038 LIBS
="-lsvld $LIBS"
11039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11042 /* Override any GCC internal prototype to avoid an error.
11043 Use char because int might match the return type of a GCC
11044 builtin and then its argument prototype would still apply. */
11057 if ac_fn_c_try_link
"$LINENO"; then :
11058 ac_cv_lib_svld_dlopen
=yes
11060 ac_cv_lib_svld_dlopen
=no
11062 rm -f core conftest.err conftest.
$ac_objext \
11063 conftest
$ac_exeext conftest.
$ac_ext
11064 LIBS
=$ac_check_lib_save_LIBS
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11067 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11068 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11069 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11072 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11073 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11074 $as_echo_n "(cached) " >&6
11076 ac_check_lib_save_LIBS
=$LIBS
11078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11091 return dld_link ();
11096 if ac_fn_c_try_link
"$LINENO"; then :
11097 ac_cv_lib_dld_dld_link
=yes
11099 ac_cv_lib_dld_dld_link
=no
11101 rm -f core conftest.err conftest.
$ac_objext \
11102 conftest
$ac_exeext conftest.
$ac_ext
11103 LIBS
=$ac_check_lib_save_LIBS
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11106 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11107 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11108 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11129 if test "x$lt_cv_dlopen" != xno
; then
11135 case $lt_cv_dlopen in
11137 save_CPPFLAGS
="$CPPFLAGS"
11138 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11140 save_LDFLAGS
="$LDFLAGS"
11141 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11144 LIBS
="$lt_cv_dlopen_libs $LIBS"
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11147 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11148 if ${lt_cv_dlopen_self+:} false
; then :
11149 $as_echo_n "(cached) " >&6
11151 if test "$cross_compiling" = yes; then :
11152 lt_cv_dlopen_self
=cross
11154 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11155 lt_status
=$lt_dlunknown
11156 cat > conftest.
$ac_ext <<_LT_EOF
11157 #line $LINENO "configure"
11158 #include "confdefs.h"
11167 # define LT_DLGLOBAL RTLD_GLOBAL
11170 # define LT_DLGLOBAL DL_GLOBAL
11172 # define LT_DLGLOBAL 0
11176 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11177 find out it does not work in some platform. */
11178 #ifndef LT_DLLAZY_OR_NOW
11180 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11183 # define LT_DLLAZY_OR_NOW DL_LAZY
11186 # define LT_DLLAZY_OR_NOW RTLD_NOW
11189 # define LT_DLLAZY_OR_NOW DL_NOW
11191 # define LT_DLLAZY_OR_NOW 0
11198 /* When -fvisbility=hidden is used, assume the code has been annotated
11199 correspondingly for the symbols needed. */
11200 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11201 int fnord () __attribute__((visibility("default")));
11204 int fnord () { return 42; }
11207 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11208 int status = $lt_dlunknown;
11212 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11215 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11216 else puts (dlerror ());
11218 /* dlclose (self); */
11226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11227 (eval $ac_link) 2>&5
11229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11230 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11231 (.
/conftest
; exit; ) >&5 2>/dev
/null
11233 case x
$lt_status in
11234 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11235 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11236 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11239 # compilation failed
11240 lt_cv_dlopen_self
=no
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11248 $as_echo "$lt_cv_dlopen_self" >&6; }
11250 if test "x$lt_cv_dlopen_self" = xyes
; then
11251 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11253 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11254 if ${lt_cv_dlopen_self_static+:} false
; then :
11255 $as_echo_n "(cached) " >&6
11257 if test "$cross_compiling" = yes; then :
11258 lt_cv_dlopen_self_static
=cross
11260 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11261 lt_status
=$lt_dlunknown
11262 cat > conftest.
$ac_ext <<_LT_EOF
11263 #line $LINENO "configure"
11264 #include "confdefs.h"
11273 # define LT_DLGLOBAL RTLD_GLOBAL
11276 # define LT_DLGLOBAL DL_GLOBAL
11278 # define LT_DLGLOBAL 0
11282 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11283 find out it does not work in some platform. */
11284 #ifndef LT_DLLAZY_OR_NOW
11286 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11289 # define LT_DLLAZY_OR_NOW DL_LAZY
11292 # define LT_DLLAZY_OR_NOW RTLD_NOW
11295 # define LT_DLLAZY_OR_NOW DL_NOW
11297 # define LT_DLLAZY_OR_NOW 0
11304 /* When -fvisbility=hidden is used, assume the code has been annotated
11305 correspondingly for the symbols needed. */
11306 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11307 int fnord () __attribute__((visibility("default")));
11310 int fnord () { return 42; }
11313 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11314 int status = $lt_dlunknown;
11318 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11321 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11322 else puts (dlerror ());
11324 /* dlclose (self); */
11332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11333 (eval $ac_link) 2>&5
11335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11336 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11337 (.
/conftest
; exit; ) >&5 2>/dev
/null
11339 case x
$lt_status in
11340 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11341 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11342 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11345 # compilation failed
11346 lt_cv_dlopen_self_static
=no
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11354 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11357 CPPFLAGS
="$save_CPPFLAGS"
11358 LDFLAGS
="$save_LDFLAGS"
11363 case $lt_cv_dlopen_self in
11364 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11365 *) enable_dlopen_self
=unknown
;;
11368 case $lt_cv_dlopen_self_static in
11369 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11370 *) enable_dlopen_self_static
=unknown
;;
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11393 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11394 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11395 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11396 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11398 $as_echo "yes" >&6; }
11400 # FIXME - insert some real tests, host_os isn't really good enough
11403 if test -n "$STRIP" ; then
11404 striplib
="$STRIP -x"
11405 old_striplib
="$STRIP -S"
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11407 $as_echo "yes" >&6; }
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11410 $as_echo "no" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11415 $as_echo "no" >&6; }
11431 # Report which library types will actually be built
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11433 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11435 $as_echo "$can_build_shared" >&6; }
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11438 $as_echo_n "checking whether to build shared libraries... " >&6; }
11439 test "$can_build_shared" = "no" && enable_shared
=no
11441 # On AIX, shared libraries and static libraries use the same namespace, and
11442 # are all built from PIC.
11445 test "$enable_shared" = yes && enable_static
=no
11446 if test -n "$RANLIB"; then
11447 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11448 postinstall_cmds
='$RANLIB $lib'
11453 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11454 test "$enable_shared" = yes && enable_static
=no
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11459 $as_echo "$enable_shared" >&6; }
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11462 $as_echo_n "checking whether to build static libraries... " >&6; }
11463 # Make sure either enable_shared or enable_static is yes.
11464 test "$enable_shared" = yes || enable_static
=yes
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11466 $as_echo "$enable_static" >&6; }
11473 ac_cpp
='$CPP $CPPFLAGS'
11474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11494 ac_config_commands
="$ac_config_commands libtool"
11499 # Only expand once:
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl author" >&5
11505 $as_echo_n "checking spl author... " >&6; }
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_META_AUTHOR" >&5
11507 $as_echo "$SPL_META_AUTHOR" >&6; }
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl license" >&5
11510 $as_echo_n "checking spl license... " >&6; }
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_META_LICENSE" >&5
11512 $as_echo "$SPL_META_LICENSE" >&6; }
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linux distribution" >&5
11517 $as_echo_n "checking linux distribution... " >&6; }
11518 if test -f /etc
/toss-release
; then
11520 elif test -f /etc
/fedora-release
; then
11522 elif test -f /etc
/redhat-release
; then
11524 elif test -f /etc
/gentoo-release
; then
11526 elif test -f /etc
/arch-release
; then
11528 elif test -f /etc
/SuSE-release
; then
11530 elif test -f /etc
/slackware-version
; then
11532 elif test -f /etc
/lunar.release
; then
11534 elif test -f /etc
/lsb-release
; then
11536 elif test -f /etc
/debian_version
; then
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VENDOR" >&5
11542 $as_echo "$VENDOR" >&6; }
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default package type" >&5
11546 $as_echo_n "checking default package type... " >&6; }
11548 toss
) DEFAULT_PACKAGE
=rpm
;;
11549 redhat
) DEFAULT_PACKAGE
=rpm
;;
11550 fedora
) DEFAULT_PACKAGE
=rpm
;;
11551 gentoo
) DEFAULT_PACKAGE
=tgz
;;
11552 arch
) DEFAULT_PACKAGE
=tgz
;;
11553 sles
) DEFAULT_PACKAGE
=rpm
;;
11554 slackware
) DEFAULT_PACKAGE
=tgz
;;
11555 lunar
) DEFAULT_PACKAGE
=tgz
;;
11556 ubuntu
) DEFAULT_PACKAGE
=deb
;;
11557 debian
) DEFAULT_PACKAGE
=deb
;;
11558 *) DEFAULT_PACKAGE
=rpm
;;
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_PACKAGE" >&5
11562 $as_echo "$DEFAULT_PACKAGE" >&6; }
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPM is available" >&5
11570 $as_echo_n "checking whether $RPM is available... " >&6; }
11571 if tmp
=$
($RPM --version 2>/dev
/null
); then :
11573 RPM_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM ($RPM_VERSION)" >&5
11576 $as_echo "$HAVE_RPM ($RPM_VERSION)" >&6; }
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPM" >&5
11582 $as_echo "$HAVE_RPM" >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $RPMBUILD is available" >&5
11587 $as_echo_n "checking whether $RPMBUILD is available... " >&6; }
11588 if tmp
=$
($RPMBUILD --version 2>/dev
/null
); then :
11590 RPMBUILD_VERSION
=$
(echo $tmp |
$AWK '/RPM/ { print $3 }')
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&5
11593 $as_echo "$HAVE_RPMBUILD ($RPMBUILD_VERSION)" >&6; }
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_RPMBUILD" >&5
11599 $as_echo "$HAVE_RPMBUILD" >&6; }
11603 RPM_DEFINE_COMMON
='--define "$(DEBUG_SPL) 1" --define "$(DEBUG_KMEM) 1" --define "$(DEBUG_KMEM_TRACKING) 1"'
11605 RPM_DEFINE_KMOD
='--define "kernels $(LINUX_VERSION)"'
11608 SRPM_DEFINE_COMMON
='--define "build_src_rpm 1"'
11613 RPM_SPEC_DIR
="rpm/generic"
11615 # Check whether --with-spec was given.
11616 if test "${with_spec+set}" = set; then :
11617 withval
=$with_spec; RPM_SPEC_DIR
="rpm/$withval"
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether spec files are available" >&5
11622 $as_echo_n "checking whether spec files are available... " >&6; }
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($RPM_SPEC_DIR/*.spec.in)" >&5
11624 $as_echo "yes ($RPM_SPEC_DIR/*.spec.in)" >&6; }
11646 DPKGBUILD
=dpkg-buildpackage
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKG is available" >&5
11649 $as_echo_n "checking whether $DPKG is available... " >&6; }
11650 if tmp
=$
($DPKG --version 2>/dev
/null
); then :
11652 DPKG_VERSION
=$
(echo $tmp |
$AWK '/Debian/ { print $7 }')
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG ($DPKG_VERSION)" >&5
11655 $as_echo "$HAVE_DPKG ($DPKG_VERSION)" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKG" >&5
11661 $as_echo "$HAVE_DPKG" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DPKGBUILD is available" >&5
11666 $as_echo_n "checking whether $DPKGBUILD is available... " >&6; }
11667 if tmp
=$
($DPKGBUILD --version 2>/dev
/null
); then :
11669 DPKGBUILD_VERSION
=$
(echo $tmp | \
11670 $AWK '/Debian/ { print $4 }' | cut
-f-4 -d'.')
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&5
11673 $as_echo "$HAVE_DPKGBUILD ($DPKGBUILD_VERSION)" >&6; }
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DPKGBUILD" >&5
11679 $as_echo "$HAVE_DPKGBUILD" >&6; }
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ALIEN is available" >&5
11695 $as_echo_n "checking whether $ALIEN is available... " >&6; }
11696 if tmp
=$
($ALIEN --version 2>/dev
/null
); then :
11698 ALIEN_VERSION
=$
(echo $tmp |
$AWK '{ print $3 }')
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN ($ALIEN_VERSION)" >&5
11701 $as_echo "$HAVE_ALIEN ($ALIEN_VERSION)" >&6; }
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ALIEN" >&5
11707 $as_echo "$HAVE_ALIEN" >&6; }
11719 # Check whether --with-config was given.
11720 if test "${with_config+set}" = set; then :
11721 withval
=$with_config; SPL_CONFIG
="$withval"
11724 # Check whether --enable-linux-builtin was given.
11725 if test "${enable_linux_builtin+set}" = set; then :
11726 enableval
=$enable_linux_builtin;
11728 enable_linux_builtin
=no
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spl config" >&5
11733 $as_echo_n "checking spl config... " >&6; }
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPL_CONFIG" >&5
11735 $as_echo "$SPL_CONFIG" >&6; };
11738 case "$SPL_CONFIG" in
11742 # Check whether --with-linux was given.
11743 if test "${with_linux+set}" = set; then :
11744 withval
=$with_linux; kernelsrc
="$withval"
11749 # Check whether --with-linux-obj was given.
11750 if test "${with_linux_obj+set}" = set; then :
11751 withval
=$with_linux_obj; kernelbuild
="$withval"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
11756 $as_echo_n "checking kernel source directory... " >&6; }
11757 if test -z "$kernelsrc"; then
11758 if test -e "/lib/modules/$(uname -r)/source"; then
11759 headersdir
="/lib/modules/$(uname -r)/source"
11760 sourcelink
=$
(readlink
-f "$headersdir")
11761 elif test -e "/lib/modules/$(uname -r)/build"; then
11762 headersdir
="/lib/modules/$(uname -r)/build"
11763 sourcelink
=$
(readlink
-f "$headersdir")
11765 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
11767 2>/dev
/null |
grep -v obj |
tail -1)
11770 if test -n "$sourcelink" && test -e ${sourcelink}; then
11771 kernelsrc
=`readlink -f ${sourcelink}`
11773 kernelsrc
="Not found"
11776 if test "$kernelsrc" = "NONE"; then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
11782 $as_echo "$kernelsrc" >&6; }
11783 if test ! -d "$kernelsrc"; then
11785 *** Please make sure the kernel devel package for your distribution
11786 *** is installed and then try again. If that fails, you can specify the
11787 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
11791 $as_echo_n "checking kernel build directory... " >&6; }
11792 if test -z "$kernelbuild"; then
11793 if test -e "/lib/modules/$(uname -r)/build"; then
11794 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
11795 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
11796 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
11797 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
11798 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
11799 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
11800 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
11802 kernelbuild
=${kernelsrc}
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
11806 $as_echo "$kernelbuild" >&6; }
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
11809 $as_echo_n "checking kernel source version... " >&6; }
11810 utsrelease1
=$kernelbuild/include
/linux
/version.h
11811 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
11812 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
11813 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
11814 utsrelease
=linux
/version.h
11815 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
11816 utsrelease
=linux
/utsrelease.h
11817 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
11818 utsrelease
=generated
/utsrelease.h
11821 if test "$utsrelease"; then
11822 kernsrcver
=`(echo "#include <$utsrelease>";
11823 echo "kernsrcver=UTS_RELEASE") |
11824 cpp -I $kernelbuild/include |
11825 grep "^kernsrcver=" | cut -d \" -f 2`
11827 if test -z "$kernsrcver"; then
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
11829 $as_echo "Not found" >&6; }
11830 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
11834 $as_echo "Not found" >&6; }
11835 if test "x$enable_linux_builtin" != xyes
; then
11836 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
11839 *** Cannot find UTS_RELEASE definition.
11840 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
11845 $as_echo "$kernsrcver" >&6; }
11848 LINUX_OBJ
=${kernelbuild}
11849 LINUX_VERSION
=${kernsrcver}
11856 modpost
=$LINUX/scripts
/Makefile.modpost
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
11858 $as_echo_n "checking kernel file name for module symbols... " >&6; }
11859 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
11860 if grep -q Modules.symvers
$modpost; then
11861 LINUX_SYMBOLS
=Modules.symvers
11863 LINUX_SYMBOLS
=Module.symvers
11866 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
11868 *** Please make sure the kernel devel package for your distribution
11869 *** is installed. If you are building with a custom kernel, make sure the
11870 *** kernel is configured, built, and the '--with-linux=PATH' configure
11871 *** option refers to the location of the kernel source." "$LINENO" 5
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
11877 $as_echo "$LINUX_SYMBOLS" >&6; }
11882 if test "${LINUX_OBJ}" != "${LINUX}"; then
11883 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
11887 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
11892 $as_echo_n "checking whether debugging is enabled... " >&6; }
11893 # Check whether --enable-debug was given.
11894 if test "${enable_debug+set}" = set; then :
11895 enableval
=$enable_debug;
11901 if test "x$enable_debug" = xyes
; then :
11903 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
11904 DEBUG_CFLAGS
="-DDEBUG -Werror"
11905 DEBUG_SPL
="_with_debug"
11909 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
11910 DEBUG_CFLAGS
="-DNDEBUG"
11911 DEBUG_SPL
="_without_debug"
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
11918 $as_echo "$enable_debug" >&6; }
11921 # Check whether --enable-debug-kmem was given.
11922 if test "${enable_debug_kmem+set}" = set; then :
11923 enableval
=$enable_debug_kmem;
11925 enable_debug_kmem
=no
11929 if test "x$enable_debug_kmem" = xyes
; then :
11931 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
11932 DEBUG_KMEM
="_with_debug_kmem"
11934 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
11939 DEBUG_KMEM
="_without_debug_kmem"
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
11945 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
11947 $as_echo "$enable_debug_kmem" >&6; }
11950 # Check whether --enable-debug-kmem-tracking was given.
11951 if test "${enable_debug_kmem_tracking+set}" = set; then :
11952 enableval
=$enable_debug_kmem_tracking;
11954 enable_debug_kmem_tracking
=no
11958 if test "x$enable_debug_kmem_tracking" = xyes
; then :
11960 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
11961 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
11963 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
11968 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
11974 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
11976 $as_echo "$enable_debug_kmem_tracking" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
11979 $as_echo_n "checking whether modules can be built... " >&6; }
11982 cat confdefs.h
- <<_ACEOF >conftest.c
11996 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
11997 echo "obj-m := conftest.o" >build
/Makefile
11999 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12000 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12001 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12002 (eval $ac_try) 2>&5
12004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12005 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12006 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12007 (eval $ac_try) 2>&5
12009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12010 test $ac_status = 0; }; }; then :
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12013 $as_echo "yes" >&6; }
12016 $as_echo "$as_me: failed program was:" >&5
12017 sed 's/^/| /' conftest.
$ac_ext >&5
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12020 $as_echo "no" >&6; }
12021 if test "x$enable_linux_builtin" != xyes
; then
12022 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
12025 *** Unable to build an empty module.
12026 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
12036 if test "$cross_compiling" = yes; then :
12037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12039 as_fn_error $?
"cannot run test program while cross compiling
12040 See \`config.log' for more details" "$LINENO" 5; }
12042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12046 #include "$LINUX/include/linux/license.h"
12052 return !license_is_gpl_compatible("$SPL_META_LICENSE");
12059 if ac_fn_c_try_run
"$LINENO"; then :
12062 $as_echo "#define SPL_IS_GPL_COMPATIBLE 1" >>confdefs.h
12066 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12067 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12072 # Check whether --enable-atomic-spinlocks was given.
12073 if test "${enable_atomic_spinlocks+set}" = set; then :
12074 enableval
=$enable_atomic_spinlocks;
12076 enable_atomic_spinlocks
=check
12082 cat confdefs.h
- <<_ACEOF >conftest.c
12085 #include <linux/fs.h>
12091 atomic64_t *ptr __attribute__ ((unused));
12100 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12101 echo "obj-m := conftest.o" >build
/Makefile
12103 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12104 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12105 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12106 (eval $ac_try) 2>&5
12108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12109 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12110 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12111 (eval $ac_try) 2>&5
12113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12114 test $ac_status = 0; }; }; then :
12116 have_atomic64_t
=yes
12118 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
12122 $as_echo "$as_me: failed program was:" >&5
12123 sed 's/^/| /' conftest.
$ac_ext >&5
12134 if test "x$enable_atomic_spinlocks" = xcheck
; then :
12136 if test "x$have_atomic64_t" = xyes
; then :
12138 enable_atomic_spinlocks
=no
12142 enable_atomic_spinlocks
=yes
12148 if test "x$enable_atomic_spinlocks" = xyes
; then :
12151 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
12156 if test "x$have_atomic64_t" = xno
; then :
12158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12160 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
12161 See \`config.log' for more details" "$LINENO" 5; }
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
12168 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
12170 $as_echo "$enable_atomic_spinlocks" >&6; }
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
12173 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
12175 $as_echo "$have_atomic64_t" >&6; }
12178 tmp_flags
="$EXTRA_KCFLAGS"
12179 EXTRA_KCFLAGS
="-Werror"
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 2-argument shrinker exists" >&5
12181 $as_echo_n "checking whether old 2-argument shrinker exists... " >&6; }
12184 cat confdefs.h
- <<_ACEOF >conftest.c
12187 #include <linux/mm.h>
12189 int shrinker_cb(int nr_to_scan, gfp_t gfp_mask);
12195 struct shrinker cache_shrinker = {
12196 .shrink = shrinker_cb,
12197 .seeks = DEFAULT_SEEKS,
12199 register_shrinker(&cache_shrinker);
12208 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12209 echo "obj-m := conftest.o" >build
/Makefile
12211 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12212 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12213 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12214 (eval $ac_try) 2>&5
12216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12217 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12218 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12219 (eval $ac_try) 2>&5
12221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12222 test $ac_status = 0; }; }; then :
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12225 $as_echo "yes" >&6; }
12227 $as_echo "#define HAVE_2ARGS_OLD_SHRINKER_CALLBACK 1" >>confdefs.h
12231 $as_echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.
$ac_ext >&5
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12235 $as_echo "no" >&6; }
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 3-argument shrinker exists" >&5
12237 $as_echo_n "checking whether old 3-argument shrinker exists... " >&6; }
12240 cat confdefs.h
- <<_ACEOF >conftest.c
12243 #include <linux/mm.h>
12245 int shrinker_cb(struct shrinker *, int nr_to_scan,
12252 struct shrinker cache_shrinker = {
12253 .shrink = shrinker_cb,
12254 .seeks = DEFAULT_SEEKS,
12256 register_shrinker(&cache_shrinker);
12265 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12266 echo "obj-m := conftest.o" >build
/Makefile
12268 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12269 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12270 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12271 (eval $ac_try) 2>&5
12273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12274 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12275 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12276 (eval $ac_try) 2>&5
12278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12279 test $ac_status = 0; }; }; then :
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12282 $as_echo "yes" >&6; }
12284 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
12288 $as_echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.
$ac_ext >&5
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12292 $as_echo "no" >&6; }
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether new 2-argument shrinker exists" >&5
12294 $as_echo_n "checking whether new 2-argument shrinker exists... " >&6; }
12297 cat confdefs.h
- <<_ACEOF >conftest.c
12300 #include <linux/mm.h>
12302 int shrinker_cb(struct shrinker *,
12303 struct shrink_control *sc);
12309 struct shrinker cache_shrinker = {
12310 .shrink = shrinker_cb,
12311 .seeks = DEFAULT_SEEKS,
12313 register_shrinker(&cache_shrinker);
12322 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12323 echo "obj-m := conftest.o" >build
/Makefile
12325 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12326 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12327 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12328 (eval $ac_try) 2>&5
12330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12331 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12332 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12333 (eval $ac_try) 2>&5
12335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12336 test $ac_status = 0; }; }; then :
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12339 $as_echo "yes" >&6; }
12341 $as_echo "#define HAVE_2ARGS_NEW_SHRINKER_CALLBACK 1" >>confdefs.h
12345 $as_echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.
$ac_ext >&5
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12349 $as_echo "no" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ->count_objects callback exists" >&5
12351 $as_echo_n "checking whether ->count_objects callback exists... " >&6; }
12354 cat confdefs.h
- <<_ACEOF >conftest.c
12357 #include <linux/mm.h>
12359 unsigned long shrinker_cb(
12361 struct shrink_control *sc);
12367 struct shrinker cache_shrinker = {
12368 .count_objects = shrinker_cb,
12369 .scan_objects = shrinker_cb,
12370 .seeks = DEFAULT_SEEKS,
12372 register_shrinker(&cache_shrinker);
12381 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12382 echo "obj-m := conftest.o" >build
/Makefile
12384 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12385 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12386 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12387 (eval $ac_try) 2>&5
12389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12390 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12391 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12392 (eval $ac_try) 2>&5
12394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12395 test $ac_status = 0; }; }; then :
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12398 $as_echo "yes" >&6; }
12400 $as_echo "#define HAVE_SPLIT_SHRINKER_CALLBACK 1" >>confdefs.h
12404 $as_echo "$as_me: failed program was:" >&5
12405 sed 's/^/| /' conftest.
$ac_ext >&5
12407 as_fn_error $?
"error" "$LINENO" 5
12436 EXTRA_KCFLAGS
="$tmp_flags"
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
12440 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
12443 cat confdefs.h
- <<_ACEOF >conftest.c
12446 #include <linux/sysctl.h>
12452 struct ctl_table ctl __attribute__ ((unused));
12462 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12463 echo "obj-m := conftest.o" >build
/Makefile
12465 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12466 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12467 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12468 (eval $ac_try) 2>&5
12470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12471 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12472 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12473 (eval $ac_try) 2>&5
12475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12476 test $ac_status = 0; }; }; then :
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12479 $as_echo "yes" >&6; }
12481 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
12485 $as_echo "$as_me: failed program was:" >&5
12486 sed 's/^/| /' conftest.
$ac_ext >&5
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12489 $as_echo "no" >&6; }
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
12500 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
12504 cat confdefs.h
- <<_ACEOF >conftest.c
12507 #include <linux/proc_fs.h>
12522 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12523 echo "obj-m := conftest.o" >build
/Makefile
12525 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12526 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12527 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12528 (eval $ac_try) 2>&5
12530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12531 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12532 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12533 (eval $ac_try) 2>&5
12535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12536 test $ac_status = 0; }; }; then :
12539 $as_echo "$as_me: failed program was:" >&5
12540 sed 's/^/| /' conftest.
$ac_ext >&5
12548 if test $rc -ne 0; then :
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12551 $as_echo "no" >&6; }
12554 if test "x$enable_linux_builtin" != xyes
; then
12556 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
12557 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
12559 if test $rc -ne 0; then
12562 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
12563 "$LINUX_OBJ/$file" 2>/dev
/null
12565 if test $rc -eq 0; then
12570 if test $export -eq 0; then :
12580 if test $rc -ne 0; then :
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583 $as_echo "no" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12588 $as_echo "yes" >&6; }
12590 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
12597 tmp_flags
="$EXTRA_KCFLAGS"
12598 EXTRA_KCFLAGS
="-Werror"
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
12600 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
12603 cat confdefs.h
- <<_ACEOF >conftest.c
12606 #include <linux/spinlock.h>
12607 #include <linux/fs_struct.h>
12608 #include <linux/path.h>
12609 void (*const set_fs_pwd_func)
12610 (struct fs_struct *, const struct path *)
12626 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12627 echo "obj-m := conftest.o" >build
/Makefile
12629 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12630 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12631 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12632 (eval $ac_try) 2>&5
12634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12635 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12636 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12637 (eval $ac_try) 2>&5
12639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12640 test $ac_status = 0; }; }; then :
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12643 $as_echo "yes" >&6; }
12645 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
12649 $as_echo "$as_me: failed program was:" >&5
12650 sed 's/^/| /' conftest.
$ac_ext >&5
12654 cat confdefs.h
- <<_ACEOF >conftest.c
12657 #include <linux/spinlock.h>
12658 #include <linux/fs_struct.h>
12659 #include <linux/path.h>
12660 void (*const set_fs_pwd_func)
12661 (struct fs_struct *, struct path *)
12677 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12678 echo "obj-m := conftest.o" >build
/Makefile
12680 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12681 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12682 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12683 (eval $ac_try) 2>&5
12685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12686 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12687 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12688 (eval $ac_try) 2>&5
12690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12691 test $ac_status = 0; }; }; then :
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12694 $as_echo "no" >&6; }
12697 $as_echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.
$ac_ext >&5
12700 as_fn_error $?
"unknown" "$LINENO" 5
12715 EXTRA_KCFLAGS
="$tmp_flags"
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
12718 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
12721 cat confdefs.h
- <<_ACEOF >conftest.c
12724 #include <linux/fs.h>
12730 vfs_unlink((struct inode *) NULL, (struct dentry *) NULL);
12739 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12740 echo "obj-m := conftest.o" >build
/Makefile
12742 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12743 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12744 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12745 (eval $ac_try) 2>&5
12747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12748 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12749 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12750 (eval $ac_try) 2>&5
12752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12753 test $ac_status = 0; }; }; then :
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12756 $as_echo "yes" >&6; }
12758 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
12762 $as_echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.
$ac_ext >&5
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12766 $as_echo "no" >&6; }
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 3 args" >&5
12768 $as_echo_n "checking whether vfs_unlink() wants 3 args... " >&6; }
12771 cat confdefs.h
- <<_ACEOF >conftest.c
12774 #include <linux/fs.h>
12780 vfs_unlink((struct inode *) NULL,
12781 (struct dentry *) NULL,
12782 (struct inode **) NULL);
12791 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12792 echo "obj-m := conftest.o" >build
/Makefile
12794 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12795 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12796 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12797 (eval $ac_try) 2>&5
12799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12800 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12801 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12802 (eval $ac_try) 2>&5
12804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12805 test $ac_status = 0; }; }; then :
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12808 $as_echo "yes" >&6; }
12810 $as_echo "#define HAVE_3ARGS_VFS_UNLINK 1" >>confdefs.h
12814 $as_echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.
$ac_ext >&5
12817 as_fn_error $?
"no" "$LINENO" 5
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
12835 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
12838 cat confdefs.h
- <<_ACEOF >conftest.c
12841 #include <linux/fs.h>
12847 vfs_rename((struct inode *) NULL, (struct dentry *) NULL,
12848 (struct inode *) NULL, (struct dentry *) NULL);
12857 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12858 echo "obj-m := conftest.o" >build
/Makefile
12860 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12861 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12862 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12863 (eval $ac_try) 2>&5
12865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12866 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12867 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12868 (eval $ac_try) 2>&5
12870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12871 test $ac_status = 0; }; }; then :
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12874 $as_echo "yes" >&6; }
12876 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
12880 $as_echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.
$ac_ext >&5
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12884 $as_echo "no" >&6; }
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 5 args" >&5
12886 $as_echo_n "checking whether vfs_rename() wants 5 args... " >&6; }
12889 cat confdefs.h
- <<_ACEOF >conftest.c
12892 #include <linux/fs.h>
12898 vfs_rename((struct inode *) NULL,
12899 (struct dentry *) NULL,
12900 (struct inode *) NULL,
12901 (struct dentry *) NULL,
12902 (struct inode **) NULL);
12911 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12912 echo "obj-m := conftest.o" >build
/Makefile
12914 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12915 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12916 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12917 (eval $ac_try) 2>&5
12919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12920 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12921 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12922 (eval $ac_try) 2>&5
12924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12925 test $ac_status = 0; }; }; then :
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12928 $as_echo "yes" >&6; }
12930 $as_echo "#define HAVE_5ARGS_VFS_RENAME 1" >>confdefs.h
12934 $as_echo "$as_me: failed program was:" >&5
12935 sed 's/^/| /' conftest.
$ac_ext >&5
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12938 $as_echo "no" >&6; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 6 args" >&5
12940 $as_echo_n "checking whether vfs_rename() wants 6 args... " >&6; }
12943 cat confdefs.h
- <<_ACEOF >conftest.c
12946 #include <linux/fs.h>
12952 vfs_rename((struct inode *) NULL,
12953 (struct dentry *) NULL,
12954 (struct inode *) NULL,
12955 (struct dentry *) NULL,
12956 (struct inode **) NULL,
12966 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
12967 echo "obj-m := conftest.o" >build
/Makefile
12969 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
12970 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
12971 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12972 (eval $ac_try) 2>&5
12974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12975 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
12976 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12977 (eval $ac_try) 2>&5
12979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12980 test $ac_status = 0; }; }; then :
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12983 $as_echo "yes" >&6; }
12985 $as_echo "#define HAVE_6ARGS_VFS_RENAME 1" >>confdefs.h
12989 $as_echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.
$ac_ext >&5
12992 as_fn_error $?
"no" "$LINENO" 5
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
13017 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
13020 cat confdefs.h
- <<_ACEOF >conftest.c
13023 #include <linux/fs.h>
13029 vfs_fsync(NULL, 0);
13038 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13039 echo "obj-m := conftest.o" >build
/Makefile
13041 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13042 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13043 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13044 (eval $ac_try) 2>&5
13046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13047 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13048 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13049 (eval $ac_try) 2>&5
13051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13052 test $ac_status = 0; }; }; then :
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13055 $as_echo "yes" >&6; }
13057 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
13061 $as_echo "$as_me: failed program was:" >&5
13062 sed 's/^/| /' conftest.
$ac_ext >&5
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13065 $as_echo "no" >&6; }
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
13076 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
13079 cat confdefs.h
- <<_ACEOF >conftest.c
13082 #include <linux/fs.h>
13088 struct inode_operations ops;
13089 ops.truncate_range = NULL;
13098 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13099 echo "obj-m := conftest.o" >build
/Makefile
13101 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13102 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13103 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13104 (eval $ac_try) 2>&5
13106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13107 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13108 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13109 (eval $ac_try) 2>&5
13111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13112 test $ac_status = 0; }; }; then :
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13115 $as_echo "yes" >&6; }
13117 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
13121 $as_echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.
$ac_ext >&5
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
13136 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
13137 tmp_flags
="$EXTRA_KCFLAGS"
13138 EXTRA_KCFLAGS
="-Werror"
13141 cat confdefs.h
- <<_ACEOF >conftest.c
13144 #include <linux/sched.h>
13145 #include <linux/fs_struct.h>
13151 static struct fs_struct fs;
13152 spin_lock_init(&fs.lock);
13161 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13162 echo "obj-m := conftest.o" >build
/Makefile
13164 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13165 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13166 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13167 (eval $ac_try) 2>&5
13169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13170 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13171 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13172 (eval $ac_try) 2>&5
13174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13175 test $ac_status = 0; }; }; then :
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13178 $as_echo "yes" >&6; }
13180 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
13184 $as_echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.
$ac_ext >&5
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13188 $as_echo "no" >&6; }
13196 EXTRA_KCFLAGS
="$tmp_flags"
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
13200 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
13203 cat confdefs.h
- <<_ACEOF >conftest.c
13206 #include <linux/uidgid.h>
13212 kuid_t userid = KUIDT_INIT(0);
13213 kgid_t groupid = KGIDT_INIT(0);
13222 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13223 echo "obj-m := conftest.o" >build
/Makefile
13225 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13226 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13227 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13228 (eval $ac_try) 2>&5
13230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13231 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13232 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13233 (eval $ac_try) 2>&5
13235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13236 test $ac_status = 0; }; }; then :
13240 cat confdefs.h
- <<_ACEOF >conftest.c
13243 #include <linux/uidgid.h>
13250 kgid_t groupid = 0;
13259 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13260 echo "obj-m := conftest.o" >build
/Makefile
13262 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13263 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13264 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13265 (eval $ac_try) 2>&5
13267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13268 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13269 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13270 (eval $ac_try) 2>&5
13272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13273 test $ac_status = 0; }; }; then :
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
13276 $as_echo "yes; optional" >&6; }
13279 $as_echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.
$ac_ext >&5
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
13283 $as_echo "yes; mandatory" >&6; }
13285 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
13296 $as_echo "$as_me: failed program was:" >&5
13297 sed 's/^/| /' conftest.
$ac_ext >&5
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13300 $as_echo "no" >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __put_task_struct() is available" >&5
13310 $as_echo_n "checking whether __put_task_struct() is available... " >&6; }
13314 cat confdefs.h
- <<_ACEOF >conftest.c
13317 #include <linux/sched.h>
13323 __put_task_struct(NULL);
13332 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13333 echo "obj-m := conftest.o" >build
/Makefile
13335 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13336 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13337 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13338 (eval $ac_try) 2>&5
13340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13341 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13342 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13343 (eval $ac_try) 2>&5
13345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13346 test $ac_status = 0; }; }; then :
13349 $as_echo "$as_me: failed program was:" >&5
13350 sed 's/^/| /' conftest.
$ac_ext >&5
13358 if test $rc -ne 0; then :
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13361 $as_echo "no" >&6; }
13364 if test "x$enable_linux_builtin" != xyes
; then
13366 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
13367 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
13369 if test $rc -ne 0; then
13372 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
13373 "$LINUX_OBJ/$file" 2>/dev
/null
13375 if test $rc -eq 0; then
13380 if test $export -eq 0; then :
13390 if test $rc -ne 0; then :
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13393 $as_echo "no" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13398 $as_echo "yes" >&6; }
13400 $as_echo "#define HAVE_PUT_TASK_STRUCT 1" >>confdefs.h
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
13410 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
13413 cat confdefs.h
- <<_ACEOF >conftest.c
13416 #include <linux/fs.h>
13422 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
13423 struct file_operations fops __attribute__ ((unused)) = {
13424 .fallocate = fallocate,
13434 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13435 echo "obj-m := conftest.o" >build
/Makefile
13437 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13438 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13439 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13440 (eval $ac_try) 2>&5
13442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13443 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13444 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13445 (eval $ac_try) 2>&5
13447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13448 test $ac_status = 0; }; }; then :
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13451 $as_echo "yes" >&6; }
13453 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
13457 $as_echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.
$ac_ext >&5
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13461 $as_echo "no" >&6; }
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
13472 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
13475 cat confdefs.h
- <<_ACEOF >conftest.c
13478 #include <linux/fs.h>
13484 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
13485 struct inode_operations fops __attribute__ ((unused)) = {
13486 .fallocate = fallocate,
13496 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13497 echo "obj-m := conftest.o" >build
/Makefile
13499 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13500 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13501 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13502 (eval $ac_try) 2>&5
13504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13505 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13506 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13507 (eval $ac_try) 2>&5
13509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13510 test $ac_status = 0; }; }; then :
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13513 $as_echo "yes" >&6; }
13515 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
13519 $as_echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.
$ac_ext >&5
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13523 $as_echo "no" >&6; }
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
13534 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
13537 cat confdefs.h
- <<_ACEOF >conftest.c
13540 #include <linux/fs.h>
13546 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
13547 struct file_operations_no_const fops __attribute__ ((unused)) = {
13548 .fallocate = fallocate,
13558 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13559 echo "obj-m := conftest.o" >build
/Makefile
13561 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13562 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13563 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13564 (eval $ac_try) 2>&5
13566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13567 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13568 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13569 (eval $ac_try) 2>&5
13571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13572 test $ac_status = 0; }; }; then :
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13575 $as_echo "yes" >&6; }
13577 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
13581 $as_echo "$as_me: failed program was:" >&5
13582 sed 's/^/| /' conftest.
$ac_ext >&5
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13585 $as_echo "no" >&6; }
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
13597 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
13600 cat confdefs.h
- <<_ACEOF >conftest.c
13603 #if !defined(CONFIG_ZLIB_INFLATE) && \
13604 !defined(CONFIG_ZLIB_INFLATE_MODULE)
13605 #error CONFIG_ZLIB_INFLATE not defined
13619 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13620 echo "obj-m := conftest.o" >build
/Makefile
13622 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13623 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13624 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13625 (eval $ac_try) 2>&5
13627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13628 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13629 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13630 (eval $ac_try) 2>&5
13632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13633 test $ac_status = 0; }; }; then :
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13636 $as_echo "yes" >&6; }
13639 $as_echo "$as_me: failed program was:" >&5
13640 sed 's/^/| /' conftest.
$ac_ext >&5
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13643 $as_echo "no" >&6; }
13645 *** This kernel does not include the required zlib inflate support.
13646 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
13657 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
13660 cat confdefs.h
- <<_ACEOF >conftest.c
13663 #if !defined(CONFIG_ZLIB_DEFLATE) && \
13664 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
13665 #error CONFIG_ZLIB_DEFLATE not defined
13679 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13680 echo "obj-m := conftest.o" >build
/Makefile
13682 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13683 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13684 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13685 (eval $ac_try) 2>&5
13687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13688 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13689 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13690 (eval $ac_try) 2>&5
13692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13693 test $ac_status = 0; }; }; then :
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13696 $as_echo "yes" >&6; }
13699 $as_echo "$as_me: failed program was:" >&5
13700 sed 's/^/| /' conftest.
$ac_ext >&5
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13703 $as_echo "no" >&6; }
13705 *** This kernel does not include the required zlib deflate support.
13706 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
13716 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
13719 cat confdefs.h
- <<_ACEOF >conftest.c
13722 #include <linux/zlib.h>
13728 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
13737 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13738 echo "obj-m := conftest.o" >build
/Makefile
13740 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13741 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13742 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13743 (eval $ac_try) 2>&5
13745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13746 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13747 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13748 (eval $ac_try) 2>&5
13750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13751 test $ac_status = 0; }; }; then :
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13754 $as_echo "yes" >&6; }
13756 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
13760 $as_echo "$as_me: failed program was:" >&5
13761 sed 's/^/| /' conftest.
$ac_ext >&5
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13764 $as_echo "no" >&6; }
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
13775 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
13778 cat confdefs.h
- <<_ACEOF >conftest.c
13781 #include <linux/mm.h>
13787 struct shrink_control sc __attribute__ ((unused));
13790 sc.gfp_mask = GFP_KERNEL;
13799 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13800 echo "obj-m := conftest.o" >build
/Makefile
13802 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13803 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13804 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13805 (eval $ac_try) 2>&5
13807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13808 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13809 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13810 (eval $ac_try) 2>&5
13812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13813 test $ac_status = 0; }; }; then :
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13816 $as_echo "yes" >&6; }
13818 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
13822 $as_echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.
$ac_ext >&5
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13826 $as_echo "no" >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
13837 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
13838 tmp_flags
="$EXTRA_KCFLAGS"
13839 EXTRA_KCFLAGS
="-Werror"
13842 cat confdefs.h
- <<_ACEOF >conftest.c
13845 #include <linux/rwsem.h>
13851 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
13852 raw_spinlock_t dummy_lock __attribute__ ((unused));
13853 dummy_semaphore.wait_lock = dummy_lock;
13862 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13863 echo "obj-m := conftest.o" >build
/Makefile
13865 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13866 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13867 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13868 (eval $ac_try) 2>&5
13870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13871 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13872 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13873 (eval $ac_try) 2>&5
13875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13876 test $ac_status = 0; }; }; then :
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13879 $as_echo "yes" >&6; }
13881 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
13885 $as_echo "$as_me: failed program was:" >&5
13886 sed 's/^/| /' conftest.
$ac_ext >&5
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13889 $as_echo "no" >&6; }
13897 EXTRA_KCFLAGS
="$tmp_flags"
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
13900 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
13903 cat confdefs.h
- <<_ACEOF >conftest.c
13906 #include <linux/sched.h>
13907 #include <linux/sched/rt.h>
13922 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13923 echo "obj-m := conftest.o" >build
/Makefile
13925 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13926 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13927 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13928 (eval $ac_try) 2>&5
13930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13931 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13932 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13933 (eval $ac_try) 2>&5
13935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13936 test $ac_status = 0; }; }; then :
13939 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13942 $as_echo "yes" >&6; }
13945 $as_echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.
$ac_ext >&5
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13949 $as_echo "no" >&6; }
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants" >&5
13960 $as_echo_n "checking whether vfs_getattr() wants... " >&6; }
13963 cat confdefs.h
- <<_ACEOF >conftest.c
13966 #include <linux/fs.h>
13972 vfs_getattr((struct path *) NULL,
13973 (struct kstat *)NULL);
13982 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
13983 echo "obj-m := conftest.o" >build
/Makefile
13985 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
13986 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
13987 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13988 (eval $ac_try) 2>&5
13990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13991 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
13992 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
13993 (eval $ac_try) 2>&5
13995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13996 test $ac_status = 0; }; }; then :
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2 args" >&5
13999 $as_echo "2 args" >&6; }
14001 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
14005 $as_echo "$as_me: failed program was:" >&5
14006 sed 's/^/| /' conftest.
$ac_ext >&5
14010 cat confdefs.h
- <<_ACEOF >conftest.c
14013 #include <linux/fs.h>
14019 vfs_getattr((struct vfsmount *)NULL,
14020 (struct dentry *)NULL,
14021 (struct kstat *)NULL);
14030 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14031 echo "obj-m := conftest.o" >build
/Makefile
14033 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14034 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14035 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14036 (eval $ac_try) 2>&5
14038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14039 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14040 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14041 (eval $ac_try) 2>&5
14043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14044 test $ac_status = 0; }; }; then :
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3 args" >&5
14047 $as_echo "3 args" >&6; }
14050 $as_echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.
$ac_ext >&5
14053 as_fn_error $?
"unknown" "$LINENO" 5
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep_range() is available" >&5
14071 $as_echo_n "checking whether usleep_range() is available... " >&6; }
14074 cat confdefs.h
- <<_ACEOF >conftest.c
14077 #include <linux/delay.h>
14083 usleep_range(0, 0);
14092 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14093 echo "obj-m := conftest.o" >build
/Makefile
14095 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14096 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14097 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14098 (eval $ac_try) 2>&5
14100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14101 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14102 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14103 (eval $ac_try) 2>&5
14105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14106 test $ac_status = 0; }; }; then :
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14109 $as_echo "yes" >&6; }
14111 $as_echo "#define HAVE_USLEEP_RANGE 1" >>confdefs.h
14115 $as_echo "$as_me: failed program was:" >&5
14116 sed 's/^/| /' conftest.
$ac_ext >&5
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14119 $as_echo "no" >&6; }
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has allocflags" >&5
14130 $as_echo_n "checking whether struct kmem_cache has allocflags... " >&6; }
14133 cat confdefs.h
- <<_ACEOF >conftest.c
14136 #include <linux/slab.h>
14142 struct kmem_cache cachep __attribute__ ((unused));
14143 cachep.allocflags = GFP_KERNEL;
14152 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14153 echo "obj-m := conftest.o" >build
/Makefile
14155 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14156 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14157 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14158 (eval $ac_try) 2>&5
14160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14161 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14162 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14163 (eval $ac_try) 2>&5
14165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14166 test $ac_status = 0; }; }; then :
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14169 $as_echo "yes" >&6; }
14171 $as_echo "#define HAVE_KMEM_CACHE_ALLOCFLAGS 1" >>confdefs.h
14175 $as_echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.
$ac_ext >&5
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14179 $as_echo "no" >&6; }
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has gfpflags" >&5
14182 $as_echo_n "checking whether struct kmem_cache has gfpflags... " >&6; }
14185 cat confdefs.h
- <<_ACEOF >conftest.c
14188 #include <linux/slab.h>
14194 struct kmem_cache cachep __attribute__ ((unused));
14195 cachep.gfpflags = GFP_KERNEL;
14204 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14205 echo "obj-m := conftest.o" >build
/Makefile
14207 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14208 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14209 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14210 (eval $ac_try) 2>&5
14212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14213 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14214 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14215 (eval $ac_try) 2>&5
14217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14218 test $ac_status = 0; }; }; then :
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14221 $as_echo "yes" >&6; }
14223 $as_echo "#define HAVE_KMEM_CACHE_GFPFLAGS 1" >>confdefs.h
14227 $as_echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.
$ac_ext >&5
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14231 $as_echo "no" >&6; }
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_on_bit() takes an action" >&5
14249 $as_echo_n "checking whether wait_on_bit() takes an action... " >&6; }
14252 cat confdefs.h
- <<_ACEOF >conftest.c
14255 #include <linux/wait.h>
14261 int (*action)(void *) = NULL;
14262 wait_on_bit(NULL, 0, action, 0);
14271 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14272 echo "obj-m := conftest.o" >build
/Makefile
14274 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14275 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14276 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14277 (eval $ac_try) 2>&5
14279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14280 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14281 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14282 (eval $ac_try) 2>&5
14284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14285 test $ac_status = 0; }; }; then :
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14288 $as_echo "yes" >&6; }
14290 $as_echo "#define HAVE_WAIT_ON_BIT_ACTION 1" >>confdefs.h
14294 $as_echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.
$ac_ext >&5
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14298 $as_echo "no" >&6; }
14312 # Check whether --with-linux was given.
14313 if test "${with_linux+set}" = set; then :
14314 withval
=$with_linux; kernelsrc
="$withval"
14319 # Check whether --with-linux-obj was given.
14320 if test "${with_linux_obj+set}" = set; then :
14321 withval
=$with_linux_obj; kernelbuild
="$withval"
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source directory" >&5
14326 $as_echo_n "checking kernel source directory... " >&6; }
14327 if test -z "$kernelsrc"; then
14328 if test -e "/lib/modules/$(uname -r)/source"; then
14329 headersdir
="/lib/modules/$(uname -r)/source"
14330 sourcelink
=$
(readlink
-f "$headersdir")
14331 elif test -e "/lib/modules/$(uname -r)/build"; then
14332 headersdir
="/lib/modules/$(uname -r)/build"
14333 sourcelink
=$
(readlink
-f "$headersdir")
14335 sourcelink
=$
(ls -1d /usr
/src
/kernels
/* \
14337 2>/dev
/null |
grep -v obj |
tail -1)
14340 if test -n "$sourcelink" && test -e ${sourcelink}; then
14341 kernelsrc
=`readlink -f ${sourcelink}`
14343 kernelsrc
="Not found"
14346 if test "$kernelsrc" = "NONE"; then
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelsrc" >&5
14352 $as_echo "$kernelsrc" >&6; }
14353 if test ! -d "$kernelsrc"; then
14355 *** Please make sure the kernel devel package for your distribution
14356 *** is installed and then try again. If that fails, you can specify the
14357 *** location of the kernel source with the '--with-linux=PATH' option." "$LINENO" 5
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel build directory" >&5
14361 $as_echo_n "checking kernel build directory... " >&6; }
14362 if test -z "$kernelbuild"; then
14363 if test -e "/lib/modules/$(uname -r)/build"; then
14364 kernelbuild
=`readlink -f /lib/modules/$(uname -r)/build`
14365 elif test -d ${kernelsrc}-obj/${target_cpu}/${target_cpu}; then
14366 kernelbuild
=${kernelsrc}-obj/${target_cpu}/${target_cpu}
14367 elif test -d ${kernelsrc}-obj/${target_cpu}/default
; then
14368 kernelbuild
=${kernelsrc}-obj/${target_cpu}/default
14369 elif test -d `dirname ${kernelsrc}`/build-
${target_cpu}; then
14370 kernelbuild
=`dirname ${kernelsrc}`/build-
${target_cpu}
14372 kernelbuild
=${kernelsrc}
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernelbuild" >&5
14376 $as_echo "$kernelbuild" >&6; }
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel source version" >&5
14379 $as_echo_n "checking kernel source version... " >&6; }
14380 utsrelease1
=$kernelbuild/include
/linux
/version.h
14381 utsrelease2
=$kernelbuild/include
/linux
/utsrelease.h
14382 utsrelease3
=$kernelbuild/include
/generated
/utsrelease.h
14383 if test -r $utsrelease1 && fgrep
-q UTS_RELEASE
$utsrelease1; then
14384 utsrelease
=linux
/version.h
14385 elif test -r $utsrelease2 && fgrep
-q UTS_RELEASE
$utsrelease2; then
14386 utsrelease
=linux
/utsrelease.h
14387 elif test -r $utsrelease3 && fgrep
-q UTS_RELEASE
$utsrelease3; then
14388 utsrelease
=generated
/utsrelease.h
14391 if test "$utsrelease"; then
14392 kernsrcver
=`(echo "#include <$utsrelease>";
14393 echo "kernsrcver=UTS_RELEASE") |
14394 cpp -I $kernelbuild/include |
14395 grep "^kernsrcver=" | cut -d \" -f 2`
14397 if test -z "$kernsrcver"; then
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
14399 $as_echo "Not found" >&6; }
14400 as_fn_error $?
"*** Cannot determine kernel version." "$LINENO" 5
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
14404 $as_echo "Not found" >&6; }
14405 if test "x$enable_linux_builtin" != xyes
; then
14406 as_fn_error $?
"*** Cannot find UTS_RELEASE definition." "$LINENO" 5
14409 *** Cannot find UTS_RELEASE definition.
14410 *** Please run 'make prepare' inside the kernel source tree." "$LINENO" 5
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernsrcver" >&5
14415 $as_echo "$kernsrcver" >&6; }
14418 LINUX_OBJ
=${kernelbuild}
14419 LINUX_VERSION
=${kernsrcver}
14426 modpost
=$LINUX/scripts
/Makefile.modpost
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel file name for module symbols" >&5
14428 $as_echo_n "checking kernel file name for module symbols... " >&6; }
14429 if test "x$enable_linux_builtin" != xyes
-a -f "$modpost"; then
14430 if grep -q Modules.symvers
$modpost; then
14431 LINUX_SYMBOLS
=Modules.symvers
14433 LINUX_SYMBOLS
=Module.symvers
14436 if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then
14438 *** Please make sure the kernel devel package for your distribution
14439 *** is installed. If you are building with a custom kernel, make sure the
14440 *** kernel is configured, built, and the '--with-linux=PATH' configure
14441 *** option refers to the location of the kernel source." "$LINENO" 5
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_SYMBOLS" >&5
14447 $as_echo "$LINUX_SYMBOLS" >&6; }
14452 if test "${LINUX_OBJ}" != "${LINUX}"; then
14453 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
14457 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
14462 $as_echo_n "checking whether debugging is enabled... " >&6; }
14463 # Check whether --enable-debug was given.
14464 if test "${enable_debug+set}" = set; then :
14465 enableval
=$enable_debug;
14471 if test "x$enable_debug" = xyes
; then :
14473 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG -Werror"
14474 DEBUG_CFLAGS
="-DDEBUG -Werror"
14475 DEBUG_SPL
="_with_debug"
14479 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
14480 DEBUG_CFLAGS
="-DNDEBUG"
14481 DEBUG_SPL
="_without_debug"
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
14488 $as_echo "$enable_debug" >&6; }
14491 # Check whether --enable-debug-kmem was given.
14492 if test "${enable_debug_kmem+set}" = set; then :
14493 enableval
=$enable_debug_kmem;
14495 enable_debug_kmem
=no
14499 if test "x$enable_debug_kmem" = xyes
; then :
14501 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
14502 DEBUG_KMEM
="_with_debug_kmem"
14504 $as_echo "#define DEBUG_KMEM 1" >>confdefs.h
14509 DEBUG_KMEM
="_without_debug_kmem"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basic kmem accounting is enabled" >&5
14515 $as_echo_n "checking whether basic kmem accounting is enabled... " >&6; }
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem" >&5
14517 $as_echo "$enable_debug_kmem" >&6; }
14520 # Check whether --enable-debug-kmem-tracking was given.
14521 if test "${enable_debug_kmem_tracking+set}" = set; then :
14522 enableval
=$enable_debug_kmem_tracking;
14524 enable_debug_kmem_tracking
=no
14528 if test "x$enable_debug_kmem_tracking" = xyes
; then :
14530 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM_TRACKING"
14531 DEBUG_KMEM_TRACKING
="_with_debug_kmem_tracking"
14533 $as_echo "#define DEBUG_KMEM_TRACKING 1" >>confdefs.h
14538 DEBUG_KMEM_TRACKING
="_without_debug_kmem_tracking"
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether detailed kmem tracking is enabled" >&5
14544 $as_echo_n "checking whether detailed kmem tracking is enabled... " >&6; }
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_kmem_tracking" >&5
14546 $as_echo "$enable_debug_kmem_tracking" >&6; }
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether modules can be built" >&5
14549 $as_echo_n "checking whether modules can be built... " >&6; }
14552 cat confdefs.h
- <<_ACEOF >conftest.c
14566 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14567 echo "obj-m := conftest.o" >build
/Makefile
14569 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14570 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14571 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14572 (eval $ac_try) 2>&5
14574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14575 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14576 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14577 (eval $ac_try) 2>&5
14579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14580 test $ac_status = 0; }; }; then :
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14583 $as_echo "yes" >&6; }
14586 $as_echo "$as_me: failed program was:" >&5
14587 sed 's/^/| /' conftest.
$ac_ext >&5
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14590 $as_echo "no" >&6; }
14591 if test "x$enable_linux_builtin" != xyes
; then
14592 as_fn_error $?
"*** Unable to build an empty module." "$LINENO" 5
14595 *** Unable to build an empty module.
14596 *** Please run 'make scripts' inside the kernel source tree." "$LINENO" 5
14606 if test "$cross_compiling" = yes; then :
14607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14609 as_fn_error $?
"cannot run test program while cross compiling
14610 See \`config.log' for more details" "$LINENO" 5; }
14612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h. */
14616 #include "$LINUX/include/linux/license.h"
14622 return !license_is_gpl_compatible("$SPL_META_LICENSE");
14629 if ac_fn_c_try_run
"$LINENO"; then :
14632 $as_echo "#define SPL_IS_GPL_COMPATIBLE 1" >>confdefs.h
14636 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14637 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14642 # Check whether --enable-atomic-spinlocks was given.
14643 if test "${enable_atomic_spinlocks+set}" = set; then :
14644 enableval
=$enable_atomic_spinlocks;
14646 enable_atomic_spinlocks
=check
14652 cat confdefs.h
- <<_ACEOF >conftest.c
14655 #include <linux/fs.h>
14661 atomic64_t *ptr __attribute__ ((unused));
14670 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14671 echo "obj-m := conftest.o" >build
/Makefile
14673 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14674 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14675 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14676 (eval $ac_try) 2>&5
14678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14679 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14680 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14681 (eval $ac_try) 2>&5
14683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14684 test $ac_status = 0; }; }; then :
14686 have_atomic64_t
=yes
14688 $as_echo "#define HAVE_ATOMIC64_T 1" >>confdefs.h
14692 $as_echo "$as_me: failed program was:" >&5
14693 sed 's/^/| /' conftest.
$ac_ext >&5
14704 if test "x$enable_atomic_spinlocks" = xcheck
; then :
14706 if test "x$have_atomic64_t" = xyes
; then :
14708 enable_atomic_spinlocks
=no
14712 enable_atomic_spinlocks
=yes
14718 if test "x$enable_atomic_spinlocks" = xyes
; then :
14721 $as_echo "#define ATOMIC_SPINLOCK 1" >>confdefs.h
14726 if test "x$have_atomic64_t" = xno
; then :
14728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14730 as_fn_error $?
"--disable-atomic-spinlocks given but required atomic64 support is unavailable
14731 See \`config.log' for more details" "$LINENO" 5; }
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic types use spinlocks" >&5
14738 $as_echo_n "checking whether atomic types use spinlocks... " >&6; }
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_spinlocks" >&5
14740 $as_echo "$enable_atomic_spinlocks" >&6; }
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kernel defines atomic64_t" >&5
14743 $as_echo_n "checking whether kernel defines atomic64_t... " >&6; }
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_atomic64_t" >&5
14745 $as_echo "$have_atomic64_t" >&6; }
14748 tmp_flags
="$EXTRA_KCFLAGS"
14749 EXTRA_KCFLAGS
="-Werror"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 2-argument shrinker exists" >&5
14751 $as_echo_n "checking whether old 2-argument shrinker exists... " >&6; }
14754 cat confdefs.h
- <<_ACEOF >conftest.c
14757 #include <linux/mm.h>
14759 int shrinker_cb(int nr_to_scan, gfp_t gfp_mask);
14765 struct shrinker cache_shrinker = {
14766 .shrink = shrinker_cb,
14767 .seeks = DEFAULT_SEEKS,
14769 register_shrinker(&cache_shrinker);
14778 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14779 echo "obj-m := conftest.o" >build
/Makefile
14781 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14782 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14783 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14784 (eval $ac_try) 2>&5
14786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14787 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14788 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14789 (eval $ac_try) 2>&5
14791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14792 test $ac_status = 0; }; }; then :
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14795 $as_echo "yes" >&6; }
14797 $as_echo "#define HAVE_2ARGS_OLD_SHRINKER_CALLBACK 1" >>confdefs.h
14801 $as_echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.
$ac_ext >&5
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14805 $as_echo "no" >&6; }
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether old 3-argument shrinker exists" >&5
14807 $as_echo_n "checking whether old 3-argument shrinker exists... " >&6; }
14810 cat confdefs.h
- <<_ACEOF >conftest.c
14813 #include <linux/mm.h>
14815 int shrinker_cb(struct shrinker *, int nr_to_scan,
14822 struct shrinker cache_shrinker = {
14823 .shrink = shrinker_cb,
14824 .seeks = DEFAULT_SEEKS,
14826 register_shrinker(&cache_shrinker);
14835 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14836 echo "obj-m := conftest.o" >build
/Makefile
14838 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14839 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14840 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14841 (eval $ac_try) 2>&5
14843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14844 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14845 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14846 (eval $ac_try) 2>&5
14848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14849 test $ac_status = 0; }; }; then :
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14852 $as_echo "yes" >&6; }
14854 $as_echo "#define HAVE_3ARGS_SHRINKER_CALLBACK 1" >>confdefs.h
14858 $as_echo "$as_me: failed program was:" >&5
14859 sed 's/^/| /' conftest.
$ac_ext >&5
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14862 $as_echo "no" >&6; }
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether new 2-argument shrinker exists" >&5
14864 $as_echo_n "checking whether new 2-argument shrinker exists... " >&6; }
14867 cat confdefs.h
- <<_ACEOF >conftest.c
14870 #include <linux/mm.h>
14872 int shrinker_cb(struct shrinker *,
14873 struct shrink_control *sc);
14879 struct shrinker cache_shrinker = {
14880 .shrink = shrinker_cb,
14881 .seeks = DEFAULT_SEEKS,
14883 register_shrinker(&cache_shrinker);
14892 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14893 echo "obj-m := conftest.o" >build
/Makefile
14895 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14896 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14897 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14898 (eval $ac_try) 2>&5
14900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14901 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14902 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14903 (eval $ac_try) 2>&5
14905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14906 test $ac_status = 0; }; }; then :
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14909 $as_echo "yes" >&6; }
14911 $as_echo "#define HAVE_2ARGS_NEW_SHRINKER_CALLBACK 1" >>confdefs.h
14915 $as_echo "$as_me: failed program was:" >&5
14916 sed 's/^/| /' conftest.
$ac_ext >&5
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14919 $as_echo "no" >&6; }
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ->count_objects callback exists" >&5
14921 $as_echo_n "checking whether ->count_objects callback exists... " >&6; }
14924 cat confdefs.h
- <<_ACEOF >conftest.c
14927 #include <linux/mm.h>
14929 unsigned long shrinker_cb(
14931 struct shrink_control *sc);
14937 struct shrinker cache_shrinker = {
14938 .count_objects = shrinker_cb,
14939 .scan_objects = shrinker_cb,
14940 .seeks = DEFAULT_SEEKS,
14942 register_shrinker(&cache_shrinker);
14951 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
14952 echo "obj-m := conftest.o" >build
/Makefile
14954 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
14955 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
14956 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14957 (eval $ac_try) 2>&5
14959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14960 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
14961 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14962 (eval $ac_try) 2>&5
14964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14965 test $ac_status = 0; }; }; then :
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14968 $as_echo "yes" >&6; }
14970 $as_echo "#define HAVE_SPLIT_SHRINKER_CALLBACK 1" >>confdefs.h
14974 $as_echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.
$ac_ext >&5
14977 as_fn_error $?
"error" "$LINENO" 5
15006 EXTRA_KCFLAGS
="$tmp_flags"
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ctl_table has ctl_name" >&5
15010 $as_echo_n "checking whether struct ctl_table has ctl_name... " >&6; }
15013 cat confdefs.h
- <<_ACEOF >conftest.c
15016 #include <linux/sysctl.h>
15022 struct ctl_table ctl __attribute__ ((unused));
15032 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15033 echo "obj-m := conftest.o" >build
/Makefile
15035 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15036 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15037 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15038 (eval $ac_try) 2>&5
15040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15041 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15042 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15043 (eval $ac_try) 2>&5
15045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15046 test $ac_status = 0; }; }; then :
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15049 $as_echo "yes" >&6; }
15051 $as_echo "#define HAVE_CTL_NAME 1" >>confdefs.h
15055 $as_echo "$as_me: failed program was:" >&5
15056 sed 's/^/| /' conftest.
$ac_ext >&5
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15059 $as_echo "no" >&6; }
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PDE_DATA() is available" >&5
15070 $as_echo_n "checking whether PDE_DATA() is available... " >&6; }
15074 cat confdefs.h
- <<_ACEOF >conftest.c
15077 #include <linux/proc_fs.h>
15092 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15093 echo "obj-m := conftest.o" >build
/Makefile
15095 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15096 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15097 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15098 (eval $ac_try) 2>&5
15100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15101 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15102 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15103 (eval $ac_try) 2>&5
15105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15106 test $ac_status = 0; }; }; then :
15109 $as_echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.
$ac_ext >&5
15118 if test $rc -ne 0; then :
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15121 $as_echo "no" >&6; }
15124 if test "x$enable_linux_builtin" != xyes
; then
15126 grep -q -E '[[:space:]]PDE_DATA[[:space:]]' \
15127 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15129 if test $rc -ne 0; then
15132 grep -q -E "EXPORT_SYMBOL.*(PDE_DATA)" \
15133 "$LINUX_OBJ/$file" 2>/dev
/null
15135 if test $rc -eq 0; then
15140 if test $export -eq 0; then :
15150 if test $rc -ne 0; then :
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15153 $as_echo "no" >&6; }
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15158 $as_echo "yes" >&6; }
15160 $as_echo "#define HAVE_PDE_DATA 1" >>confdefs.h
15167 tmp_flags
="$EXTRA_KCFLAGS"
15168 EXTRA_KCFLAGS
="-Werror"
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether set_fs_pwd() requires const struct path *" >&5
15170 $as_echo_n "checking whether set_fs_pwd() requires const struct path *... " >&6; }
15173 cat confdefs.h
- <<_ACEOF >conftest.c
15176 #include <linux/spinlock.h>
15177 #include <linux/fs_struct.h>
15178 #include <linux/path.h>
15179 void (*const set_fs_pwd_func)
15180 (struct fs_struct *, const struct path *)
15196 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15197 echo "obj-m := conftest.o" >build
/Makefile
15199 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15200 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15201 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15202 (eval $ac_try) 2>&5
15204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15205 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15206 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15207 (eval $ac_try) 2>&5
15209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15210 test $ac_status = 0; }; }; then :
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15213 $as_echo "yes" >&6; }
15215 $as_echo "#define HAVE_SET_FS_PWD_WITH_CONST 1" >>confdefs.h
15219 $as_echo "$as_me: failed program was:" >&5
15220 sed 's/^/| /' conftest.
$ac_ext >&5
15224 cat confdefs.h
- <<_ACEOF >conftest.c
15227 #include <linux/spinlock.h>
15228 #include <linux/fs_struct.h>
15229 #include <linux/path.h>
15230 void (*const set_fs_pwd_func)
15231 (struct fs_struct *, struct path *)
15247 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15248 echo "obj-m := conftest.o" >build
/Makefile
15250 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15251 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15252 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15253 (eval $ac_try) 2>&5
15255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15256 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15257 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15258 (eval $ac_try) 2>&5
15260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15261 test $ac_status = 0; }; }; then :
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15264 $as_echo "no" >&6; }
15267 $as_echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.
$ac_ext >&5
15270 as_fn_error $?
"unknown" "$LINENO" 5
15285 EXTRA_KCFLAGS
="$tmp_flags"
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 2 args" >&5
15288 $as_echo_n "checking whether vfs_unlink() wants 2 args... " >&6; }
15291 cat confdefs.h
- <<_ACEOF >conftest.c
15294 #include <linux/fs.h>
15300 vfs_unlink((struct inode *) NULL, (struct dentry *) NULL);
15309 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15310 echo "obj-m := conftest.o" >build
/Makefile
15312 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15313 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15314 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15315 (eval $ac_try) 2>&5
15317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15318 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15319 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15320 (eval $ac_try) 2>&5
15322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15323 test $ac_status = 0; }; }; then :
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15326 $as_echo "yes" >&6; }
15328 $as_echo "#define HAVE_2ARGS_VFS_UNLINK 1" >>confdefs.h
15332 $as_echo "$as_me: failed program was:" >&5
15333 sed 's/^/| /' conftest.
$ac_ext >&5
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15336 $as_echo "no" >&6; }
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_unlink() wants 3 args" >&5
15338 $as_echo_n "checking whether vfs_unlink() wants 3 args... " >&6; }
15341 cat confdefs.h
- <<_ACEOF >conftest.c
15344 #include <linux/fs.h>
15350 vfs_unlink((struct inode *) NULL,
15351 (struct dentry *) NULL,
15352 (struct inode **) NULL);
15361 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15362 echo "obj-m := conftest.o" >build
/Makefile
15364 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15365 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15366 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15367 (eval $ac_try) 2>&5
15369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15370 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15371 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15372 (eval $ac_try) 2>&5
15374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15375 test $ac_status = 0; }; }; then :
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15378 $as_echo "yes" >&6; }
15380 $as_echo "#define HAVE_3ARGS_VFS_UNLINK 1" >>confdefs.h
15384 $as_echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.
$ac_ext >&5
15387 as_fn_error $?
"no" "$LINENO" 5
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 4 args" >&5
15405 $as_echo_n "checking whether vfs_rename() wants 4 args... " >&6; }
15408 cat confdefs.h
- <<_ACEOF >conftest.c
15411 #include <linux/fs.h>
15417 vfs_rename((struct inode *) NULL, (struct dentry *) NULL,
15418 (struct inode *) NULL, (struct dentry *) NULL);
15427 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15428 echo "obj-m := conftest.o" >build
/Makefile
15430 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15431 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15432 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15433 (eval $ac_try) 2>&5
15435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15436 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15437 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15438 (eval $ac_try) 2>&5
15440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15441 test $ac_status = 0; }; }; then :
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15444 $as_echo "yes" >&6; }
15446 $as_echo "#define HAVE_4ARGS_VFS_RENAME 1" >>confdefs.h
15450 $as_echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.
$ac_ext >&5
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15454 $as_echo "no" >&6; }
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 5 args" >&5
15456 $as_echo_n "checking whether vfs_rename() wants 5 args... " >&6; }
15459 cat confdefs.h
- <<_ACEOF >conftest.c
15462 #include <linux/fs.h>
15468 vfs_rename((struct inode *) NULL,
15469 (struct dentry *) NULL,
15470 (struct inode *) NULL,
15471 (struct dentry *) NULL,
15472 (struct inode **) NULL);
15481 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15482 echo "obj-m := conftest.o" >build
/Makefile
15484 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15485 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15486 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15487 (eval $ac_try) 2>&5
15489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15490 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15491 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15492 (eval $ac_try) 2>&5
15494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15495 test $ac_status = 0; }; }; then :
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15498 $as_echo "yes" >&6; }
15500 $as_echo "#define HAVE_5ARGS_VFS_RENAME 1" >>confdefs.h
15504 $as_echo "$as_me: failed program was:" >&5
15505 sed 's/^/| /' conftest.
$ac_ext >&5
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15508 $as_echo "no" >&6; }
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_rename() wants 6 args" >&5
15510 $as_echo_n "checking whether vfs_rename() wants 6 args... " >&6; }
15513 cat confdefs.h
- <<_ACEOF >conftest.c
15516 #include <linux/fs.h>
15522 vfs_rename((struct inode *) NULL,
15523 (struct dentry *) NULL,
15524 (struct inode *) NULL,
15525 (struct dentry *) NULL,
15526 (struct inode **) NULL,
15536 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15537 echo "obj-m := conftest.o" >build
/Makefile
15539 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15540 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15541 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15542 (eval $ac_try) 2>&5
15544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15545 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15546 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15547 (eval $ac_try) 2>&5
15549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15550 test $ac_status = 0; }; }; then :
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15553 $as_echo "yes" >&6; }
15555 $as_echo "#define HAVE_6ARGS_VFS_RENAME 1" >>confdefs.h
15559 $as_echo "$as_me: failed program was:" >&5
15560 sed 's/^/| /' conftest.
$ac_ext >&5
15562 as_fn_error $?
"no" "$LINENO" 5
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_fsync() wants 2 args" >&5
15587 $as_echo_n "checking whether vfs_fsync() wants 2 args... " >&6; }
15590 cat confdefs.h
- <<_ACEOF >conftest.c
15593 #include <linux/fs.h>
15599 vfs_fsync(NULL, 0);
15608 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15609 echo "obj-m := conftest.o" >build
/Makefile
15611 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15612 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15613 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15614 (eval $ac_try) 2>&5
15616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15617 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15618 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15619 (eval $ac_try) 2>&5
15621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15622 test $ac_status = 0; }; }; then :
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15625 $as_echo "yes" >&6; }
15627 $as_echo "#define HAVE_2ARGS_VFS_FSYNC 1" >>confdefs.h
15631 $as_echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.
$ac_ext >&5
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15635 $as_echo "no" >&6; }
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether truncate_range() inode operation is available" >&5
15646 $as_echo_n "checking whether truncate_range() inode operation is available... " >&6; }
15649 cat confdefs.h
- <<_ACEOF >conftest.c
15652 #include <linux/fs.h>
15658 struct inode_operations ops;
15659 ops.truncate_range = NULL;
15668 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15669 echo "obj-m := conftest.o" >build
/Makefile
15671 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15672 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15673 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15674 (eval $ac_try) 2>&5
15676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15677 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15678 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15679 (eval $ac_try) 2>&5
15681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15682 test $ac_status = 0; }; }; then :
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15685 $as_echo "yes" >&6; }
15687 $as_echo "#define HAVE_INODE_TRUNCATE_RANGE 1" >>confdefs.h
15691 $as_echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.
$ac_ext >&5
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15695 $as_echo "no" >&6; }
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct fs_struct uses spinlock_t" >&5
15706 $as_echo_n "checking whether struct fs_struct uses spinlock_t... " >&6; }
15707 tmp_flags
="$EXTRA_KCFLAGS"
15708 EXTRA_KCFLAGS
="-Werror"
15711 cat confdefs.h
- <<_ACEOF >conftest.c
15714 #include <linux/sched.h>
15715 #include <linux/fs_struct.h>
15721 static struct fs_struct fs;
15722 spin_lock_init(&fs.lock);
15731 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15732 echo "obj-m := conftest.o" >build
/Makefile
15734 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15735 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15736 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15737 (eval $ac_try) 2>&5
15739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15740 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15741 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15742 (eval $ac_try) 2>&5
15744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15745 test $ac_status = 0; }; }; then :
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15748 $as_echo "yes" >&6; }
15750 $as_echo "#define HAVE_FS_STRUCT_SPINLOCK 1" >>confdefs.h
15754 $as_echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.
$ac_ext >&5
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15758 $as_echo "no" >&6; }
15766 EXTRA_KCFLAGS
="$tmp_flags"
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kuid_t/kgid_t is available" >&5
15770 $as_echo_n "checking whether kuid_t/kgid_t is available... " >&6; }
15773 cat confdefs.h
- <<_ACEOF >conftest.c
15776 #include <linux/uidgid.h>
15782 kuid_t userid = KUIDT_INIT(0);
15783 kgid_t groupid = KGIDT_INIT(0);
15792 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15793 echo "obj-m := conftest.o" >build
/Makefile
15795 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15796 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15797 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15798 (eval $ac_try) 2>&5
15800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15801 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15802 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15803 (eval $ac_try) 2>&5
15805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15806 test $ac_status = 0; }; }; then :
15810 cat confdefs.h
- <<_ACEOF >conftest.c
15813 #include <linux/uidgid.h>
15820 kgid_t groupid = 0;
15829 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15830 echo "obj-m := conftest.o" >build
/Makefile
15832 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15833 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15834 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15835 (eval $ac_try) 2>&5
15837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15838 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15839 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15840 (eval $ac_try) 2>&5
15842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15843 test $ac_status = 0; }; }; then :
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; optional" >&5
15846 $as_echo "yes; optional" >&6; }
15849 $as_echo "$as_me: failed program was:" >&5
15850 sed 's/^/| /' conftest.
$ac_ext >&5
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; mandatory" >&5
15853 $as_echo "yes; mandatory" >&6; }
15855 $as_echo "#define HAVE_KUIDGID_T 1" >>confdefs.h
15866 $as_echo "$as_me: failed program was:" >&5
15867 sed 's/^/| /' conftest.
$ac_ext >&5
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15870 $as_echo "no" >&6; }
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __put_task_struct() is available" >&5
15880 $as_echo_n "checking whether __put_task_struct() is available... " >&6; }
15884 cat confdefs.h
- <<_ACEOF >conftest.c
15887 #include <linux/sched.h>
15893 __put_task_struct(NULL);
15902 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
15903 echo "obj-m := conftest.o" >build
/Makefile
15905 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
15906 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
15907 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15908 (eval $ac_try) 2>&5
15910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15911 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
15912 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15913 (eval $ac_try) 2>&5
15915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15916 test $ac_status = 0; }; }; then :
15919 $as_echo "$as_me: failed program was:" >&5
15920 sed 's/^/| /' conftest.
$ac_ext >&5
15928 if test $rc -ne 0; then :
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15931 $as_echo "no" >&6; }
15934 if test "x$enable_linux_builtin" != xyes
; then
15936 grep -q -E '[[:space:]]__put_task_struct[[:space:]]' \
15937 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
15939 if test $rc -ne 0; then
15942 grep -q -E "EXPORT_SYMBOL.*(__put_task_struct)" \
15943 "$LINUX_OBJ/$file" 2>/dev
/null
15945 if test $rc -eq 0; then
15950 if test $export -eq 0; then :
15960 if test $rc -ne 0; then :
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15963 $as_echo "no" >&6; }
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15968 $as_echo "yes" >&6; }
15970 $as_echo "#define HAVE_PUT_TASK_STRUCT 1" >>confdefs.h
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
15980 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
15983 cat confdefs.h
- <<_ACEOF >conftest.c
15986 #include <linux/fs.h>
15992 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
15993 struct file_operations fops __attribute__ ((unused)) = {
15994 .fallocate = fallocate,
16004 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16005 echo "obj-m := conftest.o" >build
/Makefile
16007 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16008 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16009 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16010 (eval $ac_try) 2>&5
16012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16013 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16014 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16015 (eval $ac_try) 2>&5
16017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16018 test $ac_status = 0; }; }; then :
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16021 $as_echo "yes" >&6; }
16023 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
16027 $as_echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.
$ac_ext >&5
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16031 $as_echo "no" >&6; }
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iops->fallocate() exists" >&5
16042 $as_echo_n "checking whether iops->fallocate() exists... " >&6; }
16045 cat confdefs.h
- <<_ACEOF >conftest.c
16048 #include <linux/fs.h>
16054 long (*fallocate) (struct inode *, int, loff_t, loff_t) = NULL;
16055 struct inode_operations fops __attribute__ ((unused)) = {
16056 .fallocate = fallocate,
16066 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16067 echo "obj-m := conftest.o" >build
/Makefile
16069 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16070 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16071 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16072 (eval $ac_try) 2>&5
16074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16075 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16076 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16077 (eval $ac_try) 2>&5
16079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16080 test $ac_status = 0; }; }; then :
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16083 $as_echo "yes" >&6; }
16085 $as_echo "#define HAVE_INODE_FALLOCATE 1" >>confdefs.h
16089 $as_echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.
$ac_ext >&5
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16093 $as_echo "no" >&6; }
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fops->fallocate() exists" >&5
16104 $as_echo_n "checking whether fops->fallocate() exists... " >&6; }
16107 cat confdefs.h
- <<_ACEOF >conftest.c
16110 #include <linux/fs.h>
16116 long (*fallocate) (struct file *, int, loff_t, loff_t) = NULL;
16117 struct file_operations_no_const fops __attribute__ ((unused)) = {
16118 .fallocate = fallocate,
16128 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16129 echo "obj-m := conftest.o" >build
/Makefile
16131 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16132 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16133 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16134 (eval $ac_try) 2>&5
16136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16137 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16138 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16139 (eval $ac_try) 2>&5
16141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16142 test $ac_status = 0; }; }; then :
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16145 $as_echo "yes" >&6; }
16147 $as_echo "#define HAVE_FILE_FALLOCATE 1" >>confdefs.h
16151 $as_echo "$as_me: failed program was:" >&5
16152 sed 's/^/| /' conftest.
$ac_ext >&5
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16155 $as_echo "no" >&6; }
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_INFLATE is defined" >&5
16167 $as_echo_n "checking whether CONFIG_ZLIB_INFLATE is defined... " >&6; }
16170 cat confdefs.h
- <<_ACEOF >conftest.c
16173 #if !defined(CONFIG_ZLIB_INFLATE) && \
16174 !defined(CONFIG_ZLIB_INFLATE_MODULE)
16175 #error CONFIG_ZLIB_INFLATE not defined
16189 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16190 echo "obj-m := conftest.o" >build
/Makefile
16192 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16193 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16194 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16195 (eval $ac_try) 2>&5
16197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16198 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16199 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16200 (eval $ac_try) 2>&5
16202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16203 test $ac_status = 0; }; }; then :
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16206 $as_echo "yes" >&6; }
16209 $as_echo "$as_me: failed program was:" >&5
16210 sed 's/^/| /' conftest.
$ac_ext >&5
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16213 $as_echo "no" >&6; }
16215 *** This kernel does not include the required zlib inflate support.
16216 *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set." "$LINENO" 5
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CONFIG_ZLIB_DEFLATE is defined" >&5
16227 $as_echo_n "checking whether CONFIG_ZLIB_DEFLATE is defined... " >&6; }
16230 cat confdefs.h
- <<_ACEOF >conftest.c
16233 #if !defined(CONFIG_ZLIB_DEFLATE) && \
16234 !defined(CONFIG_ZLIB_DEFLATE_MODULE)
16235 #error CONFIG_ZLIB_DEFLATE not defined
16249 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16250 echo "obj-m := conftest.o" >build
/Makefile
16252 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16253 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16254 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16255 (eval $ac_try) 2>&5
16257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16258 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16259 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16260 (eval $ac_try) 2>&5
16262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16263 test $ac_status = 0; }; }; then :
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16266 $as_echo "yes" >&6; }
16269 $as_echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.
$ac_ext >&5
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16273 $as_echo "no" >&6; }
16275 *** This kernel does not include the required zlib deflate support.
16276 *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set." "$LINENO" 5
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib_deflate_workspacesize() wants 2 args" >&5
16286 $as_echo_n "checking whether zlib_deflate_workspacesize() wants 2 args... " >&6; }
16289 cat confdefs.h
- <<_ACEOF >conftest.c
16292 #include <linux/zlib.h>
16298 return zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL);
16307 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16308 echo "obj-m := conftest.o" >build
/Makefile
16310 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16311 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16312 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16313 (eval $ac_try) 2>&5
16315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16316 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16317 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16318 (eval $ac_try) 2>&5
16320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16321 test $ac_status = 0; }; }; then :
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16324 $as_echo "yes" >&6; }
16326 $as_echo "#define HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE 1" >>confdefs.h
16330 $as_echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.
$ac_ext >&5
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16334 $as_echo "no" >&6; }
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct shrink_control exists" >&5
16345 $as_echo_n "checking whether struct shrink_control exists... " >&6; }
16348 cat confdefs.h
- <<_ACEOF >conftest.c
16351 #include <linux/mm.h>
16357 struct shrink_control sc __attribute__ ((unused));
16360 sc.gfp_mask = GFP_KERNEL;
16369 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16370 echo "obj-m := conftest.o" >build
/Makefile
16372 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16373 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16374 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16375 (eval $ac_try) 2>&5
16377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16378 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16379 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16380 (eval $ac_try) 2>&5
16382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16383 test $ac_status = 0; }; }; then :
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16386 $as_echo "yes" >&6; }
16388 $as_echo "#define HAVE_SHRINK_CONTROL_STRUCT 1" >>confdefs.h
16392 $as_echo "$as_me: failed program was:" >&5
16393 sed 's/^/| /' conftest.
$ac_ext >&5
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16396 $as_echo "no" >&6; }
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct rw_semaphore member wait_lock is raw" >&5
16407 $as_echo_n "checking whether struct rw_semaphore member wait_lock is raw... " >&6; }
16408 tmp_flags
="$EXTRA_KCFLAGS"
16409 EXTRA_KCFLAGS
="-Werror"
16412 cat confdefs.h
- <<_ACEOF >conftest.c
16415 #include <linux/rwsem.h>
16421 struct rw_semaphore dummy_semaphore __attribute__ ((unused));
16422 raw_spinlock_t dummy_lock __attribute__ ((unused));
16423 dummy_semaphore.wait_lock = dummy_lock;
16432 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16433 echo "obj-m := conftest.o" >build
/Makefile
16435 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16436 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16437 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16438 (eval $ac_try) 2>&5
16440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16441 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16442 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16443 (eval $ac_try) 2>&5
16445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16446 test $ac_status = 0; }; }; then :
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16449 $as_echo "yes" >&6; }
16451 $as_echo "#define RWSEM_SPINLOCK_IS_RAW 1" >>confdefs.h
16455 $as_echo "$as_me: failed program was:" >&5
16456 sed 's/^/| /' conftest.
$ac_ext >&5
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16459 $as_echo "no" >&6; }
16467 EXTRA_KCFLAGS
="$tmp_flags"
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header linux/sched/rt.h exists" >&5
16470 $as_echo_n "checking whether header linux/sched/rt.h exists... " >&6; }
16473 cat confdefs.h
- <<_ACEOF >conftest.c
16476 #include <linux/sched.h>
16477 #include <linux/sched/rt.h>
16492 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16493 echo "obj-m := conftest.o" >build
/Makefile
16495 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16496 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16497 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16498 (eval $ac_try) 2>&5
16500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16501 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16502 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16503 (eval $ac_try) 2>&5
16505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16506 test $ac_status = 0; }; }; then :
16509 $as_echo "#define HAVE_SCHED_RT_HEADER 1" >>confdefs.h
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16512 $as_echo "yes" >&6; }
16515 $as_echo "$as_me: failed program was:" >&5
16516 sed 's/^/| /' conftest.
$ac_ext >&5
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16519 $as_echo "no" >&6; }
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vfs_getattr() wants" >&5
16530 $as_echo_n "checking whether vfs_getattr() wants... " >&6; }
16533 cat confdefs.h
- <<_ACEOF >conftest.c
16536 #include <linux/fs.h>
16542 vfs_getattr((struct path *) NULL,
16543 (struct kstat *)NULL);
16552 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16553 echo "obj-m := conftest.o" >build
/Makefile
16555 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16556 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16557 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16558 (eval $ac_try) 2>&5
16560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16561 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16562 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16563 (eval $ac_try) 2>&5
16565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16566 test $ac_status = 0; }; }; then :
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2 args" >&5
16569 $as_echo "2 args" >&6; }
16571 $as_echo "#define HAVE_2ARGS_VFS_GETATTR 1" >>confdefs.h
16575 $as_echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.
$ac_ext >&5
16580 cat confdefs.h
- <<_ACEOF >conftest.c
16583 #include <linux/fs.h>
16589 vfs_getattr((struct vfsmount *)NULL,
16590 (struct dentry *)NULL,
16591 (struct kstat *)NULL);
16600 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16601 echo "obj-m := conftest.o" >build
/Makefile
16603 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16604 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16605 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16606 (eval $ac_try) 2>&5
16608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16609 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16610 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16611 (eval $ac_try) 2>&5
16613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16614 test $ac_status = 0; }; }; then :
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3 args" >&5
16617 $as_echo "3 args" >&6; }
16620 $as_echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.
$ac_ext >&5
16623 as_fn_error $?
"unknown" "$LINENO" 5
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep_range() is available" >&5
16641 $as_echo_n "checking whether usleep_range() is available... " >&6; }
16644 cat confdefs.h
- <<_ACEOF >conftest.c
16647 #include <linux/delay.h>
16653 usleep_range(0, 0);
16662 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16663 echo "obj-m := conftest.o" >build
/Makefile
16665 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16666 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16667 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16668 (eval $ac_try) 2>&5
16670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16671 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16672 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16673 (eval $ac_try) 2>&5
16675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16676 test $ac_status = 0; }; }; then :
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16679 $as_echo "yes" >&6; }
16681 $as_echo "#define HAVE_USLEEP_RANGE 1" >>confdefs.h
16685 $as_echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.
$ac_ext >&5
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16689 $as_echo "no" >&6; }
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has allocflags" >&5
16700 $as_echo_n "checking whether struct kmem_cache has allocflags... " >&6; }
16703 cat confdefs.h
- <<_ACEOF >conftest.c
16706 #include <linux/slab.h>
16712 struct kmem_cache cachep __attribute__ ((unused));
16713 cachep.allocflags = GFP_KERNEL;
16722 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16723 echo "obj-m := conftest.o" >build
/Makefile
16725 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16726 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16727 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16728 (eval $ac_try) 2>&5
16730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16731 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16732 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16733 (eval $ac_try) 2>&5
16735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16736 test $ac_status = 0; }; }; then :
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16739 $as_echo "yes" >&6; }
16741 $as_echo "#define HAVE_KMEM_CACHE_ALLOCFLAGS 1" >>confdefs.h
16745 $as_echo "$as_me: failed program was:" >&5
16746 sed 's/^/| /' conftest.
$ac_ext >&5
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16749 $as_echo "no" >&6; }
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct kmem_cache has gfpflags" >&5
16752 $as_echo_n "checking whether struct kmem_cache has gfpflags... " >&6; }
16755 cat confdefs.h
- <<_ACEOF >conftest.c
16758 #include <linux/slab.h>
16764 struct kmem_cache cachep __attribute__ ((unused));
16765 cachep.gfpflags = GFP_KERNEL;
16774 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16775 echo "obj-m := conftest.o" >build
/Makefile
16777 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16778 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16779 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16780 (eval $ac_try) 2>&5
16782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16783 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16784 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16785 (eval $ac_try) 2>&5
16787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16788 test $ac_status = 0; }; }; then :
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16791 $as_echo "yes" >&6; }
16793 $as_echo "#define HAVE_KMEM_CACHE_GFPFLAGS 1" >>confdefs.h
16797 $as_echo "$as_me: failed program was:" >&5
16798 sed 's/^/| /' conftest.
$ac_ext >&5
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16801 $as_echo "no" >&6; }
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wait_on_bit() takes an action" >&5
16819 $as_echo_n "checking whether wait_on_bit() takes an action... " >&6; }
16822 cat confdefs.h
- <<_ACEOF >conftest.c
16825 #include <linux/wait.h>
16831 int (*action)(void *) = NULL;
16832 wait_on_bit(NULL, 0, action, 0);
16841 rm -Rf build
&& mkdir
-p build
&& touch build
/conftest.mod.c
16842 echo "obj-m := conftest.o" >build
/Makefile
16844 test "x$enable_linux_builtin" = xyes
&& modpost_flag
='modpost=true' # fake modpost stage
16845 if { ac_try
='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build $modpost_flag'
16846 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16847 (eval $ac_try) 2>&5
16849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16850 test $ac_status = 0; }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
16851 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16852 (eval $ac_try) 2>&5
16854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16855 test $ac_status = 0; }; }; then :
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16858 $as_echo "yes" >&6; }
16860 $as_echo "#define HAVE_WAIT_ON_BIT_ACTION 1" >>confdefs.h
16864 $as_echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.
$ac_ext >&5
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16868 $as_echo "no" >&6; }
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Error!" >&5
16882 $as_echo "Error!" >&6; }
16883 as_fn_error $?
"Bad value \"$SPL_CONFIG\" for --with-config,
16884 user kernel|user|all|srpm" "$LINENO" 5 ;;
16887 if test "$SPL_CONFIG" = user
-o "$SPL_CONFIG" = all
; then
16889 CONFIG_USER_FALSE
='#'
16891 CONFIG_USER_TRUE
='#'
16895 if test "$SPL_CONFIG" = kernel
-o "$SPL_CONFIG" = all
&&
16896 test "x$enable_linux_builtin" != xyes
; then
16897 CONFIG_KERNEL_TRUE
=
16898 CONFIG_KERNEL_FALSE
='#'
16900 CONFIG_KERNEL_TRUE
='#'
16901 CONFIG_KERNEL_FALSE
=
16906 ac_config_files
="$ac_config_files Makefile man/Makefile man/man1/Makefile man/man5/Makefile lib/Makefile cmd/Makefile module/Makefile module/spl/Makefile module/splat/Makefile include/Makefile include/fs/Makefile include/linux/Makefile include/rpc/Makefile include/sharefs/Makefile include/sys/Makefile include/sys/fm/Makefile include/sys/fs/Makefile include/sys/sysevent/Makefile include/util/Makefile include/vm/Makefile scripts/Makefile rpm/Makefile rpm/redhat/Makefile rpm/redhat/spl.spec rpm/redhat/spl-kmod.spec rpm/redhat/spl-dkms.spec rpm/generic/Makefile rpm/generic/spl.spec rpm/generic/spl-kmod.spec rpm/generic/spl-dkms.spec spl.release"
16909 cat >confcache
<<\_ACEOF
16910 # This file is a shell script that caches the results of configure
16911 # tests run on this system so they can be shared between configure
16912 # scripts and configure runs, see configure's option --config-cache.
16913 # It is not useful on other systems. If it contains results you don't
16914 # want to keep, you may remove or edit it.
16916 # config.status only pays attention to the cache file if you give it
16917 # the --recheck option to rerun configure.
16919 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16920 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16921 # following values.
16925 # The following way of writing the cache mishandles newlines in values,
16926 # but we know of no workaround that is simple, portable, and efficient.
16927 # So, we kill variables containing newlines.
16928 # Ultrix sh set writes to stderr and can't be redirected directly,
16929 # and sets the high bit in the cache file unless we assign to the vars.
16931 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16932 eval ac_val
=\$
$ac_var
16936 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16937 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16940 _ | IFS | as_nl
) ;; #(
16941 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16942 *) { eval $ac_var=; unset $ac_var;} ;;
16948 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16949 *${as_nl}ac_space
=\
*)
16950 # `set' does not quote correctly, so add quotes: double-quote
16951 # substitution turns \\\\ into \\, and sed turns \\ into \.
16954 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16957 # `set' quotes correctly as required by POSIX, so do not add quotes.
16958 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16967 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16969 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16971 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16972 if test -w "$cache_file"; then
16973 if test "x$cache_file" != "x/dev/null"; then
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16975 $as_echo "$as_me: updating cache $cache_file" >&6;}
16976 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16977 cat confcache
>"$cache_file"
16979 case $cache_file in #(
16981 mv -f confcache
"$cache_file"$$
&&
16982 mv -f "$cache_file"$$
"$cache_file" ;; #(
16984 mv -f confcache
"$cache_file" ;;
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16990 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16995 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16996 # Let make expand exec_prefix.
16997 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16999 DEFS
=-DHAVE_CONFIG_H
17004 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17005 # 1. Remove the extension, and $U if already installed.
17006 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17007 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17008 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17009 # will be set to the directory where LIBOBJS objects are built.
17010 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17011 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17013 LIBOBJS
=$ac_libobjs
17015 LTLIBOBJS
=$ac_ltlibobjs
17018 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17019 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17022 if test -n "$EXEEXT"; then
17024 am__EXEEXT_FALSE
='#'
17026 am__EXEEXT_TRUE
='#'
17030 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17031 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17034 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17035 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17038 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
17039 as_fn_error $?
"conditional \"CONFIG_USER\" was never defined.
17040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17042 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
17043 as_fn_error $?
"conditional \"CONFIG_KERNEL\" was never defined.
17044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17047 : "${CONFIG_STATUS=./config.status}"
17049 ac_clean_files_save
=$ac_clean_files
17050 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17052 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17054 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17056 # Generated by $as_me.
17057 # Run this file to recreate the current configuration.
17058 # Compiler output produced by configure, useful for debugging
17059 # configure, is in config.log if it exists.
17062 ac_cs_recheck=false
17065 SHELL=\${CONFIG_SHELL-$SHELL}
17068 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17069 ## -------------------- ##
17070 ## M4sh Initialization. ##
17071 ## -------------------- ##
17073 # Be more Bourne compatible
17074 DUALCASE
=1; export DUALCASE
# for MKS sh
17075 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17078 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17079 # is contrary to our usage. Disable this feature.
17080 alias -g '${1+"$@"}'='"$@"'
17081 setopt NO_GLOB_SUBST
17083 case `(set -o) 2>/dev/null` in #(
17095 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17096 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17097 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17098 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17099 # Prefer a ksh shell builtin over an external printf program on Solaris,
17100 # but without wasting forks for bash or zsh.
17101 if test -z "$BASH_VERSION$ZSH_VERSION" \
17102 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17103 as_echo='print
-r --'
17104 as_echo_n='print
-rn --'
17105 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17106 as_echo='printf %s
\n'
17107 as_echo_n='printf %s
'
17109 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17110 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17111 as_echo_n='/usr
/ucb
/echo -n'
17113 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17114 as_echo_n_body='eval
17118 expr "X$arg" : "X\\(.*\\)$as_nl";
17119 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17121 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17123 export as_echo_n_body
17124 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17126 export as_echo_body
17127 as_echo='sh
-c $as_echo_body as_echo
'
17130 # The user is always right.
17131 if test "${PATH_SEPARATOR+set}" != set; then
17133 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17134 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17141 # We need space, tab and new line, in precisely that order. Quoting is
17142 # there to prevent editors from complaining about space-tab.
17143 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17144 # splitting by setting IFS to empty value.)
17147 # Find who we are. Look in the path if we contain no directory separator.
17150 *[\\/]* ) as_myself=$0 ;;
17151 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17152 for as_dir in $PATH
17155 test -z "$as_dir" && as_dir=.
17156 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17162 # We did not find ourselves, most probably we were run as `sh COMMAND'
17163 # in which case we are not to be found in the path.
17164 if test "x$as_myself" = x
; then
17167 if test ! -f "$as_myself"; then
17168 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17172 # Unset variables that we do not need and which cause bugs (e.g. in
17173 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17174 # suppresses any "Segmentation fault" message there. '((' could
17175 # trigger a bug in pdksh 5.2.14.
17176 for as_var
in BASH_ENV ENV MAIL MAILPATH
17177 do eval test x\
${$as_var+set} = xset \
17178 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17191 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17194 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17195 # ----------------------------------------
17196 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17197 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17198 # script with STATUS, using 1 if that was 0.
17201 as_status
=$1; test $as_status -eq 0 && as_status
=1
17203 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17204 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17206 $as_echo "$as_me: error: $2" >&2
17207 as_fn_exit
$as_status
17211 # as_fn_set_status STATUS
17212 # -----------------------
17213 # Set $? to STATUS, without forking.
17214 as_fn_set_status
()
17217 } # as_fn_set_status
17219 # as_fn_exit STATUS
17220 # -----------------
17221 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17225 as_fn_set_status
$1
17231 # Portably unset VAR.
17234 { eval $1=; unset $1;}
17236 as_unset
=as_fn_unset
17237 # as_fn_append VAR VALUE
17238 # ----------------------
17239 # Append the text in VALUE to the end of the definition contained in VAR. Take
17240 # advantage of any shell optimizations that allow amortized linear growth over
17241 # repeated appends, instead of the typical quadratic growth present in naive
17243 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17244 eval 'as_fn_append ()
17255 # as_fn_arith ARG...
17256 # ------------------
17257 # Perform arithmetic evaluation on the ARGs, and store the result in the
17258 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17259 # must be portable across $(()) and expr.
17260 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17261 eval 'as_fn_arith ()
17268 as_val
=`expr "$@" || test $? -eq 1`
17273 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17274 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17280 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17281 as_basename
=basename
17286 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17292 as_me
=`$as_basename -- "$0" ||
17293 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17294 X"$0" : 'X\(//\)$' \| \
17295 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17297 sed '/^.*\/\([^/][^/]*\)\/*$/{
17311 # Avoid depending upon Character Ranges.
17312 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17313 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17314 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17315 as_cr_digits
='0123456789'
17316 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17318 ECHO_C
= ECHO_N
= ECHO_T
=
17319 case `echo -n x` in #(((((
17321 case `echo 'xy\c'` in
17322 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17324 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17331 rm -f conf$$ conf$$.exe conf$$.
file
17332 if test -d conf$$.dir
; then
17333 rm -f conf$$.dir
/conf$$.
file
17336 mkdir conf$$.dir
2>/dev
/null
17338 if (echo >conf$$.
file) 2>/dev
/null
; then
17339 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17341 # ... but there are two gotchas:
17342 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17343 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17344 # In both cases, we have to default to `cp -p'.
17345 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17347 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17355 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17356 rmdir conf$$.dir
2>/dev
/null
17361 # Create "$as_dir" as a directory, including parents if necessary.
17366 -*) as_dir
=.
/$as_dir;;
17368 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17372 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17373 *) as_qdir
=$as_dir;;
17375 as_dirs
="'$as_qdir' $as_dirs"
17376 as_dir
=`$as_dirname -- "$as_dir" ||
17377 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17378 X"$as_dir" : 'X\(//\)[^/]' \| \
17379 X"$as_dir" : 'X\(//\)$' \| \
17380 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17381 $as_echo X"$as_dir" |
17382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17386 /^X\(\/\/\)[^/].*/{
17399 test -d "$as_dir" && break
17401 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17402 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17406 if mkdir
-p .
2>/dev
/null
; then
17407 as_mkdir_p
='mkdir -p "$as_dir"'
17409 test -d .
/-p && rmdir .
/-p
17413 if test -x / >/dev
/null
2>&1; then
17414 as_test_x
='test -x'
17416 if ls -dL / >/dev
/null
2>&1; then
17423 if test -d "$1"; then
17429 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17430 ???[sx]*):;;*)false;;esac;fi
17434 as_executable_p
=$as_test_x
17436 # Sed expression to map a string onto a valid CPP name.
17437 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17439 # Sed expression to map a string onto a valid variable name.
17440 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17444 ## ----------------------------------- ##
17445 ## Main body of $CONFIG_STATUS script. ##
17446 ## ----------------------------------- ##
17448 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17451 # Save the log message, to keep $0 and so on meaningful, and to
17452 # report actual input values of CONFIG_FILES etc. instead of their
17453 # values after options handling.
17455 This file was extended by spl $as_me 0.6.5.3, which was
17456 generated by GNU Autoconf 2.68. Invocation command line was
17458 CONFIG_FILES = $CONFIG_FILES
17459 CONFIG_HEADERS = $CONFIG_HEADERS
17460 CONFIG_LINKS = $CONFIG_LINKS
17461 CONFIG_COMMANDS = $CONFIG_COMMANDS
17464 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17469 case $ac_config_files in *"
17470 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17473 case $ac_config_headers in *"
17474 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17479 # Files that config.status was made for.
17480 config_files="$ac_config_files"
17481 config_headers="$ac_config_headers"
17482 config_commands="$ac_config_commands"
17486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17488 \`$as_me' instantiates files and other configuration actions
17489 from templates according to the current configuration. Unless the files
17490 and actions are specified as TAGs, all are instantiated by default.
17492 Usage: $0 [OPTION]... [TAG]...
17494 -h, --help print this help, then exit
17495 -V, --version print version number and configuration settings, then exit
17496 --config print configuration, then exit
17497 -q, --quiet, --silent
17498 do not print progress messages
17499 -d, --debug don't remove temporary files
17500 --recheck update $as_me by reconfiguring in the same conditions
17501 --file=FILE[:TEMPLATE]
17502 instantiate the configuration file FILE
17503 --header=FILE[:TEMPLATE]
17504 instantiate the configuration header FILE
17506 Configuration files:
17509 Configuration headers:
17512 Configuration commands:
17515 Report bugs to the package provider."
17518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17519 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17521 spl config.status 0.6.5.3
17522 configured by $0, generated by GNU Autoconf 2.68,
17523 with options \\"\$ac_cs_config\\"
17525 Copyright (C) 2010 Free Software Foundation, Inc.
17526 This config.status script is free software; the Free Software Foundation
17527 gives unlimited permission to copy, distribute and modify it."
17534 test -n "\$AWK" || AWK=awk
17537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17538 # The default lists apply if the user does not specify any file.
17544 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17545 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17549 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17561 # Handling of the options.
17562 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17564 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17565 $as_echo "$ac_cs_version"; exit ;;
17566 --config |
--confi |
--conf |
--con |
--co |
--c )
17567 $as_echo "$ac_cs_config"; exit ;;
17568 --debug |
--debu |
--deb |
--de |
--d |
-d )
17570 --file |
--fil |
--fi |
--f )
17573 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17574 '') as_fn_error $?
"missing file argument" ;;
17576 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17577 ac_need_defaults
=false
;;
17578 --header |
--heade |
--head |
--hea )
17581 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17583 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17584 ac_need_defaults
=false
;;
17586 # Conflict between --help and --header
17587 as_fn_error $?
"ambiguous option: \`$1'
17588 Try \`$0 --help' for more information.";;
17589 --help |
--hel |
-h )
17590 $as_echo "$ac_cs_usage"; exit ;;
17591 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17592 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17595 # This is an error.
17596 -*) as_fn_error $?
"unrecognized option: \`$1'
17597 Try \`$0 --help' for more information." ;;
17599 *) as_fn_append ac_config_targets
" $1"
17600 ac_need_defaults
=false
;;
17606 ac_configure_extra_args
=
17608 if $ac_cs_silent; then
17610 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17615 if \$ac_cs_recheck; then
17616 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17618 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17619 CONFIG_SHELL='$SHELL'
17620 export CONFIG_SHELL
17625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17629 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17630 ## Running $as_me. ##
17636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17640 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17643 # The HP-UX ksh and POSIX shell print the target directory to stdout
17644 # if CDPATH is set.
17645 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17647 sed_quote_subst='$sed_quote_subst'
17648 double_quote_subst='$double_quote_subst'
17649 delay_variable_subst='$delay_variable_subst'
17650 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17651 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17652 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17653 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17654 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17655 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17656 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17657 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17658 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17659 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17660 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17661 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17662 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17663 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17664 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17665 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17666 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17667 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17668 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17669 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17670 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17671 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17672 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17673 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17674 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17675 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17676 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17677 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17678 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17679 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17680 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17681 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17682 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17683 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17684 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17685 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17686 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17687 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17688 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17689 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17690 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17691 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17692 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17693 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17694 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17695 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17696 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17697 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17698 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17699 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17700 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17701 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17702 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17703 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17704 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17705 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17706 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"`'
17707 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17708 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17709 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17710 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17711 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17712 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17713 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17714 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17715 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17716 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17717 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17718 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17719 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17720 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17721 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17722 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17723 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17724 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17725 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17726 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17727 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17728 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17729 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17730 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17731 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17732 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17733 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17734 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17735 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17736 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17737 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17738 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17739 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17740 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17741 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17742 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17743 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17744 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17745 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17746 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17747 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17748 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17749 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17750 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17751 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17752 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17753 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17754 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17756 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17757 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17758 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17759 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17760 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17761 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17762 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17763 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17764 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17765 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17766 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17767 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17768 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17769 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17770 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17771 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17772 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17773 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17774 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17775 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17776 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17777 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17778 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17779 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17782 LTCFLAGS='$LTCFLAGS'
17783 compiler='$compiler_DEFAULT'
17785 # A function that is used when there is no print builtin or printf.
17786 func_fallback_echo ()
17788 eval 'cat <<_LTECHO_EOF
17793 # Quote evaled strings.
17808 deplibs_check_method \
17813 sharedlib_from_linklib_cmd \
17816 archiver_list_spec \
17822 lt_cv_sys_global_symbol_pipe \
17823 lt_cv_sys_global_symbol_to_cdecl \
17824 lt_cv_sys_global_symbol_to_c_name_address \
17825 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17826 nm_file_list_spec \
17827 lt_prog_compiler_no_builtin_flag \
17828 lt_prog_compiler_pic \
17829 lt_prog_compiler_wl \
17830 lt_prog_compiler_static \
17831 lt_cv_prog_compiler_c_o \
17840 export_dynamic_flag_spec \
17841 whole_archive_flag_spec \
17842 compiler_needs_object \
17844 allow_undefined_flag \
17845 no_undefined_flag \
17846 hardcode_libdir_flag_spec \
17847 hardcode_libdir_separator \
17851 variables_saved_for_relink \
17853 library_names_spec \
17855 install_override_mode \
17859 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17860 *[\\\\\\\`\\"\\\$]*)
17861 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17864 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17869 # Double-quote double-evaled strings.
17870 for var in reload_cmds \
17871 old_postinstall_cmds \
17872 old_postuninstall_cmds \
17874 extract_expsyms_cmds \
17875 old_archive_from_new_cmds \
17876 old_archive_from_expsyms_cmds \
17878 archive_expsym_cmds \
17880 module_expsym_cmds \
17881 export_symbols_cmds \
17885 postuninstall_cmds \
17887 sys_lib_search_path_spec \
17888 sys_lib_dlsearch_path_spec; do
17889 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17890 *[\\\\\\\`\\"\\\$]*)
17891 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17894 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17899 ac_aux_dir='$ac_aux_dir'
17900 xsi_shell='$xsi_shell'
17901 lt_shell_append='$lt_shell_append'
17903 # See if we are running on zsh, and set the options which allow our
17904 # commands through without removal of \ escapes INIT.
17905 if test -n "\${ZSH_VERSION+set}" ; then
17906 setopt NO_GLOB_SUBST
17912 TIMESTAMP='$TIMESTAMP'
17921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17923 # Handling of arguments.
17924 for ac_config_target
in $ac_config_targets
17926 case $ac_config_target in
17927 "spl_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
17928 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17929 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17930 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17931 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
17932 "man/man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man1/Makefile" ;;
17933 "man/man5/Makefile") CONFIG_FILES
="$CONFIG_FILES man/man5/Makefile" ;;
17934 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
17935 "cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
17936 "module/Makefile") CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
17937 "module/spl/Makefile") CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
17938 "module/splat/Makefile") CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
17939 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17940 "include/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/fs/Makefile" ;;
17941 "include/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES include/linux/Makefile" ;;
17942 "include/rpc/Makefile") CONFIG_FILES
="$CONFIG_FILES include/rpc/Makefile" ;;
17943 "include/sharefs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sharefs/Makefile" ;;
17944 "include/sys/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/Makefile" ;;
17945 "include/sys/fm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fm/Makefile" ;;
17946 "include/sys/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/fs/Makefile" ;;
17947 "include/sys/sysevent/Makefile") CONFIG_FILES
="$CONFIG_FILES include/sys/sysevent/Makefile" ;;
17948 "include/util/Makefile") CONFIG_FILES
="$CONFIG_FILES include/util/Makefile" ;;
17949 "include/vm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/vm/Makefile" ;;
17950 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
17951 "rpm/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/Makefile" ;;
17952 "rpm/redhat/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/Makefile" ;;
17953 "rpm/redhat/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl.spec" ;;
17954 "rpm/redhat/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl-kmod.spec" ;;
17955 "rpm/redhat/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/redhat/spl-dkms.spec" ;;
17956 "rpm/generic/Makefile") CONFIG_FILES
="$CONFIG_FILES rpm/generic/Makefile" ;;
17957 "rpm/generic/spl.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl.spec" ;;
17958 "rpm/generic/spl-kmod.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-kmod.spec" ;;
17959 "rpm/generic/spl-dkms.spec") CONFIG_FILES
="$CONFIG_FILES rpm/generic/spl-dkms.spec" ;;
17960 "spl.release") CONFIG_FILES
="$CONFIG_FILES spl.release" ;;
17962 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17967 # If the user did not use the arguments to specify the items to instantiate,
17968 # then the envvar interface is used. Set only those that are not.
17969 # We use the long form for the default assignment because of an extremely
17970 # bizarre bug on SunOS 4.1.3.
17971 if $ac_need_defaults; then
17972 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17973 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17974 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17977 # Have a temporary directory for convenience. Make it in the build tree
17978 # simply because there is no reason against having it here, and in addition,
17979 # creating and moving files from /tmp can sometimes cause problems.
17980 # Hook for its removal unless debugging.
17981 # Note that there is a small window in which the directory will not be cleaned:
17982 # after its creation but before its name has been assigned to `$tmp'.
17986 trap 'exit_status=$?
17987 : "${ac_tmp:=$tmp}"
17988 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17990 trap 'as_fn_exit 1' 1 2 13 15
17992 # Create a (secure) tmp directory for tmp files.
17995 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17999 tmp
=.
/conf$$
-$RANDOM
18000 (umask 077 && mkdir
"$tmp")
18001 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18004 # Set up the scripts for CONFIG_FILES section.
18005 # No need to generate them if there are no CONFIG_FILES.
18006 # This happens for instance with `./config.status config.h'.
18007 if test -n "$CONFIG_FILES"; then
18010 ac_cr
=`echo X | tr X '\015'`
18011 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18012 # But we know of no other shell where ac_cr would be empty at this
18013 # point, so we can use a bashism as a fallback.
18014 if test "x$ac_cr" = x
; then
18015 eval ac_cr
=\$
\'\\r
\'
18017 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18018 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18021 ac_cs_awk_cr
=$ac_cr
18024 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18029 echo "cat >conf$$subs.awk <<_ACEOF" &&
18030 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18032 } >conf$$subs.sh ||
18033 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18034 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18036 for ac_last_try in false false false false false :; do
18037 . ./conf$$subs.sh ||
18038 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18040 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18041 if test $ac_delim_n = $ac_delim_num; then
18043 elif $ac_last_try; then
18044 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18046 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18049 rm -f conf$$subs.sh
18051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18052 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18056 s/^/S["/; s
/!.
*/"]=/
18066 s/\(.\{148\}\)..*/\1/
18068 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18073 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18080 s/\(.\{148\}\)..*/\1/
18082 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18086 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18091 ' <conf$$subs.awk | sed '
18096 ' >>$CONFIG_STATUS || ac_write_fail=1
18097 rm -f conf$$subs.awk
18098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18100 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18101 for (key in S) S_is_set[key] = 1
18107 nfields = split(line, field, "@
")
18109 len = length(field[1])
18110 for (i = 2; i < nfields; i++) {
18112 keylen = length(key)
18113 if (S_is_set[key]) {
18115 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18116 len += length(value) + length(field[++i])
18127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18128 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18129 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18132 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18133 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18136 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18137 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18138 # trailing colons and then remove the whole line if VPATH becomes empty
18139 # (actually we leave an empty line to preserve line numbers).
18140 if test "x
$srcdir" = x.; then
18141 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18160 fi # test -n "$CONFIG_FILES"
18162 # Set up the scripts for CONFIG_HEADERS section.
18163 # No need to generate them if there are no CONFIG_HEADERS.
18164 # This happens for instance with `./config.status Makefile'.
18165 if test -n "$CONFIG_HEADERS"; then
18166 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18170 # Transform confdefs.h into an awk script `defines.awk', embedded as
18171 # here-document in config.status, that substitutes the proper values into
18172 # config.h.in to produce config.h.
18174 # Create a delimiter string that does not exist in confdefs.h, to ease
18175 # handling of long lines.
18177 for ac_last_try in false false :; do
18178 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18179 if test -z "$ac_tt"; then
18181 elif $ac_last_try; then
18182 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18184 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18188 # For the awk script, D is an array of macro values keyed by name,
18189 # likewise P contains macro parameters if any. Preserve backslash
18190 # newline sequences.
18192 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18194 s/.\{148\}/&'"$ac_delim"'/g
18197 s/^[ ]*#[ ]*define[ ][ ]*/ /
18204 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18206 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18210 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18211 D["\
1"]=" \
3\\\\\\n
"\\/p
18213 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18218 s/.\{148\}/&'"$ac_delim"'/g
18223 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18226 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18228 ' <confdefs.h | sed '
18229 s/'"$ac_delim"'/"\\\
18230 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18233 for (key in D) D_is_set[key] = 1
18236 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18238 split(line, arg, " ")
18239 if (arg[1] == "#") {
18243 defundef
= substr
(arg
[1], 2)
18246 split(mac1
, mac2
, "(") #)
18248 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18249 if (D_is_set
[macro
]) {
18250 # Preserve the white space surrounding the "#".
18251 print prefix
"define", macro P
[macro
] D
[macro
]
18254 # Replace #undef with comments. This is necessary, for example,
18255 # in the case of _POSIX_SOURCE, which is predefined and required
18256 # on some systems where configure will not decide to define it.
18257 if (defundef
== "undef") {
18258 print
"/*", prefix defundef
, macro
, "*/"
18266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18267 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18268 fi # test -n "$CONFIG_HEADERS"
18271 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18276 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18278 case $ac_mode$ac_tag in
18280 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18281 :[FH
]-) ac_tag
=-:-;;
18282 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18299 -) ac_f
="$ac_tmp/stdin";;
18300 *) # Look for the file first in the build tree, then in the source tree
18301 # (if the path is not absolute). The absolute path cannot be DOS-style,
18302 # because $ac_f cannot contain `:'.
18306 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18308 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18310 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18311 as_fn_append ac_file_inputs
" '$ac_f'"
18314 # Let's still pretend it is `configure' which instantiates (i.e., don't
18315 # use $as_me), people would be surprised to read:
18316 # /* config.h. Generated by config.status. */
18317 configure_input
='Generated from '`
18318 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18320 if test x
"$ac_file" != x-
; then
18321 configure_input
="$ac_file. $configure_input"
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18323 $as_echo "$as_me: creating $ac_file" >&6;}
18325 # Neutralize special characters interpreted by sed in replacement strings.
18326 case $configure_input in #(
18327 *\
&* |
*\|
* |
*\\* )
18328 ac_sed_conf_input
=`$as_echo "$configure_input" |
18329 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18330 *) ac_sed_conf_input
=$configure_input;;
18334 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18335 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18340 ac_dir
=`$as_dirname -- "$ac_file" ||
18341 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18342 X"$ac_file" : 'X\(//\)[^/]' \| \
18343 X"$ac_file" : 'X\(//\)$' \| \
18344 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18345 $as_echo X"$ac_file" |
18346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18350 /^X\(\/\/\)[^/].*/{
18363 as_dir
="$ac_dir"; as_fn_mkdir_p
18367 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18369 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18370 # A ".." for each directory in $ac_dir_suffix.
18371 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18372 case $ac_top_builddir_sub in
18373 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18374 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18377 ac_abs_top_builddir
=$ac_pwd
18378 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18379 # for backward compatibility:
18380 ac_top_builddir
=$ac_top_build_prefix
18383 .
) # We are building in place.
18385 ac_top_srcdir
=$ac_top_builddir_sub
18386 ac_abs_top_srcdir
=$ac_pwd ;;
18387 [\\/]* | ?
:[\\/]* ) # Absolute name.
18388 ac_srcdir
=$srcdir$ac_dir_suffix;
18389 ac_top_srcdir
=$srcdir
18390 ac_abs_top_srcdir
=$srcdir ;;
18391 *) # Relative name.
18392 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18393 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18394 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18396 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18406 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18407 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18409 ac_MKDIR_P
=$MKDIR_P
18411 [\\/$
]* | ?
:[\\/]* ) ;;
18412 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18417 # If the template does not know about datarootdir, expand it.
18418 # FIXME: This hack should be removed a few years after 2.60.
18419 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18430 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18431 *datarootdir
*) ac_datarootdir_seen
=yes;;
18432 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18434 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18437 ac_datarootdir_hack='
18438 s&@datadir@&$datadir&g
18439 s&@docdir@&$docdir&g
18440 s&@infodir@&$infodir&g
18441 s&@localedir@&$localedir&g
18442 s&@mandir@&$mandir&g
18443 s&\\\${datarootdir}&$datarootdir&g' ;;
18447 # Neutralize VPATH when `$srcdir' = `.'.
18448 # Shell code in configure.ac might set extrasub.
18449 # FIXME: do we really want to maintain this feature?
18450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18451 ac_sed_extra="$ac_vpsub
18454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18456 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18457 s|@configure_input@|
$ac_sed_conf_input|
;t t
18458 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18459 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18460 s
&@srcdir@
&$ac_srcdir&;t t
18461 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18462 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18463 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18464 s
&@builddir@
&$ac_builddir&;t t
18465 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18466 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18467 s
&@INSTALL@
&$ac_INSTALL&;t t
18468 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18469 $ac_datarootdir_hack
18471 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18472 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18474 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18475 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18476 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18477 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18479 which seems to be undefined. Please make sure it is defined" >&5
18480 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18481 which seems to be undefined. Please make sure it is defined" >&2;}
18483 rm -f "$ac_tmp/stdin"
18485 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18486 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18494 if test x"$ac_file" != x-; then
18496 $as_echo "/* $configure_input */" \
18497 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18498 } >"$ac_tmp/config.h" \
18499 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18500 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18502 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18505 mv "$ac_tmp/config.h" "$ac_file" \
18506 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18509 $as_echo "/* $configure_input */" \
18510 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18511 || as_fn_error $? "could not create -" "$LINENO" 5
18513 # Compute "$ac_file"'s index
in $config_headers.
18516 for _am_header
in $config_headers :; do
18517 case $_am_header in
18518 $_am_arg |
$_am_arg:* )
18521 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18524 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18525 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18526 X"$_am_arg" : 'X\(//\)[^/]' \| \
18527 X"$_am_arg" : 'X\(//\)$' \| \
18528 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18529 $as_echo X"$_am_arg" |
18530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18534 /^X\(\/\/\)[^/].*/{
18546 s/.*/./; q'`/stamp-h
$_am_stamp_count
18549 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18550 $as_echo "$as_me: executing $ac_file commands" >&6;}
18555 case $ac_file$ac_mode in
18557 (mv spl_config.h spl_config.h.tmp
&&
18558 awk -f ${ac_srcdir}/config
/config.
awk spl_config.h.tmp
>spl_config.h
&&
18559 rm spl_config.h.tmp
) ||
exit 1 ;;
18560 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18561 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18562 # are listed without --file. Let's play safe and only enable the eval
18563 # if we detect the quoting.
18564 case $CONFIG_FILES in
18565 *\'*) eval set x
"$CONFIG_FILES" ;;
18566 *) set x
$CONFIG_FILES ;;
18571 # Strip MF so we end up with the name of the file.
18572 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18573 # Check whether this is an Automake generated Makefile or not.
18574 # We used to match only the files named `Makefile.in', but
18575 # some people rename them; so instead we look at the file content.
18576 # Grep'ing the first line is not enough: some people post-process
18577 # each Makefile.in and add a new line on top of each file to say so.
18578 # Grep'ing the whole file is not good either: AIX grep has a line
18579 # limit of 2048, but all sed's we know have understand at least 4000.
18580 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18581 dirpart
=`$as_dirname -- "$mf" ||
18582 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18583 X"$mf" : 'X\(//\)[^/]' \| \
18584 X"$mf" : 'X\(//\)$' \| \
18585 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18591 /^X\(\/\/\)[^/].*/{
18607 # Extract the definition of DEPDIR, am__include, and am__quote
18608 # from the Makefile without running `make'.
18609 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18610 test -z "$DEPDIR" && continue
18611 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18612 test -z "am__include" && continue
18613 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18614 # When using ansi2knr, U may be empty or an underscore; expand it
18615 U
=`sed -n 's/^U = //p' < "$mf"`
18616 # Find all dependency output files, they are included files with
18617 # $(DEPDIR) in their names. We invoke sed twice because it is the
18618 # simplest approach to changing $(DEPDIR) to its actual value in the
18620 for file in `sed -n "
18621 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18622 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18623 # Make sure the directory exists.
18624 test -f "$dirpart/$file" && continue
18625 fdir
=`$as_dirname -- "$file" ||
18626 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18627 X"$file" : 'X\(//\)[^/]' \| \
18628 X"$file" : 'X\(//\)$' \| \
18629 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18630 $as_echo X"$file" |
18631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18635 /^X\(\/\/\)[^/].*/{
18648 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18649 # echo "creating $dirpart/$file"
18650 echo '# dummy' > "$dirpart/$file"
18657 # See if we are running on zsh, and set the options which allow our
18658 # commands through without removal of \ escapes.
18659 if test -n "${ZSH_VERSION+set}" ; then
18660 setopt NO_GLOB_SUBST
18663 cfgfile
="${ofile}T"
18664 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18667 cat <<_LT_EOF >> "$cfgfile"
18670 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18671 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18672 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18673 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18675 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18676 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18678 # Written by Gordon Matzigkeit, 1996
18680 # This file is part of GNU Libtool.
18682 # GNU Libtool is free software; you can redistribute it and/or
18683 # modify it under the terms of the GNU General Public License as
18684 # published by the Free Software Foundation; either version 2 of
18685 # the License, or (at your option) any later version.
18687 # As a special exception to the GNU General Public License,
18688 # if you distribute this file as part of a program or library that
18689 # is built using GNU Libtool, you may include this file under the
18690 # same distribution terms that you use for the rest of that program.
18692 # GNU Libtool is distributed in the hope that it will be useful,
18693 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18694 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18695 # GNU General Public License for more details.
18697 # You should have received a copy of the GNU General Public License
18698 # along with GNU Libtool; see the file COPYING. If not, a copy
18699 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18700 # obtained by writing to the Free Software Foundation, Inc.,
18701 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18704 # The names of the tagged configurations supported by this script.
18707 # ### BEGIN LIBTOOL CONFIG
18709 # Which release of libtool.m4 was used?
18710 macro_version=$macro_version
18711 macro_revision=$macro_revision
18713 # Whether or not to build shared libraries.
18714 build_libtool_libs=$enable_shared
18716 # Whether or not to build static libraries.
18717 build_old_libs=$enable_static
18719 # What type of objects to build.
18722 # Whether or not to optimize for fast installation.
18723 fast_install=$enable_fast_install
18725 # Shell to use when invoking shell scripts.
18728 # An echo program that protects backslashes.
18731 # The PATH separator for the build system.
18732 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18735 host_alias=$host_alias
18739 # The build system.
18740 build_alias=$build_alias
18744 # A sed program that does not truncate output.
18747 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18748 Xsed="\$SED -e 1s/^X//"
18750 # A grep program that handles long lines.
18756 # A literal string matcher.
18759 # A BSD- or MS-compatible name lister.
18762 # Whether we need soft or hard links.
18765 # What is the maximum length of a command?
18766 max_cmd_len=$max_cmd_len
18768 # Object file suffix (normally "o").
18771 # Executable file suffix (normally "").
18774 # whether the shell understands "unset".
18777 # turn spaces into newlines.
18780 # turn newlines into spaces.
18783 # convert \$build file names to \$host format.
18784 to_host_file_cmd=$lt_cv_to_host_file_cmd
18786 # convert \$build files to toolchain format.
18787 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18789 # An object symbol dumper.
18790 OBJDUMP=$lt_OBJDUMP
18792 # Method to check whether dependent libraries are shared objects.
18793 deplibs_check_method=$lt_deplibs_check_method
18795 # Command to use when deplibs_check_method = "file_magic".
18796 file_magic_cmd=$lt_file_magic_cmd
18798 # How to find potential files when deplibs_check_method = "file_magic".
18799 file_magic_glob=$lt_file_magic_glob
18801 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18802 want_nocaseglob=$lt_want_nocaseglob
18804 # DLL creation program.
18805 DLLTOOL=$lt_DLLTOOL
18807 # Command to associate shared and link libraries.
18808 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18813 # Flags to create an archive.
18814 AR_FLAGS=$lt_AR_FLAGS
18816 # How to feed a file listing to the archiver.
18817 archiver_list_spec=$lt_archiver_list_spec
18819 # A symbol stripping program.
18822 # Commands used to install an old-style archive.
18824 old_postinstall_cmds=$lt_old_postinstall_cmds
18825 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18827 # Whether to use a lock for old archive extraction.
18828 lock_old_archive_extraction=$lock_old_archive_extraction
18833 # LTCC compiler flags.
18834 LTCFLAGS=$lt_CFLAGS
18836 # Take the output of nm and produce a listing of raw symbols and C names.
18837 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18839 # Transform the output of nm in a proper C declaration.
18840 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18842 # Transform the output of nm in a C name address pair.
18843 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18845 # Transform the output of nm in a C name address pair when lib prefix is needed.
18846 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18848 # Specify filename containing input files for \$NM.
18849 nm_file_list_spec=$lt_nm_file_list_spec
18851 # The root where to search for dependent libraries,and in which our libraries should be installed.
18852 lt_sysroot=$lt_sysroot
18854 # The name of the directory that contains temporary libtool files.
18857 # Used to examine libraries when file_magic_cmd begins with "file".
18858 MAGIC_CMD=$MAGIC_CMD
18860 # Must we lock files when doing compilation?
18861 need_locks=$lt_need_locks
18864 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18866 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18867 DSYMUTIL=$lt_DSYMUTIL
18869 # Tool to change global to local symbols on Mac OS X.
18872 # Tool to manipulate fat objects and archives on Mac OS X.
18875 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18878 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18879 OTOOL64=$lt_OTOOL64
18881 # Old archive suffix (normally "a").
18884 # Shared library suffix (normally ".so").
18885 shrext_cmds=$lt_shrext_cmds
18887 # The commands to extract the exported symbol list from a shared archive.
18888 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18890 # Variables whose values should be saved in libtool wrapper scripts and
18891 # restored at link time.
18892 variables_saved_for_relink=$lt_variables_saved_for_relink
18894 # Do we need the "lib" prefix for modules?
18895 need_lib_prefix=$need_lib_prefix
18897 # Do we need a version for libraries?
18898 need_version=$need_version
18900 # Library versioning type.
18901 version_type=$version_type
18903 # Shared library runtime path variable.
18904 runpath_var=$runpath_var
18906 # Shared library path variable.
18907 shlibpath_var=$shlibpath_var
18909 # Is shlibpath searched before the hard-coded library search path?
18910 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18912 # Format of library name prefix.
18913 libname_spec=$lt_libname_spec
18915 # List of archive names. First name is the real one, the rest are links.
18916 # The last name is the one that the linker finds with -lNAME
18917 library_names_spec=$lt_library_names_spec
18919 # The coded name of the library, if different from the real name.
18920 soname_spec=$lt_soname_spec
18922 # Permission mode override for installation of shared libraries.
18923 install_override_mode=$lt_install_override_mode
18925 # Command to use after installation of a shared archive.
18926 postinstall_cmds=$lt_postinstall_cmds
18928 # Command to use after uninstallation of a shared archive.
18929 postuninstall_cmds=$lt_postuninstall_cmds
18931 # Commands used to finish a libtool library installation in a directory.
18932 finish_cmds=$lt_finish_cmds
18934 # As "finish_cmds", except a single script fragment to be evaled but
18936 finish_eval=$lt_finish_eval
18938 # Whether we should hardcode library paths into libraries.
18939 hardcode_into_libs=$hardcode_into_libs
18941 # Compile-time system search path for libraries.
18942 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18944 # Run-time system search path for libraries.
18945 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18947 # Whether dlopen is supported.
18948 dlopen_support=$enable_dlopen
18950 # Whether dlopen of programs is supported.
18951 dlopen_self=$enable_dlopen_self
18953 # Whether dlopen of statically linked programs is supported.
18954 dlopen_self_static=$enable_dlopen_self_static
18956 # Commands to strip libraries.
18957 old_striplib=$lt_old_striplib
18958 striplib=$lt_striplib
18961 # The linker used to build libraries.
18964 # How to create reloadable object files.
18965 reload_flag=$lt_reload_flag
18966 reload_cmds=$lt_reload_cmds
18968 # Commands used to build an old-style archive.
18969 old_archive_cmds=$lt_old_archive_cmds
18971 # A language specific compiler.
18974 # Is the compiler the GNU compiler?
18977 # Compiler flag to turn off builtin functions.
18978 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18980 # Additional compiler flags for building library objects.
18981 pic_flag=$lt_lt_prog_compiler_pic
18983 # How to pass a linker flag through the compiler.
18984 wl=$lt_lt_prog_compiler_wl
18986 # Compiler flag to prevent dynamic linking.
18987 link_static_flag=$lt_lt_prog_compiler_static
18989 # Does compiler simultaneously support -c and -o options?
18990 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18992 # Whether or not to add -lc for building shared libraries.
18993 build_libtool_need_lc=$archive_cmds_need_lc
18995 # Whether or not to disallow shared libs when runtime libs are static.
18996 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18998 # Compiler flag to allow reflexive dlopens.
18999 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19001 # Compiler flag to generate shared objects directly from archives.
19002 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19004 # Whether the compiler copes with passing no objects directly.
19005 compiler_needs_object=$lt_compiler_needs_object
19007 # Create an old-style archive from a shared archive.
19008 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19010 # Create a temporary old-style archive to link instead of a shared archive.
19011 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19013 # Commands used to build a shared archive.
19014 archive_cmds=$lt_archive_cmds
19015 archive_expsym_cmds=$lt_archive_expsym_cmds
19017 # Commands used to build a loadable module if different from building
19018 # a shared archive.
19019 module_cmds=$lt_module_cmds
19020 module_expsym_cmds=$lt_module_expsym_cmds
19022 # Whether we are building with GNU ld or not.
19023 with_gnu_ld=$lt_with_gnu_ld
19025 # Flag that allows shared libraries with undefined symbols to be built.
19026 allow_undefined_flag=$lt_allow_undefined_flag
19028 # Flag that enforces no undefined symbols.
19029 no_undefined_flag=$lt_no_undefined_flag
19031 # Flag to hardcode \$libdir into a binary during linking.
19032 # This must work even if \$libdir does not exist
19033 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19035 # Whether we need a single "-rpath" flag with a separated argument.
19036 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19038 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19039 # DIR into the resulting binary.
19040 hardcode_direct=$hardcode_direct
19042 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19043 # DIR into the resulting binary and the resulting library dependency is
19044 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19045 # library is relocated.
19046 hardcode_direct_absolute=$hardcode_direct_absolute
19048 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19049 # into the resulting binary.
19050 hardcode_minus_L=$hardcode_minus_L
19052 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19053 # into the resulting binary.
19054 hardcode_shlibpath_var=$hardcode_shlibpath_var
19056 # Set to "yes" if building a shared library automatically hardcodes DIR
19057 # into the library and all subsequent libraries and executables linked
19059 hardcode_automatic=$hardcode_automatic
19061 # Set to yes if linker adds runtime paths of dependent libraries
19062 # to runtime path list.
19063 inherit_rpath=$inherit_rpath
19065 # Whether libtool must link a program against all its dependency libraries.
19066 link_all_deplibs=$link_all_deplibs
19068 # Set to "yes" if exported symbols are required.
19069 always_export_symbols=$always_export_symbols
19071 # The commands to list exported symbols.
19072 export_symbols_cmds=$lt_export_symbols_cmds
19074 # Symbols that should not be listed in the preloaded symbols.
19075 exclude_expsyms=$lt_exclude_expsyms
19077 # Symbols that must always be exported.
19078 include_expsyms=$lt_include_expsyms
19080 # Commands necessary for linking programs (against libraries) with templates.
19081 prelink_cmds=$lt_prelink_cmds
19083 # Commands necessary for finishing linking programs.
19084 postlink_cmds=$lt_postlink_cmds
19086 # Specify filename containing input files.
19087 file_list_spec=$lt_file_list_spec
19089 # How to hardcode a shared library path into an executable.
19090 hardcode_action=$hardcode_action
19092 # ### END LIBTOOL CONFIG
19098 cat <<\_LT_EOF
>> "$cfgfile"
19099 # AIX sometimes has problems with the GCC collect2 program. For some
19100 # reason, if we set the COLLECT_NAMES environment variable, the problems
19101 # vanish in a puff of smoke.
19102 if test "X${COLLECT_NAMES+set}" != Xset
; then
19104 export COLLECT_NAMES
19111 ltmain
="$ac_aux_dir/ltmain.sh"
19114 # We use sed instead of cat because bash on DJGPP gets confused if
19115 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19116 # text mode, it properly converts lines to CR/LF. This bash problem
19117 # is reportedly fixed, but why not run on old versions too?
19118 sed '$q' "$ltmain" >> "$cfgfile" \
19119 ||
(rm -f "$cfgfile"; exit 1)
19121 if test x
"$xsi_shell" = xyes
; then
19122 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19126 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19127 \ * ) func_dirname_result="${3}" ;;\
19129 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19130 && mv -f "$cfgfile.tmp" "$cfgfile" \
19131 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19132 test 0 -eq $? || _lt_function_replace_fail
=:
19135 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19138 \ func_basename_result="${1##*/}"\
19139 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19140 && mv -f "$cfgfile.tmp" "$cfgfile" \
19141 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19142 test 0 -eq $? || _lt_function_replace_fail
=:
19145 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19146 func_dirname_and_basename ()\
19149 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19150 \ * ) func_dirname_result="${3}" ;;\
19152 \ func_basename_result="${1##*/}"\
19153 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19154 && mv -f "$cfgfile.tmp" "$cfgfile" \
19155 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19156 test 0 -eq $? || _lt_function_replace_fail
=:
19159 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19162 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19163 \ # positional parameters, so assign one to ordinary parameter first.\
19164 \ func_stripname_result=${3}\
19165 \ func_stripname_result=${func_stripname_result#"${1}"}\
19166 \ func_stripname_result=${func_stripname_result%"${2}"}\
19167 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19168 && mv -f "$cfgfile.tmp" "$cfgfile" \
19169 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19170 test 0 -eq $? || _lt_function_replace_fail
=:
19173 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19174 func_split_long_opt ()\
19176 \ func_split_long_opt_name=${1%%=*}\
19177 \ func_split_long_opt_arg=${1#*=}\
19178 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19179 && mv -f "$cfgfile.tmp" "$cfgfile" \
19180 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19181 test 0 -eq $? || _lt_function_replace_fail
=:
19184 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19185 func_split_short_opt ()\
19187 \ func_split_short_opt_arg=${1#??}\
19188 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19189 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19190 && mv -f "$cfgfile.tmp" "$cfgfile" \
19191 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19192 test 0 -eq $? || _lt_function_replace_fail
=:
19195 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19199 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19200 \ *) func_lo2o_result=${1} ;;\
19202 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19203 && mv -f "$cfgfile.tmp" "$cfgfile" \
19204 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19205 test 0 -eq $? || _lt_function_replace_fail
=:
19208 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19211 func_xform_result=${1%.*}.lo\
19212 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19213 && mv -f "$cfgfile.tmp" "$cfgfile" \
19214 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19215 test 0 -eq $? || _lt_function_replace_fail
=:
19218 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19221 func_arith_result=$(( $* ))\
19222 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19223 && mv -f "$cfgfile.tmp" "$cfgfile" \
19224 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19225 test 0 -eq $? || _lt_function_replace_fail
=:
19228 sed -e '/^func_len ()$/,/^} # func_len /c\
19231 func_len_result=${#1}\
19232 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19233 && mv -f "$cfgfile.tmp" "$cfgfile" \
19234 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19235 test 0 -eq $? || _lt_function_replace_fail
=:
19239 if test x
"$lt_shell_append" = xyes
; then
19240 sed -e '/^func_append ()$/,/^} # func_append /c\
19243 eval "${1}+=\\${2}"\
19244 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19245 && mv -f "$cfgfile.tmp" "$cfgfile" \
19246 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19247 test 0 -eq $? || _lt_function_replace_fail
=:
19250 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19251 func_append_quoted ()\
19253 \ func_quote_for_eval "${2}"\
19254 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19255 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19256 && mv -f "$cfgfile.tmp" "$cfgfile" \
19257 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19258 test 0 -eq $? || _lt_function_replace_fail
=:
19261 # Save a `func_append' function call where possible by direct use of '+='
19262 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19263 && mv -f "$cfgfile.tmp" "$cfgfile" \
19264 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19265 test 0 -eq $? || _lt_function_replace_fail
=:
19267 # Save a `func_append' function call even when '+=' is not available
19268 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19269 && mv -f "$cfgfile.tmp" "$cfgfile" \
19270 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19271 test 0 -eq $? || _lt_function_replace_fail
=:
19274 if test x
"$_lt_function_replace_fail" = x
":"; then
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19276 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19280 mv -f "$cfgfile" "$ofile" ||
19281 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19292 ac_clean_files
=$ac_clean_files_save
19294 test $ac_write_fail = 0 ||
19295 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19298 # configure is writing to config.log, and then calls config.status.
19299 # config.status does its own redirection, appending to config.log.
19300 # Unfortunately, on DOS this fails, as config.log is still kept open
19301 # by configure, so config.status won't be able to write to it; its
19302 # output is simply discarded. So we exec the FD to /dev/null,
19303 # effectively closing config.log, so it can be properly (re)opened and
19304 # appended to by config.status. When coming back to configure, we
19305 # need to make the FD available again.
19306 if test "$no_create" != yes; then
19308 ac_config_status_args
=
19309 test "$silent" = yes &&
19310 ac_config_status_args
="$ac_config_status_args --quiet"
19312 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19314 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19315 # would make configure fail if this is the last instruction.
19316 $ac_cs_success || as_fn_exit
1
19318 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19320 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}