2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $echo works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
289 echo_test_string
=`eval $cmd` &&
290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
299 test "X$echo_testing_string" = "X$echo_test_string"; then
302 # The Solaris, AIX, and Digital Unix default echo programs unquote
303 # backslashes. This makes it impossible to quote backslashes using
304 # echo "$something" | sed 's/\\/\\\\/g'
306 # So, first we look for a working echo in the user's PATH.
308 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
309 for dir
in $PATH /usr
/ucb
; do
311 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
312 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314 test "X$echo_testing_string" = "X$echo_test_string"; then
321 if test "X$echo" = Xecho
; then
322 # We didn't find a better echo, so look for alternatives.
323 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
325 test "X$echo_testing_string" = "X$echo_test_string"; then
326 # This shell has a builtin print -r that does the trick.
328 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
329 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
330 # If we have ksh, try running configure again with it.
331 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
332 export ORIGINAL_CONFIG_SHELL
333 CONFIG_SHELL
=/bin
/ksh
335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
341 test "X$echo_testing_string" = "X$echo_test_string"; then
344 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345 test "X$echo_testing_string" = 'X\t' &&
346 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347 test "X$echo_testing_string" = "X$echo_test_string"; then
348 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
350 SHELL
="$CONFIG_SHELL"
352 echo="$CONFIG_SHELL $0 --fallback-echo"
353 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 echo="$CONFIG_SHELL $0 --fallback-echo"
359 # maybe with a smaller string...
362 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
370 if test "$prev" != 'sed 50q "$0"'; then
371 echo_test_string
=`eval $prev`
372 export echo_test_string
373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375 # Oops. We lost completely, so just stick with echo.
384 # Copy echo and quote the copy suitably for passing to libtool from
385 # the Makefile, instead of quoting the original, which is used later.
387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 tagnames
=${tagnames+${tagnames},}CXX
396 tagnames
=${tagnames+${tagnames},}F77
399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 # so uname gets run too.
401 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
408 ac_default_prefix
=/usr
/local
409 ac_config_libobj_dir
=.
414 SHELL
=${CONFIG_SHELL-/bin/sh}
416 # Maximum number of lines to put in a shell here document.
417 # This variable seems obsolete. It should probably be removed, and
418 # only ac_max_sed_lines should be used.
419 : ${ac_max_here_lines=38}
421 # Identity of this package.
428 # Factoring default headers for most tests.
429 ac_includes_default
="\
432 # include <sys/types.h>
435 # include <sys/stat.h>
446 # if !STDC_HEADERS && HAVE_MEMORY_H
452 # include <strings.h>
455 # include <inttypes.h>
465 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SPL_META_NAME SPL_META_VERSION SPL_META_RELEASE SPL_META_ALIAS SPL_META_DATA SPL_META_AUTHOR SPL_META_LT_CURRENT SPL_META_LT_REVISION SPL_META_LT_AGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE SED EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LICENSE SPL_CONFIG LINUX LINUX_OBJ LINUX_VERSION LINUX_SYMBOLS KERNELMAKE_PARAMS KERNELCPPFLAGS CONFIG_USER_TRUE CONFIG_USER_FALSE CONFIG_KERNEL_TRUE CONFIG_KERNEL_FALSE LIBOBJS LTLIBOBJS'
468 # Initialize some variables set by options.
470 ac_init_version
=false
471 # The variables have the same names as the options, with
472 # dashes changed to underlines.
480 program_transform_name
=s
,x
,x
,
488 # Installation directory options.
489 # These are left unexpanded so users can "make install exec_prefix=/foo"
490 # and all the variables that are supposed to be based on exec_prefix
491 # by default will actually change.
492 # Use braces instead of parens because sh, perl, etc. also accept them.
493 bindir
='${exec_prefix}/bin'
494 sbindir
='${exec_prefix}/sbin'
495 libexecdir
='${exec_prefix}/libexec'
496 datadir
='${prefix}/share'
497 sysconfdir
='${prefix}/etc'
498 sharedstatedir
='${prefix}/com'
499 localstatedir
='${prefix}/var'
500 libdir
='${exec_prefix}/lib'
501 includedir
='${prefix}/include'
502 oldincludedir
='/usr/include'
503 infodir
='${prefix}/info'
504 mandir
='${prefix}/man'
509 # If the previous option needs an argument, assign it.
510 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
516 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
518 # Accept the important Cygnus configure options, so we can diagnose typos.
522 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
524 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
527 -build |
--build |
--buil |
--bui |
--bu)
528 ac_prev
=build_alias
;;
529 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
530 build_alias
=$ac_optarg ;;
532 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
533 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
534 ac_prev
=cache_file
;;
535 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
536 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
537 cache_file
=$ac_optarg ;;
540 cache_file
=config.cache
;;
542 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
544 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
546 datadir
=$ac_optarg ;;
548 -disable-* |
--disable-*)
549 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
552 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
553 { (exit 1); exit 1; }; }
554 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
555 eval "enable_$ac_feature=no" ;;
557 -enable-* |
--enable-*)
558 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
559 # Reject names that are not valid shell variable names.
560 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
561 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
562 { (exit 1); exit 1; }; }
563 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
565 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568 eval "enable_$ac_feature='$ac_optarg'" ;;
570 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
571 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
572 |
--exec |
--exe |
--ex)
573 ac_prev
=exec_prefix
;;
574 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
575 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
576 |
--exec=* |
--exe=* |
--ex=*)
577 exec_prefix
=$ac_optarg ;;
579 -gas |
--gas |
--ga |
--g)
580 # Obsolete; use --with-gas.
583 -help |
--help |
--hel |
--he |
-h)
585 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
586 ac_init_help
=recursive
;;
587 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
588 ac_init_help
=short
;;
590 -host |
--host |
--hos |
--ho)
591 ac_prev
=host_alias
;;
592 -host=* |
--host=* |
--hos=* |
--ho=*)
593 host_alias
=$ac_optarg ;;
595 -includedir |
--includedir |
--includedi |
--included |
--include \
596 |
--includ |
--inclu |
--incl |
--inc)
597 ac_prev
=includedir
;;
598 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
599 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
600 includedir
=$ac_optarg ;;
602 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
604 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
605 infodir
=$ac_optarg ;;
607 -libdir |
--libdir |
--libdi |
--libd)
609 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
612 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
613 |
--libexe |
--libex |
--libe)
614 ac_prev
=libexecdir
;;
615 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
616 |
--libexe=* |
--libex=* |
--libe=*)
617 libexecdir
=$ac_optarg ;;
619 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
620 |
--localstate |
--localstat |
--localsta |
--localst \
621 |
--locals |
--local |
--loca |
--loc |
--lo)
622 ac_prev
=localstatedir
;;
623 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
624 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
625 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
626 localstatedir
=$ac_optarg ;;
628 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
630 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
634 # Obsolete; use --without-fp.
637 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
638 |
--no-cr |
--no-c |
-n)
641 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
642 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
645 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
646 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
647 |
--oldin |
--oldi |
--old |
--ol |
--o)
648 ac_prev
=oldincludedir
;;
649 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
650 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
651 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
652 oldincludedir
=$ac_optarg ;;
654 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
656 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
659 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
660 |
--program-pre |
--program-pr |
--program-p)
661 ac_prev
=program_prefix
;;
662 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
663 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
664 program_prefix
=$ac_optarg ;;
666 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
667 |
--program-suf |
--program-su |
--program-s)
668 ac_prev
=program_suffix
;;
669 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
670 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
671 program_suffix
=$ac_optarg ;;
673 -program-transform-name |
--program-transform-name \
674 |
--program-transform-nam |
--program-transform-na \
675 |
--program-transform-n |
--program-transform- \
676 |
--program-transform |
--program-transfor \
677 |
--program-transfo |
--program-transf \
678 |
--program-trans |
--program-tran \
679 |
--progr-tra |
--program-tr |
--program-t)
680 ac_prev
=program_transform_name
;;
681 -program-transform-name=* |
--program-transform-name=* \
682 |
--program-transform-nam=* |
--program-transform-na=* \
683 |
--program-transform-n=* |
--program-transform-=* \
684 |
--program-transform=* |
--program-transfor=* \
685 |
--program-transfo=* |
--program-transf=* \
686 |
--program-trans=* |
--program-tran=* \
687 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
688 program_transform_name
=$ac_optarg ;;
690 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
691 |
-silent |
--silent |
--silen |
--sile |
--sil)
694 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
696 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
698 sbindir
=$ac_optarg ;;
700 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
701 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
702 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
704 ac_prev
=sharedstatedir
;;
705 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
706 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
707 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
709 sharedstatedir
=$ac_optarg ;;
711 -site |
--site |
--sit)
713 -site=* |
--site=* |
--sit=*)
716 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
718 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
721 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
722 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
723 ac_prev
=sysconfdir
;;
724 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
725 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
726 sysconfdir
=$ac_optarg ;;
728 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
729 ac_prev
=target_alias
;;
730 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
731 target_alias
=$ac_optarg ;;
733 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
736 -version |
--version |
--versio |
--versi |
--vers |
-V)
740 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
741 # Reject names that are not valid shell variable names.
742 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
743 { echo "$as_me: error: invalid package name: $ac_package" >&2
744 { (exit 1); exit 1; }; }
745 ac_package
=`echo $ac_package| sed 's/-/_/g'`
747 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750 eval "with_$ac_package='$ac_optarg'" ;;
752 -without-* |
--without-*)
753 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
756 { echo "$as_me: error: invalid package name: $ac_package" >&2
757 { (exit 1); exit 1; }; }
758 ac_package
=`echo $ac_package | sed 's/-/_/g'`
759 eval "with_$ac_package=no" ;;
762 # Obsolete; use --with-x.
765 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
766 |
--x-incl |
--x-inc |
--x-in |
--x-i)
767 ac_prev
=x_includes
;;
768 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
769 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
770 x_includes
=$ac_optarg ;;
772 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
773 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
774 ac_prev
=x_libraries
;;
775 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
776 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
777 x_libraries
=$ac_optarg ;;
779 -*) { echo "$as_me: error: unrecognized option: $ac_option
780 Try \`$0 --help' for more information." >&2
781 { (exit 1); exit 1; }; }
785 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
788 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
789 { (exit 1); exit 1; }; }
790 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
791 eval "$ac_envvar='$ac_optarg'"
795 # FIXME: should be removed in autoconf 3.0.
796 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
797 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
798 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
799 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
805 if test -n "$ac_prev"; then
806 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
807 { echo "$as_me: error: missing argument to $ac_option" >&2
808 { (exit 1); exit 1; }; }
811 # Be sure to have absolute paths.
812 for ac_var
in exec_prefix prefix
814 eval ac_val
=$
`echo $ac_var`
816 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
817 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
818 { (exit 1); exit 1; }; };;
822 # Be sure to have absolute paths.
823 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
824 localstatedir libdir includedir oldincludedir infodir mandir
826 eval ac_val
=$
`echo $ac_var`
828 [\\/$
]* | ?
:[\\/]* ) ;;
829 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
830 { (exit 1); exit 1; }; };;
834 # There might be people who depend on the old broken behavior: `$host'
835 # used to hold the argument of --host etc.
836 # FIXME: To remove some day.
841 # FIXME: To remove some day.
842 if test "x$host_alias" != x
; then
843 if test "x$build_alias" = x
; then
844 cross_compiling
=maybe
845 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
846 If a cross compiler is detected then cross compile mode will be used." >&2
847 elif test "x$build_alias" != "x$host_alias"; then
853 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
855 test "$silent" = yes && exec 6>/dev
/null
858 # Find the source files, if location was not specified.
859 if test -z "$srcdir"; then
860 ac_srcdir_defaulted
=yes
861 # Try the directory containing this script, then its parent.
862 ac_confdir
=`(dirname "$0") 2>/dev/null ||
863 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
864 X"$0" : 'X\(//\)[^/]' \| \
865 X"$0" : 'X\(//\)$' \| \
866 X"$0" : 'X\(/\)' \| \
867 . : '\(.\)' 2>/dev/null ||
869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
871 /^X\(\/\/\)$/{ s//\1/; q; }
872 /^X\(\/\).*/{ s//\1/; q; }
875 if test ! -r $srcdir/$ac_unique_file; then
879 ac_srcdir_defaulted
=no
881 if test ! -r $srcdir/$ac_unique_file; then
882 if test "$ac_srcdir_defaulted" = yes; then
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
884 { (exit 1); exit 1; }; }
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
887 { (exit 1); exit 1; }; }
890 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
891 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
892 { (exit 1); exit 1; }; }
893 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
894 ac_env_build_alias_set
=${build_alias+set}
895 ac_env_build_alias_value
=$build_alias
896 ac_cv_env_build_alias_set
=${build_alias+set}
897 ac_cv_env_build_alias_value
=$build_alias
898 ac_env_host_alias_set
=${host_alias+set}
899 ac_env_host_alias_value
=$host_alias
900 ac_cv_env_host_alias_set
=${host_alias+set}
901 ac_cv_env_host_alias_value
=$host_alias
902 ac_env_target_alias_set
=${target_alias+set}
903 ac_env_target_alias_value
=$target_alias
904 ac_cv_env_target_alias_set
=${target_alias+set}
905 ac_cv_env_target_alias_value
=$target_alias
906 ac_env_CC_set
=${CC+set}
908 ac_cv_env_CC_set
=${CC+set}
909 ac_cv_env_CC_value
=$CC
910 ac_env_CFLAGS_set
=${CFLAGS+set}
911 ac_env_CFLAGS_value
=$CFLAGS
912 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
913 ac_cv_env_CFLAGS_value
=$CFLAGS
914 ac_env_LDFLAGS_set
=${LDFLAGS+set}
915 ac_env_LDFLAGS_value
=$LDFLAGS
916 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
917 ac_cv_env_LDFLAGS_value
=$LDFLAGS
918 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
919 ac_env_CPPFLAGS_value
=$CPPFLAGS
920 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
921 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
922 ac_env_CPP_set
=${CPP+set}
923 ac_env_CPP_value
=$CPP
924 ac_cv_env_CPP_set
=${CPP+set}
925 ac_cv_env_CPP_value
=$CPP
926 ac_env_CXX_set
=${CXX+set}
927 ac_env_CXX_value
=$CXX
928 ac_cv_env_CXX_set
=${CXX+set}
929 ac_cv_env_CXX_value
=$CXX
930 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
931 ac_env_CXXFLAGS_value
=$CXXFLAGS
932 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
933 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
934 ac_env_CXXCPP_set
=${CXXCPP+set}
935 ac_env_CXXCPP_value
=$CXXCPP
936 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
937 ac_cv_env_CXXCPP_value
=$CXXCPP
938 ac_env_F77_set
=${F77+set}
939 ac_env_F77_value
=$F77
940 ac_cv_env_F77_set
=${F77+set}
941 ac_cv_env_F77_value
=$F77
942 ac_env_FFLAGS_set
=${FFLAGS+set}
943 ac_env_FFLAGS_value
=$FFLAGS
944 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
945 ac_cv_env_FFLAGS_value
=$FFLAGS
948 # Report the --help message.
950 if test "$ac_init_help" = "long"; then
951 # Omit some internal or obsolete options to make the list less imposing.
952 # This message is too long to be a string in the A/UX 3.1 sh.
954 \`configure' configures this package to adapt to many kinds of systems.
956 Usage: $0 [OPTION]... [VAR=VALUE]...
958 To assign environment variables (e.g., CC, CFLAGS...), specify them as
959 VAR=VALUE. See below for descriptions of some of the useful variables.
961 Defaults for the options are specified in brackets.
964 -h, --help display this help and exit
965 --help=short display options specific to this package
966 --help=recursive display the short help of all the included packages
967 -V, --version display version information and exit
968 -q, --quiet, --silent do not print \`checking...' messages
969 --cache-file=FILE cache test results in FILE [disabled]
970 -C, --config-cache alias for \`--cache-file=config.cache'
971 -n, --no-create do not create output files
972 --srcdir=DIR find the sources in DIR [configure dir or \`..']
977 Installation directories:
978 --prefix=PREFIX install architecture-independent files in PREFIX
980 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
983 By default, \`make install' will install all the files in
984 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
985 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
986 for instance \`--prefix=\$HOME'.
988 For better control, use the options below.
990 Fine tuning of the installation directories:
991 --bindir=DIR user executables [EPREFIX/bin]
992 --sbindir=DIR system admin executables [EPREFIX/sbin]
993 --libexecdir=DIR program executables [EPREFIX/libexec]
994 --datadir=DIR read-only architecture-independent data [PREFIX/share]
995 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
996 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
997 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
998 --libdir=DIR object code libraries [EPREFIX/lib]
999 --includedir=DIR C header files [PREFIX/include]
1000 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1001 --infodir=DIR info documentation [PREFIX/info]
1002 --mandir=DIR man documentation [PREFIX/man]
1008 --program-prefix=PREFIX prepend PREFIX to installed program names
1009 --program-suffix=SUFFIX append SUFFIX to installed program names
1010 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1013 --build=BUILD configure
for building on BUILD
[guessed
]
1014 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1015 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1019 if test -n "$ac_init_help"; then
1024 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1025 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1026 --enable-maintainer-mode enable make rules and dependencies not useful
1027 (and sometimes confusing
) to the casual installer
1028 --disable-dependency-tracking speeds up one-time build
1029 --enable-dependency-tracking do not reject slow dependency extractors
1030 --enable-shared[=PKGS
]
1031 build shared libraries
[default
=yes]
1032 --enable-static[=PKGS
]
1033 build static libraries
[default
=yes]
1034 --enable-fast-install[=PKGS
]
1035 optimize
for fast installation
[default
=yes]
1036 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1037 --enable-debug Enable generic debug support
(default off
)
1038 --enable-debug-kmem Enable kmem debug support
(default off
)
1039 --enable-debug-mutex Enable mutex debug support
(default off
)
1040 --enable-debug-kstat Enable kstat debug support
(default off
)
1041 --enable-debug-callb Enable callb debug support
(default off
)
1044 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1045 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1046 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1047 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1050 include additional configurations
[automatic
]
1051 --with-config=CONFIG Config
file 'kernel|user|all'
1052 --with-linux=PATH Path to kernel
source
1053 --with-linux-obj=PATH Path to kernel build objects
1055 Some influential environment variables
:
1056 CC C compiler
command
1057 CFLAGS C compiler flags
1058 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1059 nonstandard directory
<lib dir
>
1060 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1061 headers
in a nonstandard directory
<include dir
>
1063 CXX C
++ compiler
command
1064 CXXFLAGS C
++ compiler flags
1065 CXXCPP C
++ preprocessor
1066 F77 Fortran
77 compiler
command
1067 FFLAGS Fortran
77 compiler flags
1069 Use these variables to override the choices made by
`configure' or to help
1070 it to find libraries and programs with nonstandard names/locations.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1106 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1107 # the directories may not exist.
1109 .) ac_abs_builddir="$ac_dir";;
1112 .) ac_abs_builddir=`pwd`;;
1113 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1114 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1117 case $ac_abs_builddir in
1118 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1120 case ${ac_top_builddir}. in
1121 .) ac_abs_top_builddir=$ac_abs_builddir;;
1122 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1123 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1126 case $ac_abs_builddir in
1127 .) ac_abs_srcdir=$ac_srcdir;;
1130 .) ac_abs_srcdir=$ac_abs_builddir;;
1131 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1132 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1135 case $ac_abs_builddir in
1136 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1138 case $ac_top_srcdir in
1139 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1141 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1146 # Check for guested configure; otherwise get Cygnus style configure.
1147 if test -f $ac_srcdir/configure.gnu; then
1149 $SHELL $ac_srcdir/configure.gnu --help=recursive
1150 elif test -f $ac_srcdir/configure; then
1152 $SHELL $ac_srcdir/configure --help=recursive
1153 elif test -f $ac_srcdir/configure.ac ||
1154 test -f $ac_srcdir/configure.in; then
1156 $ac_configure --help
1158 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1164 test -n "$ac_init_help" && exit 0
1165 if $ac_init_version; then
1168 Copyright (C) 2003 Free Software Foundation, Inc.
1169 This configure script is free software; the Free Software Foundation
1170 gives unlimited permission to copy, distribute and modify it.
1176 This file contains any messages produced by compilers while
1177 running configure, to aid debugging if configure makes a mistake.
1179 It was created by $as_me, which was
1180 generated by GNU Autoconf 2.59. Invocation command line was
1191 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1192 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1193 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1194 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1195 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1197 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1198 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1200 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1201 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1202 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1203 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1204 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1205 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1206 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1214 test -z "$as_dir" && as_dir=.
1215 echo "PATH: $as_dir"
1230 # Keep a trace of the command line.
1231 # Strip out --no-create and --no-recursion so they do not pile up.
1232 # Strip out --silent because we don't want to record it for future runs.
1233 # Also quote any args containing shell meta-characters.
1234 # Make two passes to allow for proper duplicate-argument suppression.
1239 ac_must_keep_next=false
1245 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1247 | -silent | --silent | --silen | --sile | --sil)
1249 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1250 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1253 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1255 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1256 if test $ac_must_keep_next = true; then
1257 ac_must_keep_next=false # Got value, back to normal.
1260 *=* | --config-cache | -C | -disable-* | --disable-* \
1261 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1262 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1263 | -with-* | --with-* | -without-* | --without-* | --x)
1264 case "$ac_configure_args0 " in
1265 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1268 -* ) ac_must_keep_next=true ;;
1271 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1272 # Get rid of the leading space.
1278 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1279 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1281 # When interrupted or exit'd, cleanup temporary files, and complete
1282 # config.log. We remove comments because anyway the quotes in there
1283 # would cause problems or look ugly.
1284 # WARNING: Be sure not to use single quotes in there, as some shells,
1285 # such as our DU 5.0 friend, will then `close
' the trap.
1286 trap 'exit_status
=$?
1287 # Save into config.log some information that might help in debugging.
1292 ## ---------------- ##
1293 ## Cache variables. ##
1294 ## ---------------- ##
1297 # The following way of writing the cache mishandles newlines in values,
1300 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1303 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1308 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1315 ## ----------------- ##
1316 ## Output variables. ##
1317 ## ----------------- ##
1320 for ac_var
in $ac_subst_vars
1322 eval ac_val
=$
`echo $ac_var`
1323 echo "$ac_var='"'"'$ac_val'"'"'"
1327 if test -n "$ac_subst_files"; then
1334 for ac_var
in $ac_subst_files
1336 eval ac_val
=$
`echo $ac_var`
1337 echo "$ac_var='"'"'$ac_val'"'"'"
1342 if test -s confdefs.h
; then
1349 sed "/^$/d" confdefs.h |
sort
1352 test "$ac_signal" != 0 &&
1353 echo "$as_me: caught signal $ac_signal"
1354 echo "$as_me: exit $exit_status"
1356 rm -f core
*.core
&&
1357 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1360 for ac_signal in 1 2 13 15; do
1361 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1365 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1366 rm -rf conftest* confdefs.h
1367 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1370 # Predefined preprocessor variables.
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_NAME "$PACKAGE_NAME"
1377 cat >>confdefs.h <<_ACEOF
1378 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1387 cat >>confdefs.h <<_ACEOF
1388 #define PACKAGE_STRING "$PACKAGE_STRING"
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1397 # Let the site file select an alternate cache file if it wants to.
1398 # Prefer explicitly selected file to automatically selected ones.
1399 if test -z "$CONFIG_SITE"; then
1400 if test "x$prefix" != xNONE; then
1401 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1403 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1406 for ac_site_file in $CONFIG_SITE; do
1407 if test -r "$ac_site_file"; then
1408 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1409 echo "$as_me: loading site script $ac_site_file" >&6;}
1410 sed 's
/^
/|
/' "$ac_site_file" >&5
1415 if test -r "$cache_file"; then
1416 # Some versions of bash will fail to source /dev/null (special
1417 # files actually), so we avoid doing that.
1418 if test -f "$cache_file"; then
1419 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1420 echo "$as_me: loading cache $cache_file" >&6;}
1422 [\\/]* | ?:[\\/]* ) . $cache_file;;
1423 *) . ./$cache_file;;
1427 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1428 echo "$as_me: creating cache $cache_file" >&6;}
1432 # Check that the precious variables saved in the cache have kept the same
1434 ac_cache_corrupted=false
1435 for ac_var in `(set) 2>&1 |
1436 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1437 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1438 eval ac_new_set=\$ac_env_${ac_var}_set
1439 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1440 eval ac_new_val="\$ac_env_${ac_var}_value"
1441 case $ac_old_set,$ac_new_set in
1443 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1444 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1445 ac_cache_corrupted=: ;;
1447 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1448 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1449 ac_cache_corrupted=: ;;
1452 if test "x$ac_old_val" != "x$ac_new_val"; then
1453 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1454 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1455 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1456 echo "$as_me: former value: $ac_old_val" >&2;}
1457 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1458 echo "$as_me: current value: $ac_new_val" >&2;}
1459 ac_cache_corrupted=:
1462 # Pass precious variables to config.status.
1463 if test "$ac_new_set" = set; then
1465 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1466 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1467 *) ac_arg=$ac_var=$ac_new_val ;;
1469 case " $ac_configure_args " in
1470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1471 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1475 if $ac_cache_corrupted; then
1476 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1477 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1478 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1479 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1480 { (exit 1); exit 1; }; }
1484 ac_cpp='$CPP $CPPFLAGS'
1485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1486 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1508 ac_cpp='$CPP $CPPFLAGS'
1509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1510 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1514 echo "$as_me:$LINENO: checking metadata" >&5
1515 echo $ECHO_N "checking metadata... $ECHO_C" >&6
1518 _spl_ac_meta_got_file=no
1519 if test -f "$META"; then
1520 _spl_ac_meta_got_file=yes
1522 SPL_META_NAME=`perl -n\
1523 -e "BEGIN { \\$key=shift @ARGV; }"\
1524 -e "next unless s/^\s*\\$key[:=]//i;"\
1525 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
1528 -e "s/^(['\"])(.*)\1/\\$2/;"\
1530 -e "END { print \\$val if defined \\$val; }"\
1531 '(?:NAME|PROJECT|PACKAGE)' $META`;
1532 if test -n "$SPL_META_NAME"; then
1534 cat >>confdefs.h <<_ACEOF
1535 #define SPL_META_NAME "$SPL_META_NAME"
1541 SPL_META_VERSION=`perl
-n\
1542 -e "BEGIN { \\$key=shift @ARGV; }"\
1543 -e "next unless s/^\s*\\$key[:=]//i;"\
1544 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
1547 -e "s/^(['\"])(.*)\1/\\$2/;"\
1549 -e "END { print \\$val if defined \\$val; }"\
1551 if test -n "$SPL_META_VERSION"; then
1553 cat >>confdefs.h <<_ACEOF
1554 #define SPL_META_VERSION "$SPL_META_VERSION"
1560 SPL_META_RELEASE=`perl
-n\
1561 -e "BEGIN { \\$key=shift @ARGV; }"\
1562 -e "next unless s/^\s*\\$key[:=]//i;"\
1563 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
1566 -e "s/^(['\"])(.*)\1/\\$2/;"\
1568 -e "END { print \\$val if defined \\$val; }"\
1570 if test -n "$SPL_META_RELEASE"; then
1572 cat >>confdefs.h <<_ACEOF
1573 #define SPL_META_RELEASE "$SPL_META_RELEASE"
1579 if test -n "$SPL_META_NAME" -a -n "$SPL_META_VERSION"; then
1580 SPL_META_ALIAS="$SPL_META_NAME-$SPL_META_VERSION"
1581 test -n "$SPL_META_RELEASE" &&
1582 SPL_META_ALIAS="$SPL_META_ALIAS-$SPL_META_RELEASE"
1584 cat >>confdefs.h <<_ACEOF
1585 #define SPL_META_ALIAS "$SPL_META_ALIAS"
1591 SPL_META_DATA=`perl
-n\
1592 -e "BEGIN { \\$key=shift @ARGV; }"\
1593 -e "next unless s/^\s*\\$key[:=]//i;"\
1594 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
1597 -e "s/^(['\"])(.*)\1/\\$2/;"\
1599 -e "END { print \\$val if defined \\$val; }"\
1601 if test -n "$SPL_META_DATA"; then
1603 cat >>confdefs.h <<_ACEOF
1604 #define SPL_META_DATA "$SPL_META_DATA"
1610 SPL_META_AUTHOR=`perl
-n\
1611 -e "BEGIN { \\$key=shift @ARGV; }"\
1612 -e "next unless s/^\s*\\$key[:=]//i;"\
1613 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
1616 -e "s/^(['\"])(.*)\1/\\$2/;"\
1618 -e "END { print \\$val if defined \\$val; }"\
1620 if test -n "$SPL_META_AUTHOR"; then
1622 cat >>confdefs.h <<_ACEOF
1623 #define SPL_META_AUTHOR "$SPL_META_AUTHOR"
1630 SPL_META_LT_CURRENT=`perl
-n\
1631 -e "BEGIN { \\$key=shift @ARGV; }"\
1632 -e "next unless s/^\s*\\$key[:=]//i;"\
1633 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
1636 -e "s/^(['\"])(.*)\1/\\$2/;"\
1638 -e "END { print \\$val if defined \\$val; }"\
1639 'LT_CURRENT' $META`;
1640 SPL_META_LT_REVISION=`perl
-n\
1641 -e "BEGIN { \\$key=shift @ARGV; }"\
1642 -e "next unless s/^\s*\\$key[:=]//i;"\
1643 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
1646 -e "s/^(['\"])(.*)\1/\\$2/;"\
1648 -e "END { print \\$val if defined \\$val; }"\
1649 'LT_REVISION' $META`;
1650 SPL_META_LT_AGE=`perl
-n\
1651 -e "BEGIN { \\$key=shift @ARGV; }"\
1652 -e "next unless s/^\s*\\$key[:=]//i;"\
1653 -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
1656 -e "s/^(['\"])(.*)\1/\\$2/;"\
1658 -e "END { print \\$val if defined \\$val; }"\
1660 if test -n "$SPL_META_LT_CURRENT" \
1661 -o -n "$SPL_META_LT_REVISION" \
1662 -o -n "$SPL_META_LT_AGE"; then
1663 test -n "$SPL_META_LT_CURRENT" || SPL_META_LT_CURRENT="0"
1664 test -n "$SPL_META_LT_REVISION" || SPL_META_LT_REVISION="0"
1665 test -n "$SPL_META_LT_AGE" || SPL_META_LT_AGE="0"
1667 cat >>confdefs.h <<_ACEOF
1668 #define SPL_META_LT_CURRENT "$SPL_META_LT_CURRENT"
1672 cat >>confdefs.h <<_ACEOF
1673 #define SPL_META_LT_REVISION "$SPL_META_LT_REVISION"
1677 cat >>confdefs.h <<_ACEOF
1678 #define SPL_META_LT_AGE "$SPL_META_LT_AGE"
1687 echo "$as_me:$LINENO: result: $_spl_ac_meta_got_file" >&5
1688 echo "${ECHO_T}$_spl_ac_meta_got_file" >&6
1692 for ac_dir in config $srcdir/config; do
1693 if test -f $ac_dir/install-sh; then
1695 ac_install_sh="$ac_aux_dir/install-sh -c"
1697 elif test -f $ac_dir/install.sh; then
1699 ac_install_sh="$ac_aux_dir/install.sh -c"
1701 elif test -f $ac_dir/shtool; then
1703 ac_install_sh="$ac_aux_dir/shtool install -c"
1707 if test -z "$ac_aux_dir"; then
1708 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1709 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1710 { (exit 1); exit 1; }; }
1712 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1713 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1714 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1716 # Make sure we can run config.sub.
1717 $ac_config_sub sun4 >/dev/null 2>&1 ||
1718 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1719 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1720 { (exit 1); exit 1; }; }
1722 echo "$as_me:$LINENO: checking build system type" >&5
1723 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1724 if test "${ac_cv_build+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 ac_cv_build_alias=$build_alias
1728 test -z "$ac_cv_build_alias" &&
1729 ac_cv_build_alias=`$ac_config_guess`
1730 test -z "$ac_cv_build_alias" &&
1731 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1732 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1733 { (exit 1); exit 1; }; }
1734 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1735 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1736 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1737 { (exit 1); exit 1; }; }
1740 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1741 echo "${ECHO_T}$ac_cv_build" >&6
1743 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1744 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1745 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748 echo "$as_me:$LINENO: checking host system type" >&5
1749 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1750 if test "${ac_cv_host+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 ac_cv_host_alias=$host_alias
1754 test -z "$ac_cv_host_alias" &&
1755 ac_cv_host_alias=$ac_cv_build_alias
1756 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1757 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1758 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1759 { (exit 1); exit 1; }; }
1762 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1763 echo "${ECHO_T}$ac_cv_host" >&6
1765 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1766 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1767 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770 echo "$as_me:$LINENO: checking target system type" >&5
1771 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1772 if test "${ac_cv_target+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 ac_cv_target_alias=$target_alias
1776 test "x$ac_cv_target_alias" = "x" &&
1777 ac_cv_target_alias=$ac_cv_host_alias
1778 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1779 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1780 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1781 { (exit 1); exit 1; }; }
1784 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1785 echo "${ECHO_T}$ac_cv_target" >&6
1786 target=$ac_cv_target
1787 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1788 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1789 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792 # The aliases save the names the user supplied, while $host etc.
1793 # will get canonicalized.
1794 test -n "$target_alias" &&
1795 test "$program_prefix$program_suffix$program_transform_name" = \
1797 program_prefix=${target_alias}-
1798 am__api_version="1.9"
1799 # Find a good install program. We prefer a C program (faster),
1800 # so one script is as good as another. But avoid the broken or
1801 # incompatible versions:
1802 # SysV /etc/install, /usr/sbin/install
1803 # SunOS /usr/etc/install
1804 # IRIX /sbin/install
1806 # AmigaOS /C/install, which installs bootblocks on floppy discs
1807 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1808 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1809 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1810 # OS/2's system install, which has a completely different semantic
1811 # ./install, which can be erroneously created by make from ./install.sh.
1812 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1813 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1814 if test -z "$INSTALL"; then
1815 if test "${ac_cv_path_install+set}" = set; then
1816 echo $ECHO_N "(cached) $ECHO_C" >&6
1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1822 test -z "$as_dir" && as_dir=.
1823 # Account for people who put trailing slashes in PATH elements.
1825 ./ | .// | /cC/* | \
1826 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1827 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1830 # OSF1 and SCO ODT 3.0 have their own names for install.
1831 # Don't use installbsd from OSF since it installs stuff as root
1833 for ac_prog in ginstall scoinst install; do
1834 for ac_exec_ext in '' $ac_executable_extensions; do
1835 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1836 if test $ac_prog = install &&
1837 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1838 # AIX install. It has an incompatible calling convention.
1840 elif test $ac_prog = install &&
1841 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1842 # program-specific install script used by HP pwplus--don't use.
1845 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1857 if test "${ac_cv_path_install+set}" = set; then
1858 INSTALL=$ac_cv_path_install
1860 # As a last resort, use the slow shell script. We don't cache a
1861 # path for INSTALL within a source directory, because that will
1862 # break other packages using the cache if that directory is
1863 # removed, or if the path is relative.
1864 INSTALL=$ac_install_sh
1867 echo "$as_me:$LINENO: result: $INSTALL" >&5
1868 echo "${ECHO_T}$INSTALL" >&6
1870 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1871 # It thinks the first close brace ends the variable substitution.
1872 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1874 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1876 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1878 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1879 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1882 echo timestamp > conftest.file
1883 # Do `set' in a subshell so we don't clobber the current shell
's
1884 # arguments. Must try -L first in case configure is actually a
1885 # symlink; some systems play weird games with the mod time of symlinks
1886 # (eg FreeBSD returns the mod time of the symlink's containing
1889 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1890 if test "$*" = "X"; then
1892 set X
`ls -t $srcdir/configure conftest.file`
1895 if test "$*" != "X $srcdir/configure conftest.file" \
1896 && test "$*" != "X conftest.file $srcdir/configure"; then
1898 # If neither matched, then we have a broken ls. This can happen
1899 # if, for instance, CONFIG_SHELL is bash and it inherits a
1900 # broken ls alias from the environment. This has actually
1901 # happened. Such a system could not be considered "sane".
1902 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1903 alias in your environment" >&5
1904 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1905 alias in your environment" >&2;}
1906 { (exit 1); exit 1; }; }
1909 test "$2" = conftest.
file
1915 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1916 Check your system clock" >&5
1917 echo "$as_me: error: newly created file is older than distributed files!
1918 Check your system clock" >&2;}
1919 { (exit 1); exit 1; }; }
1921 echo "$as_me:$LINENO: result: yes" >&5
1922 echo "${ECHO_T}yes" >&6
1923 test "$program_prefix" != NONE
&&
1924 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1925 # Use a double $ so make ignores it.
1926 test "$program_suffix" != NONE
&&
1927 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1928 # Double any \ or $. echo might interpret backslashes.
1929 # By default was `s,x,x', remove it if useless.
1930 cat <<\_ACEOF
>conftest.
sed
1931 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1933 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1936 # expand $ac_aux_dir to an absolute path
1937 am_aux_dir
=`cd $ac_aux_dir && pwd`
1939 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1940 # Use eval to expand $SHELL
1941 if eval "$MISSING --run true"; then
1942 am_missing_run
="$MISSING --run "
1945 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1946 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1949 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1950 # We used to keeping the `.' as first argument, in order to
1951 # allow $(mkdir_p) to be used without argument. As in
1952 # $(mkdir_p) $(somedir)
1953 # where $(somedir) is conditionally defined. However this is wrong
1955 # 1. if the package is installed by a user who cannot write `.'
1956 # make install will fail,
1957 # 2. the above comment should most certainly read
1958 # $(mkdir_p) $(DESTDIR)$(somedir)
1959 # so it does not work when $(somedir) is undefined and
1960 # $(DESTDIR) is not.
1961 # To support the latter case, we have to write
1962 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1963 # so the `.' trick is pointless.
1964 mkdir_p
='mkdir -p --'
1966 # On NextStep and OpenStep, the `mkdir' command does not
1967 # recognize any option. It will interpret all options as
1968 # directories to create, and then abort because `.' already
1970 for d
in .
/-p .
/--version;
1972 test -d $d && rmdir $d
1974 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1975 if test -f "$ac_aux_dir/mkinstalldirs"; then
1976 mkdir_p
='$(mkinstalldirs)'
1978 mkdir_p
='$(install_sh) -d'
1982 for ac_prog
in gawk mawk nawk
awk
1984 # Extract the first word of "$ac_prog", so it can be a program name with args.
1985 set dummy
$ac_prog; ac_word
=$2
1986 echo "$as_me:$LINENO: checking for $ac_word" >&5
1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1988 if test "${ac_cv_prog_AWK+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 if test -n "$AWK"; then
1992 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir
=.
1999 for ac_exec_ext
in '' $ac_executable_extensions; do
2000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2001 ac_cv_prog_AWK
="$ac_prog"
2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2011 if test -n "$AWK"; then
2012 echo "$as_me:$LINENO: result: $AWK" >&5
2013 echo "${ECHO_T}$AWK" >&6
2015 echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2019 test -n "$AWK" && break
2022 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2023 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2024 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2025 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 cat >conftest.
make <<\_ACEOF
2030 @
echo 'ac_maketemp="$(MAKE)"'
2032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2033 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2034 if test -n "$ac_maketemp"; then
2035 eval ac_cv_prog_make_
${ac_make}_set
=yes
2037 eval ac_cv_prog_make_
${ac_make}_set
=no
2041 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2042 echo "$as_me:$LINENO: result: yes" >&5
2043 echo "${ECHO_T}yes" >&6
2046 echo "$as_me:$LINENO: result: no" >&5
2047 echo "${ECHO_T}no" >&6
2048 SET_MAKE
="MAKE=${MAKE-make}"
2051 rm -rf .tst
2>/dev
/null
2052 mkdir .tst
2>/dev
/null
2053 if test -d .tst
; then
2058 rmdir .tst
2>/dev
/null
2060 # test to see if srcdir already configured
2061 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2062 test -f $srcdir/config.status
; then
2063 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2064 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2065 { (exit 1); exit 1; }; }
2068 # test whether we have cygpath
2069 if test -z "$CYGPATH_W"; then
2070 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2071 CYGPATH_W
='cygpath -w'
2078 # Define the identity of the package.
2079 PACKAGE
=$SPL_META_NAME
2080 VERSION
=$SPL_META_VERSION
2083 cat >>confdefs.h
<<_ACEOF
2084 #define PACKAGE "$PACKAGE"
2088 cat >>confdefs.h
<<_ACEOF
2089 #define VERSION "$VERSION"
2092 # Some tools Automake needs.
2094 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2097 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2100 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2103 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2106 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2108 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2110 # Installed binaries are usually stripped using `strip' when the user
2111 # run `make install-strip'. However `strip' might not be the right
2112 # tool to use in cross-compilation environments, therefore Automake
2113 # will honor the `STRIP' environment variable to overrule this program.
2114 if test "$cross_compiling" != no
; then
2115 if test -n "$ac_tool_prefix"; then
2116 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2117 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2118 echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2120 if test "${ac_cv_prog_STRIP+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 if test -n "$STRIP"; then
2124 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir
=.
2131 for ac_exec_ext
in '' $ac_executable_extensions; do
2132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2133 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 STRIP
=$ac_cv_prog_STRIP
2143 if test -n "$STRIP"; then
2144 echo "$as_me:$LINENO: result: $STRIP" >&5
2145 echo "${ECHO_T}$STRIP" >&6
2147 echo "$as_me:$LINENO: result: no" >&5
2148 echo "${ECHO_T}no" >&6
2152 if test -z "$ac_cv_prog_STRIP"; then
2154 # Extract the first word of "strip", so it can be a program name with args.
2155 set dummy strip
; ac_word
=$2
2156 echo "$as_me:$LINENO: checking for $ac_word" >&5
2157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2158 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2159 echo $ECHO_N "(cached) $ECHO_C" >&6
2161 if test -n "$ac_ct_STRIP"; then
2162 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2168 test -z "$as_dir" && as_dir
=.
2169 for ac_exec_ext
in '' $ac_executable_extensions; do
2170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2171 ac_cv_prog_ac_ct_STRIP
="strip"
2172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2181 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2182 if test -n "$ac_ct_STRIP"; then
2183 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2184 echo "${ECHO_T}$ac_ct_STRIP" >&6
2186 echo "$as_me:$LINENO: result: no" >&5
2187 echo "${ECHO_T}no" >&6
2192 STRIP
="$ac_cv_prog_STRIP"
2196 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2198 # We need awk for the "check" target. The system "awk" is bad on
2200 # Always define AMTAR for backward compatibility.
2202 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2204 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2210 ac_config_headers
="$ac_config_headers spl_config.h"
2214 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2215 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2216 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2217 if test "${enable_maintainer_mode+set}" = set; then
2218 enableval
="$enable_maintainer_mode"
2219 USE_MAINTAINER_MODE
=$enableval
2221 USE_MAINTAINER_MODE
=no
2223 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2224 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2227 if test $USE_MAINTAINER_MODE = yes; then
2228 MAINTAINER_MODE_TRUE
=
2229 MAINTAINER_MODE_FALSE
='#'
2231 MAINTAINER_MODE_TRUE
='#'
2232 MAINTAINER_MODE_FALSE
=
2235 MAINT
=$MAINTAINER_MODE_TRUE
2239 # Find a good install program. We prefer a C program (faster),
2240 # so one script is as good as another. But avoid the broken or
2241 # incompatible versions:
2242 # SysV /etc/install, /usr/sbin/install
2243 # SunOS /usr/etc/install
2244 # IRIX /sbin/install
2246 # AmigaOS /C/install, which installs bootblocks on floppy discs
2247 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2248 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2249 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2250 # OS/2's system install, which has a completely different semantic
2251 # ./install, which can be erroneously created by make from ./install.sh.
2252 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2253 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2254 if test -z "$INSTALL"; then
2255 if test "${ac_cv_path_install+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir
=.
2263 # Account for people who put trailing slashes in PATH elements.
2265 .
/ | .
// |
/cC
/* | \
2266 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2267 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2270 # OSF1 and SCO ODT 3.0 have their own names for install.
2271 # Don't use installbsd from OSF since it installs stuff as root
2273 for ac_prog
in ginstall scoinst
install; do
2274 for ac_exec_ext
in '' $ac_executable_extensions; do
2275 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2276 if test $ac_prog = install &&
2277 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2278 # AIX install. It has an incompatible calling convention.
2280 elif test $ac_prog = install &&
2281 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2282 # program-specific install script used by HP pwplus--don't use.
2285 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2297 if test "${ac_cv_path_install+set}" = set; then
2298 INSTALL
=$ac_cv_path_install
2300 # As a last resort, use the slow shell script. We don't cache a
2301 # path for INSTALL within a source directory, because that will
2302 # break other packages using the cache if that directory is
2303 # removed, or if the path is relative.
2304 INSTALL
=$ac_install_sh
2307 echo "$as_me:$LINENO: result: $INSTALL" >&5
2308 echo "${ECHO_T}$INSTALL" >&6
2310 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2311 # It thinks the first close brace ends the variable substitution.
2312 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2314 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2316 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2319 ac_cpp
='$CPP $CPPFLAGS'
2320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2323 if test -n "$ac_tool_prefix"; then
2324 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2325 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2326 echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2328 if test "${ac_cv_prog_CC+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 if test -n "$CC"; then
2332 ac_cv_prog_CC
="$CC" # Let the user override the test.
2334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir
=.
2339 for ac_exec_ext
in '' $ac_executable_extensions; do
2340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2341 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 if test -n "$CC"; then
2352 echo "$as_me:$LINENO: result: $CC" >&5
2353 echo "${ECHO_T}$CC" >&6
2355 echo "$as_me:$LINENO: result: no" >&5
2356 echo "${ECHO_T}no" >&6
2360 if test -z "$ac_cv_prog_CC"; then
2362 # Extract the first word of "gcc", so it can be a program name with args.
2363 set dummy gcc
; ac_word
=$2
2364 echo "$as_me:$LINENO: checking for $ac_word" >&5
2365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2366 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 if test -n "$ac_ct_CC"; then
2370 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir
=.
2377 for ac_exec_ext
in '' $ac_executable_extensions; do
2378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2379 ac_cv_prog_ac_ct_CC
="gcc"
2380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2388 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2389 if test -n "$ac_ct_CC"; then
2390 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2391 echo "${ECHO_T}$ac_ct_CC" >&6
2393 echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6
2402 if test -z "$CC"; then
2403 if test -n "$ac_tool_prefix"; then
2404 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2405 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2406 echo "$as_me:$LINENO: checking for $ac_word" >&5
2407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2408 if test "${ac_cv_prog_CC+set}" = set; then
2409 echo $ECHO_N "(cached) $ECHO_C" >&6
2411 if test -n "$CC"; then
2412 ac_cv_prog_CC
="$CC" # Let the user override the test.
2414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2418 test -z "$as_dir" && as_dir
=.
2419 for ac_exec_ext
in '' $ac_executable_extensions; do
2420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2421 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 if test -n "$CC"; then
2432 echo "$as_me:$LINENO: result: $CC" >&5
2433 echo "${ECHO_T}$CC" >&6
2435 echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2440 if test -z "$ac_cv_prog_CC"; then
2442 # Extract the first word of "cc", so it can be a program name with args.
2443 set dummy cc
; ac_word
=$2
2444 echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$ac_ct_CC"; then
2450 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_ac_ct_CC
="cc"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2468 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2469 if test -n "$ac_ct_CC"; then
2470 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2471 echo "${ECHO_T}$ac_ct_CC" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2483 if test -z "$CC"; then
2484 # Extract the first word of "cc", so it can be a program name with args.
2485 set dummy cc
; ac_word
=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_CC+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$CC"; then
2492 ac_cv_prog_CC
="$CC" # Let the user override the test.
2495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2499 test -z "$as_dir" && as_dir
=.
2500 for ac_exec_ext
in '' $ac_executable_extensions; do
2501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2502 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2503 ac_prog_rejected
=yes
2507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 if test $ac_prog_rejected = yes; then
2514 # We found a bogon in the path, so make sure we never use it.
2515 set dummy
$ac_cv_prog_CC
2517 if test $# != 0; then
2518 # We chose a different compiler from the bogus one.
2519 # However, it has the same basename, so the bogon will be chosen
2520 # first if we set CC to just the basename; use the full file name.
2522 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2528 if test -n "$CC"; then
2529 echo "$as_me:$LINENO: result: $CC" >&5
2530 echo "${ECHO_T}$CC" >&6
2532 echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6
2537 if test -z "$CC"; then
2538 if test -n "$ac_tool_prefix"; then
2541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2542 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2543 echo "$as_me:$LINENO: checking for $ac_word" >&5
2544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2545 if test "${ac_cv_prog_CC+set}" = set; then
2546 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 if test -n "$CC"; then
2549 ac_cv_prog_CC
="$CC" # Let the user override the test.
2551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir
=.
2556 for ac_exec_ext
in '' $ac_executable_extensions; do
2557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2558 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 if test -n "$CC"; then
2569 echo "$as_me:$LINENO: result: $CC" >&5
2570 echo "${ECHO_T}$CC" >&6
2572 echo "$as_me:$LINENO: result: no" >&5
2573 echo "${ECHO_T}no" >&6
2576 test -n "$CC" && break
2579 if test -z "$CC"; then
2583 # Extract the first word of "$ac_prog", so it can be a program name with args.
2584 set dummy
$ac_prog; ac_word
=$2
2585 echo "$as_me:$LINENO: checking for $ac_word" >&5
2586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2588 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 if test -n "$ac_ct_CC"; then
2591 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir
=.
2598 for ac_exec_ext
in '' $ac_executable_extensions; do
2599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2600 ac_cv_prog_ac_ct_CC
="$ac_prog"
2601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2609 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2610 if test -n "$ac_ct_CC"; then
2611 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2612 echo "${ECHO_T}$ac_ct_CC" >&6
2614 echo "$as_me:$LINENO: result: no" >&5
2615 echo "${ECHO_T}no" >&6
2618 test -n "$ac_ct_CC" && break
2627 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2628 See \`config.log' for more details." >&5
2629 echo "$as_me: error: no acceptable C compiler found in \$PATH
2630 See \`config.log' for more details." >&2;}
2631 { (exit 1); exit 1; }; }
2633 # Provide some information about the compiler.
2634 echo "$as_me:$LINENO:" \
2635 "checking for C compiler version" >&5
2636 ac_compiler
=`set X $ac_compile; echo $2`
2637 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2638 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }
2642 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2643 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }
2647 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2648 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }
2653 cat >conftest.
$ac_ext <<_ACEOF
2656 cat confdefs.h
>>conftest.
$ac_ext
2657 cat >>conftest.
$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2668 ac_clean_files_save
=$ac_clean_files
2669 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2670 # Try to create an executable without -o first, disregard a.out.
2671 # It will help us diagnose broken compilers, and finding out an intuition
2673 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2674 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2675 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2676 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2677 (eval $ac_link_default) 2>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; then
2681 # Find the output, starting from the most likely. This scheme is
2682 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2685 # Be careful to initialize this variable, since it used to be cached.
2686 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2688 # b.out is created by i960 compilers.
2689 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2691 test -f "$ac_file" ||
continue
2693 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2696 # This is the source file.
2699 # We found the default executable, but exeext='' is most
2703 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704 # FIXME: I believe we export ac_cv_exeext for Libtool,
2705 # but it would be cool to find out if it's true. Does anybody
2706 # maintain Libtool? --akim.
2714 echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.
$ac_ext >&5
2717 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2718 See \`config.log' for more details." >&5
2719 echo "$as_me: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&2;}
2721 { (exit 77); exit 77; }; }
2724 ac_exeext
=$ac_cv_exeext
2725 echo "$as_me:$LINENO: result: $ac_file" >&5
2726 echo "${ECHO_T}$ac_file" >&6
2728 # Check the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2731 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2733 # If not cross compiling, check that we can run a simple program.
2734 if test "$cross_compiling" != yes; then
2735 if { ac_try
='./$ac_file'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2743 if test "$cross_compiling" = maybe
; then
2746 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2747 If you meant to cross compile, use \`--host'.
2748 See \`config.log' for more details." >&5
2749 echo "$as_me: error: cannot run C compiled programs.
2750 If you meant to cross compile, use \`--host'.
2751 See \`config.log' for more details." >&2;}
2752 { (exit 1); exit 1; }; }
2756 echo "$as_me:$LINENO: result: yes" >&5
2757 echo "${ECHO_T}yes" >&6
2759 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2760 ac_clean_files
=$ac_clean_files_save
2761 # Check the compiler produces executables we can run. If not, either
2762 # the compiler is broken, or we cross compile.
2763 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2764 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2765 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2766 echo "${ECHO_T}$cross_compiling" >&6
2768 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2769 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2771 (eval $ac_link) 2>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; then
2775 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2776 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2777 # work properly (i.e., refer to `conftest.exe'), while it won't with
2779 for ac_file
in conftest.exe conftest conftest.
*; do
2780 test -f "$ac_file" ||
continue
2782 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2783 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2790 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2791 See \`config.log' for more details." >&5
2792 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2793 See \`config.log' for more details." >&2;}
2794 { (exit 1); exit 1; }; }
2797 rm -f conftest
$ac_cv_exeext
2798 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2799 echo "${ECHO_T}$ac_cv_exeext" >&6
2801 rm -f conftest.
$ac_ext
2802 EXEEXT
=$ac_cv_exeext
2804 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2805 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2806 if test "${ac_cv_objext+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 cat >conftest.
$ac_ext <<_ACEOF
2812 cat confdefs.h
>>conftest.
$ac_ext
2813 cat >>conftest.
$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2824 rm -f conftest.o conftest.obj
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }; then
2830 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2832 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2833 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.
$ac_ext >&5
2841 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2842 See \`config.log' for more details." >&5
2843 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2844 See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }
2848 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2850 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2851 echo "${ECHO_T}$ac_cv_objext" >&6
2852 OBJEXT
=$ac_cv_objext
2854 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2855 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2856 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2859 cat >conftest.
$ac_ext <<_ACEOF
2862 cat confdefs.h
>>conftest.
$ac_ext
2863 cat >>conftest.
$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2877 rm -f conftest.
$ac_objext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2879 (eval $ac_compile) 2>conftest.er1
2881 grep -v '^ *+' conftest.er1
>conftest.err
2883 cat conftest.err
>&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } &&
2886 { ac_try
='test -z "$ac_c_werror_flag"
2887 || test ! -s conftest.err'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; } &&
2893 { ac_try
='test -s conftest.$ac_objext'
2894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }; }; then
2901 echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.
$ac_ext >&5
2906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2907 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2910 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2911 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2912 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2913 ac_test_CFLAGS
=${CFLAGS+set}
2914 ac_save_CFLAGS
=$CFLAGS
2916 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2917 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2918 if test "${ac_cv_prog_cc_g+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 cat >conftest.
$ac_ext <<_ACEOF
2924 cat confdefs.h
>>conftest.
$ac_ext
2925 cat >>conftest.
$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2936 rm -f conftest.
$ac_objext
2937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2938 (eval $ac_compile) 2>conftest.er1
2940 grep -v '^ *+' conftest.er1
>conftest.err
2942 cat conftest.err
>&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } &&
2945 { ac_try
='test -z "$ac_c_werror_flag"
2946 || test ! -s conftest.err'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; } &&
2952 { ac_try
='test -s conftest.$ac_objext'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; }; then
2960 echo "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.
$ac_ext >&5
2965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2967 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2968 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2969 if test "$ac_test_CFLAGS" = set; then
2970 CFLAGS
=$ac_save_CFLAGS
2971 elif test $ac_cv_prog_cc_g = yes; then
2972 if test "$GCC" = yes; then
2978 if test "$GCC" = yes; then
2984 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2985 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2986 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 ac_cv_prog_cc_stdc
=no
2991 cat >conftest.
$ac_ext <<_ACEOF
2994 cat confdefs.h
>>conftest.
$ac_ext
2995 cat >>conftest.
$ac_ext <<_ACEOF
2996 /* end confdefs.h. */
2999 #include <sys/types.h>
3000 #include <sys/stat.h>
3001 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3002 struct buf { int x; };
3003 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3004 static char *e (p, i)
3010 static char *f (char * (*g) (char **, int), char **p, ...)
3015 s = g (p, va_arg (v,int));
3020 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3021 function prototypes and stuff, but not '\xHH' hex character constants.
3022 These don't provoke an error unfortunately, instead are silently treated
3023 as 'x'. The following induces an error, until -std1 is added to get
3024 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3025 array size at least. It's necessary to write '\x00'==0 to get something
3026 that's true only with -std1. */
3027 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3029 int test (int i, double x);
3030 struct s1 {int (*f) (int a);};
3031 struct s2 {int (*f) (double a);};
3032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3043 # Don't try gcc -ansi; that turns off useful extensions and
3044 # breaks some systems' header files.
3045 # AIX -qlanglvl=ansi
3046 # Ultrix and OSF/1 -std1
3047 # HP-UX 10.20 and later -Ae
3048 # HP-UX older versions -Aa -D_HPUX_SOURCE
3049 # SVR4 -Xc -D__EXTENSIONS__
3050 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3052 CC
="$ac_save_CC $ac_arg"
3053 rm -f conftest.
$ac_objext
3054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3055 (eval $ac_compile) 2>conftest.er1
3057 grep -v '^ *+' conftest.er1
>conftest.err
3059 cat conftest.err
>&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); } &&
3062 { ac_try
='test -z "$ac_c_werror_flag"
3063 || test ! -s conftest.err'
3064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }; } &&
3069 { ac_try
='test -s conftest.$ac_objext'
3070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); }; }; then
3075 ac_cv_prog_cc_stdc
=$ac_arg
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.
$ac_ext >&5
3082 rm -f conftest.err conftest.
$ac_objext
3084 rm -f conftest.
$ac_ext conftest.
$ac_objext
3089 case "x$ac_cv_prog_cc_stdc" in
3091 echo "$as_me:$LINENO: result: none needed" >&5
3092 echo "${ECHO_T}none needed" >&6 ;;
3094 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3095 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3096 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3099 # Some people use a C++ compiler to compile C. Since we use `exit',
3100 # in C++ we need to declare it. In case someone uses the same compiler
3101 # for both compiling C and C++ we need to have the C++ compiler decide
3102 # the declaration of exit, since it's the most demanding environment.
3103 cat >conftest.
$ac_ext <<_ACEOF
3108 rm -f conftest.
$ac_objext
3109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3110 (eval $ac_compile) 2>conftest.er1
3112 grep -v '^ *+' conftest.er1
>conftest.err
3114 cat conftest.err
>&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); } &&
3117 { ac_try
='test -z "$ac_c_werror_flag"
3118 || test ! -s conftest.err'
3119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }; } &&
3124 { ac_try
='test -s conftest.$ac_objext'
3125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; }; then
3130 for ac_declaration
in \
3132 'extern "C" void std::exit (int) throw (); using std::exit;' \
3133 'extern "C" void std::exit (int); using std::exit;' \
3134 'extern "C" void exit (int) throw ();' \
3135 'extern "C" void exit (int);' \
3138 cat >conftest.
$ac_ext <<_ACEOF
3141 cat confdefs.h
>>conftest.
$ac_ext
3142 cat >>conftest.
$ac_ext <<_ACEOF
3143 /* end confdefs.h. */
3154 rm -f conftest.
$ac_objext
3155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156 (eval $ac_compile) 2>conftest.er1
3158 grep -v '^ *+' conftest.er1
>conftest.err
3160 cat conftest.err
>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } &&
3163 { ac_try
='test -z "$ac_c_werror_flag"
3164 || test ! -s conftest.err'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; } &&
3170 { ac_try
='test -s conftest.$ac_objext'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; }; then
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.
$ac_ext >&5
3183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3184 cat >conftest.
$ac_ext <<_ACEOF
3187 cat confdefs.h
>>conftest.
$ac_ext
3188 cat >>conftest.
$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3199 rm -f conftest.
$ac_objext
3200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3201 (eval $ac_compile) 2>conftest.er1
3203 grep -v '^ *+' conftest.er1
>conftest.err
3205 cat conftest.err
>&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try
='test -z "$ac_c_werror_flag"
3209 || test ! -s conftest.err'
3210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }; } &&
3215 { ac_try
='test -s conftest.$ac_objext'
3216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); }; }; then
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.
$ac_ext >&5
3227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3230 if test -n "$ac_declaration"; then
3231 echo '#ifdef __cplusplus' >>confdefs.h
3232 echo $ac_declaration >>confdefs.h
3233 echo '#endif' >>confdefs.h
3237 echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.
$ac_ext >&5
3241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3243 ac_cpp
='$CPP $CPPFLAGS'
3244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3247 DEPDIR
="${am__leading_dot}deps"
3249 ac_config_commands
="$ac_config_commands depfiles"
3252 am_make
=${MAKE-make}
3253 cat > confinc
<< 'END'
3258 # If we don't find an include directive, just comment out the code.
3259 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3260 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3264 # First try GNU make style include.
3265 echo "include confinc" > confmf
3266 # We grep out `Entering directory' and `Leaving directory'
3267 # messages which can occur if `w' ends up in MAKEFLAGS.
3268 # In particular we don't look at `^make:' because GNU make might
3269 # be invoked under some other name (usually "gmake"), in which
3270 # case it prints its new name instead of `make'.
3271 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3276 # Now try BSD make style include.
3277 if test "$am__include" = "#"; then
3278 echo '.include "confinc"' > confmf
3279 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3280 am__include
=.include
3287 echo "$as_me:$LINENO: result: $_am_result" >&5
3288 echo "${ECHO_T}$_am_result" >&6
3289 rm -f confinc confmf
3291 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3292 if test "${enable_dependency_tracking+set}" = set; then
3293 enableval
="$enable_dependency_tracking"
3296 if test "x$enable_dependency_tracking" != xno
; then
3297 am_depcomp
="$ac_aux_dir/depcomp"
3302 if test "x$enable_dependency_tracking" != xno; then
3313 depcc
="$CC" am_compiler_list
=
3315 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3316 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3317 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3321 # We make a subdir and do the tests there. Otherwise we can end up
3322 # making bogus files that we don't know about and never remove. For
3323 # instance it was reported that on HP-UX the gcc test will end up
3324 # making a dummy file named `D' -- because `-MD' means `put the output
3327 # Copy depcomp to subdir because otherwise we won't find it if we're
3328 # using a relative directory.
3329 cp "$am_depcomp" conftest.dir
3331 # We will build objects and dependencies in a subdirectory because
3332 # it helps to detect inapplicable dependency modes. For instance
3333 # both Tru64's cc and ICC support -MD to output dependencies as a
3334 # side effect of compilation, but ICC will put the dependencies in
3335 # the current directory while Tru64 will put them in the object
3339 am_cv_CC_dependencies_compiler_type
=none
3340 if test "$am_compiler_list" = ""; then
3341 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3343 for depmode
in $am_compiler_list; do
3344 # Setup a source with many dependencies, because some compilers
3345 # like to wrap large dependency lists on column 80 (with \), and
3346 # we should not choose a depcomp mode which is confused by this.
3348 # We need to recreate these files for each test, as the compiler may
3349 # overwrite some of them when testing with obscure command lines.
3350 # This happens at least with the AIX C compiler.
3352 for i
in 1 2 3 4 5 6; do
3353 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3354 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3355 # Solaris 8's {/usr,}/bin/sh.
3356 touch sub
/conftst
$i.h
3358 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3362 # after this tag, mechanisms are not by side-effect, so they'll
3363 # only be used when explicitly requested
3364 if test "x$enable_dependency_tracking" = xyes
; then
3372 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3373 # mode. It turns out that the SunPro C++ compiler does not properly
3374 # handle `-M -o', and we need to detect this.
3375 if depmode
=$depmode \
3376 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3377 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3378 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3379 >/dev
/null
2>conftest.err
&&
3380 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3381 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3382 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3383 # icc doesn't choke on unknown options, it will just issue warnings
3384 # or remarks (even with -Werror). So we grep stderr for any message
3385 # that says an option was ignored or not supported.
3386 # When given -MP, icc 7.0 and 7.1 complain thusly:
3387 # icc: Command line warning: ignoring option '-M'; no argument required
3388 # The diagnosis changed in icc 8.0:
3389 # icc: Command line remark: option '-MP' not supported
3390 if (grep 'ignoring option' conftest.err ||
3391 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3392 am_cv_CC_dependencies_compiler_type
=$depmode
3401 am_cv_CC_dependencies_compiler_type
=none
3405 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3406 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3407 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3412 test "x$enable_dependency_tracking" != xno \
3413 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3415 am__fastdepCC_FALSE
='#'
3417 am__fastdepCC_TRUE
='#'
3418 am__fastdepCC_FALSE
=
3422 # Check whether --enable-shared or --disable-shared was given.
3423 if test "${enable_shared+set}" = set; then
3424 enableval
="$enable_shared"
3425 p
=${PACKAGE-default}
3427 yes) enable_shared
=yes ;;
3428 no
) enable_shared
=no
;;
3431 # Look at the argument we got. We use all the common list separators.
3432 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3433 for pkg
in $enableval; do
3435 if test "X$pkg" = "X$p"; then
3446 # Check whether --enable-static or --disable-static was given.
3447 if test "${enable_static+set}" = set; then
3448 enableval
="$enable_static"
3449 p
=${PACKAGE-default}
3451 yes) enable_static
=yes ;;
3452 no
) enable_static
=no
;;
3455 # Look at the argument we got. We use all the common list separators.
3456 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3457 for pkg
in $enableval; do
3459 if test "X$pkg" = "X$p"; then
3470 # Check whether --enable-fast-install or --disable-fast-install was given.
3471 if test "${enable_fast_install+set}" = set; then
3472 enableval
="$enable_fast_install"
3473 p
=${PACKAGE-default}
3475 yes) enable_fast_install
=yes ;;
3476 no
) enable_fast_install
=no
;;
3478 enable_fast_install
=no
3479 # Look at the argument we got. We use all the common list separators.
3480 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3481 for pkg
in $enableval; do
3483 if test "X$pkg" = "X$p"; then
3484 enable_fast_install
=yes
3491 enable_fast_install
=yes
3494 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3495 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3496 if test "${lt_cv_path_SED+set}" = set; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 # Loop through the user's path and test for sed and gsed.
3500 # Then use that list of sed's as ones to test for truncation.
3501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir
=.
3506 for lt_ac_prog
in sed gsed
; do
3507 for ac_exec_ext
in '' $ac_executable_extensions; do
3508 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3509 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3517 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3518 # along with /bin/sed that truncates output.
3519 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3520 test ! -f $lt_ac_sed && continue
3521 cat /dev
/null
> conftest.
in
3523 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3524 # Check for GNU sed and select it if it is found.
3525 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3526 lt_cv_path_SED
=$lt_ac_sed
3530 cat conftest.
in conftest.
in >conftest.tmp
3531 mv conftest.tmp conftest.
in
3532 cp conftest.
in conftest.
nl
3534 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3535 cmp -s conftest.out conftest.
nl ||
break
3536 # 10000 chars as input seems more than enough
3537 test $lt_ac_count -gt 10 && break
3538 lt_ac_count
=`expr $lt_ac_count + 1`
3539 if test $lt_ac_count -gt $lt_ac_max; then
3540 lt_ac_max
=$lt_ac_count
3541 lt_cv_path_SED
=$lt_ac_sed
3550 echo "$as_me:$LINENO: result: $SED" >&5
3551 echo "${ECHO_T}$SED" >&6
3553 echo "$as_me:$LINENO: checking for egrep" >&5
3554 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3555 if test "${ac_cv_prog_egrep+set}" = set; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3559 then ac_cv_prog_egrep
='grep -E'
3560 else ac_cv_prog_egrep
='egrep'
3563 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3564 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3565 EGREP
=$ac_cv_prog_egrep
3569 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3570 if test "${with_gnu_ld+set}" = set; then
3571 withval
="$with_gnu_ld"
3572 test "$withval" = no || with_gnu_ld
=yes
3577 if test "$GCC" = yes; then
3578 # Check if gcc -print-prog-name=ld gives a path.
3579 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3580 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3583 # gcc leaves a trailing carriage return which upsets mingw
3584 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3586 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3589 # Accept absolute paths.
3591 re_direlt
='/[^/][^/]*/\.\./'
3592 # Canonicalize the pathname of ld
3593 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3594 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3595 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3597 test -z "$LD" && LD
="$ac_prog"
3600 # If it fails, then pretend we aren't using GCC.
3604 # If it is relative, then search for the first ld in PATH.
3608 elif test "$with_gnu_ld" = yes; then
3609 echo "$as_me:$LINENO: checking for GNU ld" >&5
3610 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3612 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3613 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3615 if test "${lt_cv_path_LD+set}" = set; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3618 if test -z "$LD"; then
3619 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3620 for ac_dir
in $PATH; do
3622 test -z "$ac_dir" && ac_dir
=.
3623 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3624 lt_cv_path_LD
="$ac_dir/$ac_prog"
3625 # Check to see if the program is GNU ld. I'd rather use --version,
3626 # but apparently some variants of GNU ld only accept -v.
3627 # Break only if it was the GNU/non-GNU ld that we prefer.
3628 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3629 *GNU
* |
*'with BFD'*)
3630 test "$with_gnu_ld" != no
&& break
3633 test "$with_gnu_ld" != yes && break
3640 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3645 if test -n "$LD"; then
3646 echo "$as_me:$LINENO: result: $LD" >&5
3647 echo "${ECHO_T}$LD" >&6
3649 echo "$as_me:$LINENO: result: no" >&5
3650 echo "${ECHO_T}no" >&6
3652 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3653 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3654 { (exit 1); exit 1; }; }
3655 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3656 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3657 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3661 case `$LD -v 2>&1 </dev/null` in
3662 *GNU
* |
*'with BFD'*)
3663 lt_cv_prog_gnu_ld
=yes
3666 lt_cv_prog_gnu_ld
=no
3670 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3671 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3672 with_gnu_ld
=$lt_cv_prog_gnu_ld
3675 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3676 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3677 if test "${lt_cv_ld_reload_flag+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 lt_cv_ld_reload_flag
='-r'
3682 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3683 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3684 reload_flag
=$lt_cv_ld_reload_flag
3685 case $reload_flag in
3687 *) reload_flag
=" $reload_flag" ;;
3689 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3692 if test "$GCC" = yes; then
3693 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3695 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3700 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3701 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3702 if test "${lt_cv_path_NM+set}" = set; then
3703 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 if test -n "$NM"; then
3706 # Let the user override the test.
3709 lt_nm_to_check
="${ac_tool_prefix}nm"
3710 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3711 lt_nm_to_check
="$lt_nm_to_check nm"
3713 for lt_tmp_nm
in $lt_nm_to_check; do
3714 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3715 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3717 test -z "$ac_dir" && ac_dir
=.
3718 tmp_nm
="$ac_dir/$lt_tmp_nm"
3719 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3720 # Check to see if the nm accepts a BSD-compat flag.
3721 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3722 # nm: unknown option "B" ignored
3723 # Tru64's nm complains that /dev/null is an invalid object file
3724 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3725 */dev
/null
* |
*'Invalid file or object type'*)
3726 lt_cv_path_NM
="$tmp_nm -B"
3730 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3732 lt_cv_path_NM
="$tmp_nm -p"
3736 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3737 continue # so that we can try to find one that supports BSD flags
3746 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3749 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3750 echo "${ECHO_T}$lt_cv_path_NM" >&6
3753 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3754 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3756 if test "$LN_S" = "ln -s"; then
3757 echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6
3760 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3761 echo "${ECHO_T}no, using $LN_S" >&6
3764 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3765 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3766 if test "${lt_cv_deplibs_check_method+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3770 lt_cv_file_magic_test_file
=
3771 lt_cv_deplibs_check_method
='unknown'
3772 # Need to set the preceding variable on all platforms that support
3773 # interlibrary dependencies.
3774 # 'none' -- dependencies not supported.
3775 # `unknown' -- same as none, but documents that we really don't know.
3776 # 'pass_all' -- all dependencies passed with no checks.
3777 # 'test_compile' -- check by making test program.
3778 # 'file_magic [[regex]]' -- check by looking for files in library path
3779 # which responds to the $file_magic_cmd with a given extended regex.
3780 # If you have `file' or equivalent on your system and you're not sure
3781 # whether `pass_all' will *always* work, you probably want this one.
3785 lt_cv_deplibs_check_method
=pass_all
3789 lt_cv_deplibs_check_method
=pass_all
3793 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3794 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3795 lt_cv_file_magic_test_file
=/shlib
/libc.so
3799 # func_win32_libid is a shell function defined in ltmain.sh
3800 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3801 lt_cv_file_magic_cmd
='func_win32_libid'
3805 # Base MSYS/MinGW do not provide the 'file' command needed by
3806 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3807 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3808 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3811 darwin
* | rhapsody
*)
3812 lt_cv_deplibs_check_method
=pass_all
3815 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3816 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3819 # Not sure whether the presence of OpenBSD here was a mistake.
3820 # Let's accept both of them until this is cleared up.
3821 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3822 lt_cv_file_magic_cmd
=/usr
/bin
/file
3823 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3827 lt_cv_deplibs_check_method
=pass_all
3832 lt_cv_deplibs_check_method
=pass_all
3835 hpux10.20
* | hpux11
*)
3836 lt_cv_file_magic_cmd
=/usr
/bin
/file
3839 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3840 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3843 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
3844 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3847 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3848 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3854 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3855 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3858 irix5
* | irix6
* | nonstopux
*)
3860 *-32|
*"-32 ") libmagic
=32-bit;;
3861 *-n32|
*"-n32 ") libmagic
=N32
;;
3862 *-64|
*"-64 ") libmagic
=64-bit;;
3863 *) libmagic
=never-match
;;
3865 lt_cv_deplibs_check_method
=pass_all
3868 # This must be Linux ELF.
3870 lt_cv_deplibs_check_method
=pass_all
3874 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3875 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3877 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3882 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3883 lt_cv_file_magic_cmd
=/usr
/bin
/file
3884 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3888 lt_cv_deplibs_check_method
=unknown
3892 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3893 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3895 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3899 osf3
* | osf4
* | osf5
*)
3900 lt_cv_deplibs_check_method
=pass_all
3904 lt_cv_deplibs_check_method
=pass_all
3908 case $host_vendor in
3910 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]'
3911 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3914 lt_cv_deplibs_check_method
=pass_all
3917 lt_cv_file_magic_cmd
='/bin/file'
3918 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3921 lt_cv_file_magic_cmd
='/bin/file'
3922 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3923 lt_cv_file_magic_test_file
=/lib
/libc.so
3926 lt_cv_deplibs_check_method
=pass_all
3929 lt_cv_deplibs_check_method
=pass_all
3934 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3935 lt_cv_deplibs_check_method
=pass_all
3940 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3941 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3942 file_magic_cmd
=$lt_cv_file_magic_cmd
3943 deplibs_check_method
=$lt_cv_deplibs_check_method
3944 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3949 # If no C compiler was specified, use CC.
3952 # If no C compiler flags were specified, use CFLAGS.
3953 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3955 # Allow CC to be a program name with arguments.
3959 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3960 if test "${enable_libtool_lock+set}" = set; then
3961 enableval
="$enable_libtool_lock"
3964 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3966 # Some flags need to be propagated to the compiler or linker for good
3970 # Find out which ABI we are using.
3971 echo 'int i;' > conftest.
$ac_ext
3972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3973 (eval $ac_compile) 2>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); }; then
3977 case `/usr/bin/file conftest.$ac_objext` in
3989 # Find out which ABI we are using.
3990 echo '#line 3990 "configure"' > conftest.
$ac_ext
3991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3992 (eval $ac_compile) 2>&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; then
3996 if test "$lt_cv_prog_gnu_ld" = yes; then
3997 case `/usr/bin/file conftest.$ac_objext` in
3999 LD
="${LD-ld} -melf32bsmip"
4002 LD
="${LD-ld} -melf32bmipn32"
4005 LD
="${LD-ld} -melf64bmip"
4009 case `/usr/bin/file conftest.$ac_objext` in
4025 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4026 # Find out which ABI we are using.
4027 echo 'int i;' > conftest.
$ac_ext
4028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4029 (eval $ac_compile) 2>&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; then
4033 case `/usr/bin/file conftest.o` in
4037 LD
="${LD-ld} -m elf_i386"
4039 ppc64-
*linux
*|powerpc64-
*linux
*)
4040 LD
="${LD-ld} -m elf32ppclinux"
4043 LD
="${LD-ld} -m elf_s390"
4046 LD
="${LD-ld} -m elf32_sparc"
4053 LD
="${LD-ld} -m elf_x86_64"
4055 ppc
*-*linux
*|powerpc
*-*linux
*)
4056 LD
="${LD-ld} -m elf64ppc"
4059 LD
="${LD-ld} -m elf64_s390"
4062 LD
="${LD-ld} -m elf64_sparc"
4072 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4073 SAVE_CFLAGS
="$CFLAGS"
4074 CFLAGS
="$CFLAGS -belf"
4075 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4076 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4077 if test "${lt_cv_cc_needs_belf+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4081 ac_cpp
='$CPP $CPPFLAGS'
4082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4086 cat >conftest.
$ac_ext <<_ACEOF
4089 cat confdefs.h
>>conftest.
$ac_ext
4090 cat >>conftest.
$ac_ext <<_ACEOF
4091 /* end confdefs.h. */
4101 rm -f conftest.
$ac_objext conftest
$ac_exeext
4102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4103 (eval $ac_link) 2>conftest.er1
4105 grep -v '^ *+' conftest.er1
>conftest.err
4107 cat conftest.err
>&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } &&
4110 { ac_try
='test -z "$ac_c_werror_flag"
4111 || test ! -s conftest.err'
4112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); }; } &&
4117 { ac_try
='test -s conftest$ac_exeext'
4118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); }; }; then
4123 lt_cv_cc_needs_belf
=yes
4125 echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.
$ac_ext >&5
4128 lt_cv_cc_needs_belf
=no
4130 rm -f conftest.err conftest.
$ac_objext \
4131 conftest
$ac_exeext conftest.
$ac_ext
4133 ac_cpp
='$CPP $CPPFLAGS'
4134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4139 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4140 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4141 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4142 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4143 CFLAGS
="$SAVE_CFLAGS"
4147 # Find out which ABI we are using.
4148 echo 'int i;' > conftest.
$ac_ext
4149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4150 (eval $ac_compile) 2>&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); }; then
4154 case `/usr/bin/file conftest.o` in
4156 case $lt_cv_prog_gnu_ld in
4157 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
4158 *) LD
="${LD-ld} -64" ;;
4169 need_locks
="$enable_libtool_lock"
4173 ac_cpp
='$CPP $CPPFLAGS'
4174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4177 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4178 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4179 # On Suns, sometimes $CPP names a directory.
4180 if test -n "$CPP" && test -d "$CPP"; then
4183 if test -z "$CPP"; then
4184 if test "${ac_cv_prog_CPP+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 # Double quotes because CPP needs to be expanded
4188 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4191 for ac_c_preproc_warn_flag
in '' yes
4193 # Use a header file that comes with gcc, so configuring glibc
4194 # with a fresh cross-compiler works.
4195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4196 # <limits.h> exists even on freestanding compilers.
4197 # On the NeXT, cc -E runs the code through the compiler's parser,
4198 # not just through cpp. "Syntax error" is here to catch this case.
4199 cat >conftest.
$ac_ext <<_ACEOF
4202 cat confdefs.h
>>conftest.
$ac_ext
4203 cat >>conftest.
$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4206 # include <limits.h>
4208 # include <assert.h>
4212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4215 grep -v '^ *+' conftest.er1
>conftest.err
4217 cat conftest.err
>&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); } >/dev
/null
; then
4220 if test -s conftest.err
; then
4221 ac_cpp_err
=$ac_c_preproc_warn_flag
4222 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4229 if test -z "$ac_cpp_err"; then
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.
$ac_ext >&5
4235 # Broken: fails on valid input.
4238 rm -f conftest.err conftest.
$ac_ext
4240 # OK, works on sane cases. Now check whether non-existent headers
4241 # can be detected and how.
4242 cat >conftest.
$ac_ext <<_ACEOF
4245 cat confdefs.h
>>conftest.
$ac_ext
4246 cat >>conftest.
$ac_ext <<_ACEOF
4247 /* end confdefs.h. */
4248 #include <ac_nonexistent.h>
4250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4251 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4253 grep -v '^ *+' conftest.er1
>conftest.err
4255 cat conftest.err
>&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } >/dev
/null
; then
4258 if test -s conftest.err
; then
4259 ac_cpp_err
=$ac_c_preproc_warn_flag
4260 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4267 if test -z "$ac_cpp_err"; then
4268 # Broken: success on invalid input.
4271 echo "$as_me: failed program was:" >&5
4272 sed 's/^/| /' conftest.
$ac_ext >&5
4274 # Passes both tests.
4278 rm -f conftest.err conftest.
$ac_ext
4281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4282 rm -f conftest.err conftest.
$ac_ext
4283 if $ac_preproc_ok; then
4295 echo "$as_me:$LINENO: result: $CPP" >&5
4296 echo "${ECHO_T}$CPP" >&6
4298 for ac_c_preproc_warn_flag
in '' yes
4300 # Use a header file that comes with gcc, so configuring glibc
4301 # with a fresh cross-compiler works.
4302 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4303 # <limits.h> exists even on freestanding compilers.
4304 # On the NeXT, cc -E runs the code through the compiler's parser,
4305 # not just through cpp. "Syntax error" is here to catch this case.
4306 cat >conftest.
$ac_ext <<_ACEOF
4309 cat confdefs.h
>>conftest.
$ac_ext
4310 cat >>conftest.
$ac_ext <<_ACEOF
4311 /* end confdefs.h. */
4313 # include <limits.h>
4315 # include <assert.h>
4319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4322 grep -v '^ *+' conftest.er1
>conftest.err
4324 cat conftest.err
>&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } >/dev
/null
; then
4327 if test -s conftest.err
; then
4328 ac_cpp_err
=$ac_c_preproc_warn_flag
4329 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4336 if test -z "$ac_cpp_err"; then
4339 echo "$as_me: failed program was:" >&5
4340 sed 's/^/| /' conftest.
$ac_ext >&5
4342 # Broken: fails on valid input.
4345 rm -f conftest.err conftest.
$ac_ext
4347 # OK, works on sane cases. Now check whether non-existent headers
4348 # can be detected and how.
4349 cat >conftest.
$ac_ext <<_ACEOF
4352 cat confdefs.h
>>conftest.
$ac_ext
4353 cat >>conftest.
$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4355 #include <ac_nonexistent.h>
4357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4360 grep -v '^ *+' conftest.er1
>conftest.err
4362 cat conftest.err
>&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } >/dev
/null
; then
4365 if test -s conftest.err
; then
4366 ac_cpp_err
=$ac_c_preproc_warn_flag
4367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4374 if test -z "$ac_cpp_err"; then
4375 # Broken: success on invalid input.
4378 echo "$as_me: failed program was:" >&5
4379 sed 's/^/| /' conftest.
$ac_ext >&5
4381 # Passes both tests.
4385 rm -f conftest.err conftest.
$ac_ext
4388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4389 rm -f conftest.err conftest.
$ac_ext
4390 if $ac_preproc_ok; then
4393 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4394 See \`config.log' for more details." >&5
4395 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4396 See \`config.log' for more details." >&2;}
4397 { (exit 1); exit 1; }; }
4401 ac_cpp
='$CPP $CPPFLAGS'
4402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4407 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4408 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4409 if test "${ac_cv_header_stdc+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 cat >conftest.
$ac_ext <<_ACEOF
4415 cat confdefs.h
>>conftest.
$ac_ext
4416 cat >>conftest.
$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4431 rm -f conftest.
$ac_objext
4432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4433 (eval $ac_compile) 2>conftest.er1
4435 grep -v '^ *+' conftest.er1
>conftest.err
4437 cat conftest.err
>&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); } &&
4440 { ac_try
='test -z "$ac_c_werror_flag"
4441 || test ! -s conftest.err'
4442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); }; } &&
4447 { ac_try
='test -s conftest.$ac_objext'
4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }; }; then
4453 ac_cv_header_stdc
=yes
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.
$ac_ext >&5
4458 ac_cv_header_stdc
=no
4460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4462 if test $ac_cv_header_stdc = yes; then
4463 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4464 cat >conftest.
$ac_ext <<_ACEOF
4467 cat confdefs.h
>>conftest.
$ac_ext
4468 cat >>conftest.
$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4474 $EGREP "memchr" >/dev
/null
2>&1; then
4477 ac_cv_header_stdc
=no
4483 if test $ac_cv_header_stdc = yes; then
4484 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4485 cat >conftest.
$ac_ext <<_ACEOF
4488 cat confdefs.h
>>conftest.
$ac_ext
4489 cat >>conftest.
$ac_ext <<_ACEOF
4490 /* end confdefs.h. */
4494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4495 $EGREP "free" >/dev
/null
2>&1; then
4498 ac_cv_header_stdc
=no
4504 if test $ac_cv_header_stdc = yes; then
4505 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4506 if test "$cross_compiling" = yes; then
4509 cat >conftest.
$ac_ext <<_ACEOF
4512 cat confdefs.h
>>conftest.
$ac_ext
4513 cat >>conftest.
$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4516 #if ((' ' & 0x0FF) == 0x020)
4517 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4518 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4520 # define ISLOWER(c) \
4521 (('a' <= (c) && (c) <= 'i') \
4522 || ('j' <= (c) && (c) <= 'r') \
4523 || ('s' <= (c) && (c) <= 'z'))
4524 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4527 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4532 for (i = 0; i < 256; i++)
4533 if (XOR (islower (i), ISLOWER (i))
4534 || toupper (i) != TOUPPER (i))
4539 rm -f conftest
$ac_exeext
4540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4541 (eval $ac_link) 2>&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4552 echo "$as_me: program exited with status $ac_status" >&5
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.
$ac_ext >&5
4557 ac_cv_header_stdc
=no
4559 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4563 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4564 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4565 if test $ac_cv_header_stdc = yes; then
4567 cat >>confdefs.h
<<\_ACEOF
4568 #define STDC_HEADERS 1
4573 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4583 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4584 inttypes.h stdint.h unistd.h
4586 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4587 echo "$as_me:$LINENO: checking for $ac_header" >&5
4588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 cat >conftest.
$ac_ext <<_ACEOF
4595 cat confdefs.h
>>conftest.
$ac_ext
4596 cat >>conftest.
$ac_ext <<_ACEOF
4597 /* end confdefs.h. */
4598 $ac_includes_default
4600 #include <$ac_header>
4602 rm -f conftest.
$ac_objext
4603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4604 (eval $ac_compile) 2>conftest.er1
4606 grep -v '^ *+' conftest.er1
>conftest.err
4608 cat conftest.err
>&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); } &&
4611 { ac_try
='test -z "$ac_c_werror_flag"
4612 || test ! -s conftest.err'
4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }; } &&
4618 { ac_try
='test -s conftest.$ac_objext'
4619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); }; }; then
4624 eval "$as_ac_Header=yes"
4626 echo "$as_me: failed program was:" >&5
4627 sed 's/^/| /' conftest.
$ac_ext >&5
4629 eval "$as_ac_Header=no"
4631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4636 cat >>confdefs.h
<<_ACEOF
4637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4646 for ac_header
in dlfcn.h
4648 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4650 echo "$as_me:$LINENO: checking for $ac_header" >&5
4651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4658 # Is the header compilable?
4659 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4660 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4661 cat >conftest.
$ac_ext <<_ACEOF
4664 cat confdefs.h
>>conftest.
$ac_ext
4665 cat >>conftest.
$ac_ext <<_ACEOF
4666 /* end confdefs.h. */
4667 $ac_includes_default
4668 #include <$ac_header>
4670 rm -f conftest.
$ac_objext
4671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4672 (eval $ac_compile) 2>conftest.er1
4674 grep -v '^ *+' conftest.er1
>conftest.err
4676 cat conftest.err
>&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } &&
4679 { ac_try
='test -z "$ac_c_werror_flag"
4680 || test ! -s conftest.err'
4681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); }; } &&
4686 { ac_try
='test -s conftest.$ac_objext'
4687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); }; }; then
4692 ac_header_compiler
=yes
4694 echo "$as_me: failed program was:" >&5
4695 sed 's/^/| /' conftest.
$ac_ext >&5
4697 ac_header_compiler
=no
4699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4701 echo "${ECHO_T}$ac_header_compiler" >&6
4703 # Is the header present?
4704 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4705 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4706 cat >conftest.
$ac_ext <<_ACEOF
4709 cat confdefs.h
>>conftest.
$ac_ext
4710 cat >>conftest.
$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4712 #include <$ac_header>
4714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4715 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4717 grep -v '^ *+' conftest.er1
>conftest.err
4719 cat conftest.err
>&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); } >/dev
/null
; then
4722 if test -s conftest.err
; then
4723 ac_cpp_err
=$ac_c_preproc_warn_flag
4724 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4731 if test -z "$ac_cpp_err"; then
4732 ac_header_preproc
=yes
4734 echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.
$ac_ext >&5
4737 ac_header_preproc
=no
4739 rm -f conftest.err conftest.
$ac_ext
4740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4741 echo "${ECHO_T}$ac_header_preproc" >&6
4743 # So? What about this header?
4744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4746 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4747 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4749 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4750 ac_header_preproc
=yes
4753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4756 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4757 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4758 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4759 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4760 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4763 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4764 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4767 ## ------------------------------------------ ##
4768 ## Report this to the AC_PACKAGE_NAME lists. ##
4769 ## ------------------------------------------ ##
4772 sed "s/^/$as_me: WARNING: /" >&2
4775 echo "$as_me:$LINENO: checking for $ac_header" >&5
4776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 eval "$as_ac_Header=\$ac_header_preproc"
4782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4787 cat >>confdefs.h
<<_ACEOF
4788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4796 ac_cpp
='$CXXCPP $CPPFLAGS'
4797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4800 if test -n "$ac_tool_prefix"; then
4801 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4804 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4805 echo "$as_me:$LINENO: checking for $ac_word" >&5
4806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4807 if test "${ac_cv_prog_CXX+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 if test -n "$CXX"; then
4811 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4817 test -z "$as_dir" && as_dir
=.
4818 for ac_exec_ext
in '' $ac_executable_extensions; do
4819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4820 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4830 if test -n "$CXX"; then
4831 echo "$as_me:$LINENO: result: $CXX" >&5
4832 echo "${ECHO_T}$CXX" >&6
4834 echo "$as_me:$LINENO: result: no" >&5
4835 echo "${ECHO_T}no" >&6
4838 test -n "$CXX" && break
4841 if test -z "$CXX"; then
4843 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4845 # Extract the first word of "$ac_prog", so it can be a program name with args.
4846 set dummy
$ac_prog; ac_word
=$2
4847 echo "$as_me:$LINENO: checking for $ac_word" >&5
4848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4849 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 if test -n "$ac_ct_CXX"; then
4853 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4859 test -z "$as_dir" && as_dir
=.
4860 for ac_exec_ext
in '' $ac_executable_extensions; do
4861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4862 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4871 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4872 if test -n "$ac_ct_CXX"; then
4873 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4874 echo "${ECHO_T}$ac_ct_CXX" >&6
4876 echo "$as_me:$LINENO: result: no" >&5
4877 echo "${ECHO_T}no" >&6
4880 test -n "$ac_ct_CXX" && break
4882 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4888 # Provide some information about the compiler.
4889 echo "$as_me:$LINENO:" \
4890 "checking for C++ compiler version" >&5
4891 ac_compiler
=`set X $ac_compile; echo $2`
4892 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4893 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }
4897 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4898 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }
4902 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4903 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); }
4908 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4909 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4910 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 cat >conftest.
$ac_ext <<_ACEOF
4916 cat confdefs.h
>>conftest.
$ac_ext
4917 cat >>conftest.
$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4931 rm -f conftest.
$ac_objext
4932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933 (eval $ac_compile) 2>conftest.er1
4935 grep -v '^ *+' conftest.er1
>conftest.err
4937 cat conftest.err
>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } &&
4940 { ac_try
='test -z "$ac_cxx_werror_flag"
4941 || test ! -s conftest.err'
4942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; } &&
4947 { ac_try
='test -s conftest.$ac_objext'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; }; then
4955 echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.
$ac_ext >&5
4960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4961 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4964 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4965 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4966 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4967 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4968 ac_save_CXXFLAGS
=$CXXFLAGS
4970 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4971 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4972 if test "${ac_cv_prog_cxx_g+set}" = set; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 cat >conftest.
$ac_ext <<_ACEOF
4978 cat confdefs.h
>>conftest.
$ac_ext
4979 cat >>conftest.
$ac_ext <<_ACEOF
4980 /* end confdefs.h. */
4990 rm -f conftest.
$ac_objext
4991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4992 (eval $ac_compile) 2>conftest.er1
4994 grep -v '^ *+' conftest.er1
>conftest.err
4996 cat conftest.err
>&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } &&
4999 { ac_try
='test -z "$ac_cxx_werror_flag"
5000 || test ! -s conftest.err'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; } &&
5006 { ac_try
='test -s conftest.$ac_objext'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; }; then
5012 ac_cv_prog_cxx_g
=yes
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.
$ac_ext >&5
5019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5021 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5022 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5023 if test "$ac_test_CXXFLAGS" = set; then
5024 CXXFLAGS
=$ac_save_CXXFLAGS
5025 elif test $ac_cv_prog_cxx_g = yes; then
5026 if test "$GXX" = yes; then
5032 if test "$GXX" = yes; then
5038 for ac_declaration
in \
5040 'extern "C" void std::exit (int) throw (); using std::exit;' \
5041 'extern "C" void std::exit (int); using std::exit;' \
5042 'extern "C" void exit (int) throw ();' \
5043 'extern "C" void exit (int);' \
5046 cat >conftest.
$ac_ext <<_ACEOF
5049 cat confdefs.h
>>conftest.
$ac_ext
5050 cat >>conftest.
$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5062 rm -f conftest.
$ac_objext
5063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5064 (eval $ac_compile) 2>conftest.er1
5066 grep -v '^ *+' conftest.er1
>conftest.err
5068 cat conftest.err
>&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } &&
5071 { ac_try
='test -z "$ac_cxx_werror_flag"
5072 || test ! -s conftest.err'
5073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); }; } &&
5078 { ac_try
='test -s conftest.$ac_objext'
5079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); }; }; then
5086 echo "$as_me: failed program was:" >&5
5087 sed 's/^/| /' conftest.
$ac_ext >&5
5091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5092 cat >conftest.
$ac_ext <<_ACEOF
5095 cat confdefs.h
>>conftest.
$ac_ext
5096 cat >>conftest.
$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5107 rm -f conftest.
$ac_objext
5108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5109 (eval $ac_compile) 2>conftest.er1
5111 grep -v '^ *+' conftest.er1
>conftest.err
5113 cat conftest.err
>&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } &&
5116 { ac_try
='test -z "$ac_cxx_werror_flag"
5117 || test ! -s conftest.err'
5118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); }; } &&
5123 { ac_try
='test -s conftest.$ac_objext'
5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); }; }; then
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.
$ac_ext >&5
5135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5138 if test -n "$ac_declaration"; then
5139 echo '#ifdef __cplusplus' >>confdefs.h
5140 echo $ac_declaration >>confdefs.h
5141 echo '#endif' >>confdefs.h
5145 ac_cpp
='$CXXCPP $CPPFLAGS'
5146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5150 depcc
="$CXX" am_compiler_list
=
5152 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5153 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5154 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5158 # We make a subdir and do the tests there. Otherwise we can end up
5159 # making bogus files that we don't know about and never remove. For
5160 # instance it was reported that on HP-UX the gcc test will end up
5161 # making a dummy file named `D' -- because `-MD' means `put the output
5164 # Copy depcomp to subdir because otherwise we won't find it if we're
5165 # using a relative directory.
5166 cp "$am_depcomp" conftest.dir
5168 # We will build objects and dependencies in a subdirectory because
5169 # it helps to detect inapplicable dependency modes. For instance
5170 # both Tru64's cc and ICC support -MD to output dependencies as a
5171 # side effect of compilation, but ICC will put the dependencies in
5172 # the current directory while Tru64 will put them in the object
5176 am_cv_CXX_dependencies_compiler_type
=none
5177 if test "$am_compiler_list" = ""; then
5178 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5180 for depmode
in $am_compiler_list; do
5181 # Setup a source with many dependencies, because some compilers
5182 # like to wrap large dependency lists on column 80 (with \), and
5183 # we should not choose a depcomp mode which is confused by this.
5185 # We need to recreate these files for each test, as the compiler may
5186 # overwrite some of them when testing with obscure command lines.
5187 # This happens at least with the AIX C compiler.
5189 for i
in 1 2 3 4 5 6; do
5190 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5191 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5192 # Solaris 8's {/usr,}/bin/sh.
5193 touch sub
/conftst
$i.h
5195 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5199 # after this tag, mechanisms are not by side-effect, so they'll
5200 # only be used when explicitly requested
5201 if test "x$enable_dependency_tracking" = xyes
; then
5209 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5210 # mode. It turns out that the SunPro C++ compiler does not properly
5211 # handle `-M -o', and we need to detect this.
5212 if depmode
=$depmode \
5213 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5214 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5215 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5216 >/dev
/null
2>conftest.err
&&
5217 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5218 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5219 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5220 # icc doesn't choke on unknown options, it will just issue warnings
5221 # or remarks (even with -Werror). So we grep stderr for any message
5222 # that says an option was ignored or not supported.
5223 # When given -MP, icc 7.0 and 7.1 complain thusly:
5224 # icc: Command line warning: ignoring option '-M'; no argument required
5225 # The diagnosis changed in icc 8.0:
5226 # icc: Command line remark: option '-MP' not supported
5227 if (grep 'ignoring option' conftest.err ||
5228 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5229 am_cv_CXX_dependencies_compiler_type
=$depmode
5238 am_cv_CXX_dependencies_compiler_type
=none
5242 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5243 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5244 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5249 test "x$enable_dependency_tracking" != xno \
5250 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5251 am__fastdepCXX_TRUE
=
5252 am__fastdepCXX_FALSE
='#'
5254 am__fastdepCXX_TRUE
='#'
5255 am__fastdepCXX_FALSE
=
5261 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5262 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5263 (test "X$CXX" != "Xg++"))) ; then
5265 ac_cpp
='$CXXCPP $CPPFLAGS'
5266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5269 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5270 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5271 if test -z "$CXXCPP"; then
5272 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 # Double quotes because CXXCPP needs to be expanded
5276 for CXXCPP
in "$CXX -E" "/lib/cpp"
5279 for ac_cxx_preproc_warn_flag
in '' yes
5281 # Use a header file that comes with gcc, so configuring glibc
5282 # with a fresh cross-compiler works.
5283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5284 # <limits.h> exists even on freestanding compilers.
5285 # On the NeXT, cc -E runs the code through the compiler's parser,
5286 # not just through cpp. "Syntax error" is here to catch this case.
5287 cat >conftest.
$ac_ext <<_ACEOF
5290 cat confdefs.h
>>conftest.
$ac_ext
5291 cat >>conftest.
$ac_ext <<_ACEOF
5292 /* end confdefs.h. */
5294 # include <limits.h>
5296 # include <assert.h>
5300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5301 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5303 grep -v '^ *+' conftest.er1
>conftest.err
5305 cat conftest.err
>&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); } >/dev
/null
; then
5308 if test -s conftest.err
; then
5309 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5310 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5317 if test -z "$ac_cpp_err"; then
5320 echo "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.
$ac_ext >&5
5323 # Broken: fails on valid input.
5326 rm -f conftest.err conftest.
$ac_ext
5328 # OK, works on sane cases. Now check whether non-existent headers
5329 # can be detected and how.
5330 cat >conftest.
$ac_ext <<_ACEOF
5333 cat confdefs.h
>>conftest.
$ac_ext
5334 cat >>conftest.
$ac_ext <<_ACEOF
5335 /* end confdefs.h. */
5336 #include <ac_nonexistent.h>
5338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5339 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5341 grep -v '^ *+' conftest.er1
>conftest.err
5343 cat conftest.err
>&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } >/dev
/null
; then
5346 if test -s conftest.err
; then
5347 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5348 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5355 if test -z "$ac_cpp_err"; then
5356 # Broken: success on invalid input.
5359 echo "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.
$ac_ext >&5
5362 # Passes both tests.
5366 rm -f conftest.err conftest.
$ac_ext
5369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5370 rm -f conftest.err conftest.
$ac_ext
5371 if $ac_preproc_ok; then
5376 ac_cv_prog_CXXCPP
=$CXXCPP
5379 CXXCPP
=$ac_cv_prog_CXXCPP
5381 ac_cv_prog_CXXCPP
=$CXXCPP
5383 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5384 echo "${ECHO_T}$CXXCPP" >&6
5386 for ac_cxx_preproc_warn_flag
in '' yes
5388 # Use a header file that comes with gcc, so configuring glibc
5389 # with a fresh cross-compiler works.
5390 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5391 # <limits.h> exists even on freestanding compilers.
5392 # On the NeXT, cc -E runs the code through the compiler's parser,
5393 # not just through cpp. "Syntax error" is here to catch this case.
5394 cat >conftest.
$ac_ext <<_ACEOF
5397 cat confdefs.h
>>conftest.
$ac_ext
5398 cat >>conftest.
$ac_ext <<_ACEOF
5399 /* end confdefs.h. */
5401 # include <limits.h>
5403 # include <assert.h>
5407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5408 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5410 grep -v '^ *+' conftest.er1
>conftest.err
5412 cat conftest.err
>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } >/dev
/null
; then
5415 if test -s conftest.err
; then
5416 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5417 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5424 if test -z "$ac_cpp_err"; then
5427 echo "$as_me: failed program was:" >&5
5428 sed 's/^/| /' conftest.
$ac_ext >&5
5430 # Broken: fails on valid input.
5433 rm -f conftest.err conftest.
$ac_ext
5435 # OK, works on sane cases. Now check whether non-existent headers
5436 # can be detected and how.
5437 cat >conftest.
$ac_ext <<_ACEOF
5440 cat confdefs.h
>>conftest.
$ac_ext
5441 cat >>conftest.
$ac_ext <<_ACEOF
5442 /* end confdefs.h. */
5443 #include <ac_nonexistent.h>
5445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5448 grep -v '^ *+' conftest.er1
>conftest.err
5450 cat conftest.err
>&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } >/dev
/null
; then
5453 if test -s conftest.err
; then
5454 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5455 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5462 if test -z "$ac_cpp_err"; then
5463 # Broken: success on invalid input.
5466 echo "$as_me: failed program was:" >&5
5467 sed 's/^/| /' conftest.
$ac_ext >&5
5469 # Passes both tests.
5473 rm -f conftest.err conftest.
$ac_ext
5476 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5477 rm -f conftest.err conftest.
$ac_ext
5478 if $ac_preproc_ok; then
5481 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5482 See \`config.log' for more details." >&5
5483 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5484 See \`config.log' for more details." >&2;}
5485 { (exit 1); exit 1; }; }
5489 ac_cpp
='$CXXCPP $CPPFLAGS'
5490 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5491 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5492 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5498 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5499 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5500 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5501 if test -n "$ac_tool_prefix"; then
5502 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5505 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5506 echo "$as_me:$LINENO: checking for $ac_word" >&5
5507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5508 if test "${ac_cv_prog_F77+set}" = set; then
5509 echo $ECHO_N "(cached) $ECHO_C" >&6
5511 if test -n "$F77"; then
5512 ac_cv_prog_F77
="$F77" # Let the user override the test.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 if test -n "$F77"; then
5532 echo "$as_me:$LINENO: result: $F77" >&5
5533 echo "${ECHO_T}$F77" >&6
5535 echo "$as_me:$LINENO: result: no" >&5
5536 echo "${ECHO_T}no" >&6
5539 test -n "$F77" && break
5542 if test -z "$F77"; then
5544 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5546 # Extract the first word of "$ac_prog", so it can be a program name with args.
5547 set dummy
$ac_prog; ac_word
=$2
5548 echo "$as_me:$LINENO: checking for $ac_word" >&5
5549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5550 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 if test -n "$ac_ct_F77"; then
5554 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir
=.
5561 for ac_exec_ext
in '' $ac_executable_extensions; do
5562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_ac_ct_F77
="$ac_prog"
5564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5573 if test -n "$ac_ct_F77"; then
5574 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5575 echo "${ECHO_T}$ac_ct_F77" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5581 test -n "$ac_ct_F77" && break
5588 # Provide some information about the compiler.
5589 echo "$as_me:5589:" \
5590 "checking for Fortran 77 compiler version" >&5
5591 ac_compiler
=`set X $ac_compile; echo $2`
5592 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5593 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); }
5597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5598 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); }
5602 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5603 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }
5609 # If we don't use `.F' as extension, the preprocessor is not run on the
5610 # input file. (Note that this only needs to work for GNU compilers.)
5613 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5614 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5615 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5616 echo $ECHO_N "(cached) $ECHO_C" >&6
5618 cat >conftest.
$ac_ext <<_ACEOF
5626 rm -f conftest.
$ac_objext
5627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5628 (eval $ac_compile) 2>conftest.er1
5630 grep -v '^ *+' conftest.er1
>conftest.err
5632 cat conftest.err
>&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } &&
5635 { ac_try
='test -z "$ac_f77_werror_flag"
5636 || test ! -s conftest.err'
5637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); }; } &&
5642 { ac_try
='test -s conftest.$ac_objext'
5643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); }; }; then
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.
$ac_ext >&5
5655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5656 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5659 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5660 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5662 ac_test_FFLAGS
=${FFLAGS+set}
5663 ac_save_FFLAGS
=$FFLAGS
5665 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5666 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5667 if test "${ac_cv_prog_f77_g+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 cat >conftest.
$ac_ext <<_ACEOF
5676 rm -f conftest.
$ac_objext
5677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5678 (eval $ac_compile) 2>conftest.er1
5680 grep -v '^ *+' conftest.er1
>conftest.err
5682 cat conftest.err
>&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } &&
5685 { ac_try
='test -z "$ac_f77_werror_flag"
5686 || test ! -s conftest.err'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; } &&
5692 { ac_try
='test -s conftest.$ac_objext'
5693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); }; }; then
5698 ac_cv_prog_f77_g
=yes
5700 echo "$as_me: failed program was:" >&5
5701 sed 's/^/| /' conftest.
$ac_ext >&5
5705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5708 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5709 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5710 if test "$ac_test_FFLAGS" = set; then
5711 FFLAGS
=$ac_save_FFLAGS
5712 elif test $ac_cv_prog_f77_g = yes; then
5713 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5719 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5726 G77
=`test $ac_compiler_gnu = yes && echo yes`
5728 ac_cpp
='$CPP $CPPFLAGS'
5729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5735 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5737 # find the maximum length of command line arguments
5738 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5739 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5740 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5741 echo $ECHO_N "(cached) $ECHO_C" >&6
5748 # On DJGPP, this test can blow up pretty badly due to problems in libc
5749 # (any single argument exceeding 2000 bytes causes a buffer overrun
5750 # during glob expansion). Even if it were fixed, the result of this
5751 # check would be larger than it should be.
5752 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5756 # Under GNU Hurd, this test is not required because there is
5757 # no limit to the length of command line arguments.
5758 # Libtool will interpret -1 as no limit whatsoever
5759 lt_cv_sys_max_cmd_len
=-1;
5763 # On Win9x/ME, this test blows up -- it succeeds, but takes
5764 # about 5 minutes as the teststring grows exponentially.
5765 # Worse, since 9x/ME are not pre-emptively multitasking,
5766 # you end up with a "frozen" computer, even though with patience
5767 # the test eventually succeeds (with a max line length of 256k).
5768 # Instead, let's just punt: use the minimum linelength reported by
5769 # all of the supported platforms: 8192 (on NT/2K/XP).
5770 lt_cv_sys_max_cmd_len
=8192;
5774 # On AmigaOS with pdksh, this test takes hours, literally.
5775 # So we just punt and use a minimum line length of 8192.
5776 lt_cv_sys_max_cmd_len
=8192;
5779 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5780 # This has been around since 386BSD, at least. Likely further.
5781 if test -x /sbin
/sysctl
; then
5782 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5783 elif test -x /usr
/sbin
/sysctl
; then
5784 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5786 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5788 # And add a safety zone
5789 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5790 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5794 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5795 lt_cv_sys_max_cmd_len
=196608
5799 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5800 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5801 # nice to cause kernel panics so lets avoid the loop below.
5802 # First set a reasonable default.
5803 lt_cv_sys_max_cmd_len
=16384
5805 if test -x /sbin
/sysconfig
; then
5806 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5807 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5812 lt_cv_sys_max_cmd_len
=102400
5814 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5815 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5816 if test -n "$kargmax"; then
5817 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5819 lt_cv_sys_max_cmd_len
=32768
5823 # If test is not a shell built-in, we'll probably end up computing a
5824 # maximum length that is only half of the actual maximum length, but
5826 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5827 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5828 = "XX$teststring") >/dev
/null
2>&1 &&
5829 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5830 lt_cv_sys_max_cmd_len
=$new_result &&
5831 test $i != 17 # 1/2 MB should be enough
5834 teststring
=$teststring$teststring
5837 # Add a significant safety factor because C++ compilers can tack on massive
5838 # amounts of additional arguments before passing them to the linker.
5839 # It appears as though 1/2 is a usable value.
5840 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5846 if test -n $lt_cv_sys_max_cmd_len ; then
5847 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5848 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5850 echo "$as_me:$LINENO: result: none" >&5
5851 echo "${ECHO_T}none" >&6
5857 # Check for command to grab the raw symbol name followed by C symbol from nm.
5858 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5859 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5860 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5864 # These are sane defaults that work on at least a few old systems.
5865 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5867 # Character class describing NM global symbol codes.
5868 symcode
='[BCDEGRST]'
5870 # Regexp to match symbols that can be accessed directly from C.
5871 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5873 # Transform an extracted symbol line into a proper C declaration
5874 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5876 # Transform an extracted symbol line into symbol name and symbol address
5877 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5879 # Define system-specific variables.
5884 cygwin
* | mingw
* | pw32
*)
5885 symcode
='[ABCDGISTW]'
5887 hpux
*) # Its linker distinguishes data from code symbols
5888 if test "$host_cpu" = ia64
; then
5889 symcode
='[ABCDEGRST]'
5891 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5892 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5895 if test "$host_cpu" = ia64
; then
5896 symcode
='[ABCDGIRSTW]'
5897 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5898 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5902 symcode
='[BCDEGRST]'
5905 symcode
='[BCDEGQRST]'
5916 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5924 # Handle CRLF in mingw tool chain
5928 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5932 # If we're using GNU nm, then use its standard symbol codes.
5933 case `$NM -V 2>&1` in
5934 *GNU
* |
*'with BFD'*)
5935 symcode
='[ABCDGIRSTW]' ;;
5938 # Try without a prefix undercore, then with it.
5939 for ac_symprfx
in "" "_"; do
5941 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5942 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5944 # Write the raw and C identifiers.
5945 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5947 # Check to see that the pipe works correctly.
5951 cat > conftest.
$ac_ext <<EOF
5956 void nm_test_func(){}
5960 int main(){nm_test_var='a';nm_test_func();return(0);}
5963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5964 (eval $ac_compile) 2>&5
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); }; then
5968 # Now try to grab the symbols.
5970 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5971 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); } && test -s "$nlist"; then
5975 # Try sorting and uniquifying the output.
5976 if sort "$nlist" |
uniq > "$nlist"T
; then
5977 mv -f "$nlist"T
"$nlist"
5982 # Make sure that we snagged all the symbols we need.
5983 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5984 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5985 cat <<EOF > conftest.$ac_ext
5991 # Now generate the symbol file.
5992 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5994 cat <<EOF >> conftest.$ac_ext
5995 #if defined (__STDC__) && __STDC__
5996 # define lt_ptr_t void *
5998 # define lt_ptr_t char *
6002 /* The mapping between symbol names and symbols. */
6007 lt_preloaded_symbols[] =
6010 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6011 cat <<\EOF
>> conftest.
$ac_ext
6019 # Now try linking the two files.
6020 mv conftest.
$ac_objext conftstm.
$ac_objext
6021 lt_save_LIBS
="$LIBS"
6022 lt_save_CFLAGS
="$CFLAGS"
6023 LIBS
="conftstm.$ac_objext"
6024 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6026 (eval $ac_link) 2>&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6032 LIBS
="$lt_save_LIBS"
6033 CFLAGS
="$lt_save_CFLAGS"
6035 echo "cannot find nm_test_func in $nlist" >&5
6038 echo "cannot find nm_test_var in $nlist" >&5
6041 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6044 echo "$progname: failed program was:" >&5
6045 cat conftest.
$ac_ext >&5
6047 rm -f conftest
* conftst
*
6049 # Do not use the global_symbol_pipe unless it works.
6050 if test "$pipe_works" = yes; then
6053 lt_cv_sys_global_symbol_pipe
=
6059 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6060 lt_cv_sys_global_symbol_to_cdecl
=
6062 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6063 echo "$as_me:$LINENO: result: failed" >&5
6064 echo "${ECHO_T}failed" >&6
6066 echo "$as_me:$LINENO: result: ok" >&5
6067 echo "${ECHO_T}ok" >&6
6070 echo "$as_me:$LINENO: checking for objdir" >&5
6071 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6072 if test "${lt_cv_objdir+set}" = set; then
6073 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 rm -f .libs
2>/dev
/null
6076 mkdir .libs
2>/dev
/null
6077 if test -d .libs
; then
6080 # MS-DOS does not allow filenames that begin with a dot.
6083 rmdir .libs
2>/dev
/null
6085 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6086 echo "${ECHO_T}$lt_cv_objdir" >&6
6087 objdir
=$lt_cv_objdir
6095 # AIX sometimes has problems with the GCC collect2 program. For some
6096 # reason, if we set the COLLECT_NAMES environment variable, the problems
6097 # vanish in a puff of smoke.
6098 if test "X${COLLECT_NAMES+set}" != Xset
; then
6100 export COLLECT_NAMES
6105 # Sed substitution that helps us do robust quoting. It backslashifies
6106 # metacharacters that are still active within double-quoted strings.
6107 Xsed
='sed -e 1s/^X//'
6108 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6110 # Same as above, but do not quote variable references.
6111 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6113 # Sed substitution to delay expansion of an escaped shell variable in a
6114 # double_quote_subst'ed string.
6115 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6117 # Sed substitution to avoid accidental globbing in evaled expressions
6118 no_glob_subst
='s/\*/\\\*/g'
6124 default_ofile
=libtool
6125 can_build_shared
=yes
6127 # All known linkers require a `.a' archive for static linking (except MSVC,
6128 # which needs '.lib').
6130 ltmain
="$ac_aux_dir/ltmain.sh"
6131 ofile
="$default_ofile"
6132 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6134 if test -n "$ac_tool_prefix"; then
6135 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6136 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6137 echo "$as_me:$LINENO: checking for $ac_word" >&5
6138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6139 if test "${ac_cv_prog_AR+set}" = set; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 if test -n "$AR"; then
6143 ac_cv_prog_AR
="$AR" # Let the user override the test.
6145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6149 test -z "$as_dir" && as_dir
=.
6150 for ac_exec_ext
in '' $ac_executable_extensions; do
6151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6152 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 if test -n "$AR"; then
6163 echo "$as_me:$LINENO: result: $AR" >&5
6164 echo "${ECHO_T}$AR" >&6
6166 echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6
6171 if test -z "$ac_cv_prog_AR"; then
6173 # Extract the first word of "ar", so it can be a program name with args.
6174 set dummy
ar; ac_word
=$2
6175 echo "$as_me:$LINENO: checking for $ac_word" >&5
6176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6177 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6180 if test -n "$ac_ct_AR"; then
6181 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6187 test -z "$as_dir" && as_dir
=.
6188 for ac_exec_ext
in '' $ac_executable_extensions; do
6189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_AR
="ar"
6191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6197 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6200 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6201 if test -n "$ac_ct_AR"; then
6202 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6203 echo "${ECHO_T}$ac_ct_AR" >&6
6205 echo "$as_me:$LINENO: result: no" >&5
6206 echo "${ECHO_T}no" >&6
6214 if test -n "$ac_tool_prefix"; then
6215 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6216 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6217 echo "$as_me:$LINENO: checking for $ac_word" >&5
6218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6219 if test "${ac_cv_prog_RANLIB+set}" = set; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 if test -n "$RANLIB"; then
6223 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6229 test -z "$as_dir" && as_dir
=.
6230 for ac_exec_ext
in '' $ac_executable_extensions; do
6231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6232 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 RANLIB
=$ac_cv_prog_RANLIB
6242 if test -n "$RANLIB"; then
6243 echo "$as_me:$LINENO: result: $RANLIB" >&5
6244 echo "${ECHO_T}$RANLIB" >&6
6246 echo "$as_me:$LINENO: result: no" >&5
6247 echo "${ECHO_T}no" >&6
6251 if test -z "$ac_cv_prog_RANLIB"; then
6252 ac_ct_RANLIB
=$RANLIB
6253 # Extract the first word of "ranlib", so it can be a program name with args.
6254 set dummy ranlib
; ac_word
=$2
6255 echo "$as_me:$LINENO: checking for $ac_word" >&5
6256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6257 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 if test -n "$ac_ct_RANLIB"; then
6261 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir
=.
6268 for ac_exec_ext
in '' $ac_executable_extensions; do
6269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6280 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6281 if test -n "$ac_ct_RANLIB"; then
6282 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6283 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6285 echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6
6289 RANLIB
=$ac_ct_RANLIB
6291 RANLIB
="$ac_cv_prog_RANLIB"
6294 if test -n "$ac_tool_prefix"; then
6295 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6296 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6297 echo "$as_me:$LINENO: checking for $ac_word" >&5
6298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6299 if test "${ac_cv_prog_STRIP+set}" = set; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 if test -n "$STRIP"; then
6303 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir
=.
6310 for ac_exec_ext
in '' $ac_executable_extensions; do
6311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6312 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 STRIP
=$ac_cv_prog_STRIP
6322 if test -n "$STRIP"; then
6323 echo "$as_me:$LINENO: result: $STRIP" >&5
6324 echo "${ECHO_T}$STRIP" >&6
6326 echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6
6331 if test -z "$ac_cv_prog_STRIP"; then
6333 # Extract the first word of "strip", so it can be a program name with args.
6334 set dummy strip
; ac_word
=$2
6335 echo "$as_me:$LINENO: checking for $ac_word" >&5
6336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6337 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6340 if test -n "$ac_ct_STRIP"; then
6341 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir
=.
6348 for ac_exec_ext
in '' $ac_executable_extensions; do
6349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6350 ac_cv_prog_ac_ct_STRIP
="strip"
6351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6357 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6360 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6361 if test -n "$ac_ct_STRIP"; then
6362 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6363 echo "${ECHO_T}$ac_ct_STRIP" >&6
6365 echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6
6371 STRIP
="$ac_cv_prog_STRIP"
6376 old_CFLAGS
="$CFLAGS"
6378 # Set sane defaults for various variables
6379 test -z "$AR" && AR
=ar
6380 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6381 test -z "$AS" && AS
=as
6382 test -z "$CC" && CC
=cc
6383 test -z "$LTCC" && LTCC
=$CC
6384 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6385 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6386 test -z "$LD" && LD
=ld
6387 test -z "$LN_S" && LN_S
="ln -s"
6388 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6389 test -z "$NM" && NM
=nm
6390 test -z "$SED" && SED
=sed
6391 test -z "$OBJDUMP" && OBJDUMP
=objdump
6392 test -z "$RANLIB" && RANLIB
=:
6393 test -z "$STRIP" && STRIP
=:
6394 test -z "$ac_objext" && ac_objext
=o
6396 # Determine commands to create old-style static archives.
6397 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6398 old_postinstall_cmds
='chmod 644 $oldlib'
6399 old_postuninstall_cmds
=
6401 if test -n "$RANLIB"; then
6404 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6407 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6410 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6413 for cc_temp
in $compiler""; do
6415 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6416 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6421 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6424 # Only perform the check for file, if the check method requires it
6425 case $deplibs_check_method in
6427 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6428 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6429 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6430 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6438 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6439 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6440 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6441 for ac_dir
in $ac_dummy; do
6443 test -z "$ac_dir" && ac_dir
=.
6444 if test -f $ac_dir/${ac_tool_prefix}file; then
6445 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6446 if test -n "$file_magic_test_file"; then
6447 case $deplibs_check_method in
6449 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6450 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6451 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6452 $EGREP "$file_magic_regex" > /dev
/null
; then
6457 *** Warning: the command libtool uses to detect shared libraries,
6458 *** $file_magic_cmd, produces output that libtool cannot recognize.
6459 *** The result is that libtool may fail to recognize shared libraries
6460 *** as such. This will affect the creation of libtool libraries that
6461 *** depend on shared libraries, but programs linked with such libtool
6462 *** libraries will work regardless of this problem. Nevertheless, you
6463 *** may want to report the problem to your system manager and/or to
6464 *** bug-libtool@gnu.org
6474 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6479 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6480 if test -n "$MAGIC_CMD"; then
6481 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6482 echo "${ECHO_T}$MAGIC_CMD" >&6
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6488 if test -z "$lt_cv_path_MAGIC_CMD"; then
6489 if test -n "$ac_tool_prefix"; then
6490 echo "$as_me:$LINENO: checking for file" >&5
6491 echo $ECHO_N "checking for file... $ECHO_C" >&6
6492 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6493 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6500 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6501 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6502 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6503 for ac_dir
in $ac_dummy; do
6505 test -z "$ac_dir" && ac_dir
=.
6506 if test -f $ac_dir/file; then
6507 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6508 if test -n "$file_magic_test_file"; then
6509 case $deplibs_check_method in
6511 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6512 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6513 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6514 $EGREP "$file_magic_regex" > /dev
/null
; then
6519 *** Warning: the command libtool uses to detect shared libraries,
6520 *** $file_magic_cmd, produces output that libtool cannot recognize.
6521 *** The result is that libtool may fail to recognize shared libraries
6522 *** as such. This will affect the creation of libtool libraries that
6523 *** depend on shared libraries, but programs linked with such libtool
6524 *** libraries will work regardless of this problem. Nevertheless, you
6525 *** may want to report the problem to your system manager and/or to
6526 *** bug-libtool@gnu.org
6536 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6541 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6542 if test -n "$MAGIC_CMD"; then
6543 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6544 echo "${ECHO_T}$MAGIC_CMD" >&6
6546 echo "$as_me:$LINENO: result: no" >&5
6547 echo "${ECHO_T}no" >&6
6562 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6563 if test "${enable_libtool_lock+set}" = set; then
6564 enableval
="$enable_libtool_lock"
6567 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6570 # Check whether --with-pic or --without-pic was given.
6571 if test "${with_pic+set}" = set; then
6577 test -z "$pic_mode" && pic_mode
=default
6579 # Use C for the default configuration in the libtool script
6583 ac_cpp
='$CPP $CPPFLAGS'
6584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6589 # Source file extension for C test sources.
6592 # Object file extension for compiled C test sources.
6596 # Code to be used in simple compile tests
6597 lt_simple_compile_test_code
="int some_variable = 0;\n"
6599 # Code to be used in simple link tests
6600 lt_simple_link_test_code
='int main(){return(0);}\n'
6603 # If no C compiler was specified, use CC.
6606 # If no C compiler flags were specified, use CFLAGS.
6607 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6609 # Allow CC to be a program name with arguments.
6613 # save warnings/boilerplate of simple test code
6614 ac_outfile
=conftest.
$ac_objext
6615 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6616 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6617 _lt_compiler_boilerplate
=`cat conftest.err`
6620 ac_outfile
=conftest.
$ac_objext
6621 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6622 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6623 _lt_linker_boilerplate
=`cat conftest.err`
6628 lt_prog_compiler_no_builtin_flag
=
6630 if test "$GCC" = yes; then
6631 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6634 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6635 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6636 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6637 echo $ECHO_N "(cached) $ECHO_C" >&6
6639 lt_cv_prog_compiler_rtti_exceptions
=no
6640 ac_outfile
=conftest.
$ac_objext
6641 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6642 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6643 # Insert the option either (1) after the last *FLAGS variable, or
6644 # (2) before a word containing "conftest.", or (3) at the end.
6645 # Note that $ac_compile itself does not contain backslashes and begins
6646 # with a dollar sign (not a hyphen), so the echo should work correctly.
6647 # The option is referenced via a variable to avoid confusing sed.
6648 lt_compile
=`echo "$ac_compile" | $SED \
6649 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6650 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6651 -e 's:$: $lt_compiler_flag:'`
6652 (eval echo "\"\$as_me:6652: $lt_compile\"" >&5)
6653 (eval "$lt_compile" 2>conftest.err
)
6655 cat conftest.err
>&5
6656 echo "$as_me:6656: \$? = $ac_status" >&5
6657 if (exit $ac_status) && test -s "$ac_outfile"; then
6658 # The compiler can only warn and ignore the option if not recognized
6659 # So say no if there are warnings other than the usual output.
6660 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6661 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6662 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6663 lt_cv_prog_compiler_rtti_exceptions
=yes
6669 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6670 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6672 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6673 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6680 lt_prog_compiler_wl
=
6681 lt_prog_compiler_pic
=
6682 lt_prog_compiler_static
=
6684 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6685 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6687 if test "$GCC" = yes; then
6688 lt_prog_compiler_wl
='-Wl,'
6689 lt_prog_compiler_static
='-static'
6693 # All AIX code is PIC.
6694 if test "$host_cpu" = ia64
; then
6695 # AIX 5 now supports IA64 processor
6696 lt_prog_compiler_static
='-Bstatic'
6701 # FIXME: we need at least 68020 code to build shared libraries, but
6702 # adding the `-m68020' flag to GCC prevents building anything better,
6704 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6707 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6708 # PIC is the default for these OSes.
6711 mingw
* | pw32
* | os2
*)
6712 # This hack is so that the source file can tell whether it is being
6713 # built for inclusion in a dll (and should export symbols for example).
6714 lt_prog_compiler_pic
='-DDLL_EXPORT'
6717 darwin
* | rhapsody
*)
6718 # PIC is the default on this platform
6719 # Common symbols not allowed in MH_DYLIB files
6720 lt_prog_compiler_pic
='-fno-common'
6724 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6725 # Instead, we relocate shared libraries at runtime.
6729 # Just because we use GCC doesn't mean we suddenly get shared libraries
6730 # on systems that don't support them.
6731 lt_prog_compiler_can_build_shared
=no
6736 if test -d /usr
/nec
; then
6737 lt_prog_compiler_pic
=-Kconform_pic
6742 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6749 lt_prog_compiler_pic
='-fPIC'
6755 lt_prog_compiler_pic
='-fPIC'
6759 # PORTME Check for flag to pass linker flags through the system compiler.
6762 lt_prog_compiler_wl
='-Wl,'
6763 if test "$host_cpu" = ia64
; then
6764 # AIX 5 now supports IA64 processor
6765 lt_prog_compiler_static
='-Bstatic'
6767 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6771 # PIC is the default on this platform
6772 # Common symbols not allowed in MH_DYLIB files
6773 case $cc_basename in
6775 lt_prog_compiler_pic
='-qnocommon'
6776 lt_prog_compiler_wl
='-Wl,'
6781 mingw
* | pw32
* | os2
*)
6782 # This hack is so that the source file can tell whether it is being
6783 # built for inclusion in a dll (and should export symbols for example).
6784 lt_prog_compiler_pic
='-DDLL_EXPORT'
6787 hpux9
* | hpux10
* | hpux11
*)
6788 lt_prog_compiler_wl
='-Wl,'
6789 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6796 lt_prog_compiler_pic
='+Z'
6799 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6800 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6803 irix5
* | irix6
* | nonstopux
*)
6804 lt_prog_compiler_wl
='-Wl,'
6805 # PIC (with -KPIC) is the default.
6806 lt_prog_compiler_static
='-non_shared'
6810 lt_prog_compiler_pic
='-KPIC'
6811 lt_prog_compiler_static
='-Bstatic'
6815 case $cc_basename in
6817 lt_prog_compiler_wl
='-Wl,'
6818 lt_prog_compiler_pic
='-KPIC'
6819 lt_prog_compiler_static
='-static'
6821 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6822 # Portland Group compilers (*not* the Pentium gcc compiler,
6823 # which looks to be a dead project)
6824 lt_prog_compiler_wl
='-Wl,'
6825 lt_prog_compiler_pic
='-fpic'
6826 lt_prog_compiler_static
='-Bstatic'
6829 lt_prog_compiler_wl
='-Wl,'
6830 # All Alpha code is PIC.
6831 lt_prog_compiler_static
='-non_shared'
6836 osf3
* | osf4
* | osf5
*)
6837 lt_prog_compiler_wl
='-Wl,'
6838 # All OSF/1 code is PIC.
6839 lt_prog_compiler_static
='-non_shared'
6843 lt_prog_compiler_pic
='-KPIC'
6844 lt_prog_compiler_static
='-Bstatic'
6845 case $cc_basename in
6847 lt_prog_compiler_wl
='-Qoption ld ';;
6849 lt_prog_compiler_wl
='-Wl,';;
6854 lt_prog_compiler_wl
='-Qoption ld '
6855 lt_prog_compiler_pic
='-PIC'
6856 lt_prog_compiler_static
='-Bstatic'
6859 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6860 lt_prog_compiler_wl
='-Wl,'
6861 lt_prog_compiler_pic
='-KPIC'
6862 lt_prog_compiler_static
='-Bstatic'
6866 if test -d /usr
/nec
;then
6867 lt_prog_compiler_pic
='-Kconform_pic'
6868 lt_prog_compiler_static
='-Bstatic'
6872 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6873 lt_prog_compiler_wl
='-Wl,'
6874 lt_prog_compiler_pic
='-KPIC'
6875 lt_prog_compiler_static
='-Bstatic'
6879 lt_prog_compiler_wl
='-Wl,'
6880 lt_prog_compiler_can_build_shared
=no
6884 lt_prog_compiler_pic
='-pic'
6885 lt_prog_compiler_static
='-Bstatic'
6889 lt_prog_compiler_can_build_shared
=no
6894 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6895 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6898 # Check to make sure the PIC flag actually works.
6900 if test -n "$lt_prog_compiler_pic"; then
6902 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6903 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6904 if test "${lt_prog_compiler_pic_works+set}" = set; then
6905 echo $ECHO_N "(cached) $ECHO_C" >&6
6907 lt_prog_compiler_pic_works
=no
6908 ac_outfile
=conftest.
$ac_objext
6909 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6910 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6911 # Insert the option either (1) after the last *FLAGS variable, or
6912 # (2) before a word containing "conftest.", or (3) at the end.
6913 # Note that $ac_compile itself does not contain backslashes and begins
6914 # with a dollar sign (not a hyphen), so the echo should work correctly.
6915 # The option is referenced via a variable to avoid confusing sed.
6916 lt_compile
=`echo "$ac_compile" | $SED \
6917 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6918 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6919 -e 's:$: $lt_compiler_flag:'`
6920 (eval echo "\"\$as_me:6920: $lt_compile\"" >&5)
6921 (eval "$lt_compile" 2>conftest.err
)
6923 cat conftest.err
>&5
6924 echo "$as_me:6924: \$? = $ac_status" >&5
6925 if (exit $ac_status) && test -s "$ac_outfile"; then
6926 # The compiler can only warn and ignore the option if not recognized
6927 # So say no if there are warnings other than the usual output.
6928 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6929 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6930 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6931 lt_prog_compiler_pic_works
=yes
6937 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6938 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6940 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6941 case $lt_prog_compiler_pic in
6943 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6946 lt_prog_compiler_pic
=
6947 lt_prog_compiler_can_build_shared
=no
6952 # For platforms which do not support PIC, -DPIC is meaningless:
6954 lt_prog_compiler_pic
=
6957 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6962 # Check to make sure the static flag actually works.
6964 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6965 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6966 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6967 if test "${lt_prog_compiler_static_works+set}" = set; then
6968 echo $ECHO_N "(cached) $ECHO_C" >&6
6970 lt_prog_compiler_static_works
=no
6971 save_LDFLAGS
="$LDFLAGS"
6972 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6973 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6974 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6975 # The linker can only warn and ignore the option if not recognized
6976 # So say no if there are warnings
6977 if test -s conftest.err
; then
6978 # Append any errors to the config.log.
6979 cat conftest.err
1>&5
6980 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6981 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6982 if diff conftest.exp conftest.er2
>/dev
/null
; then
6983 lt_prog_compiler_static_works
=yes
6986 lt_prog_compiler_static_works
=yes
6990 LDFLAGS
="$save_LDFLAGS"
6993 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6994 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6996 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6999 lt_prog_compiler_static
=
7003 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7004 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7005 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7008 lt_cv_prog_compiler_c_o
=no
7009 $rm -r conftest
2>/dev
/null
7013 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7015 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7016 # Insert the option either (1) after the last *FLAGS variable, or
7017 # (2) before a word containing "conftest.", or (3) at the end.
7018 # Note that $ac_compile itself does not contain backslashes and begins
7019 # with a dollar sign (not a hyphen), so the echo should work correctly.
7020 lt_compile
=`echo "$ac_compile" | $SED \
7021 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7022 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7023 -e 's:$: $lt_compiler_flag:'`
7024 (eval echo "\"\$as_me:7024: $lt_compile\"" >&5)
7025 (eval "$lt_compile" 2>out
/conftest.err
)
7027 cat out
/conftest.err
>&5
7028 echo "$as_me:7028: \$? = $ac_status" >&5
7029 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7031 # The compiler can only warn and ignore the option if not recognized
7032 # So say no if there are warnings
7033 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7034 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7035 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7036 lt_cv_prog_compiler_c_o
=yes
7041 # SGI C++ compiler will create directory out/ii_files/ for
7042 # template instantiation
7043 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7044 $rm out
/* && rmdir out
7050 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7051 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7054 hard_links
="nottested"
7055 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7056 # do not overwrite the value of need_locks provided by the user
7057 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7058 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7061 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7063 ln conftest.a conftest.b
2>&5 || hard_links
=no
7064 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7065 echo "$as_me:$LINENO: result: $hard_links" >&5
7066 echo "${ECHO_T}$hard_links" >&6
7067 if test "$hard_links" = no
; then
7068 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7069 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7076 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7077 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7080 allow_undefined_flag
=
7081 enable_shared_with_static_runtimes
=no
7083 archive_expsym_cmds
=
7084 old_archive_From_new_cmds
=
7085 old_archive_from_expsyms_cmds
=
7086 export_dynamic_flag_spec
=
7087 whole_archive_flag_spec
=
7088 thread_safe_flag_spec
=
7089 hardcode_libdir_flag_spec
=
7090 hardcode_libdir_flag_spec_ld
=
7091 hardcode_libdir_separator
=
7094 hardcode_shlibpath_var
=unsupported
7095 link_all_deplibs
=unknown
7096 hardcode_automatic
=no
7099 always_export_symbols
=no
7100 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7101 # include_expsyms should be a list of space-separated symbols to be *always*
7102 # included in the symbol list
7104 # exclude_expsyms can be an extended regexp of symbols to exclude
7105 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7106 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7107 # as well as any symbol that contains `d'.
7108 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7109 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7110 # platforms (ab)use it in PIC code, but their linkers get confused if
7111 # the symbol is explicitly referenced. Since portable code cannot
7112 # rely on this symbol name, it's probably fine to never include it in
7113 # preloaded symbol tables.
7114 extract_expsyms_cmds
=
7115 # Just being paranoid about ensuring that cc_basename is set.
7116 for cc_temp
in $compiler""; do
7118 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7119 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7124 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7127 cygwin
* | mingw
* | pw32
*)
7128 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7129 # When not using gcc, we currently assume that we are using
7130 # Microsoft Visual C++.
7131 if test "$GCC" != yes; then
7136 # we just hope/assume this is gcc and not c89 (= MSVC++)
7145 if test "$with_gnu_ld" = yes; then
7146 # If archive_cmds runs LD, not CC, wlarc should be empty
7149 # Set some defaults for GNU ld with shared library support. These
7150 # are reset later if shared libraries are not supported. Putting them
7151 # here allows them to be overridden if necessary.
7152 runpath_var
=LD_RUN_PATH
7153 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7154 export_dynamic_flag_spec
='${wl}--export-dynamic'
7155 # ancient GNU ld didn't support --whole-archive et. al.
7156 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7157 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7159 whole_archive_flag_spec
=
7161 supports_anon_versioning
=no
7162 case `$LD -v 2>/dev/null` in
7163 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7164 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7165 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7166 *\
2.11.
*) ;; # other 2.11 versions
7167 *) supports_anon_versioning
=yes ;;
7170 # See if GNU ld supports shared libraries.
7172 aix3
* | aix4
* | aix5
*)
7173 # On AIX/PPC, the GNU linker is very broken
7174 if test "$host_cpu" != ia64
; then
7178 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7179 *** to be unable to reliably create shared libraries on AIX.
7180 *** Therefore, libtool is disabling shared libraries support. If you
7181 *** really care for shared libraries, you may want to modify your PATH
7182 *** so that a non-GNU linker is found, and then restart.
7189 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)'
7190 hardcode_libdir_flag_spec
='-L$libdir'
7191 hardcode_minus_L
=yes
7193 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7194 # that the semantics of dynamic libraries on AmigaOS, at least up
7195 # to version 4, is to share data among multiple programs linked
7196 # with the same dynamic library. Since this doesn't match the
7197 # behavior of shared libraries on other platforms, we can't use
7203 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7204 allow_undefined_flag
=unsupported
7205 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7206 # support --undefined. This deserves some investigation. FIXME
7207 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7213 cygwin
* | mingw
* | pw32
*)
7214 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7215 # as there is no search path for DLLs.
7216 hardcode_libdir_flag_spec
='-L$libdir'
7217 allow_undefined_flag
=unsupported
7218 always_export_symbols
=no
7219 enable_shared_with_static_runtimes
=yes
7220 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7222 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7223 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7224 # If the export-symbols file already is a .def file (1st line
7225 # is EXPORTS), use it as is; otherwise, prepend...
7226 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7227 cp $export_symbols $output_objdir/$soname.def;
7229 echo EXPORTS > $output_objdir/$soname.def;
7230 cat $export_symbols >> $output_objdir/$soname.def;
7232 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7240 hardcode_shlibpath_var
=no
7241 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7242 export_dynamic_flag_spec
='${wl}-E'
7243 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7244 # Instead, shared libraries are loaded at an image base (0x10000000 by
7245 # default) and relocated if they conflict, which is a slow very memory
7246 # consuming and fragmenting process. To avoid this, we pick a random,
7247 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7248 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7249 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7250 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'
7254 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7256 case $cc_basename,$host_cpu in
7257 pgcc
*) # Portland Group C compiler
7258 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7259 tmp_addflag
=' $pic_flag'
7261 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7262 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7263 tmp_addflag
=' $pic_flag -Mnomain' ;;
7264 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7265 tmp_addflag
=' -i_dynamic' ;;
7266 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7267 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7268 ifc
* | ifort
*) # Intel Fortran compiler
7269 tmp_addflag
=' -nofor_main' ;;
7271 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7273 if test $supports_anon_versioning = yes; then
7274 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7275 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7276 $echo "local: *; };" >> $output_objdir/$libname.ver~
7277 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7285 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7286 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7289 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7290 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7295 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7299 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7300 *** create shared libraries on Solaris systems. Therefore, libtool
7301 *** is disabling shared libraries support. We urge you to upgrade GNU
7302 *** binutils to release 2.9.1 or newer. Another option is to modify
7303 *** your PATH or compiler configuration so that the native linker is
7304 *** used, and then restart.
7307 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7308 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7309 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7315 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7316 case `$LD -v 2>&1` in
7317 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7321 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7322 *** reliably create shared libraries on SCO systems. Therefore, libtool
7323 *** is disabling shared libraries support. We urge you to upgrade GNU
7324 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7325 *** your PATH or compiler configuration so that the native linker is
7326 *** used, and then restart.
7331 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7332 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7333 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7334 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7343 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7346 hardcode_shlibpath_var
=no
7350 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7351 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7352 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7359 if test "$ld_shlibs" = no
; then
7361 hardcode_libdir_flag_spec
=
7362 export_dynamic_flag_spec
=
7363 whole_archive_flag_spec
=
7366 # PORTME fill in a description of your system's linker (not GNU ld)
7369 allow_undefined_flag
=unsupported
7370 always_export_symbols
=yes
7371 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'
7372 # Note: this linker hardcodes the directories in LIBPATH if there
7373 # are no directories specified by -L.
7374 hardcode_minus_L
=yes
7375 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7376 # Neither direct hardcoding nor static linking is supported with a
7378 hardcode_direct
=unsupported
7383 if test "$host_cpu" = ia64
; then
7384 # On IA64, the linker does run time linking by default, so we don't
7385 # have to do anything special.
7386 aix_use_runtimelinking
=no
7387 exp_sym_flag
='-Bexport'
7390 # If we're using GNU nm, then we don't want the "-C" option.
7391 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7392 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7393 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7395 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'
7397 aix_use_runtimelinking
=no
7399 # Test if we are trying to use run time linking or normal
7400 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7401 # need to do runtime linking.
7402 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7403 for ld_flag
in $LDFLAGS; do
7404 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7405 aix_use_runtimelinking
=yes
7412 exp_sym_flag
='-bexport'
7413 no_entry_flag
='-bnoentry'
7416 # When large executables or shared objects are built, AIX ld can
7417 # have problems creating the table of contents. If linking a library
7418 # or program results in "error TOC overflow" add -mminimal-toc to
7419 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7420 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7424 hardcode_libdir_separator
=':'
7425 link_all_deplibs
=yes
7427 if test "$GCC" = yes; then
7428 case $host_os in aix4.
[012]|aix4.
[012].
*)
7429 # We only want to do this on AIX 4.2 and lower, the check
7430 # below for broken collect2 doesn't work under 4.3+
7431 collect2name
=`${CC} -print-prog-name=collect2`
7432 if test -f "$collect2name" && \
7433 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7435 # We have reworked collect2
7438 # We have old collect2
7439 hardcode_direct
=unsupported
7440 # It fails to find uninstalled libraries when the uninstalled
7441 # path is not listed in the libpath. Setting hardcode_minus_L
7442 # to unsupported forces relinking
7443 hardcode_minus_L
=yes
7444 hardcode_libdir_flag_spec
='-L$libdir'
7445 hardcode_libdir_separator
=
7449 shared_flag
='-shared'
7450 if test "$aix_use_runtimelinking" = yes; then
7451 shared_flag
="$shared_flag "'${wl}-G'
7455 if test "$host_cpu" = ia64
; then
7456 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7457 # chokes on -Wl,-G. The following line is correct:
7460 if test "$aix_use_runtimelinking" = yes; then
7461 shared_flag
='${wl}-G'
7463 shared_flag
='${wl}-bM:SRE'
7468 # It seems that -bexpall does not export symbols beginning with
7469 # underscore (_), so it is better to generate a list of symbols to export.
7470 always_export_symbols
=yes
7471 if test "$aix_use_runtimelinking" = yes; then
7472 # Warning - without using the other runtime loading flags (-brtl),
7473 # -berok will link without error, but may produce a broken library.
7474 allow_undefined_flag
='-berok'
7475 # Determine the default libpath from the value encoded in an empty executable.
7476 cat >conftest.
$ac_ext <<_ACEOF
7479 cat confdefs.h
>>conftest.
$ac_ext
7480 cat >>conftest.
$ac_ext <<_ACEOF
7481 /* end confdefs.h. */
7491 rm -f conftest.
$ac_objext conftest
$ac_exeext
7492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7493 (eval $ac_link) 2>conftest.er1
7495 grep -v '^ *+' conftest.er1
>conftest.err
7497 cat conftest.err
>&5
7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); } &&
7500 { ac_try
='test -z "$ac_c_werror_flag"
7501 || test ! -s conftest.err'
7502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); }; } &&
7507 { ac_try
='test -s conftest$ac_exeext'
7508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); }; }; then
7514 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7516 # Check for a 64-bit object if we didn't find anything.
7517 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.
$ac_ext >&5
7524 rm -f conftest.err conftest.
$ac_objext \
7525 conftest
$ac_exeext conftest.
$ac_ext
7526 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7528 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7529 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7531 if test "$host_cpu" = ia64
; then
7532 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7533 allow_undefined_flag
="-z nodefs"
7534 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"
7536 # Determine the default libpath from the value encoded in an empty executable.
7537 cat >conftest.
$ac_ext <<_ACEOF
7540 cat confdefs.h
>>conftest.
$ac_ext
7541 cat >>conftest.
$ac_ext <<_ACEOF
7542 /* end confdefs.h. */
7552 rm -f conftest.
$ac_objext conftest
$ac_exeext
7553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7554 (eval $ac_link) 2>conftest.er1
7556 grep -v '^ *+' conftest.er1
>conftest.err
7558 cat conftest.err
>&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } &&
7561 { ac_try
='test -z "$ac_c_werror_flag"
7562 || test ! -s conftest.err'
7563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); }; } &&
7568 { ac_try
='test -s conftest$ac_exeext'
7569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); }; }; then
7575 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7577 # Check for a 64-bit object if we didn't find anything.
7578 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.
$ac_ext >&5
7585 rm -f conftest.err conftest.
$ac_objext \
7586 conftest
$ac_exeext conftest.
$ac_ext
7587 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7589 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7590 # Warning - without using the other run time loading flags,
7591 # -berok will link without error, but may produce a broken library.
7592 no_undefined_flag
=' ${wl}-bernotok'
7593 allow_undefined_flag
=' ${wl}-berok'
7594 # Exported symbols can be pulled into shared objects from archives
7595 whole_archive_flag_spec
='$convenience'
7596 archive_cmds_need_lc
=yes
7597 # This is similar to how AIX traditionally builds its shared libraries.
7598 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'
7604 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)'
7605 hardcode_libdir_flag_spec
='-L$libdir'
7606 hardcode_minus_L
=yes
7607 # see comment about different semantics on the GNU ld section
7612 export_dynamic_flag_spec
=-rdynamic
7615 cygwin
* | mingw
* | pw32
*)
7616 # When not using gcc, we currently assume that we are using
7617 # Microsoft Visual C++.
7618 # hardcode_libdir_flag_spec is actually meaningless, as there is
7619 # no search path for DLLs.
7620 hardcode_libdir_flag_spec
=' '
7621 allow_undefined_flag
=unsupported
7622 # Tell ltmain to make .lib files, not .a files.
7624 # Tell ltmain to make .dll files, not .so files.
7626 # FIXME: Setting linknames here is a bad hack.
7627 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7628 # The linker will automatically build a .lib file if we build a DLL.
7629 old_archive_From_new_cmds
='true'
7630 # FIXME: Should let the user specify the lib program.
7631 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7632 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7633 enable_shared_with_static_runtimes
=yes
7636 darwin
* | rhapsody
*)
7638 rhapsody
* | darwin1.
[012])
7639 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7642 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7643 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7645 case ${MACOSX_DEPLOYMENT_TARGET} in
7647 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7650 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7656 archive_cmds_need_lc
=no
7658 hardcode_automatic
=yes
7659 hardcode_shlibpath_var
=unsupported
7660 whole_archive_flag_spec
=''
7661 link_all_deplibs
=yes
7662 if test "$GCC" = yes ; then
7663 output_verbose_link_cmd
='echo'
7664 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7665 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7666 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7667 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7668 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7670 case $cc_basename in
7672 output_verbose_link_cmd
='echo'
7673 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7674 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7675 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7676 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7677 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7687 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7688 hardcode_libdir_flag_spec
='-L$libdir'
7689 hardcode_shlibpath_var
=no
7696 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7697 # support. Future versions do this automatically, but an explicit c++rt0.o
7698 # does not break anything, and helps significantly (at the cost of a little
7701 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7702 hardcode_libdir_flag_spec
='-R$libdir'
7704 hardcode_shlibpath_var
=no
7707 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7709 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7711 hardcode_minus_L
=yes
7712 hardcode_shlibpath_var
=no
7715 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7716 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7717 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7718 hardcode_libdir_flag_spec
='-R$libdir'
7720 hardcode_shlibpath_var
=no
7724 if test "$GCC" = yes; then
7725 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7727 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'
7729 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7730 hardcode_libdir_separator
=:
7733 # hardcode_minus_L: Not really in the search PATH,
7734 # but as the default location of the library.
7735 hardcode_minus_L
=yes
7736 export_dynamic_flag_spec
='${wl}-E'
7740 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7741 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7743 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7745 if test "$with_gnu_ld" = no
; then
7746 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7747 hardcode_libdir_separator
=:
7750 export_dynamic_flag_spec
='${wl}-E'
7752 # hardcode_minus_L: Not really in the search PATH,
7753 # but as the default location of the library.
7754 hardcode_minus_L
=yes
7759 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7762 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7765 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7768 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7774 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7777 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7780 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7784 if test "$with_gnu_ld" = no
; then
7785 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7786 hardcode_libdir_separator
=:
7790 hardcode_libdir_flag_spec_ld
='+b $libdir'
7792 hardcode_shlibpath_var
=no
7796 export_dynamic_flag_spec
='${wl}-E'
7798 # hardcode_minus_L: Not really in the search PATH,
7799 # but as the default location of the library.
7800 hardcode_minus_L
=yes
7806 irix5
* | irix6
* | nonstopux
*)
7807 if test "$GCC" = yes; then
7808 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7810 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7811 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7813 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7814 hardcode_libdir_separator
=:
7815 link_all_deplibs
=yes
7819 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7820 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7822 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7824 hardcode_libdir_flag_spec
='-R$libdir'
7826 hardcode_shlibpath_var
=no
7830 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7832 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7833 hardcode_libdir_separator
=:
7834 hardcode_shlibpath_var
=no
7839 hardcode_shlibpath_var
=no
7840 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7841 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7842 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7843 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7844 export_dynamic_flag_spec
='${wl}-E'
7847 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7848 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7849 hardcode_libdir_flag_spec
='-R$libdir'
7852 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7853 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7860 hardcode_libdir_flag_spec
='-L$libdir'
7861 hardcode_minus_L
=yes
7862 allow_undefined_flag
=unsupported
7863 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'
7864 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7868 if test "$GCC" = yes; then
7869 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7870 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7872 allow_undefined_flag
=' -expect_unresolved \*'
7873 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7875 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7876 hardcode_libdir_separator
=:
7879 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7880 if test "$GCC" = yes; then
7881 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7882 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7883 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7885 allow_undefined_flag
=' -expect_unresolved \*'
7886 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7887 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7888 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7890 # Both c and cxx compiler support -rpath directly
7891 hardcode_libdir_flag_spec
='-rpath $libdir'
7893 hardcode_libdir_separator
=:
7897 no_undefined_flag
=' -z text'
7898 if test "$GCC" = yes; then
7900 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7901 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7902 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7905 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7906 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7907 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7909 hardcode_libdir_flag_spec
='-R$libdir'
7910 hardcode_shlibpath_var
=no
7912 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7914 # The compiler driver will combine linker options so we
7915 # cannot just pass the convience library names through
7916 # without $wl, iff we do not link with $LD.
7917 # Luckily, gcc supports the same syntax we need for Sun Studio.
7918 # Supported since Solaris 2.6 (maybe 2.5.1?)
7921 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7923 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7926 link_all_deplibs
=yes
7930 if test "x$host_vendor" = xsequent
; then
7931 # Use $CC to link under sequent, because it throws in some extra .o
7932 # files that make .init and .fini sections work.
7933 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7935 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7937 hardcode_libdir_flag_spec
='-L$libdir'
7939 hardcode_minus_L
=yes
7940 hardcode_shlibpath_var
=no
7944 case $host_vendor in
7946 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7947 hardcode_direct
=yes # is this really true???
7950 ## LD is ld it makes a PLAMLIB
7951 ## CC just makes a GrossModule.
7952 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7953 reload_cmds
='$CC -r -o $output$reload_objs'
7957 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7958 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7961 runpath_var
='LD_RUN_PATH'
7962 hardcode_shlibpath_var
=no
7966 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7967 hardcode_shlibpath_var
=no
7968 export_dynamic_flag_spec
='-Bexport'
7972 if test -d /usr
/nec
; then
7973 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7974 hardcode_shlibpath_var
=no
7975 runpath_var
=LD_RUN_PATH
7976 hardcode_runpath_var
=yes
7981 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7982 no_undefined_flag
='${wl}-z,text'
7983 archive_cmds_need_lc
=no
7984 hardcode_shlibpath_var
=no
7985 runpath_var
='LD_RUN_PATH'
7987 if test "$GCC" = yes; then
7988 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7989 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7991 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7992 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7996 sysv5
* | sco3.2v5
* | sco5v6
*)
7997 # Note: We can NOT use -z defs as we might desire, because we do not
7998 # link with -lc, and that would cause any symbols used from libc to
7999 # always be unresolved, which means just about no library would
8000 # ever link correctly. If we're not using GNU ld we use -z text
8001 # though, which does catch some bad symbols but isn't as heavy-handed
8003 no_undefined_flag
='${wl}-z,text'
8004 allow_undefined_flag
='${wl}-z,nodefs'
8005 archive_cmds_need_lc
=no
8006 hardcode_shlibpath_var
=no
8007 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8008 hardcode_libdir_separator
=':'
8009 link_all_deplibs
=yes
8010 export_dynamic_flag_spec
='${wl}-Bexport'
8011 runpath_var
='LD_RUN_PATH'
8013 if test "$GCC" = yes; then
8014 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8015 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8017 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8018 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8023 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8024 hardcode_libdir_flag_spec
='-L$libdir'
8025 hardcode_shlibpath_var
=no
8034 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8035 echo "${ECHO_T}$ld_shlibs" >&6
8036 test "$ld_shlibs" = no
&& can_build_shared
=no
8039 # Do we need to explicitly link libc?
8041 case "x$archive_cmds_need_lc" in
8043 # Assume -lc should be added
8044 archive_cmds_need_lc
=yes
8046 if test "$enable_shared" = yes && test "$GCC" = yes; then
8047 case $archive_cmds in
8049 # FIXME: we may have to deal with multi-command sequences.
8052 # Test whether the compiler implicitly links with -lc since on some
8053 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8054 # to ld, don't add -lc before -lgcc.
8055 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8056 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8058 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8061 (eval $ac_compile) 2>&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } 2>conftest.err
; then
8067 libobjs
=conftest.
$ac_objext
8069 wl
=$lt_prog_compiler_wl
8070 pic_flag
=$lt_prog_compiler_pic
8076 lt_save_allow_undefined_flag
=$allow_undefined_flag
8077 allow_undefined_flag
=
8078 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8079 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }
8084 archive_cmds_need_lc
=no
8086 archive_cmds_need_lc
=yes
8088 allow_undefined_flag
=$lt_save_allow_undefined_flag
8090 cat conftest.err
1>&5
8093 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8094 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8101 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8102 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8104 libname_spec
='lib$name'
8112 shlibpath_overrides_runpath
=unknown
8114 dynamic_linker
="$host_os ld.so"
8115 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8116 if test "$GCC" = yes; then
8117 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8118 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8119 # if the path contains ";" then we assume it to be the separator
8120 # otherwise default to the standard path separator (i.e. ":") - it is
8121 # assumed that no part of a normal pathname contains ";" but that should
8122 # okay in the real world where ";" in dirpaths is itself problematic.
8123 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8125 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8128 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8130 need_lib_prefix
=unknown
8131 hardcode_into_libs
=no
8133 # when you set need_version to no, make sure it does not cause -set_version
8134 # flags to be left without arguments
8135 need_version
=unknown
8140 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8141 shlibpath_var
=LIBPATH
8143 # AIX 3 has no versioning support, so we append a major version to the name.
8144 soname_spec
='${libname}${release}${shared_ext}$major'
8151 hardcode_into_libs
=yes
8152 if test "$host_cpu" = ia64
; then
8153 # AIX 5 supports IA64
8154 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8155 shlibpath_var
=LD_LIBRARY_PATH
8157 # With GCC up to 2.95.x, collect2 would create an import file
8158 # for dependence libraries. The import file would start with
8159 # the line `#! .'. This would cause the generated library to
8160 # depend on `.', always an invalid library. This was fixed in
8161 # development snapshots of GCC prior to 3.0.
8163 aix4 | aix4.
[01] | aix4.
[01].
*)
8164 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8166 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8173 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8174 # soname into executable. Probably we can add versioning support to
8175 # collect2, so additional links can be useful in future.
8176 if test "$aix_use_runtimelinking" = yes; then
8177 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8178 # instead of lib<name>.a to let people know that these are not
8179 # typical AIX shared libraries.
8180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8182 # We preserve .a as extension for shared libraries through AIX4.2
8183 # and later when we are not doing run time linking.
8184 library_names_spec
='${libname}${release}.a $libname.a'
8185 soname_spec
='${libname}${release}${shared_ext}$major'
8187 shlibpath_var
=LIBPATH
8192 library_names_spec
='$libname.ixlibrary $libname.a'
8193 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8194 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8198 library_names_spec
='${libname}${shared_ext}'
8199 dynamic_linker
="$host_os ld.so"
8200 shlibpath_var
=LIBRARY_PATH
8206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8207 soname_spec
='${libname}${release}${shared_ext}$major'
8208 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8209 shlibpath_var
=LD_LIBRARY_PATH
8210 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8211 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8212 # the default ld.so.conf also contains /usr/contrib/lib and
8213 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8214 # libtool to hard-code these into programs
8217 cygwin
* | mingw
* | pw32
*)
8218 version_type
=windows
8223 case $GCC,$host_os in
8224 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8225 library_names_spec
='$libname.dll.a'
8226 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8227 postinstall_cmds
='base_file=`basename \${file}`~
8228 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8229 dldir=$destdir/`dirname \$dlpath`~
8230 test -d \$dldir || mkdir -p \$dldir~
8231 $install_prog $dir/$dlname \$dldir/$dlname~
8232 chmod a+x \$dldir/$dlname'
8233 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8234 dlpath=$dir/\$dldll~
8236 shlibpath_overrides_runpath
=yes
8240 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8241 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8242 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8245 # MinGW DLLs use traditional 'lib' prefix
8246 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8247 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8248 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8249 # It is most probably a Windows format PATH printed by
8250 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8251 # path with ; separators, and with drive letters. We can handle the
8252 # drive letters (cygwin fileutils understands them), so leave them,
8253 # especially as we might pass files found there to a mingw objdump,
8254 # which wouldn't understand a cygwinified path. Ahh.
8255 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8257 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8261 # pw32 DLLs use 'pw' prefix rather than 'lib'
8262 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8268 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8271 dynamic_linker
='Win32 ld.exe'
8272 # FIXME: first we should search . and the directory the executable is in
8276 darwin
* | rhapsody
*)
8277 dynamic_linker
="$host_os dyld"
8281 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8282 soname_spec
='${libname}${release}${major}$shared_ext'
8283 shlibpath_overrides_runpath
=yes
8284 shlibpath_var
=DYLD_LIBRARY_PATH
8285 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8286 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8287 if test "$GCC" = yes; then
8288 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8290 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8292 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8300 soname_spec
='${libname}${release}${shared_ext}$major'
8301 shlibpath_var
=LD_LIBRARY_PATH
8312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8313 soname_spec
='${libname}${release}${shared_ext}$major'
8314 shlibpath_var
=LD_LIBRARY_PATH
8315 shlibpath_overrides_runpath
=no
8316 hardcode_into_libs
=yes
8317 dynamic_linker
='GNU ld.so'
8320 freebsd
* | dragonfly
*)
8321 # DragonFly does not have aout. When/if they implement a new
8322 # versioning mechanism, adjust this.
8323 if test -x /usr
/bin
/objformat
; then
8324 objformat
=`/usr/bin/objformat`
8327 freebsd
[123]*) objformat
=aout
;;
8331 version_type
=freebsd-
$objformat
8332 case $version_type in
8334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8339 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8343 shlibpath_var
=LD_LIBRARY_PATH
8346 shlibpath_overrides_runpath
=yes
8348 freebsd3.
[01]* | freebsdelf3.
[01]*)
8349 shlibpath_overrides_runpath
=yes
8350 hardcode_into_libs
=yes
8352 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8353 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8354 shlibpath_overrides_runpath
=no
8355 hardcode_into_libs
=yes
8357 freebsd
*) # from 4.6 on
8358 shlibpath_overrides_runpath
=yes
8359 hardcode_into_libs
=yes
8368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8369 soname_spec
='${libname}${release}${shared_ext}$major'
8370 shlibpath_var
=LD_LIBRARY_PATH
8371 hardcode_into_libs
=yes
8374 hpux9
* | hpux10
* | hpux11
*)
8375 # Give a soname corresponding to the major version so that dld.sl refuses to
8376 # link against other versions.
8383 hardcode_into_libs
=yes
8384 dynamic_linker
="$host_os dld.so"
8385 shlibpath_var
=LD_LIBRARY_PATH
8386 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8388 soname_spec
='${libname}${release}${shared_ext}$major'
8389 if test "X$HPUX_IA64_MODE" = X32
; then
8390 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8392 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8394 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8398 hardcode_into_libs
=yes
8399 dynamic_linker
="$host_os dld.sl"
8400 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8401 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8403 soname_spec
='${libname}${release}${shared_ext}$major'
8404 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8405 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8409 dynamic_linker
="$host_os dld.sl"
8410 shlibpath_var
=SHLIB_PATH
8411 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8413 soname_spec
='${libname}${release}${shared_ext}$major'
8416 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8417 postinstall_cmds
='chmod 555 $lib'
8424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8425 soname_spec
='${libname}${release}${shared_ext}$major'
8426 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8427 shlibpath_var
=LD_LIBRARY_PATH
8428 shlibpath_overrides_runpath
=no
8429 hardcode_into_libs
=yes
8432 irix5
* | irix6
* | nonstopux
*)
8434 nonstopux
*) version_type
=nonstopux
;;
8436 if test "$lt_cv_prog_gnu_ld" = yes; then
8444 soname_spec
='${libname}${release}${shared_ext}$major'
8445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8447 irix5
* | nonstopux
*)
8451 case $LD in # libtool.m4 will add one of these switches to LD
8452 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8453 libsuff
= shlibsuff
= libmagic
=32-bit;;
8454 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8455 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8456 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8457 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8458 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8462 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8463 shlibpath_overrides_runpath
=no
8464 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8465 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8466 hardcode_into_libs
=yes
8469 # No shared lib support for Linux oldld, aout, or coff.
8470 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8474 # This must be Linux ELF.
8479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8480 soname_spec
='${libname}${release}${shared_ext}$major'
8481 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8482 shlibpath_var
=LD_LIBRARY_PATH
8483 shlibpath_overrides_runpath
=no
8484 # This implies no fast_install, which is unacceptable.
8485 # Some rework will be needed to allow for fast_install
8486 # before this can be enabled.
8487 hardcode_into_libs
=yes
8489 # find out which ABI we are using
8492 x86_64
*|s390x
*|powerpc64
*)
8493 echo '#line 8493 "configure"' > conftest.
$ac_ext
8494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8495 (eval $ac_compile) 2>&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); }; then
8499 case `/usr/bin/file conftest.$ac_objext` in
8502 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8510 # Append ld.so.conf contents to the search path
8511 if test -f /etc
/ld.so.conf
; then
8512 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8513 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8516 # We used to test for /lib/ld.so.1 and disable shared libraries on
8517 # powerpc, because MkLinux only supported shared libraries with the
8518 # GNU dynamic linker. Since this was broken with cross compilers,
8519 # most powerpc-linux boxes support dynamic linking these days and
8520 # people can always --disable-shared, the test was removed, and we
8521 # assume the GNU/Linux dynamic linker is in use.
8522 dynamic_linker
='GNU/Linux ld.so'
8529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8530 soname_spec
='${libname}${release}${shared_ext}$major'
8531 shlibpath_var
=LD_LIBRARY_PATH
8532 shlibpath_overrides_runpath
=no
8533 hardcode_into_libs
=yes
8534 dynamic_linker
='GNU ld.so'
8541 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8543 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8544 dynamic_linker
='NetBSD (a.out) ld.so'
8546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8547 soname_spec
='${libname}${release}${shared_ext}$major'
8548 dynamic_linker
='NetBSD ld.elf_so'
8550 shlibpath_var
=LD_LIBRARY_PATH
8551 shlibpath_overrides_runpath
=yes
8552 hardcode_into_libs
=yes
8557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8558 shlibpath_var
=LD_LIBRARY_PATH
8559 shlibpath_overrides_runpath
=yes
8566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8567 soname_spec
='${libname}${release}${shared_ext}$major'
8568 shlibpath_var
=LD_LIBRARY_PATH
8569 shlibpath_overrides_runpath
=yes
8574 sys_lib_dlsearch_path_spec
="/usr/lib"
8576 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8578 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8579 *) need_version
=no
;;
8581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8582 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8583 shlibpath_var
=LD_LIBRARY_PATH
8584 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8586 openbsd2.
[89] | openbsd2.
[89].
*)
8587 shlibpath_overrides_runpath
=no
8590 shlibpath_overrides_runpath
=yes
8594 shlibpath_overrides_runpath
=yes
8599 libname_spec
='$name'
8602 library_names_spec
='$libname${shared_ext} $libname.a'
8603 dynamic_linker
='OS/2 ld.exe'
8604 shlibpath_var
=LIBPATH
8607 osf3
* | osf4
* | osf5
*)
8611 soname_spec
='${libname}${release}${shared_ext}$major'
8612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8613 shlibpath_var
=LD_LIBRARY_PATH
8614 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8615 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8623 soname_spec
='${libname}${release}${shared_ext}$major'
8624 shlibpath_var
=LD_LIBRARY_PATH
8625 shlibpath_overrides_runpath
=yes
8626 hardcode_into_libs
=yes
8627 # ldd complains unless libraries are executable
8628 postinstall_cmds
='chmod +x $lib'
8633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8634 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8635 shlibpath_var
=LD_LIBRARY_PATH
8636 shlibpath_overrides_runpath
=yes
8637 if test "$with_gnu_ld" = yes; then
8645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8646 soname_spec
='${libname}${release}${shared_ext}$major'
8647 shlibpath_var
=LD_LIBRARY_PATH
8648 case $host_vendor in
8650 shlibpath_overrides_runpath
=no
8652 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8653 runpath_var
=LD_RUN_PATH
8661 shlibpath_overrides_runpath
=no
8662 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8668 if test -d /usr
/nec
;then
8670 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8671 soname_spec
='$libname${shared_ext}.$major'
8672 shlibpath_var
=LD_LIBRARY_PATH
8676 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8677 version_type
=freebsd-elf
8680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8681 soname_spec
='${libname}${release}${shared_ext}$major'
8682 shlibpath_var
=LD_LIBRARY_PATH
8683 hardcode_into_libs
=yes
8684 if test "$with_gnu_ld" = yes; then
8685 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8686 shlibpath_overrides_runpath
=no
8688 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8689 shlibpath_overrides_runpath
=yes
8692 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8696 sys_lib_dlsearch_path_spec
='/usr/lib'
8701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8702 soname_spec
='${libname}${release}${shared_ext}$major'
8703 shlibpath_var
=LD_LIBRARY_PATH
8710 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8711 echo "${ECHO_T}$dynamic_linker" >&6
8712 test "$dynamic_linker" = no
&& can_build_shared
=no
8714 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8715 if test "$GCC" = yes; then
8716 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8719 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8720 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8722 if test -n "$hardcode_libdir_flag_spec" || \
8723 test -n "$runpath_var" || \
8724 test "X$hardcode_automatic" = "Xyes" ; then
8726 # We can hardcode non-existant directories.
8727 if test "$hardcode_direct" != no
&&
8728 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8729 # have to relink, otherwise we might link with an installed library
8730 # when we should be linking with a yet-to-be-installed one
8731 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8732 test "$hardcode_minus_L" != no
; then
8733 # Linking always hardcodes the temporary library directory.
8734 hardcode_action
=relink
8736 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8737 hardcode_action
=immediate
8740 # We cannot hardcode anything, or else we can only hardcode existing
8742 hardcode_action
=unsupported
8744 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8745 echo "${ECHO_T}$hardcode_action" >&6
8747 if test "$hardcode_action" = relink
; then
8748 # Fast installation is not supported
8749 enable_fast_install
=no
8750 elif test "$shlibpath_overrides_runpath" = yes ||
8751 test "$enable_shared" = no
; then
8752 # Fast installation is not necessary
8753 enable_fast_install
=needless
8758 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8759 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8760 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8761 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8762 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8763 echo "$as_me:$LINENO: result: yes" >&5
8764 echo "${ECHO_T}yes" >&6
8766 # FIXME - insert some real tests, host_os isn't really good enough
8769 if test -n "$STRIP" ; then
8770 striplib
="$STRIP -x"
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8779 echo "$as_me:$LINENO: result: no" >&5
8780 echo "${ECHO_T}no" >&6
8785 if test "x$enable_dlopen" != xyes
; then
8786 enable_dlopen
=unknown
8787 enable_dlopen_self
=unknown
8788 enable_dlopen_self_static
=unknown
8795 lt_cv_dlopen
="load_add_on"
8797 lt_cv_dlopen_self
=yes
8801 lt_cv_dlopen
="LoadLibrary"
8806 lt_cv_dlopen
="dlopen"
8811 # if libdl is installed we need to link against it
8812 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8813 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8814 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 ac_check_lib_save_LIBS
=$LIBS
8819 cat >conftest.
$ac_ext <<_ACEOF
8822 cat confdefs.h
>>conftest.
$ac_ext
8823 cat >>conftest.
$ac_ext <<_ACEOF
8824 /* end confdefs.h. */
8826 /* Override any gcc2 internal prototype to avoid an error. */
8830 /* We use char because int might match the return type of a gcc2
8831 builtin and then its argument prototype would still apply. */
8841 rm -f conftest.
$ac_objext conftest
$ac_exeext
8842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8843 (eval $ac_link) 2>conftest.er1
8845 grep -v '^ *+' conftest.er1
>conftest.err
8847 cat conftest.err
>&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 (exit $ac_status); } &&
8850 { ac_try
='test -z "$ac_c_werror_flag"
8851 || test ! -s conftest.err'
8852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); }; } &&
8857 { ac_try
='test -s conftest$ac_exeext'
8858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); }; }; then
8863 ac_cv_lib_dl_dlopen
=yes
8865 echo "$as_me: failed program was:" >&5
8866 sed 's/^/| /' conftest.
$ac_ext >&5
8868 ac_cv_lib_dl_dlopen
=no
8870 rm -f conftest.err conftest.
$ac_objext \
8871 conftest
$ac_exeext conftest.
$ac_ext
8872 LIBS
=$ac_check_lib_save_LIBS
8874 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8875 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8876 if test $ac_cv_lib_dl_dlopen = yes; then
8877 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8882 lt_cv_dlopen_self
=yes
8889 echo "$as_me:$LINENO: checking for shl_load" >&5
8890 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8891 if test "${ac_cv_func_shl_load+set}" = set; then
8892 echo $ECHO_N "(cached) $ECHO_C" >&6
8894 cat >conftest.
$ac_ext <<_ACEOF
8897 cat confdefs.h
>>conftest.
$ac_ext
8898 cat >>conftest.
$ac_ext <<_ACEOF
8899 /* end confdefs.h. */
8900 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8902 #define shl_load innocuous_shl_load
8904 /* System header to define __stub macros and hopefully few prototypes,
8905 which can conflict with char shl_load (); below.
8906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8907 <limits.h> exists even on freestanding compilers. */
8910 # include <limits.h>
8912 # include <assert.h>
8917 /* Override any gcc2 internal prototype to avoid an error. */
8922 /* We use char because int might match the return type of a gcc2
8923 builtin and then its argument prototype would still apply. */
8925 /* The GNU C library defines this for functions which it implements
8926 to always fail with ENOSYS. Some functions are actually named
8927 something starting with __ and the normal name is an alias. */
8928 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8931 char (*f) () = shl_load;
8940 return f != shl_load;
8945 rm -f conftest.
$ac_objext conftest
$ac_exeext
8946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8947 (eval $ac_link) 2>conftest.er1
8949 grep -v '^ *+' conftest.er1
>conftest.err
8951 cat conftest.err
>&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); } &&
8954 { ac_try
='test -z "$ac_c_werror_flag"
8955 || test ! -s conftest.err'
8956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); }; } &&
8961 { ac_try
='test -s conftest$ac_exeext'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; }; then
8967 ac_cv_func_shl_load
=yes
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.
$ac_ext >&5
8972 ac_cv_func_shl_load
=no
8974 rm -f conftest.err conftest.
$ac_objext \
8975 conftest
$ac_exeext conftest.
$ac_ext
8977 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8978 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8979 if test $ac_cv_func_shl_load = yes; then
8980 lt_cv_dlopen
="shl_load"
8982 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8983 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8984 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8985 echo $ECHO_N "(cached) $ECHO_C" >&6
8987 ac_check_lib_save_LIBS
=$LIBS
8989 cat >conftest.
$ac_ext <<_ACEOF
8992 cat confdefs.h
>>conftest.
$ac_ext
8993 cat >>conftest.
$ac_ext <<_ACEOF
8994 /* end confdefs.h. */
8996 /* Override any gcc2 internal prototype to avoid an error. */
9000 /* We use char because int might match the return type of a gcc2
9001 builtin and then its argument prototype would still apply. */
9011 rm -f conftest.
$ac_objext conftest
$ac_exeext
9012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9013 (eval $ac_link) 2>conftest.er1
9015 grep -v '^ *+' conftest.er1
>conftest.err
9017 cat conftest.err
>&5
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019 (exit $ac_status); } &&
9020 { ac_try
='test -z "$ac_c_werror_flag"
9021 || test ! -s conftest.err'
9022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); }; } &&
9027 { ac_try
='test -s conftest$ac_exeext'
9028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }; }; then
9033 ac_cv_lib_dld_shl_load
=yes
9035 echo "$as_me: failed program was:" >&5
9036 sed 's/^/| /' conftest.
$ac_ext >&5
9038 ac_cv_lib_dld_shl_load
=no
9040 rm -f conftest.err conftest.
$ac_objext \
9041 conftest
$ac_exeext conftest.
$ac_ext
9042 LIBS
=$ac_check_lib_save_LIBS
9044 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9045 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9046 if test $ac_cv_lib_dld_shl_load = yes; then
9047 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9049 echo "$as_me:$LINENO: checking for dlopen" >&5
9050 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9051 if test "${ac_cv_func_dlopen+set}" = set; then
9052 echo $ECHO_N "(cached) $ECHO_C" >&6
9054 cat >conftest.
$ac_ext <<_ACEOF
9057 cat confdefs.h
>>conftest.
$ac_ext
9058 cat >>conftest.
$ac_ext <<_ACEOF
9059 /* end confdefs.h. */
9060 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9062 #define dlopen innocuous_dlopen
9064 /* System header to define __stub macros and hopefully few prototypes,
9065 which can conflict with char dlopen (); below.
9066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9067 <limits.h> exists even on freestanding compilers. */
9070 # include <limits.h>
9072 # include <assert.h>
9077 /* Override any gcc2 internal prototype to avoid an error. */
9082 /* We use char because int might match the return type of a gcc2
9083 builtin and then its argument prototype would still apply. */
9085 /* The GNU C library defines this for functions which it implements
9086 to always fail with ENOSYS. Some functions are actually named
9087 something starting with __ and the normal name is an alias. */
9088 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9091 char (*f) () = dlopen;
9105 rm -f conftest.
$ac_objext conftest
$ac_exeext
9106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9107 (eval $ac_link) 2>conftest.er1
9109 grep -v '^ *+' conftest.er1
>conftest.err
9111 cat conftest.err
>&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); } &&
9114 { ac_try
='test -z "$ac_c_werror_flag"
9115 || test ! -s conftest.err'
9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }; } &&
9121 { ac_try
='test -s conftest$ac_exeext'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; }; then
9127 ac_cv_func_dlopen
=yes
9129 echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.
$ac_ext >&5
9132 ac_cv_func_dlopen
=no
9134 rm -f conftest.err conftest.
$ac_objext \
9135 conftest
$ac_exeext conftest.
$ac_ext
9137 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9138 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9139 if test $ac_cv_func_dlopen = yes; then
9140 lt_cv_dlopen
="dlopen"
9142 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9143 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9144 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9145 echo $ECHO_N "(cached) $ECHO_C" >&6
9147 ac_check_lib_save_LIBS
=$LIBS
9149 cat >conftest.
$ac_ext <<_ACEOF
9152 cat confdefs.h
>>conftest.
$ac_ext
9153 cat >>conftest.
$ac_ext <<_ACEOF
9154 /* end confdefs.h. */
9156 /* Override any gcc2 internal prototype to avoid an error. */
9160 /* We use char because int might match the return type of a gcc2
9161 builtin and then its argument prototype would still apply. */
9171 rm -f conftest.
$ac_objext conftest
$ac_exeext
9172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9173 (eval $ac_link) 2>conftest.er1
9175 grep -v '^ *+' conftest.er1
>conftest.err
9177 cat conftest.err
>&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try
='test -z "$ac_c_werror_flag"
9181 || test ! -s conftest.err'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; } &&
9187 { ac_try
='test -s conftest$ac_exeext'
9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }; }; then
9193 ac_cv_lib_dl_dlopen
=yes
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.
$ac_ext >&5
9198 ac_cv_lib_dl_dlopen
=no
9200 rm -f conftest.err conftest.
$ac_objext \
9201 conftest
$ac_exeext conftest.
$ac_ext
9202 LIBS
=$ac_check_lib_save_LIBS
9204 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9205 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9206 if test $ac_cv_lib_dl_dlopen = yes; then
9207 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9209 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9210 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9211 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9212 echo $ECHO_N "(cached) $ECHO_C" >&6
9214 ac_check_lib_save_LIBS
=$LIBS
9216 cat >conftest.
$ac_ext <<_ACEOF
9219 cat confdefs.h
>>conftest.
$ac_ext
9220 cat >>conftest.
$ac_ext <<_ACEOF
9221 /* end confdefs.h. */
9223 /* Override any gcc2 internal prototype to avoid an error. */
9227 /* We use char because int might match the return type of a gcc2
9228 builtin and then its argument prototype would still apply. */
9238 rm -f conftest.
$ac_objext conftest
$ac_exeext
9239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9240 (eval $ac_link) 2>conftest.er1
9242 grep -v '^ *+' conftest.er1
>conftest.err
9244 cat conftest.err
>&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); } &&
9247 { ac_try
='test -z "$ac_c_werror_flag"
9248 || test ! -s conftest.err'
9249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); }; } &&
9254 { ac_try
='test -s conftest$ac_exeext'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; }; then
9260 ac_cv_lib_svld_dlopen
=yes
9262 echo "$as_me: failed program was:" >&5
9263 sed 's/^/| /' conftest.
$ac_ext >&5
9265 ac_cv_lib_svld_dlopen
=no
9267 rm -f conftest.err conftest.
$ac_objext \
9268 conftest
$ac_exeext conftest.
$ac_ext
9269 LIBS
=$ac_check_lib_save_LIBS
9271 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9272 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9273 if test $ac_cv_lib_svld_dlopen = yes; then
9274 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9276 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9277 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9278 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9281 ac_check_lib_save_LIBS
=$LIBS
9283 cat >conftest.
$ac_ext <<_ACEOF
9286 cat confdefs.h
>>conftest.
$ac_ext
9287 cat >>conftest.
$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9290 /* Override any gcc2 internal prototype to avoid an error. */
9294 /* We use char because int might match the return type of a gcc2
9295 builtin and then its argument prototype would still apply. */
9305 rm -f conftest.
$ac_objext conftest
$ac_exeext
9306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9307 (eval $ac_link) 2>conftest.er1
9309 grep -v '^ *+' conftest.er1
>conftest.err
9311 cat conftest.err
>&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } &&
9314 { ac_try
='test -z "$ac_c_werror_flag"
9315 || test ! -s conftest.err'
9316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); }; } &&
9321 { ac_try
='test -s conftest$ac_exeext'
9322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); }; }; then
9327 ac_cv_lib_dld_dld_link
=yes
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.
$ac_ext >&5
9332 ac_cv_lib_dld_dld_link
=no
9334 rm -f conftest.err conftest.
$ac_objext \
9335 conftest
$ac_exeext conftest.
$ac_ext
9336 LIBS
=$ac_check_lib_save_LIBS
9338 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9339 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9340 if test $ac_cv_lib_dld_dld_link = yes; then
9341 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9362 if test "x$lt_cv_dlopen" != xno
; then
9368 case $lt_cv_dlopen in
9370 save_CPPFLAGS
="$CPPFLAGS"
9371 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9373 save_LDFLAGS
="$LDFLAGS"
9374 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9377 LIBS
="$lt_cv_dlopen_libs $LIBS"
9379 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9380 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9381 if test "${lt_cv_dlopen_self+set}" = set; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 if test "$cross_compiling" = yes; then :
9385 lt_cv_dlopen_self
=cross
9387 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9388 lt_status
=$lt_dlunknown
9389 cat > conftest.
$ac_ext <<EOF
9390 #line 9390 "configure"
9391 #include "confdefs.h"
9400 # define LT_DLGLOBAL RTLD_GLOBAL
9403 # define LT_DLGLOBAL DL_GLOBAL
9405 # define LT_DLGLOBAL 0
9409 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9410 find out it does not work in some platform. */
9411 #ifndef LT_DLLAZY_OR_NOW
9413 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9416 # define LT_DLLAZY_OR_NOW DL_LAZY
9419 # define LT_DLLAZY_OR_NOW RTLD_NOW
9422 # define LT_DLLAZY_OR_NOW DL_NOW
9424 # define LT_DLLAZY_OR_NOW 0
9432 extern "C" void exit (int);
9435 void fnord() { int i=42;}
9438 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9439 int status = $lt_dlunknown;
9443 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9444 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9445 /* dlclose (self); */
9453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9454 (eval $ac_link) 2>&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9458 (.
/conftest
; exit; ) >&5 2>/dev
/null
9461 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9462 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9463 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9466 # compilation failed
9467 lt_cv_dlopen_self
=no
9474 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9475 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9477 if test "x$lt_cv_dlopen_self" = xyes
; then
9478 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9479 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9480 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9481 if test "${lt_cv_dlopen_self_static+set}" = set; then
9482 echo $ECHO_N "(cached) $ECHO_C" >&6
9484 if test "$cross_compiling" = yes; then :
9485 lt_cv_dlopen_self_static
=cross
9487 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9488 lt_status
=$lt_dlunknown
9489 cat > conftest.
$ac_ext <<EOF
9490 #line 9490 "configure"
9491 #include "confdefs.h"
9500 # define LT_DLGLOBAL RTLD_GLOBAL
9503 # define LT_DLGLOBAL DL_GLOBAL
9505 # define LT_DLGLOBAL 0
9509 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9510 find out it does not work in some platform. */
9511 #ifndef LT_DLLAZY_OR_NOW
9513 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9516 # define LT_DLLAZY_OR_NOW DL_LAZY
9519 # define LT_DLLAZY_OR_NOW RTLD_NOW
9522 # define LT_DLLAZY_OR_NOW DL_NOW
9524 # define LT_DLLAZY_OR_NOW 0
9532 extern "C" void exit (int);
9535 void fnord() { int i=42;}
9538 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9539 int status = $lt_dlunknown;
9543 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9544 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9545 /* dlclose (self); */
9553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9554 (eval $ac_link) 2>&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9558 (.
/conftest
; exit; ) >&5 2>/dev
/null
9561 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9562 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9563 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9566 # compilation failed
9567 lt_cv_dlopen_self_static
=no
9574 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9575 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9578 CPPFLAGS
="$save_CPPFLAGS"
9579 LDFLAGS
="$save_LDFLAGS"
9584 case $lt_cv_dlopen_self in
9585 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9586 *) enable_dlopen_self
=unknown
;;
9589 case $lt_cv_dlopen_self_static in
9590 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9591 *) enable_dlopen_self_static
=unknown
;;
9596 # Report which library types will actually be built
9597 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9598 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9599 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9600 echo "${ECHO_T}$can_build_shared" >&6
9602 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9603 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9604 test "$can_build_shared" = "no" && enable_shared
=no
9606 # On AIX, shared libraries and static libraries use the same namespace, and
9607 # are all built from PIC.
9610 test "$enable_shared" = yes && enable_static
=no
9611 if test -n "$RANLIB"; then
9612 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9613 postinstall_cmds
='$RANLIB $lib'
9618 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9619 test "$enable_shared" = yes && enable_static
=no
9623 echo "$as_me:$LINENO: result: $enable_shared" >&5
9624 echo "${ECHO_T}$enable_shared" >&6
9626 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9627 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9628 # Make sure either enable_shared or enable_static is yes.
9629 test "$enable_shared" = yes || enable_static
=yes
9630 echo "$as_me:$LINENO: result: $enable_static" >&5
9631 echo "${ECHO_T}$enable_static" >&6
9633 # The else clause should only fire when bootstrapping the
9634 # libtool distribution, otherwise you forgot to ship ltmain.sh
9635 # with your package, and you will get complaints that there are
9636 # no rules to generate ltmain.sh.
9637 if test -f "$ltmain"; then
9638 # See if we are running on zsh, and set the options which allow our commands through
9639 # without removal of \ escapes.
9640 if test -n "${ZSH_VERSION+set}" ; then
9641 setopt NO_GLOB_SUBST
9643 # Now quote all the things that may contain metacharacters while being
9644 # careful not to overquote the AC_SUBSTed values. We take copies of the
9645 # variables and quote the copies for generation of the libtool script.
9646 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9648 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9649 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9650 deplibs_check_method reload_flag reload_cmds need_locks \
9651 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9652 lt_cv_sys_global_symbol_to_c_name_address \
9653 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9654 old_postinstall_cmds old_postuninstall_cmds \
9658 lt_prog_compiler_wl \
9659 lt_prog_compiler_pic \
9660 lt_prog_compiler_static \
9661 lt_prog_compiler_no_builtin_flag \
9662 export_dynamic_flag_spec \
9663 thread_safe_flag_spec \
9664 whole_archive_flag_spec \
9665 enable_shared_with_static_runtimes \
9667 old_archive_from_new_cmds \
9672 compiler_lib_search_path \
9674 archive_expsym_cmds \
9676 postuninstall_cmds \
9677 old_archive_from_expsyms_cmds \
9678 allow_undefined_flag \
9680 export_symbols_cmds \
9681 hardcode_libdir_flag_spec \
9682 hardcode_libdir_flag_spec_ld \
9683 hardcode_libdir_separator \
9684 hardcode_automatic \
9686 module_expsym_cmds \
9687 lt_cv_prog_compiler_c_o \
9692 old_archive_cmds | \
9693 old_archive_from_new_cmds | \
9695 archive_expsym_cmds | \
9697 module_expsym_cmds | \
9698 old_archive_from_expsyms_cmds | \
9699 export_symbols_cmds | \
9700 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9701 postinstall_cmds | postuninstall_cmds | \
9702 old_postinstall_cmds | old_postuninstall_cmds | \
9703 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9704 # Double-quote double-evaled strings.
9705 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9708 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9714 *'\$0 --fallback-echo"')
9715 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9720 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9722 { echo "$as_me:$LINENO: creating $ofile" >&5
9723 echo "$as_me: creating $ofile" >&6;}
9725 cat <<__EOF__ >> "$cfgfile"
9728 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9729 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9730 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9732 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9733 # Free Software Foundation, Inc.
9735 # This file is part of GNU Libtool:
9736 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9738 # This program is free software; you can redistribute it and/or modify
9739 # it under the terms of the GNU General Public License as published by
9740 # the Free Software Foundation; either version 2 of the License, or
9741 # (at your option) any later version.
9743 # This program is distributed in the hope that it will be useful, but
9744 # WITHOUT ANY WARRANTY; without even the implied warranty of
9745 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9746 # General Public License for more details.
9748 # You should have received a copy of the GNU General Public License
9749 # along with this program; if not, write to the Free Software
9750 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9752 # As a special exception to the GNU General Public License, if you
9753 # distribute this file as part of a program that contains a
9754 # configuration script generated by Autoconf, you may include it under
9755 # the same distribution terms that you use for the rest of that program.
9757 # A sed program that does not truncate output.
9760 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9761 Xsed="$SED -e 1s/^X//"
9763 # The HP-UX ksh and POSIX shell print the target directory to stdout
9765 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9767 # The names of the tagged configurations supported by this script.
9770 # ### BEGIN LIBTOOL CONFIG
9772 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9774 # Shell to use when invoking shell scripts.
9777 # Whether or not to build shared libraries.
9778 build_libtool_libs=$enable_shared
9780 # Whether or not to build static libraries.
9781 build_old_libs=$enable_static
9783 # Whether or not to add -lc for building shared libraries.
9784 build_libtool_need_lc=$archive_cmds_need_lc
9786 # Whether or not to disallow shared libs when runtime libs are static
9787 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9789 # Whether or not to optimize for fast installation.
9790 fast_install=$enable_fast_install
9793 host_alias=$host_alias
9798 build_alias=$build_alias
9802 # An echo program that does not interpret backslashes.
9807 AR_FLAGS=$lt_AR_FLAGS
9812 # LTCC compiler flags.
9813 LTCFLAGS=$lt_LTCFLAGS
9815 # A language-specific compiler.
9818 # Is the compiler the GNU C compiler?
9821 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9822 gcc_ver=\`gcc -dumpversion\`
9827 # The linker used to build libraries.
9830 # Whether we need hard or soft links.
9833 # A BSD-compatible nm program.
9836 # A symbol stripping program
9839 # Used to examine libraries when file_magic_cmd begins "file"
9840 MAGIC_CMD=$MAGIC_CMD
9842 # Used on cygwin: DLL creation program.
9845 # Used on cygwin: object dumper.
9848 # Used on cygwin: assembler.
9851 # The name of the directory that contains temporary libtool files.
9854 # How to create reloadable object files.
9855 reload_flag=$lt_reload_flag
9856 reload_cmds=$lt_reload_cmds
9858 # How to pass a linker flag through the compiler.
9859 wl=$lt_lt_prog_compiler_wl
9861 # Object file suffix (normally "o").
9864 # Old archive suffix (normally "a").
9867 # Shared library suffix (normally ".so").
9868 shrext_cmds='$shrext_cmds'
9870 # Executable file suffix (normally "").
9873 # Additional compiler flags for building library objects.
9874 pic_flag=$lt_lt_prog_compiler_pic
9877 # What is the maximum length of a command?
9878 max_cmd_len=$lt_cv_sys_max_cmd_len
9880 # Does compiler simultaneously support -c and -o options?
9881 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9883 # Must we lock files when doing compilation?
9884 need_locks=$lt_need_locks
9886 # Do we need the lib prefix for modules?
9887 need_lib_prefix=$need_lib_prefix
9889 # Do we need a version for libraries?
9890 need_version=$need_version
9892 # Whether dlopen is supported.
9893 dlopen_support=$enable_dlopen
9895 # Whether dlopen of programs is supported.
9896 dlopen_self=$enable_dlopen_self
9898 # Whether dlopen of statically linked programs is supported.
9899 dlopen_self_static=$enable_dlopen_self_static
9901 # Compiler flag to prevent dynamic linking.
9902 link_static_flag=$lt_lt_prog_compiler_static
9904 # Compiler flag to turn off builtin functions.
9905 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9907 # Compiler flag to allow reflexive dlopens.
9908 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9910 # Compiler flag to generate shared objects directly from archives.
9911 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9913 # Compiler flag to generate thread-safe objects.
9914 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9916 # Library versioning type.
9917 version_type=$version_type
9919 # Format of library name prefix.
9920 libname_spec=$lt_libname_spec
9922 # List of archive names. First name is the real one, the rest are links.
9923 # The last name is the one that the linker finds with -lNAME.
9924 library_names_spec=$lt_library_names_spec
9926 # The coded name of the library, if different from the real name.
9927 soname_spec=$lt_soname_spec
9929 # Commands used to build and install an old-style archive.
9931 old_archive_cmds=$lt_old_archive_cmds
9932 old_postinstall_cmds=$lt_old_postinstall_cmds
9933 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9935 # Create an old-style archive from a shared archive.
9936 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9938 # Create a temporary old-style archive to link instead of a shared archive.
9939 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9941 # Commands used to build and install a shared archive.
9942 archive_cmds=$lt_archive_cmds
9943 archive_expsym_cmds=$lt_archive_expsym_cmds
9944 postinstall_cmds=$lt_postinstall_cmds
9945 postuninstall_cmds=$lt_postuninstall_cmds
9947 # Commands used to build a loadable module (assumed same as above if empty)
9948 module_cmds=$lt_module_cmds
9949 module_expsym_cmds=$lt_module_expsym_cmds
9951 # Commands to strip libraries.
9952 old_striplib=$lt_old_striplib
9953 striplib=$lt_striplib
9955 # Dependencies to place before the objects being linked to create a
9957 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9959 # Dependencies to place after the objects being linked to create a
9961 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9963 # Dependencies to place before the objects being linked to create a
9967 # Dependencies to place after the objects being linked to create a
9969 postdeps=$lt_postdeps
9971 # The library search path used internally by the compiler when linking
9973 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9975 # Method to check whether dependent libraries are shared objects.
9976 deplibs_check_method=$lt_deplibs_check_method
9978 # Command to use when deplibs_check_method == file_magic.
9979 file_magic_cmd=$lt_file_magic_cmd
9981 # Flag that allows shared libraries with undefined symbols to be built.
9982 allow_undefined_flag=$lt_allow_undefined_flag
9984 # Flag that forces no undefined symbols.
9985 no_undefined_flag=$lt_no_undefined_flag
9987 # Commands used to finish a libtool library installation in a directory.
9988 finish_cmds=$lt_finish_cmds
9990 # Same as above, but a single script fragment to be evaled but not shown.
9991 finish_eval=$lt_finish_eval
9993 # Take the output of nm and produce a listing of raw symbols and C names.
9994 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9996 # Transform the output of nm in a proper C declaration
9997 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9999 # Transform the output of nm in a C name address pair
10000 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10002 # This is the shared library runtime path variable.
10003 runpath_var=$runpath_var
10005 # This is the shared library path variable.
10006 shlibpath_var=$shlibpath_var
10008 # Is shlibpath searched before the hard-coded library search path?
10009 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10011 # How to hardcode a shared library path into an executable.
10012 hardcode_action=$hardcode_action
10014 # Whether we should hardcode library paths into libraries.
10015 hardcode_into_libs=$hardcode_into_libs
10017 # Flag to hardcode \$libdir into a binary during linking.
10018 # This must work even if \$libdir does not exist.
10019 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10021 # If ld is used when linking, flag to hardcode \$libdir into
10022 # a binary during linking. This must work even if \$libdir does
10024 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10026 # Whether we need a single -rpath flag with a separated argument.
10027 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10029 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10030 # resulting binary.
10031 hardcode_direct=$hardcode_direct
10033 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10034 # resulting binary.
10035 hardcode_minus_L=$hardcode_minus_L
10037 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10038 # the resulting binary.
10039 hardcode_shlibpath_var=$hardcode_shlibpath_var
10041 # Set to yes if building a shared library automatically hardcodes DIR into the library
10042 # and all subsequent libraries and executables linked against it.
10043 hardcode_automatic=$hardcode_automatic
10045 # Variables whose values should be saved in libtool wrapper scripts and
10046 # restored at relink time.
10047 variables_saved_for_relink="$variables_saved_for_relink"
10049 # Whether libtool must link a program against all its dependency libraries.
10050 link_all_deplibs=$link_all_deplibs
10052 # Compile-time system search path for libraries
10053 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10055 # Run-time system search path for libraries
10056 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10058 # Fix the shell variable \$srcfile for the compiler.
10059 fix_srcfile_path="$fix_srcfile_path"
10061 # Set to yes if exported symbols are required.
10062 always_export_symbols=$always_export_symbols
10064 # The commands to list exported symbols.
10065 export_symbols_cmds=$lt_export_symbols_cmds
10067 # The commands to extract the exported symbol list from a shared archive.
10068 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10070 # Symbols that should not be listed in the preloaded symbols.
10071 exclude_expsyms=$lt_exclude_expsyms
10073 # Symbols that must always be exported.
10074 include_expsyms=$lt_include_expsyms
10076 # ### END LIBTOOL CONFIG
10083 cat <<\EOF
>> "$cfgfile"
10085 # AIX sometimes has problems with the GCC collect2 program. For some
10086 # reason, if we set the COLLECT_NAMES environment variable, the problems
10087 # vanish in a puff of smoke.
10088 if test "X${COLLECT_NAMES+set}" != Xset
; then
10090 export COLLECT_NAMES
10096 # We use sed instead of cat because bash on DJGPP gets confused if
10097 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10098 # text mode, it properly converts lines to CR/LF. This bash problem
10099 # is reportedly fixed, but why not run on old versions too?
10100 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
10102 mv -f "$cfgfile" "$ofile" || \
10103 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10107 # If there is no Makefile yet, we rely on a make rule to execute
10108 # `config.status --recheck' to rerun these tests and create the
10109 # libtool script then.
10110 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10111 if test -f "$ltmain_in"; then
10112 test -f Makefile
&& make "$ltmain"
10118 ac_cpp
='$CPP $CPPFLAGS'
10119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10126 # Check whether --with-tags or --without-tags was given.
10127 if test "${with_tags+set}" = set; then
10128 withval
="$with_tags"
10129 tagnames
="$withval"
10132 if test -f "$ltmain" && test -n "$tagnames"; then
10133 if test ! -f "${ofile}"; then
10134 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10135 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10138 if test -z "$LTCC"; then
10139 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10140 if test -z "$LTCC"; then
10141 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10142 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10144 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10145 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10148 if test -z "$LTCFLAGS"; then
10149 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10152 # Extract list of available tagged configurations in $ofile.
10153 # Note that this assumes the entire list is on one line.
10154 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10156 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10157 for tagname
in $tagnames; do
10159 # Check whether tagname contains only valid characters
10160 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10162 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10163 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10164 { (exit 1); exit 1; }; }
10168 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
10170 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10171 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10172 { (exit 1); exit 1; }; }
10175 # Update the list of available tags.
10176 if test -n "$tagname"; then
10177 echo appending configuration tag
\"$tagname\" to
$ofile
10181 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10182 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10183 (test "X$CXX" != "Xg++"))) ; then
10185 ac_cpp
='$CXXCPP $CPPFLAGS'
10186 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10187 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10188 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10193 archive_cmds_need_lc_CXX
=no
10194 allow_undefined_flag_CXX
=
10195 always_export_symbols_CXX
=no
10196 archive_expsym_cmds_CXX
=
10197 export_dynamic_flag_spec_CXX
=
10198 hardcode_direct_CXX
=no
10199 hardcode_libdir_flag_spec_CXX
=
10200 hardcode_libdir_flag_spec_ld_CXX
=
10201 hardcode_libdir_separator_CXX
=
10202 hardcode_minus_L_CXX
=no
10203 hardcode_shlibpath_var_CXX
=unsupported
10204 hardcode_automatic_CXX
=no
10206 module_expsym_cmds_CXX
=
10207 link_all_deplibs_CXX
=unknown
10208 old_archive_cmds_CXX
=$old_archive_cmds
10209 no_undefined_flag_CXX
=
10210 whole_archive_flag_spec_CXX
=
10211 enable_shared_with_static_runtimes_CXX
=no
10213 # Dependencies to place before and after the object being linked:
10214 predep_objects_CXX
=
10215 postdep_objects_CXX
=
10218 compiler_lib_search_path_CXX
=
10220 # Source file extension for C++ test sources.
10223 # Object file extension for compiled C++ test sources.
10227 # Code to be used in simple compile tests
10228 lt_simple_compile_test_code
="int some_variable = 0;\n"
10230 # Code to be used in simple link tests
10231 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10233 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10235 # If no C compiler was specified, use CC.
10238 # If no C compiler flags were specified, use CFLAGS.
10239 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10241 # Allow CC to be a program name with arguments.
10245 # save warnings/boilerplate of simple test code
10246 ac_outfile
=conftest.
$ac_objext
10247 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10248 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10249 _lt_compiler_boilerplate
=`cat conftest.err`
10252 ac_outfile
=conftest.
$ac_objext
10253 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10254 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10255 _lt_linker_boilerplate
=`cat conftest.err`
10259 # Allow CC to be a program name with arguments.
10264 lt_save_with_gnu_ld
=$with_gnu_ld
10265 lt_save_path_LD
=$lt_cv_path_LD
10266 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10267 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10269 $as_unset lt_cv_prog_gnu_ld
10271 if test -n "${lt_cv_path_LDCXX+set}"; then
10272 lt_cv_path_LD
=$lt_cv_path_LDCXX
10274 $as_unset lt_cv_path_LD
10276 test -z "${LDCXX+set}" || LD
=$LDCXX
10280 for cc_temp
in $compiler""; do
10282 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10283 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10288 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10291 # We don't want -fno-exception wen compiling C++ code, so set the
10292 # no_builtin_flag separately
10293 if test "$GXX" = yes; then
10294 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10296 lt_prog_compiler_no_builtin_flag_CXX
=
10299 if test "$GXX" = yes; then
10300 # Set up default GNU C++ configuration
10303 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10304 if test "${with_gnu_ld+set}" = set; then
10305 withval
="$with_gnu_ld"
10306 test "$withval" = no || with_gnu_ld
=yes
10311 if test "$GCC" = yes; then
10312 # Check if gcc -print-prog-name=ld gives a path.
10313 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10314 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10317 # gcc leaves a trailing carriage return which upsets mingw
10318 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10320 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10323 # Accept absolute paths.
10325 re_direlt
='/[^/][^/]*/\.\./'
10326 # Canonicalize the pathname of ld
10327 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10328 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10329 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10331 test -z "$LD" && LD
="$ac_prog"
10334 # If it fails, then pretend we aren't using GCC.
10338 # If it is relative, then search for the first ld in PATH.
10339 with_gnu_ld
=unknown
10342 elif test "$with_gnu_ld" = yes; then
10343 echo "$as_me:$LINENO: checking for GNU ld" >&5
10344 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10346 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10347 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10349 if test "${lt_cv_path_LD+set}" = set; then
10350 echo $ECHO_N "(cached) $ECHO_C" >&6
10352 if test -z "$LD"; then
10353 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10354 for ac_dir
in $PATH; do
10356 test -z "$ac_dir" && ac_dir
=.
10357 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10358 lt_cv_path_LD
="$ac_dir/$ac_prog"
10359 # Check to see if the program is GNU ld. I'd rather use --version,
10360 # but apparently some variants of GNU ld only accept -v.
10361 # Break only if it was the GNU/non-GNU ld that we prefer.
10362 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10363 *GNU
* |
*'with BFD'*)
10364 test "$with_gnu_ld" != no
&& break
10367 test "$with_gnu_ld" != yes && break
10374 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10378 LD
="$lt_cv_path_LD"
10379 if test -n "$LD"; then
10380 echo "$as_me:$LINENO: result: $LD" >&5
10381 echo "${ECHO_T}$LD" >&6
10383 echo "$as_me:$LINENO: result: no" >&5
10384 echo "${ECHO_T}no" >&6
10386 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10387 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10388 { (exit 1); exit 1; }; }
10389 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10390 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10391 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10395 case `$LD -v 2>&1 </dev/null` in
10396 *GNU
* |
*'with BFD'*)
10397 lt_cv_prog_gnu_ld
=yes
10400 lt_cv_prog_gnu_ld
=no
10404 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10405 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10406 with_gnu_ld
=$lt_cv_prog_gnu_ld
10410 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10411 # archiving commands below assume that GNU ld is being used.
10412 if test "$with_gnu_ld" = yes; then
10413 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10414 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10416 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10417 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10419 # If archive_cmds runs LD, not CC, wlarc should be empty
10420 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10421 # investigate it a little bit more. (MM)
10424 # ancient GNU ld didn't support --whole-archive et. al.
10425 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10426 grep 'no-whole-archive' > /dev
/null
; then
10427 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10429 whole_archive_flag_spec_CXX
=
10435 # A generic and very simple default shared library creation
10436 # command for GNU C++ for the case where it uses the native
10437 # linker, instead of GNU ld. If possible, this setting should
10438 # overridden to take advantage of the native linker features on
10439 # the platform it is being used on.
10440 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10443 # Commands to make compiler produce verbose output that lists
10444 # what "hidden" libraries, object files and flags are used when
10445 # linking a shared library.
10446 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10454 # PORTME: fill in a description of your system's C++ link characteristics
10455 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10456 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10460 # FIXME: insert proper C++ library support
10464 if test "$host_cpu" = ia64
; then
10465 # On IA64, the linker does run time linking by default, so we don't
10466 # have to do anything special.
10467 aix_use_runtimelinking
=no
10468 exp_sym_flag
='-Bexport'
10471 aix_use_runtimelinking
=no
10473 # Test if we are trying to use run time linking or normal
10474 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10475 # need to do runtime linking.
10476 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10477 for ld_flag
in $LDFLAGS; do
10480 aix_use_runtimelinking
=yes
10488 exp_sym_flag
='-bexport'
10489 no_entry_flag
='-bnoentry'
10492 # When large executables or shared objects are built, AIX ld can
10493 # have problems creating the table of contents. If linking a library
10494 # or program results in "error TOC overflow" add -mminimal-toc to
10495 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10496 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10498 archive_cmds_CXX
=''
10499 hardcode_direct_CXX
=yes
10500 hardcode_libdir_separator_CXX
=':'
10501 link_all_deplibs_CXX
=yes
10503 if test "$GXX" = yes; then
10504 case $host_os in aix4.
[012]|aix4.
[012].
*)
10505 # We only want to do this on AIX 4.2 and lower, the check
10506 # below for broken collect2 doesn't work under 4.3+
10507 collect2name
=`${CC} -print-prog-name=collect2`
10508 if test -f "$collect2name" && \
10509 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10511 # We have reworked collect2
10512 hardcode_direct_CXX
=yes
10514 # We have old collect2
10515 hardcode_direct_CXX
=unsupported
10516 # It fails to find uninstalled libraries when the uninstalled
10517 # path is not listed in the libpath. Setting hardcode_minus_L
10518 # to unsupported forces relinking
10519 hardcode_minus_L_CXX
=yes
10520 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10521 hardcode_libdir_separator_CXX
=
10525 shared_flag
='-shared'
10526 if test "$aix_use_runtimelinking" = yes; then
10527 shared_flag
="$shared_flag "'${wl}-G'
10531 if test "$host_cpu" = ia64
; then
10532 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10533 # chokes on -Wl,-G. The following line is correct:
10536 if test "$aix_use_runtimelinking" = yes; then
10537 shared_flag
='${wl}-G'
10539 shared_flag
='${wl}-bM:SRE'
10544 # It seems that -bexpall does not export symbols beginning with
10545 # underscore (_), so it is better to generate a list of symbols to export.
10546 always_export_symbols_CXX
=yes
10547 if test "$aix_use_runtimelinking" = yes; then
10548 # Warning - without using the other runtime loading flags (-brtl),
10549 # -berok will link without error, but may produce a broken library.
10550 allow_undefined_flag_CXX
='-berok'
10551 # Determine the default libpath from the value encoded in an empty executable.
10552 cat >conftest.
$ac_ext <<_ACEOF
10555 cat confdefs.h
>>conftest.
$ac_ext
10556 cat >>conftest.
$ac_ext <<_ACEOF
10557 /* end confdefs.h. */
10567 rm -f conftest.
$ac_objext conftest
$ac_exeext
10568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10569 (eval $ac_link) 2>conftest.er1
10571 grep -v '^ *+' conftest.er1
>conftest.err
10573 cat conftest.err
>&5
10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575 (exit $ac_status); } &&
10576 { ac_try
='test -z "$ac_cxx_werror_flag"
10577 || test ! -s conftest.err'
10578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10579 (eval $ac_try) 2>&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); }; } &&
10583 { ac_try
='test -s conftest$ac_exeext'
10584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10585 (eval $ac_try) 2>&5
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); }; }; then
10590 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10592 # Check for a 64-bit object if we didn't find anything.
10593 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10596 echo "$as_me: failed program was:" >&5
10597 sed 's/^/| /' conftest.
$ac_ext >&5
10600 rm -f conftest.err conftest.
$ac_objext \
10601 conftest
$ac_exeext conftest.
$ac_ext
10602 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10604 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10606 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10608 if test "$host_cpu" = ia64
; then
10609 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10610 allow_undefined_flag_CXX
="-z nodefs"
10611 archive_expsym_cmds_CXX
="\$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"
10613 # Determine the default libpath from the value encoded in an empty executable.
10614 cat >conftest.
$ac_ext <<_ACEOF
10617 cat confdefs.h
>>conftest.
$ac_ext
10618 cat >>conftest.
$ac_ext <<_ACEOF
10619 /* end confdefs.h. */
10629 rm -f conftest.
$ac_objext conftest
$ac_exeext
10630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10631 (eval $ac_link) 2>conftest.er1
10633 grep -v '^ *+' conftest.er1
>conftest.err
10635 cat conftest.err
>&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } &&
10638 { ac_try
='test -z "$ac_cxx_werror_flag"
10639 || test ! -s conftest.err'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; } &&
10645 { ac_try
='test -s conftest$ac_exeext'
10646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 (eval $ac_try) 2>&5
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); }; }; then
10652 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10654 # Check for a 64-bit object if we didn't find anything.
10655 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10658 echo "$as_me: failed program was:" >&5
10659 sed 's/^/| /' conftest.
$ac_ext >&5
10662 rm -f conftest.err conftest.
$ac_objext \
10663 conftest
$ac_exeext conftest.
$ac_ext
10664 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10666 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10667 # Warning - without using the other run time loading flags,
10668 # -berok will link without error, but may produce a broken library.
10669 no_undefined_flag_CXX
=' ${wl}-bernotok'
10670 allow_undefined_flag_CXX
=' ${wl}-berok'
10671 # Exported symbols can be pulled into shared objects from archives
10672 whole_archive_flag_spec_CXX
='$convenience'
10673 archive_cmds_need_lc_CXX
=yes
10674 # This is similar to how AIX traditionally builds its shared libraries.
10675 archive_expsym_cmds_CXX
="\$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'
10681 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10682 allow_undefined_flag_CXX
=unsupported
10683 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10684 # support --undefined. This deserves some investigation. FIXME
10685 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10692 case $cc_basename in
10694 # FIXME: insert proper C++ library support
10700 cygwin
* | mingw
* | pw32
*)
10701 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10702 # as there is no search path for DLLs.
10703 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10704 allow_undefined_flag_CXX
=unsupported
10705 always_export_symbols_CXX
=no
10706 enable_shared_with_static_runtimes_CXX
=yes
10708 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10709 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10710 # If the export-symbols file already is a .def file (1st line
10711 # is EXPORTS), use it as is; otherwise, prepend...
10712 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10713 cp $export_symbols $output_objdir/$soname.def;
10715 echo EXPORTS > $output_objdir/$soname.def;
10716 cat $export_symbols >> $output_objdir/$soname.def;
10718 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10723 darwin
* | rhapsody
*)
10725 rhapsody
* | darwin1.
[012])
10726 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10729 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10730 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10732 case ${MACOSX_DEPLOYMENT_TARGET} in
10734 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10737 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10743 archive_cmds_need_lc_CXX
=no
10744 hardcode_direct_CXX
=no
10745 hardcode_automatic_CXX
=yes
10746 hardcode_shlibpath_var_CXX
=unsupported
10747 whole_archive_flag_spec_CXX
=''
10748 link_all_deplibs_CXX
=yes
10750 if test "$GXX" = yes ; then
10751 lt_int_apple_cc_single_mod
=no
10752 output_verbose_link_cmd
='echo'
10753 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10754 lt_int_apple_cc_single_mod
=yes
10756 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10757 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10759 archive_cmds_CXX
='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10761 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10762 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10763 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10764 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10766 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10768 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10770 case $cc_basename in
10772 output_verbose_link_cmd
='echo'
10773 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10774 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10775 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10776 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10777 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10787 case $cc_basename in
10789 # FIXME: insert proper C++ library support
10793 # Green Hills C++ Compiler
10794 # FIXME: insert proper C++ library support
10798 # FIXME: insert proper C++ library support
10804 # C++ shared libraries reported to be fairly broken before switch to ELF
10808 archive_cmds_need_lc_CXX
=no
10810 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10811 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10818 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10819 hardcode_libdir_separator_CXX
=:
10820 export_dynamic_flag_spec_CXX
='${wl}-E'
10821 hardcode_direct_CXX
=yes
10822 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10823 # but as the default
10824 # location of the library.
10826 case $cc_basename in
10828 # FIXME: insert proper C++ library support
10832 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10833 # Commands to make compiler produce verbose output that lists
10834 # what "hidden" libraries, object files and flags are used when
10835 # linking a shared library.
10837 # There doesn't appear to be a way to prevent this compiler from
10838 # explicitly linking system object files so we need to strip them
10839 # from the output so that they don't get included in the library
10841 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10844 if test "$GXX" = yes; then
10845 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10847 # FIXME: insert proper C++ library support
10854 if test $with_gnu_ld = no
; then
10855 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10856 hardcode_libdir_separator_CXX
=:
10860 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10863 export_dynamic_flag_spec_CXX
='${wl}-E'
10869 hardcode_direct_CXX
=no
10870 hardcode_shlibpath_var_CXX
=no
10873 hardcode_direct_CXX
=yes
10874 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10875 # but as the default
10876 # location of the library.
10880 case $cc_basename in
10882 # FIXME: insert proper C++ library support
10888 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10891 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10894 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10897 # Commands to make compiler produce verbose output that lists
10898 # what "hidden" libraries, object files and flags are used when
10899 # linking a shared library.
10901 # There doesn't appear to be a way to prevent this compiler from
10902 # explicitly linking system object files so we need to strip them
10903 # from the output so that they don't get included in the library
10905 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10908 if test "$GXX" = yes; then
10909 if test $with_gnu_ld = no
; then
10912 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10915 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10918 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10923 # FIXME: insert proper C++ library support
10930 hardcode_direct_CXX
=no
10931 hardcode_shlibpath_var_CXX
=no
10932 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10933 export_dynamic_flag_spec_CXX
='${wl}-E'
10934 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10935 # Instead, shared libraries are loaded at an image base (0x10000000 by
10936 # default) and relocated if they conflict, which is a slow very memory
10937 # consuming and fragmenting process. To avoid this, we pick a random,
10938 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10939 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10940 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10941 archive_expsym_cmds_CXX
='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'
10944 case $cc_basename in
10947 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10949 # Archives containing C++ object files must be created using
10950 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10951 # necessary to make sure instantiated templates are included
10953 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10956 if test "$GXX" = yes; then
10957 if test "$with_gnu_ld" = no
; then
10958 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10960 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10963 link_all_deplibs_CXX
=yes
10966 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10967 hardcode_libdir_separator_CXX
=:
10970 case $cc_basename in
10972 # Kuck and Associates, Inc. (KAI) C++ Compiler
10974 # KCC will only create a shared library if the output file
10975 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10976 # to its proper name (with version) after linking.
10977 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10978 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
10979 # Commands to make compiler produce verbose output that lists
10980 # what "hidden" libraries, object files and flags are used when
10981 # linking a shared library.
10983 # There doesn't appear to be a way to prevent this compiler from
10984 # explicitly linking system object files so we need to strip them
10985 # from the output so that they don't get included in the library
10987 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10989 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10990 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10992 # Archives containing C++ object files must be created using
10993 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10994 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10999 # version 8.0 and above of icpc choke on multiply defined symbols
11000 # if we add $predep_objects and $postdep_objects, however 7.1 and
11001 # earlier do not add the objects themselves.
11002 case `$CC -V 2>&1` in
11004 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11005 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11007 *) # Version 8.0 or newer
11010 ia64
*) tmp_idyn
=' -i_dynamic';;
11012 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11013 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11016 archive_cmds_need_lc_CXX
=no
11017 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11018 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11019 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11022 # Portland Group C++ compiler
11023 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11024 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11026 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11027 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11028 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11032 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11033 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11035 runpath_var
=LD_RUN_PATH
11036 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11037 hardcode_libdir_separator_CXX
=:
11039 # Commands to make compiler produce verbose output that lists
11040 # what "hidden" libraries, object files and flags are used when
11041 # linking a shared library.
11043 # There doesn't appear to be a way to prevent this compiler from
11044 # explicitly linking system object files so we need to strip them
11045 # from the output so that they don't get included in the library
11047 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11052 # FIXME: insert proper C++ library support
11056 # FIXME: insert proper C++ library support
11060 case $cc_basename in
11062 # FIXME: insert proper C++ library support
11066 # FIXME: insert proper C++ library support
11072 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11073 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11075 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11076 hardcode_direct_CXX
=yes
11077 hardcode_shlibpath_var_CXX
=no
11079 # Workaround some broken pre-1.5 toolchains
11080 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11083 # C++ shared libraries are fairly broken
11087 hardcode_direct_CXX
=yes
11088 hardcode_shlibpath_var_CXX
=no
11089 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11090 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11091 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11092 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11093 export_dynamic_flag_spec_CXX
='${wl}-E'
11094 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11096 output_verbose_link_cmd
='echo'
11099 case $cc_basename in
11101 # Kuck and Associates, Inc. (KAI) C++ Compiler
11103 # KCC will only create a shared library if the output file
11104 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11105 # to its proper name (with version) after linking.
11106 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11108 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11109 hardcode_libdir_separator_CXX
=:
11111 # Archives containing C++ object files must be created using
11112 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11113 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11117 # Rational C++ 2.4.1
11118 # FIXME: insert proper C++ library support
11122 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11123 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11125 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11126 hardcode_libdir_separator_CXX
=:
11128 # Commands to make compiler produce verbose output that lists
11129 # what "hidden" libraries, object files and flags are used when
11130 # linking a shared library.
11132 # There doesn't appear to be a way to prevent this compiler from
11133 # explicitly linking system object files so we need to strip them
11134 # from the output so that they don't get included in the library
11136 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11139 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11140 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11141 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11143 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11144 hardcode_libdir_separator_CXX
=:
11146 # Commands to make compiler produce verbose output that lists
11147 # what "hidden" libraries, object files and flags are used when
11148 # linking a shared library.
11149 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11152 # FIXME: insert proper C++ library support
11159 case $cc_basename in
11161 # Kuck and Associates, Inc. (KAI) C++ Compiler
11163 # KCC will only create a shared library if the output file
11164 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11165 # to its proper name (with version) after linking.
11166 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11168 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11169 hardcode_libdir_separator_CXX
=:
11171 # Archives containing C++ object files must be created using
11172 # the KAI C++ compiler.
11173 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11176 # Rational C++ 2.4.1
11177 # FIXME: insert proper C++ library support
11181 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11182 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11183 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11184 echo "-hidden">> $lib.exp~
11185 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11188 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11189 hardcode_libdir_separator_CXX
=:
11191 # Commands to make compiler produce verbose output that lists
11192 # what "hidden" libraries, object files and flags are used when
11193 # linking a shared library.
11195 # There doesn't appear to be a way to prevent this compiler from
11196 # explicitly linking system object files so we need to strip them
11197 # from the output so that they don't get included in the library
11199 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11202 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11203 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11204 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11206 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11207 hardcode_libdir_separator_CXX
=:
11209 # Commands to make compiler produce verbose output that lists
11210 # what "hidden" libraries, object files and flags are used when
11211 # linking a shared library.
11212 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11215 # FIXME: insert proper C++ library support
11222 # FIXME: insert proper C++ library support
11226 case $cc_basename in
11229 # FIXME: insert proper C++ library support
11234 # FIXME: insert proper C++ library support
11238 # FIXME: insert proper C++ library support
11244 case $cc_basename in
11246 # Sun C++ 4.2, 5.x and Centerline C++
11247 archive_cmds_need_lc_CXX
=yes
11248 no_undefined_flag_CXX
=' -zdefs'
11249 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11250 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11251 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11253 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11254 hardcode_shlibpath_var_CXX
=no
11256 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11258 # The C++ compiler is used as linker so we must use $wl
11259 # flag to pass the commands to the underlying system
11260 # linker. We must also pass each convience library through
11261 # to the system linker between allextract/defaultextract.
11262 # The C++ compiler will combine linker options so we
11263 # cannot just pass the convience library names through
11265 # Supported since Solaris 2.6 (maybe 2.5.1?)
11266 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11269 link_all_deplibs_CXX
=yes
11271 output_verbose_link_cmd
='echo'
11273 # Archives containing C++ object files must be created using
11274 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11275 # necessary to make sure instantiated templates are included
11277 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11280 # Green Hills C++ Compiler
11281 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11283 # The C++ compiler must be used to create the archive.
11284 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11287 # GNU C++ compiler with Solaris linker
11288 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11289 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11290 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11291 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11292 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11293 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11295 # Commands to make compiler produce verbose output that lists
11296 # what "hidden" libraries, object files and flags are used when
11297 # linking a shared library.
11298 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11300 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11302 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11303 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11304 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11306 # Commands to make compiler produce verbose output that lists
11307 # what "hidden" libraries, object files and flags are used when
11308 # linking a shared library.
11309 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11312 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11317 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11318 no_undefined_flag_CXX
='${wl}-z,text'
11319 archive_cmds_need_lc_CXX
=no
11320 hardcode_shlibpath_var_CXX
=no
11321 runpath_var
='LD_RUN_PATH'
11323 case $cc_basename in
11325 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11326 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11329 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11330 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11334 sysv5
* | sco3.2v5
* | sco5v6
*)
11335 # Note: We can NOT use -z defs as we might desire, because we do not
11336 # link with -lc, and that would cause any symbols used from libc to
11337 # always be unresolved, which means just about no library would
11338 # ever link correctly. If we're not using GNU ld we use -z text
11339 # though, which does catch some bad symbols but isn't as heavy-handed
11341 # For security reasons, it is highly recommended that you always
11342 # use absolute paths for naming shared libraries, and exclude the
11343 # DT_RUNPATH tag from executables and libraries. But doing so
11344 # requires that you compile everything twice, which is a pain.
11345 # So that behaviour is only enabled if SCOABSPATH is set to a
11346 # non-empty value in the environment. Most likely only useful for
11347 # creating official distributions of packages.
11348 # This is a hack until libtool officially supports absolute path
11349 # names for shared libraries.
11350 no_undefined_flag_CXX
='${wl}-z,text'
11351 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11352 archive_cmds_need_lc_CXX
=no
11353 hardcode_shlibpath_var_CXX
=no
11354 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11355 hardcode_libdir_separator_CXX
=':'
11356 link_all_deplibs_CXX
=yes
11357 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11358 runpath_var
='LD_RUN_PATH'
11360 case $cc_basename in
11362 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11363 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11366 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11367 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11372 case $cc_basename in
11374 # NonStop-UX NCC 3.20
11375 # FIXME: insert proper C++ library support
11379 # FIXME: insert proper C++ library support
11385 # FIXME: insert proper C++ library support
11389 # FIXME: insert proper C++ library support
11393 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11394 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11395 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11401 cat > conftest.
$ac_ext <<EOF
11405 Foo (void) { a = 0; }
11411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11412 (eval $ac_compile) 2>&5
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); }; then
11416 # Parse the compiler output and extract the necessary
11417 # objects, libraries and library flags.
11419 # Sentinel used to keep track of whether or not we are before
11420 # the conftest object file.
11421 pre_test_object_deps_done
=no
11423 # The `*' in the case matches for architectures that use `case' in
11424 # $output_verbose_cmd can trigger glob expansion during the loop
11425 # eval without this substitution.
11426 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11428 for p
in `eval $output_verbose_link_cmd`; do
11432 # Some compilers place space between "-{L,R}" and the path.
11433 # Remove the space.
11434 if test $p = "-L" \
11435 ||
test $p = "-R"; then
11442 if test "$pre_test_object_deps_done" = no
; then
11445 # Internal compiler library paths should come after those
11446 # provided the user. The postdeps already come after the
11447 # user supplied libs so there is no need to process them.
11448 if test -z "$compiler_lib_search_path_CXX"; then
11449 compiler_lib_search_path_CXX
="${prev}${p}"
11451 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11454 # The "-l" case would never come before the object being
11455 # linked, so don't bother handling this case.
11458 if test -z "$postdeps_CXX"; then
11459 postdeps_CXX
="${prev}${p}"
11461 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11467 # This assumes that the test object file only shows up
11468 # once in the compiler output.
11469 if test "$p" = "conftest.$objext"; then
11470 pre_test_object_deps_done
=yes
11474 if test "$pre_test_object_deps_done" = no
; then
11475 if test -z "$predep_objects_CXX"; then
11476 predep_objects_CXX
="$p"
11478 predep_objects_CXX
="$predep_objects_CXX $p"
11481 if test -z "$postdep_objects_CXX"; then
11482 postdep_objects_CXX
="$p"
11484 postdep_objects_CXX
="$postdep_objects_CXX $p"
11489 *) ;; # Ignore the rest.
11497 echo "libtool.m4: error: problem compiling CXX test program"
11500 $rm -f confest.
$objext
11502 # PORTME: override above test on systems where it is broken
11505 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11506 # hack all around it, let's just trust "g++" to DTRT.
11507 predep_objects_CXX
=
11508 postdep_objects_CXX
=
11513 case $cc_basename in
11515 # Adding this requires a known-good setup of shared libraries for
11516 # Sun compiler versions before 5.6, else PIC objects from an old
11517 # archive will be linked into the output, leading to subtle bugs.
11518 postdeps_CXX
='-lCstd -lCrun'
11525 case " $postdeps_CXX " in
11526 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11529 lt_prog_compiler_wl_CXX
=
11530 lt_prog_compiler_pic_CXX
=
11531 lt_prog_compiler_static_CXX
=
11533 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11534 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11536 # C++ specific cases for pic, static, wl, etc.
11537 if test "$GXX" = yes; then
11538 lt_prog_compiler_wl_CXX
='-Wl,'
11539 lt_prog_compiler_static_CXX
='-static'
11543 # All AIX code is PIC.
11544 if test "$host_cpu" = ia64
; then
11545 # AIX 5 now supports IA64 processor
11546 lt_prog_compiler_static_CXX
='-Bstatic'
11550 # FIXME: we need at least 68020 code to build shared libraries, but
11551 # adding the `-m68020' flag to GCC prevents building anything better,
11553 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11555 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11556 # PIC is the default for these OSes.
11558 mingw
* | os2
* | pw32
*)
11559 # This hack is so that the source file can tell whether it is being
11560 # built for inclusion in a dll (and should export symbols for example).
11561 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11563 darwin
* | rhapsody
*)
11564 # PIC is the default on this platform
11565 # Common symbols not allowed in MH_DYLIB files
11566 lt_prog_compiler_pic_CXX
='-fno-common'
11569 # DJGPP does not support shared libraries at all
11570 lt_prog_compiler_pic_CXX
=
11573 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11574 # Instead, we relocate shared libraries at runtime.
11577 if test -d /usr
/nec
; then
11578 lt_prog_compiler_pic_CXX
=-Kconform_pic
11582 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11583 # not for PA HP-UX.
11588 lt_prog_compiler_pic_CXX
='-fPIC'
11593 lt_prog_compiler_pic_CXX
='-fPIC'
11599 # All AIX code is PIC.
11600 if test "$host_cpu" = ia64
; then
11601 # AIX 5 now supports IA64 processor
11602 lt_prog_compiler_static_CXX
='-Bstatic'
11604 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11608 case $cc_basename in
11610 # Green Hills C++ Compiler
11611 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
11616 # PIC is the default on this platform
11617 # Common symbols not allowed in MH_DYLIB files
11618 case $cc_basename in
11620 lt_prog_compiler_pic_CXX
='-qnocommon'
11621 lt_prog_compiler_wl_CXX
='-Wl,'
11626 case $cc_basename in
11628 lt_prog_compiler_pic_CXX
='-KPIC'
11631 # Green Hills C++ Compiler
11632 lt_prog_compiler_pic_CXX
='-pic'
11638 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11639 # FreeBSD uses GNU C++
11641 hpux9
* | hpux10
* | hpux11
*)
11642 case $cc_basename in
11644 lt_prog_compiler_wl_CXX
='-Wl,'
11645 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11646 if test "$host_cpu" != ia64
; then
11647 lt_prog_compiler_pic_CXX
='+Z'
11651 lt_prog_compiler_wl_CXX
='-Wl,'
11652 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11658 lt_prog_compiler_pic_CXX
='+Z'
11667 # This is c89, which is MS Visual C++ (no shared libs)
11668 # Anyone wants to do a port?
11670 irix5
* | irix6
* | nonstopux
*)
11671 case $cc_basename in
11673 lt_prog_compiler_wl_CXX
='-Wl,'
11674 lt_prog_compiler_static_CXX
='-non_shared'
11675 # CC pic flag -KPIC is the default.
11682 case $cc_basename in
11685 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11686 lt_prog_compiler_pic_CXX
='-fPIC'
11690 lt_prog_compiler_wl_CXX
='-Wl,'
11691 lt_prog_compiler_pic_CXX
='-KPIC'
11692 lt_prog_compiler_static_CXX
='-static'
11695 # Portland Group C++ compiler.
11696 lt_prog_compiler_wl_CXX
='-Wl,'
11697 lt_prog_compiler_pic_CXX
='-fpic'
11698 lt_prog_compiler_static_CXX
='-Bstatic'
11702 # Make sure the PIC flag is empty. It appears that all Alpha
11703 # Linux and Compaq Tru64 Unix objects are PIC.
11704 lt_prog_compiler_pic_CXX
=
11705 lt_prog_compiler_static_CXX
='-non_shared'
11716 case $cc_basename in
11718 lt_prog_compiler_pic_CXX
='-W c,exportall'
11726 osf3
* | osf4
* | osf5
*)
11727 case $cc_basename in
11729 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11732 # Rational C++ 2.4.1
11733 lt_prog_compiler_pic_CXX
='-pic'
11736 # Digital/Compaq C++
11737 lt_prog_compiler_wl_CXX
='-Wl,'
11738 # Make sure the PIC flag is empty. It appears that all Alpha
11739 # Linux and Compaq Tru64 Unix objects are PIC.
11740 lt_prog_compiler_pic_CXX
=
11741 lt_prog_compiler_static_CXX
='-non_shared'
11750 case $cc_basename in
11752 # Sun C++ 4.2, 5.x and Centerline C++
11753 lt_prog_compiler_pic_CXX
='-KPIC'
11754 lt_prog_compiler_static_CXX
='-Bstatic'
11755 lt_prog_compiler_wl_CXX
='-Qoption ld '
11758 # Green Hills C++ Compiler
11759 lt_prog_compiler_pic_CXX
='-PIC'
11766 case $cc_basename in
11769 lt_prog_compiler_pic_CXX
='-pic'
11770 lt_prog_compiler_static_CXX
='-Bstatic'
11774 lt_prog_compiler_pic_CXX
='-pic'
11781 case $cc_basename in
11783 # NonStop-UX NCC 3.20
11784 lt_prog_compiler_pic_CXX
='-KPIC'
11790 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11791 case $cc_basename in
11793 lt_prog_compiler_wl_CXX
='-Wl,'
11794 lt_prog_compiler_pic_CXX
='-KPIC'
11795 lt_prog_compiler_static_CXX
='-Bstatic'
11802 lt_prog_compiler_can_build_shared_CXX
=no
11807 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11808 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11811 # Check to make sure the PIC flag actually works.
11813 if test -n "$lt_prog_compiler_pic_CXX"; then
11815 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11816 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11817 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 lt_prog_compiler_pic_works_CXX
=no
11821 ac_outfile
=conftest.
$ac_objext
11822 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11823 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11824 # Insert the option either (1) after the last *FLAGS variable, or
11825 # (2) before a word containing "conftest.", or (3) at the end.
11826 # Note that $ac_compile itself does not contain backslashes and begins
11827 # with a dollar sign (not a hyphen), so the echo should work correctly.
11828 # The option is referenced via a variable to avoid confusing sed.
11829 lt_compile
=`echo "$ac_compile" | $SED \
11830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11832 -e 's:$: $lt_compiler_flag:'`
11833 (eval echo "\"\$as_me:11833: $lt_compile\"" >&5)
11834 (eval "$lt_compile" 2>conftest.err
)
11836 cat conftest.err
>&5
11837 echo "$as_me:11837: \$? = $ac_status" >&5
11838 if (exit $ac_status) && test -s "$ac_outfile"; then
11839 # The compiler can only warn and ignore the option if not recognized
11840 # So say no if there are warnings other than the usual output.
11841 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11842 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11843 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11844 lt_prog_compiler_pic_works_CXX
=yes
11850 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11851 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11853 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11854 case $lt_prog_compiler_pic_CXX in
11856 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11859 lt_prog_compiler_pic_CXX
=
11860 lt_prog_compiler_can_build_shared_CXX
=no
11865 # For platforms which do not support PIC, -DPIC is meaningless:
11867 lt_prog_compiler_pic_CXX
=
11870 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11875 # Check to make sure the static flag actually works.
11877 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11878 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11879 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11880 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 lt_prog_compiler_static_works_CXX
=no
11884 save_LDFLAGS
="$LDFLAGS"
11885 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11886 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11887 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11888 # The linker can only warn and ignore the option if not recognized
11889 # So say no if there are warnings
11890 if test -s conftest.err
; then
11891 # Append any errors to the config.log.
11892 cat conftest.err
1>&5
11893 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11894 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11895 if diff conftest.exp conftest.er2
>/dev
/null
; then
11896 lt_prog_compiler_static_works_CXX
=yes
11899 lt_prog_compiler_static_works_CXX
=yes
11903 LDFLAGS
="$save_LDFLAGS"
11906 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11907 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11909 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11912 lt_prog_compiler_static_CXX
=
11916 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11917 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11918 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 lt_cv_prog_compiler_c_o_CXX
=no
11922 $rm -r conftest
2>/dev
/null
11926 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11928 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11929 # Insert the option either (1) after the last *FLAGS variable, or
11930 # (2) before a word containing "conftest.", or (3) at the end.
11931 # Note that $ac_compile itself does not contain backslashes and begins
11932 # with a dollar sign (not a hyphen), so the echo should work correctly.
11933 lt_compile
=`echo "$ac_compile" | $SED \
11934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11936 -e 's:$: $lt_compiler_flag:'`
11937 (eval echo "\"\$as_me:11937: $lt_compile\"" >&5)
11938 (eval "$lt_compile" 2>out
/conftest.err
)
11940 cat out
/conftest.err
>&5
11941 echo "$as_me:11941: \$? = $ac_status" >&5
11942 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11944 # The compiler can only warn and ignore the option if not recognized
11945 # So say no if there are warnings
11946 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11947 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11948 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11949 lt_cv_prog_compiler_c_o_CXX
=yes
11954 # SGI C++ compiler will create directory out/ii_files/ for
11955 # template instantiation
11956 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11957 $rm out
/* && rmdir out
11963 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11964 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11967 hard_links
="nottested"
11968 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11969 # do not overwrite the value of need_locks provided by the user
11970 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11971 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11974 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11976 ln conftest.a conftest.b
2>&5 || hard_links
=no
11977 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11978 echo "$as_me:$LINENO: result: $hard_links" >&5
11979 echo "${ECHO_T}$hard_links" >&6
11980 if test "$hard_links" = no
; then
11981 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11982 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11989 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11990 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11992 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11995 # If we're using GNU nm, then we don't want the "-C" option.
11996 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11997 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11998 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12000 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12004 export_symbols_cmds_CXX
="$ltdll_cmds"
12007 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12010 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12014 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12015 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12016 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12019 # Do we need to explicitly link libc?
12021 case "x$archive_cmds_need_lc_CXX" in
12023 # Assume -lc should be added
12024 archive_cmds_need_lc_CXX
=yes
12026 if test "$enable_shared" = yes && test "$GCC" = yes; then
12027 case $archive_cmds_CXX in
12029 # FIXME: we may have to deal with multi-command sequences.
12032 # Test whether the compiler implicitly links with -lc since on some
12033 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12034 # to ld, don't add -lc before -lgcc.
12035 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12036 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12038 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12041 (eval $ac_compile) 2>&5
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); } 2>conftest.err
; then
12047 libobjs
=conftest.
$ac_objext
12049 wl
=$lt_prog_compiler_wl_CXX
12050 pic_flag
=$lt_prog_compiler_pic_CXX
12056 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12057 allow_undefined_flag_CXX
=
12058 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12059 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }
12064 archive_cmds_need_lc_CXX
=no
12066 archive_cmds_need_lc_CXX
=yes
12068 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12070 cat conftest.err
1>&5
12073 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12074 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12081 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12082 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12083 library_names_spec
=
12084 libname_spec
='lib$name'
12088 postuninstall_cmds
=
12092 shlibpath_overrides_runpath
=unknown
12094 dynamic_linker
="$host_os ld.so"
12095 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12096 if test "$GCC" = yes; then
12097 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12098 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12099 # if the path contains ";" then we assume it to be the separator
12100 # otherwise default to the standard path separator (i.e. ":") - it is
12101 # assumed that no part of a normal pathname contains ";" but that should
12102 # okay in the real world where ";" in dirpaths is itself problematic.
12103 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12105 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12108 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12110 need_lib_prefix
=unknown
12111 hardcode_into_libs
=no
12113 # when you set need_version to no, make sure it does not cause -set_version
12114 # flags to be left without arguments
12115 need_version
=unknown
12120 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12121 shlibpath_var
=LIBPATH
12123 # AIX 3 has no versioning support, so we append a major version to the name.
12124 soname_spec
='${libname}${release}${shared_ext}$major'
12131 hardcode_into_libs
=yes
12132 if test "$host_cpu" = ia64
; then
12133 # AIX 5 supports IA64
12134 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12135 shlibpath_var
=LD_LIBRARY_PATH
12137 # With GCC up to 2.95.x, collect2 would create an import file
12138 # for dependence libraries. The import file would start with
12139 # the line `#! .'. This would cause the generated library to
12140 # depend on `.', always an invalid library. This was fixed in
12141 # development snapshots of GCC prior to 3.0.
12143 aix4 | aix4.
[01] | aix4.
[01].
*)
12144 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12146 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12149 can_build_shared
=no
12153 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12154 # soname into executable. Probably we can add versioning support to
12155 # collect2, so additional links can be useful in future.
12156 if test "$aix_use_runtimelinking" = yes; then
12157 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12158 # instead of lib<name>.a to let people know that these are not
12159 # typical AIX shared libraries.
12160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12162 # We preserve .a as extension for shared libraries through AIX4.2
12163 # and later when we are not doing run time linking.
12164 library_names_spec
='${libname}${release}.a $libname.a'
12165 soname_spec
='${libname}${release}${shared_ext}$major'
12167 shlibpath_var
=LIBPATH
12172 library_names_spec
='$libname.ixlibrary $libname.a'
12173 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12174 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12178 library_names_spec
='${libname}${shared_ext}'
12179 dynamic_linker
="$host_os ld.so"
12180 shlibpath_var
=LIBRARY_PATH
12186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12187 soname_spec
='${libname}${release}${shared_ext}$major'
12188 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12189 shlibpath_var
=LD_LIBRARY_PATH
12190 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12191 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12192 # the default ld.so.conf also contains /usr/contrib/lib and
12193 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12194 # libtool to hard-code these into programs
12197 cygwin
* | mingw
* | pw32
*)
12198 version_type
=windows
12203 case $GCC,$host_os in
12204 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12205 library_names_spec
='$libname.dll.a'
12206 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12207 postinstall_cmds
='base_file=`basename \${file}`~
12208 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12209 dldir=$destdir/`dirname \$dlpath`~
12210 test -d \$dldir || mkdir -p \$dldir~
12211 $install_prog $dir/$dlname \$dldir/$dlname~
12212 chmod a+x \$dldir/$dlname'
12213 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12214 dlpath=$dir/\$dldll~
12216 shlibpath_overrides_runpath
=yes
12220 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12221 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12222 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12225 # MinGW DLLs use traditional 'lib' prefix
12226 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12227 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12228 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12229 # It is most probably a Windows format PATH printed by
12230 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12231 # path with ; separators, and with drive letters. We can handle the
12232 # drive letters (cygwin fileutils understands them), so leave them,
12233 # especially as we might pass files found there to a mingw objdump,
12234 # which wouldn't understand a cygwinified path. Ahh.
12235 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12237 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12241 # pw32 DLLs use 'pw' prefix rather than 'lib'
12242 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12248 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12251 dynamic_linker
='Win32 ld.exe'
12252 # FIXME: first we should search . and the directory the executable is in
12256 darwin
* | rhapsody
*)
12257 dynamic_linker
="$host_os dyld"
12258 version_type
=darwin
12261 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12262 soname_spec
='${libname}${release}${major}$shared_ext'
12263 shlibpath_overrides_runpath
=yes
12264 shlibpath_var
=DYLD_LIBRARY_PATH
12265 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12266 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12267 if test "$GCC" = yes; then
12268 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12270 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12272 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12280 soname_spec
='${libname}${release}${shared_ext}$major'
12281 shlibpath_var
=LD_LIBRARY_PATH
12292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12293 soname_spec
='${libname}${release}${shared_ext}$major'
12294 shlibpath_var
=LD_LIBRARY_PATH
12295 shlibpath_overrides_runpath
=no
12296 hardcode_into_libs
=yes
12297 dynamic_linker
='GNU ld.so'
12300 freebsd
* | dragonfly
*)
12301 # DragonFly does not have aout. When/if they implement a new
12302 # versioning mechanism, adjust this.
12303 if test -x /usr
/bin
/objformat
; then
12304 objformat
=`/usr/bin/objformat`
12307 freebsd
[123]*) objformat
=aout
;;
12308 *) objformat
=elf
;;
12311 version_type
=freebsd-
$objformat
12312 case $version_type in
12314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12319 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12323 shlibpath_var
=LD_LIBRARY_PATH
12326 shlibpath_overrides_runpath
=yes
12328 freebsd3.
[01]* | freebsdelf3.
[01]*)
12329 shlibpath_overrides_runpath
=yes
12330 hardcode_into_libs
=yes
12332 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12333 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12334 shlibpath_overrides_runpath
=no
12335 hardcode_into_libs
=yes
12337 freebsd
*) # from 4.6 on
12338 shlibpath_overrides_runpath
=yes
12339 hardcode_into_libs
=yes
12348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12349 soname_spec
='${libname}${release}${shared_ext}$major'
12350 shlibpath_var
=LD_LIBRARY_PATH
12351 hardcode_into_libs
=yes
12354 hpux9
* | hpux10
* | hpux11
*)
12355 # Give a soname corresponding to the major version so that dld.sl refuses to
12356 # link against other versions.
12363 hardcode_into_libs
=yes
12364 dynamic_linker
="$host_os dld.so"
12365 shlibpath_var
=LD_LIBRARY_PATH
12366 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12368 soname_spec
='${libname}${release}${shared_ext}$major'
12369 if test "X$HPUX_IA64_MODE" = X32
; then
12370 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12372 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12374 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12378 hardcode_into_libs
=yes
12379 dynamic_linker
="$host_os dld.sl"
12380 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12381 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12383 soname_spec
='${libname}${release}${shared_ext}$major'
12384 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12385 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12389 dynamic_linker
="$host_os dld.sl"
12390 shlibpath_var
=SHLIB_PATH
12391 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12393 soname_spec
='${libname}${release}${shared_ext}$major'
12396 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12397 postinstall_cmds
='chmod 555 $lib'
12404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12405 soname_spec
='${libname}${release}${shared_ext}$major'
12406 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12407 shlibpath_var
=LD_LIBRARY_PATH
12408 shlibpath_overrides_runpath
=no
12409 hardcode_into_libs
=yes
12412 irix5
* | irix6
* | nonstopux
*)
12414 nonstopux
*) version_type
=nonstopux
;;
12416 if test "$lt_cv_prog_gnu_ld" = yes; then
12424 soname_spec
='${libname}${release}${shared_ext}$major'
12425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12427 irix5
* | nonstopux
*)
12428 libsuff
= shlibsuff
=
12431 case $LD in # libtool.m4 will add one of these switches to LD
12432 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12433 libsuff
= shlibsuff
= libmagic
=32-bit;;
12434 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12435 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12436 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12437 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12438 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12442 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12443 shlibpath_overrides_runpath
=no
12444 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12445 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12446 hardcode_into_libs
=yes
12449 # No shared lib support for Linux oldld, aout, or coff.
12450 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12454 # This must be Linux ELF.
12459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12460 soname_spec
='${libname}${release}${shared_ext}$major'
12461 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12462 shlibpath_var
=LD_LIBRARY_PATH
12463 shlibpath_overrides_runpath
=no
12464 # This implies no fast_install, which is unacceptable.
12465 # Some rework will be needed to allow for fast_install
12466 # before this can be enabled.
12467 hardcode_into_libs
=yes
12469 # find out which ABI we are using
12471 case "$host_cpu" in
12472 x86_64
*|s390x
*|powerpc64
*)
12473 echo '#line 12473 "configure"' > conftest.
$ac_ext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; then
12479 case `/usr/bin/file conftest.$ac_objext` in
12482 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12490 # Append ld.so.conf contents to the search path
12491 if test -f /etc
/ld.so.conf
; then
12492 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12493 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12496 # We used to test for /lib/ld.so.1 and disable shared libraries on
12497 # powerpc, because MkLinux only supported shared libraries with the
12498 # GNU dynamic linker. Since this was broken with cross compilers,
12499 # most powerpc-linux boxes support dynamic linking these days and
12500 # people can always --disable-shared, the test was removed, and we
12501 # assume the GNU/Linux dynamic linker is in use.
12502 dynamic_linker
='GNU/Linux ld.so'
12509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12510 soname_spec
='${libname}${release}${shared_ext}$major'
12511 shlibpath_var
=LD_LIBRARY_PATH
12512 shlibpath_overrides_runpath
=no
12513 hardcode_into_libs
=yes
12514 dynamic_linker
='GNU ld.so'
12521 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12523 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12524 dynamic_linker
='NetBSD (a.out) ld.so'
12526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12527 soname_spec
='${libname}${release}${shared_ext}$major'
12528 dynamic_linker
='NetBSD ld.elf_so'
12530 shlibpath_var
=LD_LIBRARY_PATH
12531 shlibpath_overrides_runpath
=yes
12532 hardcode_into_libs
=yes
12537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12538 shlibpath_var
=LD_LIBRARY_PATH
12539 shlibpath_overrides_runpath
=yes
12546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12547 soname_spec
='${libname}${release}${shared_ext}$major'
12548 shlibpath_var
=LD_LIBRARY_PATH
12549 shlibpath_overrides_runpath
=yes
12554 sys_lib_dlsearch_path_spec
="/usr/lib"
12556 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12558 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12559 *) need_version
=no
;;
12561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12562 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12563 shlibpath_var
=LD_LIBRARY_PATH
12564 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12566 openbsd2.
[89] | openbsd2.
[89].
*)
12567 shlibpath_overrides_runpath
=no
12570 shlibpath_overrides_runpath
=yes
12574 shlibpath_overrides_runpath
=yes
12579 libname_spec
='$name'
12582 library_names_spec
='$libname${shared_ext} $libname.a'
12583 dynamic_linker
='OS/2 ld.exe'
12584 shlibpath_var
=LIBPATH
12587 osf3
* | osf4
* | osf5
*)
12591 soname_spec
='${libname}${release}${shared_ext}$major'
12592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12593 shlibpath_var
=LD_LIBRARY_PATH
12594 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12595 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12603 soname_spec
='${libname}${release}${shared_ext}$major'
12604 shlibpath_var
=LD_LIBRARY_PATH
12605 shlibpath_overrides_runpath
=yes
12606 hardcode_into_libs
=yes
12607 # ldd complains unless libraries are executable
12608 postinstall_cmds
='chmod +x $lib'
12613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12614 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12615 shlibpath_var
=LD_LIBRARY_PATH
12616 shlibpath_overrides_runpath
=yes
12617 if test "$with_gnu_ld" = yes; then
12625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12626 soname_spec
='${libname}${release}${shared_ext}$major'
12627 shlibpath_var
=LD_LIBRARY_PATH
12628 case $host_vendor in
12630 shlibpath_overrides_runpath
=no
12632 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12633 runpath_var
=LD_RUN_PATH
12641 shlibpath_overrides_runpath
=no
12642 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12648 if test -d /usr
/nec
;then
12650 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12651 soname_spec
='$libname${shared_ext}.$major'
12652 shlibpath_var
=LD_LIBRARY_PATH
12656 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12657 version_type
=freebsd-elf
12660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12661 soname_spec
='${libname}${release}${shared_ext}$major'
12662 shlibpath_var
=LD_LIBRARY_PATH
12663 hardcode_into_libs
=yes
12664 if test "$with_gnu_ld" = yes; then
12665 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12666 shlibpath_overrides_runpath
=no
12668 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12669 shlibpath_overrides_runpath
=yes
12672 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12676 sys_lib_dlsearch_path_spec
='/usr/lib'
12681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12682 soname_spec
='${libname}${release}${shared_ext}$major'
12683 shlibpath_var
=LD_LIBRARY_PATH
12690 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12691 echo "${ECHO_T}$dynamic_linker" >&6
12692 test "$dynamic_linker" = no
&& can_build_shared
=no
12694 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12695 if test "$GCC" = yes; then
12696 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12699 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12700 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12701 hardcode_action_CXX
=
12702 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12703 test -n "$runpath_var_CXX" || \
12704 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12706 # We can hardcode non-existant directories.
12707 if test "$hardcode_direct_CXX" != no
&&
12708 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12709 # have to relink, otherwise we might link with an installed library
12710 # when we should be linking with a yet-to-be-installed one
12711 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12712 test "$hardcode_minus_L_CXX" != no
; then
12713 # Linking always hardcodes the temporary library directory.
12714 hardcode_action_CXX
=relink
12716 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12717 hardcode_action_CXX
=immediate
12720 # We cannot hardcode anything, or else we can only hardcode existing
12722 hardcode_action_CXX
=unsupported
12724 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12725 echo "${ECHO_T}$hardcode_action_CXX" >&6
12727 if test "$hardcode_action_CXX" = relink
; then
12728 # Fast installation is not supported
12729 enable_fast_install
=no
12730 elif test "$shlibpath_overrides_runpath" = yes ||
12731 test "$enable_shared" = no
; then
12732 # Fast installation is not necessary
12733 enable_fast_install
=needless
12737 # The else clause should only fire when bootstrapping the
12738 # libtool distribution, otherwise you forgot to ship ltmain.sh
12739 # with your package, and you will get complaints that there are
12740 # no rules to generate ltmain.sh.
12741 if test -f "$ltmain"; then
12742 # See if we are running on zsh, and set the options which allow our commands through
12743 # without removal of \ escapes.
12744 if test -n "${ZSH_VERSION+set}" ; then
12745 setopt NO_GLOB_SUBST
12747 # Now quote all the things that may contain metacharacters while being
12748 # careful not to overquote the AC_SUBSTed values. We take copies of the
12749 # variables and quote the copies for generation of the libtool script.
12750 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12752 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12753 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12754 deplibs_check_method reload_flag reload_cmds need_locks \
12755 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12756 lt_cv_sys_global_symbol_to_c_name_address \
12757 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12758 old_postinstall_cmds old_postuninstall_cmds \
12762 lt_prog_compiler_wl_CXX \
12763 lt_prog_compiler_pic_CXX \
12764 lt_prog_compiler_static_CXX \
12765 lt_prog_compiler_no_builtin_flag_CXX \
12766 export_dynamic_flag_spec_CXX \
12767 thread_safe_flag_spec_CXX \
12768 whole_archive_flag_spec_CXX \
12769 enable_shared_with_static_runtimes_CXX \
12770 old_archive_cmds_CXX \
12771 old_archive_from_new_cmds_CXX \
12772 predep_objects_CXX \
12773 postdep_objects_CXX \
12776 compiler_lib_search_path_CXX \
12778 archive_expsym_cmds_CXX \
12779 postinstall_cmds_CXX \
12780 postuninstall_cmds_CXX \
12781 old_archive_from_expsyms_cmds_CXX \
12782 allow_undefined_flag_CXX \
12783 no_undefined_flag_CXX \
12784 export_symbols_cmds_CXX \
12785 hardcode_libdir_flag_spec_CXX \
12786 hardcode_libdir_flag_spec_ld_CXX \
12787 hardcode_libdir_separator_CXX \
12788 hardcode_automatic_CXX \
12790 module_expsym_cmds_CXX \
12791 lt_cv_prog_compiler_c_o_CXX \
12792 exclude_expsyms_CXX \
12793 include_expsyms_CXX
; do
12796 old_archive_cmds_CXX | \
12797 old_archive_from_new_cmds_CXX | \
12798 archive_cmds_CXX | \
12799 archive_expsym_cmds_CXX | \
12800 module_cmds_CXX | \
12801 module_expsym_cmds_CXX | \
12802 old_archive_from_expsyms_cmds_CXX | \
12803 export_symbols_cmds_CXX | \
12804 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12805 postinstall_cmds | postuninstall_cmds | \
12806 old_postinstall_cmds | old_postuninstall_cmds | \
12807 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12808 # Double-quote double-evaled strings.
12809 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12812 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12818 *'\$0 --fallback-echo"')
12819 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12825 cat <<__EOF__ >> "$cfgfile"
12826 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12828 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12830 # Shell to use when invoking shell scripts.
12833 # Whether or not to build shared libraries.
12834 build_libtool_libs=$enable_shared
12836 # Whether or not to build static libraries.
12837 build_old_libs=$enable_static
12839 # Whether or not to add -lc for building shared libraries.
12840 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12842 # Whether or not to disallow shared libs when runtime libs are static
12843 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12845 # Whether or not to optimize for fast installation.
12846 fast_install=$enable_fast_install
12849 host_alias=$host_alias
12853 # The build system.
12854 build_alias=$build_alias
12858 # An echo program that does not interpret backslashes.
12863 AR_FLAGS=$lt_AR_FLAGS
12868 # LTCC compiler flags.
12869 LTCFLAGS=$lt_LTCFLAGS
12871 # A language-specific compiler.
12872 CC=$lt_compiler_CXX
12874 # Is the compiler the GNU C compiler?
12877 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12878 gcc_ver=\`gcc -dumpversion\`
12883 # The linker used to build libraries.
12886 # Whether we need hard or soft links.
12889 # A BSD-compatible nm program.
12892 # A symbol stripping program
12895 # Used to examine libraries when file_magic_cmd begins "file"
12896 MAGIC_CMD=$MAGIC_CMD
12898 # Used on cygwin: DLL creation program.
12901 # Used on cygwin: object dumper.
12904 # Used on cygwin: assembler.
12907 # The name of the directory that contains temporary libtool files.
12910 # How to create reloadable object files.
12911 reload_flag=$lt_reload_flag
12912 reload_cmds=$lt_reload_cmds
12914 # How to pass a linker flag through the compiler.
12915 wl=$lt_lt_prog_compiler_wl_CXX
12917 # Object file suffix (normally "o").
12918 objext="$ac_objext"
12920 # Old archive suffix (normally "a").
12923 # Shared library suffix (normally ".so").
12924 shrext_cmds='$shrext_cmds'
12926 # Executable file suffix (normally "").
12929 # Additional compiler flags for building library objects.
12930 pic_flag=$lt_lt_prog_compiler_pic_CXX
12933 # What is the maximum length of a command?
12934 max_cmd_len=$lt_cv_sys_max_cmd_len
12936 # Does compiler simultaneously support -c and -o options?
12937 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12939 # Must we lock files when doing compilation?
12940 need_locks=$lt_need_locks
12942 # Do we need the lib prefix for modules?
12943 need_lib_prefix=$need_lib_prefix
12945 # Do we need a version for libraries?
12946 need_version=$need_version
12948 # Whether dlopen is supported.
12949 dlopen_support=$enable_dlopen
12951 # Whether dlopen of programs is supported.
12952 dlopen_self=$enable_dlopen_self
12954 # Whether dlopen of statically linked programs is supported.
12955 dlopen_self_static=$enable_dlopen_self_static
12957 # Compiler flag to prevent dynamic linking.
12958 link_static_flag=$lt_lt_prog_compiler_static_CXX
12960 # Compiler flag to turn off builtin functions.
12961 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12963 # Compiler flag to allow reflexive dlopens.
12964 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12966 # Compiler flag to generate shared objects directly from archives.
12967 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12969 # Compiler flag to generate thread-safe objects.
12970 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12972 # Library versioning type.
12973 version_type=$version_type
12975 # Format of library name prefix.
12976 libname_spec=$lt_libname_spec
12978 # List of archive names. First name is the real one, the rest are links.
12979 # The last name is the one that the linker finds with -lNAME.
12980 library_names_spec=$lt_library_names_spec
12982 # The coded name of the library, if different from the real name.
12983 soname_spec=$lt_soname_spec
12985 # Commands used to build and install an old-style archive.
12987 old_archive_cmds=$lt_old_archive_cmds_CXX
12988 old_postinstall_cmds=$lt_old_postinstall_cmds
12989 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12991 # Create an old-style archive from a shared archive.
12992 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12994 # Create a temporary old-style archive to link instead of a shared archive.
12995 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12997 # Commands used to build and install a shared archive.
12998 archive_cmds=$lt_archive_cmds_CXX
12999 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13000 postinstall_cmds=$lt_postinstall_cmds
13001 postuninstall_cmds=$lt_postuninstall_cmds
13003 # Commands used to build a loadable module (assumed same as above if empty)
13004 module_cmds=$lt_module_cmds_CXX
13005 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13007 # Commands to strip libraries.
13008 old_striplib=$lt_old_striplib
13009 striplib=$lt_striplib
13011 # Dependencies to place before the objects being linked to create a
13013 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13015 # Dependencies to place after the objects being linked to create a
13017 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13019 # Dependencies to place before the objects being linked to create a
13021 predeps=$lt_predeps_CXX
13023 # Dependencies to place after the objects being linked to create a
13025 postdeps=$lt_postdeps_CXX
13027 # The library search path used internally by the compiler when linking
13028 # a shared library.
13029 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13031 # Method to check whether dependent libraries are shared objects.
13032 deplibs_check_method=$lt_deplibs_check_method
13034 # Command to use when deplibs_check_method == file_magic.
13035 file_magic_cmd=$lt_file_magic_cmd
13037 # Flag that allows shared libraries with undefined symbols to be built.
13038 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13040 # Flag that forces no undefined symbols.
13041 no_undefined_flag=$lt_no_undefined_flag_CXX
13043 # Commands used to finish a libtool library installation in a directory.
13044 finish_cmds=$lt_finish_cmds
13046 # Same as above, but a single script fragment to be evaled but not shown.
13047 finish_eval=$lt_finish_eval
13049 # Take the output of nm and produce a listing of raw symbols and C names.
13050 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13052 # Transform the output of nm in a proper C declaration
13053 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13055 # Transform the output of nm in a C name address pair
13056 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13058 # This is the shared library runtime path variable.
13059 runpath_var=$runpath_var
13061 # This is the shared library path variable.
13062 shlibpath_var=$shlibpath_var
13064 # Is shlibpath searched before the hard-coded library search path?
13065 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13067 # How to hardcode a shared library path into an executable.
13068 hardcode_action=$hardcode_action_CXX
13070 # Whether we should hardcode library paths into libraries.
13071 hardcode_into_libs=$hardcode_into_libs
13073 # Flag to hardcode \$libdir into a binary during linking.
13074 # This must work even if \$libdir does not exist.
13075 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13077 # If ld is used when linking, flag to hardcode \$libdir into
13078 # a binary during linking. This must work even if \$libdir does
13080 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13082 # Whether we need a single -rpath flag with a separated argument.
13083 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13085 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13086 # resulting binary.
13087 hardcode_direct=$hardcode_direct_CXX
13089 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13090 # resulting binary.
13091 hardcode_minus_L=$hardcode_minus_L_CXX
13093 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13094 # the resulting binary.
13095 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13097 # Set to yes if building a shared library automatically hardcodes DIR into the library
13098 # and all subsequent libraries and executables linked against it.
13099 hardcode_automatic=$hardcode_automatic_CXX
13101 # Variables whose values should be saved in libtool wrapper scripts and
13102 # restored at relink time.
13103 variables_saved_for_relink="$variables_saved_for_relink"
13105 # Whether libtool must link a program against all its dependency libraries.
13106 link_all_deplibs=$link_all_deplibs_CXX
13108 # Compile-time system search path for libraries
13109 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13111 # Run-time system search path for libraries
13112 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13114 # Fix the shell variable \$srcfile for the compiler.
13115 fix_srcfile_path="$fix_srcfile_path_CXX"
13117 # Set to yes if exported symbols are required.
13118 always_export_symbols=$always_export_symbols_CXX
13120 # The commands to list exported symbols.
13121 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13123 # The commands to extract the exported symbol list from a shared archive.
13124 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13126 # Symbols that should not be listed in the preloaded symbols.
13127 exclude_expsyms=$lt_exclude_expsyms_CXX
13129 # Symbols that must always be exported.
13130 include_expsyms=$lt_include_expsyms_CXX
13132 # ### END LIBTOOL TAG CONFIG: $tagname
13138 # If there is no Makefile yet, we rely on a make rule to execute
13139 # `config.status --recheck' to rerun these tests and create the
13140 # libtool script then.
13141 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13142 if test -f "$ltmain_in"; then
13143 test -f Makefile
&& make "$ltmain"
13149 ac_cpp
='$CPP $CPPFLAGS'
13150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13158 with_gnu_ldcxx
=$with_gnu_ld
13159 with_gnu_ld
=$lt_save_with_gnu_ld
13160 lt_cv_path_LDCXX
=$lt_cv_path_LD
13161 lt_cv_path_LD
=$lt_save_path_LD
13162 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13163 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13171 if test -n "$F77" && test "X$F77" != "Xno"; then
13174 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13175 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13176 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13179 archive_cmds_need_lc_F77
=no
13180 allow_undefined_flag_F77
=
13181 always_export_symbols_F77
=no
13182 archive_expsym_cmds_F77
=
13183 export_dynamic_flag_spec_F77
=
13184 hardcode_direct_F77
=no
13185 hardcode_libdir_flag_spec_F77
=
13186 hardcode_libdir_flag_spec_ld_F77
=
13187 hardcode_libdir_separator_F77
=
13188 hardcode_minus_L_F77
=no
13189 hardcode_automatic_F77
=no
13191 module_expsym_cmds_F77
=
13192 link_all_deplibs_F77
=unknown
13193 old_archive_cmds_F77
=$old_archive_cmds
13194 no_undefined_flag_F77
=
13195 whole_archive_flag_spec_F77
=
13196 enable_shared_with_static_runtimes_F77
=no
13198 # Source file extension for f77 test sources.
13201 # Object file extension for compiled f77 test sources.
13205 # Code to be used in simple compile tests
13206 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13208 # Code to be used in simple link tests
13209 lt_simple_link_test_code
=" program t\n end\n"
13211 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13213 # If no C compiler was specified, use CC.
13216 # If no C compiler flags were specified, use CFLAGS.
13217 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13219 # Allow CC to be a program name with arguments.
13223 # save warnings/boilerplate of simple test code
13224 ac_outfile
=conftest.
$ac_objext
13225 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13226 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13227 _lt_compiler_boilerplate
=`cat conftest.err`
13230 ac_outfile
=conftest.
$ac_objext
13231 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13232 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13233 _lt_linker_boilerplate
=`cat conftest.err`
13237 # Allow CC to be a program name with arguments.
13242 for cc_temp
in $compiler""; do
13244 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13245 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13250 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13253 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13254 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13255 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13256 echo "${ECHO_T}$can_build_shared" >&6
13258 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13259 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13260 test "$can_build_shared" = "no" && enable_shared
=no
13262 # On AIX, shared libraries and static libraries use the same namespace, and
13263 # are all built from PIC.
13266 test "$enable_shared" = yes && enable_static
=no
13267 if test -n "$RANLIB"; then
13268 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13269 postinstall_cmds
='$RANLIB $lib'
13273 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13274 test "$enable_shared" = yes && enable_static
=no
13278 echo "$as_me:$LINENO: result: $enable_shared" >&5
13279 echo "${ECHO_T}$enable_shared" >&6
13281 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13282 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13283 # Make sure either enable_shared or enable_static is yes.
13284 test "$enable_shared" = yes || enable_static
=yes
13285 echo "$as_me:$LINENO: result: $enable_static" >&5
13286 echo "${ECHO_T}$enable_static" >&6
13291 lt_prog_compiler_wl_F77
=
13292 lt_prog_compiler_pic_F77
=
13293 lt_prog_compiler_static_F77
=
13295 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13296 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13298 if test "$GCC" = yes; then
13299 lt_prog_compiler_wl_F77
='-Wl,'
13300 lt_prog_compiler_static_F77
='-static'
13304 # All AIX code is PIC.
13305 if test "$host_cpu" = ia64
; then
13306 # AIX 5 now supports IA64 processor
13307 lt_prog_compiler_static_F77
='-Bstatic'
13312 # FIXME: we need at least 68020 code to build shared libraries, but
13313 # adding the `-m68020' flag to GCC prevents building anything better,
13315 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13318 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13319 # PIC is the default for these OSes.
13322 mingw
* | pw32
* | os2
*)
13323 # This hack is so that the source file can tell whether it is being
13324 # built for inclusion in a dll (and should export symbols for example).
13325 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13328 darwin
* | rhapsody
*)
13329 # PIC is the default on this platform
13330 # Common symbols not allowed in MH_DYLIB files
13331 lt_prog_compiler_pic_F77
='-fno-common'
13335 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13336 # Instead, we relocate shared libraries at runtime.
13340 # Just because we use GCC doesn't mean we suddenly get shared libraries
13341 # on systems that don't support them.
13342 lt_prog_compiler_can_build_shared_F77
=no
13347 if test -d /usr
/nec
; then
13348 lt_prog_compiler_pic_F77
=-Kconform_pic
13353 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13354 # not for PA HP-UX.
13360 lt_prog_compiler_pic_F77
='-fPIC'
13366 lt_prog_compiler_pic_F77
='-fPIC'
13370 # PORTME Check for flag to pass linker flags through the system compiler.
13373 lt_prog_compiler_wl_F77
='-Wl,'
13374 if test "$host_cpu" = ia64
; then
13375 # AIX 5 now supports IA64 processor
13376 lt_prog_compiler_static_F77
='-Bstatic'
13378 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13382 # PIC is the default on this platform
13383 # Common symbols not allowed in MH_DYLIB files
13384 case $cc_basename in
13386 lt_prog_compiler_pic_F77
='-qnocommon'
13387 lt_prog_compiler_wl_F77
='-Wl,'
13392 mingw
* | pw32
* | os2
*)
13393 # This hack is so that the source file can tell whether it is being
13394 # built for inclusion in a dll (and should export symbols for example).
13395 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13398 hpux9
* | hpux10
* | hpux11
*)
13399 lt_prog_compiler_wl_F77
='-Wl,'
13400 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13401 # not for PA HP-UX.
13407 lt_prog_compiler_pic_F77
='+Z'
13410 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13411 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13414 irix5
* | irix6
* | nonstopux
*)
13415 lt_prog_compiler_wl_F77
='-Wl,'
13416 # PIC (with -KPIC) is the default.
13417 lt_prog_compiler_static_F77
='-non_shared'
13421 lt_prog_compiler_pic_F77
='-KPIC'
13422 lt_prog_compiler_static_F77
='-Bstatic'
13426 case $cc_basename in
13428 lt_prog_compiler_wl_F77
='-Wl,'
13429 lt_prog_compiler_pic_F77
='-KPIC'
13430 lt_prog_compiler_static_F77
='-static'
13432 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13433 # Portland Group compilers (*not* the Pentium gcc compiler,
13434 # which looks to be a dead project)
13435 lt_prog_compiler_wl_F77
='-Wl,'
13436 lt_prog_compiler_pic_F77
='-fpic'
13437 lt_prog_compiler_static_F77
='-Bstatic'
13440 lt_prog_compiler_wl_F77
='-Wl,'
13441 # All Alpha code is PIC.
13442 lt_prog_compiler_static_F77
='-non_shared'
13447 osf3
* | osf4
* | osf5
*)
13448 lt_prog_compiler_wl_F77
='-Wl,'
13449 # All OSF/1 code is PIC.
13450 lt_prog_compiler_static_F77
='-non_shared'
13454 lt_prog_compiler_pic_F77
='-KPIC'
13455 lt_prog_compiler_static_F77
='-Bstatic'
13456 case $cc_basename in
13457 f77
* | f90
* | f95
*)
13458 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13460 lt_prog_compiler_wl_F77
='-Wl,';;
13465 lt_prog_compiler_wl_F77
='-Qoption ld '
13466 lt_prog_compiler_pic_F77
='-PIC'
13467 lt_prog_compiler_static_F77
='-Bstatic'
13470 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13471 lt_prog_compiler_wl_F77
='-Wl,'
13472 lt_prog_compiler_pic_F77
='-KPIC'
13473 lt_prog_compiler_static_F77
='-Bstatic'
13477 if test -d /usr
/nec
;then
13478 lt_prog_compiler_pic_F77
='-Kconform_pic'
13479 lt_prog_compiler_static_F77
='-Bstatic'
13483 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13484 lt_prog_compiler_wl_F77
='-Wl,'
13485 lt_prog_compiler_pic_F77
='-KPIC'
13486 lt_prog_compiler_static_F77
='-Bstatic'
13490 lt_prog_compiler_wl_F77
='-Wl,'
13491 lt_prog_compiler_can_build_shared_F77
=no
13495 lt_prog_compiler_pic_F77
='-pic'
13496 lt_prog_compiler_static_F77
='-Bstatic'
13500 lt_prog_compiler_can_build_shared_F77
=no
13505 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13506 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13509 # Check to make sure the PIC flag actually works.
13511 if test -n "$lt_prog_compiler_pic_F77"; then
13513 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13514 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13515 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13516 echo $ECHO_N "(cached) $ECHO_C" >&6
13518 lt_prog_compiler_pic_works_F77
=no
13519 ac_outfile
=conftest.
$ac_objext
13520 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13521 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13522 # Insert the option either (1) after the last *FLAGS variable, or
13523 # (2) before a word containing "conftest.", or (3) at the end.
13524 # Note that $ac_compile itself does not contain backslashes and begins
13525 # with a dollar sign (not a hyphen), so the echo should work correctly.
13526 # The option is referenced via a variable to avoid confusing sed.
13527 lt_compile
=`echo "$ac_compile" | $SED \
13528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13530 -e 's:$: $lt_compiler_flag:'`
13531 (eval echo "\"\$as_me:13531: $lt_compile\"" >&5)
13532 (eval "$lt_compile" 2>conftest.err
)
13534 cat conftest.err
>&5
13535 echo "$as_me:13535: \$? = $ac_status" >&5
13536 if (exit $ac_status) && test -s "$ac_outfile"; then
13537 # The compiler can only warn and ignore the option if not recognized
13538 # So say no if there are warnings other than the usual output.
13539 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13540 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13541 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13542 lt_prog_compiler_pic_works_F77
=yes
13548 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13549 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13551 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13552 case $lt_prog_compiler_pic_F77 in
13554 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13557 lt_prog_compiler_pic_F77
=
13558 lt_prog_compiler_can_build_shared_F77
=no
13563 # For platforms which do not support PIC, -DPIC is meaningless:
13565 lt_prog_compiler_pic_F77
=
13568 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13573 # Check to make sure the static flag actually works.
13575 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13576 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13577 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13578 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13579 echo $ECHO_N "(cached) $ECHO_C" >&6
13581 lt_prog_compiler_static_works_F77
=no
13582 save_LDFLAGS
="$LDFLAGS"
13583 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13584 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13585 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13586 # The linker can only warn and ignore the option if not recognized
13587 # So say no if there are warnings
13588 if test -s conftest.err
; then
13589 # Append any errors to the config.log.
13590 cat conftest.err
1>&5
13591 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13592 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13593 if diff conftest.exp conftest.er2
>/dev
/null
; then
13594 lt_prog_compiler_static_works_F77
=yes
13597 lt_prog_compiler_static_works_F77
=yes
13601 LDFLAGS
="$save_LDFLAGS"
13604 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13605 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13607 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13610 lt_prog_compiler_static_F77
=
13614 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13615 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13616 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13617 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 lt_cv_prog_compiler_c_o_F77
=no
13620 $rm -r conftest
2>/dev
/null
13624 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13626 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13627 # Insert the option either (1) after the last *FLAGS variable, or
13628 # (2) before a word containing "conftest.", or (3) at the end.
13629 # Note that $ac_compile itself does not contain backslashes and begins
13630 # with a dollar sign (not a hyphen), so the echo should work correctly.
13631 lt_compile
=`echo "$ac_compile" | $SED \
13632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13634 -e 's:$: $lt_compiler_flag:'`
13635 (eval echo "\"\$as_me:13635: $lt_compile\"" >&5)
13636 (eval "$lt_compile" 2>out
/conftest.err
)
13638 cat out
/conftest.err
>&5
13639 echo "$as_me:13639: \$? = $ac_status" >&5
13640 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13642 # The compiler can only warn and ignore the option if not recognized
13643 # So say no if there are warnings
13644 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13645 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13646 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13647 lt_cv_prog_compiler_c_o_F77
=yes
13652 # SGI C++ compiler will create directory out/ii_files/ for
13653 # template instantiation
13654 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13655 $rm out
/* && rmdir out
13661 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13662 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13665 hard_links
="nottested"
13666 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13667 # do not overwrite the value of need_locks provided by the user
13668 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13669 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13672 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13674 ln conftest.a conftest.b
2>&5 || hard_links
=no
13675 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13676 echo "$as_me:$LINENO: result: $hard_links" >&5
13677 echo "${ECHO_T}$hard_links" >&6
13678 if test "$hard_links" = no
; then
13679 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13680 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13687 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13688 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13691 allow_undefined_flag_F77
=
13692 enable_shared_with_static_runtimes_F77
=no
13694 archive_expsym_cmds_F77
=
13695 old_archive_From_new_cmds_F77
=
13696 old_archive_from_expsyms_cmds_F77
=
13697 export_dynamic_flag_spec_F77
=
13698 whole_archive_flag_spec_F77
=
13699 thread_safe_flag_spec_F77
=
13700 hardcode_libdir_flag_spec_F77
=
13701 hardcode_libdir_flag_spec_ld_F77
=
13702 hardcode_libdir_separator_F77
=
13703 hardcode_direct_F77
=no
13704 hardcode_minus_L_F77
=no
13705 hardcode_shlibpath_var_F77
=unsupported
13706 link_all_deplibs_F77
=unknown
13707 hardcode_automatic_F77
=no
13709 module_expsym_cmds_F77
=
13710 always_export_symbols_F77
=no
13711 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13712 # include_expsyms should be a list of space-separated symbols to be *always*
13713 # included in the symbol list
13714 include_expsyms_F77
=
13715 # exclude_expsyms can be an extended regexp of symbols to exclude
13716 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13717 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13718 # as well as any symbol that contains `d'.
13719 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13720 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13721 # platforms (ab)use it in PIC code, but their linkers get confused if
13722 # the symbol is explicitly referenced. Since portable code cannot
13723 # rely on this symbol name, it's probably fine to never include it in
13724 # preloaded symbol tables.
13725 extract_expsyms_cmds
=
13726 # Just being paranoid about ensuring that cc_basename is set.
13727 for cc_temp
in $compiler""; do
13729 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13730 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13735 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13738 cygwin
* | mingw
* | pw32
*)
13739 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13740 # When not using gcc, we currently assume that we are using
13741 # Microsoft Visual C++.
13742 if test "$GCC" != yes; then
13747 # we just hope/assume this is gcc and not c89 (= MSVC++)
13756 if test "$with_gnu_ld" = yes; then
13757 # If archive_cmds runs LD, not CC, wlarc should be empty
13760 # Set some defaults for GNU ld with shared library support. These
13761 # are reset later if shared libraries are not supported. Putting them
13762 # here allows them to be overridden if necessary.
13763 runpath_var
=LD_RUN_PATH
13764 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13765 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13766 # ancient GNU ld didn't support --whole-archive et. al.
13767 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13768 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13770 whole_archive_flag_spec_F77
=
13772 supports_anon_versioning
=no
13773 case `$LD -v 2>/dev/null` in
13774 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13775 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13776 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13777 *\
2.11.
*) ;; # other 2.11 versions
13778 *) supports_anon_versioning
=yes ;;
13781 # See if GNU ld supports shared libraries.
13783 aix3
* | aix4
* | aix5
*)
13784 # On AIX/PPC, the GNU linker is very broken
13785 if test "$host_cpu" != ia64
; then
13789 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13790 *** to be unable to reliably create shared libraries on AIX.
13791 *** Therefore, libtool is disabling shared libraries support. If you
13792 *** really care for shared libraries, you may want to modify your PATH
13793 *** so that a non-GNU linker is found, and then restart.
13800 archive_cmds_F77
='$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)'
13801 hardcode_libdir_flag_spec_F77
='-L$libdir'
13802 hardcode_minus_L_F77
=yes
13804 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13805 # that the semantics of dynamic libraries on AmigaOS, at least up
13806 # to version 4, is to share data among multiple programs linked
13807 # with the same dynamic library. Since this doesn't match the
13808 # behavior of shared libraries on other platforms, we can't use
13814 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13815 allow_undefined_flag_F77
=unsupported
13816 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13817 # support --undefined. This deserves some investigation. FIXME
13818 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13824 cygwin
* | mingw
* | pw32
*)
13825 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13826 # as there is no search path for DLLs.
13827 hardcode_libdir_flag_spec_F77
='-L$libdir'
13828 allow_undefined_flag_F77
=unsupported
13829 always_export_symbols_F77
=no
13830 enable_shared_with_static_runtimes_F77
=yes
13831 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13833 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13834 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13835 # If the export-symbols file already is a .def file (1st line
13836 # is EXPORTS), use it as is; otherwise, prepend...
13837 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13838 cp $export_symbols $output_objdir/$soname.def;
13840 echo EXPORTS > $output_objdir/$soname.def;
13841 cat $export_symbols >> $output_objdir/$soname.def;
13843 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13850 hardcode_direct_F77
=no
13851 hardcode_shlibpath_var_F77
=no
13852 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13853 export_dynamic_flag_spec_F77
='${wl}-E'
13854 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13855 # Instead, shared libraries are loaded at an image base (0x10000000 by
13856 # default) and relocated if they conflict, which is a slow very memory
13857 # consuming and fragmenting process. To avoid this, we pick a random,
13858 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13859 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13860 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13861 archive_expsym_cmds_F77
='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'
13865 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13867 case $cc_basename,$host_cpu in
13868 pgcc
*) # Portland Group C compiler
13869 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13870 tmp_addflag
=' $pic_flag'
13872 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13873 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13874 tmp_addflag
=' $pic_flag -Mnomain' ;;
13875 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13876 tmp_addflag
=' -i_dynamic' ;;
13877 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13878 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13879 ifc
* | ifort
*) # Intel Fortran compiler
13880 tmp_addflag
=' -nofor_main' ;;
13882 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13884 if test $supports_anon_versioning = yes; then
13885 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13886 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13887 $echo "local: *; };" >> $output_objdir/$libname.ver~
13888 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13896 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13897 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13900 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13901 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13906 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13910 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13911 *** create shared libraries on Solaris systems. Therefore, libtool
13912 *** is disabling shared libraries support. We urge you to upgrade GNU
13913 *** binutils to release 2.9.1 or newer. Another option is to modify
13914 *** your PATH or compiler configuration so that the native linker is
13915 *** used, and then restart.
13918 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13919 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13920 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13926 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13927 case `$LD -v 2>&1` in
13928 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13932 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13933 *** reliably create shared libraries on SCO systems. Therefore, libtool
13934 *** is disabling shared libraries support. We urge you to upgrade GNU
13935 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13936 *** your PATH or compiler configuration so that the native linker is
13937 *** used, and then restart.
13942 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13943 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13944 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13945 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13954 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13956 hardcode_direct_F77
=yes
13957 hardcode_shlibpath_var_F77
=no
13961 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13962 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13963 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13970 if test "$ld_shlibs_F77" = no
; then
13972 hardcode_libdir_flag_spec_F77
=
13973 export_dynamic_flag_spec_F77
=
13974 whole_archive_flag_spec_F77
=
13977 # PORTME fill in a description of your system's linker (not GNU ld)
13980 allow_undefined_flag_F77
=unsupported
13981 always_export_symbols_F77
=yes
13982 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13983 # Note: this linker hardcodes the directories in LIBPATH if there
13984 # are no directories specified by -L.
13985 hardcode_minus_L_F77
=yes
13986 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13987 # Neither direct hardcoding nor static linking is supported with a
13989 hardcode_direct_F77
=unsupported
13994 if test "$host_cpu" = ia64
; then
13995 # On IA64, the linker does run time linking by default, so we don't
13996 # have to do anything special.
13997 aix_use_runtimelinking
=no
13998 exp_sym_flag
='-Bexport'
14001 # If we're using GNU nm, then we don't want the "-C" option.
14002 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14003 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14004 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14006 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14008 aix_use_runtimelinking
=no
14010 # Test if we are trying to use run time linking or normal
14011 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14012 # need to do runtime linking.
14013 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14014 for ld_flag
in $LDFLAGS; do
14015 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14016 aix_use_runtimelinking
=yes
14023 exp_sym_flag
='-bexport'
14024 no_entry_flag
='-bnoentry'
14027 # When large executables or shared objects are built, AIX ld can
14028 # have problems creating the table of contents. If linking a library
14029 # or program results in "error TOC overflow" add -mminimal-toc to
14030 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14031 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14033 archive_cmds_F77
=''
14034 hardcode_direct_F77
=yes
14035 hardcode_libdir_separator_F77
=':'
14036 link_all_deplibs_F77
=yes
14038 if test "$GCC" = yes; then
14039 case $host_os in aix4.
[012]|aix4.
[012].
*)
14040 # We only want to do this on AIX 4.2 and lower, the check
14041 # below for broken collect2 doesn't work under 4.3+
14042 collect2name
=`${CC} -print-prog-name=collect2`
14043 if test -f "$collect2name" && \
14044 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14046 # We have reworked collect2
14047 hardcode_direct_F77
=yes
14049 # We have old collect2
14050 hardcode_direct_F77
=unsupported
14051 # It fails to find uninstalled libraries when the uninstalled
14052 # path is not listed in the libpath. Setting hardcode_minus_L
14053 # to unsupported forces relinking
14054 hardcode_minus_L_F77
=yes
14055 hardcode_libdir_flag_spec_F77
='-L$libdir'
14056 hardcode_libdir_separator_F77
=
14060 shared_flag
='-shared'
14061 if test "$aix_use_runtimelinking" = yes; then
14062 shared_flag
="$shared_flag "'${wl}-G'
14066 if test "$host_cpu" = ia64
; then
14067 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14068 # chokes on -Wl,-G. The following line is correct:
14071 if test "$aix_use_runtimelinking" = yes; then
14072 shared_flag
='${wl}-G'
14074 shared_flag
='${wl}-bM:SRE'
14079 # It seems that -bexpall does not export symbols beginning with
14080 # underscore (_), so it is better to generate a list of symbols to export.
14081 always_export_symbols_F77
=yes
14082 if test "$aix_use_runtimelinking" = yes; then
14083 # Warning - without using the other runtime loading flags (-brtl),
14084 # -berok will link without error, but may produce a broken library.
14085 allow_undefined_flag_F77
='-berok'
14086 # Determine the default libpath from the value encoded in an empty executable.
14087 cat >conftest.
$ac_ext <<_ACEOF
14092 rm -f conftest.
$ac_objext conftest
$ac_exeext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14094 (eval $ac_link) 2>conftest.er1
14096 grep -v '^ *+' conftest.er1
>conftest.err
14098 cat conftest.err
>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try
='test -z "$ac_f77_werror_flag"
14102 || test ! -s conftest.err'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try
='test -s conftest$ac_exeext'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; }; then
14115 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14117 # Check for a 64-bit object if we didn't find anything.
14118 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.
$ac_ext >&5
14125 rm -f conftest.err conftest.
$ac_objext \
14126 conftest
$ac_exeext conftest.
$ac_ext
14127 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14129 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14130 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14132 if test "$host_cpu" = ia64
; then
14133 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14134 allow_undefined_flag_F77
="-z nodefs"
14135 archive_expsym_cmds_F77
="\$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"
14137 # Determine the default libpath from the value encoded in an empty executable.
14138 cat >conftest.
$ac_ext <<_ACEOF
14143 rm -f conftest.
$ac_objext conftest
$ac_exeext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14145 (eval $ac_link) 2>conftest.er1
14147 grep -v '^ *+' conftest.er1
>conftest.err
14149 cat conftest.err
>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } &&
14152 { ac_try
='test -z "$ac_f77_werror_flag"
14153 || test ! -s conftest.err'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; } &&
14159 { ac_try
='test -s conftest$ac_exeext'
14160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14161 (eval $ac_try) 2>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); }; }; then
14166 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14168 # Check for a 64-bit object if we didn't find anything.
14169 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.
$ac_ext >&5
14176 rm -f conftest.err conftest.
$ac_objext \
14177 conftest
$ac_exeext conftest.
$ac_ext
14178 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14180 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14181 # Warning - without using the other run time loading flags,
14182 # -berok will link without error, but may produce a broken library.
14183 no_undefined_flag_F77
=' ${wl}-bernotok'
14184 allow_undefined_flag_F77
=' ${wl}-berok'
14185 # Exported symbols can be pulled into shared objects from archives
14186 whole_archive_flag_spec_F77
='$convenience'
14187 archive_cmds_need_lc_F77
=yes
14188 # This is similar to how AIX traditionally builds its shared libraries.
14189 archive_expsym_cmds_F77
="\$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'
14195 archive_cmds_F77
='$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)'
14196 hardcode_libdir_flag_spec_F77
='-L$libdir'
14197 hardcode_minus_L_F77
=yes
14198 # see comment about different semantics on the GNU ld section
14203 export_dynamic_flag_spec_F77
=-rdynamic
14206 cygwin
* | mingw
* | pw32
*)
14207 # When not using gcc, we currently assume that we are using
14208 # Microsoft Visual C++.
14209 # hardcode_libdir_flag_spec is actually meaningless, as there is
14210 # no search path for DLLs.
14211 hardcode_libdir_flag_spec_F77
=' '
14212 allow_undefined_flag_F77
=unsupported
14213 # Tell ltmain to make .lib files, not .a files.
14215 # Tell ltmain to make .dll files, not .so files.
14217 # FIXME: Setting linknames here is a bad hack.
14218 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14219 # The linker will automatically build a .lib file if we build a DLL.
14220 old_archive_From_new_cmds_F77
='true'
14221 # FIXME: Should let the user specify the lib program.
14222 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14223 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14224 enable_shared_with_static_runtimes_F77
=yes
14227 darwin
* | rhapsody
*)
14229 rhapsody
* | darwin1.
[012])
14230 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14233 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14234 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14236 case ${MACOSX_DEPLOYMENT_TARGET} in
14238 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14241 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14247 archive_cmds_need_lc_F77
=no
14248 hardcode_direct_F77
=no
14249 hardcode_automatic_F77
=yes
14250 hardcode_shlibpath_var_F77
=unsupported
14251 whole_archive_flag_spec_F77
=''
14252 link_all_deplibs_F77
=yes
14253 if test "$GCC" = yes ; then
14254 output_verbose_link_cmd
='echo'
14255 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14256 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14257 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14258 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14259 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14261 case $cc_basename in
14263 output_verbose_link_cmd
='echo'
14264 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14265 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14266 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14267 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14268 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14278 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14279 hardcode_libdir_flag_spec_F77
='-L$libdir'
14280 hardcode_shlibpath_var_F77
=no
14287 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14288 # support. Future versions do this automatically, but an explicit c++rt0.o
14289 # does not break anything, and helps significantly (at the cost of a little
14292 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14293 hardcode_libdir_flag_spec_F77
='-R$libdir'
14294 hardcode_direct_F77
=yes
14295 hardcode_shlibpath_var_F77
=no
14298 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14300 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14301 hardcode_direct_F77
=yes
14302 hardcode_minus_L_F77
=yes
14303 hardcode_shlibpath_var_F77
=no
14306 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14307 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14308 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14309 hardcode_libdir_flag_spec_F77
='-R$libdir'
14310 hardcode_direct_F77
=yes
14311 hardcode_shlibpath_var_F77
=no
14315 if test "$GCC" = yes; then
14316 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14318 archive_cmds_F77
='$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'
14320 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14321 hardcode_libdir_separator_F77
=:
14322 hardcode_direct_F77
=yes
14324 # hardcode_minus_L: Not really in the search PATH,
14325 # but as the default location of the library.
14326 hardcode_minus_L_F77
=yes
14327 export_dynamic_flag_spec_F77
='${wl}-E'
14331 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14332 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14334 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14336 if test "$with_gnu_ld" = no
; then
14337 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14338 hardcode_libdir_separator_F77
=:
14340 hardcode_direct_F77
=yes
14341 export_dynamic_flag_spec_F77
='${wl}-E'
14343 # hardcode_minus_L: Not really in the search PATH,
14344 # but as the default location of the library.
14345 hardcode_minus_L_F77
=yes
14350 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14353 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14356 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14359 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14365 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14368 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14371 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14375 if test "$with_gnu_ld" = no
; then
14376 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14377 hardcode_libdir_separator_F77
=:
14381 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14382 hardcode_direct_F77
=no
14383 hardcode_shlibpath_var_F77
=no
14386 hardcode_direct_F77
=yes
14387 export_dynamic_flag_spec_F77
='${wl}-E'
14389 # hardcode_minus_L: Not really in the search PATH,
14390 # but as the default location of the library.
14391 hardcode_minus_L_F77
=yes
14397 irix5
* | irix6
* | nonstopux
*)
14398 if test "$GCC" = yes; then
14399 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14401 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14402 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14404 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14405 hardcode_libdir_separator_F77
=:
14406 link_all_deplibs_F77
=yes
14410 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14411 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14413 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14415 hardcode_libdir_flag_spec_F77
='-R$libdir'
14416 hardcode_direct_F77
=yes
14417 hardcode_shlibpath_var_F77
=no
14421 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14422 hardcode_direct_F77
=yes
14423 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14424 hardcode_libdir_separator_F77
=:
14425 hardcode_shlibpath_var_F77
=no
14429 hardcode_direct_F77
=yes
14430 hardcode_shlibpath_var_F77
=no
14431 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14432 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14433 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14434 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14435 export_dynamic_flag_spec_F77
='${wl}-E'
14438 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14439 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14440 hardcode_libdir_flag_spec_F77
='-R$libdir'
14443 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14444 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14451 hardcode_libdir_flag_spec_F77
='-L$libdir'
14452 hardcode_minus_L_F77
=yes
14453 allow_undefined_flag_F77
=unsupported
14454 archive_cmds_F77
='$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'
14455 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14459 if test "$GCC" = yes; then
14460 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14461 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14463 allow_undefined_flag_F77
=' -expect_unresolved \*'
14464 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14466 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14467 hardcode_libdir_separator_F77
=:
14470 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14471 if test "$GCC" = yes; then
14472 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14473 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14474 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14476 allow_undefined_flag_F77
=' -expect_unresolved \*'
14477 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14478 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14479 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14481 # Both c and cxx compiler support -rpath directly
14482 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14484 hardcode_libdir_separator_F77
=:
14488 no_undefined_flag_F77
=' -z text'
14489 if test "$GCC" = yes; then
14491 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14492 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14493 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14496 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14497 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14498 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14500 hardcode_libdir_flag_spec_F77
='-R$libdir'
14501 hardcode_shlibpath_var_F77
=no
14503 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14505 # The compiler driver will combine linker options so we
14506 # cannot just pass the convience library names through
14507 # without $wl, iff we do not link with $LD.
14508 # Luckily, gcc supports the same syntax we need for Sun Studio.
14509 # Supported since Solaris 2.6 (maybe 2.5.1?)
14512 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14514 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14517 link_all_deplibs_F77
=yes
14521 if test "x$host_vendor" = xsequent
; then
14522 # Use $CC to link under sequent, because it throws in some extra .o
14523 # files that make .init and .fini sections work.
14524 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14526 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14528 hardcode_libdir_flag_spec_F77
='-L$libdir'
14529 hardcode_direct_F77
=yes
14530 hardcode_minus_L_F77
=yes
14531 hardcode_shlibpath_var_F77
=no
14535 case $host_vendor in
14537 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14538 hardcode_direct_F77
=yes # is this really true???
14541 ## LD is ld it makes a PLAMLIB
14542 ## CC just makes a GrossModule.
14543 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14544 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14545 hardcode_direct_F77
=no
14548 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14549 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14552 runpath_var
='LD_RUN_PATH'
14553 hardcode_shlibpath_var_F77
=no
14557 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14558 hardcode_shlibpath_var_F77
=no
14559 export_dynamic_flag_spec_F77
='-Bexport'
14563 if test -d /usr
/nec
; then
14564 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14565 hardcode_shlibpath_var_F77
=no
14566 runpath_var
=LD_RUN_PATH
14567 hardcode_runpath_var
=yes
14572 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14573 no_undefined_flag_F77
='${wl}-z,text'
14574 archive_cmds_need_lc_F77
=no
14575 hardcode_shlibpath_var_F77
=no
14576 runpath_var
='LD_RUN_PATH'
14578 if test "$GCC" = yes; then
14579 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14580 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14582 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14583 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14587 sysv5
* | sco3.2v5
* | sco5v6
*)
14588 # Note: We can NOT use -z defs as we might desire, because we do not
14589 # link with -lc, and that would cause any symbols used from libc to
14590 # always be unresolved, which means just about no library would
14591 # ever link correctly. If we're not using GNU ld we use -z text
14592 # though, which does catch some bad symbols but isn't as heavy-handed
14594 no_undefined_flag_F77
='${wl}-z,text'
14595 allow_undefined_flag_F77
='${wl}-z,nodefs'
14596 archive_cmds_need_lc_F77
=no
14597 hardcode_shlibpath_var_F77
=no
14598 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14599 hardcode_libdir_separator_F77
=':'
14600 link_all_deplibs_F77
=yes
14601 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14602 runpath_var
='LD_RUN_PATH'
14604 if test "$GCC" = yes; then
14605 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14606 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14608 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14609 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14614 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14615 hardcode_libdir_flag_spec_F77
='-L$libdir'
14616 hardcode_shlibpath_var_F77
=no
14625 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14626 echo "${ECHO_T}$ld_shlibs_F77" >&6
14627 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14630 # Do we need to explicitly link libc?
14632 case "x$archive_cmds_need_lc_F77" in
14634 # Assume -lc should be added
14635 archive_cmds_need_lc_F77
=yes
14637 if test "$enable_shared" = yes && test "$GCC" = yes; then
14638 case $archive_cmds_F77 in
14640 # FIXME: we may have to deal with multi-command sequences.
14643 # Test whether the compiler implicitly links with -lc since on some
14644 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14645 # to ld, don't add -lc before -lgcc.
14646 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14647 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14649 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14652 (eval $ac_compile) 2>&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); } 2>conftest.err
; then
14658 libobjs
=conftest.
$ac_objext
14660 wl
=$lt_prog_compiler_wl_F77
14661 pic_flag
=$lt_prog_compiler_pic_F77
14667 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14668 allow_undefined_flag_F77
=
14669 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14670 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }
14675 archive_cmds_need_lc_F77
=no
14677 archive_cmds_need_lc_F77
=yes
14679 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14681 cat conftest.err
1>&5
14684 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14685 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14692 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14693 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14694 library_names_spec
=
14695 libname_spec
='lib$name'
14699 postuninstall_cmds
=
14703 shlibpath_overrides_runpath
=unknown
14705 dynamic_linker
="$host_os ld.so"
14706 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14707 if test "$GCC" = yes; then
14708 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14709 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14710 # if the path contains ";" then we assume it to be the separator
14711 # otherwise default to the standard path separator (i.e. ":") - it is
14712 # assumed that no part of a normal pathname contains ";" but that should
14713 # okay in the real world where ";" in dirpaths is itself problematic.
14714 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14716 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14719 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14721 need_lib_prefix
=unknown
14722 hardcode_into_libs
=no
14724 # when you set need_version to no, make sure it does not cause -set_version
14725 # flags to be left without arguments
14726 need_version
=unknown
14731 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14732 shlibpath_var
=LIBPATH
14734 # AIX 3 has no versioning support, so we append a major version to the name.
14735 soname_spec
='${libname}${release}${shared_ext}$major'
14742 hardcode_into_libs
=yes
14743 if test "$host_cpu" = ia64
; then
14744 # AIX 5 supports IA64
14745 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14746 shlibpath_var
=LD_LIBRARY_PATH
14748 # With GCC up to 2.95.x, collect2 would create an import file
14749 # for dependence libraries. The import file would start with
14750 # the line `#! .'. This would cause the generated library to
14751 # depend on `.', always an invalid library. This was fixed in
14752 # development snapshots of GCC prior to 3.0.
14754 aix4 | aix4.
[01] | aix4.
[01].
*)
14755 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14757 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14760 can_build_shared
=no
14764 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14765 # soname into executable. Probably we can add versioning support to
14766 # collect2, so additional links can be useful in future.
14767 if test "$aix_use_runtimelinking" = yes; then
14768 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14769 # instead of lib<name>.a to let people know that these are not
14770 # typical AIX shared libraries.
14771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14773 # We preserve .a as extension for shared libraries through AIX4.2
14774 # and later when we are not doing run time linking.
14775 library_names_spec
='${libname}${release}.a $libname.a'
14776 soname_spec
='${libname}${release}${shared_ext}$major'
14778 shlibpath_var
=LIBPATH
14783 library_names_spec
='$libname.ixlibrary $libname.a'
14784 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14785 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14789 library_names_spec
='${libname}${shared_ext}'
14790 dynamic_linker
="$host_os ld.so"
14791 shlibpath_var
=LIBRARY_PATH
14797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14798 soname_spec
='${libname}${release}${shared_ext}$major'
14799 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14800 shlibpath_var
=LD_LIBRARY_PATH
14801 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14802 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14803 # the default ld.so.conf also contains /usr/contrib/lib and
14804 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14805 # libtool to hard-code these into programs
14808 cygwin
* | mingw
* | pw32
*)
14809 version_type
=windows
14814 case $GCC,$host_os in
14815 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14816 library_names_spec
='$libname.dll.a'
14817 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14818 postinstall_cmds
='base_file=`basename \${file}`~
14819 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14820 dldir=$destdir/`dirname \$dlpath`~
14821 test -d \$dldir || mkdir -p \$dldir~
14822 $install_prog $dir/$dlname \$dldir/$dlname~
14823 chmod a+x \$dldir/$dlname'
14824 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14825 dlpath=$dir/\$dldll~
14827 shlibpath_overrides_runpath
=yes
14831 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14832 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14833 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14836 # MinGW DLLs use traditional 'lib' prefix
14837 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14838 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14839 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14840 # It is most probably a Windows format PATH printed by
14841 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14842 # path with ; separators, and with drive letters. We can handle the
14843 # drive letters (cygwin fileutils understands them), so leave them,
14844 # especially as we might pass files found there to a mingw objdump,
14845 # which wouldn't understand a cygwinified path. Ahh.
14846 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14848 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14852 # pw32 DLLs use 'pw' prefix rather than 'lib'
14853 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14859 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14862 dynamic_linker
='Win32 ld.exe'
14863 # FIXME: first we should search . and the directory the executable is in
14867 darwin
* | rhapsody
*)
14868 dynamic_linker
="$host_os dyld"
14869 version_type
=darwin
14872 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14873 soname_spec
='${libname}${release}${major}$shared_ext'
14874 shlibpath_overrides_runpath
=yes
14875 shlibpath_var
=DYLD_LIBRARY_PATH
14876 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14877 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14878 if test "$GCC" = yes; then
14879 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14881 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14883 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14891 soname_spec
='${libname}${release}${shared_ext}$major'
14892 shlibpath_var
=LD_LIBRARY_PATH
14903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14904 soname_spec
='${libname}${release}${shared_ext}$major'
14905 shlibpath_var
=LD_LIBRARY_PATH
14906 shlibpath_overrides_runpath
=no
14907 hardcode_into_libs
=yes
14908 dynamic_linker
='GNU ld.so'
14911 freebsd
* | dragonfly
*)
14912 # DragonFly does not have aout. When/if they implement a new
14913 # versioning mechanism, adjust this.
14914 if test -x /usr
/bin
/objformat
; then
14915 objformat
=`/usr/bin/objformat`
14918 freebsd
[123]*) objformat
=aout
;;
14919 *) objformat
=elf
;;
14922 version_type
=freebsd-
$objformat
14923 case $version_type in
14925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14930 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14934 shlibpath_var
=LD_LIBRARY_PATH
14937 shlibpath_overrides_runpath
=yes
14939 freebsd3.
[01]* | freebsdelf3.
[01]*)
14940 shlibpath_overrides_runpath
=yes
14941 hardcode_into_libs
=yes
14943 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14944 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14945 shlibpath_overrides_runpath
=no
14946 hardcode_into_libs
=yes
14948 freebsd
*) # from 4.6 on
14949 shlibpath_overrides_runpath
=yes
14950 hardcode_into_libs
=yes
14959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14960 soname_spec
='${libname}${release}${shared_ext}$major'
14961 shlibpath_var
=LD_LIBRARY_PATH
14962 hardcode_into_libs
=yes
14965 hpux9
* | hpux10
* | hpux11
*)
14966 # Give a soname corresponding to the major version so that dld.sl refuses to
14967 # link against other versions.
14974 hardcode_into_libs
=yes
14975 dynamic_linker
="$host_os dld.so"
14976 shlibpath_var
=LD_LIBRARY_PATH
14977 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14979 soname_spec
='${libname}${release}${shared_ext}$major'
14980 if test "X$HPUX_IA64_MODE" = X32
; then
14981 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14983 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14985 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14989 hardcode_into_libs
=yes
14990 dynamic_linker
="$host_os dld.sl"
14991 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14992 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14994 soname_spec
='${libname}${release}${shared_ext}$major'
14995 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14996 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15000 dynamic_linker
="$host_os dld.sl"
15001 shlibpath_var
=SHLIB_PATH
15002 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 soname_spec
='${libname}${release}${shared_ext}$major'
15007 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15008 postinstall_cmds
='chmod 555 $lib'
15015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15016 soname_spec
='${libname}${release}${shared_ext}$major'
15017 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15018 shlibpath_var
=LD_LIBRARY_PATH
15019 shlibpath_overrides_runpath
=no
15020 hardcode_into_libs
=yes
15023 irix5
* | irix6
* | nonstopux
*)
15025 nonstopux
*) version_type
=nonstopux
;;
15027 if test "$lt_cv_prog_gnu_ld" = yes; then
15035 soname_spec
='${libname}${release}${shared_ext}$major'
15036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15038 irix5
* | nonstopux
*)
15039 libsuff
= shlibsuff
=
15042 case $LD in # libtool.m4 will add one of these switches to LD
15043 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15044 libsuff
= shlibsuff
= libmagic
=32-bit;;
15045 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15046 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15047 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15048 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15049 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15053 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15054 shlibpath_overrides_runpath
=no
15055 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15056 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15057 hardcode_into_libs
=yes
15060 # No shared lib support for Linux oldld, aout, or coff.
15061 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15065 # This must be Linux ELF.
15070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15071 soname_spec
='${libname}${release}${shared_ext}$major'
15072 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15073 shlibpath_var
=LD_LIBRARY_PATH
15074 shlibpath_overrides_runpath
=no
15075 # This implies no fast_install, which is unacceptable.
15076 # Some rework will be needed to allow for fast_install
15077 # before this can be enabled.
15078 hardcode_into_libs
=yes
15080 # find out which ABI we are using
15082 case "$host_cpu" in
15083 x86_64
*|s390x
*|powerpc64
*)
15084 echo '#line 15084 "configure"' > conftest.
$ac_ext
15085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15086 (eval $ac_compile) 2>&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }; then
15090 case `/usr/bin/file conftest.$ac_objext` in
15093 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15101 # Append ld.so.conf contents to the search path
15102 if test -f /etc
/ld.so.conf
; then
15103 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15104 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15107 # We used to test for /lib/ld.so.1 and disable shared libraries on
15108 # powerpc, because MkLinux only supported shared libraries with the
15109 # GNU dynamic linker. Since this was broken with cross compilers,
15110 # most powerpc-linux boxes support dynamic linking these days and
15111 # people can always --disable-shared, the test was removed, and we
15112 # assume the GNU/Linux dynamic linker is in use.
15113 dynamic_linker
='GNU/Linux ld.so'
15120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15121 soname_spec
='${libname}${release}${shared_ext}$major'
15122 shlibpath_var
=LD_LIBRARY_PATH
15123 shlibpath_overrides_runpath
=no
15124 hardcode_into_libs
=yes
15125 dynamic_linker
='GNU ld.so'
15132 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15134 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15135 dynamic_linker
='NetBSD (a.out) ld.so'
15137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15138 soname_spec
='${libname}${release}${shared_ext}$major'
15139 dynamic_linker
='NetBSD ld.elf_so'
15141 shlibpath_var
=LD_LIBRARY_PATH
15142 shlibpath_overrides_runpath
=yes
15143 hardcode_into_libs
=yes
15148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15149 shlibpath_var
=LD_LIBRARY_PATH
15150 shlibpath_overrides_runpath
=yes
15157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15158 soname_spec
='${libname}${release}${shared_ext}$major'
15159 shlibpath_var
=LD_LIBRARY_PATH
15160 shlibpath_overrides_runpath
=yes
15165 sys_lib_dlsearch_path_spec
="/usr/lib"
15167 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15169 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15170 *) need_version
=no
;;
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15173 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15174 shlibpath_var
=LD_LIBRARY_PATH
15175 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15177 openbsd2.
[89] | openbsd2.
[89].
*)
15178 shlibpath_overrides_runpath
=no
15181 shlibpath_overrides_runpath
=yes
15185 shlibpath_overrides_runpath
=yes
15190 libname_spec
='$name'
15193 library_names_spec
='$libname${shared_ext} $libname.a'
15194 dynamic_linker
='OS/2 ld.exe'
15195 shlibpath_var
=LIBPATH
15198 osf3
* | osf4
* | osf5
*)
15202 soname_spec
='${libname}${release}${shared_ext}$major'
15203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15204 shlibpath_var
=LD_LIBRARY_PATH
15205 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15206 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15214 soname_spec
='${libname}${release}${shared_ext}$major'
15215 shlibpath_var
=LD_LIBRARY_PATH
15216 shlibpath_overrides_runpath
=yes
15217 hardcode_into_libs
=yes
15218 # ldd complains unless libraries are executable
15219 postinstall_cmds
='chmod +x $lib'
15224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15225 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15226 shlibpath_var
=LD_LIBRARY_PATH
15227 shlibpath_overrides_runpath
=yes
15228 if test "$with_gnu_ld" = yes; then
15236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15237 soname_spec
='${libname}${release}${shared_ext}$major'
15238 shlibpath_var
=LD_LIBRARY_PATH
15239 case $host_vendor in
15241 shlibpath_overrides_runpath
=no
15243 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15244 runpath_var
=LD_RUN_PATH
15252 shlibpath_overrides_runpath
=no
15253 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15259 if test -d /usr
/nec
;then
15261 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15262 soname_spec
='$libname${shared_ext}.$major'
15263 shlibpath_var
=LD_LIBRARY_PATH
15267 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15268 version_type
=freebsd-elf
15271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15272 soname_spec
='${libname}${release}${shared_ext}$major'
15273 shlibpath_var
=LD_LIBRARY_PATH
15274 hardcode_into_libs
=yes
15275 if test "$with_gnu_ld" = yes; then
15276 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15277 shlibpath_overrides_runpath
=no
15279 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15280 shlibpath_overrides_runpath
=yes
15283 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15287 sys_lib_dlsearch_path_spec
='/usr/lib'
15292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15293 soname_spec
='${libname}${release}${shared_ext}$major'
15294 shlibpath_var
=LD_LIBRARY_PATH
15301 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15302 echo "${ECHO_T}$dynamic_linker" >&6
15303 test "$dynamic_linker" = no
&& can_build_shared
=no
15305 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15306 if test "$GCC" = yes; then
15307 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15310 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15311 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15312 hardcode_action_F77
=
15313 if test -n "$hardcode_libdir_flag_spec_F77" || \
15314 test -n "$runpath_var_F77" || \
15315 test "X$hardcode_automatic_F77" = "Xyes" ; then
15317 # We can hardcode non-existant directories.
15318 if test "$hardcode_direct_F77" != no
&&
15319 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15320 # have to relink, otherwise we might link with an installed library
15321 # when we should be linking with a yet-to-be-installed one
15322 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15323 test "$hardcode_minus_L_F77" != no
; then
15324 # Linking always hardcodes the temporary library directory.
15325 hardcode_action_F77
=relink
15327 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15328 hardcode_action_F77
=immediate
15331 # We cannot hardcode anything, or else we can only hardcode existing
15333 hardcode_action_F77
=unsupported
15335 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15336 echo "${ECHO_T}$hardcode_action_F77" >&6
15338 if test "$hardcode_action_F77" = relink
; then
15339 # Fast installation is not supported
15340 enable_fast_install
=no
15341 elif test "$shlibpath_overrides_runpath" = yes ||
15342 test "$enable_shared" = no
; then
15343 # Fast installation is not necessary
15344 enable_fast_install
=needless
15348 # The else clause should only fire when bootstrapping the
15349 # libtool distribution, otherwise you forgot to ship ltmain.sh
15350 # with your package, and you will get complaints that there are
15351 # no rules to generate ltmain.sh.
15352 if test -f "$ltmain"; then
15353 # See if we are running on zsh, and set the options which allow our commands through
15354 # without removal of \ escapes.
15355 if test -n "${ZSH_VERSION+set}" ; then
15356 setopt NO_GLOB_SUBST
15358 # Now quote all the things that may contain metacharacters while being
15359 # careful not to overquote the AC_SUBSTed values. We take copies of the
15360 # variables and quote the copies for generation of the libtool script.
15361 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15363 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15364 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15365 deplibs_check_method reload_flag reload_cmds need_locks \
15366 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15367 lt_cv_sys_global_symbol_to_c_name_address \
15368 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15369 old_postinstall_cmds old_postuninstall_cmds \
15373 lt_prog_compiler_wl_F77 \
15374 lt_prog_compiler_pic_F77 \
15375 lt_prog_compiler_static_F77 \
15376 lt_prog_compiler_no_builtin_flag_F77 \
15377 export_dynamic_flag_spec_F77 \
15378 thread_safe_flag_spec_F77 \
15379 whole_archive_flag_spec_F77 \
15380 enable_shared_with_static_runtimes_F77 \
15381 old_archive_cmds_F77 \
15382 old_archive_from_new_cmds_F77 \
15383 predep_objects_F77 \
15384 postdep_objects_F77 \
15387 compiler_lib_search_path_F77 \
15389 archive_expsym_cmds_F77 \
15390 postinstall_cmds_F77 \
15391 postuninstall_cmds_F77 \
15392 old_archive_from_expsyms_cmds_F77 \
15393 allow_undefined_flag_F77 \
15394 no_undefined_flag_F77 \
15395 export_symbols_cmds_F77 \
15396 hardcode_libdir_flag_spec_F77 \
15397 hardcode_libdir_flag_spec_ld_F77 \
15398 hardcode_libdir_separator_F77 \
15399 hardcode_automatic_F77 \
15401 module_expsym_cmds_F77 \
15402 lt_cv_prog_compiler_c_o_F77 \
15403 exclude_expsyms_F77 \
15404 include_expsyms_F77
; do
15407 old_archive_cmds_F77 | \
15408 old_archive_from_new_cmds_F77 | \
15409 archive_cmds_F77 | \
15410 archive_expsym_cmds_F77 | \
15411 module_cmds_F77 | \
15412 module_expsym_cmds_F77 | \
15413 old_archive_from_expsyms_cmds_F77 | \
15414 export_symbols_cmds_F77 | \
15415 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15416 postinstall_cmds | postuninstall_cmds | \
15417 old_postinstall_cmds | old_postuninstall_cmds | \
15418 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15419 # Double-quote double-evaled strings.
15420 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15423 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15429 *'\$0 --fallback-echo"')
15430 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15436 cat <<__EOF__ >> "$cfgfile"
15437 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15439 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15441 # Shell to use when invoking shell scripts.
15444 # Whether or not to build shared libraries.
15445 build_libtool_libs=$enable_shared
15447 # Whether or not to build static libraries.
15448 build_old_libs=$enable_static
15450 # Whether or not to add -lc for building shared libraries.
15451 build_libtool_need_lc=$archive_cmds_need_lc_F77
15453 # Whether or not to disallow shared libs when runtime libs are static
15454 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15456 # Whether or not to optimize for fast installation.
15457 fast_install=$enable_fast_install
15460 host_alias=$host_alias
15464 # The build system.
15465 build_alias=$build_alias
15469 # An echo program that does not interpret backslashes.
15474 AR_FLAGS=$lt_AR_FLAGS
15479 # LTCC compiler flags.
15480 LTCFLAGS=$lt_LTCFLAGS
15482 # A language-specific compiler.
15483 CC=$lt_compiler_F77
15485 # Is the compiler the GNU C compiler?
15488 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15489 gcc_ver=\`gcc -dumpversion\`
15494 # The linker used to build libraries.
15497 # Whether we need hard or soft links.
15500 # A BSD-compatible nm program.
15503 # A symbol stripping program
15506 # Used to examine libraries when file_magic_cmd begins "file"
15507 MAGIC_CMD=$MAGIC_CMD
15509 # Used on cygwin: DLL creation program.
15512 # Used on cygwin: object dumper.
15515 # Used on cygwin: assembler.
15518 # The name of the directory that contains temporary libtool files.
15521 # How to create reloadable object files.
15522 reload_flag=$lt_reload_flag
15523 reload_cmds=$lt_reload_cmds
15525 # How to pass a linker flag through the compiler.
15526 wl=$lt_lt_prog_compiler_wl_F77
15528 # Object file suffix (normally "o").
15529 objext="$ac_objext"
15531 # Old archive suffix (normally "a").
15534 # Shared library suffix (normally ".so").
15535 shrext_cmds='$shrext_cmds'
15537 # Executable file suffix (normally "").
15540 # Additional compiler flags for building library objects.
15541 pic_flag=$lt_lt_prog_compiler_pic_F77
15544 # What is the maximum length of a command?
15545 max_cmd_len=$lt_cv_sys_max_cmd_len
15547 # Does compiler simultaneously support -c and -o options?
15548 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15550 # Must we lock files when doing compilation?
15551 need_locks=$lt_need_locks
15553 # Do we need the lib prefix for modules?
15554 need_lib_prefix=$need_lib_prefix
15556 # Do we need a version for libraries?
15557 need_version=$need_version
15559 # Whether dlopen is supported.
15560 dlopen_support=$enable_dlopen
15562 # Whether dlopen of programs is supported.
15563 dlopen_self=$enable_dlopen_self
15565 # Whether dlopen of statically linked programs is supported.
15566 dlopen_self_static=$enable_dlopen_self_static
15568 # Compiler flag to prevent dynamic linking.
15569 link_static_flag=$lt_lt_prog_compiler_static_F77
15571 # Compiler flag to turn off builtin functions.
15572 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15574 # Compiler flag to allow reflexive dlopens.
15575 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15577 # Compiler flag to generate shared objects directly from archives.
15578 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15580 # Compiler flag to generate thread-safe objects.
15581 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15583 # Library versioning type.
15584 version_type=$version_type
15586 # Format of library name prefix.
15587 libname_spec=$lt_libname_spec
15589 # List of archive names. First name is the real one, the rest are links.
15590 # The last name is the one that the linker finds with -lNAME.
15591 library_names_spec=$lt_library_names_spec
15593 # The coded name of the library, if different from the real name.
15594 soname_spec=$lt_soname_spec
15596 # Commands used to build and install an old-style archive.
15598 old_archive_cmds=$lt_old_archive_cmds_F77
15599 old_postinstall_cmds=$lt_old_postinstall_cmds
15600 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15602 # Create an old-style archive from a shared archive.
15603 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15605 # Create a temporary old-style archive to link instead of a shared archive.
15606 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15608 # Commands used to build and install a shared archive.
15609 archive_cmds=$lt_archive_cmds_F77
15610 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15611 postinstall_cmds=$lt_postinstall_cmds
15612 postuninstall_cmds=$lt_postuninstall_cmds
15614 # Commands used to build a loadable module (assumed same as above if empty)
15615 module_cmds=$lt_module_cmds_F77
15616 module_expsym_cmds=$lt_module_expsym_cmds_F77
15618 # Commands to strip libraries.
15619 old_striplib=$lt_old_striplib
15620 striplib=$lt_striplib
15622 # Dependencies to place before the objects being linked to create a
15624 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15626 # Dependencies to place after the objects being linked to create a
15628 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15630 # Dependencies to place before the objects being linked to create a
15632 predeps=$lt_predeps_F77
15634 # Dependencies to place after the objects being linked to create a
15636 postdeps=$lt_postdeps_F77
15638 # The library search path used internally by the compiler when linking
15639 # a shared library.
15640 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15642 # Method to check whether dependent libraries are shared objects.
15643 deplibs_check_method=$lt_deplibs_check_method
15645 # Command to use when deplibs_check_method == file_magic.
15646 file_magic_cmd=$lt_file_magic_cmd
15648 # Flag that allows shared libraries with undefined symbols to be built.
15649 allow_undefined_flag=$lt_allow_undefined_flag_F77
15651 # Flag that forces no undefined symbols.
15652 no_undefined_flag=$lt_no_undefined_flag_F77
15654 # Commands used to finish a libtool library installation in a directory.
15655 finish_cmds=$lt_finish_cmds
15657 # Same as above, but a single script fragment to be evaled but not shown.
15658 finish_eval=$lt_finish_eval
15660 # Take the output of nm and produce a listing of raw symbols and C names.
15661 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15663 # Transform the output of nm in a proper C declaration
15664 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15666 # Transform the output of nm in a C name address pair
15667 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15669 # This is the shared library runtime path variable.
15670 runpath_var=$runpath_var
15672 # This is the shared library path variable.
15673 shlibpath_var=$shlibpath_var
15675 # Is shlibpath searched before the hard-coded library search path?
15676 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15678 # How to hardcode a shared library path into an executable.
15679 hardcode_action=$hardcode_action_F77
15681 # Whether we should hardcode library paths into libraries.
15682 hardcode_into_libs=$hardcode_into_libs
15684 # Flag to hardcode \$libdir into a binary during linking.
15685 # This must work even if \$libdir does not exist.
15686 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15688 # If ld is used when linking, flag to hardcode \$libdir into
15689 # a binary during linking. This must work even if \$libdir does
15691 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15693 # Whether we need a single -rpath flag with a separated argument.
15694 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15696 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15697 # resulting binary.
15698 hardcode_direct=$hardcode_direct_F77
15700 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15701 # resulting binary.
15702 hardcode_minus_L=$hardcode_minus_L_F77
15704 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15705 # the resulting binary.
15706 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15708 # Set to yes if building a shared library automatically hardcodes DIR into the library
15709 # and all subsequent libraries and executables linked against it.
15710 hardcode_automatic=$hardcode_automatic_F77
15712 # Variables whose values should be saved in libtool wrapper scripts and
15713 # restored at relink time.
15714 variables_saved_for_relink="$variables_saved_for_relink"
15716 # Whether libtool must link a program against all its dependency libraries.
15717 link_all_deplibs=$link_all_deplibs_F77
15719 # Compile-time system search path for libraries
15720 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15722 # Run-time system search path for libraries
15723 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15725 # Fix the shell variable \$srcfile for the compiler.
15726 fix_srcfile_path="$fix_srcfile_path_F77"
15728 # Set to yes if exported symbols are required.
15729 always_export_symbols=$always_export_symbols_F77
15731 # The commands to list exported symbols.
15732 export_symbols_cmds=$lt_export_symbols_cmds_F77
15734 # The commands to extract the exported symbol list from a shared archive.
15735 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15737 # Symbols that should not be listed in the preloaded symbols.
15738 exclude_expsyms=$lt_exclude_expsyms_F77
15740 # Symbols that must always be exported.
15741 include_expsyms=$lt_include_expsyms_F77
15743 # ### END LIBTOOL TAG CONFIG: $tagname
15749 # If there is no Makefile yet, we rely on a make rule to execute
15750 # `config.status --recheck' to rerun these tests and create the
15751 # libtool script then.
15752 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15753 if test -f "$ltmain_in"; then
15754 test -f Makefile
&& make "$ltmain"
15760 ac_cpp
='$CPP $CPPFLAGS'
15761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15773 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15777 # Source file extension for Java test sources.
15780 # Object file extension for compiled Java test sources.
15784 # Code to be used in simple compile tests
15785 lt_simple_compile_test_code
="class foo {}\n"
15787 # Code to be used in simple link tests
15788 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15790 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15792 # If no C compiler was specified, use CC.
15795 # If no C compiler flags were specified, use CFLAGS.
15796 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15798 # Allow CC to be a program name with arguments.
15802 # save warnings/boilerplate of simple test code
15803 ac_outfile
=conftest.
$ac_objext
15804 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15805 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15806 _lt_compiler_boilerplate
=`cat conftest.err`
15809 ac_outfile
=conftest.
$ac_objext
15810 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15811 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15812 _lt_linker_boilerplate
=`cat conftest.err`
15816 # Allow CC to be a program name with arguments.
15821 for cc_temp
in $compiler""; do
15823 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15824 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15829 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15832 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15833 archive_cmds_need_lc_GCJ
=no
15835 old_archive_cmds_GCJ
=$old_archive_cmds
15838 lt_prog_compiler_no_builtin_flag_GCJ
=
15840 if test "$GCC" = yes; then
15841 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15844 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15845 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15846 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15849 lt_cv_prog_compiler_rtti_exceptions
=no
15850 ac_outfile
=conftest.
$ac_objext
15851 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15852 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15853 # Insert the option either (1) after the last *FLAGS variable, or
15854 # (2) before a word containing "conftest.", or (3) at the end.
15855 # Note that $ac_compile itself does not contain backslashes and begins
15856 # with a dollar sign (not a hyphen), so the echo should work correctly.
15857 # The option is referenced via a variable to avoid confusing sed.
15858 lt_compile
=`echo "$ac_compile" | $SED \
15859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15861 -e 's:$: $lt_compiler_flag:'`
15862 (eval echo "\"\$as_me:15862: $lt_compile\"" >&5)
15863 (eval "$lt_compile" 2>conftest.err
)
15865 cat conftest.err
>&5
15866 echo "$as_me:15866: \$? = $ac_status" >&5
15867 if (exit $ac_status) && test -s "$ac_outfile"; then
15868 # The compiler can only warn and ignore the option if not recognized
15869 # So say no if there are warnings other than the usual output.
15870 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15871 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15872 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15873 lt_cv_prog_compiler_rtti_exceptions
=yes
15879 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15880 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15882 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15883 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15890 lt_prog_compiler_wl_GCJ
=
15891 lt_prog_compiler_pic_GCJ
=
15892 lt_prog_compiler_static_GCJ
=
15894 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15895 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15897 if test "$GCC" = yes; then
15898 lt_prog_compiler_wl_GCJ
='-Wl,'
15899 lt_prog_compiler_static_GCJ
='-static'
15903 # All AIX code is PIC.
15904 if test "$host_cpu" = ia64
; then
15905 # AIX 5 now supports IA64 processor
15906 lt_prog_compiler_static_GCJ
='-Bstatic'
15911 # FIXME: we need at least 68020 code to build shared libraries, but
15912 # adding the `-m68020' flag to GCC prevents building anything better,
15914 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15917 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15918 # PIC is the default for these OSes.
15921 mingw
* | pw32
* | os2
*)
15922 # This hack is so that the source file can tell whether it is being
15923 # built for inclusion in a dll (and should export symbols for example).
15924 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15927 darwin
* | rhapsody
*)
15928 # PIC is the default on this platform
15929 # Common symbols not allowed in MH_DYLIB files
15930 lt_prog_compiler_pic_GCJ
='-fno-common'
15934 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15935 # Instead, we relocate shared libraries at runtime.
15939 # Just because we use GCC doesn't mean we suddenly get shared libraries
15940 # on systems that don't support them.
15941 lt_prog_compiler_can_build_shared_GCJ
=no
15946 if test -d /usr
/nec
; then
15947 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15952 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15953 # not for PA HP-UX.
15959 lt_prog_compiler_pic_GCJ
='-fPIC'
15965 lt_prog_compiler_pic_GCJ
='-fPIC'
15969 # PORTME Check for flag to pass linker flags through the system compiler.
15972 lt_prog_compiler_wl_GCJ
='-Wl,'
15973 if test "$host_cpu" = ia64
; then
15974 # AIX 5 now supports IA64 processor
15975 lt_prog_compiler_static_GCJ
='-Bstatic'
15977 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15981 # PIC is the default on this platform
15982 # Common symbols not allowed in MH_DYLIB files
15983 case $cc_basename in
15985 lt_prog_compiler_pic_GCJ
='-qnocommon'
15986 lt_prog_compiler_wl_GCJ
='-Wl,'
15991 mingw
* | pw32
* | os2
*)
15992 # This hack is so that the source file can tell whether it is being
15993 # built for inclusion in a dll (and should export symbols for example).
15994 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15997 hpux9
* | hpux10
* | hpux11
*)
15998 lt_prog_compiler_wl_GCJ
='-Wl,'
15999 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16000 # not for PA HP-UX.
16006 lt_prog_compiler_pic_GCJ
='+Z'
16009 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16010 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16013 irix5
* | irix6
* | nonstopux
*)
16014 lt_prog_compiler_wl_GCJ
='-Wl,'
16015 # PIC (with -KPIC) is the default.
16016 lt_prog_compiler_static_GCJ
='-non_shared'
16020 lt_prog_compiler_pic_GCJ
='-KPIC'
16021 lt_prog_compiler_static_GCJ
='-Bstatic'
16025 case $cc_basename in
16027 lt_prog_compiler_wl_GCJ
='-Wl,'
16028 lt_prog_compiler_pic_GCJ
='-KPIC'
16029 lt_prog_compiler_static_GCJ
='-static'
16031 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16032 # Portland Group compilers (*not* the Pentium gcc compiler,
16033 # which looks to be a dead project)
16034 lt_prog_compiler_wl_GCJ
='-Wl,'
16035 lt_prog_compiler_pic_GCJ
='-fpic'
16036 lt_prog_compiler_static_GCJ
='-Bstatic'
16039 lt_prog_compiler_wl_GCJ
='-Wl,'
16040 # All Alpha code is PIC.
16041 lt_prog_compiler_static_GCJ
='-non_shared'
16046 osf3
* | osf4
* | osf5
*)
16047 lt_prog_compiler_wl_GCJ
='-Wl,'
16048 # All OSF/1 code is PIC.
16049 lt_prog_compiler_static_GCJ
='-non_shared'
16053 lt_prog_compiler_pic_GCJ
='-KPIC'
16054 lt_prog_compiler_static_GCJ
='-Bstatic'
16055 case $cc_basename in
16056 f77
* | f90
* | f95
*)
16057 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16059 lt_prog_compiler_wl_GCJ
='-Wl,';;
16064 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16065 lt_prog_compiler_pic_GCJ
='-PIC'
16066 lt_prog_compiler_static_GCJ
='-Bstatic'
16069 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16070 lt_prog_compiler_wl_GCJ
='-Wl,'
16071 lt_prog_compiler_pic_GCJ
='-KPIC'
16072 lt_prog_compiler_static_GCJ
='-Bstatic'
16076 if test -d /usr
/nec
;then
16077 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16078 lt_prog_compiler_static_GCJ
='-Bstatic'
16082 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16083 lt_prog_compiler_wl_GCJ
='-Wl,'
16084 lt_prog_compiler_pic_GCJ
='-KPIC'
16085 lt_prog_compiler_static_GCJ
='-Bstatic'
16089 lt_prog_compiler_wl_GCJ
='-Wl,'
16090 lt_prog_compiler_can_build_shared_GCJ
=no
16094 lt_prog_compiler_pic_GCJ
='-pic'
16095 lt_prog_compiler_static_GCJ
='-Bstatic'
16099 lt_prog_compiler_can_build_shared_GCJ
=no
16104 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16105 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16108 # Check to make sure the PIC flag actually works.
16110 if test -n "$lt_prog_compiler_pic_GCJ"; then
16112 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16113 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16114 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16115 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 lt_prog_compiler_pic_works_GCJ
=no
16118 ac_outfile
=conftest.
$ac_objext
16119 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16120 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16121 # Insert the option either (1) after the last *FLAGS variable, or
16122 # (2) before a word containing "conftest.", or (3) at the end.
16123 # Note that $ac_compile itself does not contain backslashes and begins
16124 # with a dollar sign (not a hyphen), so the echo should work correctly.
16125 # The option is referenced via a variable to avoid confusing sed.
16126 lt_compile
=`echo "$ac_compile" | $SED \
16127 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16128 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16129 -e 's:$: $lt_compiler_flag:'`
16130 (eval echo "\"\$as_me:16130: $lt_compile\"" >&5)
16131 (eval "$lt_compile" 2>conftest.err
)
16133 cat conftest.err
>&5
16134 echo "$as_me:16134: \$? = $ac_status" >&5
16135 if (exit $ac_status) && test -s "$ac_outfile"; then
16136 # The compiler can only warn and ignore the option if not recognized
16137 # So say no if there are warnings other than the usual output.
16138 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16139 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16140 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16141 lt_prog_compiler_pic_works_GCJ
=yes
16147 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16148 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16150 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16151 case $lt_prog_compiler_pic_GCJ in
16153 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16156 lt_prog_compiler_pic_GCJ
=
16157 lt_prog_compiler_can_build_shared_GCJ
=no
16162 # For platforms which do not support PIC, -DPIC is meaningless:
16164 lt_prog_compiler_pic_GCJ
=
16167 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16172 # Check to make sure the static flag actually works.
16174 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16175 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16176 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16177 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16178 echo $ECHO_N "(cached) $ECHO_C" >&6
16180 lt_prog_compiler_static_works_GCJ
=no
16181 save_LDFLAGS
="$LDFLAGS"
16182 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16183 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16184 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16185 # The linker can only warn and ignore the option if not recognized
16186 # So say no if there are warnings
16187 if test -s conftest.err
; then
16188 # Append any errors to the config.log.
16189 cat conftest.err
1>&5
16190 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16191 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16192 if diff conftest.exp conftest.er2
>/dev
/null
; then
16193 lt_prog_compiler_static_works_GCJ
=yes
16196 lt_prog_compiler_static_works_GCJ
=yes
16200 LDFLAGS
="$save_LDFLAGS"
16203 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16204 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16206 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16209 lt_prog_compiler_static_GCJ
=
16213 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16214 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16215 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16216 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 lt_cv_prog_compiler_c_o_GCJ
=no
16219 $rm -r conftest
2>/dev
/null
16223 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16225 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16226 # Insert the option either (1) after the last *FLAGS variable, or
16227 # (2) before a word containing "conftest.", or (3) at the end.
16228 # Note that $ac_compile itself does not contain backslashes and begins
16229 # with a dollar sign (not a hyphen), so the echo should work correctly.
16230 lt_compile
=`echo "$ac_compile" | $SED \
16231 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16232 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16233 -e 's:$: $lt_compiler_flag:'`
16234 (eval echo "\"\$as_me:16234: $lt_compile\"" >&5)
16235 (eval "$lt_compile" 2>out
/conftest.err
)
16237 cat out
/conftest.err
>&5
16238 echo "$as_me:16238: \$? = $ac_status" >&5
16239 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16241 # The compiler can only warn and ignore the option if not recognized
16242 # So say no if there are warnings
16243 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16244 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16245 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16246 lt_cv_prog_compiler_c_o_GCJ
=yes
16251 # SGI C++ compiler will create directory out/ii_files/ for
16252 # template instantiation
16253 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16254 $rm out
/* && rmdir out
16260 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16261 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16264 hard_links
="nottested"
16265 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16266 # do not overwrite the value of need_locks provided by the user
16267 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16268 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16271 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16273 ln conftest.a conftest.b
2>&5 || hard_links
=no
16274 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16275 echo "$as_me:$LINENO: result: $hard_links" >&5
16276 echo "${ECHO_T}$hard_links" >&6
16277 if test "$hard_links" = no
; then
16278 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16279 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16286 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16287 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16290 allow_undefined_flag_GCJ
=
16291 enable_shared_with_static_runtimes_GCJ
=no
16293 archive_expsym_cmds_GCJ
=
16294 old_archive_From_new_cmds_GCJ
=
16295 old_archive_from_expsyms_cmds_GCJ
=
16296 export_dynamic_flag_spec_GCJ
=
16297 whole_archive_flag_spec_GCJ
=
16298 thread_safe_flag_spec_GCJ
=
16299 hardcode_libdir_flag_spec_GCJ
=
16300 hardcode_libdir_flag_spec_ld_GCJ
=
16301 hardcode_libdir_separator_GCJ
=
16302 hardcode_direct_GCJ
=no
16303 hardcode_minus_L_GCJ
=no
16304 hardcode_shlibpath_var_GCJ
=unsupported
16305 link_all_deplibs_GCJ
=unknown
16306 hardcode_automatic_GCJ
=no
16308 module_expsym_cmds_GCJ
=
16309 always_export_symbols_GCJ
=no
16310 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16311 # include_expsyms should be a list of space-separated symbols to be *always*
16312 # included in the symbol list
16313 include_expsyms_GCJ
=
16314 # exclude_expsyms can be an extended regexp of symbols to exclude
16315 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16316 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16317 # as well as any symbol that contains `d'.
16318 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16319 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16320 # platforms (ab)use it in PIC code, but their linkers get confused if
16321 # the symbol is explicitly referenced. Since portable code cannot
16322 # rely on this symbol name, it's probably fine to never include it in
16323 # preloaded symbol tables.
16324 extract_expsyms_cmds
=
16325 # Just being paranoid about ensuring that cc_basename is set.
16326 for cc_temp
in $compiler""; do
16328 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16329 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16334 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16337 cygwin
* | mingw
* | pw32
*)
16338 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16339 # When not using gcc, we currently assume that we are using
16340 # Microsoft Visual C++.
16341 if test "$GCC" != yes; then
16346 # we just hope/assume this is gcc and not c89 (= MSVC++)
16355 if test "$with_gnu_ld" = yes; then
16356 # If archive_cmds runs LD, not CC, wlarc should be empty
16359 # Set some defaults for GNU ld with shared library support. These
16360 # are reset later if shared libraries are not supported. Putting them
16361 # here allows them to be overridden if necessary.
16362 runpath_var
=LD_RUN_PATH
16363 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16364 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16365 # ancient GNU ld didn't support --whole-archive et. al.
16366 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16367 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16369 whole_archive_flag_spec_GCJ
=
16371 supports_anon_versioning
=no
16372 case `$LD -v 2>/dev/null` in
16373 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16374 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16375 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16376 *\
2.11.
*) ;; # other 2.11 versions
16377 *) supports_anon_versioning
=yes ;;
16380 # See if GNU ld supports shared libraries.
16382 aix3
* | aix4
* | aix5
*)
16383 # On AIX/PPC, the GNU linker is very broken
16384 if test "$host_cpu" != ia64
; then
16388 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16389 *** to be unable to reliably create shared libraries on AIX.
16390 *** Therefore, libtool is disabling shared libraries support. If you
16391 *** really care for shared libraries, you may want to modify your PATH
16392 *** so that a non-GNU linker is found, and then restart.
16399 archive_cmds_GCJ
='$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)'
16400 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16401 hardcode_minus_L_GCJ
=yes
16403 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16404 # that the semantics of dynamic libraries on AmigaOS, at least up
16405 # to version 4, is to share data among multiple programs linked
16406 # with the same dynamic library. Since this doesn't match the
16407 # behavior of shared libraries on other platforms, we can't use
16413 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16414 allow_undefined_flag_GCJ
=unsupported
16415 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16416 # support --undefined. This deserves some investigation. FIXME
16417 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16423 cygwin
* | mingw
* | pw32
*)
16424 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16425 # as there is no search path for DLLs.
16426 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16427 allow_undefined_flag_GCJ
=unsupported
16428 always_export_symbols_GCJ
=no
16429 enable_shared_with_static_runtimes_GCJ
=yes
16430 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16432 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16433 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16434 # If the export-symbols file already is a .def file (1st line
16435 # is EXPORTS), use it as is; otherwise, prepend...
16436 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16437 cp $export_symbols $output_objdir/$soname.def;
16439 echo EXPORTS > $output_objdir/$soname.def;
16440 cat $export_symbols >> $output_objdir/$soname.def;
16442 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16449 hardcode_direct_GCJ
=no
16450 hardcode_shlibpath_var_GCJ
=no
16451 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16452 export_dynamic_flag_spec_GCJ
='${wl}-E'
16453 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16454 # Instead, shared libraries are loaded at an image base (0x10000000 by
16455 # default) and relocated if they conflict, which is a slow very memory
16456 # consuming and fragmenting process. To avoid this, we pick a random,
16457 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16458 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16459 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16460 archive_expsym_cmds_GCJ
='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'
16464 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16466 case $cc_basename,$host_cpu in
16467 pgcc
*) # Portland Group C compiler
16468 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16469 tmp_addflag
=' $pic_flag'
16471 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16472 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16473 tmp_addflag
=' $pic_flag -Mnomain' ;;
16474 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16475 tmp_addflag
=' -i_dynamic' ;;
16476 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16477 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16478 ifc
* | ifort
*) # Intel Fortran compiler
16479 tmp_addflag
=' -nofor_main' ;;
16481 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16483 if test $supports_anon_versioning = yes; then
16484 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16485 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16486 $echo "local: *; };" >> $output_objdir/$libname.ver~
16487 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16495 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16496 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16499 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16500 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16505 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16509 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16510 *** create shared libraries on Solaris systems. Therefore, libtool
16511 *** is disabling shared libraries support. We urge you to upgrade GNU
16512 *** binutils to release 2.9.1 or newer. Another option is to modify
16513 *** your PATH or compiler configuration so that the native linker is
16514 *** used, and then restart.
16517 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16518 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16519 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16525 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16526 case `$LD -v 2>&1` in
16527 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16531 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16532 *** reliably create shared libraries on SCO systems. Therefore, libtool
16533 *** is disabling shared libraries support. We urge you to upgrade GNU
16534 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16535 *** your PATH or compiler configuration so that the native linker is
16536 *** used, and then restart.
16541 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16542 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16543 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16544 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16553 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16555 hardcode_direct_GCJ
=yes
16556 hardcode_shlibpath_var_GCJ
=no
16560 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16561 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16562 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16569 if test "$ld_shlibs_GCJ" = no
; then
16571 hardcode_libdir_flag_spec_GCJ
=
16572 export_dynamic_flag_spec_GCJ
=
16573 whole_archive_flag_spec_GCJ
=
16576 # PORTME fill in a description of your system's linker (not GNU ld)
16579 allow_undefined_flag_GCJ
=unsupported
16580 always_export_symbols_GCJ
=yes
16581 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16582 # Note: this linker hardcodes the directories in LIBPATH if there
16583 # are no directories specified by -L.
16584 hardcode_minus_L_GCJ
=yes
16585 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16586 # Neither direct hardcoding nor static linking is supported with a
16588 hardcode_direct_GCJ
=unsupported
16593 if test "$host_cpu" = ia64
; then
16594 # On IA64, the linker does run time linking by default, so we don't
16595 # have to do anything special.
16596 aix_use_runtimelinking
=no
16597 exp_sym_flag
='-Bexport'
16600 # If we're using GNU nm, then we don't want the "-C" option.
16601 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16602 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16603 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16605 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16607 aix_use_runtimelinking
=no
16609 # Test if we are trying to use run time linking or normal
16610 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16611 # need to do runtime linking.
16612 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16613 for ld_flag
in $LDFLAGS; do
16614 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16615 aix_use_runtimelinking
=yes
16622 exp_sym_flag
='-bexport'
16623 no_entry_flag
='-bnoentry'
16626 # When large executables or shared objects are built, AIX ld can
16627 # have problems creating the table of contents. If linking a library
16628 # or program results in "error TOC overflow" add -mminimal-toc to
16629 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16630 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16632 archive_cmds_GCJ
=''
16633 hardcode_direct_GCJ
=yes
16634 hardcode_libdir_separator_GCJ
=':'
16635 link_all_deplibs_GCJ
=yes
16637 if test "$GCC" = yes; then
16638 case $host_os in aix4.
[012]|aix4.
[012].
*)
16639 # We only want to do this on AIX 4.2 and lower, the check
16640 # below for broken collect2 doesn't work under 4.3+
16641 collect2name
=`${CC} -print-prog-name=collect2`
16642 if test -f "$collect2name" && \
16643 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16645 # We have reworked collect2
16646 hardcode_direct_GCJ
=yes
16648 # We have old collect2
16649 hardcode_direct_GCJ
=unsupported
16650 # It fails to find uninstalled libraries when the uninstalled
16651 # path is not listed in the libpath. Setting hardcode_minus_L
16652 # to unsupported forces relinking
16653 hardcode_minus_L_GCJ
=yes
16654 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16655 hardcode_libdir_separator_GCJ
=
16659 shared_flag
='-shared'
16660 if test "$aix_use_runtimelinking" = yes; then
16661 shared_flag
="$shared_flag "'${wl}-G'
16665 if test "$host_cpu" = ia64
; then
16666 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16667 # chokes on -Wl,-G. The following line is correct:
16670 if test "$aix_use_runtimelinking" = yes; then
16671 shared_flag
='${wl}-G'
16673 shared_flag
='${wl}-bM:SRE'
16678 # It seems that -bexpall does not export symbols beginning with
16679 # underscore (_), so it is better to generate a list of symbols to export.
16680 always_export_symbols_GCJ
=yes
16681 if test "$aix_use_runtimelinking" = yes; then
16682 # Warning - without using the other runtime loading flags (-brtl),
16683 # -berok will link without error, but may produce a broken library.
16684 allow_undefined_flag_GCJ
='-berok'
16685 # Determine the default libpath from the value encoded in an empty executable.
16686 cat >conftest.
$ac_ext <<_ACEOF
16689 cat confdefs.h
>>conftest.
$ac_ext
16690 cat >>conftest.
$ac_ext <<_ACEOF
16691 /* end confdefs.h. */
16701 rm -f conftest.
$ac_objext conftest
$ac_exeext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16703 (eval $ac_link) 2>conftest.er1
16705 grep -v '^ *+' conftest.er1
>conftest.err
16707 cat conftest.err
>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try
='test -z "$ac_c_werror_flag"
16711 || test ! -s conftest.err'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try
='test -s conftest$ac_exeext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16724 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16726 # Check for a 64-bit object if we didn't find anything.
16727 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.
$ac_ext >&5
16734 rm -f conftest.err conftest.
$ac_objext \
16735 conftest
$ac_exeext conftest.
$ac_ext
16736 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16738 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16739 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16741 if test "$host_cpu" = ia64
; then
16742 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16743 allow_undefined_flag_GCJ
="-z nodefs"
16744 archive_expsym_cmds_GCJ
="\$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"
16746 # Determine the default libpath from the value encoded in an empty executable.
16747 cat >conftest.
$ac_ext <<_ACEOF
16750 cat confdefs.h
>>conftest.
$ac_ext
16751 cat >>conftest.
$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16762 rm -f conftest.
$ac_objext conftest
$ac_exeext
16763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16764 (eval $ac_link) 2>conftest.er1
16766 grep -v '^ *+' conftest.er1
>conftest.err
16768 cat conftest.err
>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } &&
16771 { ac_try
='test -z "$ac_c_werror_flag"
16772 || test ! -s conftest.err'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; } &&
16778 { ac_try
='test -s conftest$ac_exeext'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; }; then
16785 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16787 # Check for a 64-bit object if we didn't find anything.
16788 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.
$ac_ext >&5
16795 rm -f conftest.err conftest.
$ac_objext \
16796 conftest
$ac_exeext conftest.
$ac_ext
16797 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16799 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16800 # Warning - without using the other run time loading flags,
16801 # -berok will link without error, but may produce a broken library.
16802 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16803 allow_undefined_flag_GCJ
=' ${wl}-berok'
16804 # Exported symbols can be pulled into shared objects from archives
16805 whole_archive_flag_spec_GCJ
='$convenience'
16806 archive_cmds_need_lc_GCJ
=yes
16807 # This is similar to how AIX traditionally builds its shared libraries.
16808 archive_expsym_cmds_GCJ
="\$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'
16814 archive_cmds_GCJ
='$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)'
16815 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16816 hardcode_minus_L_GCJ
=yes
16817 # see comment about different semantics on the GNU ld section
16822 export_dynamic_flag_spec_GCJ
=-rdynamic
16825 cygwin
* | mingw
* | pw32
*)
16826 # When not using gcc, we currently assume that we are using
16827 # Microsoft Visual C++.
16828 # hardcode_libdir_flag_spec is actually meaningless, as there is
16829 # no search path for DLLs.
16830 hardcode_libdir_flag_spec_GCJ
=' '
16831 allow_undefined_flag_GCJ
=unsupported
16832 # Tell ltmain to make .lib files, not .a files.
16834 # Tell ltmain to make .dll files, not .so files.
16836 # FIXME: Setting linknames here is a bad hack.
16837 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16838 # The linker will automatically build a .lib file if we build a DLL.
16839 old_archive_From_new_cmds_GCJ
='true'
16840 # FIXME: Should let the user specify the lib program.
16841 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16842 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16843 enable_shared_with_static_runtimes_GCJ
=yes
16846 darwin
* | rhapsody
*)
16848 rhapsody
* | darwin1.
[012])
16849 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16852 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16853 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16855 case ${MACOSX_DEPLOYMENT_TARGET} in
16857 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16860 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16866 archive_cmds_need_lc_GCJ
=no
16867 hardcode_direct_GCJ
=no
16868 hardcode_automatic_GCJ
=yes
16869 hardcode_shlibpath_var_GCJ
=unsupported
16870 whole_archive_flag_spec_GCJ
=''
16871 link_all_deplibs_GCJ
=yes
16872 if test "$GCC" = yes ; then
16873 output_verbose_link_cmd
='echo'
16874 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16875 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16876 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16877 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16878 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16880 case $cc_basename in
16882 output_verbose_link_cmd
='echo'
16883 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16884 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16885 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16886 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16887 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16897 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16898 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16899 hardcode_shlibpath_var_GCJ
=no
16906 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16907 # support. Future versions do this automatically, but an explicit c++rt0.o
16908 # does not break anything, and helps significantly (at the cost of a little
16911 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16912 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16913 hardcode_direct_GCJ
=yes
16914 hardcode_shlibpath_var_GCJ
=no
16917 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16919 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16920 hardcode_direct_GCJ
=yes
16921 hardcode_minus_L_GCJ
=yes
16922 hardcode_shlibpath_var_GCJ
=no
16925 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16926 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16927 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16928 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16929 hardcode_direct_GCJ
=yes
16930 hardcode_shlibpath_var_GCJ
=no
16934 if test "$GCC" = yes; then
16935 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16937 archive_cmds_GCJ
='$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'
16939 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16940 hardcode_libdir_separator_GCJ
=:
16941 hardcode_direct_GCJ
=yes
16943 # hardcode_minus_L: Not really in the search PATH,
16944 # but as the default location of the library.
16945 hardcode_minus_L_GCJ
=yes
16946 export_dynamic_flag_spec_GCJ
='${wl}-E'
16950 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16951 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16953 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16955 if test "$with_gnu_ld" = no
; then
16956 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16957 hardcode_libdir_separator_GCJ
=:
16959 hardcode_direct_GCJ
=yes
16960 export_dynamic_flag_spec_GCJ
='${wl}-E'
16962 # hardcode_minus_L: Not really in the search PATH,
16963 # but as the default location of the library.
16964 hardcode_minus_L_GCJ
=yes
16969 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16972 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16975 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16978 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16984 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16987 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16990 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16994 if test "$with_gnu_ld" = no
; then
16995 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16996 hardcode_libdir_separator_GCJ
=:
17000 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17001 hardcode_direct_GCJ
=no
17002 hardcode_shlibpath_var_GCJ
=no
17005 hardcode_direct_GCJ
=yes
17006 export_dynamic_flag_spec_GCJ
='${wl}-E'
17008 # hardcode_minus_L: Not really in the search PATH,
17009 # but as the default location of the library.
17010 hardcode_minus_L_GCJ
=yes
17016 irix5
* | irix6
* | nonstopux
*)
17017 if test "$GCC" = yes; then
17018 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17020 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17021 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17023 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17024 hardcode_libdir_separator_GCJ
=:
17025 link_all_deplibs_GCJ
=yes
17029 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17030 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17032 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17034 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17035 hardcode_direct_GCJ
=yes
17036 hardcode_shlibpath_var_GCJ
=no
17040 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17041 hardcode_direct_GCJ
=yes
17042 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17043 hardcode_libdir_separator_GCJ
=:
17044 hardcode_shlibpath_var_GCJ
=no
17048 hardcode_direct_GCJ
=yes
17049 hardcode_shlibpath_var_GCJ
=no
17050 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17051 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17052 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17053 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17054 export_dynamic_flag_spec_GCJ
='${wl}-E'
17057 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17058 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17059 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17062 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17063 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17070 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17071 hardcode_minus_L_GCJ
=yes
17072 allow_undefined_flag_GCJ
=unsupported
17073 archive_cmds_GCJ
='$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'
17074 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17078 if test "$GCC" = yes; then
17079 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17080 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17082 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17083 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17085 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17086 hardcode_libdir_separator_GCJ
=:
17089 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17090 if test "$GCC" = yes; then
17091 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17092 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17093 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17095 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17096 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17097 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17098 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17100 # Both c and cxx compiler support -rpath directly
17101 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17103 hardcode_libdir_separator_GCJ
=:
17107 no_undefined_flag_GCJ
=' -z text'
17108 if test "$GCC" = yes; then
17110 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17111 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17112 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17115 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17116 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17117 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17119 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17120 hardcode_shlibpath_var_GCJ
=no
17122 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17124 # The compiler driver will combine linker options so we
17125 # cannot just pass the convience library names through
17126 # without $wl, iff we do not link with $LD.
17127 # Luckily, gcc supports the same syntax we need for Sun Studio.
17128 # Supported since Solaris 2.6 (maybe 2.5.1?)
17131 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17133 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17136 link_all_deplibs_GCJ
=yes
17140 if test "x$host_vendor" = xsequent
; then
17141 # Use $CC to link under sequent, because it throws in some extra .o
17142 # files that make .init and .fini sections work.
17143 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17145 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17147 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17148 hardcode_direct_GCJ
=yes
17149 hardcode_minus_L_GCJ
=yes
17150 hardcode_shlibpath_var_GCJ
=no
17154 case $host_vendor in
17156 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17157 hardcode_direct_GCJ
=yes # is this really true???
17160 ## LD is ld it makes a PLAMLIB
17161 ## CC just makes a GrossModule.
17162 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17163 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17164 hardcode_direct_GCJ
=no
17167 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17168 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17171 runpath_var
='LD_RUN_PATH'
17172 hardcode_shlibpath_var_GCJ
=no
17176 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17177 hardcode_shlibpath_var_GCJ
=no
17178 export_dynamic_flag_spec_GCJ
='-Bexport'
17182 if test -d /usr
/nec
; then
17183 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17184 hardcode_shlibpath_var_GCJ
=no
17185 runpath_var
=LD_RUN_PATH
17186 hardcode_runpath_var
=yes
17191 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17192 no_undefined_flag_GCJ
='${wl}-z,text'
17193 archive_cmds_need_lc_GCJ
=no
17194 hardcode_shlibpath_var_GCJ
=no
17195 runpath_var
='LD_RUN_PATH'
17197 if test "$GCC" = yes; then
17198 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17199 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17201 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17202 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17206 sysv5
* | sco3.2v5
* | sco5v6
*)
17207 # Note: We can NOT use -z defs as we might desire, because we do not
17208 # link with -lc, and that would cause any symbols used from libc to
17209 # always be unresolved, which means just about no library would
17210 # ever link correctly. If we're not using GNU ld we use -z text
17211 # though, which does catch some bad symbols but isn't as heavy-handed
17213 no_undefined_flag_GCJ
='${wl}-z,text'
17214 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17215 archive_cmds_need_lc_GCJ
=no
17216 hardcode_shlibpath_var_GCJ
=no
17217 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17218 hardcode_libdir_separator_GCJ
=':'
17219 link_all_deplibs_GCJ
=yes
17220 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17221 runpath_var
='LD_RUN_PATH'
17223 if test "$GCC" = yes; then
17224 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17225 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17227 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17228 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17233 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17234 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17235 hardcode_shlibpath_var_GCJ
=no
17244 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17245 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17246 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17249 # Do we need to explicitly link libc?
17251 case "x$archive_cmds_need_lc_GCJ" in
17253 # Assume -lc should be added
17254 archive_cmds_need_lc_GCJ
=yes
17256 if test "$enable_shared" = yes && test "$GCC" = yes; then
17257 case $archive_cmds_GCJ in
17259 # FIXME: we may have to deal with multi-command sequences.
17262 # Test whether the compiler implicitly links with -lc since on some
17263 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17264 # to ld, don't add -lc before -lgcc.
17265 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17266 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17268 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17271 (eval $ac_compile) 2>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } 2>conftest.err
; then
17277 libobjs
=conftest.
$ac_objext
17279 wl
=$lt_prog_compiler_wl_GCJ
17280 pic_flag
=$lt_prog_compiler_pic_GCJ
17286 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17287 allow_undefined_flag_GCJ
=
17288 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17289 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); }
17294 archive_cmds_need_lc_GCJ
=no
17296 archive_cmds_need_lc_GCJ
=yes
17298 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17300 cat conftest.err
1>&5
17303 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17304 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17311 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17312 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17313 library_names_spec
=
17314 libname_spec
='lib$name'
17318 postuninstall_cmds
=
17322 shlibpath_overrides_runpath
=unknown
17324 dynamic_linker
="$host_os ld.so"
17325 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17326 if test "$GCC" = yes; then
17327 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17328 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17329 # if the path contains ";" then we assume it to be the separator
17330 # otherwise default to the standard path separator (i.e. ":") - it is
17331 # assumed that no part of a normal pathname contains ";" but that should
17332 # okay in the real world where ";" in dirpaths is itself problematic.
17333 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17335 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17338 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17340 need_lib_prefix
=unknown
17341 hardcode_into_libs
=no
17343 # when you set need_version to no, make sure it does not cause -set_version
17344 # flags to be left without arguments
17345 need_version
=unknown
17350 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17351 shlibpath_var
=LIBPATH
17353 # AIX 3 has no versioning support, so we append a major version to the name.
17354 soname_spec
='${libname}${release}${shared_ext}$major'
17361 hardcode_into_libs
=yes
17362 if test "$host_cpu" = ia64
; then
17363 # AIX 5 supports IA64
17364 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17365 shlibpath_var
=LD_LIBRARY_PATH
17367 # With GCC up to 2.95.x, collect2 would create an import file
17368 # for dependence libraries. The import file would start with
17369 # the line `#! .'. This would cause the generated library to
17370 # depend on `.', always an invalid library. This was fixed in
17371 # development snapshots of GCC prior to 3.0.
17373 aix4 | aix4.
[01] | aix4.
[01].
*)
17374 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17376 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17379 can_build_shared
=no
17383 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17384 # soname into executable. Probably we can add versioning support to
17385 # collect2, so additional links can be useful in future.
17386 if test "$aix_use_runtimelinking" = yes; then
17387 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17388 # instead of lib<name>.a to let people know that these are not
17389 # typical AIX shared libraries.
17390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17392 # We preserve .a as extension for shared libraries through AIX4.2
17393 # and later when we are not doing run time linking.
17394 library_names_spec
='${libname}${release}.a $libname.a'
17395 soname_spec
='${libname}${release}${shared_ext}$major'
17397 shlibpath_var
=LIBPATH
17402 library_names_spec
='$libname.ixlibrary $libname.a'
17403 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17404 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17408 library_names_spec
='${libname}${shared_ext}'
17409 dynamic_linker
="$host_os ld.so"
17410 shlibpath_var
=LIBRARY_PATH
17416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17417 soname_spec
='${libname}${release}${shared_ext}$major'
17418 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17419 shlibpath_var
=LD_LIBRARY_PATH
17420 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17421 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17422 # the default ld.so.conf also contains /usr/contrib/lib and
17423 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17424 # libtool to hard-code these into programs
17427 cygwin
* | mingw
* | pw32
*)
17428 version_type
=windows
17433 case $GCC,$host_os in
17434 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17435 library_names_spec
='$libname.dll.a'
17436 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17437 postinstall_cmds
='base_file=`basename \${file}`~
17438 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17439 dldir=$destdir/`dirname \$dlpath`~
17440 test -d \$dldir || mkdir -p \$dldir~
17441 $install_prog $dir/$dlname \$dldir/$dlname~
17442 chmod a+x \$dldir/$dlname'
17443 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17444 dlpath=$dir/\$dldll~
17446 shlibpath_overrides_runpath
=yes
17450 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17451 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17452 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17455 # MinGW DLLs use traditional 'lib' prefix
17456 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17457 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17458 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17459 # It is most probably a Windows format PATH printed by
17460 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17461 # path with ; separators, and with drive letters. We can handle the
17462 # drive letters (cygwin fileutils understands them), so leave them,
17463 # especially as we might pass files found there to a mingw objdump,
17464 # which wouldn't understand a cygwinified path. Ahh.
17465 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17467 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17471 # pw32 DLLs use 'pw' prefix rather than 'lib'
17472 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17478 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17481 dynamic_linker
='Win32 ld.exe'
17482 # FIXME: first we should search . and the directory the executable is in
17486 darwin
* | rhapsody
*)
17487 dynamic_linker
="$host_os dyld"
17488 version_type
=darwin
17491 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17492 soname_spec
='${libname}${release}${major}$shared_ext'
17493 shlibpath_overrides_runpath
=yes
17494 shlibpath_var
=DYLD_LIBRARY_PATH
17495 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17496 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17497 if test "$GCC" = yes; then
17498 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17500 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17502 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17510 soname_spec
='${libname}${release}${shared_ext}$major'
17511 shlibpath_var
=LD_LIBRARY_PATH
17522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17523 soname_spec
='${libname}${release}${shared_ext}$major'
17524 shlibpath_var
=LD_LIBRARY_PATH
17525 shlibpath_overrides_runpath
=no
17526 hardcode_into_libs
=yes
17527 dynamic_linker
='GNU ld.so'
17530 freebsd
* | dragonfly
*)
17531 # DragonFly does not have aout. When/if they implement a new
17532 # versioning mechanism, adjust this.
17533 if test -x /usr
/bin
/objformat
; then
17534 objformat
=`/usr/bin/objformat`
17537 freebsd
[123]*) objformat
=aout
;;
17538 *) objformat
=elf
;;
17541 version_type
=freebsd-
$objformat
17542 case $version_type in
17544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17549 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17553 shlibpath_var
=LD_LIBRARY_PATH
17556 shlibpath_overrides_runpath
=yes
17558 freebsd3.
[01]* | freebsdelf3.
[01]*)
17559 shlibpath_overrides_runpath
=yes
17560 hardcode_into_libs
=yes
17562 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17563 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17564 shlibpath_overrides_runpath
=no
17565 hardcode_into_libs
=yes
17567 freebsd
*) # from 4.6 on
17568 shlibpath_overrides_runpath
=yes
17569 hardcode_into_libs
=yes
17578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17579 soname_spec
='${libname}${release}${shared_ext}$major'
17580 shlibpath_var
=LD_LIBRARY_PATH
17581 hardcode_into_libs
=yes
17584 hpux9
* | hpux10
* | hpux11
*)
17585 # Give a soname corresponding to the major version so that dld.sl refuses to
17586 # link against other versions.
17593 hardcode_into_libs
=yes
17594 dynamic_linker
="$host_os dld.so"
17595 shlibpath_var
=LD_LIBRARY_PATH
17596 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17598 soname_spec
='${libname}${release}${shared_ext}$major'
17599 if test "X$HPUX_IA64_MODE" = X32
; then
17600 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17602 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17604 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17608 hardcode_into_libs
=yes
17609 dynamic_linker
="$host_os dld.sl"
17610 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17611 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17613 soname_spec
='${libname}${release}${shared_ext}$major'
17614 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17615 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17619 dynamic_linker
="$host_os dld.sl"
17620 shlibpath_var
=SHLIB_PATH
17621 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17623 soname_spec
='${libname}${release}${shared_ext}$major'
17626 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17627 postinstall_cmds
='chmod 555 $lib'
17634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17635 soname_spec
='${libname}${release}${shared_ext}$major'
17636 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17637 shlibpath_var
=LD_LIBRARY_PATH
17638 shlibpath_overrides_runpath
=no
17639 hardcode_into_libs
=yes
17642 irix5
* | irix6
* | nonstopux
*)
17644 nonstopux
*) version_type
=nonstopux
;;
17646 if test "$lt_cv_prog_gnu_ld" = yes; then
17654 soname_spec
='${libname}${release}${shared_ext}$major'
17655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17657 irix5
* | nonstopux
*)
17658 libsuff
= shlibsuff
=
17661 case $LD in # libtool.m4 will add one of these switches to LD
17662 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17663 libsuff
= shlibsuff
= libmagic
=32-bit;;
17664 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17665 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17666 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17667 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17668 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17672 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17673 shlibpath_overrides_runpath
=no
17674 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17675 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17676 hardcode_into_libs
=yes
17679 # No shared lib support for Linux oldld, aout, or coff.
17680 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17684 # This must be Linux ELF.
17689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17690 soname_spec
='${libname}${release}${shared_ext}$major'
17691 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17692 shlibpath_var
=LD_LIBRARY_PATH
17693 shlibpath_overrides_runpath
=no
17694 # This implies no fast_install, which is unacceptable.
17695 # Some rework will be needed to allow for fast_install
17696 # before this can be enabled.
17697 hardcode_into_libs
=yes
17699 # find out which ABI we are using
17701 case "$host_cpu" in
17702 x86_64
*|s390x
*|powerpc64
*)
17703 echo '#line 17703 "configure"' > conftest.
$ac_ext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705 (eval $ac_compile) 2>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; then
17709 case `/usr/bin/file conftest.$ac_objext` in
17712 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17720 # Append ld.so.conf contents to the search path
17721 if test -f /etc
/ld.so.conf
; then
17722 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17723 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17726 # We used to test for /lib/ld.so.1 and disable shared libraries on
17727 # powerpc, because MkLinux only supported shared libraries with the
17728 # GNU dynamic linker. Since this was broken with cross compilers,
17729 # most powerpc-linux boxes support dynamic linking these days and
17730 # people can always --disable-shared, the test was removed, and we
17731 # assume the GNU/Linux dynamic linker is in use.
17732 dynamic_linker
='GNU/Linux ld.so'
17739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17740 soname_spec
='${libname}${release}${shared_ext}$major'
17741 shlibpath_var
=LD_LIBRARY_PATH
17742 shlibpath_overrides_runpath
=no
17743 hardcode_into_libs
=yes
17744 dynamic_linker
='GNU ld.so'
17751 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17753 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17754 dynamic_linker
='NetBSD (a.out) ld.so'
17756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17757 soname_spec
='${libname}${release}${shared_ext}$major'
17758 dynamic_linker
='NetBSD ld.elf_so'
17760 shlibpath_var
=LD_LIBRARY_PATH
17761 shlibpath_overrides_runpath
=yes
17762 hardcode_into_libs
=yes
17767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17768 shlibpath_var
=LD_LIBRARY_PATH
17769 shlibpath_overrides_runpath
=yes
17776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17777 soname_spec
='${libname}${release}${shared_ext}$major'
17778 shlibpath_var
=LD_LIBRARY_PATH
17779 shlibpath_overrides_runpath
=yes
17784 sys_lib_dlsearch_path_spec
="/usr/lib"
17786 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17788 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17789 *) need_version
=no
;;
17791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17792 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17793 shlibpath_var
=LD_LIBRARY_PATH
17794 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17796 openbsd2.
[89] | openbsd2.
[89].
*)
17797 shlibpath_overrides_runpath
=no
17800 shlibpath_overrides_runpath
=yes
17804 shlibpath_overrides_runpath
=yes
17809 libname_spec
='$name'
17812 library_names_spec
='$libname${shared_ext} $libname.a'
17813 dynamic_linker
='OS/2 ld.exe'
17814 shlibpath_var
=LIBPATH
17817 osf3
* | osf4
* | osf5
*)
17821 soname_spec
='${libname}${release}${shared_ext}$major'
17822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17823 shlibpath_var
=LD_LIBRARY_PATH
17824 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17825 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17833 soname_spec
='${libname}${release}${shared_ext}$major'
17834 shlibpath_var
=LD_LIBRARY_PATH
17835 shlibpath_overrides_runpath
=yes
17836 hardcode_into_libs
=yes
17837 # ldd complains unless libraries are executable
17838 postinstall_cmds
='chmod +x $lib'
17843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17844 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17845 shlibpath_var
=LD_LIBRARY_PATH
17846 shlibpath_overrides_runpath
=yes
17847 if test "$with_gnu_ld" = yes; then
17855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17856 soname_spec
='${libname}${release}${shared_ext}$major'
17857 shlibpath_var
=LD_LIBRARY_PATH
17858 case $host_vendor in
17860 shlibpath_overrides_runpath
=no
17862 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17863 runpath_var
=LD_RUN_PATH
17871 shlibpath_overrides_runpath
=no
17872 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17878 if test -d /usr
/nec
;then
17880 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17881 soname_spec
='$libname${shared_ext}.$major'
17882 shlibpath_var
=LD_LIBRARY_PATH
17886 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17887 version_type
=freebsd-elf
17890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17891 soname_spec
='${libname}${release}${shared_ext}$major'
17892 shlibpath_var
=LD_LIBRARY_PATH
17893 hardcode_into_libs
=yes
17894 if test "$with_gnu_ld" = yes; then
17895 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17896 shlibpath_overrides_runpath
=no
17898 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17899 shlibpath_overrides_runpath
=yes
17902 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17906 sys_lib_dlsearch_path_spec
='/usr/lib'
17911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17912 soname_spec
='${libname}${release}${shared_ext}$major'
17913 shlibpath_var
=LD_LIBRARY_PATH
17920 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17921 echo "${ECHO_T}$dynamic_linker" >&6
17922 test "$dynamic_linker" = no
&& can_build_shared
=no
17924 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17925 if test "$GCC" = yes; then
17926 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17929 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17930 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17931 hardcode_action_GCJ
=
17932 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17933 test -n "$runpath_var_GCJ" || \
17934 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17936 # We can hardcode non-existant directories.
17937 if test "$hardcode_direct_GCJ" != no
&&
17938 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17939 # have to relink, otherwise we might link with an installed library
17940 # when we should be linking with a yet-to-be-installed one
17941 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17942 test "$hardcode_minus_L_GCJ" != no
; then
17943 # Linking always hardcodes the temporary library directory.
17944 hardcode_action_GCJ
=relink
17946 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17947 hardcode_action_GCJ
=immediate
17950 # We cannot hardcode anything, or else we can only hardcode existing
17952 hardcode_action_GCJ
=unsupported
17954 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17955 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17957 if test "$hardcode_action_GCJ" = relink
; then
17958 # Fast installation is not supported
17959 enable_fast_install
=no
17960 elif test "$shlibpath_overrides_runpath" = yes ||
17961 test "$enable_shared" = no
; then
17962 # Fast installation is not necessary
17963 enable_fast_install
=needless
17967 # The else clause should only fire when bootstrapping the
17968 # libtool distribution, otherwise you forgot to ship ltmain.sh
17969 # with your package, and you will get complaints that there are
17970 # no rules to generate ltmain.sh.
17971 if test -f "$ltmain"; then
17972 # See if we are running on zsh, and set the options which allow our commands through
17973 # without removal of \ escapes.
17974 if test -n "${ZSH_VERSION+set}" ; then
17975 setopt NO_GLOB_SUBST
17977 # Now quote all the things that may contain metacharacters while being
17978 # careful not to overquote the AC_SUBSTed values. We take copies of the
17979 # variables and quote the copies for generation of the libtool script.
17980 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17982 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17983 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17984 deplibs_check_method reload_flag reload_cmds need_locks \
17985 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17986 lt_cv_sys_global_symbol_to_c_name_address \
17987 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17988 old_postinstall_cmds old_postuninstall_cmds \
17992 lt_prog_compiler_wl_GCJ \
17993 lt_prog_compiler_pic_GCJ \
17994 lt_prog_compiler_static_GCJ \
17995 lt_prog_compiler_no_builtin_flag_GCJ \
17996 export_dynamic_flag_spec_GCJ \
17997 thread_safe_flag_spec_GCJ \
17998 whole_archive_flag_spec_GCJ \
17999 enable_shared_with_static_runtimes_GCJ \
18000 old_archive_cmds_GCJ \
18001 old_archive_from_new_cmds_GCJ \
18002 predep_objects_GCJ \
18003 postdep_objects_GCJ \
18006 compiler_lib_search_path_GCJ \
18008 archive_expsym_cmds_GCJ \
18009 postinstall_cmds_GCJ \
18010 postuninstall_cmds_GCJ \
18011 old_archive_from_expsyms_cmds_GCJ \
18012 allow_undefined_flag_GCJ \
18013 no_undefined_flag_GCJ \
18014 export_symbols_cmds_GCJ \
18015 hardcode_libdir_flag_spec_GCJ \
18016 hardcode_libdir_flag_spec_ld_GCJ \
18017 hardcode_libdir_separator_GCJ \
18018 hardcode_automatic_GCJ \
18020 module_expsym_cmds_GCJ \
18021 lt_cv_prog_compiler_c_o_GCJ \
18022 exclude_expsyms_GCJ \
18023 include_expsyms_GCJ
; do
18026 old_archive_cmds_GCJ | \
18027 old_archive_from_new_cmds_GCJ | \
18028 archive_cmds_GCJ | \
18029 archive_expsym_cmds_GCJ | \
18030 module_cmds_GCJ | \
18031 module_expsym_cmds_GCJ | \
18032 old_archive_from_expsyms_cmds_GCJ | \
18033 export_symbols_cmds_GCJ | \
18034 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18035 postinstall_cmds | postuninstall_cmds | \
18036 old_postinstall_cmds | old_postuninstall_cmds | \
18037 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18038 # Double-quote double-evaled strings.
18039 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18042 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18048 *'\$0 --fallback-echo"')
18049 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18055 cat <<__EOF__ >> "$cfgfile"
18056 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18058 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18060 # Shell to use when invoking shell scripts.
18063 # Whether or not to build shared libraries.
18064 build_libtool_libs=$enable_shared
18066 # Whether or not to build static libraries.
18067 build_old_libs=$enable_static
18069 # Whether or not to add -lc for building shared libraries.
18070 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18072 # Whether or not to disallow shared libs when runtime libs are static
18073 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18075 # Whether or not to optimize for fast installation.
18076 fast_install=$enable_fast_install
18079 host_alias=$host_alias
18083 # The build system.
18084 build_alias=$build_alias
18088 # An echo program that does not interpret backslashes.
18093 AR_FLAGS=$lt_AR_FLAGS
18098 # LTCC compiler flags.
18099 LTCFLAGS=$lt_LTCFLAGS
18101 # A language-specific compiler.
18102 CC=$lt_compiler_GCJ
18104 # Is the compiler the GNU C compiler?
18107 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18108 gcc_ver=\`gcc -dumpversion\`
18113 # The linker used to build libraries.
18116 # Whether we need hard or soft links.
18119 # A BSD-compatible nm program.
18122 # A symbol stripping program
18125 # Used to examine libraries when file_magic_cmd begins "file"
18126 MAGIC_CMD=$MAGIC_CMD
18128 # Used on cygwin: DLL creation program.
18131 # Used on cygwin: object dumper.
18134 # Used on cygwin: assembler.
18137 # The name of the directory that contains temporary libtool files.
18140 # How to create reloadable object files.
18141 reload_flag=$lt_reload_flag
18142 reload_cmds=$lt_reload_cmds
18144 # How to pass a linker flag through the compiler.
18145 wl=$lt_lt_prog_compiler_wl_GCJ
18147 # Object file suffix (normally "o").
18148 objext="$ac_objext"
18150 # Old archive suffix (normally "a").
18153 # Shared library suffix (normally ".so").
18154 shrext_cmds='$shrext_cmds'
18156 # Executable file suffix (normally "").
18159 # Additional compiler flags for building library objects.
18160 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18163 # What is the maximum length of a command?
18164 max_cmd_len=$lt_cv_sys_max_cmd_len
18166 # Does compiler simultaneously support -c and -o options?
18167 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18169 # Must we lock files when doing compilation?
18170 need_locks=$lt_need_locks
18172 # Do we need the lib prefix for modules?
18173 need_lib_prefix=$need_lib_prefix
18175 # Do we need a version for libraries?
18176 need_version=$need_version
18178 # Whether dlopen is supported.
18179 dlopen_support=$enable_dlopen
18181 # Whether dlopen of programs is supported.
18182 dlopen_self=$enable_dlopen_self
18184 # Whether dlopen of statically linked programs is supported.
18185 dlopen_self_static=$enable_dlopen_self_static
18187 # Compiler flag to prevent dynamic linking.
18188 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18190 # Compiler flag to turn off builtin functions.
18191 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18193 # Compiler flag to allow reflexive dlopens.
18194 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18196 # Compiler flag to generate shared objects directly from archives.
18197 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18199 # Compiler flag to generate thread-safe objects.
18200 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18202 # Library versioning type.
18203 version_type=$version_type
18205 # Format of library name prefix.
18206 libname_spec=$lt_libname_spec
18208 # List of archive names. First name is the real one, the rest are links.
18209 # The last name is the one that the linker finds with -lNAME.
18210 library_names_spec=$lt_library_names_spec
18212 # The coded name of the library, if different from the real name.
18213 soname_spec=$lt_soname_spec
18215 # Commands used to build and install an old-style archive.
18217 old_archive_cmds=$lt_old_archive_cmds_GCJ
18218 old_postinstall_cmds=$lt_old_postinstall_cmds
18219 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18221 # Create an old-style archive from a shared archive.
18222 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18224 # Create a temporary old-style archive to link instead of a shared archive.
18225 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18227 # Commands used to build and install a shared archive.
18228 archive_cmds=$lt_archive_cmds_GCJ
18229 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18230 postinstall_cmds=$lt_postinstall_cmds
18231 postuninstall_cmds=$lt_postuninstall_cmds
18233 # Commands used to build a loadable module (assumed same as above if empty)
18234 module_cmds=$lt_module_cmds_GCJ
18235 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18237 # Commands to strip libraries.
18238 old_striplib=$lt_old_striplib
18239 striplib=$lt_striplib
18241 # Dependencies to place before the objects being linked to create a
18243 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18245 # Dependencies to place after the objects being linked to create a
18247 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18249 # Dependencies to place before the objects being linked to create a
18251 predeps=$lt_predeps_GCJ
18253 # Dependencies to place after the objects being linked to create a
18255 postdeps=$lt_postdeps_GCJ
18257 # The library search path used internally by the compiler when linking
18258 # a shared library.
18259 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18261 # Method to check whether dependent libraries are shared objects.
18262 deplibs_check_method=$lt_deplibs_check_method
18264 # Command to use when deplibs_check_method == file_magic.
18265 file_magic_cmd=$lt_file_magic_cmd
18267 # Flag that allows shared libraries with undefined symbols to be built.
18268 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18270 # Flag that forces no undefined symbols.
18271 no_undefined_flag=$lt_no_undefined_flag_GCJ
18273 # Commands used to finish a libtool library installation in a directory.
18274 finish_cmds=$lt_finish_cmds
18276 # Same as above, but a single script fragment to be evaled but not shown.
18277 finish_eval=$lt_finish_eval
18279 # Take the output of nm and produce a listing of raw symbols and C names.
18280 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18282 # Transform the output of nm in a proper C declaration
18283 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18285 # Transform the output of nm in a C name address pair
18286 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18288 # This is the shared library runtime path variable.
18289 runpath_var=$runpath_var
18291 # This is the shared library path variable.
18292 shlibpath_var=$shlibpath_var
18294 # Is shlibpath searched before the hard-coded library search path?
18295 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18297 # How to hardcode a shared library path into an executable.
18298 hardcode_action=$hardcode_action_GCJ
18300 # Whether we should hardcode library paths into libraries.
18301 hardcode_into_libs=$hardcode_into_libs
18303 # Flag to hardcode \$libdir into a binary during linking.
18304 # This must work even if \$libdir does not exist.
18305 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18307 # If ld is used when linking, flag to hardcode \$libdir into
18308 # a binary during linking. This must work even if \$libdir does
18310 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18312 # Whether we need a single -rpath flag with a separated argument.
18313 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18315 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18316 # resulting binary.
18317 hardcode_direct=$hardcode_direct_GCJ
18319 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18320 # resulting binary.
18321 hardcode_minus_L=$hardcode_minus_L_GCJ
18323 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18324 # the resulting binary.
18325 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18327 # Set to yes if building a shared library automatically hardcodes DIR into the library
18328 # and all subsequent libraries and executables linked against it.
18329 hardcode_automatic=$hardcode_automatic_GCJ
18331 # Variables whose values should be saved in libtool wrapper scripts and
18332 # restored at relink time.
18333 variables_saved_for_relink="$variables_saved_for_relink"
18335 # Whether libtool must link a program against all its dependency libraries.
18336 link_all_deplibs=$link_all_deplibs_GCJ
18338 # Compile-time system search path for libraries
18339 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18341 # Run-time system search path for libraries
18342 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18344 # Fix the shell variable \$srcfile for the compiler.
18345 fix_srcfile_path="$fix_srcfile_path_GCJ"
18347 # Set to yes if exported symbols are required.
18348 always_export_symbols=$always_export_symbols_GCJ
18350 # The commands to list exported symbols.
18351 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18353 # The commands to extract the exported symbol list from a shared archive.
18354 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18356 # Symbols that should not be listed in the preloaded symbols.
18357 exclude_expsyms=$lt_exclude_expsyms_GCJ
18359 # Symbols that must always be exported.
18360 include_expsyms=$lt_include_expsyms_GCJ
18362 # ### END LIBTOOL TAG CONFIG: $tagname
18368 # If there is no Makefile yet, we rely on a make rule to execute
18369 # `config.status --recheck' to rerun these tests and create the
18370 # libtool script then.
18371 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18372 if test -f "$ltmain_in"; then
18373 test -f Makefile
&& make "$ltmain"
18379 ac_cpp
='$CPP $CPPFLAGS'
18380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18395 # Source file extension for RC test sources.
18398 # Object file extension for compiled RC test sources.
18402 # Code to be used in simple compile tests
18403 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18405 # Code to be used in simple link tests
18406 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18408 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18410 # If no C compiler was specified, use CC.
18413 # If no C compiler flags were specified, use CFLAGS.
18414 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18416 # Allow CC to be a program name with arguments.
18420 # save warnings/boilerplate of simple test code
18421 ac_outfile
=conftest.
$ac_objext
18422 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18423 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18424 _lt_compiler_boilerplate
=`cat conftest.err`
18427 ac_outfile
=conftest.
$ac_objext
18428 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18429 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18430 _lt_linker_boilerplate
=`cat conftest.err`
18434 # Allow CC to be a program name with arguments.
18439 for cc_temp
in $compiler""; do
18441 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18442 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18447 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18449 lt_cv_prog_compiler_c_o_RC
=yes
18451 # The else clause should only fire when bootstrapping the
18452 # libtool distribution, otherwise you forgot to ship ltmain.sh
18453 # with your package, and you will get complaints that there are
18454 # no rules to generate ltmain.sh.
18455 if test -f "$ltmain"; then
18456 # See if we are running on zsh, and set the options which allow our commands through
18457 # without removal of \ escapes.
18458 if test -n "${ZSH_VERSION+set}" ; then
18459 setopt NO_GLOB_SUBST
18461 # Now quote all the things that may contain metacharacters while being
18462 # careful not to overquote the AC_SUBSTed values. We take copies of the
18463 # variables and quote the copies for generation of the libtool script.
18464 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18466 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18467 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18468 deplibs_check_method reload_flag reload_cmds need_locks \
18469 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18470 lt_cv_sys_global_symbol_to_c_name_address \
18471 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18472 old_postinstall_cmds old_postuninstall_cmds \
18476 lt_prog_compiler_wl_RC \
18477 lt_prog_compiler_pic_RC \
18478 lt_prog_compiler_static_RC \
18479 lt_prog_compiler_no_builtin_flag_RC \
18480 export_dynamic_flag_spec_RC \
18481 thread_safe_flag_spec_RC \
18482 whole_archive_flag_spec_RC \
18483 enable_shared_with_static_runtimes_RC \
18484 old_archive_cmds_RC \
18485 old_archive_from_new_cmds_RC \
18486 predep_objects_RC \
18487 postdep_objects_RC \
18490 compiler_lib_search_path_RC \
18492 archive_expsym_cmds_RC \
18493 postinstall_cmds_RC \
18494 postuninstall_cmds_RC \
18495 old_archive_from_expsyms_cmds_RC \
18496 allow_undefined_flag_RC \
18497 no_undefined_flag_RC \
18498 export_symbols_cmds_RC \
18499 hardcode_libdir_flag_spec_RC \
18500 hardcode_libdir_flag_spec_ld_RC \
18501 hardcode_libdir_separator_RC \
18502 hardcode_automatic_RC \
18504 module_expsym_cmds_RC \
18505 lt_cv_prog_compiler_c_o_RC \
18506 exclude_expsyms_RC \
18507 include_expsyms_RC
; do
18510 old_archive_cmds_RC | \
18511 old_archive_from_new_cmds_RC | \
18512 archive_cmds_RC | \
18513 archive_expsym_cmds_RC | \
18515 module_expsym_cmds_RC | \
18516 old_archive_from_expsyms_cmds_RC | \
18517 export_symbols_cmds_RC | \
18518 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18519 postinstall_cmds | postuninstall_cmds | \
18520 old_postinstall_cmds | old_postuninstall_cmds | \
18521 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18522 # Double-quote double-evaled strings.
18523 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18526 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18532 *'\$0 --fallback-echo"')
18533 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18539 cat <<__EOF__ >> "$cfgfile"
18540 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18542 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18544 # Shell to use when invoking shell scripts.
18547 # Whether or not to build shared libraries.
18548 build_libtool_libs=$enable_shared
18550 # Whether or not to build static libraries.
18551 build_old_libs=$enable_static
18553 # Whether or not to add -lc for building shared libraries.
18554 build_libtool_need_lc=$archive_cmds_need_lc_RC
18556 # Whether or not to disallow shared libs when runtime libs are static
18557 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18559 # Whether or not to optimize for fast installation.
18560 fast_install=$enable_fast_install
18563 host_alias=$host_alias
18567 # The build system.
18568 build_alias=$build_alias
18572 # An echo program that does not interpret backslashes.
18577 AR_FLAGS=$lt_AR_FLAGS
18582 # LTCC compiler flags.
18583 LTCFLAGS=$lt_LTCFLAGS
18585 # A language-specific compiler.
18588 # Is the compiler the GNU C compiler?
18591 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18592 gcc_ver=\`gcc -dumpversion\`
18597 # The linker used to build libraries.
18600 # Whether we need hard or soft links.
18603 # A BSD-compatible nm program.
18606 # A symbol stripping program
18609 # Used to examine libraries when file_magic_cmd begins "file"
18610 MAGIC_CMD=$MAGIC_CMD
18612 # Used on cygwin: DLL creation program.
18615 # Used on cygwin: object dumper.
18618 # Used on cygwin: assembler.
18621 # The name of the directory that contains temporary libtool files.
18624 # How to create reloadable object files.
18625 reload_flag=$lt_reload_flag
18626 reload_cmds=$lt_reload_cmds
18628 # How to pass a linker flag through the compiler.
18629 wl=$lt_lt_prog_compiler_wl_RC
18631 # Object file suffix (normally "o").
18632 objext="$ac_objext"
18634 # Old archive suffix (normally "a").
18637 # Shared library suffix (normally ".so").
18638 shrext_cmds='$shrext_cmds'
18640 # Executable file suffix (normally "").
18643 # Additional compiler flags for building library objects.
18644 pic_flag=$lt_lt_prog_compiler_pic_RC
18647 # What is the maximum length of a command?
18648 max_cmd_len=$lt_cv_sys_max_cmd_len
18650 # Does compiler simultaneously support -c and -o options?
18651 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18653 # Must we lock files when doing compilation?
18654 need_locks=$lt_need_locks
18656 # Do we need the lib prefix for modules?
18657 need_lib_prefix=$need_lib_prefix
18659 # Do we need a version for libraries?
18660 need_version=$need_version
18662 # Whether dlopen is supported.
18663 dlopen_support=$enable_dlopen
18665 # Whether dlopen of programs is supported.
18666 dlopen_self=$enable_dlopen_self
18668 # Whether dlopen of statically linked programs is supported.
18669 dlopen_self_static=$enable_dlopen_self_static
18671 # Compiler flag to prevent dynamic linking.
18672 link_static_flag=$lt_lt_prog_compiler_static_RC
18674 # Compiler flag to turn off builtin functions.
18675 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18677 # Compiler flag to allow reflexive dlopens.
18678 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18680 # Compiler flag to generate shared objects directly from archives.
18681 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18683 # Compiler flag to generate thread-safe objects.
18684 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18686 # Library versioning type.
18687 version_type=$version_type
18689 # Format of library name prefix.
18690 libname_spec=$lt_libname_spec
18692 # List of archive names. First name is the real one, the rest are links.
18693 # The last name is the one that the linker finds with -lNAME.
18694 library_names_spec=$lt_library_names_spec
18696 # The coded name of the library, if different from the real name.
18697 soname_spec=$lt_soname_spec
18699 # Commands used to build and install an old-style archive.
18701 old_archive_cmds=$lt_old_archive_cmds_RC
18702 old_postinstall_cmds=$lt_old_postinstall_cmds
18703 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18705 # Create an old-style archive from a shared archive.
18706 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18708 # Create a temporary old-style archive to link instead of a shared archive.
18709 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18711 # Commands used to build and install a shared archive.
18712 archive_cmds=$lt_archive_cmds_RC
18713 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18714 postinstall_cmds=$lt_postinstall_cmds
18715 postuninstall_cmds=$lt_postuninstall_cmds
18717 # Commands used to build a loadable module (assumed same as above if empty)
18718 module_cmds=$lt_module_cmds_RC
18719 module_expsym_cmds=$lt_module_expsym_cmds_RC
18721 # Commands to strip libraries.
18722 old_striplib=$lt_old_striplib
18723 striplib=$lt_striplib
18725 # Dependencies to place before the objects being linked to create a
18727 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18729 # Dependencies to place after the objects being linked to create a
18731 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18733 # Dependencies to place before the objects being linked to create a
18735 predeps=$lt_predeps_RC
18737 # Dependencies to place after the objects being linked to create a
18739 postdeps=$lt_postdeps_RC
18741 # The library search path used internally by the compiler when linking
18742 # a shared library.
18743 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18745 # Method to check whether dependent libraries are shared objects.
18746 deplibs_check_method=$lt_deplibs_check_method
18748 # Command to use when deplibs_check_method == file_magic.
18749 file_magic_cmd=$lt_file_magic_cmd
18751 # Flag that allows shared libraries with undefined symbols to be built.
18752 allow_undefined_flag=$lt_allow_undefined_flag_RC
18754 # Flag that forces no undefined symbols.
18755 no_undefined_flag=$lt_no_undefined_flag_RC
18757 # Commands used to finish a libtool library installation in a directory.
18758 finish_cmds=$lt_finish_cmds
18760 # Same as above, but a single script fragment to be evaled but not shown.
18761 finish_eval=$lt_finish_eval
18763 # Take the output of nm and produce a listing of raw symbols and C names.
18764 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18766 # Transform the output of nm in a proper C declaration
18767 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18769 # Transform the output of nm in a C name address pair
18770 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18772 # This is the shared library runtime path variable.
18773 runpath_var=$runpath_var
18775 # This is the shared library path variable.
18776 shlibpath_var=$shlibpath_var
18778 # Is shlibpath searched before the hard-coded library search path?
18779 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18781 # How to hardcode a shared library path into an executable.
18782 hardcode_action=$hardcode_action_RC
18784 # Whether we should hardcode library paths into libraries.
18785 hardcode_into_libs=$hardcode_into_libs
18787 # Flag to hardcode \$libdir into a binary during linking.
18788 # This must work even if \$libdir does not exist.
18789 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18791 # If ld is used when linking, flag to hardcode \$libdir into
18792 # a binary during linking. This must work even if \$libdir does
18794 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18796 # Whether we need a single -rpath flag with a separated argument.
18797 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18799 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18800 # resulting binary.
18801 hardcode_direct=$hardcode_direct_RC
18803 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18804 # resulting binary.
18805 hardcode_minus_L=$hardcode_minus_L_RC
18807 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18808 # the resulting binary.
18809 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18811 # Set to yes if building a shared library automatically hardcodes DIR into the library
18812 # and all subsequent libraries and executables linked against it.
18813 hardcode_automatic=$hardcode_automatic_RC
18815 # Variables whose values should be saved in libtool wrapper scripts and
18816 # restored at relink time.
18817 variables_saved_for_relink="$variables_saved_for_relink"
18819 # Whether libtool must link a program against all its dependency libraries.
18820 link_all_deplibs=$link_all_deplibs_RC
18822 # Compile-time system search path for libraries
18823 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18825 # Run-time system search path for libraries
18826 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18828 # Fix the shell variable \$srcfile for the compiler.
18829 fix_srcfile_path="$fix_srcfile_path_RC"
18831 # Set to yes if exported symbols are required.
18832 always_export_symbols=$always_export_symbols_RC
18834 # The commands to list exported symbols.
18835 export_symbols_cmds=$lt_export_symbols_cmds_RC
18837 # The commands to extract the exported symbol list from a shared archive.
18838 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18840 # Symbols that should not be listed in the preloaded symbols.
18841 exclude_expsyms=$lt_exclude_expsyms_RC
18843 # Symbols that must always be exported.
18844 include_expsyms=$lt_include_expsyms_RC
18846 # ### END LIBTOOL TAG CONFIG: $tagname
18852 # If there is no Makefile yet, we rely on a make rule to execute
18853 # `config.status --recheck' to rerun these tests and create the
18854 # libtool script then.
18855 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18856 if test -f "$ltmain_in"; then
18857 test -f Makefile
&& make "$ltmain"
18863 ac_cpp
='$CPP $CPPFLAGS'
18864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18873 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18874 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18875 { (exit 1); exit 1; }; }
18879 # Append the new tag name to the list of available tags.
18880 if test -n "$tagname" ; then
18881 available_tags
="$available_tags $tagname"
18887 # Now substitute the updated list of available tags.
18888 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18889 mv "${ofile}T" "$ofile"
18893 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18894 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18895 { (exit 1); exit 1; }; }
18901 # This can be used to rebuild libtool when needed
18902 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18904 # Always use our own libtool.
18905 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18907 # Prevent multiple expansion
18930 echo "$as_me:$LINENO: checking spl license" >&5
18931 echo $ECHO_N "checking spl license... $ECHO_C" >&6
18933 echo "$as_me:$LINENO: result: $LICENSE" >&5
18934 echo "${ECHO_T}$LICENSE" >&6
18935 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DHAVE_GPL_ONLY_SYMBOLS"
18941 # Check whether --with-config or --without-config was given.
18942 if test "${with_config+set}" = set; then
18943 withval
="$with_config"
18944 SPL_CONFIG
="$withval"
18947 echo "$as_me:$LINENO: checking spl config" >&5
18948 echo $ECHO_N "checking spl config... $ECHO_C" >&6
18949 echo "$as_me:$LINENO: result: $SPL_CONFIG" >&5
18950 echo "${ECHO_T}$SPL_CONFIG" >&6;
18953 case "$SPL_CONFIG" in
18957 # Check whether --with-linux or --without-linux was given.
18958 if test "${with_linux+set}" = set; then
18959 withval
="$with_linux"
18960 kernelsrc
="$withval"
18964 # Check whether --with-linux-obj or --without-linux-obj was given.
18965 if test "${with_linux_obj+set}" = set; then
18966 withval
="$with_linux_obj"
18967 kernelbuild
="$withval"
18970 echo "$as_me:$LINENO: checking kernel source directory" >&5
18971 echo $ECHO_N "checking kernel source directory... $ECHO_C" >&6
18972 if test -z "$kernelsrc"; then
18973 sourcelink
=`ls -1d /usr/src/kernels/* /usr/src/linux-* \
18974 2>/dev/null | grep -v obj | tail -1`
18976 if test -e ${sourcelink}; then
18977 kernelsrc
=`readlink -f ${sourcelink}`
18979 echo "$as_me:$LINENO: result: Not found" >&5
18980 echo "${ECHO_T}Not found" >&6
18981 { { echo "$as_me:$LINENO: error:
18982 *** Please specify the location of the kernel source
18983 *** with the '--with-linux=PATH' option" >&5
18984 echo "$as_me: error:
18985 *** Please specify the location of the kernel source
18986 *** with the '--with-linux=PATH' option" >&2;}
18987 { (exit 1); exit 1; }; }
18990 if test "$kernelsrc" = "NONE"; then
18995 echo "$as_me:$LINENO: result: $kernelsrc" >&5
18996 echo "${ECHO_T}$kernelsrc" >&6
18997 echo "$as_me:$LINENO: checking kernel build directory" >&5
18998 echo $ECHO_N "checking kernel build directory... $ECHO_C" >&6
18999 if test -z "$kernelbuild"; then
19000 if test -d ${kernelsrc}-obj/`arch`/`arch`; then
19001 kernelbuild
=${kernelsrc}-obj/`arch`/`arch`
19002 elif test -d ${kernelsrc}-obj/`arch`/default
; then
19003 kernelbuild
=${kernelsrc}-obj/`arch`/default
19004 elif test -d `dirname ${kernelsrc}`/build-
`arch`; then
19005 kernelbuild
=`dirname ${kernelsrc}`/build-
`arch`
19007 kernelbuild
=${kernelsrc}
19010 echo "$as_me:$LINENO: result: $kernelbuild" >&5
19011 echo "${ECHO_T}$kernelbuild" >&6
19013 echo "$as_me:$LINENO: checking kernel source version" >&5
19014 echo $ECHO_N "checking kernel source version... $ECHO_C" >&6
19015 if test -r $kernelbuild/include
/linux
/version.h
&&
19016 fgrep
-q UTS_RELEASE
$kernelbuild/include
/linux
/version.h
; then
19018 kernsrcver
=`(echo "#include <linux/version.h>";
19019 echo "kernsrcver=UTS_RELEASE") |
19020 cpp -I $kernelbuild/include |
19021 grep "^kernsrcver=" | cut -d \" -f 2`
19023 elif test -r $kernelbuild/include
/linux
/utsrelease.h
&&
19024 fgrep
-q UTS_RELEASE
$kernelbuild/include
/linux
/utsrelease.h
; then
19026 kernsrcver
=`(echo "#include <linux/utsrelease.h>";
19027 echo "kernsrcver=UTS_RELEASE") |
19028 cpp -I $kernelbuild/include |
19029 grep "^kernsrcver=" | cut -d \" -f 2`
19032 if test -z "$kernsrcver"; then
19033 echo "$as_me:$LINENO: result: Not found" >&5
19034 echo "${ECHO_T}Not found" >&6
19035 { { echo "$as_me:$LINENO: error:
19036 *** Cannot determine the version of the linux kernel source.
19037 *** Please prepare the kernel before running this script" >&5
19038 echo "$as_me: error:
19039 *** Cannot determine the version of the linux kernel source.
19040 *** Please prepare the kernel before running this script" >&2;}
19041 { (exit 1); exit 1; }; }
19044 echo "$as_me:$LINENO: result: $kernsrcver" >&5
19045 echo "${ECHO_T}$kernsrcver" >&6
19048 LINUX_OBJ
=${kernelbuild}
19049 LINUX_VERSION
=${kernsrcver}
19056 modpost
=$LINUX/scripts
/Makefile.modpost
19057 echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
19058 echo $ECHO_N "checking kernel file name for module symbols... $ECHO_C" >&6
19059 if test -f "$modpost"; then
19060 if grep -q Modules.symvers
$modpost; then
19061 LINUX_SYMBOLS
=Modules.symvers
19063 LINUX_SYMBOLS
=Module.symvers
19068 echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
19069 echo "${ECHO_T}$LINUX_SYMBOLS" >&6
19074 KERNELMAKE_PARAMS
="V=1"
19076 abs_srcdir
=`readlink -f ${srcdir}`
19077 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes -Werror"
19078 KERNELCPPFLAGS
="$KERNELCPPFLAGS -I${abs_srcdir} -I${abs_srcdir}/include"
19080 if test "${LINUX_OBJ}" != "${LINUX}"; then
19081 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
19088 echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
19089 echo $ECHO_N "checking whether debugging is enabled... $ECHO_C" >&6
19090 # Check whether --enable-debug or --disable-debug was given.
19091 if test "${enable_debug+set}" = set; then
19092 enableval
="$enable_debug"
19093 case "$enableval" in
19094 yes) spl_ac_debug
=yes ;;
19095 no
) spl_ac_debug
=no
;;
19096 *) echo "$as_me:$LINENO: result: Error!" >&5
19097 echo "${ECHO_T}Error!" >&6
19098 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug" >&5
19099 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug" >&2;}
19100 { (exit 1); exit 1; }; } ;;
19104 if test "$spl_ac_debug" = yes; then
19105 echo "$as_me:$LINENO: result: yes" >&5
19106 echo "${ECHO_T}yes" >&6
19107 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG"
19109 echo "$as_me:$LINENO: result: no" >&5
19110 echo "${ECHO_T}no" >&6
19111 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
19115 echo "$as_me:$LINENO: checking whether kmem debugging is enabled" >&5
19116 echo $ECHO_N "checking whether kmem debugging is enabled... $ECHO_C" >&6
19117 # Check whether --enable-debug-kmem or --disable-debug-kmem was given.
19118 if test "${enable_debug_kmem+set}" = set; then
19119 enableval
="$enable_debug_kmem"
19120 case "$enableval" in
19121 yes) spl_ac_debug_kmem
=yes ;;
19122 no
) spl_ac_debug_kmem
=no
;;
19123 *) echo "$as_me:$LINENO: result: Error!" >&5
19124 echo "${ECHO_T}Error!" >&6
19125 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug-kmem" >&5
19126 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug-kmem" >&2;}
19127 { (exit 1); exit 1; }; } ;;
19131 if test "$spl_ac_debug_kmem" = yes; then
19132 echo "$as_me:$LINENO: result: yes" >&5
19133 echo "${ECHO_T}yes" >&6
19135 cat >>confdefs.h
<<\_ACEOF
19136 #define DEBUG_KMEM 1
19139 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
19141 echo "$as_me:$LINENO: result: no" >&5
19142 echo "${ECHO_T}no" >&6
19146 echo "$as_me:$LINENO: checking whether mutex debugging is enabled" >&5
19147 echo $ECHO_N "checking whether mutex debugging is enabled... $ECHO_C" >&6
19148 # Check whether --enable-debug-mutex or --disable-debug-mutex was given.
19149 if test "${enable_debug_mutex+set}" = set; then
19150 enableval
="$enable_debug_mutex"
19151 case "$enableval" in
19152 yes) spl_ac_debug_mutex
=yes ;;
19153 no
) spl_ac_debug_mutex
=no
;;
19154 *) echo "$as_me:$LINENO: result: Error!" >&5
19155 echo "${ECHO_T}Error!" >&6
19156 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug-mutex" >&5
19157 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug-mutex" >&2;}
19158 { (exit 1); exit 1; }; } ;;
19162 if test "$spl_ac_debug_mutex" = yes; then
19163 echo "$as_me:$LINENO: result: yes" >&5
19164 echo "${ECHO_T}yes" >&6
19166 cat >>confdefs.h
<<\_ACEOF
19167 #define DEBUG_MUTEX 1
19170 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_MUTEX"
19172 echo "$as_me:$LINENO: result: no" >&5
19173 echo "${ECHO_T}no" >&6
19177 echo "$as_me:$LINENO: checking whether kstat debugging is enabled" >&5
19178 echo $ECHO_N "checking whether kstat debugging is enabled... $ECHO_C" >&6
19179 # Check whether --enable-debug-kstat or --disable-debug-kstat was given.
19180 if test "${enable_debug_kstat+set}" = set; then
19181 enableval
="$enable_debug_kstat"
19182 case "$enableval" in
19183 yes) spl_ac_debug_kstat
=yes ;;
19184 no
) spl_ac_debug_kstat
=no
;;
19185 *) echo "$as_me:$LINENO: result: Error!" >&5
19186 echo "${ECHO_T}Error!" >&6
19187 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug-kstat" >&5
19188 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug-kstat" >&2;}
19189 { (exit 1); exit 1; }; } ;;
19193 if test "$spl_ac_debug_kstat" = yes; then
19194 echo "$as_me:$LINENO: result: yes" >&5
19195 echo "${ECHO_T}yes" >&6
19197 cat >>confdefs.h
<<\_ACEOF
19198 #define DEBUG_KSTAT 1
19201 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KSTAT"
19203 echo "$as_me:$LINENO: result: no" >&5
19204 echo "${ECHO_T}no" >&6
19208 echo "$as_me:$LINENO: checking whether callb debugging is enabled" >&5
19209 echo $ECHO_N "checking whether callb debugging is enabled... $ECHO_C" >&6
19210 # Check whether --enable-debug-callb or --disable-debug-callb was given.
19211 if test "${enable_debug_callb+set}" = set; then
19212 enableval
="$enable_debug_callb"
19213 case "$enableval" in
19214 yes) spl_ac_debug_callb
=yes ;;
19215 no
) spl_ac_debug_callb
=no
;;
19216 *) echo "$as_me:$LINENO: result: Error!" >&5
19217 echo "${ECHO_T}Error!" >&6
19218 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug-callb" >&5
19219 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug-callb" >&2;}
19220 { (exit 1); exit 1; }; } ;;
19224 if test "$spl_ac_debug_callb" = yes; then
19225 echo "$as_me:$LINENO: result: yes" >&5
19226 echo "${ECHO_T}yes" >&6
19228 cat >>confdefs.h
<<\_ACEOF
19229 #define DEBUG_CALLB 1
19232 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_CALLB"
19234 echo "$as_me:$LINENO: result: no" >&5
19235 echo "${ECHO_T}no" >&6
19238 echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
19239 echo $ECHO_N "checking whether kernel defines uintptr_t... $ECHO_C" >&6
19242 cat >conftest.c
<<_ACEOF
19245 cat confdefs.h
>>conftest.
$ac_ext
19246 cat >>conftest.
$ac_ext <<_ACEOF
19247 /* end confdefs.h. */
19250 #include <linux/types.h>
19265 rm -Rf build
&& mkdir
-p build
19266 echo "obj-m := conftest.o" >build
/Makefile
19267 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19279 echo "$as_me:$LINENO: result: yes" >&5
19280 echo "${ECHO_T}yes" >&6
19282 cat >>confdefs.h
<<\_ACEOF
19283 #define HAVE_UINTPTR_T 1
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.
$ac_ext >&5
19291 echo "$as_me:$LINENO: result: no" >&5
19292 echo "${ECHO_T}no" >&6
19302 echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
19303 echo $ECHO_N "checking whether kernel defines atomic64_t... $ECHO_C" >&6
19306 cat >conftest.c
<<_ACEOF
19309 cat confdefs.h
>>conftest.
$ac_ext
19310 cat >>conftest.
$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19314 #include <asm/atomic.h>
19329 rm -Rf build
&& mkdir
-p build
19330 echo "obj-m := conftest.o" >build
/Makefile
19331 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19338 (eval $ac_try) 2>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); }; }; then
19343 echo "$as_me:$LINENO: result: yes" >&5
19344 echo "${ECHO_T}yes" >&6
19346 cat >>confdefs.h
<<\_ACEOF
19347 #define HAVE_ATOMIC64_T 1
19352 echo "$as_me: failed program was:" >&5
19353 sed 's/^/| /' conftest.
$ac_ext >&5
19355 echo "$as_me:$LINENO: result: no" >&5
19356 echo "${ECHO_T}no" >&6
19366 echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
19367 echo $ECHO_N "checking whether INIT_WORK wants 3 args... $ECHO_C" >&6
19370 cat >conftest.c
<<_ACEOF
19373 cat confdefs.h
>>conftest.
$ac_ext
19374 cat >>conftest.
$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19378 #include <linux/workqueue.h>
19384 struct work_struct work;
19385 INIT_WORK(&work, NULL, NULL);
19394 rm -Rf build
&& mkdir
-p build
19395 echo "obj-m := conftest.o" >build
/Makefile
19396 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; }; then
19408 echo "$as_me:$LINENO: result: yes" >&5
19409 echo "${ECHO_T}yes" >&6
19411 cat >>confdefs.h
<<\_ACEOF
19412 #define HAVE_3ARGS_INIT_WORK 1
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.
$ac_ext >&5
19420 echo "$as_me:$LINENO: result: no" >&5
19421 echo "${ECHO_T}no" >&6
19431 echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
19432 echo $ECHO_N "checking whether register_sysctl_table() wants 2 args... $ECHO_C" >&6
19435 cat >conftest.c
<<_ACEOF
19438 cat confdefs.h
>>conftest.
$ac_ext
19439 cat >>conftest.
$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19443 #include <linux/sysctl.h>
19449 return register_sysctl_table(NULL,0);
19458 rm -Rf build
&& mkdir
-p build
19459 echo "obj-m := conftest.o" >build
/Makefile
19460 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; }; then
19472 echo "$as_me:$LINENO: result: yes" >&5
19473 echo "${ECHO_T}yes" >&6
19475 cat >>confdefs.h
<<\_ACEOF
19476 #define HAVE_2ARGS_REGISTER_SYSCTL 1
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.
$ac_ext >&5
19484 echo "$as_me:$LINENO: result: no" >&5
19485 echo "${ECHO_T}no" >&6
19496 echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
19497 echo $ECHO_N "checking whether set_shrinker() available... $ECHO_C" >&6
19500 cat >conftest.c
<<_ACEOF
19503 cat confdefs.h
>>conftest.
$ac_ext
19504 cat >>conftest.
$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19508 #include <linux/mm.h>
19514 return set_shrinker(DEFAULT_SEEKS, NULL);
19523 rm -Rf build
&& mkdir
-p build
19524 echo "obj-m := conftest.o" >build
/Makefile
19525 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19532 (eval $ac_try) 2>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; }; then
19537 echo "$as_me:$LINENO: result: yes" >&5
19538 echo "${ECHO_T}yes" >&6
19540 cat >>confdefs.h
<<\_ACEOF
19541 #define HAVE_SET_SHRINKER 1
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.
$ac_ext >&5
19549 echo "$as_me:$LINENO: result: no" >&5
19550 echo "${ECHO_T}no" >&6
19560 echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
19561 echo $ECHO_N "checking whether struct path used in struct nameidata... $ECHO_C" >&6
19564 cat >conftest.c
<<_ACEOF
19567 cat confdefs.h
>>conftest.
$ac_ext
19568 cat >>conftest.
$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19572 #include <linux/namei.h>
19578 struct nameidata nd;
19580 nd.path.mnt = NULL;
19581 nd.path.dentry = NULL;
19590 rm -Rf build
&& mkdir
-p build
19591 echo "obj-m := conftest.o" >build
/Makefile
19592 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
19593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19594 (eval $ac_try) 2>&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19599 (eval $ac_try) 2>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; }; then
19604 echo "$as_me:$LINENO: result: yes" >&5
19605 echo "${ECHO_T}yes" >&6
19607 cat >>confdefs.h
<<\_ACEOF
19608 #define HAVE_PATH_IN_NAMEIDATA 1
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.
$ac_ext >&5
19616 echo "$as_me:$LINENO: result: no" >&5
19617 echo "${ECHO_T}no" >&6
19628 echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
19629 echo $ECHO_N "checking whether symbol task_curr is exported... $ECHO_C" >&6
19630 grep -q -E '[[:space:]]task_curr[[:space:]]' \
19631 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19633 if test $rc -ne 0; then
19635 for file in kernel
/sched.c
; do
19636 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
19637 "$LINUX_OBJ/$file" 2>/dev
/null
19639 if test $rc -eq 0; then
19644 if test $export -eq 0; then
19645 echo "$as_me:$LINENO: result: no" >&5
19646 echo "${ECHO_T}no" >&6
19649 echo "$as_me:$LINENO: result: yes" >&5
19650 echo "${ECHO_T}yes" >&6
19652 cat >>confdefs.h
<<\_ACEOF
19653 #define HAVE_TASK_CURR 1
19658 echo "$as_me:$LINENO: result: yes" >&5
19659 echo "${ECHO_T}yes" >&6
19661 cat >>confdefs.h
<<\_ACEOF
19662 #define HAVE_TASK_CURR 1
19668 echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
19669 echo $ECHO_N "checking whether unnumbered sysctl support exists... $ECHO_C" >&6
19672 cat >conftest.c
<<_ACEOF
19675 cat confdefs.h
>>conftest.
$ac_ext
19676 cat >>conftest.
$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19680 #include <linux/sysctl.h>
19686 #ifndef CTL_UNNUMBERED
19687 #error CTL_UNNUMBERED undefined
19697 rm -Rf build
&& mkdir
-p build
19698 echo "obj-m := conftest.o" >build
/Makefile
19699 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
19700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19701 (eval $ac_try) 2>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19706 (eval $ac_try) 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); }; }; then
19711 echo "$as_me:$LINENO: result: yes" >&5
19712 echo "${ECHO_T}yes" >&6
19714 cat >>confdefs.h
<<\_ACEOF
19715 #define HAVE_CTL_UNNUMBERED 1
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.
$ac_ext >&5
19723 echo "$as_me:$LINENO: result: no" >&5
19724 echo "${ECHO_T}no" >&6
19734 echo "$as_me:$LINENO: checking whether fls64() is available" >&5
19735 echo $ECHO_N "checking whether fls64() is available... $ECHO_C" >&6
19738 cat >conftest.c
<<_ACEOF
19741 cat confdefs.h
>>conftest.
$ac_ext
19742 cat >>conftest.
$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19746 #include <linux/bitops.h>
19761 rm -Rf build
&& mkdir
-p build
19762 echo "obj-m := conftest.o" >build
/Makefile
19763 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770 (eval $ac_try) 2>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; }; then
19775 echo "$as_me:$LINENO: result: yes" >&5
19776 echo "${ECHO_T}yes" >&6
19778 cat >>confdefs.h
<<\_ACEOF
19779 #define HAVE_FLS64 1
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.
$ac_ext >&5
19787 echo "$as_me:$LINENO: result: no" >&5
19788 echo "${ECHO_T}no" >&6
19799 echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
19800 echo $ECHO_N "checking whether symbol device_create is exported... $ECHO_C" >&6
19801 grep -q -E '[[:space:]]device_create[[:space:]]' \
19802 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19804 if test $rc -ne 0; then
19806 for file in drivers
/base
/core.c
; do
19807 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
19808 "$LINUX_OBJ/$file" 2>/dev
/null
19810 if test $rc -eq 0; then
19815 if test $export -eq 0; then
19816 echo "$as_me:$LINENO: result: no" >&5
19817 echo "${ECHO_T}no" >&6
19820 echo "$as_me:$LINENO: result: yes" >&5
19821 echo "${ECHO_T}yes" >&6
19823 cat >>confdefs.h
<<\_ACEOF
19824 #define HAVE_DEVICE_CREATE 1
19829 echo "$as_me:$LINENO: result: yes" >&5
19830 echo "${ECHO_T}yes" >&6
19832 cat >>confdefs.h
<<\_ACEOF
19833 #define HAVE_DEVICE_CREATE 1
19840 echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
19841 echo $ECHO_N "checking whether device_create() wants 5 args... $ECHO_C" >&6
19842 tmp_flags
="$EXTRA_KCFLAGS"
19843 EXTRA_KCFLAGS
="-Werror"
19846 cat >conftest.c
<<_ACEOF
19849 cat confdefs.h
>>conftest.
$ac_ext
19850 cat >>conftest.
$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19854 #include <linux/device.h>
19860 device_create(NULL, NULL, 0, NULL, "%d", 1);
19869 rm -Rf build
&& mkdir
-p build
19870 echo "obj-m := conftest.o" >build
/Makefile
19871 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; }; then
19883 echo "$as_me:$LINENO: result: yes" >&5
19884 echo "${ECHO_T}yes" >&6
19886 cat >>confdefs.h
<<\_ACEOF
19887 #define HAVE_5ARGS_DEVICE_CREATE 1
19892 echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.
$ac_ext >&5
19895 echo "$as_me:$LINENO: result: no" >&5
19896 echo "${ECHO_T}no" >&6
19905 EXTRA_KCFLAGS
="$tmp_flags"
19908 echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
19909 echo $ECHO_N "checking whether symbol class_device_create is exported... $ECHO_C" >&6
19910 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
19911 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19913 if test $rc -ne 0; then
19915 for file in drivers
/base
/class.c
; do
19916 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
19917 "$LINUX_OBJ/$file" 2>/dev
/null
19919 if test $rc -eq 0; then
19924 if test $export -eq 0; then
19925 echo "$as_me:$LINENO: result: no" >&5
19926 echo "${ECHO_T}no" >&6
19929 echo "$as_me:$LINENO: result: yes" >&5
19930 echo "${ECHO_T}yes" >&6
19932 cat >>confdefs.h
<<\_ACEOF
19933 #define HAVE_CLASS_DEVICE_CREATE 1
19938 echo "$as_me:$LINENO: result: yes" >&5
19939 echo "${ECHO_T}yes" >&6
19941 cat >>confdefs.h
<<\_ACEOF
19942 #define HAVE_CLASS_DEVICE_CREATE 1
19949 echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
19950 echo $ECHO_N "checking whether symbol set_normalized_timespec is exported... $ECHO_C" >&6
19951 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
19952 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
19954 if test $rc -ne 0; then
19956 for file in kernel
/time.c
; do
19957 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
19958 "$LINUX_OBJ/$file" 2>/dev
/null
19960 if test $rc -eq 0; then
19965 if test $export -eq 0; then
19966 echo "$as_me:$LINENO: result: no" >&5
19967 echo "${ECHO_T}no" >&6
19970 echo "$as_me:$LINENO: result: yes" >&5
19971 echo "${ECHO_T}yes" >&6
19973 cat >>confdefs.h
<<\_ACEOF
19974 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
19979 echo "$as_me:$LINENO: result: yes" >&5
19980 echo "${ECHO_T}yes" >&6
19982 cat >>confdefs.h
<<\_ACEOF
19983 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
19990 echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
19991 echo $ECHO_N "checking whether set_normalized_timespec() is an inline... $ECHO_C" >&6
19994 cat >conftest.c
<<_ACEOF
19997 cat confdefs.h
>>conftest.
$ac_ext
19998 cat >>conftest.
$ac_ext <<_ACEOF
19999 /* end confdefs.h. */
20002 #include <linux/time.h>
20003 void set_normalized_timespec(struct timespec *ts,
20004 time_t sec, long nsec) { }
20017 rm -Rf build
&& mkdir
-p build
20018 echo "obj-m := conftest.o" >build
/Makefile
20019 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026 (eval $ac_try) 2>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); }; }; then
20031 echo "$as_me:$LINENO: result: no" >&5
20032 echo "${ECHO_T}no" >&6
20035 echo "$as_me: failed program was:" >&5
20036 sed 's/^/| /' conftest.
$ac_ext >&5
20038 echo "$as_me:$LINENO: result: yes" >&5
20039 echo "${ECHO_T}yes" >&6
20041 cat >>confdefs.h
<<\_ACEOF
20042 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
20055 echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
20056 echo $ECHO_N "checking whether timespec_sub() is available... $ECHO_C" >&6
20059 cat >conftest.c
<<_ACEOF
20062 cat confdefs.h
>>conftest.
$ac_ext
20063 cat >>conftest.
$ac_ext <<_ACEOF
20064 /* end confdefs.h. */
20067 #include <linux/time.h>
20073 struct timespec a, b, c = { 0 };
20074 c = timespec_sub(a, b);
20083 rm -Rf build
&& mkdir
-p build
20084 echo "obj-m := conftest.o" >build
/Makefile
20085 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20097 echo "$as_me:$LINENO: result: yes" >&5
20098 echo "${ECHO_T}yes" >&6
20100 cat >>confdefs.h
<<\_ACEOF
20101 #define HAVE_TIMESPEC_SUB 1
20106 echo "$as_me: failed program was:" >&5
20107 sed 's/^/| /' conftest.
$ac_ext >&5
20109 echo "$as_me:$LINENO: result: no" >&5
20110 echo "${ECHO_T}no" >&6
20121 echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
20122 echo $ECHO_N "checking whether init_utsname() is available... $ECHO_C" >&6
20125 cat >conftest.c
<<_ACEOF
20128 cat confdefs.h
>>conftest.
$ac_ext
20129 cat >>conftest.
$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20133 #include <linux/utsname.h>
20139 struct new_utsname *a = init_utsname();
20148 rm -Rf build
&& mkdir
-p build
20149 echo "obj-m := conftest.o" >build
/Makefile
20150 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20152 (eval $ac_try) 2>&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20162 echo "$as_me:$LINENO: result: yes" >&5
20163 echo "${ECHO_T}yes" >&6
20165 cat >>confdefs.h
<<\_ACEOF
20166 #define HAVE_INIT_UTSNAME 1
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.
$ac_ext >&5
20174 echo "$as_me:$LINENO: result: no" >&5
20175 echo "${ECHO_T}no" >&6
20186 echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
20187 echo $ECHO_N "checking whether header linux/fdtable.h exists... $ECHO_C" >&6
20190 cat >conftest.c
<<_ACEOF
20193 cat confdefs.h
>>conftest.
$ac_ext
20194 cat >>conftest.
$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20198 #include <linux/fdtable.h>
20213 rm -Rf build
&& mkdir
-p build
20214 echo "obj-m := conftest.o" >build
/Makefile
20215 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222 (eval $ac_try) 2>&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); }; }; then
20228 cat >>confdefs.h
<<\_ACEOF
20229 #define HAVE_FDTABLE_HEADER 1
20232 echo "$as_me:$LINENO: result: yes" >&5
20233 echo "${ECHO_T}yes" >&6
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.
$ac_ext >&5
20240 echo "$as_me:$LINENO: result: no" >&5
20241 echo "${ECHO_T}no" >&6
20254 echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
20255 echo $ECHO_N "checking whether files_fdtable() is available... $ECHO_C" >&6
20258 cat >conftest.c
<<_ACEOF
20261 cat confdefs.h
>>conftest.
$ac_ext
20262 cat >>conftest.
$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20266 #include <linux/sched.h>
20267 #include <linux/file.h>
20268 #ifdef HAVE_FDTABLE_HEADER
20269 #include <linux/fdtable.h>
20276 struct files_struct *files = current->files;
20277 struct fdtable *fdt = files_fdtable(files);
20286 rm -Rf build
&& mkdir
-p build
20287 echo "obj-m := conftest.o" >build
/Makefile
20288 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20300 echo "$as_me:$LINENO: result: yes" >&5
20301 echo "${ECHO_T}yes" >&6
20303 cat >>confdefs.h
<<\_ACEOF
20304 #define HAVE_FILES_FDTABLE 1
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.
$ac_ext >&5
20312 echo "$as_me:$LINENO: result: no" >&5
20313 echo "${ECHO_T}no" >&6
20324 echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
20325 echo $ECHO_N "checking whether header linux/uaccess.h exists... $ECHO_C" >&6
20328 cat >conftest.c
<<_ACEOF
20331 cat confdefs.h
>>conftest.
$ac_ext
20332 cat >>conftest.
$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20336 #include <linux/uaccess.h>
20351 rm -Rf build
&& mkdir
-p build
20352 echo "obj-m := conftest.o" >build
/Makefile
20353 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; }; then
20366 cat >>confdefs.h
<<\_ACEOF
20367 #define HAVE_UACCESS_HEADER 1
20370 echo "$as_me:$LINENO: result: yes" >&5
20371 echo "${ECHO_T}yes" >&6
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.
$ac_ext >&5
20378 echo "$as_me:$LINENO: result: no" >&5
20379 echo "${ECHO_T}no" >&6
20392 echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
20393 echo $ECHO_N "checking whether kmalloc_node() is available... $ECHO_C" >&6
20396 cat >conftest.c
<<_ACEOF
20399 cat confdefs.h
>>conftest.
$ac_ext
20400 cat >>conftest.
$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20404 #include <linux/slab.h>
20410 void *a = kmalloc_node(1, GFP_KERNEL, 0);
20419 rm -Rf build
&& mkdir
-p build
20420 echo "obj-m := conftest.o" >build
/Makefile
20421 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423 (eval $ac_try) 2>&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20433 echo "$as_me:$LINENO: result: yes" >&5
20434 echo "${ECHO_T}yes" >&6
20436 cat >>confdefs.h
<<\_ACEOF
20437 #define HAVE_KMALLOC_NODE 1
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.
$ac_ext >&5
20445 echo "$as_me:$LINENO: result: no" >&5
20446 echo "${ECHO_T}no" >&6
20457 echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
20458 echo $ECHO_N "checking whether symbol monotonic_clock is exported... $ECHO_C" >&6
20459 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
20460 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20462 if test $rc -ne 0; then
20465 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
20466 "$LINUX_OBJ/$file" 2>/dev
/null
20468 if test $rc -eq 0; then
20473 if test $export -eq 0; then
20474 echo "$as_me:$LINENO: result: no" >&5
20475 echo "${ECHO_T}no" >&6
20478 echo "$as_me:$LINENO: result: yes" >&5
20479 echo "${ECHO_T}yes" >&6
20481 cat >>confdefs.h
<<\_ACEOF
20482 #define HAVE_MONOTONIC_CLOCK 1
20487 echo "$as_me:$LINENO: result: yes" >&5
20488 echo "${ECHO_T}yes" >&6
20490 cat >>confdefs.h
<<\_ACEOF
20491 #define HAVE_MONOTONIC_CLOCK 1
20498 echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
20499 echo $ECHO_N "checking whether struct inode has i_mutex... $ECHO_C" >&6
20502 cat >conftest.c
<<_ACEOF
20505 cat confdefs.h
>>conftest.
$ac_ext
20506 cat >>conftest.
$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20510 #include <linux/fs.h>
20511 #include <linux/mutex.h>
20518 mutex_init(&i.i_mutex);
20527 rm -Rf build
&& mkdir
-p build
20528 echo "obj-m := conftest.o" >build
/Makefile
20529 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20531 (eval $ac_try) 2>&5
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20536 (eval $ac_try) 2>&5
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); }; }; then
20541 echo "$as_me:$LINENO: result: yes" >&5
20542 echo "${ECHO_T}yes" >&6
20544 cat >>confdefs.h
<<\_ACEOF
20545 #define HAVE_INODE_I_MUTEX 1
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.
$ac_ext >&5
20553 echo "$as_me:$LINENO: result: no" >&5
20554 echo "${ECHO_T}no" >&6
20565 echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
20566 echo $ECHO_N "checking whether mutex_lock_nested() is available... $ECHO_C" >&6
20569 cat >conftest.c
<<_ACEOF
20572 cat confdefs.h
>>conftest.
$ac_ext
20573 cat >>conftest.
$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20577 #include <linux/mutex.h>
20583 struct mutex mutex;
20584 mutex_init(&mutex);
20585 mutex_lock_nested(&mutex, 0);
20594 rm -Rf build
&& mkdir
-p build
20595 echo "obj-m := conftest.o" >build
/Makefile
20596 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598 (eval $ac_try) 2>&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20608 echo "$as_me:$LINENO: result: yes" >&5
20609 echo "${ECHO_T}yes" >&6
20611 cat >>confdefs.h
<<\_ACEOF
20612 #define HAVE_MUTEX_LOCK_NESTED 1
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.
$ac_ext >&5
20620 echo "$as_me:$LINENO: result: no" >&5
20621 echo "${ECHO_T}no" >&6
20632 echo "$as_me:$LINENO: checking whether symbol div64_64 is exported" >&5
20633 echo $ECHO_N "checking whether symbol div64_64 is exported... $ECHO_C" >&6
20634 grep -q -E '[[:space:]]div64_64[[:space:]]' \
20635 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20637 if test $rc -ne 0; then
20640 grep -q -E "EXPORT_SYMBOL.*(div64_64)" \
20641 "$LINUX_OBJ/$file" 2>/dev
/null
20643 if test $rc -eq 0; then
20648 if test $export -eq 0; then
20649 echo "$as_me:$LINENO: result: no" >&5
20650 echo "${ECHO_T}no" >&6
20653 echo "$as_me:$LINENO: result: yes" >&5
20654 echo "${ECHO_T}yes" >&6
20656 cat >>confdefs.h
<<\_ACEOF
20657 #define HAVE_DIV64_64 1
20662 echo "$as_me:$LINENO: result: yes" >&5
20663 echo "${ECHO_T}yes" >&6
20665 cat >>confdefs.h
<<\_ACEOF
20666 #define HAVE_DIV64_64 1
20673 echo "$as_me:$LINENO: checking whether symbol div64_u64 is exported" >&5
20674 echo $ECHO_N "checking whether symbol div64_u64 is exported... $ECHO_C" >&6
20675 grep -q -E '[[:space:]]div64_u64[[:space:]]' \
20676 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20678 if test $rc -ne 0; then
20681 grep -q -E "EXPORT_SYMBOL.*(div64_u64)" \
20682 "$LINUX_OBJ/$file" 2>/dev
/null
20684 if test $rc -eq 0; then
20689 if test $export -eq 0; then
20690 echo "$as_me:$LINENO: result: no" >&5
20691 echo "${ECHO_T}no" >&6
20694 echo "$as_me:$LINENO: result: yes" >&5
20695 echo "${ECHO_T}yes" >&6
20697 cat >>confdefs.h
<<\_ACEOF
20698 #define HAVE_DIV64_U64 1
20703 echo "$as_me:$LINENO: result: yes" >&5
20704 echo "${ECHO_T}yes" >&6
20706 cat >>confdefs.h
<<\_ACEOF
20707 #define HAVE_DIV64_U64 1
20714 echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
20715 echo $ECHO_N "checking whether on_each_cpu() wants 3 args... $ECHO_C" >&6
20718 cat >conftest.c
<<_ACEOF
20721 cat confdefs.h
>>conftest.
$ac_ext
20722 cat >>conftest.
$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20726 #include <linux/smp.h>
20732 on_each_cpu(NULL, NULL, 0);
20741 rm -Rf build
&& mkdir
-p build
20742 echo "obj-m := conftest.o" >build
/Makefile
20743 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20755 echo "$as_me:$LINENO: result: yes" >&5
20756 echo "${ECHO_T}yes" >&6
20758 cat >>confdefs.h
<<\_ACEOF
20759 #define HAVE_3ARGS_ON_EACH_CPU 1
20764 echo "$as_me: failed program was:" >&5
20765 sed 's/^/| /' conftest.
$ac_ext >&5
20767 echo "$as_me:$LINENO: result: no" >&5
20768 echo "${ECHO_T}no" >&6
20779 echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
20780 echo $ECHO_N "checking whether symbol kallsyms_lookup_name is exported... $ECHO_C" >&6
20781 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
20782 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20784 if test $rc -ne 0; then
20787 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
20788 "$LINUX_OBJ/$file" 2>/dev
/null
20790 if test $rc -eq 0; then
20795 if test $export -eq 0; then
20796 echo "$as_me:$LINENO: result: no" >&5
20797 echo "${ECHO_T}no" >&6
20800 echo "$as_me:$LINENO: result: yes" >&5
20801 echo "${ECHO_T}yes" >&6
20803 cat >>confdefs.h
<<\_ACEOF
20804 #define HAVE_KALLSYMS_LOOKUP_NAME 1
20809 echo "$as_me:$LINENO: result: yes" >&5
20810 echo "${ECHO_T}yes" >&6
20812 cat >>confdefs.h
<<\_ACEOF
20813 #define HAVE_KALLSYMS_LOOKUP_NAME 1
20820 echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
20821 echo $ECHO_N "checking whether symbol get_vmalloc_info is exported... $ECHO_C" >&6
20822 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
20823 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20825 if test $rc -ne 0; then
20828 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
20829 "$LINUX_OBJ/$file" 2>/dev
/null
20831 if test $rc -eq 0; then
20836 if test $export -eq 0; then
20837 echo "$as_me:$LINENO: result: no" >&5
20838 echo "${ECHO_T}no" >&6
20841 echo "$as_me:$LINENO: result: yes" >&5
20842 echo "${ECHO_T}yes" >&6
20844 cat >>confdefs.h
<<\_ACEOF
20845 #define HAVE_GET_VMALLOC_INFO 1
20850 echo "$as_me:$LINENO: result: yes" >&5
20851 echo "${ECHO_T}yes" >&6
20853 cat >>confdefs.h
<<\_ACEOF
20854 #define HAVE_GET_VMALLOC_INFO 1
20861 echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
20862 echo $ECHO_N "checking whether symbol *_pgdat exist... $ECHO_C" >&6
20863 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
20865 if test $rc -eq 0; then
20866 echo "$as_me:$LINENO: result: yes" >&5
20867 echo "${ECHO_T}yes" >&6
20869 cat >>confdefs.h
<<\_ACEOF
20870 #define HAVE_PGDAT_HELPERS 1
20874 echo "$as_me:$LINENO: result: no" >&5
20875 echo "${ECHO_T}no" >&6
20879 echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
20880 echo $ECHO_N "checking whether symbol first_online_pgdat is exported... $ECHO_C" >&6
20881 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
20882 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20884 if test $rc -ne 0; then
20887 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
20888 "$LINUX_OBJ/$file" 2>/dev
/null
20890 if test $rc -eq 0; then
20895 if test $export -eq 0; then
20896 echo "$as_me:$LINENO: result: no" >&5
20897 echo "${ECHO_T}no" >&6
20900 echo "$as_me:$LINENO: result: yes" >&5
20901 echo "${ECHO_T}yes" >&6
20903 cat >>confdefs.h
<<\_ACEOF
20904 #define HAVE_FIRST_ONLINE_PGDAT 1
20909 echo "$as_me:$LINENO: result: yes" >&5
20910 echo "${ECHO_T}yes" >&6
20912 cat >>confdefs.h
<<\_ACEOF
20913 #define HAVE_FIRST_ONLINE_PGDAT 1
20920 echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
20921 echo $ECHO_N "checking whether symbol next_online_pgdat is exported... $ECHO_C" >&6
20922 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
20923 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20925 if test $rc -ne 0; then
20928 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
20929 "$LINUX_OBJ/$file" 2>/dev
/null
20931 if test $rc -eq 0; then
20936 if test $export -eq 0; then
20937 echo "$as_me:$LINENO: result: no" >&5
20938 echo "${ECHO_T}no" >&6
20941 echo "$as_me:$LINENO: result: yes" >&5
20942 echo "${ECHO_T}yes" >&6
20944 cat >>confdefs.h
<<\_ACEOF
20945 #define HAVE_NEXT_ONLINE_PGDAT 1
20950 echo "$as_me:$LINENO: result: yes" >&5
20951 echo "${ECHO_T}yes" >&6
20953 cat >>confdefs.h
<<\_ACEOF
20954 #define HAVE_NEXT_ONLINE_PGDAT 1
20961 echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
20962 echo $ECHO_N "checking whether symbol next_zone is exported... $ECHO_C" >&6
20963 grep -q -E '[[:space:]]next_zone[[:space:]]' \
20964 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
20966 if test $rc -ne 0; then
20969 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
20970 "$LINUX_OBJ/$file" 2>/dev
/null
20972 if test $rc -eq 0; then
20977 if test $export -eq 0; then
20978 echo "$as_me:$LINENO: result: no" >&5
20979 echo "${ECHO_T}no" >&6
20982 echo "$as_me:$LINENO: result: yes" >&5
20983 echo "${ECHO_T}yes" >&6
20985 cat >>confdefs.h
<<\_ACEOF
20986 #define HAVE_NEXT_ZONE 1
20991 echo "$as_me:$LINENO: result: yes" >&5
20992 echo "${ECHO_T}yes" >&6
20994 cat >>confdefs.h
<<\_ACEOF
20995 #define HAVE_NEXT_ZONE 1
21002 echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
21003 echo $ECHO_N "checking whether symbol pgdat_list is exported... $ECHO_C" >&6
21004 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
21005 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21007 if test $rc -ne 0; then
21010 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
21011 "$LINUX_OBJ/$file" 2>/dev
/null
21013 if test $rc -eq 0; then
21018 if test $export -eq 0; then
21019 echo "$as_me:$LINENO: result: no" >&5
21020 echo "${ECHO_T}no" >&6
21023 echo "$as_me:$LINENO: result: yes" >&5
21024 echo "${ECHO_T}yes" >&6
21026 cat >>confdefs.h
<<\_ACEOF
21027 #define HAVE_PGDAT_LIST 1
21032 echo "$as_me:$LINENO: result: yes" >&5
21033 echo "${ECHO_T}yes" >&6
21035 cat >>confdefs.h
<<\_ACEOF
21036 #define HAVE_PGDAT_LIST 1
21043 echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
21044 echo $ECHO_N "checking whether symbol get_zone_counts is exported... $ECHO_C" >&6
21045 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
21046 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
21048 if test $rc -ne 0; then
21051 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
21052 "$LINUX_OBJ/$file" 2>/dev
/null
21054 if test $rc -eq 0; then
21059 if test $export -eq 0; then
21060 echo "$as_me:$LINENO: result: no" >&5
21061 echo "${ECHO_T}no" >&6
21064 echo "$as_me:$LINENO: result: yes" >&5
21065 echo "${ECHO_T}yes" >&6
21067 cat >>confdefs.h
<<\_ACEOF
21068 #define HAVE_GET_ZONE_COUNTS 1
21073 echo "$as_me:$LINENO: result: yes" >&5
21074 echo "${ECHO_T}yes" >&6
21076 cat >>confdefs.h
<<\_ACEOF
21077 #define HAVE_GET_ZONE_COUNTS 1
21084 echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
21085 echo $ECHO_N "checking whether global_page_state() is available... $ECHO_C" >&6
21088 cat >conftest.c
<<_ACEOF
21091 cat confdefs.h
>>conftest.
$ac_ext
21092 cat >>conftest.
$ac_ext <<_ACEOF
21093 /* end confdefs.h. */
21096 #include <linux/vmstat.h>
21102 unsigned long state;
21103 state = global_page_state(NR_FREE_PAGES);
21112 rm -Rf build
&& mkdir
-p build
21113 echo "obj-m := conftest.o" >build
/Makefile
21114 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21121 (eval $ac_try) 2>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; }; then
21126 echo "$as_me:$LINENO: result: yes" >&5
21127 echo "${ECHO_T}yes" >&6
21129 cat >>confdefs.h
<<\_ACEOF
21130 #define HAVE_GLOBAL_PAGE_STATE 1
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.
$ac_ext >&5
21138 echo "$as_me:$LINENO: result: no" >&5
21139 echo "${ECHO_T}no" >&6
21150 echo "$as_me:$LINENO: checking whether free/inactive/active page state is available" >&5
21151 echo $ECHO_N "checking whether free/inactive/active page state is available... $ECHO_C" >&6
21154 cat >conftest.c
<<_ACEOF
21157 cat confdefs.h
>>conftest.
$ac_ext
21158 cat >>conftest.
$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21162 #include <linux/mmzone.h>
21168 enum zone_stat_item i1, i2, i3;
21169 i1 = NR_FREE_PAGES;
21180 rm -Rf build
&& mkdir
-p build
21181 echo "obj-m := conftest.o" >build
/Makefile
21182 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21184 (eval $ac_try) 2>&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189 (eval $ac_try) 2>&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); }; }; then
21194 echo "$as_me:$LINENO: result: yes" >&5
21195 echo "${ECHO_T}yes" >&6
21197 cat >>confdefs.h
<<\_ACEOF
21198 #define HAVE_ZONE_STAT_ITEM_FIA 1
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.
$ac_ext >&5
21206 echo "$as_me:$LINENO: result: no" >&5
21207 echo "${ECHO_T}no" >&6
21217 echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
21218 echo $ECHO_N "checking whether vfs_unlink() wants 2 args... $ECHO_C" >&6
21221 cat >conftest.c
<<_ACEOF
21224 cat confdefs.h
>>conftest.
$ac_ext
21225 cat >>conftest.
$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21229 #include <linux/fs.h>
21235 vfs_unlink(NULL, NULL);
21244 rm -Rf build
&& mkdir
-p build
21245 echo "obj-m := conftest.o" >build
/Makefile
21246 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21248 (eval $ac_try) 2>&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; }; then
21258 echo "$as_me:$LINENO: result: yes" >&5
21259 echo "${ECHO_T}yes" >&6
21261 cat >>confdefs.h
<<\_ACEOF
21262 #define HAVE_2ARGS_VFS_UNLINK 1
21267 echo "$as_me: failed program was:" >&5
21268 sed 's/^/| /' conftest.
$ac_ext >&5
21270 echo "$as_me:$LINENO: result: no" >&5
21271 echo "${ECHO_T}no" >&6
21281 echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
21282 echo $ECHO_N "checking whether vfs_rename() wants 4 args... $ECHO_C" >&6
21285 cat >conftest.c
<<_ACEOF
21288 cat confdefs.h
>>conftest.
$ac_ext
21289 cat >>conftest.
$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21293 #include <linux/fs.h>
21299 vfs_rename(NULL, NULL, NULL, NULL);
21308 rm -Rf build
&& mkdir
-p build
21309 echo "obj-m := conftest.o" >build
/Makefile
21310 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21312 (eval $ac_try) 2>&5
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21322 echo "$as_me:$LINENO: result: yes" >&5
21323 echo "${ECHO_T}yes" >&6
21325 cat >>confdefs.h
<<\_ACEOF
21326 #define HAVE_4ARGS_VFS_RENAME 1
21331 echo "$as_me: failed program was:" >&5
21332 sed 's/^/| /' conftest.
$ac_ext >&5
21334 echo "$as_me:$LINENO: result: no" >&5
21335 echo "${ECHO_T}no" >&6
21350 # Check whether --with-linux or --without-linux was given.
21351 if test "${with_linux+set}" = set; then
21352 withval
="$with_linux"
21353 kernelsrc
="$withval"
21357 # Check whether --with-linux-obj or --without-linux-obj was given.
21358 if test "${with_linux_obj+set}" = set; then
21359 withval
="$with_linux_obj"
21360 kernelbuild
="$withval"
21363 echo "$as_me:$LINENO: checking kernel source directory" >&5
21364 echo $ECHO_N "checking kernel source directory... $ECHO_C" >&6
21365 if test -z "$kernelsrc"; then
21366 sourcelink
=`ls -1d /usr/src/kernels/* /usr/src/linux-* \
21367 2>/dev/null | grep -v obj | tail -1`
21369 if test -e ${sourcelink}; then
21370 kernelsrc
=`readlink -f ${sourcelink}`
21372 echo "$as_me:$LINENO: result: Not found" >&5
21373 echo "${ECHO_T}Not found" >&6
21374 { { echo "$as_me:$LINENO: error:
21375 *** Please specify the location of the kernel source
21376 *** with the '--with-linux=PATH' option" >&5
21377 echo "$as_me: error:
21378 *** Please specify the location of the kernel source
21379 *** with the '--with-linux=PATH' option" >&2;}
21380 { (exit 1); exit 1; }; }
21383 if test "$kernelsrc" = "NONE"; then
21388 echo "$as_me:$LINENO: result: $kernelsrc" >&5
21389 echo "${ECHO_T}$kernelsrc" >&6
21390 echo "$as_me:$LINENO: checking kernel build directory" >&5
21391 echo $ECHO_N "checking kernel build directory... $ECHO_C" >&6
21392 if test -z "$kernelbuild"; then
21393 if test -d ${kernelsrc}-obj/`arch`/`arch`; then
21394 kernelbuild
=${kernelsrc}-obj/`arch`/`arch`
21395 elif test -d ${kernelsrc}-obj/`arch`/default
; then
21396 kernelbuild
=${kernelsrc}-obj/`arch`/default
21397 elif test -d `dirname ${kernelsrc}`/build-
`arch`; then
21398 kernelbuild
=`dirname ${kernelsrc}`/build-
`arch`
21400 kernelbuild
=${kernelsrc}
21403 echo "$as_me:$LINENO: result: $kernelbuild" >&5
21404 echo "${ECHO_T}$kernelbuild" >&6
21406 echo "$as_me:$LINENO: checking kernel source version" >&5
21407 echo $ECHO_N "checking kernel source version... $ECHO_C" >&6
21408 if test -r $kernelbuild/include
/linux
/version.h
&&
21409 fgrep
-q UTS_RELEASE
$kernelbuild/include
/linux
/version.h
; then
21411 kernsrcver
=`(echo "#include <linux/version.h>";
21412 echo "kernsrcver=UTS_RELEASE") |
21413 cpp -I $kernelbuild/include |
21414 grep "^kernsrcver=" | cut -d \" -f 2`
21416 elif test -r $kernelbuild/include
/linux
/utsrelease.h
&&
21417 fgrep
-q UTS_RELEASE
$kernelbuild/include
/linux
/utsrelease.h
; then
21419 kernsrcver
=`(echo "#include <linux/utsrelease.h>";
21420 echo "kernsrcver=UTS_RELEASE") |
21421 cpp -I $kernelbuild/include |
21422 grep "^kernsrcver=" | cut -d \" -f 2`
21425 if test -z "$kernsrcver"; then
21426 echo "$as_me:$LINENO: result: Not found" >&5
21427 echo "${ECHO_T}Not found" >&6
21428 { { echo "$as_me:$LINENO: error:
21429 *** Cannot determine the version of the linux kernel source.
21430 *** Please prepare the kernel before running this script" >&5
21431 echo "$as_me: error:
21432 *** Cannot determine the version of the linux kernel source.
21433 *** Please prepare the kernel before running this script" >&2;}
21434 { (exit 1); exit 1; }; }
21437 echo "$as_me:$LINENO: result: $kernsrcver" >&5
21438 echo "${ECHO_T}$kernsrcver" >&6
21441 LINUX_OBJ
=${kernelbuild}
21442 LINUX_VERSION
=${kernsrcver}
21449 modpost
=$LINUX/scripts
/Makefile.modpost
21450 echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
21451 echo $ECHO_N "checking kernel file name for module symbols... $ECHO_C" >&6
21452 if test -f "$modpost"; then
21453 if grep -q Modules.symvers
$modpost; then
21454 LINUX_SYMBOLS
=Modules.symvers
21456 LINUX_SYMBOLS
=Module.symvers
21461 echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
21462 echo "${ECHO_T}$LINUX_SYMBOLS" >&6
21467 KERNELMAKE_PARAMS
="V=1"
21469 abs_srcdir
=`readlink -f ${srcdir}`
21470 KERNELCPPFLAGS
="$KERNELCPPFLAGS -Wstrict-prototypes -Werror"
21471 KERNELCPPFLAGS
="$KERNELCPPFLAGS -I${abs_srcdir} -I${abs_srcdir}/include"
21473 if test "${LINUX_OBJ}" != "${LINUX}"; then
21474 KERNELMAKE_PARAMS
="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
21481 echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
21482 echo $ECHO_N "checking whether debugging is enabled... $ECHO_C" >&6
21483 # Check whether --enable-debug or --disable-debug was given.
21484 if test "${enable_debug+set}" = set; then
21485 enableval
="$enable_debug"
21486 case "$enableval" in
21487 yes) spl_ac_debug
=yes ;;
21488 no
) spl_ac_debug
=no
;;
21489 *) echo "$as_me:$LINENO: result: Error!" >&5
21490 echo "${ECHO_T}Error!" >&6
21491 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug" >&5
21492 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug" >&2;}
21493 { (exit 1); exit 1; }; } ;;
21497 if test "$spl_ac_debug" = yes; then
21498 echo "$as_me:$LINENO: result: yes" >&5
21499 echo "${ECHO_T}yes" >&6
21500 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG"
21502 echo "$as_me:$LINENO: result: no" >&5
21503 echo "${ECHO_T}no" >&6
21504 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DNDEBUG"
21508 echo "$as_me:$LINENO: checking whether kmem debugging is enabled" >&5
21509 echo $ECHO_N "checking whether kmem debugging is enabled... $ECHO_C" >&6
21510 # Check whether --enable-debug-kmem or --disable-debug-kmem was given.
21511 if test "${enable_debug_kmem+set}" = set; then
21512 enableval
="$enable_debug_kmem"
21513 case "$enableval" in
21514 yes) spl_ac_debug_kmem
=yes ;;
21515 no
) spl_ac_debug_kmem
=no
;;
21516 *) echo "$as_me:$LINENO: result: Error!" >&5
21517 echo "${ECHO_T}Error!" >&6
21518 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug-kmem" >&5
21519 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug-kmem" >&2;}
21520 { (exit 1); exit 1; }; } ;;
21524 if test "$spl_ac_debug_kmem" = yes; then
21525 echo "$as_me:$LINENO: result: yes" >&5
21526 echo "${ECHO_T}yes" >&6
21528 cat >>confdefs.h
<<\_ACEOF
21529 #define DEBUG_KMEM 1
21532 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KMEM"
21534 echo "$as_me:$LINENO: result: no" >&5
21535 echo "${ECHO_T}no" >&6
21539 echo "$as_me:$LINENO: checking whether mutex debugging is enabled" >&5
21540 echo $ECHO_N "checking whether mutex debugging is enabled... $ECHO_C" >&6
21541 # Check whether --enable-debug-mutex or --disable-debug-mutex was given.
21542 if test "${enable_debug_mutex+set}" = set; then
21543 enableval
="$enable_debug_mutex"
21544 case "$enableval" in
21545 yes) spl_ac_debug_mutex
=yes ;;
21546 no
) spl_ac_debug_mutex
=no
;;
21547 *) echo "$as_me:$LINENO: result: Error!" >&5
21548 echo "${ECHO_T}Error!" >&6
21549 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug-mutex" >&5
21550 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug-mutex" >&2;}
21551 { (exit 1); exit 1; }; } ;;
21555 if test "$spl_ac_debug_mutex" = yes; then
21556 echo "$as_me:$LINENO: result: yes" >&5
21557 echo "${ECHO_T}yes" >&6
21559 cat >>confdefs.h
<<\_ACEOF
21560 #define DEBUG_MUTEX 1
21563 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_MUTEX"
21565 echo "$as_me:$LINENO: result: no" >&5
21566 echo "${ECHO_T}no" >&6
21570 echo "$as_me:$LINENO: checking whether kstat debugging is enabled" >&5
21571 echo $ECHO_N "checking whether kstat debugging is enabled... $ECHO_C" >&6
21572 # Check whether --enable-debug-kstat or --disable-debug-kstat was given.
21573 if test "${enable_debug_kstat+set}" = set; then
21574 enableval
="$enable_debug_kstat"
21575 case "$enableval" in
21576 yes) spl_ac_debug_kstat
=yes ;;
21577 no
) spl_ac_debug_kstat
=no
;;
21578 *) echo "$as_me:$LINENO: result: Error!" >&5
21579 echo "${ECHO_T}Error!" >&6
21580 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug-kstat" >&5
21581 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug-kstat" >&2;}
21582 { (exit 1); exit 1; }; } ;;
21586 if test "$spl_ac_debug_kstat" = yes; then
21587 echo "$as_me:$LINENO: result: yes" >&5
21588 echo "${ECHO_T}yes" >&6
21590 cat >>confdefs.h
<<\_ACEOF
21591 #define DEBUG_KSTAT 1
21594 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_KSTAT"
21596 echo "$as_me:$LINENO: result: no" >&5
21597 echo "${ECHO_T}no" >&6
21601 echo "$as_me:$LINENO: checking whether callb debugging is enabled" >&5
21602 echo $ECHO_N "checking whether callb debugging is enabled... $ECHO_C" >&6
21603 # Check whether --enable-debug-callb or --disable-debug-callb was given.
21604 if test "${enable_debug_callb+set}" = set; then
21605 enableval
="$enable_debug_callb"
21606 case "$enableval" in
21607 yes) spl_ac_debug_callb
=yes ;;
21608 no
) spl_ac_debug_callb
=no
;;
21609 *) echo "$as_me:$LINENO: result: Error!" >&5
21610 echo "${ECHO_T}Error!" >&6
21611 { { echo "$as_me:$LINENO: error: Bad value \"$enableval\" for --enable-debug-callb" >&5
21612 echo "$as_me: error: Bad value \"$enableval\" for --enable-debug-callb" >&2;}
21613 { (exit 1); exit 1; }; } ;;
21617 if test "$spl_ac_debug_callb" = yes; then
21618 echo "$as_me:$LINENO: result: yes" >&5
21619 echo "${ECHO_T}yes" >&6
21621 cat >>confdefs.h
<<\_ACEOF
21622 #define DEBUG_CALLB 1
21625 KERNELCPPFLAGS
="${KERNELCPPFLAGS} -DDEBUG_CALLB"
21627 echo "$as_me:$LINENO: result: no" >&5
21628 echo "${ECHO_T}no" >&6
21631 echo "$as_me:$LINENO: checking whether kernel defines uintptr_t" >&5
21632 echo $ECHO_N "checking whether kernel defines uintptr_t... $ECHO_C" >&6
21635 cat >conftest.c
<<_ACEOF
21638 cat confdefs.h
>>conftest.
$ac_ext
21639 cat >>conftest.
$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21643 #include <linux/types.h>
21658 rm -Rf build
&& mkdir
-p build
21659 echo "obj-m := conftest.o" >build
/Makefile
21660 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21667 (eval $ac_try) 2>&5
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); }; }; then
21672 echo "$as_me:$LINENO: result: yes" >&5
21673 echo "${ECHO_T}yes" >&6
21675 cat >>confdefs.h
<<\_ACEOF
21676 #define HAVE_UINTPTR_T 1
21681 echo "$as_me: failed program was:" >&5
21682 sed 's/^/| /' conftest.
$ac_ext >&5
21684 echo "$as_me:$LINENO: result: no" >&5
21685 echo "${ECHO_T}no" >&6
21695 echo "$as_me:$LINENO: checking whether kernel defines atomic64_t" >&5
21696 echo $ECHO_N "checking whether kernel defines atomic64_t... $ECHO_C" >&6
21699 cat >conftest.c
<<_ACEOF
21702 cat confdefs.h
>>conftest.
$ac_ext
21703 cat >>conftest.
$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21707 #include <asm/atomic.h>
21722 rm -Rf build
&& mkdir
-p build
21723 echo "obj-m := conftest.o" >build
/Makefile
21724 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21726 (eval $ac_try) 2>&5
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21731 (eval $ac_try) 2>&5
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); }; }; then
21736 echo "$as_me:$LINENO: result: yes" >&5
21737 echo "${ECHO_T}yes" >&6
21739 cat >>confdefs.h
<<\_ACEOF
21740 #define HAVE_ATOMIC64_T 1
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.
$ac_ext >&5
21748 echo "$as_me:$LINENO: result: no" >&5
21749 echo "${ECHO_T}no" >&6
21759 echo "$as_me:$LINENO: checking whether INIT_WORK wants 3 args" >&5
21760 echo $ECHO_N "checking whether INIT_WORK wants 3 args... $ECHO_C" >&6
21763 cat >conftest.c
<<_ACEOF
21766 cat confdefs.h
>>conftest.
$ac_ext
21767 cat >>conftest.
$ac_ext <<_ACEOF
21768 /* end confdefs.h. */
21771 #include <linux/workqueue.h>
21777 struct work_struct work;
21778 INIT_WORK(&work, NULL, NULL);
21787 rm -Rf build
&& mkdir
-p build
21788 echo "obj-m := conftest.o" >build
/Makefile
21789 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21796 (eval $ac_try) 2>&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); }; }; then
21801 echo "$as_me:$LINENO: result: yes" >&5
21802 echo "${ECHO_T}yes" >&6
21804 cat >>confdefs.h
<<\_ACEOF
21805 #define HAVE_3ARGS_INIT_WORK 1
21810 echo "$as_me: failed program was:" >&5
21811 sed 's/^/| /' conftest.
$ac_ext >&5
21813 echo "$as_me:$LINENO: result: no" >&5
21814 echo "${ECHO_T}no" >&6
21824 echo "$as_me:$LINENO: checking whether register_sysctl_table() wants 2 args" >&5
21825 echo $ECHO_N "checking whether register_sysctl_table() wants 2 args... $ECHO_C" >&6
21828 cat >conftest.c
<<_ACEOF
21831 cat confdefs.h
>>conftest.
$ac_ext
21832 cat >>conftest.
$ac_ext <<_ACEOF
21833 /* end confdefs.h. */
21836 #include <linux/sysctl.h>
21842 return register_sysctl_table(NULL,0);
21851 rm -Rf build
&& mkdir
-p build
21852 echo "obj-m := conftest.o" >build
/Makefile
21853 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21855 (eval $ac_try) 2>&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21860 (eval $ac_try) 2>&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); }; }; then
21865 echo "$as_me:$LINENO: result: yes" >&5
21866 echo "${ECHO_T}yes" >&6
21868 cat >>confdefs.h
<<\_ACEOF
21869 #define HAVE_2ARGS_REGISTER_SYSCTL 1
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.
$ac_ext >&5
21877 echo "$as_me:$LINENO: result: no" >&5
21878 echo "${ECHO_T}no" >&6
21889 echo "$as_me:$LINENO: checking whether set_shrinker() available" >&5
21890 echo $ECHO_N "checking whether set_shrinker() available... $ECHO_C" >&6
21893 cat >conftest.c
<<_ACEOF
21896 cat confdefs.h
>>conftest.
$ac_ext
21897 cat >>conftest.
$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21901 #include <linux/mm.h>
21907 return set_shrinker(DEFAULT_SEEKS, NULL);
21916 rm -Rf build
&& mkdir
-p build
21917 echo "obj-m := conftest.o" >build
/Makefile
21918 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920 (eval $ac_try) 2>&5
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925 (eval $ac_try) 2>&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21930 echo "$as_me:$LINENO: result: yes" >&5
21931 echo "${ECHO_T}yes" >&6
21933 cat >>confdefs.h
<<\_ACEOF
21934 #define HAVE_SET_SHRINKER 1
21939 echo "$as_me: failed program was:" >&5
21940 sed 's/^/| /' conftest.
$ac_ext >&5
21942 echo "$as_me:$LINENO: result: no" >&5
21943 echo "${ECHO_T}no" >&6
21953 echo "$as_me:$LINENO: checking whether struct path used in struct nameidata" >&5
21954 echo $ECHO_N "checking whether struct path used in struct nameidata... $ECHO_C" >&6
21957 cat >conftest.c
<<_ACEOF
21960 cat confdefs.h
>>conftest.
$ac_ext
21961 cat >>conftest.
$ac_ext <<_ACEOF
21962 /* end confdefs.h. */
21965 #include <linux/namei.h>
21971 struct nameidata nd;
21973 nd.path.mnt = NULL;
21974 nd.path.dentry = NULL;
21983 rm -Rf build
&& mkdir
-p build
21984 echo "obj-m := conftest.o" >build
/Makefile
21985 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
21986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21987 (eval $ac_try) 2>&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21997 echo "$as_me:$LINENO: result: yes" >&5
21998 echo "${ECHO_T}yes" >&6
22000 cat >>confdefs.h
<<\_ACEOF
22001 #define HAVE_PATH_IN_NAMEIDATA 1
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.
$ac_ext >&5
22009 echo "$as_me:$LINENO: result: no" >&5
22010 echo "${ECHO_T}no" >&6
22021 echo "$as_me:$LINENO: checking whether symbol task_curr is exported" >&5
22022 echo $ECHO_N "checking whether symbol task_curr is exported... $ECHO_C" >&6
22023 grep -q -E '[[:space:]]task_curr[[:space:]]' \
22024 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
22026 if test $rc -ne 0; then
22028 for file in kernel
/sched.c
; do
22029 grep -q -E "EXPORT_SYMBOL.*(task_curr)" \
22030 "$LINUX_OBJ/$file" 2>/dev
/null
22032 if test $rc -eq 0; then
22037 if test $export -eq 0; then
22038 echo "$as_me:$LINENO: result: no" >&5
22039 echo "${ECHO_T}no" >&6
22042 echo "$as_me:$LINENO: result: yes" >&5
22043 echo "${ECHO_T}yes" >&6
22045 cat >>confdefs.h
<<\_ACEOF
22046 #define HAVE_TASK_CURR 1
22051 echo "$as_me:$LINENO: result: yes" >&5
22052 echo "${ECHO_T}yes" >&6
22054 cat >>confdefs.h
<<\_ACEOF
22055 #define HAVE_TASK_CURR 1
22061 echo "$as_me:$LINENO: checking whether unnumbered sysctl support exists" >&5
22062 echo $ECHO_N "checking whether unnumbered sysctl support exists... $ECHO_C" >&6
22065 cat >conftest.c
<<_ACEOF
22068 cat confdefs.h
>>conftest.
$ac_ext
22069 cat >>conftest.
$ac_ext <<_ACEOF
22070 /* end confdefs.h. */
22073 #include <linux/sysctl.h>
22079 #ifndef CTL_UNNUMBERED
22080 #error CTL_UNNUMBERED undefined
22090 rm -Rf build
&& mkdir
-p build
22091 echo "obj-m := conftest.o" >build
/Makefile
22092 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; }; then
22104 echo "$as_me:$LINENO: result: yes" >&5
22105 echo "${ECHO_T}yes" >&6
22107 cat >>confdefs.h
<<\_ACEOF
22108 #define HAVE_CTL_UNNUMBERED 1
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.
$ac_ext >&5
22116 echo "$as_me:$LINENO: result: no" >&5
22117 echo "${ECHO_T}no" >&6
22127 echo "$as_me:$LINENO: checking whether fls64() is available" >&5
22128 echo $ECHO_N "checking whether fls64() is available... $ECHO_C" >&6
22131 cat >conftest.c
<<_ACEOF
22134 cat confdefs.h
>>conftest.
$ac_ext
22135 cat >>conftest.
$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22139 #include <linux/bitops.h>
22154 rm -Rf build
&& mkdir
-p build
22155 echo "obj-m := conftest.o" >build
/Makefile
22156 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22158 (eval $ac_try) 2>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22163 (eval $ac_try) 2>&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); }; }; then
22168 echo "$as_me:$LINENO: result: yes" >&5
22169 echo "${ECHO_T}yes" >&6
22171 cat >>confdefs.h
<<\_ACEOF
22172 #define HAVE_FLS64 1
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.
$ac_ext >&5
22180 echo "$as_me:$LINENO: result: no" >&5
22181 echo "${ECHO_T}no" >&6
22192 echo "$as_me:$LINENO: checking whether symbol device_create is exported" >&5
22193 echo $ECHO_N "checking whether symbol device_create is exported... $ECHO_C" >&6
22194 grep -q -E '[[:space:]]device_create[[:space:]]' \
22195 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
22197 if test $rc -ne 0; then
22199 for file in drivers
/base
/core.c
; do
22200 grep -q -E "EXPORT_SYMBOL.*(device_create)" \
22201 "$LINUX_OBJ/$file" 2>/dev
/null
22203 if test $rc -eq 0; then
22208 if test $export -eq 0; then
22209 echo "$as_me:$LINENO: result: no" >&5
22210 echo "${ECHO_T}no" >&6
22213 echo "$as_me:$LINENO: result: yes" >&5
22214 echo "${ECHO_T}yes" >&6
22216 cat >>confdefs.h
<<\_ACEOF
22217 #define HAVE_DEVICE_CREATE 1
22222 echo "$as_me:$LINENO: result: yes" >&5
22223 echo "${ECHO_T}yes" >&6
22225 cat >>confdefs.h
<<\_ACEOF
22226 #define HAVE_DEVICE_CREATE 1
22233 echo "$as_me:$LINENO: checking whether device_create() wants 5 args" >&5
22234 echo $ECHO_N "checking whether device_create() wants 5 args... $ECHO_C" >&6
22235 tmp_flags
="$EXTRA_KCFLAGS"
22236 EXTRA_KCFLAGS
="-Werror"
22239 cat >conftest.c
<<_ACEOF
22242 cat confdefs.h
>>conftest.
$ac_ext
22243 cat >>conftest.
$ac_ext <<_ACEOF
22244 /* end confdefs.h. */
22247 #include <linux/device.h>
22253 device_create(NULL, NULL, 0, NULL, "%d", 1);
22262 rm -Rf build
&& mkdir
-p build
22263 echo "obj-m := conftest.o" >build
/Makefile
22264 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22266 (eval $ac_try) 2>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22271 (eval $ac_try) 2>&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); }; }; then
22276 echo "$as_me:$LINENO: result: yes" >&5
22277 echo "${ECHO_T}yes" >&6
22279 cat >>confdefs.h
<<\_ACEOF
22280 #define HAVE_5ARGS_DEVICE_CREATE 1
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.
$ac_ext >&5
22288 echo "$as_me:$LINENO: result: no" >&5
22289 echo "${ECHO_T}no" >&6
22298 EXTRA_KCFLAGS
="$tmp_flags"
22301 echo "$as_me:$LINENO: checking whether symbol class_device_create is exported" >&5
22302 echo $ECHO_N "checking whether symbol class_device_create is exported... $ECHO_C" >&6
22303 grep -q -E '[[:space:]]class_device_create[[:space:]]' \
22304 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
22306 if test $rc -ne 0; then
22308 for file in drivers
/base
/class.c
; do
22309 grep -q -E "EXPORT_SYMBOL.*(class_device_create)" \
22310 "$LINUX_OBJ/$file" 2>/dev
/null
22312 if test $rc -eq 0; then
22317 if test $export -eq 0; then
22318 echo "$as_me:$LINENO: result: no" >&5
22319 echo "${ECHO_T}no" >&6
22322 echo "$as_me:$LINENO: result: yes" >&5
22323 echo "${ECHO_T}yes" >&6
22325 cat >>confdefs.h
<<\_ACEOF
22326 #define HAVE_CLASS_DEVICE_CREATE 1
22331 echo "$as_me:$LINENO: result: yes" >&5
22332 echo "${ECHO_T}yes" >&6
22334 cat >>confdefs.h
<<\_ACEOF
22335 #define HAVE_CLASS_DEVICE_CREATE 1
22342 echo "$as_me:$LINENO: checking whether symbol set_normalized_timespec is exported" >&5
22343 echo $ECHO_N "checking whether symbol set_normalized_timespec is exported... $ECHO_C" >&6
22344 grep -q -E '[[:space:]]set_normalized_timespec[[:space:]]' \
22345 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
22347 if test $rc -ne 0; then
22349 for file in kernel
/time.c
; do
22350 grep -q -E "EXPORT_SYMBOL.*(set_normalized_timespec)" \
22351 "$LINUX_OBJ/$file" 2>/dev
/null
22353 if test $rc -eq 0; then
22358 if test $export -eq 0; then
22359 echo "$as_me:$LINENO: result: no" >&5
22360 echo "${ECHO_T}no" >&6
22363 echo "$as_me:$LINENO: result: yes" >&5
22364 echo "${ECHO_T}yes" >&6
22366 cat >>confdefs.h
<<\_ACEOF
22367 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
22372 echo "$as_me:$LINENO: result: yes" >&5
22373 echo "${ECHO_T}yes" >&6
22375 cat >>confdefs.h
<<\_ACEOF
22376 #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
22383 echo "$as_me:$LINENO: checking whether set_normalized_timespec() is an inline" >&5
22384 echo $ECHO_N "checking whether set_normalized_timespec() is an inline... $ECHO_C" >&6
22387 cat >conftest.c
<<_ACEOF
22390 cat confdefs.h
>>conftest.
$ac_ext
22391 cat >>conftest.
$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22395 #include <linux/time.h>
22396 void set_normalized_timespec(struct timespec *ts,
22397 time_t sec, long nsec) { }
22410 rm -Rf build
&& mkdir
-p build
22411 echo "obj-m := conftest.o" >build
/Makefile
22412 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22414 (eval $ac_try) 2>&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; }; then
22424 echo "$as_me:$LINENO: result: no" >&5
22425 echo "${ECHO_T}no" >&6
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.
$ac_ext >&5
22431 echo "$as_me:$LINENO: result: yes" >&5
22432 echo "${ECHO_T}yes" >&6
22434 cat >>confdefs.h
<<\_ACEOF
22435 #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
22448 echo "$as_me:$LINENO: checking whether timespec_sub() is available" >&5
22449 echo $ECHO_N "checking whether timespec_sub() is available... $ECHO_C" >&6
22452 cat >conftest.c
<<_ACEOF
22455 cat confdefs.h
>>conftest.
$ac_ext
22456 cat >>conftest.
$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22460 #include <linux/time.h>
22466 struct timespec a, b, c = { 0 };
22467 c = timespec_sub(a, b);
22476 rm -Rf build
&& mkdir
-p build
22477 echo "obj-m := conftest.o" >build
/Makefile
22478 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22485 (eval $ac_try) 2>&5
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); }; }; then
22490 echo "$as_me:$LINENO: result: yes" >&5
22491 echo "${ECHO_T}yes" >&6
22493 cat >>confdefs.h
<<\_ACEOF
22494 #define HAVE_TIMESPEC_SUB 1
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.
$ac_ext >&5
22502 echo "$as_me:$LINENO: result: no" >&5
22503 echo "${ECHO_T}no" >&6
22514 echo "$as_me:$LINENO: checking whether init_utsname() is available" >&5
22515 echo $ECHO_N "checking whether init_utsname() is available... $ECHO_C" >&6
22518 cat >conftest.c
<<_ACEOF
22521 cat confdefs.h
>>conftest.
$ac_ext
22522 cat >>conftest.
$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22526 #include <linux/utsname.h>
22532 struct new_utsname *a = init_utsname();
22541 rm -Rf build
&& mkdir
-p build
22542 echo "obj-m := conftest.o" >build
/Makefile
22543 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22545 (eval $ac_try) 2>&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22550 (eval $ac_try) 2>&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); }; }; then
22555 echo "$as_me:$LINENO: result: yes" >&5
22556 echo "${ECHO_T}yes" >&6
22558 cat >>confdefs.h
<<\_ACEOF
22559 #define HAVE_INIT_UTSNAME 1
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.
$ac_ext >&5
22567 echo "$as_me:$LINENO: result: no" >&5
22568 echo "${ECHO_T}no" >&6
22579 echo "$as_me:$LINENO: checking whether header linux/fdtable.h exists" >&5
22580 echo $ECHO_N "checking whether header linux/fdtable.h exists... $ECHO_C" >&6
22583 cat >conftest.c
<<_ACEOF
22586 cat confdefs.h
>>conftest.
$ac_ext
22587 cat >>conftest.
$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22591 #include <linux/fdtable.h>
22606 rm -Rf build
&& mkdir
-p build
22607 echo "obj-m := conftest.o" >build
/Makefile
22608 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 (eval $ac_try) 2>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22615 (eval $ac_try) 2>&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); }; }; then
22621 cat >>confdefs.h
<<\_ACEOF
22622 #define HAVE_FDTABLE_HEADER 1
22625 echo "$as_me:$LINENO: result: yes" >&5
22626 echo "${ECHO_T}yes" >&6
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.
$ac_ext >&5
22633 echo "$as_me:$LINENO: result: no" >&5
22634 echo "${ECHO_T}no" >&6
22647 echo "$as_me:$LINENO: checking whether files_fdtable() is available" >&5
22648 echo $ECHO_N "checking whether files_fdtable() is available... $ECHO_C" >&6
22651 cat >conftest.c
<<_ACEOF
22654 cat confdefs.h
>>conftest.
$ac_ext
22655 cat >>conftest.
$ac_ext <<_ACEOF
22656 /* end confdefs.h. */
22659 #include <linux/sched.h>
22660 #include <linux/file.h>
22661 #ifdef HAVE_FDTABLE_HEADER
22662 #include <linux/fdtable.h>
22669 struct files_struct *files = current->files;
22670 struct fdtable *fdt = files_fdtable(files);
22679 rm -Rf build
&& mkdir
-p build
22680 echo "obj-m := conftest.o" >build
/Makefile
22681 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22683 (eval $ac_try) 2>&5
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688 (eval $ac_try) 2>&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); }; }; then
22693 echo "$as_me:$LINENO: result: yes" >&5
22694 echo "${ECHO_T}yes" >&6
22696 cat >>confdefs.h
<<\_ACEOF
22697 #define HAVE_FILES_FDTABLE 1
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.
$ac_ext >&5
22705 echo "$as_me:$LINENO: result: no" >&5
22706 echo "${ECHO_T}no" >&6
22717 echo "$as_me:$LINENO: checking whether header linux/uaccess.h exists" >&5
22718 echo $ECHO_N "checking whether header linux/uaccess.h exists... $ECHO_C" >&6
22721 cat >conftest.c
<<_ACEOF
22724 cat confdefs.h
>>conftest.
$ac_ext
22725 cat >>conftest.
$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22729 #include <linux/uaccess.h>
22744 rm -Rf build
&& mkdir
-p build
22745 echo "obj-m := conftest.o" >build
/Makefile
22746 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22748 (eval $ac_try) 2>&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; }; then
22759 cat >>confdefs.h
<<\_ACEOF
22760 #define HAVE_UACCESS_HEADER 1
22763 echo "$as_me:$LINENO: result: yes" >&5
22764 echo "${ECHO_T}yes" >&6
22768 echo "$as_me: failed program was:" >&5
22769 sed 's/^/| /' conftest.
$ac_ext >&5
22771 echo "$as_me:$LINENO: result: no" >&5
22772 echo "${ECHO_T}no" >&6
22785 echo "$as_me:$LINENO: checking whether kmalloc_node() is available" >&5
22786 echo $ECHO_N "checking whether kmalloc_node() is available... $ECHO_C" >&6
22789 cat >conftest.c
<<_ACEOF
22792 cat confdefs.h
>>conftest.
$ac_ext
22793 cat >>conftest.
$ac_ext <<_ACEOF
22794 /* end confdefs.h. */
22797 #include <linux/slab.h>
22803 void *a = kmalloc_node(1, GFP_KERNEL, 0);
22812 rm -Rf build
&& mkdir
-p build
22813 echo "obj-m := conftest.o" >build
/Makefile
22814 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; }; then
22826 echo "$as_me:$LINENO: result: yes" >&5
22827 echo "${ECHO_T}yes" >&6
22829 cat >>confdefs.h
<<\_ACEOF
22830 #define HAVE_KMALLOC_NODE 1
22835 echo "$as_me: failed program was:" >&5
22836 sed 's/^/| /' conftest.
$ac_ext >&5
22838 echo "$as_me:$LINENO: result: no" >&5
22839 echo "${ECHO_T}no" >&6
22850 echo "$as_me:$LINENO: checking whether symbol monotonic_clock is exported" >&5
22851 echo $ECHO_N "checking whether symbol monotonic_clock is exported... $ECHO_C" >&6
22852 grep -q -E '[[:space:]]monotonic_clock[[:space:]]' \
22853 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
22855 if test $rc -ne 0; then
22858 grep -q -E "EXPORT_SYMBOL.*(monotonic_clock)" \
22859 "$LINUX_OBJ/$file" 2>/dev
/null
22861 if test $rc -eq 0; then
22866 if test $export -eq 0; then
22867 echo "$as_me:$LINENO: result: no" >&5
22868 echo "${ECHO_T}no" >&6
22871 echo "$as_me:$LINENO: result: yes" >&5
22872 echo "${ECHO_T}yes" >&6
22874 cat >>confdefs.h
<<\_ACEOF
22875 #define HAVE_MONOTONIC_CLOCK 1
22880 echo "$as_me:$LINENO: result: yes" >&5
22881 echo "${ECHO_T}yes" >&6
22883 cat >>confdefs.h
<<\_ACEOF
22884 #define HAVE_MONOTONIC_CLOCK 1
22891 echo "$as_me:$LINENO: checking whether struct inode has i_mutex" >&5
22892 echo $ECHO_N "checking whether struct inode has i_mutex... $ECHO_C" >&6
22895 cat >conftest.c
<<_ACEOF
22898 cat confdefs.h
>>conftest.
$ac_ext
22899 cat >>conftest.
$ac_ext <<_ACEOF
22900 /* end confdefs.h. */
22903 #include <linux/fs.h>
22904 #include <linux/mutex.h>
22911 mutex_init(&i.i_mutex);
22920 rm -Rf build
&& mkdir
-p build
22921 echo "obj-m := conftest.o" >build
/Makefile
22922 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22924 (eval $ac_try) 2>&5
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; }; then
22934 echo "$as_me:$LINENO: result: yes" >&5
22935 echo "${ECHO_T}yes" >&6
22937 cat >>confdefs.h
<<\_ACEOF
22938 #define HAVE_INODE_I_MUTEX 1
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.
$ac_ext >&5
22946 echo "$as_me:$LINENO: result: no" >&5
22947 echo "${ECHO_T}no" >&6
22958 echo "$as_me:$LINENO: checking whether mutex_lock_nested() is available" >&5
22959 echo $ECHO_N "checking whether mutex_lock_nested() is available... $ECHO_C" >&6
22962 cat >conftest.c
<<_ACEOF
22965 cat confdefs.h
>>conftest.
$ac_ext
22966 cat >>conftest.
$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22970 #include <linux/mutex.h>
22976 struct mutex mutex;
22977 mutex_init(&mutex);
22978 mutex_lock_nested(&mutex, 0);
22987 rm -Rf build
&& mkdir
-p build
22988 echo "obj-m := conftest.o" >build
/Makefile
22989 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
22990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22991 (eval $ac_try) 2>&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
22995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22996 (eval $ac_try) 2>&5
22998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); }; }; then
23001 echo "$as_me:$LINENO: result: yes" >&5
23002 echo "${ECHO_T}yes" >&6
23004 cat >>confdefs.h
<<\_ACEOF
23005 #define HAVE_MUTEX_LOCK_NESTED 1
23010 echo "$as_me: failed program was:" >&5
23011 sed 's/^/| /' conftest.
$ac_ext >&5
23013 echo "$as_me:$LINENO: result: no" >&5
23014 echo "${ECHO_T}no" >&6
23025 echo "$as_me:$LINENO: checking whether symbol div64_64 is exported" >&5
23026 echo $ECHO_N "checking whether symbol div64_64 is exported... $ECHO_C" >&6
23027 grep -q -E '[[:space:]]div64_64[[:space:]]' \
23028 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
23030 if test $rc -ne 0; then
23033 grep -q -E "EXPORT_SYMBOL.*(div64_64)" \
23034 "$LINUX_OBJ/$file" 2>/dev
/null
23036 if test $rc -eq 0; then
23041 if test $export -eq 0; then
23042 echo "$as_me:$LINENO: result: no" >&5
23043 echo "${ECHO_T}no" >&6
23046 echo "$as_me:$LINENO: result: yes" >&5
23047 echo "${ECHO_T}yes" >&6
23049 cat >>confdefs.h
<<\_ACEOF
23050 #define HAVE_DIV64_64 1
23055 echo "$as_me:$LINENO: result: yes" >&5
23056 echo "${ECHO_T}yes" >&6
23058 cat >>confdefs.h
<<\_ACEOF
23059 #define HAVE_DIV64_64 1
23066 echo "$as_me:$LINENO: checking whether symbol div64_u64 is exported" >&5
23067 echo $ECHO_N "checking whether symbol div64_u64 is exported... $ECHO_C" >&6
23068 grep -q -E '[[:space:]]div64_u64[[:space:]]' \
23069 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
23071 if test $rc -ne 0; then
23074 grep -q -E "EXPORT_SYMBOL.*(div64_u64)" \
23075 "$LINUX_OBJ/$file" 2>/dev
/null
23077 if test $rc -eq 0; then
23082 if test $export -eq 0; then
23083 echo "$as_me:$LINENO: result: no" >&5
23084 echo "${ECHO_T}no" >&6
23087 echo "$as_me:$LINENO: result: yes" >&5
23088 echo "${ECHO_T}yes" >&6
23090 cat >>confdefs.h
<<\_ACEOF
23091 #define HAVE_DIV64_U64 1
23096 echo "$as_me:$LINENO: result: yes" >&5
23097 echo "${ECHO_T}yes" >&6
23099 cat >>confdefs.h
<<\_ACEOF
23100 #define HAVE_DIV64_U64 1
23107 echo "$as_me:$LINENO: checking whether on_each_cpu() wants 3 args" >&5
23108 echo $ECHO_N "checking whether on_each_cpu() wants 3 args... $ECHO_C" >&6
23111 cat >conftest.c
<<_ACEOF
23114 cat confdefs.h
>>conftest.
$ac_ext
23115 cat >>conftest.
$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23119 #include <linux/smp.h>
23125 on_each_cpu(NULL, NULL, 0);
23134 rm -Rf build
&& mkdir
-p build
23135 echo "obj-m := conftest.o" >build
/Makefile
23136 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
23142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23143 (eval $ac_try) 2>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); }; }; then
23148 echo "$as_me:$LINENO: result: yes" >&5
23149 echo "${ECHO_T}yes" >&6
23151 cat >>confdefs.h
<<\_ACEOF
23152 #define HAVE_3ARGS_ON_EACH_CPU 1
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.
$ac_ext >&5
23160 echo "$as_me:$LINENO: result: no" >&5
23161 echo "${ECHO_T}no" >&6
23172 echo "$as_me:$LINENO: checking whether symbol kallsyms_lookup_name is exported" >&5
23173 echo $ECHO_N "checking whether symbol kallsyms_lookup_name is exported... $ECHO_C" >&6
23174 grep -q -E '[[:space:]]kallsyms_lookup_name[[:space:]]' \
23175 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
23177 if test $rc -ne 0; then
23180 grep -q -E "EXPORT_SYMBOL.*(kallsyms_lookup_name)" \
23181 "$LINUX_OBJ/$file" 2>/dev
/null
23183 if test $rc -eq 0; then
23188 if test $export -eq 0; then
23189 echo "$as_me:$LINENO: result: no" >&5
23190 echo "${ECHO_T}no" >&6
23193 echo "$as_me:$LINENO: result: yes" >&5
23194 echo "${ECHO_T}yes" >&6
23196 cat >>confdefs.h
<<\_ACEOF
23197 #define HAVE_KALLSYMS_LOOKUP_NAME 1
23202 echo "$as_me:$LINENO: result: yes" >&5
23203 echo "${ECHO_T}yes" >&6
23205 cat >>confdefs.h
<<\_ACEOF
23206 #define HAVE_KALLSYMS_LOOKUP_NAME 1
23213 echo "$as_me:$LINENO: checking whether symbol get_vmalloc_info is exported" >&5
23214 echo $ECHO_N "checking whether symbol get_vmalloc_info is exported... $ECHO_C" >&6
23215 grep -q -E '[[:space:]]get_vmalloc_info[[:space:]]' \
23216 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
23218 if test $rc -ne 0; then
23221 grep -q -E "EXPORT_SYMBOL.*(get_vmalloc_info)" \
23222 "$LINUX_OBJ/$file" 2>/dev
/null
23224 if test $rc -eq 0; then
23229 if test $export -eq 0; then
23230 echo "$as_me:$LINENO: result: no" >&5
23231 echo "${ECHO_T}no" >&6
23234 echo "$as_me:$LINENO: result: yes" >&5
23235 echo "${ECHO_T}yes" >&6
23237 cat >>confdefs.h
<<\_ACEOF
23238 #define HAVE_GET_VMALLOC_INFO 1
23243 echo "$as_me:$LINENO: result: yes" >&5
23244 echo "${ECHO_T}yes" >&6
23246 cat >>confdefs.h
<<\_ACEOF
23247 #define HAVE_GET_VMALLOC_INFO 1
23254 echo "$as_me:$LINENO: checking whether symbol *_pgdat exist" >&5
23255 echo $ECHO_N "checking whether symbol *_pgdat exist... $ECHO_C" >&6
23256 grep -q -E 'first_online_pgdat' $LINUX/include
/linux
/mmzone.h
2>/dev
/null
23258 if test $rc -eq 0; then
23259 echo "$as_me:$LINENO: result: yes" >&5
23260 echo "${ECHO_T}yes" >&6
23262 cat >>confdefs.h
<<\_ACEOF
23263 #define HAVE_PGDAT_HELPERS 1
23267 echo "$as_me:$LINENO: result: no" >&5
23268 echo "${ECHO_T}no" >&6
23272 echo "$as_me:$LINENO: checking whether symbol first_online_pgdat is exported" >&5
23273 echo $ECHO_N "checking whether symbol first_online_pgdat is exported... $ECHO_C" >&6
23274 grep -q -E '[[:space:]]first_online_pgdat[[:space:]]' \
23275 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
23277 if test $rc -ne 0; then
23280 grep -q -E "EXPORT_SYMBOL.*(first_online_pgdat)" \
23281 "$LINUX_OBJ/$file" 2>/dev
/null
23283 if test $rc -eq 0; then
23288 if test $export -eq 0; then
23289 echo "$as_me:$LINENO: result: no" >&5
23290 echo "${ECHO_T}no" >&6
23293 echo "$as_me:$LINENO: result: yes" >&5
23294 echo "${ECHO_T}yes" >&6
23296 cat >>confdefs.h
<<\_ACEOF
23297 #define HAVE_FIRST_ONLINE_PGDAT 1
23302 echo "$as_me:$LINENO: result: yes" >&5
23303 echo "${ECHO_T}yes" >&6
23305 cat >>confdefs.h
<<\_ACEOF
23306 #define HAVE_FIRST_ONLINE_PGDAT 1
23313 echo "$as_me:$LINENO: checking whether symbol next_online_pgdat is exported" >&5
23314 echo $ECHO_N "checking whether symbol next_online_pgdat is exported... $ECHO_C" >&6
23315 grep -q -E '[[:space:]]next_online_pgdat[[:space:]]' \
23316 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
23318 if test $rc -ne 0; then
23321 grep -q -E "EXPORT_SYMBOL.*(next_online_pgdat)" \
23322 "$LINUX_OBJ/$file" 2>/dev
/null
23324 if test $rc -eq 0; then
23329 if test $export -eq 0; then
23330 echo "$as_me:$LINENO: result: no" >&5
23331 echo "${ECHO_T}no" >&6
23334 echo "$as_me:$LINENO: result: yes" >&5
23335 echo "${ECHO_T}yes" >&6
23337 cat >>confdefs.h
<<\_ACEOF
23338 #define HAVE_NEXT_ONLINE_PGDAT 1
23343 echo "$as_me:$LINENO: result: yes" >&5
23344 echo "${ECHO_T}yes" >&6
23346 cat >>confdefs.h
<<\_ACEOF
23347 #define HAVE_NEXT_ONLINE_PGDAT 1
23354 echo "$as_me:$LINENO: checking whether symbol next_zone is exported" >&5
23355 echo $ECHO_N "checking whether symbol next_zone is exported... $ECHO_C" >&6
23356 grep -q -E '[[:space:]]next_zone[[:space:]]' \
23357 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
23359 if test $rc -ne 0; then
23362 grep -q -E "EXPORT_SYMBOL.*(next_zone)" \
23363 "$LINUX_OBJ/$file" 2>/dev
/null
23365 if test $rc -eq 0; then
23370 if test $export -eq 0; then
23371 echo "$as_me:$LINENO: result: no" >&5
23372 echo "${ECHO_T}no" >&6
23375 echo "$as_me:$LINENO: result: yes" >&5
23376 echo "${ECHO_T}yes" >&6
23378 cat >>confdefs.h
<<\_ACEOF
23379 #define HAVE_NEXT_ZONE 1
23384 echo "$as_me:$LINENO: result: yes" >&5
23385 echo "${ECHO_T}yes" >&6
23387 cat >>confdefs.h
<<\_ACEOF
23388 #define HAVE_NEXT_ZONE 1
23395 echo "$as_me:$LINENO: checking whether symbol pgdat_list is exported" >&5
23396 echo $ECHO_N "checking whether symbol pgdat_list is exported... $ECHO_C" >&6
23397 grep -q -E '[[:space:]]pgdat_list[[:space:]]' \
23398 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
23400 if test $rc -ne 0; then
23403 grep -q -E "EXPORT_SYMBOL.*(pgdat_list)" \
23404 "$LINUX_OBJ/$file" 2>/dev
/null
23406 if test $rc -eq 0; then
23411 if test $export -eq 0; then
23412 echo "$as_me:$LINENO: result: no" >&5
23413 echo "${ECHO_T}no" >&6
23416 echo "$as_me:$LINENO: result: yes" >&5
23417 echo "${ECHO_T}yes" >&6
23419 cat >>confdefs.h
<<\_ACEOF
23420 #define HAVE_PGDAT_LIST 1
23425 echo "$as_me:$LINENO: result: yes" >&5
23426 echo "${ECHO_T}yes" >&6
23428 cat >>confdefs.h
<<\_ACEOF
23429 #define HAVE_PGDAT_LIST 1
23436 echo "$as_me:$LINENO: checking whether symbol get_zone_counts is exported" >&5
23437 echo $ECHO_N "checking whether symbol get_zone_counts is exported... $ECHO_C" >&6
23438 grep -q -E '[[:space:]]get_zone_counts[[:space:]]' \
23439 $LINUX_OBJ/Module
*.symvers
2>/dev
/null
23441 if test $rc -ne 0; then
23444 grep -q -E "EXPORT_SYMBOL.*(get_zone_counts)" \
23445 "$LINUX_OBJ/$file" 2>/dev
/null
23447 if test $rc -eq 0; then
23452 if test $export -eq 0; then
23453 echo "$as_me:$LINENO: result: no" >&5
23454 echo "${ECHO_T}no" >&6
23457 echo "$as_me:$LINENO: result: yes" >&5
23458 echo "${ECHO_T}yes" >&6
23460 cat >>confdefs.h
<<\_ACEOF
23461 #define HAVE_GET_ZONE_COUNTS 1
23466 echo "$as_me:$LINENO: result: yes" >&5
23467 echo "${ECHO_T}yes" >&6
23469 cat >>confdefs.h
<<\_ACEOF
23470 #define HAVE_GET_ZONE_COUNTS 1
23477 echo "$as_me:$LINENO: checking whether global_page_state() is available" >&5
23478 echo $ECHO_N "checking whether global_page_state() is available... $ECHO_C" >&6
23481 cat >conftest.c
<<_ACEOF
23484 cat confdefs.h
>>conftest.
$ac_ext
23485 cat >>conftest.
$ac_ext <<_ACEOF
23486 /* end confdefs.h. */
23489 #include <linux/vmstat.h>
23495 unsigned long state;
23496 state = global_page_state(NR_FREE_PAGES);
23505 rm -Rf build
&& mkdir
-p build
23506 echo "obj-m := conftest.o" >build
/Makefile
23507 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
23508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23509 (eval $ac_try) 2>&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; }; then
23519 echo "$as_me:$LINENO: result: yes" >&5
23520 echo "${ECHO_T}yes" >&6
23522 cat >>confdefs.h
<<\_ACEOF
23523 #define HAVE_GLOBAL_PAGE_STATE 1
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.
$ac_ext >&5
23531 echo "$as_me:$LINENO: result: no" >&5
23532 echo "${ECHO_T}no" >&6
23543 echo "$as_me:$LINENO: checking whether free/inactive/active page state is available" >&5
23544 echo $ECHO_N "checking whether free/inactive/active page state is available... $ECHO_C" >&6
23547 cat >conftest.c
<<_ACEOF
23550 cat confdefs.h
>>conftest.
$ac_ext
23551 cat >>conftest.
$ac_ext <<_ACEOF
23552 /* end confdefs.h. */
23555 #include <linux/mmzone.h>
23561 enum zone_stat_item i1, i2, i3;
23562 i1 = NR_FREE_PAGES;
23573 rm -Rf build
&& mkdir
-p build
23574 echo "obj-m := conftest.o" >build
/Makefile
23575 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
23576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23577 (eval $ac_try) 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
23581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23582 (eval $ac_try) 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; }; then
23587 echo "$as_me:$LINENO: result: yes" >&5
23588 echo "${ECHO_T}yes" >&6
23590 cat >>confdefs.h
<<\_ACEOF
23591 #define HAVE_ZONE_STAT_ITEM_FIA 1
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.
$ac_ext >&5
23599 echo "$as_me:$LINENO: result: no" >&5
23600 echo "${ECHO_T}no" >&6
23610 echo "$as_me:$LINENO: checking whether vfs_unlink() wants 2 args" >&5
23611 echo $ECHO_N "checking whether vfs_unlink() wants 2 args... $ECHO_C" >&6
23614 cat >conftest.c
<<_ACEOF
23617 cat confdefs.h
>>conftest.
$ac_ext
23618 cat >>conftest.
$ac_ext <<_ACEOF
23619 /* end confdefs.h. */
23622 #include <linux/fs.h>
23628 vfs_unlink(NULL, NULL);
23637 rm -Rf build
&& mkdir
-p build
23638 echo "obj-m := conftest.o" >build
/Makefile
23639 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
23640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641 (eval $ac_try) 2>&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
23645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23646 (eval $ac_try) 2>&5
23648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23649 (exit $ac_status); }; }; then
23651 echo "$as_me:$LINENO: result: yes" >&5
23652 echo "${ECHO_T}yes" >&6
23654 cat >>confdefs.h
<<\_ACEOF
23655 #define HAVE_2ARGS_VFS_UNLINK 1
23660 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.
$ac_ext >&5
23663 echo "$as_me:$LINENO: result: no" >&5
23664 echo "${ECHO_T}no" >&6
23674 echo "$as_me:$LINENO: checking whether vfs_rename() wants 4 args" >&5
23675 echo $ECHO_N "checking whether vfs_rename() wants 4 args... $ECHO_C" >&6
23678 cat >conftest.c
<<_ACEOF
23681 cat confdefs.h
>>conftest.
$ac_ext
23682 cat >>conftest.
$ac_ext <<_ACEOF
23683 /* end confdefs.h. */
23686 #include <linux/fs.h>
23692 vfs_rename(NULL, NULL, NULL, NULL);
23701 rm -Rf build
&& mkdir
-p build
23702 echo "obj-m := conftest.o" >build
/Makefile
23703 if { ac_try
='cp conftest.c build && make modules LINUXINCLUDE="-Iinclude -Iinclude2 -I$LINUX/include -include include/linux/autoconf.h" -o tmp_include_depends -o scripts -o include/config/MARKER -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; } >/dev
/null
&& { ac_try
='test -s build/conftest.o'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; }; then
23715 echo "$as_me:$LINENO: result: yes" >&5
23716 echo "${ECHO_T}yes" >&6
23718 cat >>confdefs.h
<<\_ACEOF
23719 #define HAVE_4ARGS_VFS_RENAME 1
23724 echo "$as_me: failed program was:" >&5
23725 sed 's/^/| /' conftest.
$ac_ext >&5
23727 echo "$as_me:$LINENO: result: no" >&5
23728 echo "${ECHO_T}no" >&6
23741 echo "$as_me:$LINENO: result: Error!" >&5
23742 echo "${ECHO_T}Error!" >&6
23743 { { echo "$as_me:$LINENO: error: Bad value \"$SPL_CONFIG\" for --with-config,
23744 user kernel|user|all" >&5
23745 echo "$as_me: error: Bad value \"$SPL_CONFIG\" for --with-config,
23746 user kernel|user|all" >&2;}
23747 { (exit 1); exit 1; }; } ;;
23752 if test "$SPL_CONFIG" = user ||
23753 test "$SPL_CONFIG" = all
; then
23755 CONFIG_USER_FALSE
='#'
23757 CONFIG_USER_TRUE
='#'
23763 if test "$SPL_CONFIG" = kernel ||
23764 test "$SPL_CONFIG" = all
; then
23765 CONFIG_KERNEL_TRUE
=
23766 CONFIG_KERNEL_FALSE
='#'
23768 CONFIG_KERNEL_TRUE
='#'
23769 CONFIG_KERNEL_FALSE
=
23774 ac_config_files
="$ac_config_files Makefile lib/Makefile cmd/Makefile module/Makefile module/spl/Makefile module/splat/Makefile include/Makefile scripts/Makefile spl.spec spl-modules.spec"
23777 cat >confcache
<<\_ACEOF
23778 # This file is a shell script that caches the results of configure
23779 # tests run on this system so they can be shared between configure
23780 # scripts and configure runs, see configure's option --config-cache.
23781 # It is not useful on other systems. If it contains results you don't
23782 # want to keep, you may remove or edit it.
23784 # config.status only pays attention to the cache file if you give it
23785 # the --recheck option to rerun configure.
23787 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23788 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23789 # following values.
23793 # The following way of writing the cache mishandles newlines in values,
23794 # but we know of no workaround that is simple, portable, and efficient.
23795 # So, don't put newlines in cache variables' values.
23796 # Ultrix sh set writes to stderr and can't be redirected directly,
23797 # and sets the high bit in the cache file unless we assign to the vars.
23800 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23802 # `set' does not quote correctly, so add quotes (double-quote
23803 # substitution turns \\\\ into \\, and sed turns \\ into \).
23806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23809 # `set' quotes correctly as required by POSIX, so do not add quotes.
23811 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23820 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23822 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23823 if test -w $cache_file; then
23824 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23825 cat confcache
>$cache_file
23827 echo "not updating unwritable cache $cache_file"
23832 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23833 # Let make expand exec_prefix.
23834 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23836 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23837 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23838 # trailing colons and then remove the whole line if VPATH becomes empty
23839 # (actually we leave an empty line to preserve line numbers).
23840 if test "x$srcdir" = x.
; then
23841 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23842 s/:*\$(srcdir):*/:/;
23843 s/:*\${srcdir}:*/:/;
23845 s/^\([^=]*=[ ]*\):*/\1/;
23851 DEFS
=-DHAVE_CONFIG_H
23855 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23856 # 1. Remove the extension, and $U if already installed.
23857 ac_i
=`echo "$ac_i" |
23858 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23860 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
23861 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
23863 LIBOBJS
=$ac_libobjs
23865 LTLIBOBJS
=$ac_ltlibobjs
23868 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23869 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23870 Usually this means the macro was only invoked conditionally." >&5
23871 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23872 Usually this means the macro was only invoked conditionally." >&2;}
23873 { (exit 1); exit 1; }; }
23875 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23876 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23877 Usually this means the macro was only invoked conditionally." >&5
23878 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23879 Usually this means the macro was only invoked conditionally." >&2;}
23880 { (exit 1); exit 1; }; }
23882 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23883 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23884 Usually this means the macro was only invoked conditionally." >&5
23885 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23886 Usually this means the macro was only invoked conditionally." >&2;}
23887 { (exit 1); exit 1; }; }
23889 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23890 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23891 Usually this means the macro was only invoked conditionally." >&5
23892 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23893 Usually this means the macro was only invoked conditionally." >&2;}
23894 { (exit 1); exit 1; }; }
23896 if test -z "${CONFIG_USER_TRUE}" && test -z "${CONFIG_USER_FALSE}"; then
23897 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_USER\" was never defined.
23898 Usually this means the macro was only invoked conditionally." >&5
23899 echo "$as_me: error: conditional \"CONFIG_USER\" was never defined.
23900 Usually this means the macro was only invoked conditionally." >&2;}
23901 { (exit 1); exit 1; }; }
23903 if test -z "${CONFIG_KERNEL_TRUE}" && test -z "${CONFIG_KERNEL_FALSE}"; then
23904 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_KERNEL\" was never defined.
23905 Usually this means the macro was only invoked conditionally." >&5
23906 echo "$as_me: error: conditional \"CONFIG_KERNEL\" was never defined.
23907 Usually this means the macro was only invoked conditionally." >&2;}
23908 { (exit 1); exit 1; }; }
23911 : ${CONFIG_STATUS=./config.status}
23912 ac_clean_files_save
=$ac_clean_files
23913 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23916 cat >$CONFIG_STATUS <<_ACEOF
23918 # Generated by $as_me.
23919 # Run this file to recreate the current configuration.
23920 # Compiler output produced by configure, useful for debugging
23921 # configure, is in config.log if it exists.
23924 ac_cs_recheck=false
23926 SHELL=\${CONFIG_SHELL-$SHELL}
23929 cat >>$CONFIG_STATUS <<\_ACEOF
23930 ## --------------------- ##
23931 ## M4sh Initialization. ##
23932 ## --------------------- ##
23934 # Be Bourne compatible
23935 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23938 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23939 # is contrary to our usage. Disable this feature.
23940 alias -g '${1+"$@"}'='"$@"'
23941 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
23944 DUALCASE
=1; export DUALCASE
# for MKS sh
23946 # Support unset when possible.
23947 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23954 # Work around bugs in pre-3.0 UWIN ksh.
23955 $as_unset ENV MAIL MAILPATH
23962 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23963 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23964 LC_TELEPHONE LC_TIME
23966 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23967 eval $as_var=C
; export $as_var
23973 # Required to use basename.
23974 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23980 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
23981 as_basename
=basename
23987 # Name of the executable.
23988 as_me
=`$as_basename "$0" ||
23989 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23990 X"$0" : 'X\(//\)$' \| \
23991 X"$0" : 'X\(/\)$' \| \
23992 . : '\(.\)' 2>/dev/null ||
23994 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23995 /^X\/\(\/\/\)$/{ s//\1/; q; }
23996 /^X\/\(\/\).*/{ s//\1/; q; }
24000 # PATH needs CR, and LINENO needs CR and PATH.
24001 # Avoid depending upon Character Ranges.
24002 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24003 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24004 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24005 as_cr_digits
='0123456789'
24006 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24008 # The user is always right.
24009 if test "${PATH_SEPARATOR+set}" != set; then
24010 echo "#! /bin/sh" >conf$$.sh
24011 echo "exit 0" >>conf$$.sh
24013 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24022 as_lineno_1
=$LINENO
24023 as_lineno_2
=$LINENO
24024 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
24025 test "x$as_lineno_1" != "x$as_lineno_2" &&
24026 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
24027 # Find who we are. Look in the path if we contain no path at all
24030 *[\\/]* ) as_myself
=$0 ;;
24031 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24032 for as_dir
in $PATH
24035 test -z "$as_dir" && as_dir
=.
24036 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24041 # We did not find ourselves, most probably we were run as `sh COMMAND'
24042 # in which case we are not to be found in the path.
24043 if test "x$as_myself" = x
; then
24046 if test ! -f "$as_myself"; then
24047 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24048 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24049 { (exit 1); exit 1; }; }
24051 case $CONFIG_SHELL in
24053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24054 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
24057 test -z "$as_dir" && as_dir
=.
24058 for as_base
in sh bash ksh sh5
; do
24061 if ("$as_dir/$as_base" -c '
24062 as_lineno_1=$LINENO
24063 as_lineno_2=$LINENO
24064 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24065 test "x$as_lineno_1" != "x$as_lineno_2" &&
24066 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
24067 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
24068 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
24069 CONFIG_SHELL
=$as_dir/$as_base
24070 export CONFIG_SHELL
24071 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24079 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24080 # uniformly replaced by the line number. The first 'sed' inserts a
24081 # line-number line before each line; the second 'sed' does the real
24082 # work. The second script uses 'N' to pair each line-number line
24083 # with the numbered line, and appends trailing '-' during
24084 # substitution so that $LINENO is not a special case at line end.
24085 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24086 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24087 sed '=' <$as_myself |
24092 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24095 s,^['$as_cr_digits']*\n,,
24096 ' >$as_me.lineno
&&
24097 chmod +x
$as_me.lineno ||
24098 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24099 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24100 { (exit 1); exit 1; }; }
24102 # Don't try to exec as it changes $[0], causing all sort of problems
24103 # (the dirname of $[0] is not the place where we might find the
24104 # original and so on. Autoconf is especially sensible to this).
24106 # Exit status is that of the last command.
24111 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24112 *c
*,-n*) ECHO_N
= ECHO_C
='
24114 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
24115 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
24118 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24124 rm -f conf$$ conf$$.exe conf$$.
file
24126 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24127 # We could just check for DJGPP; but this test a) works b) is more generic
24128 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24129 if test -f conf$$.exe
; then
24130 # Don't use ln at all; we don't have any links
24135 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24140 rm -f conf$$ conf$$.exe conf$$.
file
24142 if mkdir
-p .
2>/dev
/null
; then
24145 test -d .
/-p && rmdir .
/-p
24149 as_executable_p
="test -f"
24151 # Sed expression to map a string onto a valid CPP name.
24152 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24154 # Sed expression to map a string onto a valid variable name.
24155 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24159 # We need space, tab and new line, in precisely that order.
24169 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24170 # report actual input values of CONFIG_FILES etc. instead of their
24171 # values after options handling. Logging --version etc. is OK.
24175 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24176 ## Running $as_me. ##
24181 This file was extended by $as_me, which was
24182 generated by GNU Autoconf 2.59. Invocation command line was
24184 CONFIG_FILES = $CONFIG_FILES
24185 CONFIG_HEADERS = $CONFIG_HEADERS
24186 CONFIG_LINKS = $CONFIG_LINKS
24187 CONFIG_COMMANDS = $CONFIG_COMMANDS
24191 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24195 # Files that config.status was made for.
24196 if test -n "$ac_config_files"; then
24197 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24200 if test -n "$ac_config_headers"; then
24201 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24204 if test -n "$ac_config_links"; then
24205 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24208 if test -n "$ac_config_commands"; then
24209 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24212 cat >>$CONFIG_STATUS <<\_ACEOF
24215 \`$as_me' instantiates files from templates according to the
24216 current configuration.
24218 Usage: $0 [OPTIONS] [FILE]...
24220 -h, --help print this help, then exit
24221 -V, --version print version number, then exit
24222 -q, --quiet do not print progress messages
24223 -d, --debug don't remove temporary files
24224 --recheck update $as_me by reconfiguring in the same conditions
24225 --file=FILE[:TEMPLATE]
24226 instantiate the configuration file FILE
24227 --header=FILE[:TEMPLATE]
24228 instantiate the configuration header FILE
24230 Configuration files:
24233 Configuration headers:
24236 Configuration commands:
24239 Report bugs to <bug-autoconf@gnu.org>."
24242 cat >>$CONFIG_STATUS <<_ACEOF
24245 configured by $0, generated by GNU Autoconf 2.59,
24246 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24248 Copyright (C) 2003 Free Software Foundation, Inc.
24249 This config.status script is free software; the Free Software Foundation
24250 gives unlimited permission to copy, distribute and modify it."
24255 cat >>$CONFIG_STATUS <<\_ACEOF
24256 # If no file are specified by the user, then we need to provide default
24257 # value. By we need to know if files were specified by the user.
24263 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
24264 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
24272 *) # This is not an option, so the user has probably given explicit
24275 ac_need_defaults
=false
;;
24279 # Handling of the options.
24281 cat >>$CONFIG_STATUS <<\_ACEOF
24282 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24284 --version |
--vers* |
-V )
24285 echo "$ac_cs_version"; exit 0 ;;
24287 # Conflict between --help and --header
24288 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24289 Try \`$0 --help' for more information." >&5
24290 echo "$as_me: error: ambiguous option: $1
24291 Try \`$0 --help' for more information." >&2;}
24292 { (exit 1); exit 1; }; };;
24293 --help |
--hel |
-h )
24294 echo "$ac_cs_usage"; exit 0 ;;
24295 --debug |
--d* |
-d )
24297 --file |
--fil |
--fi |
--f )
24299 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24300 ac_need_defaults
=false
;;
24301 --header |
--heade |
--head |
--hea )
24303 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24304 ac_need_defaults
=false
;;
24305 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24306 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24309 # This is an error.
24310 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24311 Try \`$0 --help' for more information." >&5
24312 echo "$as_me: error: unrecognized option: $1
24313 Try \`$0 --help' for more information." >&2;}
24314 { (exit 1); exit 1; }; } ;;
24316 *) ac_config_targets
="$ac_config_targets $1" ;;
24322 ac_configure_extra_args
=
24324 if $ac_cs_silent; then
24326 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24330 cat >>$CONFIG_STATUS <<_ACEOF
24331 if \$ac_cs_recheck; then
24332 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24333 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24338 cat >>$CONFIG_STATUS <<_ACEOF
24340 # INIT-COMMANDS section.
24343 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24349 cat >>$CONFIG_STATUS <<\_ACEOF
24350 for ac_config_target
in $ac_config_targets
24352 case "$ac_config_target" in
24353 # Handling of arguments.
24354 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24355 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
24356 "cmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES cmd/Makefile" ;;
24357 "module/Makefile" ) CONFIG_FILES
="$CONFIG_FILES module/Makefile" ;;
24358 "module/spl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES module/spl/Makefile" ;;
24359 "module/splat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES module/splat/Makefile" ;;
24360 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
24361 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
24362 "spl.spec" ) CONFIG_FILES
="$CONFIG_FILES spl.spec" ;;
24363 "spl-modules.spec" ) CONFIG_FILES
="$CONFIG_FILES spl-modules.spec" ;;
24364 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
24365 "spl_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS spl_config.h" ;;
24366 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24367 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24368 { (exit 1); exit 1; }; };;
24372 # If the user did not use the arguments to specify the items to instantiate,
24373 # then the envvar interface is used. Set only those that are not.
24374 # We use the long form for the default assignment because of an extremely
24375 # bizarre bug on SunOS 4.1.3.
24376 if $ac_need_defaults; then
24377 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24378 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24379 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24382 # Have a temporary directory for convenience. Make it in the build tree
24383 # simply because there is no reason to put it here, and in addition,
24384 # creating and moving files from /tmp can sometimes cause problems.
24385 # Create a temporary directory, and hook for its removal unless debugging.
24388 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24389 trap '{ (exit 1); exit 1; }' 1 2 13 15
24392 # Create a (secure) tmp directory for tmp files.
24395 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24396 test -n "$tmp" && test -d "$tmp"
24399 tmp
=.
/confstat$$
-$RANDOM
24400 (umask 077 && mkdir
$tmp)
24403 echo "$me: cannot create a temporary directory in ." >&2
24404 { (exit 1); exit 1; }
24409 cat >>$CONFIG_STATUS <<_ACEOF
24412 # CONFIG_FILES section.
24415 # No need to generate the scripts if there are no CONFIG_FILES.
24416 # This happens for instance when ./config.status config.h
24417 if test -n "\$CONFIG_FILES"; then
24418 # Protect against being on the right side of a sed subst in config.status.
24419 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24420 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24421 s,@SHELL@,$SHELL,;t t
24422 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24423 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24424 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24425 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24426 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24427 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24428 s,@exec_prefix@,$exec_prefix,;t t
24429 s,@prefix@,$prefix,;t t
24430 s,@program_transform_name@,$program_transform_name,;t t
24431 s,@bindir@,$bindir,;t t
24432 s,@sbindir@,$sbindir,;t t
24433 s,@libexecdir@,$libexecdir,;t t
24434 s,@datadir@,$datadir,;t t
24435 s,@sysconfdir@,$sysconfdir,;t t
24436 s,@sharedstatedir@,$sharedstatedir,;t t
24437 s,@localstatedir@,$localstatedir,;t t
24438 s,@libdir@,$libdir,;t t
24439 s,@includedir@,$includedir,;t t
24440 s,@oldincludedir@,$oldincludedir,;t t
24441 s,@infodir@,$infodir,;t t
24442 s,@mandir@,$mandir,;t t
24443 s,@build_alias@,$build_alias,;t t
24444 s,@host_alias@,$host_alias,;t t
24445 s,@target_alias@,$target_alias,;t t
24446 s,@DEFS@,$DEFS,;t t
24447 s,@ECHO_C@,$ECHO_C,;t t
24448 s,@ECHO_N@,$ECHO_N,;t t
24449 s,@ECHO_T@,$ECHO_T,;t t
24450 s,@LIBS@,$LIBS,;t t
24451 s,@SPL_META_NAME@,$SPL_META_NAME,;t t
24452 s,@SPL_META_VERSION@,$SPL_META_VERSION,;t t
24453 s,@SPL_META_RELEASE@,$SPL_META_RELEASE,;t t
24454 s,@SPL_META_ALIAS@,$SPL_META_ALIAS,;t t
24455 s,@SPL_META_DATA@,$SPL_META_DATA,;t t
24456 s,@SPL_META_AUTHOR@,$SPL_META_AUTHOR,;t t
24457 s,@SPL_META_LT_CURRENT@,$SPL_META_LT_CURRENT,;t t
24458 s,@SPL_META_LT_REVISION@,$SPL_META_LT_REVISION,;t t
24459 s,@SPL_META_LT_AGE@,$SPL_META_LT_AGE,;t t
24460 s,@build@,$build,;t t
24461 s,@build_cpu@,$build_cpu,;t t
24462 s,@build_vendor@,$build_vendor,;t t
24463 s,@build_os@,$build_os,;t t
24464 s,@host@,$host,;t t
24465 s,@host_cpu@,$host_cpu,;t t
24466 s,@host_vendor@,$host_vendor,;t t
24467 s,@host_os@,$host_os,;t t
24468 s,@target@,$target,;t t
24469 s,@target_cpu@,$target_cpu,;t t
24470 s,@target_vendor@,$target_vendor,;t t
24471 s,@target_os@,$target_os,;t t
24472 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24473 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24474 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24475 s,@CYGPATH_W@,$CYGPATH_W,;t t
24476 s,@PACKAGE@,$PACKAGE,;t t
24477 s,@VERSION@,$VERSION,;t t
24478 s,@ACLOCAL@,$ACLOCAL,;t t
24479 s,@AUTOCONF@,$AUTOCONF,;t t
24480 s,@AUTOMAKE@,$AUTOMAKE,;t t
24481 s,@AUTOHEADER@,$AUTOHEADER,;t t
24482 s,@MAKEINFO@,$MAKEINFO,;t t
24483 s,@install_sh@,$install_sh,;t t
24484 s,@STRIP@,$STRIP,;t t
24485 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24486 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24487 s,@mkdir_p@,$mkdir_p,;t t
24489 s,@SET_MAKE@,$SET_MAKE,;t t
24490 s,@am__leading_dot@,$am__leading_dot,;t t
24491 s,@AMTAR@,$AMTAR,;t t
24492 s,@am__tar@,$am__tar,;t t
24493 s,@am__untar@,$am__untar,;t t
24494 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24495 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24496 s,@MAINT@,$MAINT,;t t
24498 s,@CFLAGS@,$CFLAGS,;t t
24499 s,@LDFLAGS@,$LDFLAGS,;t t
24500 s,@CPPFLAGS@,$CPPFLAGS,;t t
24501 s,@ac_ct_CC@,$ac_ct_CC,;t t
24502 s,@EXEEXT@,$EXEEXT,;t t
24503 s,@OBJEXT@,$OBJEXT,;t t
24504 s,@DEPDIR@,$DEPDIR,;t t
24505 s,@am__include@,$am__include,;t t
24506 s,@am__quote@,$am__quote,;t t
24507 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
24508 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
24509 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
24510 s,@CCDEPMODE@,$CCDEPMODE,;t t
24511 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
24512 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
24514 s,@EGREP@,$EGREP,;t t
24515 s,@LN_S@,$LN_S,;t t
24516 s,@ECHO@,$ECHO,;t t
24518 s,@ac_ct_AR@,$ac_ct_AR,;t t
24519 s,@RANLIB@,$RANLIB,;t t
24520 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24523 s,@CXXFLAGS@,$CXXFLAGS,;t t
24524 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24525 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
24526 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
24527 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
24528 s,@CXXCPP@,$CXXCPP,;t t
24530 s,@FFLAGS@,$FFLAGS,;t t
24531 s,@ac_ct_F77@,$ac_ct_F77,;t t
24532 s,@LIBTOOL@,$LIBTOOL,;t t
24533 s,@LICENSE@,$LICENSE,;t t
24534 s,@SPL_CONFIG@,$SPL_CONFIG,;t t
24535 s,@LINUX@,$LINUX,;t t
24536 s,@LINUX_OBJ@,$LINUX_OBJ,;t t
24537 s,@LINUX_VERSION@,$LINUX_VERSION,;t t
24538 s,@LINUX_SYMBOLS@,$LINUX_SYMBOLS,;t t
24539 s,@KERNELMAKE_PARAMS@,$KERNELMAKE_PARAMS,;t t
24540 s,@KERNELCPPFLAGS@,$KERNELCPPFLAGS,;t t
24541 s,@CONFIG_USER_TRUE@,$CONFIG_USER_TRUE,;t t
24542 s,@CONFIG_USER_FALSE@,$CONFIG_USER_FALSE,;t t
24543 s,@CONFIG_KERNEL_TRUE@,$CONFIG_KERNEL_TRUE,;t t
24544 s,@CONFIG_KERNEL_FALSE@,$CONFIG_KERNEL_FALSE,;t t
24545 s,@LIBOBJS@,$LIBOBJS,;t t
24546 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24551 cat >>$CONFIG_STATUS <<\_ACEOF
24552 # Split the substitutions into bite-sized pieces for seds with
24553 # small command number limits, like on Digital OSF/1 and HP-UX.
24554 ac_max_sed_lines
=48
24555 ac_sed_frag
=1 # Number of current file.
24556 ac_beg
=1 # First line for current file.
24557 ac_end
=$ac_max_sed_lines # Line after last line for current file.
24560 while $ac_more_lines; do
24561 if test $ac_beg -gt 1; then
24562 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24564 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24566 if test ! -s $tmp/subs.frag
; then
24567 ac_more_lines
=false
24569 # The purpose of the label and of the branching condition is to
24570 # speed up the sed processing (if there are no `@' at all, there
24571 # is no need to browse any of the substitutions).
24572 # These are the two extra sed commands mentioned above.
24574 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
24575 if test -z "$ac_sed_cmds"; then
24576 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
24578 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24580 ac_sed_frag
=`expr $ac_sed_frag + 1`
24582 ac_end
=`expr $ac_end + $ac_max_sed_lines`
24585 if test -z "$ac_sed_cmds"; then
24588 fi # test -n "$CONFIG_FILES"
24591 cat >>$CONFIG_STATUS <<\_ACEOF
24592 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
24593 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24595 - |
*:- |
*:-:* ) # input from stdin
24597 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24598 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24599 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24600 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24601 * ) ac_file_in
=$ac_file.
in ;;
24604 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24605 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24606 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24607 X"$ac_file" : 'X\(//\)[^/]' \| \
24608 X"$ac_file" : 'X\(//\)$' \| \
24609 X"$ac_file" : 'X\(/\)' \| \
24610 . : '\(.\)' 2>/dev/null ||
24612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24613 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24614 /^X\(\/\/\)$/{ s//\1/; q; }
24615 /^X\(\/\).*/{ s//\1/; q; }
24617 { if $as_mkdir_p; then
24622 while test ! -d "$as_dir"; do
24623 as_dirs
="$as_dir $as_dirs"
24624 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24625 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24626 X"$as_dir" : 'X\(//\)[^/]' \| \
24627 X"$as_dir" : 'X\(//\)$' \| \
24628 X"$as_dir" : 'X\(/\)' \| \
24629 . : '\(.\)' 2>/dev/null ||
24631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24632 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24633 /^X\(\/\/\)$/{ s//\1/; q; }
24634 /^X\(\/\).*/{ s//\1/; q; }
24637 test ! -n "$as_dirs" || mkdir
$as_dirs
24638 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24639 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24640 { (exit 1); exit 1; }; }; }
24644 if test "$ac_dir" != .
; then
24645 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24646 # A "../" for each directory in $ac_dir_suffix.
24647 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24649 ac_dir_suffix
= ac_top_builddir
=
24653 .
) # No --srcdir option. We are building in place.
24655 if test -z "$ac_top_builddir"; then
24658 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24660 [\\/]* | ?
:[\\/]* ) # Absolute path.
24661 ac_srcdir
=$srcdir$ac_dir_suffix;
24662 ac_top_srcdir
=$srcdir ;;
24663 *) # Relative path.
24664 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24665 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24668 # Do not use `cd foo && pwd` to compute absolute paths, because
24669 # the directories may not exist.
24671 .
) ac_abs_builddir
="$ac_dir";;
24674 .
) ac_abs_builddir
=`pwd`;;
24675 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24676 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24679 case $ac_abs_builddir in
24680 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24682 case ${ac_top_builddir}.
in
24683 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24684 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24685 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24688 case $ac_abs_builddir in
24689 .
) ac_abs_srcdir
=$ac_srcdir;;
24692 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24693 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24694 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24697 case $ac_abs_builddir in
24698 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24700 case $ac_top_srcdir in
24701 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24702 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24703 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24709 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24710 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
24713 if test x
"$ac_file" != x-
; then
24714 { echo "$as_me:$LINENO: creating $ac_file" >&5
24715 echo "$as_me: creating $ac_file" >&6;}
24718 # Let's still pretend it is `configure' which instantiates (i.e., don't
24719 # use $as_me), people would be surprised to read:
24720 # /* config.h. Generated by config.status. */
24721 if test x
"$ac_file" = x-
; then
24724 configure_input
="$ac_file. "
24726 configure_input
=$configure_input"Generated from `echo $ac_file_in |
24727 sed 's,.*/,,'` by configure."
24729 # First look for the input files in the build tree, otherwise in the
24731 ac_file_inputs
=`IFS=:
24732 for f in $ac_file_in; do
24734 -) echo $tmp/stdin ;;
24736 # Absolute (can't be DOS-style, as IFS=:)
24737 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24738 echo "$as_me: error: cannot find input file: $f" >&2;}
24739 { (exit 1); exit 1; }; }
24742 if test -f "$f"; then
24745 elif test -f "$srcdir/$f"; then
24750 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24751 echo "$as_me: error: cannot find input file: $f" >&2;}
24752 { (exit 1); exit 1; }; }
24755 done` ||
{ (exit 1); exit 1; }
24757 cat >>$CONFIG_STATUS <<_ACEOF
24761 cat >>$CONFIG_STATUS <<\_ACEOF
24763 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24764 s
,@configure_input@
,$configure_input,;t t
24765 s
,@srcdir@
,$ac_srcdir,;t t
24766 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
24767 s
,@top_srcdir@
,$ac_top_srcdir,;t t
24768 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
24769 s
,@builddir@
,$ac_builddir,;t t
24770 s
,@abs_builddir@
,$ac_abs_builddir,;t t
24771 s
,@top_builddir@
,$ac_top_builddir,;t t
24772 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
24773 s
,@INSTALL@
,$ac_INSTALL,;t t
24774 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24776 if test x"$ac_file" != x-; then
24777 mv $tmp/out $ac_file
24785 cat >>$CONFIG_STATUS <<\_ACEOF
24788 # CONFIG_HEADER section.
24791 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
24792 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24794 # ac_d sets the value in "#define NAME VALUE" lines.
24795 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24796 ac_dB
='[ ].*$,\1#\2'
24799 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24800 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24801 ac_uB
='$,\1#\2define\3'
24805 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
24806 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24808 - |
*:- |
*:-:* ) # input from stdin
24810 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24811 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24812 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24813 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24814 * ) ac_file_in
=$ac_file.
in ;;
24817 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
24818 echo "$as_me: creating $ac_file" >&6;}
24820 # First look for the input files in the build tree, otherwise in the
24822 ac_file_inputs
=`IFS=:
24823 for f in $ac_file_in; do
24825 -) echo $tmp/stdin ;;
24827 # Absolute (can't be DOS-style, as IFS=:)
24828 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24829 echo "$as_me: error: cannot find input file: $f" >&2;}
24830 { (exit 1); exit 1; }; }
24831 # Do quote $f, to prevent DOS paths from being IFS'd.
24834 if test -f "$f"; then
24837 elif test -f "$srcdir/$f"; then
24842 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24843 echo "$as_me: error: cannot find input file: $f" >&2;}
24844 { (exit 1); exit 1; }; }
24847 done` ||
{ (exit 1); exit 1; }
24848 # Remove the trailing spaces.
24849 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24853 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24854 # `conftest.undefs', that substitutes the proper values into
24855 # config.h.in to produce config.h. The first handles `#define'
24856 # templates, and the second `#undef' templates.
24857 # And first: Protect against being on the right side of a sed subst in
24858 # config.status. Protect against being in an unquoted here document
24859 # in config.status.
24860 rm -f conftest.defines conftest.undefs
24861 # Using a here document instead of a string reduces the quoting nightmare.
24862 # Putting comments in sed scripts is not portable.
24864 # `end' is used to avoid that the second main sed command (meant for
24865 # 0-ary CPP macros) applies to n-ary macro definitions.
24866 # See the Autoconf documentation for `clear'.
24867 cat >confdef2sed.
sed <<\_ACEOF
24872 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24874 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24877 # If some macros were called several times there might be several times
24878 # the same #defines, which is useless. Nevertheless, we may not want to
24879 # sort them, since we want the *last* AC-DEFINE to be honored.
24880 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24881 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24882 rm -f confdef2sed.sed
24884 # This sed command replaces #undef with comments. This is necessary, for
24885 # example, in the case of _POSIX_SOURCE, which is predefined and required
24886 # on some systems where configure will not decide to define it.
24887 cat >>conftest.undefs <<\_ACEOF
24888 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24891 # Break up conftest.defines because some shells have a limit on the size
24892 # of here documents, and old seds have small limits too (100 cmds).
24893 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24894 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24895 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24896 echo ' :' >>$CONFIG_STATUS
24897 rm -f conftest.tail
24898 while grep . conftest.defines >/dev/null
24900 # Write a limited-size here document to $tmp/defines.sed.
24901 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24902 # Speed up: don't consider the non `#define' lines.
24903 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24904 # Work around the forget-to-reset-the-flag bug.
24905 echo 't clr' >>$CONFIG_STATUS
24906 echo ': clr' >>$CONFIG_STATUS
24907 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
24909 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24911 mv $tmp/out $tmp/in
24913 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
24914 rm -f conftest.defines
24915 mv conftest.
tail conftest.defines
24917 rm -f conftest.defines
24918 echo ' fi # grep' >>$CONFIG_STATUS
24919 echo >>$CONFIG_STATUS
24921 # Break up conftest.undefs because some shells have a limit on the size
24922 # of here documents, and old seds have small limits too (100 cmds).
24923 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24924 rm -f conftest.
tail
24925 while grep . conftest.undefs
>/dev
/null
24927 # Write a limited-size here document to $tmp/undefs.sed.
24928 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24929 # Speed up: don't consider the non
`#undef'
24930 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24931 # Work around the forget-to-reset-the-flag bug.
24932 echo 't clr' >>$CONFIG_STATUS
24933 echo ': clr' >>$CONFIG_STATUS
24934 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24936 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24938 mv $tmp/out $tmp/in
24940 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24941 rm -f conftest.undefs
24942 mv conftest.tail conftest.undefs
24944 rm -f conftest.undefs
24946 cat >>$CONFIG_STATUS <<\_ACEOF
24947 # Let's still pretend it is `configure
' which instantiates (i.e., don't
24948 # use $as_me), people would be surprised to read:
24949 # /* config.h. Generated by config.status. */
24950 if test x
"$ac_file" = x-
; then
24951 echo "/* Generated by configure. */" >$tmp/config.h
24953 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24955 cat $tmp/in >>$tmp/config.h
24957 if test x
"$ac_file" != x-
; then
24958 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
24959 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24960 echo "$as_me: $ac_file is unchanged" >&6;}
24962 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24963 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24964 X"$ac_file" : 'X\(//\)[^/]' \| \
24965 X"$ac_file" : 'X\(//\)$' \| \
24966 X"$ac_file" : 'X\(/\)' \| \
24967 . : '\(.\)' 2>/dev/null ||
24969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24970 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24971 /^X\(\/\/\)$/{ s//\1/; q; }
24972 /^X\(\/\).*/{ s//\1/; q; }
24974 { if $as_mkdir_p; then
24979 while test ! -d "$as_dir"; do
24980 as_dirs
="$as_dir $as_dirs"
24981 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24982 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24983 X"$as_dir" : 'X\(//\)[^/]' \| \
24984 X"$as_dir" : 'X\(//\)$' \| \
24985 X"$as_dir" : 'X\(/\)' \| \
24986 . : '\(.\)' 2>/dev/null ||
24988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24990 /^X\(\/\/\)$/{ s//\1/; q; }
24991 /^X\(\/\).*/{ s//\1/; q; }
24994 test ! -n "$as_dirs" || mkdir
$as_dirs
24995 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24996 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24997 { (exit 1); exit 1; }; }; }
25000 mv $tmp/config.h
$ac_file
25004 rm -f $tmp/config.h
25006 # Compute $ac_file's index in $config_headers.
25008 for _am_header
in $config_headers :; do
25009 case $_am_header in
25010 $ac_file |
$ac_file:* )
25013 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25016 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25017 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25018 X$ac_file : 'X\(//\)[^/]' \| \
25019 X$ac_file : 'X\(//\)$' \| \
25020 X$ac_file : 'X\(/\)' \| \
25021 . : '\(.\)' 2>/dev/null ||
25023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25024 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25025 /^X\(\/\/\)$/{ s//\1/; q; }
25026 /^X\(\/\).*/{ s//\1/; q; }
25027 s/.*/./; q'`/stamp-h
$_am_stamp_count
25030 cat >>$CONFIG_STATUS <<\_ACEOF
25033 # CONFIG_COMMANDS section.
25035 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
25036 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25037 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25038 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25039 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25040 X"$ac_dest" : 'X\(//\)[^/]' \| \
25041 X"$ac_dest" : 'X\(//\)$' \| \
25042 X"$ac_dest" : 'X\(/\)' \| \
25043 . : '\(.\)' 2>/dev/null ||
25045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25046 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25047 /^X\(\/\/\)$/{ s//\1/; q; }
25048 /^X\(\/\).*/{ s//\1/; q; }
25050 { if $as_mkdir_p; then
25055 while test ! -d "$as_dir"; do
25056 as_dirs
="$as_dir $as_dirs"
25057 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25058 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25059 X"$as_dir" : 'X\(//\)[^/]' \| \
25060 X"$as_dir" : 'X\(//\)$' \| \
25061 X"$as_dir" : 'X\(/\)' \| \
25062 . : '\(.\)' 2>/dev/null ||
25064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25066 /^X\(\/\/\)$/{ s//\1/; q; }
25067 /^X\(\/\).*/{ s//\1/; q; }
25070 test ! -n "$as_dirs" || mkdir
$as_dirs
25071 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25072 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25073 { (exit 1); exit 1; }; }; }
25077 if test "$ac_dir" != .
; then
25078 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25079 # A "../" for each directory in $ac_dir_suffix.
25080 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25082 ac_dir_suffix
= ac_top_builddir
=
25086 .
) # No --srcdir option. We are building in place.
25088 if test -z "$ac_top_builddir"; then
25091 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25093 [\\/]* | ?
:[\\/]* ) # Absolute path.
25094 ac_srcdir
=$srcdir$ac_dir_suffix;
25095 ac_top_srcdir
=$srcdir ;;
25096 *) # Relative path.
25097 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25098 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25101 # Do not use `cd foo && pwd` to compute absolute paths, because
25102 # the directories may not exist.
25104 .
) ac_abs_builddir
="$ac_dir";;
25107 .
) ac_abs_builddir
=`pwd`;;
25108 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25109 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25112 case $ac_abs_builddir in
25113 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25115 case ${ac_top_builddir}.
in
25116 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25117 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25118 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25121 case $ac_abs_builddir in
25122 .
) ac_abs_srcdir
=$ac_srcdir;;
25125 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25126 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25127 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25130 case $ac_abs_builddir in
25131 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25133 case $ac_top_srcdir in
25134 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25135 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25136 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25141 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25142 echo "$as_me: executing $ac_dest commands" >&6;}
25144 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
25145 # Strip MF so we end up with the name of the file.
25146 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25147 # Check whether this is an Automake generated Makefile or not.
25148 # We used to match only the files named `Makefile.in', but
25149 # some people rename them; so instead we look at the file content.
25150 # Grep'ing the first line is not enough: some people post-process
25151 # each Makefile.in and add a new line on top of each file to say so.
25152 # So let's grep whole file.
25153 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
25154 dirpart
=`(dirname "$mf") 2>/dev/null ||
25155 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25156 X"$mf" : 'X\(//\)[^/]' \| \
25157 X"$mf" : 'X\(//\)$' \| \
25158 X"$mf" : 'X\(/\)' \| \
25159 . : '\(.\)' 2>/dev/null ||
25161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25163 /^X\(\/\/\)$/{ s//\1/; q; }
25164 /^X\(\/\).*/{ s//\1/; q; }
25169 # Extract the definition of DEPDIR, am__include, and am__quote
25170 # from the Makefile without running `make'.
25171 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
25172 test -z "$DEPDIR" && continue
25173 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
25174 test -z "am__include" && continue
25175 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
25176 # When using ansi2knr, U may be empty or an underscore; expand it
25177 U
=`sed -n 's/^U = //p' < "$mf"`
25178 # Find all dependency output files, they are included files with
25179 # $(DEPDIR) in their names. We invoke sed twice because it is the
25180 # simplest approach to changing $(DEPDIR) to its actual value in the
25182 for file in `sed -n "
25183 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25184 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25185 # Make sure the directory exists.
25186 test -f "$dirpart/$file" && continue
25187 fdir
=`(dirname "$file") 2>/dev/null ||
25188 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25189 X"$file" : 'X\(//\)[^/]' \| \
25190 X"$file" : 'X\(//\)$' \| \
25191 X"$file" : 'X\(/\)' \| \
25192 . : '\(.\)' 2>/dev/null ||
25194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25195 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25196 /^X\(\/\/\)$/{ s//\1/; q; }
25197 /^X\(\/\).*/{ s//\1/; q; }
25199 { if $as_mkdir_p; then
25200 mkdir
-p $dirpart/$fdir
25202 as_dir
=$dirpart/$fdir
25204 while test ! -d "$as_dir"; do
25205 as_dirs
="$as_dir $as_dirs"
25206 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25207 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25208 X"$as_dir" : 'X\(//\)[^/]' \| \
25209 X"$as_dir" : 'X\(//\)$' \| \
25210 X"$as_dir" : 'X\(/\)' \| \
25211 . : '\(.\)' 2>/dev/null ||
25213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25215 /^X\(\/\/\)$/{ s//\1/; q; }
25216 /^X\(\/\).*/{ s//\1/; q; }
25219 test ! -n "$as_dirs" || mkdir
$as_dirs
25220 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25221 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
25222 { (exit 1); exit 1; }; }; }
25224 # echo "creating $dirpart/$file"
25225 echo '# dummy' > "$dirpart/$file"
25233 cat >>$CONFIG_STATUS <<\_ACEOF
25235 { (exit 0); exit 0; }
25237 chmod +x
$CONFIG_STATUS
25238 ac_clean_files
=$ac_clean_files_save
25241 # configure is writing to config.log, and then calls config.status.
25242 # config.status does its own redirection, appending to config.log.
25243 # Unfortunately, on DOS this fails, as config.log is still kept open
25244 # by configure, so config.status won't be able to write to it; its
25245 # output is simply discarded. So we exec the FD to /dev/null,
25246 # effectively closing config.log, so it can be properly (re)opened and
25247 # appended to by config.status. When coming back to configure, we
25248 # need to make the FD available again.
25249 if test "$no_create" != yes; then
25251 ac_config_status_args
=
25252 test "$silent" = yes &&
25253 ac_config_status_args
="$ac_config_status_args --quiet"
25255 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25257 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25258 # would make configure fail if this is the last instruction.
25259 $ac_cs_success ||
{ (exit 1); exit 1; }