2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for FULL-PACKAGE-NAME VERSION.
5 # Report bugs to <BUG-REPORT-ADDRESS>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 # Check that we are running under the correct shell.
541 SHELL
=${CONFIG_SHELL-/bin/sh}
545 # Remove one level of quotation (which was required for Make).
546 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
551 if test "X$1" = X--no-reexec
; then
552 # Discard the --no-reexec flag, and continue.
554 elif test "X$1" = X--fallback-echo
; then
555 # Avoid inline document here, it may be left over
557 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
558 # Yippee, $echo works!
561 # Restart under the correct shell.
562 exec $SHELL "$0" --no-reexec ${1+"$@"}
565 if test "X$1" = X--fallback-echo
; then
566 # used as fallback echo
574 # The HP-UX ksh and POSIX shell print the target directory to stdout
576 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
578 if test -z "$ECHO"; then
579 if test "X${echo_test_string+set}" != Xset
; then
580 # find a string as large as possible, as long as the shell can cope with it
581 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
582 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
583 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
584 echo_test_string
=`eval $cmd` &&
585 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
592 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
593 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
594 test "X$echo_testing_string" = "X$echo_test_string"; then
597 # The Solaris, AIX, and Digital Unix default echo programs unquote
598 # backslashes. This makes it impossible to quote backslashes using
599 # echo "$something" | sed 's/\\/\\\\/g'
601 # So, first we look for a working echo in the user's PATH.
603 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
604 for dir
in $PATH /usr
/ucb
; do
606 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
607 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
616 if test "X$echo" = Xecho
; then
617 # We didn't find a better echo, so look for alternatives.
618 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
619 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
620 test "X$echo_testing_string" = "X$echo_test_string"; then
621 # This shell has a builtin print -r that does the trick.
623 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
624 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
625 # If we have ksh, try running configure again with it.
626 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
627 export ORIGINAL_CONFIG_SHELL
628 CONFIG_SHELL
=/bin
/ksh
630 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
634 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
635 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
639 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
640 test "X$echo_testing_string" = 'X\t' &&
641 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
642 test "X$echo_testing_string" = "X$echo_test_string"; then
643 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
645 SHELL
="$CONFIG_SHELL"
647 echo="$CONFIG_SHELL $0 --fallback-echo"
648 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
649 test "X$echo_testing_string" = 'X\t' &&
650 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
652 echo="$CONFIG_SHELL $0 --fallback-echo"
654 # maybe with a smaller string...
657 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
658 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
665 if test "$prev" != 'sed 50q "$0"'; then
666 echo_test_string
=`eval $prev`
667 export echo_test_string
668 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
670 # Oops. We lost completely, so just stick with echo.
679 # Copy echo and quote the copy suitably for passing to libtool from
680 # the Makefile, instead of quoting the original, which is used later.
682 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
683 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
689 tagnames
=${tagnames+${tagnames},}CXX
691 tagnames
=${tagnames+${tagnames},}F77
693 exec 7<&0 </dev
/null
6>&1
696 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
697 # so uname gets run too.
698 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
703 ac_default_prefix
=/usr
/local
705 ac_config_libobj_dir
=.
711 SHELL
=${CONFIG_SHELL-/bin/sh}
713 # Identity of this package.
714 PACKAGE_NAME
='FULL-PACKAGE-NAME'
715 PACKAGE_TARNAME
='full-package-name'
716 PACKAGE_VERSION
='VERSION'
717 PACKAGE_STRING
='FULL-PACKAGE-NAME VERSION'
718 PACKAGE_BUGREPORT
='BUG-REPORT-ADDRESS'
720 # Factoring default headers for most tests.
721 ac_includes_default
="\
724 # include <sys/types.h>
727 # include <sys/stat.h>
738 # if !STDC_HEADERS && HAVE_MEMORY_H
744 # include <strings.h>
747 # include <inttypes.h>
765 program_transform_name
807 INSTALL_STRIP_PROGRAM
863 ac_precious_vars
='build_alias
879 # Initialize some variables set by options.
881 ac_init_version
=false
882 # The variables have the same names as the options, with
883 # dashes changed to underlines.
891 program_transform_name
=s
,x
,x
,
899 # Installation directory options.
900 # These are left unexpanded so users can "make install exec_prefix=/foo"
901 # and all the variables that are supposed to be based on exec_prefix
902 # by default will actually change.
903 # Use braces instead of parens because sh, perl, etc. also accept them.
904 # (The list follows the same order as the GNU Coding Standards.)
905 bindir
='${exec_prefix}/bin'
906 sbindir
='${exec_prefix}/sbin'
907 libexecdir
='${exec_prefix}/libexec'
908 datarootdir
='${prefix}/share'
909 datadir
='${datarootdir}'
910 sysconfdir
='${prefix}/etc'
911 sharedstatedir
='${prefix}/com'
912 localstatedir
='${prefix}/var'
913 includedir
='${prefix}/include'
914 oldincludedir
='/usr/include'
915 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
916 infodir
='${datarootdir}/info'
921 libdir
='${exec_prefix}/lib'
922 localedir
='${datarootdir}/locale'
923 mandir
='${datarootdir}/man'
929 # If the previous option needs an argument, assign it.
930 if test -n "$ac_prev"; then
931 eval $ac_prev=\
$ac_option
937 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
941 # Accept the important Cygnus configure options, so we can diagnose typos.
943 case $ac_dashdash$ac_option in
947 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
949 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
952 -build |
--build |
--buil |
--bui |
--bu)
953 ac_prev
=build_alias
;;
954 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
955 build_alias
=$ac_optarg ;;
957 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
958 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
959 ac_prev
=cache_file
;;
960 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
961 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
962 cache_file
=$ac_optarg ;;
965 cache_file
=config.cache
;;
967 -datadir |
--datadir |
--datadi |
--datad)
969 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
970 datadir
=$ac_optarg ;;
972 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
973 |
--dataroo |
--dataro |
--datar)
974 ac_prev
=datarootdir
;;
975 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
976 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
977 datarootdir
=$ac_optarg ;;
979 -disable-* |
--disable-*)
980 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
983 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
984 { (exit 1); exit 1; }; }
985 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
986 eval enable_
$ac_feature=no
;;
988 -docdir |
--docdir |
--docdi |
--doc |
--do)
990 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
993 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
995 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
998 -enable-* |
--enable-*)
999 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1002 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1003 { (exit 1); exit 1; }; }
1004 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1005 eval enable_
$ac_feature=\
$ac_optarg ;;
1007 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1008 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1009 |
--exec |
--exe |
--ex)
1010 ac_prev
=exec_prefix
;;
1011 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1012 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1013 |
--exec=* |
--exe=* |
--ex=*)
1014 exec_prefix
=$ac_optarg ;;
1016 -gas |
--gas |
--ga |
--g)
1017 # Obsolete; use --with-gas.
1020 -help |
--help |
--hel |
--he |
-h)
1021 ac_init_help
=long
;;
1022 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1023 ac_init_help
=recursive
;;
1024 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1025 ac_init_help
=short
;;
1027 -host |
--host |
--hos |
--ho)
1028 ac_prev
=host_alias
;;
1029 -host=* |
--host=* |
--hos=* |
--ho=*)
1030 host_alias
=$ac_optarg ;;
1032 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1034 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1036 htmldir
=$ac_optarg ;;
1038 -includedir |
--includedir |
--includedi |
--included |
--include \
1039 |
--includ |
--inclu |
--incl |
--inc)
1040 ac_prev
=includedir
;;
1041 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1042 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1043 includedir
=$ac_optarg ;;
1045 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1047 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1048 infodir
=$ac_optarg ;;
1050 -libdir |
--libdir |
--libdi |
--libd)
1052 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1053 libdir
=$ac_optarg ;;
1055 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1056 |
--libexe |
--libex |
--libe)
1057 ac_prev
=libexecdir
;;
1058 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1059 |
--libexe=* |
--libex=* |
--libe=*)
1060 libexecdir
=$ac_optarg ;;
1062 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1063 ac_prev
=localedir
;;
1064 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1065 localedir
=$ac_optarg ;;
1067 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1068 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1069 ac_prev
=localstatedir
;;
1070 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1071 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1072 localstatedir
=$ac_optarg ;;
1074 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1076 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1077 mandir
=$ac_optarg ;;
1079 -nfp |
--nfp |
--nf)
1080 # Obsolete; use --without-fp.
1083 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1084 |
--no-cr |
--no-c |
-n)
1087 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1088 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1091 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1092 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1093 |
--oldin |
--oldi |
--old |
--ol |
--o)
1094 ac_prev
=oldincludedir
;;
1095 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1096 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1097 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1098 oldincludedir
=$ac_optarg ;;
1100 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1102 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1103 prefix
=$ac_optarg ;;
1105 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1106 |
--program-pre |
--program-pr |
--program-p)
1107 ac_prev
=program_prefix
;;
1108 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1109 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1110 program_prefix
=$ac_optarg ;;
1112 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1113 |
--program-suf |
--program-su |
--program-s)
1114 ac_prev
=program_suffix
;;
1115 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1116 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1117 program_suffix
=$ac_optarg ;;
1119 -program-transform-name |
--program-transform-name \
1120 |
--program-transform-nam |
--program-transform-na \
1121 |
--program-transform-n |
--program-transform- \
1122 |
--program-transform |
--program-transfor \
1123 |
--program-transfo |
--program-transf \
1124 |
--program-trans |
--program-tran \
1125 |
--progr-tra |
--program-tr |
--program-t)
1126 ac_prev
=program_transform_name
;;
1127 -program-transform-name=* |
--program-transform-name=* \
1128 |
--program-transform-nam=* |
--program-transform-na=* \
1129 |
--program-transform-n=* |
--program-transform-=* \
1130 |
--program-transform=* |
--program-transfor=* \
1131 |
--program-transfo=* |
--program-transf=* \
1132 |
--program-trans=* |
--program-tran=* \
1133 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1134 program_transform_name
=$ac_optarg ;;
1136 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1138 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1139 pdfdir
=$ac_optarg ;;
1141 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1143 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1146 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1147 |
-silent |
--silent |
--silen |
--sile |
--sil)
1150 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1152 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1154 sbindir
=$ac_optarg ;;
1156 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1157 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1158 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1160 ac_prev
=sharedstatedir
;;
1161 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1162 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1163 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1165 sharedstatedir
=$ac_optarg ;;
1167 -site |
--site |
--sit)
1169 -site=* |
--site=* |
--sit=*)
1172 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1174 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1175 srcdir
=$ac_optarg ;;
1177 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1178 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1179 ac_prev
=sysconfdir
;;
1180 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1181 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1182 sysconfdir
=$ac_optarg ;;
1184 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1185 ac_prev
=target_alias
;;
1186 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1187 target_alias
=$ac_optarg ;;
1189 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1192 -version |
--version |
--versio |
--versi |
--vers |
-V)
1193 ac_init_version
=: ;;
1196 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1199 { echo "$as_me: error: invalid package name: $ac_package" >&2
1200 { (exit 1); exit 1; }; }
1201 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1202 eval with_
$ac_package=\
$ac_optarg ;;
1204 -without-* |
--without-*)
1205 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1208 { echo "$as_me: error: invalid package name: $ac_package" >&2
1209 { (exit 1); exit 1; }; }
1210 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1211 eval with_
$ac_package=no
;;
1214 # Obsolete; use --with-x.
1217 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1218 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1219 ac_prev
=x_includes
;;
1220 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1221 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1222 x_includes
=$ac_optarg ;;
1224 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1225 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1226 ac_prev
=x_libraries
;;
1227 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1228 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1229 x_libraries
=$ac_optarg ;;
1231 -*) { echo "$as_me: error: unrecognized option: $ac_option
1232 Try \`$0 --help' for more information." >&2
1233 { (exit 1); exit 1; }; }
1237 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1240 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1241 { (exit 1); exit 1; }; }
1242 eval $ac_envvar=\
$ac_optarg
1243 export $ac_envvar ;;
1246 # FIXME: should be removed in autoconf 3.0.
1247 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1249 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1256 if test -n "$ac_prev"; then
1257 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1258 { echo "$as_me: error: missing argument to $ac_option" >&2
1259 { (exit 1); exit 1; }; }
1262 # Be sure to have absolute directory names.
1263 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val
=\$
$ac_var
1270 [\\/$
]* | ?
:[\\/]* ) continue;;
1271 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1273 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1274 { (exit 1); exit 1; }; }
1277 # There might be people who depend on the old broken behavior: `$host'
1278 # used to hold the argument of --host etc.
1279 # FIXME: To remove some day.
1282 target
=$target_alias
1284 # FIXME: To remove some day.
1285 if test "x$host_alias" != x
; then
1286 if test "x$build_alias" = x
; then
1287 cross_compiling
=maybe
1288 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1289 If a cross compiler is detected then cross compile mode will be used." >&2
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1298 test "$silent" = yes && exec 6>/dev
/null
1301 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di
=`ls -di .` &&
1303 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1304 { echo "$as_me: error: Working directory cannot be determined" >&2
1305 { (exit 1); exit 1; }; }
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 { echo "$as_me: error: pwd does not report name of working directory" >&2
1308 { (exit 1); exit 1; }; }
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted
=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir
=`$as_dirname -- "$0" ||
1316 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$0" : 'X\(//\)[^/]' \| \
1318 X"$0" : 'X\(//\)$' \| \
1319 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1343 ac_srcdir_defaulted
=no
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1347 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1348 { (exit 1); exit 1; }; }
1350 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1352 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1353 { (exit 1); exit 1; }; }
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1363 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 for ac_var
in $ac_precious_vars; do
1366 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1368 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/full-package-name]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1442 --build=BUILD configure
for building on BUILD
[guessed
]
1443 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1447 if test -n "$ac_init_help"; then
1448 case $ac_init_help in
1449 short | recursive
) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
1454 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1455 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1456 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1457 --enable-static[=PKGS
] build static libraries
[default
=yes]
1458 --enable-fast-install[=PKGS
]
1459 optimize
for fast installation
[default
=yes]
1460 --disable-dependency-tracking Speeds up one-time builds
1461 --enable-dependency-tracking Do not reject slow dependency extractors
1462 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1463 --disable-largefile omit support
for large files
1466 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1467 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1468 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1469 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1471 --with-tags[=TAGS
] include additional configurations
[automatic
]
1473 Some influential environment variables
:
1474 CC C compiler
command
1475 CFLAGS C compiler flags
1476 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1477 nonstandard directory
<lib dir
>
1478 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1479 you have headers
in a nonstandard directory
<include dir
>
1481 CXX C
++ compiler
command
1482 CXXFLAGS C
++ compiler flags
1483 CXXCPP C
++ preprocessor
1484 F77 Fortran
77 compiler
command
1485 FFLAGS Fortran
77 compiler flags
1487 Use these variables to override the choices made by
`configure' or to help
1488 it to find libraries and programs with nonstandard names/locations.
1490 Report bugs to <BUG-REPORT-ADDRESS>.
1495 if test "$ac_init_help" = "recursive"; then
1496 # If there are subdirs, report their specific --help.
1497 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1498 test -d "$ac_dir" || continue
1502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1505 # A ".." for each directory in $ac_dir_suffix.
1506 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1507 case $ac_top_builddir_sub in
1508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1512 ac_abs_top_builddir=$ac_pwd
1513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1514 # for backward compatibility:
1515 ac_top_builddir=$ac_top_build_prefix
1518 .) # We are building in place.
1520 ac_top_srcdir=$ac_top_builddir_sub
1521 ac_abs_top_srcdir=$ac_pwd ;;
1522 [\\/]* | ?:[\\/]* ) # Absolute name.
1523 ac_srcdir=$srcdir$ac_dir_suffix;
1524 ac_top_srcdir=$srcdir
1525 ac_abs_top_srcdir=$srcdir ;;
1527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1528 ac_top_srcdir=$ac_top_build_prefix$srcdir
1529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1533 cd "$ac_dir" || { ac_status=$?; continue; }
1534 # Check for guested configure.
1535 if test -f "$ac_srcdir/configure.gnu"; then
1537 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1538 elif test -f "$ac_srcdir/configure"; then
1540 $SHELL "$ac_srcdir/configure" --help=recursive
1542 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1544 cd "$ac_pwd" || { ac_status=$?; break; }
1548 test -n "$ac_init_help" && exit $ac_status
1549 if $ac_init_version; then
1551 FULL-PACKAGE-NAME configure VERSION
1552 generated by GNU Autoconf 2.60
1554 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1555 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1556 This configure script is free software; the Free Software Foundation
1557 gives unlimited permission to copy, distribute and modify it.
1561 cat >config.log <<_ACEOF
1562 This file contains any messages produced by compilers while
1563 running configure, to aid debugging if configure makes a mistake.
1565 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
1566 generated by GNU Autoconf 2.60. Invocation command line was
1578 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1579 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1580 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1581 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1582 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1584 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1585 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1587 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1588 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1589 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1590 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1591 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1592 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1593 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 test -z "$as_dir" && as_dir=.
1602 echo "PATH: $as_dir"
1618 # Keep a trace of the command line.
1619 # Strip out --no-create and --no-recursion so they do not pile up.
1620 # Strip out --silent because we don't want to record it for future runs.
1621 # Also quote any args containing shell meta-characters.
1622 # Make two passes to allow for proper duplicate-argument suppression.
1626 ac_must_keep_next=false
1632 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1633 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1634 | -silent | --silent | --silen | --sile | --sil)
1637 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1640 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1642 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1643 if test $ac_must_keep_next = true; then
1644 ac_must_keep_next=false # Got value, back to normal.
1647 *=* | --config-cache | -C | -disable-* | --disable-* \
1648 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1649 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1650 | -with-* | --with-* | -without-* | --without-* | --x)
1651 case "$ac_configure_args0 " in
1652 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1655 -* ) ac_must_keep_next=true ;;
1658 ac_configure_args="$ac_configure_args '$ac_arg'"
1663 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1664 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1666 # When interrupted or exit'd, cleanup temporary files, and complete
1667 # config.log. We remove comments because anyway the quotes in there
1668 # would cause problems or look ugly.
1669 # WARNING: Use '\'' to represent an apostrophe within the trap.
1670 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1671 trap 'exit_status=$?
1672 # Save into config.log some information that might help in debugging.
1677 ## ---------------- ##
1678 ## Cache variables. ##
1679 ## ---------------- ##
1682 # The following way of writing the cache mishandles newlines in values,
1684 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1685 eval ac_val=\$$ac_var
1689 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1690 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1693 _ | IFS | as_nl) ;; #(
1694 *) $as_unset $ac_var ;;
1699 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1700 *${as_nl}ac_space=\ *)
1702 "s/'\''/'\''\\\\'\'''\''/g;
1703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1706 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1714 ## ----------------- ##
1715 ## Output variables. ##
1716 ## ----------------- ##
1719 for ac_var in $ac_subst_vars
1721 eval ac_val=\$$ac_var
1723 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1725 echo "$ac_var='\''$ac_val'\''"
1729 if test -n "$ac_subst_files"; then
1731 ## ------------------- ##
1732 ## File substitutions. ##
1733 ## ------------------- ##
1736 for ac_var in $ac_subst_files
1738 eval ac_val=\$$ac_var
1740 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742 echo "$ac_var='\''$ac_val'\''"
1747 if test -s confdefs.h; then
1757 test "$ac_signal" != 0 &&
1758 echo "$as_me: caught signal $ac_signal"
1759 echo "$as_me: exit $exit_status"
1761 rm -f core *.core core.conftest.* &&
1762 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1765 for ac_signal in 1 2 13 15; do
1766 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1770 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1771 rm -f -r conftest* confdefs.h
1773 # Predefined preprocessor variables.
1775 cat >>confdefs.h <<_ACEOF
1776 #define PACKAGE_NAME "$PACKAGE_NAME"
1780 cat >>confdefs.h <<_ACEOF
1781 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1785 cat >>confdefs.h <<_ACEOF
1786 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_STRING "$PACKAGE_STRING"
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1800 # Let the site file select an alternate cache file if it wants to.
1801 # Prefer explicitly selected file to automatically selected ones.
1802 if test -n "$CONFIG_SITE"; then
1803 set x "$CONFIG_SITE"
1804 elif test "x$prefix" != xNONE; then
1805 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1807 set x "$ac_default_prefix/share/config.site" \
1808 "$ac_default_prefix/etc/config.site"
1813 if test -r "$ac_site_file"; then
1814 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1815 echo "$as_me: loading site script $ac_site_file" >&6;}
1816 sed 's/^/| /' "$ac_site_file" >&5
1821 if test -r "$cache_file"; then
1822 # Some versions of bash will fail to source /dev/null (special
1823 # files actually), so we avoid doing that.
1824 if test -f "$cache_file"; then
1825 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1826 echo "$as_me: loading cache $cache_file" >&6;}
1828 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1829 *) . "./$cache_file";;
1833 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1834 echo "$as_me: creating cache $cache_file" >&6;}
1838 # Check that the precious variables saved in the cache have kept the same
1840 ac_cache_corrupted=false
1841 for ac_var in $ac_precious_vars; do
1842 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1843 eval ac_new_set=\$ac_env_${ac_var}_set
1844 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1845 eval ac_new_val=\$ac_env_${ac_var}_value
1846 case $ac_old_set,$ac_new_set in
1848 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1849 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1850 ac_cache_corrupted=: ;;
1852 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1853 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1854 ac_cache_corrupted=: ;;
1857 if test "x$ac_old_val" != "x$ac_new_val"; then
1858 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1859 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1860 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1861 echo "$as_me: former value
: $ac_old_val" >&2;}
1862 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1863 echo "$as_me: current value
: $ac_new_val" >&2;}
1864 ac_cache_corrupted=:
1867 # Pass precious variables to config.status.
1868 if test "$ac_new_set" = set; then
1870 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1871 *) ac_arg=$ac_var=$ac_new_val ;;
1873 case " $ac_configure_args " in
1874 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1875 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1879 if $ac_cache_corrupted; then
1880 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1881 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1882 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1883 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1884 { (exit 1); exit 1; }; }
1912 ac_cpp='$CPP $CPPFLAGS'
1913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1918 #AC_WITH_LTDL # not needed ?
1919 am__api_version="1.7"
1921 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1922 if test -f "$ac_dir/install-sh"; then
1924 ac_install_sh="$ac_aux_dir/install-sh -c"
1926 elif test -f "$ac_dir/install.sh"; then
1928 ac_install_sh="$ac_aux_dir/install.sh -c"
1930 elif test -f "$ac_dir/shtool"; then
1932 ac_install_sh="$ac_aux_dir/shtool install -c"
1936 if test -z "$ac_aux_dir"; then
1937 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1938 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1939 { (exit 1); exit 1; }; }
1942 # These three variables are undocumented and unsupported,
1943 # and are intended to be withdrawn in a future Autoconf release.
1944 # They can cause serious problems if a builder's source tree is in a directory
1945 # whose full name contains unusual characters.
1946 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1947 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1948 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1951 # Find a good install program. We prefer a C program (faster),
1952 # so one script is as good as another. But avoid the broken or
1953 # incompatible versions:
1954 # SysV /etc/install, /usr/sbin/install
1955 # SunOS /usr/etc/install
1956 # IRIX /sbin/install
1958 # AmigaOS /C/install, which installs bootblocks on floppy discs
1959 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1960 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1961 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1962 # OS/2's system install, which has a completely different semantic
1963 # ./install, which can be erroneously created by make from ./install.sh.
1964 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1965 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1966 if test -z "$INSTALL"; then
1967 if test "${ac_cv_path_install+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 # Account for people who put trailing slashes in PATH elements.
1977 ./ | .// | /cC/* | \
1978 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1979 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1982 # OSF1 and SCO ODT 3.0 have their own names for install.
1983 # Don't use installbsd from OSF since it installs stuff as root
1985 for ac_prog in ginstall scoinst install; do
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1988 if test $ac_prog = install &&
1989 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1990 # AIX install. It has an incompatible calling convention.
1992 elif test $ac_prog = install &&
1993 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1994 # program-specific install script used by HP pwplus--don't use.
1997 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2010 if test "${ac_cv_path_install+set}" = set; then
2011 INSTALL=$ac_cv_path_install
2013 # As a last resort, use the slow shell script. Don't cache a
2014 # value for INSTALL within a source directory, because that will
2015 # break other packages using the cache if that directory is
2016 # removed, or if the value is a relative name.
2017 INSTALL=$ac_install_sh
2020 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2021 echo "${ECHO_T}$INSTALL" >&6; }
2023 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2024 # It thinks the first close brace ends the variable substitution.
2025 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2027 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2029 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2031 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2032 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2035 echo timestamp > conftest.file
2036 # Do `set' in a subshell so we don't clobber the current shell
's
2037 # arguments. Must try -L first in case configure is actually a
2038 # symlink; some systems play weird games with the mod time of symlinks
2039 # (eg FreeBSD returns the mod time of the symlink's containing
2042 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2043 if test "$*" = "X"; then
2045 set X
`ls -t $srcdir/configure conftest.file`
2048 if test "$*" != "X $srcdir/configure conftest.file" \
2049 && test "$*" != "X conftest.file $srcdir/configure"; then
2051 # If neither matched, then we have a broken ls. This can happen
2052 # if, for instance, CONFIG_SHELL is bash and it inherits a
2053 # broken ls alias from the environment. This has actually
2054 # happened. Such a system could not be considered "sane".
2055 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2056 alias in your environment" >&5
2057 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2058 alias in your environment" >&2;}
2059 { (exit 1); exit 1; }; }
2062 test "$2" = conftest.
file
2068 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2069 Check your system clock" >&5
2070 echo "$as_me: error: newly created file is older than distributed files!
2071 Check your system clock" >&2;}
2072 { (exit 1); exit 1; }; }
2074 { echo "$as_me:$LINENO: result: yes" >&5
2075 echo "${ECHO_T}yes" >&6; }
2076 test "$program_prefix" != NONE
&&
2077 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2078 # Use a double $ so make ignores it.
2079 test "$program_suffix" != NONE
&&
2080 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2081 # Double any \ or $. echo might interpret backslashes.
2082 # By default was `s,x,x', remove it if useless.
2083 cat <<\_ACEOF
>conftest.
sed
2084 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2086 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2090 # expand $ac_aux_dir to an absolute path
2091 am_aux_dir
=`cd $ac_aux_dir && pwd`
2093 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2094 # Use eval to expand $SHELL
2095 if eval "$MISSING --run true"; then
2096 am_missing_run
="$MISSING --run "
2099 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2100 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2103 for ac_prog
in gawk mawk nawk
awk
2105 # Extract the first word of "$ac_prog", so it can be a program name with args.
2106 set dummy
$ac_prog; ac_word
=$2
2107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109 if test "${ac_cv_prog_AWK+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 if test -n "$AWK"; then
2113 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir
=.
2120 for ac_exec_ext
in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_AWK
="$ac_prog"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 if test -n "$AWK"; then
2134 { echo "$as_me:$LINENO: result: $AWK" >&5
2135 echo "${ECHO_T}$AWK" >&6; }
2137 { echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6; }
2142 test -n "$AWK" && break
2145 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2146 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2147 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2148 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 cat >conftest.
make <<\_ACEOF
2154 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2156 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2157 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2159 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2161 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2165 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2166 { echo "$as_me:$LINENO: result: yes" >&5
2167 echo "${ECHO_T}yes" >&6; }
2170 { echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6; }
2172 SET_MAKE
="MAKE=${MAKE-make}"
2175 rm -rf .tst
2>/dev
/null
2176 mkdir .tst
2>/dev
/null
2177 if test -d .tst
; then
2182 rmdir .tst
2>/dev
/null
2184 # test to see if srcdir already configured
2185 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2186 test -f $srcdir/config.status
; then
2187 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2188 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2189 { (exit 1); exit 1; }; }
2192 # test whether we have cygpath
2193 if test -z "$CYGPATH_W"; then
2194 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2195 CYGPATH_W
='cygpath -w'
2202 # Define the identity of the package.
2204 VERSION
=0.24-17092006
2207 cat >>confdefs.h
<<_ACEOF
2208 #define PACKAGE "$PACKAGE"
2212 cat >>confdefs.h
<<_ACEOF
2213 #define VERSION "$VERSION"
2216 # Some tools Automake needs.
2218 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2221 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2224 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2227 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2230 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2233 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2235 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2237 # Installed binaries are usually stripped using `strip' when the user
2238 # run `make install-strip'. However `strip' might not be the right
2239 # tool to use in cross-compilation environments, therefore Automake
2240 # will honor the `STRIP' environment variable to overrule this program.
2241 if test "$cross_compiling" != no
; then
2242 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2244 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2247 if test "${ac_cv_prog_STRIP+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 if test -n "$STRIP"; then
2251 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir
=.
2258 for ac_exec_ext
in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 STRIP
=$ac_cv_prog_STRIP
2271 if test -n "$STRIP"; then
2272 { echo "$as_me:$LINENO: result: $STRIP" >&5
2273 echo "${ECHO_T}$STRIP" >&6; }
2275 { echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6; }
2281 if test -z "$ac_cv_prog_STRIP"; then
2283 # Extract the first word of "strip", so it can be a program name with args.
2284 set dummy strip
; ac_word
=$2
2285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2287 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 if test -n "$ac_ct_STRIP"; then
2291 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir
=.
2298 for ac_exec_ext
in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2300 ac_cv_prog_ac_ct_STRIP
="strip"
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2311 if test -n "$ac_ct_STRIP"; then
2312 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2313 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2315 { echo "$as_me:$LINENO: result: no" >&5
2316 echo "${ECHO_T}no" >&6; }
2319 if test "x$ac_ct_STRIP" = x
; then
2322 case $cross_compiling:$ac_tool_warned in
2324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2325 whose name does not start with the host triplet. If you think this
2326 configuration is useful to you, please write to autoconf@gnu.org." >&5
2327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2328 whose name does not start with the host triplet. If you think this
2329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2330 ac_tool_warned
=yes ;;
2335 STRIP
="$ac_cv_prog_STRIP"
2339 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2341 # We need awk for the "check" target. The system "awk" is bad on
2346 ac_config_headers
="$ac_config_headers config.h"
2348 # Check whether --enable-shared was given.
2349 if test "${enable_shared+set}" = set; then
2350 enableval
=$enable_shared; p
=${PACKAGE-default}
2352 yes) enable_shared
=yes ;;
2353 no
) enable_shared
=no
;;
2356 # Look at the argument we got. We use all the common list separators.
2357 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2358 for pkg
in $enableval; do
2360 if test "X$pkg" = "X$p"; then
2372 # Check whether --enable-static was given.
2373 if test "${enable_static+set}" = set; then
2374 enableval
=$enable_static; p
=${PACKAGE-default}
2376 yes) enable_static
=yes ;;
2377 no
) enable_static
=no
;;
2380 # Look at the argument we got. We use all the common list separators.
2381 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2382 for pkg
in $enableval; do
2384 if test "X$pkg" = "X$p"; then
2396 # Check whether --enable-fast-install was given.
2397 if test "${enable_fast_install+set}" = set; then
2398 enableval
=$enable_fast_install; p
=${PACKAGE-default}
2400 yes) enable_fast_install
=yes ;;
2401 no
) enable_fast_install
=no
;;
2403 enable_fast_install
=no
2404 # Look at the argument we got. We use all the common list separators.
2405 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2406 for pkg
in $enableval; do
2408 if test "X$pkg" = "X$p"; then
2409 enable_fast_install
=yes
2416 enable_fast_install
=yes
2420 # Make sure we can run config.sub.
2421 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2422 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2424 { (exit 1); exit 1; }; }
2426 { echo "$as_me:$LINENO: checking build system type" >&5
2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2428 if test "${ac_cv_build+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 ac_build_alias
=$build_alias
2432 test "x$ac_build_alias" = x
&&
2433 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x
&&
2435 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2437 { (exit 1); exit 1; }; }
2438 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2445 echo "${ECHO_T}$ac_cv_build" >&6; }
2446 case $ac_cv_build in
2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2449 echo "$as_me: error: invalid value of canonical build" >&2;}
2450 { (exit 1); exit 1; }; };;
2453 ac_save_IFS
=$IFS; IFS
='-'
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2463 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2466 { echo "$as_me:$LINENO: checking host system type" >&5
2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_host+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 if test "x$host_alias" = x
; then
2472 ac_cv_host
=$ac_cv_build
2474 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2482 echo "${ECHO_T}$ac_cv_host" >&6; }
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2486 echo "$as_me: error: invalid value of canonical host" >&2;}
2487 { (exit 1); exit 1; }; };;
2490 ac_save_IFS
=$IFS; IFS
='-'
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2500 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2503 DEPDIR
="${am__leading_dot}deps"
2505 ac_config_commands
="$ac_config_commands depfiles"
2508 am_make
=${MAKE-make}
2509 cat > confinc
<< 'END'
2514 # If we don't find an include directive, just comment out the code.
2515 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2516 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2520 # First try GNU make style include.
2521 echo "include confinc" > confmf
2522 # We grep out `Entering directory' and `Leaving directory'
2523 # messages which can occur if `w' ends up in MAKEFLAGS.
2524 # In particular we don't look at `^make:' because GNU make might
2525 # be invoked under some other name (usually "gmake"), in which
2526 # case it prints its new name instead of `make'.
2527 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2532 # Now try BSD make style include.
2533 if test "$am__include" = "#"; then
2534 echo '.include "confinc"' > confmf
2535 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2536 am__include
=.include
2543 { echo "$as_me:$LINENO: result: $_am_result" >&5
2544 echo "${ECHO_T}$_am_result" >&6; }
2545 rm -f confinc confmf
2547 # Check whether --enable-dependency-tracking was given.
2548 if test "${enable_dependency_tracking+set}" = set; then
2549 enableval
=$enable_dependency_tracking;
2552 if test "x$enable_dependency_tracking" != xno
; then
2553 am_depcomp
="$ac_aux_dir/depcomp"
2558 if test "x$enable_dependency_tracking" != xno; then
2569 ac_cpp
='$CPP $CPPFLAGS'
2570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2573 if test -n "$ac_tool_prefix"; then
2574 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2575 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2578 if test "${ac_cv_prog_CC+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 if test -n "$CC"; then
2582 ac_cv_prog_CC
="$CC" # Let the user override the test.
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 for ac_exec_ext
in '' $ac_executable_extensions; do
2590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2591 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 if test -n "$CC"; then
2603 { echo "$as_me:$LINENO: result: $CC" >&5
2604 echo "${ECHO_T}$CC" >&6; }
2606 { echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6; }
2612 if test -z "$ac_cv_prog_CC"; then
2614 # Extract the first word of "gcc", so it can be a program name with args.
2615 set dummy gcc
; ac_word
=$2
2616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2618 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2619 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 if test -n "$ac_ct_CC"; then
2622 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir
=.
2629 for ac_exec_ext
in '' $ac_executable_extensions; do
2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2631 ac_cv_prog_ac_ct_CC
="gcc"
2632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2642 if test -n "$ac_ct_CC"; then
2643 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2644 echo "${ECHO_T}$ac_ct_CC" >&6; }
2646 { echo "$as_me:$LINENO: result: no" >&5
2647 echo "${ECHO_T}no" >&6; }
2650 if test "x$ac_ct_CC" = x
; then
2653 case $cross_compiling:$ac_tool_warned in
2655 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2656 whose name does not start with the host triplet. If you think this
2657 configuration is useful to you, please write to autoconf@gnu.org." >&5
2658 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2659 whose name does not start with the host triplet. If you think this
2660 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2661 ac_tool_warned
=yes ;;
2669 if test -z "$CC"; then
2670 if test -n "$ac_tool_prefix"; then
2671 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2672 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2675 if test "${ac_cv_prog_CC+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 if test -n "$CC"; then
2679 ac_cv_prog_CC
="$CC" # Let the user override the test.
2681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2685 test -z "$as_dir" && as_dir
=.
2686 for ac_exec_ext
in '' $ac_executable_extensions; do
2687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2688 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 if test -n "$CC"; then
2700 { echo "$as_me:$LINENO: result: $CC" >&5
2701 echo "${ECHO_T}$CC" >&6; }
2703 { echo "$as_me:$LINENO: result: no" >&5
2704 echo "${ECHO_T}no" >&6; }
2710 if test -z "$CC"; then
2711 # Extract the first word of "cc", so it can be a program name with args.
2712 set dummy cc
; ac_word
=$2
2713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2715 if test "${ac_cv_prog_CC+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 if test -n "$CC"; then
2719 ac_cv_prog_CC
="$CC" # Let the user override the test.
2722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir
=.
2727 for ac_exec_ext
in '' $ac_executable_extensions; do
2728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2729 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2730 ac_prog_rejected
=yes
2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 if test $ac_prog_rejected = yes; then
2742 # We found a bogon in the path, so make sure we never use it.
2743 set dummy
$ac_cv_prog_CC
2745 if test $# != 0; then
2746 # We chose a different compiler from the bogus one.
2747 # However, it has the same basename, so the bogon will be chosen
2748 # first if we set CC to just the basename; use the full file name.
2750 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2756 if test -n "$CC"; then
2757 { echo "$as_me:$LINENO: result: $CC" >&5
2758 echo "${ECHO_T}$CC" >&6; }
2760 { echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6; }
2766 if test -z "$CC"; then
2767 if test -n "$ac_tool_prefix"; then
2768 for ac_prog
in cl.exe
2770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2771 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2774 if test "${ac_cv_prog_CC+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 if test -n "$CC"; then
2778 ac_cv_prog_CC
="$CC" # Let the user override the test.
2780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir
=.
2785 for ac_exec_ext
in '' $ac_executable_extensions; do
2786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2787 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 if test -n "$CC"; then
2799 { echo "$as_me:$LINENO: result: $CC" >&5
2800 echo "${ECHO_T}$CC" >&6; }
2802 { echo "$as_me:$LINENO: result: no" >&5
2803 echo "${ECHO_T}no" >&6; }
2807 test -n "$CC" && break
2810 if test -z "$CC"; then
2812 for ac_prog
in cl.exe
2814 # Extract the first word of "$ac_prog", so it can be a program name with args.
2815 set dummy
$ac_prog; ac_word
=$2
2816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2818 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 if test -n "$ac_ct_CC"; then
2822 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 for ac_exec_ext
in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 ac_cv_prog_ac_ct_CC
="$ac_prog"
2832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2842 if test -n "$ac_ct_CC"; then
2843 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2844 echo "${ECHO_T}$ac_ct_CC" >&6; }
2846 { echo "$as_me:$LINENO: result: no" >&5
2847 echo "${ECHO_T}no" >&6; }
2851 test -n "$ac_ct_CC" && break
2854 if test "x$ac_ct_CC" = x
; then
2857 case $cross_compiling:$ac_tool_warned in
2859 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2860 whose name does not start with the host triplet. If you think this
2861 configuration is useful to you, please write to autoconf@gnu.org." >&5
2862 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2863 whose name does not start with the host triplet. If you think this
2864 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2865 ac_tool_warned
=yes ;;
2874 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2875 See \`config.log' for more details." >&5
2876 echo "$as_me: error: no acceptable C compiler found in \$PATH
2877 See \`config.log' for more details." >&2;}
2878 { (exit 1); exit 1; }; }
2880 # Provide some information about the compiler.
2881 echo "$as_me:$LINENO: checking for C compiler version" >&5
2882 ac_compiler
=`set X $ac_compile; echo $2`
2883 { (ac_try
="$ac_compiler --version >&5"
2885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2889 (eval "$ac_compiler --version >&5") 2>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }
2893 { (ac_try="$ac_compiler -v >&5"
2895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2896 *) ac_try_echo
=$ac_try;;
2898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2899 (eval "$ac_compiler -v >&5") 2>&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }
2903 { (ac_try
="$ac_compiler -V >&5"
2905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909 (eval "$ac_compiler -V >&5") 2>&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }
2914 cat >conftest.$ac_ext <<_ACEOF
2917 cat confdefs.h >>conftest.$ac_ext
2918 cat >>conftest.$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2929 ac_clean_files_save=$ac_clean_files
2930 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2931 # Try to create an executable without -o first, disregard a.out.
2932 # It will help us diagnose broken compilers, and finding out an intuition
2934 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2935 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2936 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2938 # List of possible output files, starting from the most likely.
2939 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2940 # only as a last resort. b.out is created by i960 compilers.
2941 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2943 # The IRIX 6 linker writes into existing files which may not be
2944 # executable, retaining their permissions. Remove them first so a
2945 # subsequent execution test works.
2947 for ac_file in $ac_files
2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2951 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2956 if { (ac_try="$ac_link_default"
2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2962 (eval "$ac_link_default") 2>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; then
2966 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2967 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2968 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2969 # so that the user can short-circuit this test for compilers unknown to
2971 for ac_file
in $ac_files
2973 test -f "$ac_file" ||
continue
2975 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2978 # We found the default executable, but exeext='' is most
2982 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2984 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2986 # We set ac_cv_exeext here because the later test for it is not
2987 # safe: cross compilers may not add the suffix if given an `-o'
2988 # argument, so we may need to know it at that point already.
2989 # Even if this section looks crufty: it has the advantage of
2996 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.
$ac_ext >&5
3002 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3003 See \`config.log' for more details." >&5
3004 echo "$as_me: error: C compiler cannot create executables
3005 See \`config.log' for more details." >&2;}
3006 { (exit 77); exit 77; }; }
3009 ac_exeext
=$ac_cv_exeext
3010 { echo "$as_me:$LINENO: result: $ac_file" >&5
3011 echo "${ECHO_T}$ac_file" >&6; }
3013 # Check that the compiler produces executables we can run. If not, either
3014 # the compiler is broken, or we cross compile.
3015 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3016 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3017 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3018 # If not cross compiling, check that we can run a simple program.
3019 if test "$cross_compiling" != yes; then
3020 if { ac_try
='./$ac_file'
3021 { (case "(($ac_try" in
3022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3026 (eval "$ac_try") 2>&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; }; then
3032 if test "$cross_compiling" = maybe; then
3035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3036 If you meant to cross compile, use \`--host'.
3037 See \`config.log' for more details.
" >&5
3038 echo "$as_me: error
: cannot run C compiled programs.
3039 If you meant to cross compile
, use \
`--host'.
3040 See \`config.log
' for more details." >&2;}
3041 { (exit 1); exit 1; }; }
3045 { echo "$as_me:$LINENO: result: yes" >&5
3046 echo "${ECHO_T}yes" >&6; }
3048 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3049 ac_clean_files=$ac_clean_files_save
3050 # Check that the compiler produces executables we can run. If not, either
3051 # the compiler is broken, or we cross compile.
3052 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3053 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3054 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3055 echo "${ECHO_T}$cross_compiling" >&6; }
3057 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3058 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3059 if { (ac_try="$ac_link"
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3065 (eval "$ac_link") 2>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }; then
3069 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3070 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3071 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3073 for ac_file
in conftest.exe conftest conftest.
*; do
3074 test -f "$ac_file" ||
continue
3076 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3077 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3083 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3084 See \`config.log' for more details." >&5
3085 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3086 See \`config.log' for more details." >&2;}
3087 { (exit 1); exit 1; }; }
3090 rm -f conftest
$ac_cv_exeext
3091 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3092 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3094 rm -f conftest.
$ac_ext
3095 EXEEXT
=$ac_cv_exeext
3097 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3098 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3099 if test "${ac_cv_objext+set}" = set; then
3100 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 cat >conftest.
$ac_ext <<_ACEOF
3105 cat confdefs.h
>>conftest.
$ac_ext
3106 cat >>conftest.
$ac_ext <<_ACEOF
3107 /* end confdefs.h. */
3117 rm -f conftest.o conftest.obj
3118 if { (ac_try
="$ac_compile"
3120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124 (eval "$ac_compile") 2>&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; then
3128 for ac_file in conftest.o conftest.obj conftest.*; do
3129 test -f "$ac_file" || continue;
3131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3132 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3140 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3141 See \`config.log
' for more details." >&5
3142 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3143 See \`config.log' for more details.
" >&2;}
3144 { (exit 1); exit 1; }; }
3147 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3149 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3150 echo "${ECHO_T}$ac_cv_objext" >&6; }
3151 OBJEXT=$ac_cv_objext
3153 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3154 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3155 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3156 echo $ECHO_N "(cached
) $ECHO_C" >&6
3158 cat >conftest.$ac_ext <<_ACEOF
3161 cat confdefs.h >>conftest.$ac_ext
3162 cat >>conftest.$ac_ext <<_ACEOF
3163 /* end confdefs.h. */
3176 rm -f conftest.$ac_objext
3177 if { (ac_try="$ac_compile"
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3183 (eval "$ac_compile") 2>conftest.er1
3185 grep -v '^ *+' conftest.er1 >conftest.err
3187 cat conftest.err >&5
3188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3189 (exit $ac_status); } &&
3190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3191 { (case "(($ac_try" in
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3196 (eval "$ac_try") 2>&5
3198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3199 (exit $ac_status); }; } &&
3200 { ac_try='test -s conftest.$ac_objext'
3201 { (case "(($ac_try" in
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3206 (eval "$ac_try") 2>&5
3208 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3209 (exit $ac_status); }; }; then
3212 echo "$as_me: failed program was
:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3222 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3223 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3224 GCC=`test $ac_compiler_gnu = yes && echo yes`
3225 ac_test_CFLAGS=${CFLAGS+set}
3226 ac_save_CFLAGS=$CFLAGS
3227 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3228 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3229 if test "${ac_cv_prog_cc_g+set}" = set; then
3230 echo $ECHO_N "(cached
) $ECHO_C" >&6
3232 ac_save_c_werror_flag=$ac_c_werror_flag
3233 ac_c_werror_flag=yes
3236 cat >conftest.$ac_ext <<_ACEOF
3239 cat confdefs.h >>conftest.$ac_ext
3240 cat >>conftest.$ac_ext <<_ACEOF
3241 /* end confdefs.h. */
3251 rm -f conftest.$ac_objext
3252 if { (ac_try="$ac_compile"
3254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3255 *) ac_try_echo=$ac_try;;
3257 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3258 (eval "$ac_compile") 2>conftest.er1
3260 grep -v '^ *+' conftest.er1 >conftest.err
3262 cat conftest.err >&5
3263 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3264 (exit $ac_status); } &&
3265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3266 { (case "(($ac_try" in
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_try") 2>&5
3273 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3274 (exit $ac_status); }; } &&
3275 { ac_try='test -s conftest.$ac_objext'
3276 { (case "(($ac_try" in
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_try") 2>&5
3283 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3284 (exit $ac_status); }; }; then
3287 echo "$as_me: failed program was
:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3291 cat >conftest.$ac_ext <<_ACEOF
3294 cat confdefs.h >>conftest.$ac_ext
3295 cat >>conftest.$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3306 rm -f conftest.$ac_objext
3307 if { (ac_try="$ac_compile"
3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3310 *) ac_try_echo=$ac_try;;
3312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3313 (eval "$ac_compile") 2>conftest.er1
3315 grep -v '^ *+' conftest.er1 >conftest.err
3317 cat conftest.err >&5
3318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3319 (exit $ac_status); } &&
3320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3321 { (case "(($ac_try" in
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_try") 2>&5
3328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3329 (exit $ac_status); }; } &&
3330 { ac_try='test -s conftest.$ac_objext'
3331 { (case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_try") 2>&5
3338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3339 (exit $ac_status); }; }; then
3342 echo "$as_me: failed program was
:" >&5
3343 sed 's/^/| /' conftest.$ac_ext >&5
3345 ac_c_werror_flag=$ac_save_c_werror_flag
3347 cat >conftest.$ac_ext <<_ACEOF
3350 cat confdefs.h >>conftest.$ac_ext
3351 cat >>conftest.$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3362 rm -f conftest.$ac_objext
3363 if { (ac_try="$ac_compile"
3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3368 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3369 (eval "$ac_compile") 2>conftest.er1
3371 grep -v '^ *+' conftest.er1 >conftest.err
3373 cat conftest.err >&5
3374 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3375 (exit $ac_status); } &&
3376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3377 { (case "(($ac_try" in
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_try") 2>&5
3384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3385 (exit $ac_status); }; } &&
3386 { ac_try='test -s conftest.$ac_objext'
3387 { (case "(($ac_try" in
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_try") 2>&5
3394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3395 (exit $ac_status); }; }; then
3398 echo "$as_me: failed program was
:" >&5
3399 sed 's/^/| /' conftest.$ac_ext >&5
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411 ac_c_werror_flag=$ac_save_c_werror_flag
3413 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3414 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3415 if test "$ac_test_CFLAGS" = set; then
3416 CFLAGS=$ac_save_CFLAGS
3417 elif test $ac_cv_prog_cc_g = yes; then
3418 if test "$GCC" = yes; then
3424 if test "$GCC" = yes; then
3430 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3431 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3432 if test "${ac_cv_prog_cc_c89+set}" = set; then
3433 echo $ECHO_N "(cached
) $ECHO_C" >&6
3435 ac_cv_prog_cc_c89=no
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3445 #include <sys/types.h>
3446 #include <sys/stat.h>
3447 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3448 struct buf { int x; };
3449 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3450 static char *e (p, i)
3456 static char *f (char * (*g) (char **, int), char **p, ...)
3461 s = g (p, va_arg (v,int));
3466 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3467 function prototypes and stuff, but not '\xHH' hex character constants.
3468 These don't provoke an error unfortunately, instead are silently treated
3469 as 'x'. The following induces an error, until -std is added to get
3470 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3471 array size at least. It's necessary to write '\x00'==0 to get something
3472 that's true only with -std. */
3473 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3475 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3476 inside strings and character constants. */
3478 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3480 int test (int i, double x);
3481 struct s1 {int (*f) (int a);};
3482 struct s2 {int (*f) (double a);};
3483 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3489 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3494 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3495 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3497 CC="$ac_save_CC $ac_arg"
3498 rm -f conftest.$ac_objext
3499 if { (ac_try="$ac_compile"
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3505 (eval "$ac_compile") 2>conftest.er1
3507 grep -v '^ *+' conftest.er1 >conftest.err
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3513 { (case "(($ac_try" in
3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;;
3517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3518 (eval "$ac_try") 2>&5
3520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3521 (exit $ac_status); }; } &&
3522 { ac_try='test -s conftest.$ac_objext'
3523 { (case "(($ac_try" in
3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525 *) ac_try_echo=$ac_try;;
3527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3528 (eval "$ac_try") 2>&5
3530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3531 (exit $ac_status); }; }; then
3532 ac_cv_prog_cc_c89=$ac_arg
3534 echo "$as_me: failed program was
:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3540 rm -f core conftest.err conftest.$ac_objext
3541 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3543 rm -f conftest.$ac_ext
3548 case "x
$ac_cv_prog_cc_c89" in
3550 { echo "$as_me:$LINENO: result
: none needed
" >&5
3551 echo "${ECHO_T}none needed
" >&6; } ;;
3553 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3554 echo "${ECHO_T}unsupported
" >&6; } ;;
3556 CC="$CC $ac_cv_prog_cc_c89"
3557 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3558 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3563 ac_cpp='$CPP $CPPFLAGS'
3564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3568 depcc="$CC" am_compiler_list=
3570 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3571 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3572 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3573 echo $ECHO_N "(cached
) $ECHO_C" >&6
3575 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3576 # We make a subdir and do the tests there. Otherwise we can end up
3577 # making bogus files that we don't know about and never remove. For
3578 # instance it was reported that on HP-UX the gcc test will end up
3579 # making a dummy file named `D' -- because `-MD' means `put the output
3582 # Copy depcomp to subdir because otherwise we won't find it if we're
3583 # using a relative directory.
3584 cp "$am_depcomp" conftest.dir
3586 # We will build objects and dependencies in a subdirectory because
3587 # it helps to detect inapplicable dependency modes. For instance
3588 # both Tru64's cc and ICC support -MD to output dependencies as a
3589 # side effect of compilation, but ICC will put the dependencies in
3590 # the current directory while Tru64 will put them in the object
3594 am_cv_CC_dependencies_compiler_type=none
3595 if test "$am_compiler_list" = ""; then
3596 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3598 for depmode in $am_compiler_list; do
3599 # Setup a source with many dependencies, because some compilers
3600 # like to wrap large dependency lists on column 80 (with \), and
3601 # we should not choose a depcomp mode which is confused by this.
3603 # We need to recreate these files for each test, as the compiler may
3604 # overwrite some of them when testing with obscure command lines.
3605 # This happens at least with the AIX C compiler.
3607 for i in 1 2 3 4 5 6; do
3608 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3611 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3615 # after this tag, mechanisms are not by side-effect, so they'll
3616 # only be used when explicitly requested
3617 if test "x
$enable_dependency_tracking" = xyes; then
3625 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3626 # mode. It turns out that the SunPro C++ compiler does not properly
3627 # handle `-M -o', and we need to detect this.
3628 if depmode=$depmode \
3629 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3630 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3631 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3632 >/dev/null 2>conftest.err &&
3633 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3634 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3635 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3636 # icc doesn't choke on unknown options, it will just issue warnings
3637 # (even with -Werror). So we grep stderr for any message
3638 # that says an option was ignored.
3639 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3640 am_cv_CC_dependencies_compiler_type=$depmode
3649 am_cv_CC_dependencies_compiler_type=none
3653 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3654 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3655 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3660 test "x
$enable_dependency_tracking" != xno \
3661 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3663 am__fastdepCC_FALSE='#'
3665 am__fastdepCC_TRUE='#'
3666 am__fastdepCC_FALSE=
3670 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
3671 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
3672 if test "${lt_cv_path_SED+set}" = set; then
3673 echo $ECHO_N "(cached
) $ECHO_C" >&6
3675 # Loop through the user's path and test for sed and gsed.
3676 # Then use that list of sed's as ones to test for truncation.
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir=.
3682 for lt_ac_prog in sed gsed; do
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3685 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3692 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3693 # along with /bin/sed that truncates output.
3694 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3695 test ! -f $lt_ac_sed && continue
3696 cat /dev/null > conftest.in
3698 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3699 # Check for GNU sed and select it if it is found.
3700 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3701 lt_cv_path_SED=$lt_ac_sed
3705 cat conftest.in conftest.in >conftest.tmp
3706 mv conftest.tmp conftest.in
3707 cp conftest.in conftest.nl
3709 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3710 cmp -s conftest.out conftest.nl || break
3711 # 10000 chars as input seems more than enough
3712 test $lt_ac_count -gt 10 && break
3713 lt_ac_count=`expr $lt_ac_count + 1`
3714 if test $lt_ac_count -gt $lt_ac_max; then
3715 lt_ac_max=$lt_ac_count
3716 lt_cv_path_SED=$lt_ac_sed
3724 { echo "$as_me:$LINENO: result
: $SED" >&5
3725 echo "${ECHO_T}$SED" >&6; }
3727 { echo "$as_me:$LINENO: checking
for grep that handles long lines and
-e" >&5
3728 echo $ECHO_N "checking
for grep that handles long lines and
-e...
$ECHO_C" >&6; }
3729 if test "${ac_cv_path_GREP+set}" = set; then
3730 echo $ECHO_N "(cached
) $ECHO_C" >&6
3732 # Extract the first word of "grep ggrep
" to use in msg output
3733 if test -z "$GREP"; then
3734 set dummy grep ggrep; ac_prog_name=$2
3735 if test "${ac_cv_path_GREP+set}" = set; then
3736 echo $ECHO_N "(cached
) $ECHO_C" >&6
3738 ac_path_GREP_found=false
3739 # Loop through the user's path and test for each of PROGNAME-LIST
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3744 test -z "$as_dir" && as_dir=.
3745 for ac_prog in grep ggrep; do
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3748 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3749 # Check for GNU ac_path_GREP and select it if it is found.
3750 # Check for GNU $ac_path_GREP
3751 case `"$ac_path_GREP" --version 2>&1` in
3753 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3756 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3759 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3760 mv "conftest.tmp
" "conftest.
in"
3761 cp "conftest.
in" "conftest.
nl"
3762 echo 'GREP' >> "conftest.
nl"
3763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3764 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3765 ac_count=`expr $ac_count + 1`
3766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3767 # Best one so far, save it but keep looking for a better one
3768 ac_cv_path_GREP="$ac_path_GREP"
3769 ac_path_GREP_max=$ac_count
3771 # 10*(2^10) chars as input seems more than enough
3772 test $ac_count -gt 10 && break
3774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3778 $ac_path_GREP_found && break 3
3788 GREP="$ac_cv_path_GREP"
3789 if test -z "$GREP"; then
3790 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3791 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3792 { (exit 1); exit 1; }; }
3796 ac_cv_path_GREP=$GREP
3801 { echo "$as_me:$LINENO: result
: $ac_cv_path_GREP" >&5
3802 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3803 GREP="$ac_cv_path_GREP"
3806 { echo "$as_me:$LINENO: checking
for egrep" >&5
3807 echo $ECHO_N "checking
for egrep...
$ECHO_C" >&6; }
3808 if test "${ac_cv_path_EGREP+set}" = set; then
3809 echo $ECHO_N "(cached
) $ECHO_C" >&6
3811 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3812 then ac_cv_path_EGREP="$GREP -E"
3814 # Extract the first word of "egrep" to use in msg output
3815 if test -z "$EGREP"; then
3816 set dummy egrep; ac_prog_name=$2
3817 if test "${ac_cv_path_EGREP+set}" = set; then
3818 echo $ECHO_N "(cached
) $ECHO_C" >&6
3820 ac_path_EGREP_found=false
3821 # Loop through the user's path and test for each of PROGNAME-LIST
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3826 test -z "$as_dir" && as_dir=.
3827 for ac_prog in egrep; do
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3830 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3831 # Check for GNU ac_path_EGREP and select it if it is found.
3832 # Check for GNU $ac_path_EGREP
3833 case `"$ac_path_EGREP" --version 2>&1` in
3835 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3838 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3841 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3842 mv "conftest.tmp
" "conftest.
in"
3843 cp "conftest.
in" "conftest.
nl"
3844 echo 'EGREP' >> "conftest.
nl"
3845 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3846 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3847 ac_count=`expr $ac_count + 1`
3848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3849 # Best one so far, save it but keep looking for a better one
3850 ac_cv_path_EGREP="$ac_path_EGREP"
3851 ac_path_EGREP_max=$ac_count
3853 # 10*(2^10) chars as input seems more than enough
3854 test $ac_count -gt 10 && break
3856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3860 $ac_path_EGREP_found && break 3
3870 EGREP="$ac_cv_path_EGREP"
3871 if test -z "$EGREP"; then
3872 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3873 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3874 { (exit 1); exit 1; }; }
3878 ac_cv_path_EGREP=$EGREP
3884 { echo "$as_me:$LINENO: result
: $ac_cv_path_EGREP" >&5
3885 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3886 EGREP="$ac_cv_path_EGREP"
3890 # Check whether --with-gnu-ld was given.
3891 if test "${with_gnu_ld+set}" = set; then
3892 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3898 if test "$GCC" = yes; then
3899 # Check if gcc -print-prog-name=ld gives a path.
3900 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
3901 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
3904 # gcc leaves a trailing carriage return which upsets mingw
3905 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3907 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3910 # Accept absolute paths.
3912 re_direlt='/[^/][^/]*/\.\./'
3913 # Canonicalize the pathname of ld
3914 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3915 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3916 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
3918 test -z "$LD" && LD="$ac_prog"
3921 # If it fails, then pretend we aren't using GCC.
3925 # If it is relative, then search for the first ld in PATH.
3929 elif test "$with_gnu_ld" = yes; then
3930 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
3931 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
3933 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
3934 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
3936 if test "${lt_cv_path_LD+set}" = set; then
3937 echo $ECHO_N "(cached
) $ECHO_C" >&6
3939 if test -z "$LD"; then
3940 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3941 for ac_dir in $PATH; do
3943 test -z "$ac_dir" && ac_dir=.
3944 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3945 lt_cv_path_LD="$ac_dir/$ac_prog"
3946 # Check to see if the program is GNU ld. I'd rather use --version,
3947 # but apparently some variants of GNU ld only accept -v.
3948 # Break only if it was the GNU/non-GNU ld that we prefer.
3949 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3950 *GNU* | *'with BFD'*)
3951 test "$with_gnu_ld" != no && break
3954 test "$with_gnu_ld" != yes && break
3961 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3966 if test -n "$LD"; then
3967 { echo "$as_me:$LINENO: result
: $LD" >&5
3968 echo "${ECHO_T}$LD" >&6; }
3970 { echo "$as_me:$LINENO: result
: no
" >&5
3971 echo "${ECHO_T}no
" >&6; }
3973 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
3974 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
3975 { (exit 1); exit 1; }; }
3976 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
3977 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
3978 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3979 echo $ECHO_N "(cached
) $ECHO_C" >&6
3981 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3982 case `$LD -v 2>&1 </dev/null` in
3983 *GNU* | *'with BFD'*)
3984 lt_cv_prog_gnu_ld=yes
3987 lt_cv_prog_gnu_ld=no
3991 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
3992 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3993 with_gnu_ld=$lt_cv_prog_gnu_ld
3996 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
3997 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
3998 if test "${lt_cv_ld_reload_flag+set}" = set; then
3999 echo $ECHO_N "(cached
) $ECHO_C" >&6
4001 lt_cv_ld_reload_flag='-r'
4003 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4004 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4005 reload_flag=$lt_cv_ld_reload_flag
4006 case $reload_flag in
4008 *) reload_flag=" $reload_flag" ;;
4010 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4013 if test "$GCC" = yes; then
4014 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4016 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4021 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
4022 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
4023 if test "${lt_cv_path_NM+set}" = set; then
4024 echo $ECHO_N "(cached
) $ECHO_C" >&6
4026 if test -n "$NM"; then
4027 # Let the user override the test.
4030 lt_nm_to_check="${ac_tool_prefix}nm
"
4031 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4032 lt_nm_to_check="$lt_nm_to_check nm
"
4034 for lt_tmp_nm in $lt_nm_to_check; do
4035 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4036 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4038 test -z "$ac_dir" && ac_dir=.
4039 tmp_nm="$ac_dir/$lt_tmp_nm"
4040 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4041 # Check to see if the nm accepts a BSD-compat flag.
4042 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4043 # nm: unknown option "B
" ignored
4044 # Tru64's nm complains that /dev/null is an invalid object file
4045 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4046 */dev/null* | *'Invalid file or object type'*)
4047 lt_cv_path_NM="$tmp_nm -B"
4051 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4053 lt_cv_path_NM="$tmp_nm -p"
4057 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4058 continue # so that we can try to find one that supports BSD flags
4067 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4070 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
4071 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4074 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
4075 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
4077 if test "$LN_S" = "ln -s"; then
4078 { echo "$as_me:$LINENO: result
: yes" >&5
4079 echo "${ECHO_T}yes" >&6; }
4081 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
4082 echo "${ECHO_T}no
, using
$LN_S" >&6; }
4085 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
4086 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
4087 if test "${lt_cv_deplibs_check_method+set}" = set; then
4088 echo $ECHO_N "(cached
) $ECHO_C" >&6
4090 lt_cv_file_magic_cmd='$MAGIC_CMD'
4091 lt_cv_file_magic_test_file=
4092 lt_cv_deplibs_check_method='unknown'
4093 # Need to set the preceding variable on all platforms that support
4094 # interlibrary dependencies.
4095 # 'none' -- dependencies not supported.
4096 # `unknown' -- same as none, but documents that we really don't know.
4097 # 'pass_all' -- all dependencies passed with no checks.
4098 # 'test_compile' -- check by making test program.
4099 # 'file_magic [[regex]]' -- check by looking for files in library path
4100 # which responds to the $file_magic_cmd with a given extended regex.
4101 # If you have `file' or equivalent on your system and you're not sure
4102 # whether `pass_all' will *always* work, you probably want this one.
4106 lt_cv_deplibs_check_method=pass_all
4110 lt_cv_deplibs_check_method=pass_all
4114 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4115 lt_cv_file_magic_cmd='/usr/bin/file -L'
4116 lt_cv_file_magic_test_file=/shlib/libc.so
4120 # func_win32_libid is a shell function defined in ltmain.sh
4121 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4122 lt_cv_file_magic_cmd='func_win32_libid'
4126 # Base MSYS/MinGW do not provide the 'file' command needed by
4127 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4128 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4129 lt_cv_file_magic_cmd='$OBJDUMP -f'
4132 darwin* | rhapsody*)
4133 lt_cv_deplibs_check_method=pass_all
4136 freebsd* | dragonfly*)
4137 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4140 # Not sure whether the presence of OpenBSD here was a mistake.
4141 # Let's accept both of them until this is cleared up.
4142 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4143 lt_cv_file_magic_cmd=/usr/bin/file
4144 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4148 lt_cv_deplibs_check_method=pass_all
4153 lt_cv_deplibs_check_method=pass_all
4156 hpux10.20* | hpux11*)
4157 lt_cv_file_magic_cmd=/usr/bin/file
4160 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4161 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4164 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]'
4165 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4168 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4169 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4175 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4176 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4179 irix5* | irix6* | nonstopux*)
4181 *-32|*"-32 ") libmagic=32-bit;;
4182 *-n32|*"-n32 ") libmagic=N32;;
4183 *-64|*"-64 ") libmagic=64-bit;;
4184 *) libmagic=never-match;;
4186 lt_cv_deplibs_check_method=pass_all
4189 # This must be Linux ELF.
4190 linux* | k*bsd*-gnu)
4191 lt_cv_deplibs_check_method=pass_all
4194 netbsd* | netbsdelf*-gnu)
4195 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4196 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4198 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4203 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4204 lt_cv_file_magic_cmd=/usr/bin/file
4205 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4209 lt_cv_deplibs_check_method=unknown
4213 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4214 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4216 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4220 osf3* | osf4* | osf5*)
4221 lt_cv_deplibs_check_method=pass_all
4225 lt_cv_deplibs_check_method=pass_all
4229 case $host_vendor in
4231 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]'
4232 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4235 lt_cv_deplibs_check_method=pass_all
4238 lt_cv_file_magic_cmd='/bin/file'
4239 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4242 lt_cv_file_magic_cmd='/bin/file'
4243 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4244 lt_cv_file_magic_test_file=/lib/libc.so
4247 lt_cv_deplibs_check_method=pass_all
4250 lt_cv_deplibs_check_method=pass_all
4255 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4256 lt_cv_deplibs_check_method=pass_all
4261 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4262 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4263 file_magic_cmd=$lt_cv_file_magic_cmd
4264 deplibs_check_method=$lt_cv_deplibs_check_method
4265 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4270 # If no C compiler was specified, use CC.
4273 # If no C compiler flags were specified, use CFLAGS.
4274 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4276 # Allow CC to be a program name with arguments.
4280 # Check whether --enable-libtool-lock was given.
4281 if test "${enable_libtool_lock+set}" = set; then
4282 enableval=$enable_libtool_lock;
4285 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4287 # Some flags need to be propagated to the compiler or linker for good
4291 # Find out which ABI we are using.
4292 echo 'int i;' > conftest.$ac_ext
4293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4294 (eval $ac_compile) 2>&5
4296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4297 (exit $ac_status); }; then
4298 case `/usr/bin/file conftest.$ac_objext` in
4310 # Find out which ABI we are using.
4311 echo '#line 4311 "configure
"' > conftest.$ac_ext
4312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4313 (eval $ac_compile) 2>&5
4315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4316 (exit $ac_status); }; then
4317 if test "$lt_cv_prog_gnu_ld" = yes; then
4318 case `/usr/bin/file conftest.$ac_objext` in
4320 LD="${LD-ld} -melf32bsmip"
4323 LD="${LD-ld} -melf32bmipn32"
4326 LD="${LD-ld} -melf64bmip"
4330 case `/usr/bin/file conftest.$ac_objext` in
4346 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4347 # Find out which ABI we are using.
4348 echo 'int i;' > conftest.$ac_ext
4349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4350 (eval $ac_compile) 2>&5
4352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4353 (exit $ac_status); }; then
4354 case `/usr/bin/file conftest.o` in
4358 LD="${LD-ld} -m elf_i386
"
4360 ppc64-*linux*|powerpc64-*linux*)
4361 LD="${LD-ld} -m elf32ppclinux
"
4364 LD="${LD-ld} -m elf_s390
"
4367 LD="${LD-ld} -m elf32_sparc
"
4374 LD="${LD-ld} -m elf_x86_64
"
4376 ppc*-*linux*|powerpc*-*linux*)
4377 LD="${LD-ld} -m elf64ppc
"
4380 LD="${LD-ld} -m elf64_s390
"
4383 LD="${LD-ld} -m elf64_sparc
"
4393 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4394 SAVE_CFLAGS="$CFLAGS"
4395 CFLAGS="$CFLAGS -belf"
4396 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4397 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
4398 if test "${lt_cv_cc_needs_belf+set}" = set; then
4399 echo $ECHO_N "(cached
) $ECHO_C" >&6
4402 ac_cpp='$CPP $CPPFLAGS'
4403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4407 cat >conftest.$ac_ext <<_ACEOF
4410 cat confdefs.h >>conftest.$ac_ext
4411 cat >>conftest.$ac_ext <<_ACEOF
4412 /* end confdefs.h. */
4422 rm -f conftest.$ac_objext conftest$ac_exeext
4423 if { (ac_try="$ac_link"
4425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4429 (eval "$ac_link") 2>conftest.er1
4431 grep -v '^ *+' conftest.er1 >conftest.err
4433 cat conftest.err >&5
4434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4435 (exit $ac_status); } &&
4436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4437 { (case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_try") 2>&5
4444 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4445 (exit $ac_status); }; } &&
4446 { ac_try='test -s conftest$ac_exeext'
4447 { (case "(($ac_try" in
4448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4449 *) ac_try_echo=$ac_try;;
4451 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4452 (eval "$ac_try") 2>&5
4454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4455 (exit $ac_status); }; }; then
4456 lt_cv_cc_needs_belf=yes
4458 echo "$as_me: failed program was
:" >&5
4459 sed 's/^/| /' conftest.$ac_ext >&5
4461 lt_cv_cc_needs_belf=no
4464 rm -f core conftest.err conftest.$ac_objext \
4465 conftest$ac_exeext conftest.$ac_ext
4467 ac_cpp='$CPP $CPPFLAGS'
4468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4473 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
4474 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4475 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4476 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4477 CFLAGS="$SAVE_CFLAGS"
4481 # Find out which ABI we are using.
4482 echo 'int i;' > conftest.$ac_ext
4483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4484 (eval $ac_compile) 2>&5
4486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4487 (exit $ac_status); }; then
4488 case `/usr/bin/file conftest.o` in
4490 case $lt_cv_prog_gnu_ld in
4491 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
4492 *) LD="${LD-ld} -64" ;;
4503 need_locks="$enable_libtool_lock"
4507 ac_cpp='$CPP $CPPFLAGS'
4508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4511 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
4512 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
4513 # On Suns, sometimes $CPP names a directory.
4514 if test -n "$CPP" && test -d "$CPP"; then
4517 if test -z "$CPP"; then
4518 if test "${ac_cv_prog_CPP+set}" = set; then
4519 echo $ECHO_N "(cached
) $ECHO_C" >&6
4521 # Double quotes because CPP needs to be expanded
4522 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
4525 for ac_c_preproc_warn_flag in '' yes
4527 # Use a header file that comes with gcc, so configuring glibc
4528 # with a fresh cross-compiler works.
4529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4530 # <limits.h> exists even on freestanding compilers.
4531 # On the NeXT, cc -E runs the code through the compiler's parser,
4532 # not just through cpp. "Syntax error
" is here to catch this case.
4533 cat >conftest.$ac_ext <<_ACEOF
4536 cat confdefs.h >>conftest.$ac_ext
4537 cat >>conftest.$ac_ext <<_ACEOF
4538 /* end confdefs.h. */
4540 # include <limits.h>
4542 # include <assert.h>
4546 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4549 *) ac_try_echo=$ac_try;;
4551 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4552 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4554 grep -v '^ *+' conftest.er1 >conftest.err
4556 cat conftest.err >&5
4557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4558 (exit $ac_status); } >/dev/null; then
4559 if test -s conftest.err; then
4560 ac_cpp_err=$ac_c_preproc_warn_flag
4561 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4568 if test -z "$ac_cpp_err"; then
4571 echo "$as_me: failed program was
:" >&5
4572 sed 's/^/| /' conftest.$ac_ext >&5
4574 # Broken: fails on valid input.
4578 rm -f conftest.err conftest.$ac_ext
4580 # OK, works on sane cases. Now check whether nonexistent headers
4581 # can be detected and how.
4582 cat >conftest.$ac_ext <<_ACEOF
4585 cat confdefs.h >>conftest.$ac_ext
4586 cat >>conftest.$ac_ext <<_ACEOF
4587 /* end confdefs.h. */
4588 #include <ac_nonexistent.h>
4590 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593 *) ac_try_echo=$ac_try;;
4595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4596 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4598 grep -v '^ *+' conftest.er1 >conftest.err
4600 cat conftest.err >&5
4601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4602 (exit $ac_status); } >/dev/null; then
4603 if test -s conftest.err; then
4604 ac_cpp_err=$ac_c_preproc_warn_flag
4605 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4612 if test -z "$ac_cpp_err"; then
4613 # Broken: success on invalid input.
4616 echo "$as_me: failed program was
:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 # Passes both tests.
4624 rm -f conftest.err conftest.$ac_ext
4627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4628 rm -f conftest.err conftest.$ac_ext
4629 if $ac_preproc_ok; then
4641 { echo "$as_me:$LINENO: result
: $CPP" >&5
4642 echo "${ECHO_T}$CPP" >&6; }
4644 for ac_c_preproc_warn_flag in '' yes
4646 # Use a header file that comes with gcc, so configuring glibc
4647 # with a fresh cross-compiler works.
4648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4649 # <limits.h> exists even on freestanding compilers.
4650 # On the NeXT, cc -E runs the code through the compiler's parser,
4651 # not just through cpp. "Syntax error
" is here to catch this case.
4652 cat >conftest.$ac_ext <<_ACEOF
4655 cat confdefs.h >>conftest.$ac_ext
4656 cat >>conftest.$ac_ext <<_ACEOF
4657 /* end confdefs.h. */
4659 # include <limits.h>
4661 # include <assert.h>
4665 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4670 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4673 grep -v '^ *+' conftest.er1 >conftest.err
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4677 (exit $ac_status); } >/dev/null; then
4678 if test -s conftest.err; then
4679 ac_cpp_err=$ac_c_preproc_warn_flag
4680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4687 if test -z "$ac_cpp_err"; then
4690 echo "$as_me: failed program was
:" >&5
4691 sed 's/^/| /' conftest.$ac_ext >&5
4693 # Broken: fails on valid input.
4697 rm -f conftest.err conftest.$ac_ext
4699 # OK, works on sane cases. Now check whether nonexistent headers
4700 # can be detected and how.
4701 cat >conftest.$ac_ext <<_ACEOF
4704 cat confdefs.h >>conftest.$ac_ext
4705 cat >>conftest.$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4707 #include <ac_nonexistent.h>
4709 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4712 *) ac_try_echo=$ac_try;;
4714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&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 # Broken: success on invalid input.
4735 echo "$as_me: failed program was
:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4738 # Passes both tests.
4743 rm -f conftest.err conftest.$ac_ext
4746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4747 rm -f conftest.err conftest.$ac_ext
4748 if $ac_preproc_ok; then
4751 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
4752 See \
`config.log' for more details." >&5
4753 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4754 See \`config.log
' for more details." >&2;}
4755 { (exit 1); exit 1; }; }
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4761 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4765 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4766 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4767 if test "${ac_cv_header_stdc+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 cat >conftest.$ac_ext <<_ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4789 rm -f conftest.$ac_objext
4790 if { (ac_try="$ac_compile"
4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4796 (eval "$ac_compile") 2>conftest.er1
4798 grep -v '^
*+' conftest.er1 >conftest.err
4800 cat conftest.err >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } &&
4803 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
4804 { (case "(($ac_try" in
4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4806 *) ac_try_echo=$ac_try;;
4808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4809 (eval "$ac_try") 2>&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; } &&
4813 { ac_try='test -s conftest.
$ac_objext'
4814 { (case "(($ac_try" in
4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816 *) ac_try_echo=$ac_try;;
4818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4819 (eval "$ac_try") 2>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; }; then
4823 ac_cv_header_stdc=yes
4825 echo "$as_me: failed program was:" >&5
4826 sed 's
/^
/|
/' conftest.$ac_ext >&5
4828 ac_cv_header_stdc=no
4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 if test $ac_cv_header_stdc = yes; then
4834 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4835 cat >conftest.$ac_ext <<_ACEOF
4838 cat confdefs.h >>conftest.$ac_ext
4839 cat >>conftest.$ac_ext <<_ACEOF
4840 /* end confdefs.h. */
4844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4845 $EGREP "memchr" >/dev/null 2>&1; then
4848 ac_cv_header_stdc=no
4854 if test $ac_cv_header_stdc = yes; then
4855 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4856 cat >conftest.$ac_ext <<_ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4866 $EGREP "free" >/dev/null 2>&1; then
4869 ac_cv_header_stdc=no
4875 if test $ac_cv_header_stdc = yes; then
4876 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4877 if test "$cross_compiling" = yes; then
4880 cat >conftest.$ac_ext <<_ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4888 #if ((' ' & 0x0FF) == 0x020)
4889 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
4890 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
4892 # define ISLOWER(c) \
4893 (('a
' <= (c) && (c) <= 'i
') \
4894 || ('j
' <= (c) && (c) <= 'r
') \
4895 || ('s
' <= (c) && (c) <= 'z
'))
4896 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4899 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4904 for (i = 0; i < 256; i++)
4905 if (XOR (islower (i), ISLOWER (i))
4906 || toupper (i) != TOUPPER (i))
4911 rm -f conftest$ac_exeext
4912 if { (ac_try="$ac_link"
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_link") 2>&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
4922 { (case "(($ac_try" in
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927 (eval "$ac_try") 2>&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; }; then
4933 echo "$as_me: program exited with status $ac_status" >&5
4934 echo "$as_me: failed program was:" >&5
4935 sed 's
/^
/|
/' conftest.$ac_ext >&5
4938 ac_cv_header_stdc=no
4940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4946 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4947 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4948 if test $ac_cv_header_stdc = yes; then
4950 cat >>confdefs.h <<\_ACEOF
4951 #define STDC_HEADERS 1
4956 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4966 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4967 inttypes.h stdint.h unistd.h
4969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4970 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+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. */
4981 $ac_includes_default
4983 #include <$ac_header>
4985 rm -f conftest.$ac_objext
4986 if { (ac_try="$ac_compile"
4988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989 *) ac_try_echo=$ac_try;;
4991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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_c_werror_flag" ||
test ! -s conftest.err
'
5000 { (case "(($ac_try" in
5001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5002 *) ac_try_echo=$ac_try;;
5004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5005 (eval "$ac_try") 2>&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); }; } &&
5009 { ac_try='test -s conftest.
$ac_objext'
5010 { (case "(($ac_try" in
5011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012 *) ac_try_echo=$ac_try;;
5014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5015 (eval "$ac_try") 2>&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; }; then
5019 eval "$as_ac_Header=yes"
5021 echo "$as_me: failed program was:" >&5
5022 sed 's
/^
/|
/' conftest.$ac_ext >&5
5024 eval "$as_ac_Header=no"
5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5029 ac_res=`eval echo '${'$as_ac_Header'}'`
5030 { echo "$as_me:$LINENO: result: $ac_res" >&5
5031 echo "${ECHO_T}$ac_res" >&6; }
5032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5033 cat >>confdefs.h <<_ACEOF
5034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5043 for ac_header in dlfcn.h
5045 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 ac_res=`eval echo '${'$as_ac_Header'}'`
5053 { echo "$as_me:$LINENO: result: $ac_res" >&5
5054 echo "${ECHO_T}$ac_res" >&6; }
5056 # Is the header compilable?
5057 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5058 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5059 cat >conftest.$ac_ext <<_ACEOF
5062 cat confdefs.h >>conftest.$ac_ext
5063 cat >>conftest.$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5065 $ac_includes_default
5066 #include <$ac_header>
5068 rm -f conftest.$ac_objext
5069 if { (ac_try="$ac_compile"
5071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5072 *) ac_try_echo=$ac_try;;
5074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_compile") 2>conftest.er1
5077 grep -v '^
*+' conftest.er1 >conftest.err
5079 cat conftest.err >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } &&
5082 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
5083 { (case "(($ac_try" in
5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5088 (eval "$ac_try") 2>&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); }; } &&
5092 { ac_try='test -s conftest.
$ac_objext'
5093 { (case "(($ac_try" in
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_try") 2>&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); }; }; then
5102 ac_header_compiler=yes
5104 echo "$as_me: failed program was:" >&5
5105 sed 's
/^
/|
/' conftest.$ac_ext >&5
5107 ac_header_compiler=no
5110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5111 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5112 echo "${ECHO_T}$ac_header_compiler" >&6; }
5114 # Is the header present?
5115 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5117 cat >conftest.$ac_ext <<_ACEOF
5120 cat confdefs.h >>conftest.$ac_ext
5121 cat >>conftest.$ac_ext <<_ACEOF
5122 /* end confdefs.h. */
5123 #include <$ac_header>
5125 if { (ac_try="$ac_cpp conftest.$ac_ext"
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5133 grep -v '^
*+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } >/dev/null; then
5138 if test -s conftest.err; then
5139 ac_cpp_err=$ac_c_preproc_warn_flag
5140 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5147 if test -z "$ac_cpp_err"; then
5148 ac_header_preproc=yes
5150 echo "$as_me: failed program was:" >&5
5151 sed 's
/^
/|
/' conftest.$ac_ext >&5
5153 ac_header_preproc=no
5156 rm -f conftest.err conftest.$ac_ext
5157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5158 echo "${ECHO_T}$ac_header_preproc" >&6; }
5160 # So? What about this header?
5161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5166 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5167 ac_header_preproc=yes
5170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5179 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5183 ## --------------------------------- ##
5184 ## Report this to BUG-REPORT-ADDRESS ##
5185 ## --------------------------------- ##
5187 ) | sed "s/^/$as_me: WARNING: /" >&2
5190 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 eval "$as_ac_Header=\$ac_header_preproc"
5197 ac_res=`eval echo '${'$as_ac_Header'}'`
5198 { echo "$as_me:$LINENO: result: $ac_res" >&5
5199 echo "${ECHO_T}$ac_res" >&6; }
5202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5203 cat >>confdefs.h <<_ACEOF
5204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5212 ac_cpp='$CXXCPP $CPPFLAGS'
5213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5214 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5216 if test -z "$CXX"; then
5217 if test -n "$CCC"; then
5220 if test -n "$ac_tool_prefix"; then
5221 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5227 if test "${ac_cv_prog_CXX+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 if test -n "$CXX"; then
5231 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 if test -n "$CXX"; then
5252 { echo "$as_me:$LINENO: result: $CXX" >&5
5253 echo "${ECHO_T}$CXX" >&6; }
5255 { echo "$as_me:$LINENO: result: no" >&5
5256 echo "${ECHO_T}no" >&6; }
5260 test -n "$CXX" && break
5263 if test -z "$CXX"; then
5265 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5267 # Extract the first word of "$ac_prog", so it can be a program name with args.
5268 set dummy $ac_prog; ac_word=$2
5269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5271 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5272 echo $ECHO_N "(cached) $ECHO_C" >&6
5274 if test -n "$ac_ct_CXX"; then
5275 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5284 ac_cv_prog_ac_ct_CXX="$ac_prog"
5285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5295 if test -n "$ac_ct_CXX"; then
5296 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5297 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5299 { echo "$as_me:$LINENO: result: no" >&5
5300 echo "${ECHO_T}no" >&6; }
5304 test -n "$ac_ct_CXX" && break
5307 if test "x$ac_ct_CXX" = x; then
5310 case $cross_compiling:$ac_tool_warned in
5312 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5313 whose name does not start with the host triplet. If you think this
5314 configuration is useful to you, please write to autoconf@gnu.org." >&5
5315 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5316 whose name does not start with the host triplet. If you think this
5317 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5318 ac_tool_warned=yes ;;
5326 # Provide some information about the compiler.
5327 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5328 ac_compiler=`set X $ac_compile; echo $2`
5329 { (ac_try="$ac_compiler --version >&5"
5331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5332 *) ac_try_echo=$ac_try;;
5334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5335 (eval "$ac_compiler --version >&5") 2>&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }
5339 { (ac_try="$ac_compiler -v >&5"
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5345 (eval "$ac_compiler -v >&5") 2>&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }
5349 { (ac_try="$ac_compiler -V >&5"
5351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5352 *) ac_try_echo=$ac_try;;
5354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5355 (eval "$ac_compiler -V >&5") 2>&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); }
5360 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5361 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5362 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5363 echo $ECHO_N "(cached) $ECHO_C" >&6
5365 cat >conftest.$ac_ext <<_ACEOF
5368 cat confdefs.h >>conftest.$ac_ext
5369 cat >>conftest.$ac_ext <<_ACEOF
5370 /* end confdefs.h. */
5383 rm -f conftest.$ac_objext
5384 if { (ac_try="$ac_compile"
5386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5387 *) ac_try_echo=$ac_try;;
5389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5390 (eval "$ac_compile") 2>conftest.er1
5392 grep -v '^
*+' conftest.er1 >conftest.err
5394 cat conftest.err >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
5398 { (case "(($ac_try" in
5399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5400 *) ac_try_echo=$ac_try;;
5402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5403 (eval "$ac_try") 2>&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }; } &&
5407 { ac_try='test -s conftest.
$ac_objext'
5408 { (case "(($ac_try" in
5409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5410 *) ac_try_echo=$ac_try;;
5412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5413 (eval "$ac_try") 2>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }; }; then
5419 echo "$as_me: failed program was:" >&5
5420 sed 's
/^
/|
/' conftest.$ac_ext >&5
5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5426 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5429 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5430 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5431 GXX=`test $ac_compiler_gnu = yes && echo yes`
5432 ac_test_CXXFLAGS=${CXXFLAGS+set}
5433 ac_save_CXXFLAGS=$CXXFLAGS
5434 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5435 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_cxx_g+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5440 ac_cxx_werror_flag=yes
5443 cat >conftest.$ac_ext <<_ACEOF
5446 cat confdefs.h >>conftest.$ac_ext
5447 cat >>conftest.$ac_ext <<_ACEOF
5448 /* end confdefs.h. */
5458 rm -f conftest.$ac_objext
5459 if { (ac_try="$ac_compile"
5461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5462 *) ac_try_echo=$ac_try;;
5464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5465 (eval "$ac_compile") 2>conftest.er1
5467 grep -v '^
*+' conftest.er1 >conftest.err
5469 cat conftest.err >&5
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); } &&
5472 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
5473 { (case "(($ac_try" in
5474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5475 *) ac_try_echo=$ac_try;;
5477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5478 (eval "$ac_try") 2>&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; } &&
5482 { ac_try='test -s conftest.
$ac_objext'
5483 { (case "(($ac_try" in
5484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5485 *) ac_try_echo=$ac_try;;
5487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5488 (eval "$ac_try") 2>&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); }; }; then
5492 ac_cv_prog_cxx_g=yes
5494 echo "$as_me: failed program was:" >&5
5495 sed 's
/^
/|
/' conftest.$ac_ext >&5
5498 cat >conftest.$ac_ext <<_ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5513 rm -f conftest.$ac_objext
5514 if { (ac_try="$ac_compile"
5516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5517 *) ac_try_echo=$ac_try;;
5519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5520 (eval "$ac_compile") 2>conftest.er1
5522 grep -v '^
*+' conftest.er1 >conftest.err
5524 cat conftest.err >&5
5525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); } &&
5527 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
5528 { (case "(($ac_try" in
5529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5530 *) ac_try_echo=$ac_try;;
5532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5533 (eval "$ac_try") 2>&5
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); }; } &&
5537 { ac_try='test -s conftest.
$ac_objext'
5538 { (case "(($ac_try" in
5539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5540 *) ac_try_echo=$ac_try;;
5542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5543 (eval "$ac_try") 2>&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); }; }; then
5549 echo "$as_me: failed program was:" >&5
5550 sed 's
/^
/|
/' conftest.$ac_ext >&5
5552 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5554 cat >conftest.$ac_ext <<_ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5569 rm -f conftest.$ac_objext
5570 if { (ac_try="$ac_compile"
5572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5573 *) ac_try_echo=$ac_try;;
5575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5576 (eval "$ac_compile") 2>conftest.er1
5578 grep -v '^
*+' conftest.er1 >conftest.err
5580 cat conftest.err >&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); } &&
5583 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
5584 { (case "(($ac_try" in
5585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5586 *) ac_try_echo=$ac_try;;
5588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589 (eval "$ac_try") 2>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); }; } &&
5593 { ac_try='test -s conftest.
$ac_objext'
5594 { (case "(($ac_try" in
5595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5596 *) ac_try_echo=$ac_try;;
5598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5599 (eval "$ac_try") 2>&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); }; }; then
5603 ac_cv_prog_cxx_g=yes
5605 echo "$as_me: failed program was:" >&5
5606 sed 's
/^
/|
/' conftest.$ac_ext >&5
5611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5618 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5620 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5621 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5622 if test "$ac_test_CXXFLAGS" = set; then
5623 CXXFLAGS=$ac_save_CXXFLAGS
5624 elif test $ac_cv_prog_cxx_g = yes; then
5625 if test "$GXX" = yes; then
5631 if test "$GXX" = yes; then
5638 ac_cpp='$CXXCPP $CPPFLAGS'
5639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5640 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5643 depcc="$CXX" am_compiler_list=
5645 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5646 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5647 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5651 # We make a subdir and do the tests there. Otherwise we can end up
5652 # making bogus files that we don't know about and never remove. For
5653 # instance it was reported that on HP-UX the gcc test will end up
5654 # making a dummy file named `D' -- because `-MD' means `put the output
5657 # Copy depcomp to subdir because otherwise we won't find it if we're
5658 # using a relative directory.
5659 cp "$am_depcomp" conftest.dir
5661 # We will build objects and dependencies in a subdirectory because
5662 # it helps to detect inapplicable dependency modes. For instance
5663 # both Tru64's cc and ICC support -MD to output dependencies as a
5664 # side effect of compilation, but ICC will put the dependencies in
5665 # the current directory while Tru64 will put them in the object
5669 am_cv_CXX_dependencies_compiler_type
=none
5670 if test "$am_compiler_list" = ""; then
5671 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5673 for depmode
in $am_compiler_list; do
5674 # Setup a source with many dependencies, because some compilers
5675 # like to wrap large dependency lists on column 80 (with \), and
5676 # we should not choose a depcomp mode which is confused by this.
5678 # We need to recreate these files for each test, as the compiler may
5679 # overwrite some of them when testing with obscure command lines.
5680 # This happens at least with the AIX C compiler.
5682 for i
in 1 2 3 4 5 6; do
5683 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5686 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5690 # after this tag, mechanisms are not by side-effect, so they'll
5691 # only be used when explicitly requested
5692 if test "x$enable_dependency_tracking" = xyes
; then
5700 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5701 # mode. It turns out that the SunPro C++ compiler does not properly
5702 # handle `-M -o', and we need to detect this.
5703 if depmode
=$depmode \
5704 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5705 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5706 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5707 >/dev
/null
2>conftest.err
&&
5708 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5709 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5710 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5711 # icc doesn't choke on unknown options, it will just issue warnings
5712 # (even with -Werror). So we grep stderr for any message
5713 # that says an option was ignored.
5714 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
5715 am_cv_CXX_dependencies_compiler_type
=$depmode
5724 am_cv_CXX_dependencies_compiler_type
=none
5728 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5729 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5730 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5735 test "x$enable_dependency_tracking" != xno \
5736 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5737 am__fastdepCXX_TRUE
=
5738 am__fastdepCXX_FALSE
='#'
5740 am__fastdepCXX_TRUE
='#'
5741 am__fastdepCXX_FALSE
=
5747 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5748 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5749 (test "X$CXX" != "Xg++"))) ; then
5751 ac_cpp
='$CXXCPP $CPPFLAGS'
5752 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5753 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5754 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5755 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5756 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5757 if test -z "$CXXCPP"; then
5758 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 # Double quotes because CXXCPP needs to be expanded
5762 for CXXCPP
in "$CXX -E" "/lib/cpp"
5765 for ac_cxx_preproc_warn_flag
in '' yes
5767 # Use a header file that comes with gcc, so configuring glibc
5768 # with a fresh cross-compiler works.
5769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5770 # <limits.h> exists even on freestanding compilers.
5771 # On the NeXT, cc -E runs the code through the compiler's parser,
5772 # not just through cpp. "Syntax error" is here to catch this case.
5773 cat >conftest.
$ac_ext <<_ACEOF
5776 cat confdefs.h
>>conftest.
$ac_ext
5777 cat >>conftest.
$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5780 # include <limits.h>
5782 # include <assert.h>
5786 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5789 *) ac_try_echo=$ac_try;;
5791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5794 grep -v '^ *+' conftest.er1 >conftest.err
5796 cat conftest.err >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); } >/dev/null; then
5799 if test -s conftest.err; then
5800 ac_cpp_err=$ac_cxx_preproc_warn_flag
5801 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5808 if test -z "$ac_cpp_err"; then
5811 echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.$ac_ext >&5
5814 # Broken: fails on valid input.
5818 rm -f conftest.err conftest.$ac_ext
5820 # OK, works on sane cases. Now check whether nonexistent headers
5821 # can be detected and how.
5822 cat >conftest.$ac_ext <<_ACEOF
5825 cat confdefs.h >>conftest.$ac_ext
5826 cat >>conftest.$ac_ext <<_ACEOF
5827 /* end confdefs.h. */
5828 #include <ac_nonexistent.h>
5830 if { (ac_try="$ac_cpp conftest.$ac_ext"
5832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5833 *) ac_try_echo
=$ac_try;;
5835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5838 grep -v '^ *+' conftest.er1
>conftest.err
5840 cat conftest.err
>&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } >/dev
/null
; then
5843 if test -s conftest.err
; then
5844 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5845 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5852 if test -z "$ac_cpp_err"; then
5853 # Broken: success on invalid input.
5856 echo "$as_me: failed program was:" >&5
5857 sed 's/^/| /' conftest.
$ac_ext >&5
5859 # Passes both tests.
5864 rm -f conftest.err conftest.
$ac_ext
5867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5868 rm -f conftest.err conftest.
$ac_ext
5869 if $ac_preproc_ok; then
5874 ac_cv_prog_CXXCPP
=$CXXCPP
5877 CXXCPP
=$ac_cv_prog_CXXCPP
5879 ac_cv_prog_CXXCPP
=$CXXCPP
5881 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5882 echo "${ECHO_T}$CXXCPP" >&6; }
5884 for ac_cxx_preproc_warn_flag
in '' yes
5886 # Use a header file that comes with gcc, so configuring glibc
5887 # with a fresh cross-compiler works.
5888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5889 # <limits.h> exists even on freestanding compilers.
5890 # On the NeXT, cc -E runs the code through the compiler's parser,
5891 # not just through cpp. "Syntax error" is here to catch this case.
5892 cat >conftest.
$ac_ext <<_ACEOF
5895 cat confdefs.h
>>conftest.
$ac_ext
5896 cat >>conftest.
$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5899 # include <limits.h>
5901 # include <assert.h>
5905 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5908 *) ac_try_echo=$ac_try;;
5910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5911 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5913 grep -v '^ *+' conftest.er1 >conftest.err
5915 cat conftest.err >&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); } >/dev/null; then
5918 if test -s conftest.err; then
5919 ac_cpp_err=$ac_cxx_preproc_warn_flag
5920 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5927 if test -z "$ac_cpp_err"; then
5930 echo "$as_me: failed program was:" >&5
5931 sed 's/^/| /' conftest.$ac_ext >&5
5933 # Broken: fails on valid input.
5937 rm -f conftest.err conftest.$ac_ext
5939 # OK, works on sane cases. Now check whether nonexistent headers
5940 # can be detected and how.
5941 cat >conftest.$ac_ext <<_ACEOF
5944 cat confdefs.h >>conftest.$ac_ext
5945 cat >>conftest.$ac_ext <<_ACEOF
5946 /* end confdefs.h. */
5947 #include <ac_nonexistent.h>
5949 if { (ac_try="$ac_cpp conftest.$ac_ext"
5951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5952 *) ac_try_echo
=$ac_try;;
5954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5957 grep -v '^ *+' conftest.er1
>conftest.err
5959 cat conftest.err
>&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); } >/dev
/null
; then
5962 if test -s conftest.err
; then
5963 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5964 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5971 if test -z "$ac_cpp_err"; then
5972 # Broken: success on invalid input.
5975 echo "$as_me: failed program was:" >&5
5976 sed 's/^/| /' conftest.
$ac_ext >&5
5978 # Passes both tests.
5983 rm -f conftest.err conftest.
$ac_ext
5986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5987 rm -f conftest.err conftest.
$ac_ext
5988 if $ac_preproc_ok; then
5991 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5992 See \`config.log' for more details." >&5
5993 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5994 See \`config.log' for more details." >&2;}
5995 { (exit 1); exit 1; }; }
5999 ac_cpp
='$CXXCPP $CPPFLAGS'
6000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6008 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6009 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6010 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6011 if test -n "$ac_tool_prefix"; then
6012 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6014 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6015 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6018 if test "${ac_cv_prog_F77+set}" = set; then
6019 echo $ECHO_N "(cached) $ECHO_C" >&6
6021 if test -n "$F77"; then
6022 ac_cv_prog_F77
="$F77" # Let the user override the test.
6024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6028 test -z "$as_dir" && as_dir
=.
6029 for ac_exec_ext
in '' $ac_executable_extensions; do
6030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6042 if test -n "$F77"; then
6043 { echo "$as_me:$LINENO: result: $F77" >&5
6044 echo "${ECHO_T}$F77" >&6; }
6046 { echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6; }
6051 test -n "$F77" && break
6054 if test -z "$F77"; then
6056 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6058 # Extract the first word of "$ac_prog", so it can be a program name with args.
6059 set dummy
$ac_prog; ac_word
=$2
6060 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6062 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6063 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 if test -n "$ac_ct_F77"; then
6066 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir
=.
6073 for ac_exec_ext
in '' $ac_executable_extensions; do
6074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6075 ac_cv_prog_ac_ct_F77
="$ac_prog"
6076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6086 if test -n "$ac_ct_F77"; then
6087 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6088 echo "${ECHO_T}$ac_ct_F77" >&6; }
6090 { echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6; }
6095 test -n "$ac_ct_F77" && break
6098 if test "x$ac_ct_F77" = x
; then
6101 case $cross_compiling:$ac_tool_warned in
6103 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6104 whose name does not start with the host triplet. If you think this
6105 configuration is useful to you, please write to autoconf@gnu.org." >&5
6106 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6107 whose name does not start with the host triplet. If you think this
6108 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6109 ac_tool_warned
=yes ;;
6116 # Provide some information about the compiler.
6117 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6118 ac_compiler
=`set X $ac_compile; echo $2`
6119 { (ac_try
="$ac_compiler --version >&5"
6121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6122 *) ac_try_echo=$ac_try;;
6124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6125 (eval "$ac_compiler --version >&5") 2>&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }
6129 { (ac_try="$ac_compiler -v >&5"
6131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6132 *) ac_try_echo
=$ac_try;;
6134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6135 (eval "$ac_compiler -v >&5") 2>&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); }
6139 { (ac_try
="$ac_compiler -V >&5"
6141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6142 *) ac_try_echo=$ac_try;;
6144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145 (eval "$ac_compiler -V >&5") 2>&5
6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 (exit $ac_status); }
6151 # If we don't use `.F
' as extension, the preprocessor is not run on the
6152 # input file. (Note that this only needs to work for GNU compilers.)
6155 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6156 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6157 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 cat >conftest.$ac_ext <<_ACEOF
6168 rm -f conftest.$ac_objext
6169 if { (ac_try="$ac_compile"
6171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6172 *) ac_try_echo=$ac_try;;
6174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6175 (eval "$ac_compile") 2>conftest.er1
6177 grep -v '^
*+' conftest.er1 >conftest.err
6179 cat conftest.err >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); } &&
6182 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
6183 { (case "(($ac_try" in
6184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6185 *) ac_try_echo=$ac_try;;
6187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6188 (eval "$ac_try") 2>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); }; } &&
6192 { ac_try='test -s conftest.
$ac_objext'
6193 { (case "(($ac_try" in
6194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6195 *) ac_try_echo=$ac_try;;
6197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6198 (eval "$ac_try") 2>&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; }; then
6204 echo "$as_me: failed program was:" >&5
6205 sed 's
/^
/|
/' conftest.$ac_ext >&5
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6214 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6215 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6217 ac_test_FFLAGS=${FFLAGS+set}
6218 ac_save_FFLAGS=$FFLAGS
6220 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6221 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6222 if test "${ac_cv_prog_f77_g+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 cat >conftest.$ac_ext <<_ACEOF
6231 rm -f conftest.$ac_objext
6232 if { (ac_try="$ac_compile"
6234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6235 *) ac_try_echo=$ac_try;;
6237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6238 (eval "$ac_compile") 2>conftest.er1
6240 grep -v '^
*+' conftest.er1 >conftest.err
6242 cat conftest.err >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); } &&
6245 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
6246 { (case "(($ac_try" in
6247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6248 *) ac_try_echo=$ac_try;;
6250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6251 (eval "$ac_try") 2>&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); }; } &&
6255 { ac_try='test -s conftest.
$ac_objext'
6256 { (case "(($ac_try" in
6257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6258 *) ac_try_echo=$ac_try;;
6260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6261 (eval "$ac_try") 2>&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); }; }; then
6265 ac_cv_prog_f77_g=yes
6267 echo "$as_me: failed program was:" >&5
6268 sed 's
/^
/|
/' conftest.$ac_ext >&5
6273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6276 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6277 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6278 if test "$ac_test_FFLAGS" = set; then
6279 FFLAGS=$ac_save_FFLAGS
6280 elif test $ac_cv_prog_f77_g = yes; then
6281 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6287 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6294 G77=`test $ac_compiler_gnu = yes && echo yes`
6296 ac_cpp='$CPP $CPPFLAGS'
6297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6298 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6303 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6305 # find the maximum length of command line arguments
6306 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6307 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6308 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6309 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 # On DJGPP, this test can blow up pretty badly due to problems in libc
6317 # (any single argument exceeding 2000 bytes causes a buffer overrun
6318 # during glob expansion). Even if it were fixed, the result of this
6319 # check would be larger than it should be.
6320 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6324 # Under GNU Hurd, this test is not required because there is
6325 # no limit to the length of command line arguments.
6326 # Libtool will interpret -1 as no limit whatsoever
6327 lt_cv_sys_max_cmd_len
=-1;
6331 # On Win9x/ME, this test blows up -- it succeeds, but takes
6332 # about 5 minutes as the teststring grows exponentially.
6333 # Worse, since 9x/ME are not pre-emptively multitasking,
6334 # you end up with a "frozen" computer, even though with patience
6335 # the test eventually succeeds (with a max line length of 256k).
6336 # Instead, let's just punt: use the minimum linelength reported by
6337 # all of the supported platforms: 8192 (on NT/2K/XP).
6338 lt_cv_sys_max_cmd_len
=8192;
6342 # On AmigaOS with pdksh, this test takes hours, literally.
6343 # So we just punt and use a minimum line length of 8192.
6344 lt_cv_sys_max_cmd_len
=8192;
6347 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6348 # This has been around since 386BSD, at least. Likely further.
6349 if test -x /sbin
/sysctl
; then
6350 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6351 elif test -x /usr
/sbin
/sysctl
; then
6352 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6354 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6356 # And add a safety zone
6357 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6358 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6362 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6363 lt_cv_sys_max_cmd_len
=196608
6367 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6368 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6369 # nice to cause kernel panics so lets avoid the loop below.
6370 # First set a reasonable default.
6371 lt_cv_sys_max_cmd_len
=16384
6373 if test -x /sbin
/sysconfig
; then
6374 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6375 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6380 lt_cv_sys_max_cmd_len
=102400
6382 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6383 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6384 if test -n "$kargmax"; then
6385 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6387 lt_cv_sys_max_cmd_len
=32768
6391 # If test is not a shell built-in, we'll probably end up computing a
6392 # maximum length that is only half of the actual maximum length, but
6394 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6395 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6396 = "XX$teststring") >/dev
/null
2>&1 &&
6397 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6398 lt_cv_sys_max_cmd_len
=$new_result &&
6399 test $i != 17 # 1/2 MB should be enough
6402 teststring
=$teststring$teststring
6405 # Add a significant safety factor because C++ compilers can tack on massive
6406 # amounts of additional arguments before passing them to the linker.
6407 # It appears as though 1/2 is a usable value.
6408 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6414 if test -n $lt_cv_sys_max_cmd_len ; then
6415 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6416 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6418 { echo "$as_me:$LINENO: result: none" >&5
6419 echo "${ECHO_T}none" >&6; }
6425 # Check for command to grab the raw symbol name followed by C symbol from nm.
6426 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6427 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6428 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6432 # These are sane defaults that work on at least a few old systems.
6433 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6435 # Character class describing NM global symbol codes.
6436 symcode
='[BCDEGRST]'
6438 # Regexp to match symbols that can be accessed directly from C.
6439 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6441 # Transform an extracted symbol line into a proper C declaration
6442 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6444 # Transform an extracted symbol line into symbol name and symbol address
6445 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'"
6447 # Define system-specific variables.
6452 cygwin
* | mingw
* | pw32
*)
6453 symcode
='[ABCDGISTW]'
6455 hpux
*) # Its linker distinguishes data from code symbols
6456 if test "$host_cpu" = ia64
; then
6457 symcode
='[ABCDEGRST]'
6459 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6460 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'"
6462 linux
* | k
*bsd
*-gnu)
6463 if test "$host_cpu" = ia64
; then
6464 symcode
='[ABCDGIRSTW]'
6465 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6466 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'"
6470 symcode
='[BCDEGRST]'
6473 symcode
='[BCDEGQRST]'
6484 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6492 # Handle CRLF in mingw tool chain
6496 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6500 # If we're using GNU nm, then use its standard symbol codes.
6501 case `$NM -V 2>&1` in
6502 *GNU
* |
*'with BFD'*)
6503 symcode
='[ABCDGIRSTW]' ;;
6506 # Try without a prefix undercore, then with it.
6507 for ac_symprfx
in "" "_"; do
6509 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6510 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6512 # Write the raw and C identifiers.
6513 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6515 # Check to see that the pipe works correctly.
6519 cat > conftest.
$ac_ext <<EOF
6524 void nm_test_func(){}
6528 int main(){nm_test_var='a';nm_test_func();return(0);}
6531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6532 (eval $ac_compile) 2>&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; then
6536 # Now try to grab the symbols.
6538 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6539 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); } && test -s "$nlist"; then
6543 # Try sorting and uniquifying the output.
6544 if sort "$nlist" |
uniq > "$nlist"T
; then
6545 mv -f "$nlist"T
"$nlist"
6550 # Make sure that we snagged all the symbols we need.
6551 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6552 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6553 cat <<EOF > conftest.$ac_ext
6559 # Now generate the symbol file.
6560 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6562 cat <<EOF >> conftest.$ac_ext
6563 #if defined (__STDC__) && __STDC__
6564 # define lt_ptr_t void *
6566 # define lt_ptr_t char *
6570 /* The mapping between symbol names and symbols. */
6575 lt_preloaded_symbols[] =
6578 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6579 cat <<\EOF
>> conftest.
$ac_ext
6587 # Now try linking the two files.
6588 mv conftest.
$ac_objext conftstm.
$ac_objext
6589 lt_save_LIBS
="$LIBS"
6590 lt_save_CFLAGS
="$CFLAGS"
6591 LIBS
="conftstm.$ac_objext"
6592 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6594 (eval $ac_link) 2>&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6600 LIBS
="$lt_save_LIBS"
6601 CFLAGS
="$lt_save_CFLAGS"
6603 echo "cannot find nm_test_func in $nlist" >&5
6606 echo "cannot find nm_test_var in $nlist" >&5
6609 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6612 echo "$progname: failed program was:" >&5
6613 cat conftest.
$ac_ext >&5
6615 rm -f conftest
* conftst
*
6617 # Do not use the global_symbol_pipe unless it works.
6618 if test "$pipe_works" = yes; then
6621 lt_cv_sys_global_symbol_pipe
=
6627 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6628 lt_cv_sys_global_symbol_to_cdecl
=
6630 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6631 { echo "$as_me:$LINENO: result: failed" >&5
6632 echo "${ECHO_T}failed" >&6; }
6634 { echo "$as_me:$LINENO: result: ok" >&5
6635 echo "${ECHO_T}ok" >&6; }
6638 { echo "$as_me:$LINENO: checking for objdir" >&5
6639 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6640 if test "${lt_cv_objdir+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6643 rm -f .libs
2>/dev
/null
6644 mkdir .libs
2>/dev
/null
6645 if test -d .libs
; then
6648 # MS-DOS does not allow filenames that begin with a dot.
6651 rmdir .libs
2>/dev
/null
6653 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6654 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6655 objdir
=$lt_cv_objdir
6663 # AIX sometimes has problems with the GCC collect2 program. For some
6664 # reason, if we set the COLLECT_NAMES environment variable, the problems
6665 # vanish in a puff of smoke.
6666 if test "X${COLLECT_NAMES+set}" != Xset
; then
6668 export COLLECT_NAMES
6673 # Sed substitution that helps us do robust quoting. It backslashifies
6674 # metacharacters that are still active within double-quoted strings.
6675 Xsed
='sed -e 1s/^X//'
6676 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6678 # Same as above, but do not quote variable references.
6679 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6681 # Sed substitution to delay expansion of an escaped shell variable in a
6682 # double_quote_subst'ed string.
6683 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6685 # Sed substitution to avoid accidental globbing in evaled expressions
6686 no_glob_subst
='s/\*/\\\*/g'
6692 default_ofile
=libtool
6693 can_build_shared
=yes
6695 # All known linkers require a `.a' archive for static linking (except MSVC,
6696 # which needs '.lib').
6698 ltmain
="$ac_aux_dir/ltmain.sh"
6699 ofile
="$default_ofile"
6700 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6702 if test -n "$ac_tool_prefix"; then
6703 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6704 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6707 if test "${ac_cv_prog_AR+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 if test -n "$AR"; then
6711 ac_cv_prog_AR
="$AR" # Let the user override the test.
6713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir
=.
6718 for ac_exec_ext
in '' $ac_executable_extensions; do
6719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6720 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6731 if test -n "$AR"; then
6732 { echo "$as_me:$LINENO: result: $AR" >&5
6733 echo "${ECHO_T}$AR" >&6; }
6735 { echo "$as_me:$LINENO: result: no" >&5
6736 echo "${ECHO_T}no" >&6; }
6741 if test -z "$ac_cv_prog_AR"; then
6743 # Extract the first word of "ar", so it can be a program name with args.
6744 set dummy
ar; ac_word
=$2
6745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6747 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6748 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 if test -n "$ac_ct_AR"; then
6751 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6757 test -z "$as_dir" && as_dir
=.
6758 for ac_exec_ext
in '' $ac_executable_extensions; do
6759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6760 ac_cv_prog_ac_ct_AR
="ar"
6761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6770 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6771 if test -n "$ac_ct_AR"; then
6772 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6773 echo "${ECHO_T}$ac_ct_AR" >&6; }
6775 { echo "$as_me:$LINENO: result: no" >&5
6776 echo "${ECHO_T}no" >&6; }
6779 if test "x$ac_ct_AR" = x
; then
6782 case $cross_compiling:$ac_tool_warned in
6784 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6785 whose name does not start with the host triplet. If you think this
6786 configuration is useful to you, please write to autoconf@gnu.org." >&5
6787 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6788 whose name does not start with the host triplet. If you think this
6789 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6790 ac_tool_warned
=yes ;;
6798 if test -n "$ac_tool_prefix"; then
6799 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6800 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6803 if test "${ac_cv_prog_RANLIB+set}" = set; then
6804 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 if test -n "$RANLIB"; then
6807 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6813 test -z "$as_dir" && as_dir
=.
6814 for ac_exec_ext
in '' $ac_executable_extensions; do
6815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6816 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6826 RANLIB
=$ac_cv_prog_RANLIB
6827 if test -n "$RANLIB"; then
6828 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6829 echo "${ECHO_T}$RANLIB" >&6; }
6831 { echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6; }
6837 if test -z "$ac_cv_prog_RANLIB"; then
6838 ac_ct_RANLIB
=$RANLIB
6839 # Extract the first word of "ranlib", so it can be a program name with args.
6840 set dummy ranlib
; ac_word
=$2
6841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6843 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6844 echo $ECHO_N "(cached) $ECHO_C" >&6
6846 if test -n "$ac_ct_RANLIB"; then
6847 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir
=.
6854 for ac_exec_ext
in '' $ac_executable_extensions; do
6855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6856 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6867 if test -n "$ac_ct_RANLIB"; then
6868 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6869 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6871 { echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6; }
6875 if test "x$ac_ct_RANLIB" = x
; then
6878 case $cross_compiling:$ac_tool_warned in
6880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6881 whose name does not start with the host triplet. If you think this
6882 configuration is useful to you, please write to autoconf@gnu.org." >&5
6883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6884 whose name does not start with the host triplet. If you think this
6885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6886 ac_tool_warned
=yes ;;
6888 RANLIB
=$ac_ct_RANLIB
6891 RANLIB
="$ac_cv_prog_RANLIB"
6894 if test -n "$ac_tool_prefix"; then
6895 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6896 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6899 if test "${ac_cv_prog_STRIP+set}" = set; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6
6902 if test -n "$STRIP"; then
6903 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir
=.
6910 for ac_exec_ext
in '' $ac_executable_extensions; do
6911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6912 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6922 STRIP
=$ac_cv_prog_STRIP
6923 if test -n "$STRIP"; then
6924 { echo "$as_me:$LINENO: result: $STRIP" >&5
6925 echo "${ECHO_T}$STRIP" >&6; }
6927 { echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6; }
6933 if test -z "$ac_cv_prog_STRIP"; then
6935 # Extract the first word of "strip", so it can be a program name with args.
6936 set dummy strip
; ac_word
=$2
6937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6939 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 if test -n "$ac_ct_STRIP"; then
6943 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir
=.
6950 for ac_exec_ext
in '' $ac_executable_extensions; do
6951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6952 ac_cv_prog_ac_ct_STRIP
="strip"
6953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6963 if test -n "$ac_ct_STRIP"; then
6964 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6965 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6967 { echo "$as_me:$LINENO: result: no" >&5
6968 echo "${ECHO_T}no" >&6; }
6971 if test "x$ac_ct_STRIP" = x
; then
6974 case $cross_compiling:$ac_tool_warned in
6976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6977 whose name does not start with the host triplet. If you think this
6978 configuration is useful to you, please write to autoconf@gnu.org." >&5
6979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6980 whose name does not start with the host triplet. If you think this
6981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6982 ac_tool_warned
=yes ;;
6987 STRIP
="$ac_cv_prog_STRIP"
6992 old_CFLAGS
="$CFLAGS"
6994 # Set sane defaults for various variables
6995 test -z "$AR" && AR
=ar
6996 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6997 test -z "$AS" && AS
=as
6998 test -z "$CC" && CC
=cc
6999 test -z "$LTCC" && LTCC
=$CC
7000 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7001 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7002 test -z "$LD" && LD
=ld
7003 test -z "$LN_S" && LN_S
="ln -s"
7004 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7005 test -z "$NM" && NM
=nm
7006 test -z "$SED" && SED
=sed
7007 test -z "$OBJDUMP" && OBJDUMP
=objdump
7008 test -z "$RANLIB" && RANLIB
=:
7009 test -z "$STRIP" && STRIP
=:
7010 test -z "$ac_objext" && ac_objext
=o
7012 # Determine commands to create old-style static archives.
7013 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7014 old_postinstall_cmds
='chmod 644 $oldlib'
7015 old_postuninstall_cmds
=
7017 if test -n "$RANLIB"; then
7020 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7023 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7026 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7029 for cc_temp
in $compiler""; do
7031 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7032 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7037 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7040 # Only perform the check for file, if the check method requires it
7041 case $deplibs_check_method in
7043 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7044 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7045 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7046 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7047 echo $ECHO_N "(cached) $ECHO_C" >&6
7051 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7054 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7055 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7056 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7057 for ac_dir
in $ac_dummy; do
7059 test -z "$ac_dir" && ac_dir
=.
7060 if test -f $ac_dir/${ac_tool_prefix}file; then
7061 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7062 if test -n "$file_magic_test_file"; then
7063 case $deplibs_check_method in
7065 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7066 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7067 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7068 $EGREP "$file_magic_regex" > /dev
/null
; then
7073 *** Warning: the command libtool uses to detect shared libraries,
7074 *** $file_magic_cmd, produces output that libtool cannot recognize.
7075 *** The result is that libtool may fail to recognize shared libraries
7076 *** as such. This will affect the creation of libtool libraries that
7077 *** depend on shared libraries, but programs linked with such libtool
7078 *** libraries will work regardless of this problem. Nevertheless, you
7079 *** may want to report the problem to your system manager and/or to
7080 *** bug-libtool@gnu.org
7090 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7095 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7096 if test -n "$MAGIC_CMD"; then
7097 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7098 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7100 { echo "$as_me:$LINENO: result: no" >&5
7101 echo "${ECHO_T}no" >&6; }
7104 if test -z "$lt_cv_path_MAGIC_CMD"; then
7105 if test -n "$ac_tool_prefix"; then
7106 { echo "$as_me:$LINENO: checking for file" >&5
7107 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7108 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7116 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7117 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7118 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7119 for ac_dir
in $ac_dummy; do
7121 test -z "$ac_dir" && ac_dir
=.
7122 if test -f $ac_dir/file; then
7123 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7124 if test -n "$file_magic_test_file"; then
7125 case $deplibs_check_method in
7127 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7128 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7129 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7130 $EGREP "$file_magic_regex" > /dev
/null
; then
7135 *** Warning: the command libtool uses to detect shared libraries,
7136 *** $file_magic_cmd, produces output that libtool cannot recognize.
7137 *** The result is that libtool may fail to recognize shared libraries
7138 *** as such. This will affect the creation of libtool libraries that
7139 *** depend on shared libraries, but programs linked with such libtool
7140 *** libraries will work regardless of this problem. Nevertheless, you
7141 *** may want to report the problem to your system manager and/or to
7142 *** bug-libtool@gnu.org
7152 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7157 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7158 if test -n "$MAGIC_CMD"; then
7159 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7160 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7162 { echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6; }
7178 # Check whether --enable-libtool-lock was given.
7179 if test "${enable_libtool_lock+set}" = set; then
7180 enableval
=$enable_libtool_lock;
7183 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7186 # Check whether --with-pic was given.
7187 if test "${with_pic+set}" = set; then
7188 withval
=$with_pic; pic_mode
="$withval"
7193 test -z "$pic_mode" && pic_mode
=default
7195 # Use C for the default configuration in the libtool script
7199 ac_cpp
='$CPP $CPPFLAGS'
7200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7205 # Source file extension for C test sources.
7208 # Object file extension for compiled C test sources.
7212 # Code to be used in simple compile tests
7213 lt_simple_compile_test_code
="int some_variable = 0;\n"
7215 # Code to be used in simple link tests
7216 lt_simple_link_test_code
='int main(){return(0);}\n'
7219 # If no C compiler was specified, use CC.
7222 # If no C compiler flags were specified, use CFLAGS.
7223 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7225 # Allow CC to be a program name with arguments.
7229 # save warnings/boilerplate of simple test code
7230 ac_outfile
=conftest.
$ac_objext
7231 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7232 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7233 _lt_compiler_boilerplate
=`cat conftest.err`
7236 ac_outfile
=conftest.
$ac_objext
7237 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7238 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7239 _lt_linker_boilerplate
=`cat conftest.err`
7244 lt_prog_compiler_no_builtin_flag
=
7246 if test "$GCC" = yes; then
7247 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7250 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7251 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7252 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7253 echo $ECHO_N "(cached) $ECHO_C" >&6
7255 lt_cv_prog_compiler_rtti_exceptions
=no
7256 ac_outfile
=conftest.
$ac_objext
7257 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7258 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7259 # Insert the option either (1) after the last *FLAGS variable, or
7260 # (2) before a word containing "conftest.", or (3) at the end.
7261 # Note that $ac_compile itself does not contain backslashes and begins
7262 # with a dollar sign (not a hyphen), so the echo should work correctly.
7263 # The option is referenced via a variable to avoid confusing sed.
7264 lt_compile
=`echo "$ac_compile" | $SED \
7265 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7266 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7267 -e 's:$: $lt_compiler_flag:'`
7268 (eval echo "\"\$as_me:7268: $lt_compile\"" >&5)
7269 (eval "$lt_compile" 2>conftest.err
)
7271 cat conftest.err
>&5
7272 echo "$as_me:7272: \$? = $ac_status" >&5
7273 if (exit $ac_status) && test -s "$ac_outfile"; then
7274 # The compiler can only warn and ignore the option if not recognized
7275 # So say no if there are warnings other than the usual output.
7276 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7277 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7278 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7279 lt_cv_prog_compiler_rtti_exceptions
=yes
7285 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7286 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7288 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7289 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7296 lt_prog_compiler_wl
=
7297 lt_prog_compiler_pic
=
7298 lt_prog_compiler_static
=
7300 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7301 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7303 if test "$GCC" = yes; then
7304 lt_prog_compiler_wl
='-Wl,'
7305 lt_prog_compiler_static
='-static'
7309 # All AIX code is PIC.
7310 if test "$host_cpu" = ia64
; then
7311 # AIX 5 now supports IA64 processor
7312 lt_prog_compiler_static
='-Bstatic'
7317 # FIXME: we need at least 68020 code to build shared libraries, but
7318 # adding the `-m68020' flag to GCC prevents building anything better,
7320 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7323 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7324 # PIC is the default for these OSes.
7327 mingw
* | pw32
* | os2
*)
7328 # This hack is so that the source file can tell whether it is being
7329 # built for inclusion in a dll (and should export symbols for example).
7330 lt_prog_compiler_pic
='-DDLL_EXPORT'
7333 darwin
* | rhapsody
*)
7334 # PIC is the default on this platform
7335 # Common symbols not allowed in MH_DYLIB files
7336 lt_prog_compiler_pic
='-fno-common'
7340 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7341 # Instead, we relocate shared libraries at runtime.
7345 # Just because we use GCC doesn't mean we suddenly get shared libraries
7346 # on systems that don't support them.
7347 lt_prog_compiler_can_build_shared
=no
7352 if test -d /usr
/nec
; then
7353 lt_prog_compiler_pic
=-Kconform_pic
7358 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7365 lt_prog_compiler_pic
='-fPIC'
7371 lt_prog_compiler_pic
='-fPIC'
7375 # PORTME Check for flag to pass linker flags through the system compiler.
7378 lt_prog_compiler_wl
='-Wl,'
7379 if test "$host_cpu" = ia64
; then
7380 # AIX 5 now supports IA64 processor
7381 lt_prog_compiler_static
='-Bstatic'
7383 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7387 # PIC is the default on this platform
7388 # Common symbols not allowed in MH_DYLIB files
7389 case $cc_basename in
7391 lt_prog_compiler_pic
='-qnocommon'
7392 lt_prog_compiler_wl
='-Wl,'
7397 mingw
* | pw32
* | os2
*)
7398 # This hack is so that the source file can tell whether it is being
7399 # built for inclusion in a dll (and should export symbols for example).
7400 lt_prog_compiler_pic
='-DDLL_EXPORT'
7403 hpux9
* | hpux10
* | hpux11
*)
7404 lt_prog_compiler_wl
='-Wl,'
7405 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7412 lt_prog_compiler_pic
='+Z'
7415 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7416 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7419 irix5
* | irix6
* | nonstopux
*)
7420 lt_prog_compiler_wl
='-Wl,'
7421 # PIC (with -KPIC) is the default.
7422 lt_prog_compiler_static
='-non_shared'
7426 lt_prog_compiler_pic
='-KPIC'
7427 lt_prog_compiler_static
='-Bstatic'
7430 linux
* | k
*bsd
*-gnu)
7431 case $cc_basename in
7433 lt_prog_compiler_wl
='-Wl,'
7434 lt_prog_compiler_pic
='-KPIC'
7435 lt_prog_compiler_static
='-static'
7437 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7438 # Portland Group compilers (*not* the Pentium gcc compiler,
7439 # which looks to be a dead project)
7440 lt_prog_compiler_wl
='-Wl,'
7441 lt_prog_compiler_pic
='-fpic'
7442 lt_prog_compiler_static
='-Bstatic'
7445 lt_prog_compiler_wl
='-Wl,'
7446 # All Alpha code is PIC.
7447 lt_prog_compiler_static
='-non_shared'
7452 osf3
* | osf4
* | osf5
*)
7453 lt_prog_compiler_wl
='-Wl,'
7454 # All OSF/1 code is PIC.
7455 lt_prog_compiler_static
='-non_shared'
7459 lt_prog_compiler_pic
='-KPIC'
7460 lt_prog_compiler_static
='-Bstatic'
7461 case $cc_basename in
7463 lt_prog_compiler_wl
='-Qoption ld ';;
7465 lt_prog_compiler_wl
='-Wl,';;
7470 lt_prog_compiler_wl
='-Qoption ld '
7471 lt_prog_compiler_pic
='-PIC'
7472 lt_prog_compiler_static
='-Bstatic'
7475 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7476 lt_prog_compiler_wl
='-Wl,'
7477 lt_prog_compiler_pic
='-KPIC'
7478 lt_prog_compiler_static
='-Bstatic'
7482 if test -d /usr
/nec
;then
7483 lt_prog_compiler_pic
='-Kconform_pic'
7484 lt_prog_compiler_static
='-Bstatic'
7488 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7489 lt_prog_compiler_wl
='-Wl,'
7490 lt_prog_compiler_pic
='-KPIC'
7491 lt_prog_compiler_static
='-Bstatic'
7495 lt_prog_compiler_wl
='-Wl,'
7496 lt_prog_compiler_can_build_shared
=no
7500 lt_prog_compiler_pic
='-pic'
7501 lt_prog_compiler_static
='-Bstatic'
7505 lt_prog_compiler_can_build_shared
=no
7510 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7511 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7514 # Check to make sure the PIC flag actually works.
7516 if test -n "$lt_prog_compiler_pic"; then
7518 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7519 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7520 if test "${lt_prog_compiler_pic_works+set}" = set; then
7521 echo $ECHO_N "(cached) $ECHO_C" >&6
7523 lt_prog_compiler_pic_works
=no
7524 ac_outfile
=conftest.
$ac_objext
7525 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7526 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7527 # Insert the option either (1) after the last *FLAGS variable, or
7528 # (2) before a word containing "conftest.", or (3) at the end.
7529 # Note that $ac_compile itself does not contain backslashes and begins
7530 # with a dollar sign (not a hyphen), so the echo should work correctly.
7531 # The option is referenced via a variable to avoid confusing sed.
7532 lt_compile
=`echo "$ac_compile" | $SED \
7533 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7534 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7535 -e 's:$: $lt_compiler_flag:'`
7536 (eval echo "\"\$as_me:7536: $lt_compile\"" >&5)
7537 (eval "$lt_compile" 2>conftest.err
)
7539 cat conftest.err
>&5
7540 echo "$as_me:7540: \$? = $ac_status" >&5
7541 if (exit $ac_status) && test -s "$ac_outfile"; then
7542 # The compiler can only warn and ignore the option if not recognized
7543 # So say no if there are warnings other than the usual output.
7544 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7545 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7546 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7547 lt_prog_compiler_pic_works
=yes
7553 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7554 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7556 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7557 case $lt_prog_compiler_pic in
7559 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7562 lt_prog_compiler_pic
=
7563 lt_prog_compiler_can_build_shared
=no
7568 # For platforms which do not support PIC, -DPIC is meaningless:
7570 lt_prog_compiler_pic
=
7573 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7578 # Check to make sure the static flag actually works.
7580 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7581 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7582 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7583 if test "${lt_prog_compiler_static_works+set}" = set; then
7584 echo $ECHO_N "(cached) $ECHO_C" >&6
7586 lt_prog_compiler_static_works
=no
7587 save_LDFLAGS
="$LDFLAGS"
7588 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7589 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7590 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7591 # The linker can only warn and ignore the option if not recognized
7592 # So say no if there are warnings
7593 if test -s conftest.err
; then
7594 # Append any errors to the config.log.
7595 cat conftest.err
1>&5
7596 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7597 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7598 if diff conftest.exp conftest.er2
>/dev
/null
; then
7599 lt_prog_compiler_static_works
=yes
7602 lt_prog_compiler_static_works
=yes
7606 LDFLAGS
="$save_LDFLAGS"
7609 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7610 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7612 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7615 lt_prog_compiler_static
=
7619 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7620 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7621 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7624 lt_cv_prog_compiler_c_o
=no
7625 $rm -r conftest
2>/dev
/null
7629 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7631 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7632 # Insert the option either (1) after the last *FLAGS variable, or
7633 # (2) before a word containing "conftest.", or (3) at the end.
7634 # Note that $ac_compile itself does not contain backslashes and begins
7635 # with a dollar sign (not a hyphen), so the echo should work correctly.
7636 lt_compile
=`echo "$ac_compile" | $SED \
7637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7639 -e 's:$: $lt_compiler_flag:'`
7640 (eval echo "\"\$as_me:7640: $lt_compile\"" >&5)
7641 (eval "$lt_compile" 2>out
/conftest.err
)
7643 cat out
/conftest.err
>&5
7644 echo "$as_me:7644: \$? = $ac_status" >&5
7645 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7647 # The compiler can only warn and ignore the option if not recognized
7648 # So say no if there are warnings
7649 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7650 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7651 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7652 lt_cv_prog_compiler_c_o
=yes
7657 # SGI C++ compiler will create directory out/ii_files/ for
7658 # template instantiation
7659 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7660 $rm out
/* && rmdir out
7666 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7667 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7670 hard_links
="nottested"
7671 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7672 # do not overwrite the value of need_locks provided by the user
7673 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7674 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7677 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7679 ln conftest.a conftest.b
2>&5 || hard_links
=no
7680 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7681 { echo "$as_me:$LINENO: result: $hard_links" >&5
7682 echo "${ECHO_T}$hard_links" >&6; }
7683 if test "$hard_links" = no
; then
7684 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7685 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7692 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7693 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7696 allow_undefined_flag
=
7697 enable_shared_with_static_runtimes
=no
7699 archive_expsym_cmds
=
7700 old_archive_From_new_cmds
=
7701 old_archive_from_expsyms_cmds
=
7702 export_dynamic_flag_spec
=
7703 whole_archive_flag_spec
=
7704 thread_safe_flag_spec
=
7705 hardcode_libdir_flag_spec
=
7706 hardcode_libdir_flag_spec_ld
=
7707 hardcode_libdir_separator
=
7710 hardcode_shlibpath_var
=unsupported
7711 link_all_deplibs
=unknown
7712 hardcode_automatic
=no
7715 always_export_symbols
=no
7716 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7717 # include_expsyms should be a list of space-separated symbols to be *always*
7718 # included in the symbol list
7720 # exclude_expsyms can be an extended regexp of symbols to exclude
7721 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7722 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7723 # as well as any symbol that contains `d'.
7724 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7725 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7726 # platforms (ab)use it in PIC code, but their linkers get confused if
7727 # the symbol is explicitly referenced. Since portable code cannot
7728 # rely on this symbol name, it's probably fine to never include it in
7729 # preloaded symbol tables.
7730 extract_expsyms_cmds
=
7731 # Just being paranoid about ensuring that cc_basename is set.
7732 for cc_temp
in $compiler""; do
7734 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7735 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7740 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7743 cygwin
* | mingw
* | pw32
*)
7744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7745 # When not using gcc, we currently assume that we are using
7746 # Microsoft Visual C++.
7747 if test "$GCC" != yes; then
7752 # we just hope/assume this is gcc and not c89 (= MSVC++)
7761 if test "$with_gnu_ld" = yes; then
7762 # If archive_cmds runs LD, not CC, wlarc should be empty
7765 # Set some defaults for GNU ld with shared library support. These
7766 # are reset later if shared libraries are not supported. Putting them
7767 # here allows them to be overridden if necessary.
7768 runpath_var
=LD_RUN_PATH
7769 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7770 export_dynamic_flag_spec
='${wl}--export-dynamic'
7771 # ancient GNU ld didn't support --whole-archive et. al.
7772 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7773 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7775 whole_archive_flag_spec
=
7777 supports_anon_versioning
=no
7778 case `$LD -v 2>/dev/null` in
7779 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7780 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7781 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7782 *\
2.11.
*) ;; # other 2.11 versions
7783 *) supports_anon_versioning
=yes ;;
7786 # See if GNU ld supports shared libraries.
7788 aix3
* | aix4
* | aix5
*)
7789 # On AIX/PPC, the GNU linker is very broken
7790 if test "$host_cpu" != ia64
; then
7794 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7795 *** to be unable to reliably create shared libraries on AIX.
7796 *** Therefore, libtool is disabling shared libraries support. If you
7797 *** really care for shared libraries, you may want to modify your PATH
7798 *** so that a non-GNU linker is found, and then restart.
7805 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)'
7806 hardcode_libdir_flag_spec
='-L$libdir'
7807 hardcode_minus_L
=yes
7809 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7810 # that the semantics of dynamic libraries on AmigaOS, at least up
7811 # to version 4, is to share data among multiple programs linked
7812 # with the same dynamic library. Since this doesn't match the
7813 # behavior of shared libraries on other platforms, we can't use
7819 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7820 allow_undefined_flag
=unsupported
7821 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7822 # support --undefined. This deserves some investigation. FIXME
7823 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7829 cygwin
* | mingw
* | pw32
*)
7830 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7831 # as there is no search path for DLLs.
7832 hardcode_libdir_flag_spec
='-L$libdir'
7833 allow_undefined_flag
=unsupported
7834 always_export_symbols
=no
7835 enable_shared_with_static_runtimes
=yes
7836 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7838 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7839 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7840 # If the export-symbols file already is a .def file (1st line
7841 # is EXPORTS), use it as is; otherwise, prepend...
7842 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7843 cp $export_symbols $output_objdir/$soname.def;
7845 echo EXPORTS > $output_objdir/$soname.def;
7846 cat $export_symbols >> $output_objdir/$soname.def;
7848 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7856 hardcode_shlibpath_var
=no
7857 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7858 export_dynamic_flag_spec
='${wl}-E'
7859 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7860 # Instead, shared libraries are loaded at an image base (0x10000000 by
7861 # default) and relocated if they conflict, which is a slow very memory
7862 # consuming and fragmenting process. To avoid this, we pick a random,
7863 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7864 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7865 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7866 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'
7869 linux
* | k
*bsd
*-gnu)
7870 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7872 case $cc_basename,$host_cpu in
7873 pgcc
*) # Portland Group C compiler
7874 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'
7875 tmp_addflag
=' $pic_flag'
7877 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7878 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'
7879 tmp_addflag
=' $pic_flag -Mnomain' ;;
7880 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7881 tmp_addflag
=' -i_dynamic' ;;
7882 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7883 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7884 ifc
* | ifort
*) # Intel Fortran compiler
7885 tmp_addflag
=' -nofor_main' ;;
7887 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7889 if test $supports_anon_versioning = yes; then
7890 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7891 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7892 $echo "local: *; };" >> $output_objdir/$libname.ver~
7893 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7901 netbsd
* | netbsdelf
*-gnu)
7902 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7903 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7906 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7907 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7912 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7916 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7917 *** create shared libraries on Solaris systems. Therefore, libtool
7918 *** is disabling shared libraries support. We urge you to upgrade GNU
7919 *** binutils to release 2.9.1 or newer. Another option is to modify
7920 *** your PATH or compiler configuration so that the native linker is
7921 *** used, and then restart.
7924 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7925 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7926 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7932 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7933 case `$LD -v 2>&1` in
7934 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7938 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7939 *** reliably create shared libraries on SCO systems. Therefore, libtool
7940 *** is disabling shared libraries support. We urge you to upgrade GNU
7941 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7942 *** your PATH or compiler configuration so that the native linker is
7943 *** used, and then restart.
7948 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7949 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7950 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7951 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7960 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7963 hardcode_shlibpath_var
=no
7967 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7968 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7969 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7976 if test "$ld_shlibs" = no
; then
7978 hardcode_libdir_flag_spec
=
7979 export_dynamic_flag_spec
=
7980 whole_archive_flag_spec
=
7983 # PORTME fill in a description of your system's linker (not GNU ld)
7986 allow_undefined_flag
=unsupported
7987 always_export_symbols
=yes
7988 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'
7989 # Note: this linker hardcodes the directories in LIBPATH if there
7990 # are no directories specified by -L.
7991 hardcode_minus_L
=yes
7992 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7993 # Neither direct hardcoding nor static linking is supported with a
7995 hardcode_direct
=unsupported
8000 if test "$host_cpu" = ia64
; then
8001 # On IA64, the linker does run time linking by default, so we don't
8002 # have to do anything special.
8003 aix_use_runtimelinking
=no
8004 exp_sym_flag
='-Bexport'
8007 # If we're using GNU nm, then we don't want the "-C" option.
8008 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8009 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8010 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'
8012 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'
8014 aix_use_runtimelinking
=no
8016 # Test if we are trying to use run time linking or normal
8017 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8018 # need to do runtime linking.
8019 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8020 for ld_flag
in $LDFLAGS; do
8021 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8022 aix_use_runtimelinking
=yes
8029 exp_sym_flag
='-bexport'
8030 no_entry_flag
='-bnoentry'
8033 # When large executables or shared objects are built, AIX ld can
8034 # have problems creating the table of contents. If linking a library
8035 # or program results in "error TOC overflow" add -mminimal-toc to
8036 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8037 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8041 hardcode_libdir_separator
=':'
8042 link_all_deplibs
=yes
8044 if test "$GCC" = yes; then
8045 case $host_os in aix4.
[012]|aix4.
[012].
*)
8046 # We only want to do this on AIX 4.2 and lower, the check
8047 # below for broken collect2 doesn't work under 4.3+
8048 collect2name
=`${CC} -print-prog-name=collect2`
8049 if test -f "$collect2name" && \
8050 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8052 # We have reworked collect2
8055 # We have old collect2
8056 hardcode_direct
=unsupported
8057 # It fails to find uninstalled libraries when the uninstalled
8058 # path is not listed in the libpath. Setting hardcode_minus_L
8059 # to unsupported forces relinking
8060 hardcode_minus_L
=yes
8061 hardcode_libdir_flag_spec
='-L$libdir'
8062 hardcode_libdir_separator
=
8066 shared_flag
='-shared'
8067 if test "$aix_use_runtimelinking" = yes; then
8068 shared_flag
="$shared_flag "'${wl}-G'
8072 if test "$host_cpu" = ia64
; then
8073 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8074 # chokes on -Wl,-G. The following line is correct:
8077 if test "$aix_use_runtimelinking" = yes; then
8078 shared_flag
='${wl}-G'
8080 shared_flag
='${wl}-bM:SRE'
8085 # It seems that -bexpall does not export symbols beginning with
8086 # underscore (_), so it is better to generate a list of symbols to export.
8087 always_export_symbols
=yes
8088 if test "$aix_use_runtimelinking" = yes; then
8089 # Warning - without using the other runtime loading flags (-brtl),
8090 # -berok will link without error, but may produce a broken library.
8091 allow_undefined_flag
='-berok'
8092 # Determine the default libpath from the value encoded in an empty executable.
8093 cat >conftest.
$ac_ext <<_ACEOF
8096 cat confdefs.h
>>conftest.
$ac_ext
8097 cat >>conftest.
$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8108 rm -f conftest.
$ac_objext conftest
$ac_exeext
8109 if { (ac_try
="$ac_link"
8111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8112 *) ac_try_echo=$ac_try;;
8114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8115 (eval "$ac_link") 2>conftest.er1
8117 grep -v '^ *+' conftest.er1 >conftest.err
8119 cat conftest.err >&5
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); } &&
8122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8123 { (case "(($ac_try" in
8124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8125 *) ac_try_echo
=$ac_try;;
8127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8128 (eval "$ac_try") 2>&5
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 (exit $ac_status); }; } &&
8132 { ac_try
='test -s conftest$ac_exeext'
8133 { (case "(($ac_try" in
8134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8135 *) ac_try_echo=$ac_try;;
8137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8138 (eval "$ac_try") 2>&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; }; then
8143 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8145 # Check for a 64-bit object if we didn't find anything.
8146 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; }
8149 echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.$ac_ext >&5
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8157 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8159 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8160 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"
8162 if test "$host_cpu" = ia64; then
8163 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8164 allow_undefined_flag="-z nodefs"
8165 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"
8167 # Determine the default libpath from the value encoded in an empty executable.
8168 cat >conftest.$ac_ext <<_ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8183 rm -f conftest.$ac_objext conftest$ac_exeext
8184 if { (ac_try="$ac_link"
8186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8187 *) ac_try_echo
=$ac_try;;
8189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8190 (eval "$ac_link") 2>conftest.er1
8192 grep -v '^ *+' conftest.er1
>conftest.err
8194 cat conftest.err
>&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); } &&
8197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8198 { (case "(($ac_try" in
8199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8200 *) ac_try_echo=$ac_try;;
8202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8203 (eval "$ac_try") 2>&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; } &&
8207 { ac_try='test -s conftest$ac_exeext'
8208 { (case "(($ac_try" in
8209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8210 *) ac_try_echo
=$ac_try;;
8212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8213 (eval "$ac_try") 2>&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); }; }; then
8218 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8220 # Check for a 64-bit object if we didn't find anything.
8221 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; }
8224 echo "$as_me: failed program was:" >&5
8225 sed 's/^/| /' conftest.
$ac_ext >&5
8230 rm -f core conftest.err conftest.
$ac_objext \
8231 conftest
$ac_exeext conftest.
$ac_ext
8232 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8234 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8235 # Warning - without using the other run time loading flags,
8236 # -berok will link without error, but may produce a broken library.
8237 no_undefined_flag
=' ${wl}-bernotok'
8238 allow_undefined_flag
=' ${wl}-berok'
8239 # Exported symbols can be pulled into shared objects from archives
8240 whole_archive_flag_spec
='$convenience'
8241 archive_cmds_need_lc
=yes
8242 # This is similar to how AIX traditionally builds its shared libraries.
8243 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'
8249 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)'
8250 hardcode_libdir_flag_spec
='-L$libdir'
8251 hardcode_minus_L
=yes
8252 # see comment about different semantics on the GNU ld section
8257 export_dynamic_flag_spec
=-rdynamic
8260 cygwin
* | mingw
* | pw32
*)
8261 # When not using gcc, we currently assume that we are using
8262 # Microsoft Visual C++.
8263 # hardcode_libdir_flag_spec is actually meaningless, as there is
8264 # no search path for DLLs.
8265 hardcode_libdir_flag_spec
=' '
8266 allow_undefined_flag
=unsupported
8267 # Tell ltmain to make .lib files, not .a files.
8269 # Tell ltmain to make .dll files, not .so files.
8271 # FIXME: Setting linknames here is a bad hack.
8272 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8273 # The linker will automatically build a .lib file if we build a DLL.
8274 old_archive_From_new_cmds
='true'
8275 # FIXME: Should let the user specify the lib program.
8276 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8277 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8278 enable_shared_with_static_runtimes
=yes
8281 darwin
* | rhapsody
*)
8283 rhapsody
* | darwin1.
[012])
8284 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8287 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8288 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8290 case ${MACOSX_DEPLOYMENT_TARGET} in
8292 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8295 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8301 archive_cmds_need_lc
=no
8303 hardcode_automatic
=yes
8304 hardcode_shlibpath_var
=unsupported
8305 whole_archive_flag_spec
=''
8306 link_all_deplibs
=yes
8307 if test "$GCC" = yes ; then
8308 output_verbose_link_cmd
='echo'
8309 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8310 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8311 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8312 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}'
8313 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}'
8315 case $cc_basename in
8317 output_verbose_link_cmd
='echo'
8318 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8319 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8320 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8321 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}'
8322 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}'
8332 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8333 hardcode_libdir_flag_spec
='-L$libdir'
8334 hardcode_shlibpath_var
=no
8341 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8342 # support. Future versions do this automatically, but an explicit c++rt0.o
8343 # does not break anything, and helps significantly (at the cost of a little
8346 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8347 hardcode_libdir_flag_spec
='-R$libdir'
8349 hardcode_shlibpath_var
=no
8352 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8354 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8356 hardcode_minus_L
=yes
8357 hardcode_shlibpath_var
=no
8360 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8361 freebsd
* | dragonfly
*)
8362 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8363 hardcode_libdir_flag_spec
='-R$libdir'
8365 hardcode_shlibpath_var
=no
8369 if test "$GCC" = yes; then
8370 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'
8372 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'
8374 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8375 hardcode_libdir_separator
=:
8378 # hardcode_minus_L: Not really in the search PATH,
8379 # but as the default location of the library.
8380 hardcode_minus_L
=yes
8381 export_dynamic_flag_spec
='${wl}-E'
8385 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8386 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8388 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8390 if test "$with_gnu_ld" = no
; then
8391 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8392 hardcode_libdir_separator
=:
8395 export_dynamic_flag_spec
='${wl}-E'
8397 # hardcode_minus_L: Not really in the search PATH,
8398 # but as the default location of the library.
8399 hardcode_minus_L
=yes
8404 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8407 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8410 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8413 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8419 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8422 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8425 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8429 if test "$with_gnu_ld" = no
; then
8430 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8431 hardcode_libdir_separator
=:
8435 hardcode_libdir_flag_spec_ld
='+b $libdir'
8437 hardcode_shlibpath_var
=no
8441 export_dynamic_flag_spec
='${wl}-E'
8443 # hardcode_minus_L: Not really in the search PATH,
8444 # but as the default location of the library.
8445 hardcode_minus_L
=yes
8451 irix5
* | irix6
* | nonstopux
*)
8452 if test "$GCC" = yes; then
8453 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'
8455 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'
8456 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8458 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8459 hardcode_libdir_separator
=:
8460 link_all_deplibs
=yes
8463 netbsd
* | netbsdelf
*-gnu)
8464 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8465 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8467 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8469 hardcode_libdir_flag_spec
='-R$libdir'
8471 hardcode_shlibpath_var
=no
8475 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8477 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8478 hardcode_libdir_separator
=:
8479 hardcode_shlibpath_var
=no
8484 hardcode_shlibpath_var
=no
8485 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8486 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8487 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8488 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8489 export_dynamic_flag_spec
='${wl}-E'
8492 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8493 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8494 hardcode_libdir_flag_spec
='-R$libdir'
8497 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8498 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8505 hardcode_libdir_flag_spec
='-L$libdir'
8506 hardcode_minus_L
=yes
8507 allow_undefined_flag
=unsupported
8508 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'
8509 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8513 if test "$GCC" = yes; then
8514 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8515 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'
8517 allow_undefined_flag
=' -expect_unresolved \*'
8518 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'
8520 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8521 hardcode_libdir_separator
=:
8524 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8525 if test "$GCC" = yes; then
8526 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8527 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'
8528 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8530 allow_undefined_flag
=' -expect_unresolved \*'
8531 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'
8532 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8533 $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'
8535 # Both c and cxx compiler support -rpath directly
8536 hardcode_libdir_flag_spec
='-rpath $libdir'
8538 hardcode_libdir_separator
=:
8542 no_undefined_flag
=' -z text'
8543 if test "$GCC" = yes; then
8545 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8546 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8547 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8550 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8551 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8552 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8554 hardcode_libdir_flag_spec
='-R$libdir'
8555 hardcode_shlibpath_var
=no
8557 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8559 # The compiler driver will combine linker options so we
8560 # cannot just pass the convience library names through
8561 # without $wl, iff we do not link with $LD.
8562 # Luckily, gcc supports the same syntax we need for Sun Studio.
8563 # Supported since Solaris 2.6 (maybe 2.5.1?)
8566 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8568 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' ;;
8571 link_all_deplibs
=yes
8575 if test "x$host_vendor" = xsequent
; then
8576 # Use $CC to link under sequent, because it throws in some extra .o
8577 # files that make .init and .fini sections work.
8578 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8580 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8582 hardcode_libdir_flag_spec
='-L$libdir'
8584 hardcode_minus_L
=yes
8585 hardcode_shlibpath_var
=no
8589 case $host_vendor in
8591 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8592 hardcode_direct
=yes # is this really true???
8595 ## LD is ld it makes a PLAMLIB
8596 ## CC just makes a GrossModule.
8597 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8598 reload_cmds
='$CC -r -o $output$reload_objs'
8602 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8603 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8606 runpath_var
='LD_RUN_PATH'
8607 hardcode_shlibpath_var
=no
8611 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8612 hardcode_shlibpath_var
=no
8613 export_dynamic_flag_spec
='-Bexport'
8617 if test -d /usr
/nec
; then
8618 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8619 hardcode_shlibpath_var
=no
8620 runpath_var
=LD_RUN_PATH
8621 hardcode_runpath_var
=yes
8626 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8627 no_undefined_flag
='${wl}-z,text'
8628 archive_cmds_need_lc
=no
8629 hardcode_shlibpath_var
=no
8630 runpath_var
='LD_RUN_PATH'
8632 if test "$GCC" = yes; then
8633 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8634 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8636 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8637 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8641 sysv5
* | sco3.2v5
* | sco5v6
*)
8642 # Note: We can NOT use -z defs as we might desire, because we do not
8643 # link with -lc, and that would cause any symbols used from libc to
8644 # always be unresolved, which means just about no library would
8645 # ever link correctly. If we're not using GNU ld we use -z text
8646 # though, which does catch some bad symbols but isn't as heavy-handed
8648 no_undefined_flag
='${wl}-z,text'
8649 allow_undefined_flag
='${wl}-z,nodefs'
8650 archive_cmds_need_lc
=no
8651 hardcode_shlibpath_var
=no
8652 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8653 hardcode_libdir_separator
=':'
8654 link_all_deplibs
=yes
8655 export_dynamic_flag_spec
='${wl}-Bexport'
8656 runpath_var
='LD_RUN_PATH'
8658 if test "$GCC" = yes; then
8659 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8660 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8662 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8663 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8668 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8669 hardcode_libdir_flag_spec
='-L$libdir'
8670 hardcode_shlibpath_var
=no
8679 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8680 echo "${ECHO_T}$ld_shlibs" >&6; }
8681 test "$ld_shlibs" = no
&& can_build_shared
=no
8684 # Do we need to explicitly link libc?
8686 case "x$archive_cmds_need_lc" in
8688 # Assume -lc should be added
8689 archive_cmds_need_lc
=yes
8691 if test "$enable_shared" = yes && test "$GCC" = yes; then
8692 case $archive_cmds in
8694 # FIXME: we may have to deal with multi-command sequences.
8697 # Test whether the compiler implicitly links with -lc since on some
8698 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8699 # to ld, don't add -lc before -lgcc.
8700 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8701 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8703 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8706 (eval $ac_compile) 2>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } 2>conftest.err
; then
8712 libobjs
=conftest.
$ac_objext
8714 wl
=$lt_prog_compiler_wl
8715 pic_flag
=$lt_prog_compiler_pic
8721 lt_save_allow_undefined_flag
=$allow_undefined_flag
8722 allow_undefined_flag
=
8723 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8724 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); }
8729 archive_cmds_need_lc
=no
8731 archive_cmds_need_lc
=yes
8733 allow_undefined_flag
=$lt_save_allow_undefined_flag
8735 cat conftest.err
1>&5
8738 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8739 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8746 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8747 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8749 libname_spec
='lib$name'
8757 shlibpath_overrides_runpath
=unknown
8759 dynamic_linker
="$host_os ld.so"
8760 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8761 if test "$GCC" = yes; then
8762 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8763 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8764 # if the path contains ";" then we assume it to be the separator
8765 # otherwise default to the standard path separator (i.e. ":") - it is
8766 # assumed that no part of a normal pathname contains ";" but that should
8767 # okay in the real world where ";" in dirpaths is itself problematic.
8768 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8770 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8773 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8775 need_lib_prefix
=unknown
8776 hardcode_into_libs
=no
8778 # when you set need_version to no, make sure it does not cause -set_version
8779 # flags to be left without arguments
8780 need_version
=unknown
8785 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8786 shlibpath_var
=LIBPATH
8788 # AIX 3 has no versioning support, so we append a major version to the name.
8789 soname_spec
='${libname}${release}${shared_ext}$major'
8796 hardcode_into_libs
=yes
8797 if test "$host_cpu" = ia64
; then
8798 # AIX 5 supports IA64
8799 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8800 shlibpath_var
=LD_LIBRARY_PATH
8802 # With GCC up to 2.95.x, collect2 would create an import file
8803 # for dependence libraries. The import file would start with
8804 # the line `#! .'. This would cause the generated library to
8805 # depend on `.', always an invalid library. This was fixed in
8806 # development snapshots of GCC prior to 3.0.
8808 aix4 | aix4.
[01] | aix4.
[01].
*)
8809 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8811 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8818 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8819 # soname into executable. Probably we can add versioning support to
8820 # collect2, so additional links can be useful in future.
8821 if test "$aix_use_runtimelinking" = yes; then
8822 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8823 # instead of lib<name>.a to let people know that these are not
8824 # typical AIX shared libraries.
8825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8827 # We preserve .a as extension for shared libraries through AIX4.2
8828 # and later when we are not doing run time linking.
8829 library_names_spec
='${libname}${release}.a $libname.a'
8830 soname_spec
='${libname}${release}${shared_ext}$major'
8832 shlibpath_var
=LIBPATH
8837 library_names_spec
='$libname.ixlibrary $libname.a'
8838 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8839 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'
8843 library_names_spec
='${libname}${shared_ext}'
8844 dynamic_linker
="$host_os ld.so"
8845 shlibpath_var
=LIBRARY_PATH
8851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8852 soname_spec
='${libname}${release}${shared_ext}$major'
8853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8854 shlibpath_var
=LD_LIBRARY_PATH
8855 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8856 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8857 # the default ld.so.conf also contains /usr/contrib/lib and
8858 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8859 # libtool to hard-code these into programs
8862 cygwin
* | mingw
* | pw32
*)
8863 version_type
=windows
8868 case $GCC,$host_os in
8869 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8870 library_names_spec
='$libname.dll.a'
8871 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8872 postinstall_cmds
='base_file=`basename \${file}`~
8873 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8874 dldir=$destdir/`dirname \$dlpath`~
8875 test -d \$dldir || mkdir -p \$dldir~
8876 $install_prog $dir/$dlname \$dldir/$dlname~
8877 chmod a+x \$dldir/$dlname'
8878 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8879 dlpath=$dir/\$dldll~
8881 shlibpath_overrides_runpath
=yes
8885 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8886 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8887 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8890 # MinGW DLLs use traditional 'lib' prefix
8891 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8892 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8893 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8894 # It is most probably a Windows format PATH printed by
8895 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8896 # path with ; separators, and with drive letters. We can handle the
8897 # drive letters (cygwin fileutils understands them), so leave them,
8898 # especially as we might pass files found there to a mingw objdump,
8899 # which wouldn't understand a cygwinified path. Ahh.
8900 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8902 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8906 # pw32 DLLs use 'pw' prefix rather than 'lib'
8907 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8913 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8916 dynamic_linker
='Win32 ld.exe'
8917 # FIXME: first we should search . and the directory the executable is in
8921 darwin
* | rhapsody
*)
8922 dynamic_linker
="$host_os dyld"
8926 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8927 soname_spec
='${libname}${release}${major}$shared_ext'
8928 shlibpath_overrides_runpath
=yes
8929 shlibpath_var
=DYLD_LIBRARY_PATH
8930 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8931 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8932 if test "$GCC" = yes; then
8933 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"`
8935 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8937 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8945 soname_spec
='${libname}${release}${shared_ext}$major'
8946 shlibpath_var
=LD_LIBRARY_PATH
8953 freebsd
* | dragonfly
*)
8954 # DragonFly does not have aout. When/if they implement a new
8955 # versioning mechanism, adjust this.
8956 if test -x /usr
/bin
/objformat
; then
8957 objformat
=`/usr/bin/objformat`
8960 freebsd
[123]*) objformat
=aout
;;
8964 version_type
=freebsd-
$objformat
8965 case $version_type in
8967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8972 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8976 shlibpath_var
=LD_LIBRARY_PATH
8979 shlibpath_overrides_runpath
=yes
8981 freebsd3.
[01]* | freebsdelf3.
[01]*)
8982 shlibpath_overrides_runpath
=yes
8983 hardcode_into_libs
=yes
8985 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8986 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8987 shlibpath_overrides_runpath
=no
8988 hardcode_into_libs
=yes
8990 freebsd
*) # from 4.6 on
8991 shlibpath_overrides_runpath
=yes
8992 hardcode_into_libs
=yes
9001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9002 soname_spec
='${libname}${release}${shared_ext}$major'
9003 shlibpath_var
=LD_LIBRARY_PATH
9004 hardcode_into_libs
=yes
9007 hpux9
* | hpux10
* | hpux11
*)
9008 # Give a soname corresponding to the major version so that dld.sl refuses to
9009 # link against other versions.
9016 hardcode_into_libs
=yes
9017 dynamic_linker
="$host_os dld.so"
9018 shlibpath_var
=LD_LIBRARY_PATH
9019 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9021 soname_spec
='${libname}${release}${shared_ext}$major'
9022 if test "X$HPUX_IA64_MODE" = X32
; then
9023 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9025 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9027 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9031 hardcode_into_libs
=yes
9032 dynamic_linker
="$host_os dld.sl"
9033 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9034 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9036 soname_spec
='${libname}${release}${shared_ext}$major'
9037 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9038 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9042 dynamic_linker
="$host_os dld.sl"
9043 shlibpath_var
=SHLIB_PATH
9044 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9046 soname_spec
='${libname}${release}${shared_ext}$major'
9049 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9050 postinstall_cmds
='chmod 555 $lib'
9057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9058 soname_spec
='${libname}${release}${shared_ext}$major'
9059 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9060 shlibpath_var
=LD_LIBRARY_PATH
9061 shlibpath_overrides_runpath
=no
9062 hardcode_into_libs
=yes
9065 irix5
* | irix6
* | nonstopux
*)
9067 nonstopux
*) version_type
=nonstopux
;;
9069 if test "$lt_cv_prog_gnu_ld" = yes; then
9077 soname_spec
='${libname}${release}${shared_ext}$major'
9078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9080 irix5
* | nonstopux
*)
9084 case $LD in # libtool.m4 will add one of these switches to LD
9085 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9086 libsuff
= shlibsuff
= libmagic
=32-bit;;
9087 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9088 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9089 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9090 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9091 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9095 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9096 shlibpath_overrides_runpath
=no
9097 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9098 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9099 hardcode_into_libs
=yes
9102 # No shared lib support for Linux oldld, aout, or coff.
9103 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9107 # This must be Linux ELF.
9108 linux
* | k
*bsd
*-gnu)
9112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9113 soname_spec
='${libname}${release}${shared_ext}$major'
9114 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9115 shlibpath_var
=LD_LIBRARY_PATH
9116 shlibpath_overrides_runpath
=no
9117 # This implies no fast_install, which is unacceptable.
9118 # Some rework will be needed to allow for fast_install
9119 # before this can be enabled.
9120 hardcode_into_libs
=yes
9122 # Append ld.so.conf contents to the search path
9123 if test -f /etc
/ld.so.conf
; then
9124 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9125 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9128 # We used to test for /lib/ld.so.1 and disable shared libraries on
9129 # powerpc, because MkLinux only supported shared libraries with the
9130 # GNU dynamic linker. Since this was broken with cross compilers,
9131 # most powerpc-linux boxes support dynamic linking these days and
9132 # people can always --disable-shared, the test was removed, and we
9133 # assume the GNU/Linux dynamic linker is in use.
9134 dynamic_linker
='GNU/Linux ld.so'
9141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9142 soname_spec
='${libname}${release}${shared_ext}$major'
9143 shlibpath_var
=LD_LIBRARY_PATH
9144 shlibpath_overrides_runpath
=no
9145 hardcode_into_libs
=yes
9146 dynamic_linker
='NetBSD ld.elf_so'
9153 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9155 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9156 dynamic_linker
='NetBSD (a.out) ld.so'
9158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9159 soname_spec
='${libname}${release}${shared_ext}$major'
9160 dynamic_linker
='NetBSD ld.elf_so'
9162 shlibpath_var
=LD_LIBRARY_PATH
9163 shlibpath_overrides_runpath
=yes
9164 hardcode_into_libs
=yes
9169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9170 shlibpath_var
=LD_LIBRARY_PATH
9171 shlibpath_overrides_runpath
=yes
9178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9179 soname_spec
='${libname}${release}${shared_ext}$major'
9180 shlibpath_var
=LD_LIBRARY_PATH
9181 shlibpath_overrides_runpath
=yes
9186 sys_lib_dlsearch_path_spec
="/usr/lib"
9188 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9190 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9191 *) need_version
=no
;;
9193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9194 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9195 shlibpath_var
=LD_LIBRARY_PATH
9196 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9198 openbsd2.
[89] | openbsd2.
[89].
*)
9199 shlibpath_overrides_runpath
=no
9202 shlibpath_overrides_runpath
=yes
9206 shlibpath_overrides_runpath
=yes
9211 libname_spec
='$name'
9214 library_names_spec
='$libname${shared_ext} $libname.a'
9215 dynamic_linker
='OS/2 ld.exe'
9216 shlibpath_var
=LIBPATH
9219 osf3
* | osf4
* | osf5
*)
9223 soname_spec
='${libname}${release}${shared_ext}$major'
9224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9225 shlibpath_var
=LD_LIBRARY_PATH
9226 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9227 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9235 soname_spec
='${libname}${release}${shared_ext}$major'
9236 shlibpath_var
=LD_LIBRARY_PATH
9237 shlibpath_overrides_runpath
=yes
9238 hardcode_into_libs
=yes
9239 # ldd complains unless libraries are executable
9240 postinstall_cmds
='chmod +x $lib'
9245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9246 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9247 shlibpath_var
=LD_LIBRARY_PATH
9248 shlibpath_overrides_runpath
=yes
9249 if test "$with_gnu_ld" = yes; then
9257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9258 soname_spec
='${libname}${release}${shared_ext}$major'
9259 shlibpath_var
=LD_LIBRARY_PATH
9260 case $host_vendor in
9262 shlibpath_overrides_runpath
=no
9264 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9265 runpath_var
=LD_RUN_PATH
9273 shlibpath_overrides_runpath
=no
9274 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9280 if test -d /usr
/nec
;then
9282 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9283 soname_spec
='$libname${shared_ext}.$major'
9284 shlibpath_var
=LD_LIBRARY_PATH
9288 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9289 version_type
=freebsd-elf
9292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9293 soname_spec
='${libname}${release}${shared_ext}$major'
9294 shlibpath_var
=LD_LIBRARY_PATH
9295 hardcode_into_libs
=yes
9296 if test "$with_gnu_ld" = yes; then
9297 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9298 shlibpath_overrides_runpath
=no
9300 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9301 shlibpath_overrides_runpath
=yes
9304 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9308 sys_lib_dlsearch_path_spec
='/usr/lib'
9313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9314 soname_spec
='${libname}${release}${shared_ext}$major'
9315 shlibpath_var
=LD_LIBRARY_PATH
9322 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9323 echo "${ECHO_T}$dynamic_linker" >&6; }
9324 test "$dynamic_linker" = no
&& can_build_shared
=no
9326 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9327 if test "$GCC" = yes; then
9328 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9331 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9332 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9334 if test -n "$hardcode_libdir_flag_spec" || \
9335 test -n "$runpath_var" || \
9336 test "X$hardcode_automatic" = "Xyes" ; then
9338 # We can hardcode non-existant directories.
9339 if test "$hardcode_direct" != no
&&
9340 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9341 # have to relink, otherwise we might link with an installed library
9342 # when we should be linking with a yet-to-be-installed one
9343 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9344 test "$hardcode_minus_L" != no
; then
9345 # Linking always hardcodes the temporary library directory.
9346 hardcode_action
=relink
9348 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9349 hardcode_action
=immediate
9352 # We cannot hardcode anything, or else we can only hardcode existing
9354 hardcode_action
=unsupported
9356 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9357 echo "${ECHO_T}$hardcode_action" >&6; }
9359 if test "$hardcode_action" = relink
; then
9360 # Fast installation is not supported
9361 enable_fast_install
=no
9362 elif test "$shlibpath_overrides_runpath" = yes ||
9363 test "$enable_shared" = no
; then
9364 # Fast installation is not necessary
9365 enable_fast_install
=needless
9370 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9371 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9372 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9373 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9374 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9375 { echo "$as_me:$LINENO: result: yes" >&5
9376 echo "${ECHO_T}yes" >&6; }
9378 # FIXME - insert some real tests, host_os isn't really good enough
9381 if test -n "$STRIP" ; then
9382 striplib
="$STRIP -x"
9383 { echo "$as_me:$LINENO: result: yes" >&5
9384 echo "${ECHO_T}yes" >&6; }
9386 { echo "$as_me:$LINENO: result: no" >&5
9387 echo "${ECHO_T}no" >&6; }
9391 { echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6; }
9397 if test "x$enable_dlopen" != xyes
; then
9398 enable_dlopen
=unknown
9399 enable_dlopen_self
=unknown
9400 enable_dlopen_self_static
=unknown
9407 lt_cv_dlopen
="load_add_on"
9409 lt_cv_dlopen_self
=yes
9413 lt_cv_dlopen
="LoadLibrary"
9418 lt_cv_dlopen
="dlopen"
9423 # if libdl is installed we need to link against it
9424 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9425 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9427 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 ac_check_lib_save_LIBS
=$LIBS
9431 cat >conftest.
$ac_ext <<_ACEOF
9434 cat confdefs.h
>>conftest.
$ac_ext
9435 cat >>conftest.
$ac_ext <<_ACEOF
9436 /* end confdefs.h. */
9438 /* Override any GCC internal prototype to avoid an error.
9439 Use char because int might match the return type of a GCC
9440 builtin and then its argument prototype would still apply. */
9453 rm -f conftest.
$ac_objext conftest
$ac_exeext
9454 if { (ac_try
="$ac_link"
9456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9457 *) ac_try_echo=$ac_try;;
9459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9460 (eval "$ac_link") 2>conftest.er1
9462 grep -v '^ *+' conftest.er1 >conftest.err
9464 cat conftest.err >&5
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 (exit $ac_status); } &&
9467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9468 { (case "(($ac_try" in
9469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9470 *) ac_try_echo
=$ac_try;;
9472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9473 (eval "$ac_try") 2>&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; } &&
9477 { ac_try
='test -s conftest$ac_exeext'
9478 { (case "(($ac_try" in
9479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9480 *) ac_try_echo=$ac_try;;
9482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9483 (eval "$ac_try") 2>&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); }; }; then
9487 ac_cv_lib_dl_dlopen=yes
9489 echo "$as_me: failed program was:" >&5
9490 sed 's/^/| /' conftest.$ac_ext >&5
9492 ac_cv_lib_dl_dlopen=no
9495 rm -f core conftest.err conftest.$ac_objext \
9496 conftest$ac_exeext conftest.$ac_ext
9497 LIBS=$ac_check_lib_save_LIBS
9499 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9500 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9501 if test $ac_cv_lib_dl_dlopen = yes; then
9502 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9507 lt_cv_dlopen_self=yes
9514 { echo "$as_me:$LINENO: checking for shl_load" >&5
9515 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9516 if test "${ac_cv_func_shl_load+set}" = set; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9519 cat >conftest.$ac_ext <<_ACEOF
9522 cat confdefs.h >>conftest.$ac_ext
9523 cat >>conftest.$ac_ext <<_ACEOF
9524 /* end confdefs.h. */
9525 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9527 #define shl_load innocuous_shl_load
9529 /* System header to define __stub macros and hopefully few prototypes,
9530 which can conflict with char shl_load (); below.
9531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9532 <limits.h> exists even on freestanding compilers. */
9535 # include <limits.h>
9537 # include <assert.h>
9542 /* Override any GCC internal prototype to avoid an error.
9543 Use char because int might match the return type of a GCC
9544 builtin and then its argument prototype would still apply. */
9549 /* The GNU C library defines this for functions which it implements
9550 to always fail with ENOSYS. Some functions are actually named
9551 something starting with __ and the normal name is an alias. */
9552 #if defined __stub_shl_load || defined __stub___shl_load
9564 rm -f conftest.$ac_objext conftest$ac_exeext
9565 if { (ac_try="$ac_link"
9567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9568 *) ac_try_echo
=$ac_try;;
9570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9571 (eval "$ac_link") 2>conftest.er1
9573 grep -v '^ *+' conftest.er1
>conftest.err
9575 cat conftest.err
>&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); } &&
9578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9579 { (case "(($ac_try" in
9580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9581 *) ac_try_echo=$ac_try;;
9583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9584 (eval "$ac_try") 2>&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; } &&
9588 { ac_try='test -s conftest$ac_exeext'
9589 { (case "(($ac_try" in
9590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9591 *) ac_try_echo
=$ac_try;;
9593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594 (eval "$ac_try") 2>&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); }; }; then
9598 ac_cv_func_shl_load
=yes
9600 echo "$as_me: failed program was:" >&5
9601 sed 's/^/| /' conftest.
$ac_ext >&5
9603 ac_cv_func_shl_load
=no
9606 rm -f core conftest.err conftest.
$ac_objext \
9607 conftest
$ac_exeext conftest.
$ac_ext
9609 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9610 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9611 if test $ac_cv_func_shl_load = yes; then
9612 lt_cv_dlopen
="shl_load"
9614 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9615 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9616 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9619 ac_check_lib_save_LIBS
=$LIBS
9621 cat >conftest.
$ac_ext <<_ACEOF
9624 cat confdefs.h
>>conftest.
$ac_ext
9625 cat >>conftest.
$ac_ext <<_ACEOF
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9643 rm -f conftest.
$ac_objext conftest
$ac_exeext
9644 if { (ac_try
="$ac_link"
9646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9647 *) ac_try_echo=$ac_try;;
9649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9650 (eval "$ac_link") 2>conftest.er1
9652 grep -v '^ *+' conftest.er1 >conftest.err
9654 cat conftest.err >&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); } &&
9657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9658 { (case "(($ac_try" in
9659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9660 *) ac_try_echo
=$ac_try;;
9662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9663 (eval "$ac_try") 2>&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); }; } &&
9667 { ac_try
='test -s conftest$ac_exeext'
9668 { (case "(($ac_try" in
9669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9670 *) ac_try_echo=$ac_try;;
9672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9673 (eval "$ac_try") 2>&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; }; then
9677 ac_cv_lib_dld_shl_load=yes
9679 echo "$as_me: failed program was:" >&5
9680 sed 's/^/| /' conftest.$ac_ext >&5
9682 ac_cv_lib_dld_shl_load=no
9685 rm -f core conftest.err conftest.$ac_objext \
9686 conftest$ac_exeext conftest.$ac_ext
9687 LIBS=$ac_check_lib_save_LIBS
9689 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9690 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9691 if test $ac_cv_lib_dld_shl_load = yes; then
9692 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9694 { echo "$as_me:$LINENO: checking for dlopen" >&5
9695 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9696 if test "${ac_cv_func_dlopen+set}" = set; then
9697 echo $ECHO_N "(cached) $ECHO_C" >&6
9699 cat >conftest.$ac_ext <<_ACEOF
9702 cat confdefs.h >>conftest.$ac_ext
9703 cat >>conftest.$ac_ext <<_ACEOF
9704 /* end confdefs.h. */
9705 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9707 #define dlopen innocuous_dlopen
9709 /* System header to define __stub macros and hopefully few prototypes,
9710 which can conflict with char dlopen (); below.
9711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9712 <limits.h> exists even on freestanding compilers. */
9715 # include <limits.h>
9717 # include <assert.h>
9722 /* Override any GCC internal prototype to avoid an error.
9723 Use char because int might match the return type of a GCC
9724 builtin and then its argument prototype would still apply. */
9729 /* The GNU C library defines this for functions which it implements
9730 to always fail with ENOSYS. Some functions are actually named
9731 something starting with __ and the normal name is an alias. */
9732 #if defined __stub_dlopen || defined __stub___dlopen
9744 rm -f conftest.$ac_objext conftest$ac_exeext
9745 if { (ac_try="$ac_link"
9747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9748 *) ac_try_echo
=$ac_try;;
9750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9751 (eval "$ac_link") 2>conftest.er1
9753 grep -v '^ *+' conftest.er1
>conftest.err
9755 cat conftest.err
>&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); } &&
9758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9759 { (case "(($ac_try" in
9760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9761 *) ac_try_echo=$ac_try;;
9763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9764 (eval "$ac_try") 2>&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); }; } &&
9768 { ac_try='test -s conftest$ac_exeext'
9769 { (case "(($ac_try" in
9770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9771 *) ac_try_echo
=$ac_try;;
9773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9774 (eval "$ac_try") 2>&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; }; then
9778 ac_cv_func_dlopen
=yes
9780 echo "$as_me: failed program was:" >&5
9781 sed 's/^/| /' conftest.
$ac_ext >&5
9783 ac_cv_func_dlopen
=no
9786 rm -f core conftest.err conftest.
$ac_objext \
9787 conftest
$ac_exeext conftest.
$ac_ext
9789 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9790 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9791 if test $ac_cv_func_dlopen = yes; then
9792 lt_cv_dlopen
="dlopen"
9794 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9795 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9796 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9797 echo $ECHO_N "(cached) $ECHO_C" >&6
9799 ac_check_lib_save_LIBS
=$LIBS
9801 cat >conftest.
$ac_ext <<_ACEOF
9804 cat confdefs.h
>>conftest.
$ac_ext
9805 cat >>conftest.
$ac_ext <<_ACEOF
9806 /* end confdefs.h. */
9808 /* Override any GCC internal prototype to avoid an error.
9809 Use char because int might match the return type of a GCC
9810 builtin and then its argument prototype would still apply. */
9823 rm -f conftest.
$ac_objext conftest
$ac_exeext
9824 if { (ac_try
="$ac_link"
9826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9827 *) ac_try_echo=$ac_try;;
9829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9830 (eval "$ac_link") 2>conftest.er1
9832 grep -v '^ *+' conftest.er1 >conftest.err
9834 cat conftest.err >&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); } &&
9837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9838 { (case "(($ac_try" in
9839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9840 *) ac_try_echo
=$ac_try;;
9842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9843 (eval "$ac_try") 2>&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; } &&
9847 { ac_try
='test -s conftest$ac_exeext'
9848 { (case "(($ac_try" in
9849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_try") 2>&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); }; }; then
9857 ac_cv_lib_dl_dlopen=yes
9859 echo "$as_me: failed program was:" >&5
9860 sed 's/^/| /' conftest.$ac_ext >&5
9862 ac_cv_lib_dl_dlopen=no
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 LIBS=$ac_check_lib_save_LIBS
9869 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9870 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9871 if test $ac_cv_lib_dl_dlopen = yes; then
9872 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9874 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9875 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9876 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9879 ac_check_lib_save_LIBS=$LIBS
9881 cat >conftest.$ac_ext <<_ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h. */
9888 /* Override any GCC internal prototype to avoid an error.
9889 Use char because int might match the return type of a GCC
9890 builtin and then its argument prototype would still apply. */
9903 rm -f conftest.$ac_objext conftest$ac_exeext
9904 if { (ac_try="$ac_link"
9906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9907 *) ac_try_echo
=$ac_try;;
9909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9910 (eval "$ac_link") 2>conftest.er1
9912 grep -v '^ *+' conftest.er1
>conftest.err
9914 cat conftest.err
>&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); } &&
9917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9918 { (case "(($ac_try" in
9919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9920 *) ac_try_echo=$ac_try;;
9922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9923 (eval "$ac_try") 2>&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); }; } &&
9927 { ac_try='test -s conftest$ac_exeext'
9928 { (case "(($ac_try" in
9929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9930 *) ac_try_echo
=$ac_try;;
9932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9933 (eval "$ac_try") 2>&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; }; then
9937 ac_cv_lib_svld_dlopen
=yes
9939 echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.
$ac_ext >&5
9942 ac_cv_lib_svld_dlopen
=no
9945 rm -f core conftest.err conftest.
$ac_objext \
9946 conftest
$ac_exeext conftest.
$ac_ext
9947 LIBS
=$ac_check_lib_save_LIBS
9949 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9950 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9951 if test $ac_cv_lib_svld_dlopen = yes; then
9952 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9954 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9955 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9956 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9957 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 ac_check_lib_save_LIBS
=$LIBS
9961 cat >conftest.
$ac_ext <<_ACEOF
9964 cat confdefs.h
>>conftest.
$ac_ext
9965 cat >>conftest.
$ac_ext <<_ACEOF
9966 /* end confdefs.h. */
9968 /* Override any GCC internal prototype to avoid an error.
9969 Use char because int might match the return type of a GCC
9970 builtin and then its argument prototype would still apply. */
9983 rm -f conftest.
$ac_objext conftest
$ac_exeext
9984 if { (ac_try
="$ac_link"
9986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9987 *) ac_try_echo=$ac_try;;
9989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9990 (eval "$ac_link") 2>conftest.er1
9992 grep -v '^ *+' conftest.er1 >conftest.err
9994 cat conftest.err >&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); } &&
9997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9998 { (case "(($ac_try" in
9999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10000 *) ac_try_echo
=$ac_try;;
10002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10003 (eval "$ac_try") 2>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }; } &&
10007 { ac_try
='test -s conftest$ac_exeext'
10008 { (case "(($ac_try" in
10009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10010 *) ac_try_echo=$ac_try;;
10012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10013 (eval "$ac_try") 2>&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); }; }; then
10017 ac_cv_lib_dld_dld_link=yes
10019 echo "$as_me: failed program was:" >&5
10020 sed 's/^/| /' conftest.$ac_ext >&5
10022 ac_cv_lib_dld_dld_link=no
10025 rm -f core conftest.err conftest.$ac_objext \
10026 conftest$ac_exeext conftest.$ac_ext
10027 LIBS=$ac_check_lib_save_LIBS
10029 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10030 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10031 if test $ac_cv_lib_dld_dld_link = yes; then
10032 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10053 if test "x$lt_cv_dlopen" != xno; then
10059 case $lt_cv_dlopen in
10061 save_CPPFLAGS="$CPPFLAGS"
10062 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10064 save_LDFLAGS="$LDFLAGS"
10065 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10068 LIBS="$lt_cv_dlopen_libs $LIBS"
10070 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10071 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10072 if test "${lt_cv_dlopen_self+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10075 if test "$cross_compiling" = yes; then :
10076 lt_cv_dlopen_self=cross
10078 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10079 lt_status=$lt_dlunknown
10080 cat > conftest.$ac_ext <<EOF
10081 #line 10081 "configure"
10082 #include "confdefs.h"
10091 # define LT_DLGLOBAL RTLD_GLOBAL
10094 # define LT_DLGLOBAL DL_GLOBAL
10096 # define LT_DLGLOBAL 0
10100 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10101 find out it does not work in some platform. */
10102 #ifndef LT_DLLAZY_OR_NOW
10104 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10107 # define LT_DLLAZY_OR_NOW DL_LAZY
10110 # define LT_DLLAZY_OR_NOW RTLD_NOW
10113 # define LT_DLLAZY_OR_NOW DL_NOW
10115 # define LT_DLLAZY_OR_NOW 0
10123 extern "C" void exit (int);
10126 void fnord() { int i=42;}
10129 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10130 int status = $lt_dlunknown;
10134 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10135 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10136 /* dlclose (self); */
10144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10145 (eval $ac_link) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10149 (./conftest; exit; ) >&5 2>/dev/null
10151 case x$lt_status in
10152 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10153 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10154 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10157 # compilation failed
10158 lt_cv_dlopen_self=no
10165 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10166 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10168 if test "x$lt_cv_dlopen_self" = xyes; then
10169 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10170 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10171 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10172 if test "${lt_cv_dlopen_self_static+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6
10175 if test "$cross_compiling" = yes; then :
10176 lt_cv_dlopen_self_static=cross
10178 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10179 lt_status=$lt_dlunknown
10180 cat > conftest.$ac_ext <<EOF
10181 #line 10181 "configure"
10182 #include "confdefs.h"
10191 # define LT_DLGLOBAL RTLD_GLOBAL
10194 # define LT_DLGLOBAL DL_GLOBAL
10196 # define LT_DLGLOBAL 0
10200 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10201 find out it does not work in some platform. */
10202 #ifndef LT_DLLAZY_OR_NOW
10204 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10207 # define LT_DLLAZY_OR_NOW DL_LAZY
10210 # define LT_DLLAZY_OR_NOW RTLD_NOW
10213 # define LT_DLLAZY_OR_NOW DL_NOW
10215 # define LT_DLLAZY_OR_NOW 0
10223 extern "C" void exit (int);
10226 void fnord() { int i=42;}
10229 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10230 int status = $lt_dlunknown;
10234 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10235 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10236 /* dlclose (self); */
10244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10245 (eval $ac_link) 2>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10249 (./conftest; exit; ) >&5 2>/dev/null
10251 case x$lt_status in
10252 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10253 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10254 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10257 # compilation failed
10258 lt_cv_dlopen_self_static=no
10265 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10266 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10269 CPPFLAGS="$save_CPPFLAGS"
10270 LDFLAGS="$save_LDFLAGS"
10275 case $lt_cv_dlopen_self in
10276 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10277 *) enable_dlopen_self=unknown ;;
10280 case $lt_cv_dlopen_self_static in
10281 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10282 *) enable_dlopen_self_static=unknown ;;
10287 # Report which library types will actually be built
10288 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10289 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10290 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10291 echo "${ECHO_T}$can_build_shared" >&6; }
10293 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10294 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10295 test "$can_build_shared" = "no" && enable_shared=no
10297 # On AIX, shared libraries and static libraries use the same namespace, and
10298 # are all built from PIC.
10301 test "$enable_shared" = yes && enable_static=no
10302 if test -n "$RANLIB"; then
10303 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10304 postinstall_cmds='$RANLIB $lib'
10309 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10310 test "$enable_shared" = yes && enable_static=no
10314 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10315 echo "${ECHO_T}$enable_shared" >&6; }
10317 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10318 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10319 # Make sure either enable_shared or enable_static is yes.
10320 test "$enable_shared" = yes || enable_static=yes
10321 { echo "$as_me:$LINENO: result: $enable_static" >&5
10322 echo "${ECHO_T}$enable_static" >&6; }
10324 # The else clause should only fire when bootstrapping the
10325 # libtool distribution, otherwise you forgot to ship ltmain.sh
10326 # with your package, and you will get complaints that there are
10327 # no rules to generate ltmain.sh.
10328 if test -f "$ltmain"; then
10329 # See if we are running on zsh, and set the options which allow our commands through
10330 # without removal of \ escapes.
10331 if test -n "${ZSH_VERSION+set}" ; then
10332 setopt NO_GLOB_SUBST
10334 # Now quote all the things that may contain metacharacters while being
10335 # careful not to overquote the AC_SUBSTed values. We take copies of the
10336 # variables and quote the copies for generation of the libtool script.
10337 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10339 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10340 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10341 deplibs_check_method reload_flag reload_cmds need_locks \
10342 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10343 lt_cv_sys_global_symbol_to_c_name_address \
10344 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10345 old_postinstall_cmds old_postuninstall_cmds \
10349 lt_prog_compiler_wl \
10350 lt_prog_compiler_pic \
10351 lt_prog_compiler_static \
10352 lt_prog_compiler_no_builtin_flag \
10353 export_dynamic_flag_spec \
10354 thread_safe_flag_spec \
10355 whole_archive_flag_spec \
10356 enable_shared_with_static_runtimes \
10358 old_archive_from_new_cmds \
10363 compiler_lib_search_path \
10365 archive_expsym_cmds \
10367 postuninstall_cmds \
10368 old_archive_from_expsyms_cmds \
10369 allow_undefined_flag \
10370 no_undefined_flag \
10371 export_symbols_cmds \
10372 hardcode_libdir_flag_spec \
10373 hardcode_libdir_flag_spec_ld \
10374 hardcode_libdir_separator \
10375 hardcode_automatic \
10377 module_expsym_cmds \
10378 lt_cv_prog_compiler_c_o \
10380 include_expsyms; do
10383 old_archive_cmds | \
10384 old_archive_from_new_cmds | \
10386 archive_expsym_cmds | \
10388 module_expsym_cmds | \
10389 old_archive_from_expsyms_cmds | \
10390 export_symbols_cmds | \
10391 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10392 postinstall_cmds | postuninstall_cmds | \
10393 old_postinstall_cmds | old_postuninstall_cmds | \
10394 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10395 # Double-quote double-evaled strings.
10396 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10399 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10405 *'\$0 --fallback-echo"')
10406 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10410 cfgfile="${ofile}T"
10411 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10413 { echo "$as_me:$LINENO: creating $ofile" >&5
10414 echo "$as_me: creating $ofile" >&6;}
10416 cat <<__EOF__ >> "$cfgfile"
10419 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10420 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10421 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10423 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10424 # Free Software Foundation, Inc.
10426 # This file is part of GNU Libtool:
10427 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10429 # This program is free software; you can redistribute it and/or modify
10430 # it under the terms of the GNU General Public License as published by
10431 # the Free Software Foundation; either version 2 of the License, or
10432 # (at your option) any later version.
10434 # This program is distributed in the hope that it will be useful, but
10435 # WITHOUT ANY WARRANTY; without even the implied warranty of
10436 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10437 # General Public License for more details.
10439 # You should have received a copy of the GNU General Public License
10440 # along with this program; if not, write to the Free Software
10441 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10443 # As a special exception to the GNU General Public License, if you
10444 # distribute this file as part of a program that contains a
10445 # configuration script generated by Autoconf, you may include it under
10446 # the same distribution terms that you use for the rest of that program.
10448 # A sed program that does not truncate output.
10451 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10452 Xsed="$SED -e 1s/^X//"
10454 # The HP-UX ksh and POSIX shell print the target directory to stdout
10455 # if CDPATH is set.
10456 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10458 # The names of the tagged configurations supported by this script.
10461 # ### BEGIN LIBTOOL CONFIG
10463 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10465 # Shell to use when invoking shell scripts.
10468 # Whether or not to build shared libraries.
10469 build_libtool_libs=$enable_shared
10471 # Whether or not to build static libraries.
10472 build_old_libs=$enable_static
10474 # Whether or not to add -lc for building shared libraries.
10475 build_libtool_need_lc=$archive_cmds_need_lc
10477 # Whether or not to disallow shared libs when runtime libs are static
10478 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10480 # Whether or not to optimize for fast installation.
10481 fast_install=$enable_fast_install
10484 host_alias=$host_alias
10488 # The build system.
10489 build_alias=$build_alias
10493 # An echo program that does not interpret backslashes.
10498 AR_FLAGS=$lt_AR_FLAGS
10503 # LTCC compiler flags.
10504 LTCFLAGS=$lt_LTCFLAGS
10506 # A language-specific compiler.
10509 # Is the compiler the GNU C compiler?
10515 # The linker used to build libraries.
10518 # Whether we need hard or soft links.
10521 # A BSD-compatible nm program.
10524 # A symbol stripping program
10527 # Used to examine libraries when file_magic_cmd begins "file"
10528 MAGIC_CMD=$MAGIC_CMD
10530 # Used on cygwin: DLL creation program.
10533 # Used on cygwin: object dumper.
10536 # Used on cygwin: assembler.
10539 # The name of the directory that contains temporary libtool files.
10542 # How to create reloadable object files.
10543 reload_flag=$lt_reload_flag
10544 reload_cmds=$lt_reload_cmds
10546 # How to pass a linker flag through the compiler.
10547 wl=$lt_lt_prog_compiler_wl
10549 # Object file suffix (normally "o").
10550 objext="$ac_objext"
10552 # Old archive suffix (normally "a").
10555 # Shared library suffix (normally ".so").
10556 shrext_cmds='$shrext_cmds'
10558 # Executable file suffix (normally "").
10561 # Additional compiler flags for building library objects.
10562 pic_flag=$lt_lt_prog_compiler_pic
10565 # What is the maximum length of a command?
10566 max_cmd_len=$lt_cv_sys_max_cmd_len
10568 # Does compiler simultaneously support -c and -o options?
10569 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10571 # Must we lock files when doing compilation?
10572 need_locks=$lt_need_locks
10574 # Do we need the lib prefix for modules?
10575 need_lib_prefix=$need_lib_prefix
10577 # Do we need a version for libraries?
10578 need_version=$need_version
10580 # Whether dlopen is supported.
10581 dlopen_support=$enable_dlopen
10583 # Whether dlopen of programs is supported.
10584 dlopen_self=$enable_dlopen_self
10586 # Whether dlopen of statically linked programs is supported.
10587 dlopen_self_static=$enable_dlopen_self_static
10589 # Compiler flag to prevent dynamic linking.
10590 link_static_flag=$lt_lt_prog_compiler_static
10592 # Compiler flag to turn off builtin functions.
10593 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10595 # Compiler flag to allow reflexive dlopens.
10596 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10598 # Compiler flag to generate shared objects directly from archives.
10599 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10601 # Compiler flag to generate thread-safe objects.
10602 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10604 # Library versioning type.
10605 version_type=$version_type
10607 # Format of library name prefix.
10608 libname_spec=$lt_libname_spec
10610 # List of archive names. First name is the real one, the rest are links.
10611 # The last name is the one that the linker finds with -lNAME.
10612 library_names_spec=$lt_library_names_spec
10614 # The coded name of the library, if different from the real name.
10615 soname_spec=$lt_soname_spec
10617 # Commands used to build and install an old-style archive.
10619 old_archive_cmds=$lt_old_archive_cmds
10620 old_postinstall_cmds=$lt_old_postinstall_cmds
10621 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10623 # Create an old-style archive from a shared archive.
10624 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10626 # Create a temporary old-style archive to link instead of a shared archive.
10627 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10629 # Commands used to build and install a shared archive.
10630 archive_cmds=$lt_archive_cmds
10631 archive_expsym_cmds=$lt_archive_expsym_cmds
10632 postinstall_cmds=$lt_postinstall_cmds
10633 postuninstall_cmds=$lt_postuninstall_cmds
10635 # Commands used to build a loadable module (assumed same as above if empty)
10636 module_cmds=$lt_module_cmds
10637 module_expsym_cmds=$lt_module_expsym_cmds
10639 # Commands to strip libraries.
10640 old_striplib=$lt_old_striplib
10641 striplib=$lt_striplib
10643 # Dependencies to place before the objects being linked to create a
10645 predep_objects=$lt_predep_objects
10647 # Dependencies to place after the objects being linked to create a
10649 postdep_objects=$lt_postdep_objects
10651 # Dependencies to place before the objects being linked to create a
10653 predeps=$lt_predeps
10655 # Dependencies to place after the objects being linked to create a
10657 postdeps=$lt_postdeps
10659 # The library search path used internally by the compiler when linking
10660 # a shared library.
10661 compiler_lib_search_path=$lt_compiler_lib_search_path
10663 # Method to check whether dependent libraries are shared objects.
10664 deplibs_check_method=$lt_deplibs_check_method
10666 # Command to use when deplibs_check_method == file_magic.
10667 file_magic_cmd=$lt_file_magic_cmd
10669 # Flag that allows shared libraries with undefined symbols to be built.
10670 allow_undefined_flag=$lt_allow_undefined_flag
10672 # Flag that forces no undefined symbols.
10673 no_undefined_flag=$lt_no_undefined_flag
10675 # Commands used to finish a libtool library installation in a directory.
10676 finish_cmds=$lt_finish_cmds
10678 # Same as above, but a single script fragment to be evaled but not shown.
10679 finish_eval=$lt_finish_eval
10681 # Take the output of nm and produce a listing of raw symbols and C names.
10682 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10684 # Transform the output of nm in a proper C declaration
10685 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10687 # Transform the output of nm in a C name address pair
10688 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10690 # This is the shared library runtime path variable.
10691 runpath_var=$runpath_var
10693 # This is the shared library path variable.
10694 shlibpath_var=$shlibpath_var
10696 # Is shlibpath searched before the hard-coded library search path?
10697 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10699 # How to hardcode a shared library path into an executable.
10700 hardcode_action=$hardcode_action
10702 # Whether we should hardcode library paths into libraries.
10703 hardcode_into_libs=$hardcode_into_libs
10705 # Flag to hardcode \$libdir into a binary during linking.
10706 # This must work even if \$libdir does not exist.
10707 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10709 # If ld is used when linking, flag to hardcode \$libdir into
10710 # a binary during linking. This must work even if \$libdir does
10712 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10714 # Whether we need a single -rpath flag with a separated argument.
10715 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10717 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10718 # resulting binary.
10719 hardcode_direct=$hardcode_direct
10721 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10722 # resulting binary.
10723 hardcode_minus_L=$hardcode_minus_L
10725 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10726 # the resulting binary.
10727 hardcode_shlibpath_var=$hardcode_shlibpath_var
10729 # Set to yes if building a shared library automatically hardcodes DIR into the library
10730 # and all subsequent libraries and executables linked against it.
10731 hardcode_automatic=$hardcode_automatic
10733 # Variables whose values should be saved in libtool wrapper scripts and
10734 # restored at relink time.
10735 variables_saved_for_relink="$variables_saved_for_relink"
10737 # Whether libtool must link a program against all its dependency libraries.
10738 link_all_deplibs=$link_all_deplibs
10740 # Compile-time system search path for libraries
10741 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10743 # Run-time system search path for libraries
10744 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10746 # Fix the shell variable \$srcfile for the compiler.
10747 fix_srcfile_path="$fix_srcfile_path"
10749 # Set to yes if exported symbols are required.
10750 always_export_symbols=$always_export_symbols
10752 # The commands to list exported symbols.
10753 export_symbols_cmds=$lt_export_symbols_cmds
10755 # The commands to extract the exported symbol list from a shared archive.
10756 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10758 # Symbols that should not be listed in the preloaded symbols.
10759 exclude_expsyms=$lt_exclude_expsyms
10761 # Symbols that must always be exported.
10762 include_expsyms=$lt_include_expsyms
10764 # ### END LIBTOOL CONFIG
10771 cat <<\EOF >> "$cfgfile"
10773 # AIX sometimes has problems with the GCC collect2 program. For some
10774 # reason, if we set the COLLECT_NAMES environment variable, the problems
10775 # vanish in a puff of smoke.
10776 if test "X${COLLECT_NAMES+set}" != Xset; then
10778 export COLLECT_NAMES
10784 # We use sed instead of cat because bash on DJGPP gets confused if
10785 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10786 # text mode, it properly converts lines to CR/LF. This bash problem
10787 # is reportedly fixed, but why not run on old versions too?
10788 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10790 mv -f "$cfgfile" "$ofile" || \
10791 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10795 # If there is no Makefile yet, we rely on a make rule to execute
10796 # `config.status
--recheck' to rerun these tests and create the
10797 # libtool script then.
10798 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10799 if test -f "$ltmain_in"; then
10800 test -f Makefile && make "$ltmain"
10806 ac_cpp='$CPP $CPPFLAGS'
10807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10808 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10814 # Check whether --with-tags was given.
10815 if test "${with_tags+set}" = set; then
10816 withval=$with_tags; tagnames="$withval"
10820 if test -f "$ltmain" && test -n "$tagnames"; then
10821 if test ! -f "${ofile}"; then
10822 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10823 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10826 if test -z "$LTCC"; then
10827 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10828 if test -z "$LTCC"; then
10829 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10830 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10832 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10833 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10836 if test -z "$LTCFLAGS"; then
10837 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10840 # Extract list of available tagged configurations in $ofile.
10841 # Note that this assumes the entire list is on one line.
10842 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10844 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10845 for tagname in $tagnames; do
10847 # Check whether tagname contains only valid characters
10848 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10850 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10851 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10852 { (exit 1); exit 1; }; }
10856 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10858 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10859 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10860 { (exit 1); exit 1; }; }
10863 # Update the list of available tags.
10864 if test -n "$tagname"; then
10865 echo appending configuration tag \"$tagname\" to $ofile
10869 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10870 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10871 (test "X$CXX" != "Xg++"))) ; then
10873 ac_cpp='$CXXCPP $CPPFLAGS'
10874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10881 archive_cmds_need_lc_CXX=no
10882 allow_undefined_flag_CXX=
10883 always_export_symbols_CXX=no
10884 archive_expsym_cmds_CXX=
10885 export_dynamic_flag_spec_CXX=
10886 hardcode_direct_CXX=no
10887 hardcode_libdir_flag_spec_CXX=
10888 hardcode_libdir_flag_spec_ld_CXX=
10889 hardcode_libdir_separator_CXX=
10890 hardcode_minus_L_CXX=no
10891 hardcode_shlibpath_var_CXX=unsupported
10892 hardcode_automatic_CXX=no
10894 module_expsym_cmds_CXX=
10895 link_all_deplibs_CXX=unknown
10896 old_archive_cmds_CXX=$old_archive_cmds
10897 no_undefined_flag_CXX=
10898 whole_archive_flag_spec_CXX=
10899 enable_shared_with_static_runtimes_CXX=no
10901 # Dependencies to place before and after the object being linked:
10902 predep_objects_CXX=
10903 postdep_objects_CXX=
10906 compiler_lib_search_path_CXX=
10908 # Source file extension for C++ test sources.
10911 # Object file extension for compiled C++ test sources.
10915 # Code to be used in simple compile tests
10916 lt_simple_compile_test_code="int some_variable = 0;\n"
10918 # Code to be used in simple link tests
10919 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10921 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10923 # If no C compiler was specified, use CC.
10926 # If no C compiler flags were specified, use CFLAGS.
10927 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10929 # Allow CC to be a program name with arguments.
10933 # save warnings/boilerplate of simple test code
10934 ac_outfile=conftest.$ac_objext
10935 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10936 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10937 _lt_compiler_boilerplate=`cat conftest.err
`
10940 ac_outfile=conftest.$ac_objext
10941 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10942 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10943 _lt_linker_boilerplate=`cat conftest.err
`
10947 # Allow CC to be a program name with arguments.
10952 lt_save_with_gnu_ld=$with_gnu_ld
10953 lt_save_path_LD=$lt_cv_path_LD
10954 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10955 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10957 $as_unset lt_cv_prog_gnu_ld
10959 if test -n "${lt_cv_path_LDCXX+set}"; then
10960 lt_cv_path_LD=$lt_cv_path_LDCXX
10962 $as_unset lt_cv_path_LD
10964 test -z "${LDCXX+set}" || LD=$LDCXX
10968 for cc_temp in $compiler""; do
10970 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10971 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10976 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10979 # We don't want -fno-exception wen compiling C++ code, so set the
10980 # no_builtin_flag separately
10981 if test "$GXX" = yes; then
10982 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10984 lt_prog_compiler_no_builtin_flag_CXX=
10987 if test "$GXX" = yes; then
10988 # Set up default GNU C++ configuration
10991 # Check whether --with-gnu-ld was given.
10992 if test "${with_gnu_ld+set}" = set; then
10993 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10999 if test "$GCC" = yes; then
11000 # Check if gcc -print-prog-name=ld gives a path.
11001 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11002 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11005 # gcc leaves a trailing carriage return which upsets mingw
11006 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11008 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11011 # Accept absolute paths.
11013 re_direlt='/[^/][^/]*/\.\./'
11014 # Canonicalize the pathname of ld
11015 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11016 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11017 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11019 test -z "$LD" && LD="$ac_prog"
11022 # If it fails, then pretend we aren't using GCC.
11026 # If it is relative, then search for the first ld in PATH.
11027 with_gnu_ld=unknown
11030 elif test "$with_gnu_ld" = yes; then
11031 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11032 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11034 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11035 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11037 if test "${lt_cv_path_LD+set}" = set; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6
11040 if test -z "$LD"; then
11041 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11042 for ac_dir in $PATH; do
11044 test -z "$ac_dir" && ac_dir=.
11045 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11046 lt_cv_path_LD="$ac_dir/$ac_prog"
11047 # Check to see if the program is GNU ld. I'd rather use --version,
11048 # but apparently some variants of GNU ld only accept -v.
11049 # Break only if it was the GNU/non-GNU ld that we prefer.
11050 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11051 *GNU* | *'with BFD'*)
11052 test "$with_gnu_ld" != no && break
11055 test "$with_gnu_ld" != yes && break
11062 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11066 LD="$lt_cv_path_LD"
11067 if test -n "$LD"; then
11068 { echo "$as_me:$LINENO: result: $LD" >&5
11069 echo "${ECHO_T}$LD" >&6; }
11071 { echo "$as_me:$LINENO: result: no" >&5
11072 echo "${ECHO_T}no" >&6; }
11074 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11075 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11076 { (exit 1); exit 1; }; }
11077 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11078 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11079 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11080 echo $ECHO_N "(cached) $ECHO_C" >&6
11082 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11083 case `$LD -v 2>&1 </dev
/null
` in
11084 *GNU* | *'with BFD'*)
11085 lt_cv_prog_gnu_ld=yes
11088 lt_cv_prog_gnu_ld=no
11092 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11093 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11094 with_gnu_ld=$lt_cv_prog_gnu_ld
11098 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11099 # archiving commands below assume that GNU ld is being used.
11100 if test "$with_gnu_ld" = yes; then
11101 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11102 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'
11104 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11105 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11107 # If archive_cmds runs LD, not CC, wlarc should be empty
11108 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11109 # investigate it a little bit more. (MM)
11112 # ancient GNU ld didn't support --whole-archive et. al.
11113 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11114 grep 'no-whole-archive' > /dev/null; then
11115 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11117 whole_archive_flag_spec_CXX=
11123 # A generic and very simple default shared library creation
11124 # command for GNU C++ for the case where it uses the native
11125 # linker, instead of GNU ld. If possible, this setting should
11126 # overridden to take advantage of the native linker features on
11127 # the platform it is being used on.
11128 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11131 # Commands to make compiler produce verbose output that lists
11132 # what "hidden" libraries, object files and flags are used when
11133 # linking a shared library.
11134 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11142 # PORTME: fill in a description of your system's C++ link characteristics
11143 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11144 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11148 # FIXME: insert proper C++ library support
11152 if test "$host_cpu" = ia64; then
11153 # On IA64, the linker does run time linking by default, so we don't
11154 # have to do anything special.
11155 aix_use_runtimelinking=no
11156 exp_sym_flag='-Bexport'
11159 aix_use_runtimelinking=no
11161 # Test if we are trying to use run time linking or normal
11162 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11163 # need to do runtime linking.
11164 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11165 for ld_flag in $LDFLAGS; do
11168 aix_use_runtimelinking=yes
11176 exp_sym_flag='-bexport'
11177 no_entry_flag='-bnoentry'
11180 # When large executables or shared objects are built, AIX ld can
11181 # have problems creating the table of contents. If linking a library
11182 # or program results in "error TOC overflow" add -mminimal-toc to
11183 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11184 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11186 archive_cmds_CXX=''
11187 hardcode_direct_CXX=yes
11188 hardcode_libdir_separator_CXX=':'
11189 link_all_deplibs_CXX=yes
11191 if test "$GXX" = yes; then
11192 case $host_os in aix4.[012]|aix4.[012].*)
11193 # We only want to do this on AIX 4.2 and lower, the check
11194 # below for broken collect2 doesn't work under 4.3+
11195 collect2name=`${CC} -print-prog-name=collect2
`
11196 if test -f "$collect2name" && \
11197 strings "$collect2name" | grep resolve_lib_name >/dev/null
11199 # We have reworked collect2
11200 hardcode_direct_CXX=yes
11202 # We have old collect2
11203 hardcode_direct_CXX=unsupported
11204 # It fails to find uninstalled libraries when the uninstalled
11205 # path is not listed in the libpath. Setting hardcode_minus_L
11206 # to unsupported forces relinking
11207 hardcode_minus_L_CXX=yes
11208 hardcode_libdir_flag_spec_CXX='-L$libdir'
11209 hardcode_libdir_separator_CXX=
11213 shared_flag='-shared'
11214 if test "$aix_use_runtimelinking" = yes; then
11215 shared_flag="$shared_flag "'${wl}-G'
11219 if test "$host_cpu" = ia64; then
11220 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11221 # chokes on -Wl,-G. The following line is correct:
11224 if test "$aix_use_runtimelinking" = yes; then
11225 shared_flag='${wl}-G'
11227 shared_flag='${wl}-bM:SRE'
11232 # It seems that -bexpall does not export symbols beginning with
11233 # underscore (_), so it is better to generate a list of symbols to export.
11234 always_export_symbols_CXX=yes
11235 if test "$aix_use_runtimelinking" = yes; then
11236 # Warning - without using the other runtime loading flags (-brtl),
11237 # -berok will link without error, but may produce a broken library.
11238 allow_undefined_flag_CXX='-berok'
11239 # Determine the default libpath from the value encoded in an empty executable.
11240 cat >conftest.$ac_ext <<_ACEOF
11243 cat confdefs.h >>conftest.$ac_ext
11244 cat >>conftest.$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11255 rm -f conftest.$ac_objext conftest$ac_exeext
11256 if { (ac_try="$ac_link"
11257 case "(($ac_try" in
11258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11259 *) ac_try_echo
=$ac_try;;
11261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11262 (eval "$ac_link") 2>conftest.er1
11264 grep -v '^ *+' conftest.er1
>conftest.err
11266 cat conftest.err
>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } &&
11269 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11270 { (case "(($ac_try" in
11271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11272 *) ac_try_echo=$ac_try;;
11274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11275 (eval "$ac_try") 2>&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); }; } &&
11279 { ac_try='test -s conftest$ac_exeext'
11280 { (case "(($ac_try" in
11281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11282 *) ac_try_echo
=$ac_try;;
11284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11285 (eval "$ac_try") 2>&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; }; then
11290 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11292 # Check for a 64-bit object if we didn't find anything.
11293 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; }
11296 echo "$as_me: failed program was:" >&5
11297 sed 's/^/| /' conftest.
$ac_ext >&5
11302 rm -f core conftest.err conftest.
$ac_objext \
11303 conftest
$ac_exeext conftest.
$ac_ext
11304 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11306 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11308 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"
11310 if test "$host_cpu" = ia64
; then
11311 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11312 allow_undefined_flag_CXX
="-z nodefs"
11313 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"
11315 # Determine the default libpath from the value encoded in an empty executable.
11316 cat >conftest.
$ac_ext <<_ACEOF
11319 cat confdefs.h
>>conftest.
$ac_ext
11320 cat >>conftest.
$ac_ext <<_ACEOF
11321 /* end confdefs.h. */
11331 rm -f conftest.
$ac_objext conftest
$ac_exeext
11332 if { (ac_try
="$ac_link"
11333 case "(($ac_try" in
11334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11335 *) ac_try_echo=$ac_try;;
11337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11338 (eval "$ac_link") 2>conftest.er1
11340 grep -v '^ *+' conftest.er1 >conftest.err
11342 cat conftest.err >&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); } &&
11345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11346 { (case "(($ac_try" in
11347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11348 *) ac_try_echo
=$ac_try;;
11350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11351 (eval "$ac_try") 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; } &&
11355 { ac_try
='test -s conftest$ac_exeext'
11356 { (case "(($ac_try" in
11357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11358 *) ac_try_echo=$ac_try;;
11360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11361 (eval "$ac_try") 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; }; then
11366 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11368 # Check for a 64-bit object if we didn't find anything.
11369 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; }
11372 echo "$as_me: failed program was:" >&5
11373 sed 's/^/| /' conftest.$ac_ext >&5
11378 rm -f core conftest.err conftest.$ac_objext \
11379 conftest$ac_exeext conftest.$ac_ext
11380 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11382 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11383 # Warning - without using the other run time loading flags,
11384 # -berok will link without error, but may produce a broken library.
11385 no_undefined_flag_CXX=' ${wl}-bernotok'
11386 allow_undefined_flag_CXX=' ${wl}-berok'
11387 # Exported symbols can be pulled into shared objects from archives
11388 whole_archive_flag_spec_CXX='$convenience'
11389 archive_cmds_need_lc_CXX=yes
11390 # This is similar to how AIX traditionally builds its shared libraries.
11391 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'
11397 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11398 allow_undefined_flag_CXX=unsupported
11399 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11400 # support --undefined. This deserves some investigation. FIXME
11401 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11408 case $cc_basename in
11410 # FIXME: insert proper C++ library support
11416 cygwin* | mingw* | pw32*)
11417 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11418 # as there is no search path for DLLs.
11419 hardcode_libdir_flag_spec_CXX='-L$libdir'
11420 allow_undefined_flag_CXX=unsupported
11421 always_export_symbols_CXX=no
11422 enable_shared_with_static_runtimes_CXX=yes
11424 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11425 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'
11426 # If the export-symbols file already is a .def file (1st line
11427 # is EXPORTS), use it as is; otherwise, prepend...
11428 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11429 cp $export_symbols $output_objdir/$soname.def;
11431 echo EXPORTS > $output_objdir/$soname.def;
11432 cat $export_symbols >> $output_objdir/$soname.def;
11434 $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'
11439 darwin* | rhapsody*)
11441 rhapsody* | darwin1.[012])
11442 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11445 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11446 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11448 case ${MACOSX_DEPLOYMENT_TARGET} in
11450 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11453 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11459 archive_cmds_need_lc_CXX=no
11460 hardcode_direct_CXX=no
11461 hardcode_automatic_CXX=yes
11462 hardcode_shlibpath_var_CXX=unsupported
11463 whole_archive_flag_spec_CXX=''
11464 link_all_deplibs_CXX=yes
11466 if test "$GXX" = yes ; then
11467 lt_int_apple_cc_single_mod=no
11468 output_verbose_link_cmd='echo'
11469 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11470 lt_int_apple_cc_single_mod=yes
11472 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11473 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11475 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'
11477 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11478 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11479 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11480 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}'
11482 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}'
11484 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}'
11486 case $cc_basename in
11488 output_verbose_link_cmd='echo'
11489 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'
11490 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11491 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11492 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}'
11493 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}'
11503 case $cc_basename in
11505 # FIXME: insert proper C++ library support
11509 # Green Hills C++ Compiler
11510 # FIXME: insert proper C++ library support
11514 # FIXME: insert proper C++ library support
11520 # C++ shared libraries reported to be fairly broken before switch to ELF
11524 archive_cmds_need_lc_CXX=no
11526 freebsd* | dragonfly*)
11527 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11534 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11535 hardcode_libdir_separator_CXX=:
11536 export_dynamic_flag_spec_CXX='${wl}-E'
11537 hardcode_direct_CXX=yes
11538 hardcode_minus_L_CXX=yes # Not in the search PATH,
11539 # but as the default
11540 # location of the library.
11542 case $cc_basename in
11544 # FIXME: insert proper C++ library support
11548 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'
11549 # Commands to make compiler produce verbose output that lists
11550 # what "hidden" libraries, object files and flags are used when
11551 # linking a shared library.
11553 # There doesn't appear to be a way to prevent this compiler from
11554 # explicitly linking system object files so we need to strip them
11555 # from the output so that they don't get included in the library
11557 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'
11560 if test "$GXX" = yes; then
11561 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'
11563 # FIXME: insert proper C++ library support
11570 if test $with_gnu_ld = no; then
11571 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11572 hardcode_libdir_separator_CXX=:
11576 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11579 export_dynamic_flag_spec_CXX='${wl}-E'
11585 hardcode_direct_CXX=no
11586 hardcode_shlibpath_var_CXX=no
11589 hardcode_direct_CXX=yes
11590 hardcode_minus_L_CXX=yes # Not in the search PATH,
11591 # but as the default
11592 # location of the library.
11596 case $cc_basename in
11598 # FIXME: insert proper C++ library support
11604 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11607 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11610 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11613 # Commands to make compiler produce verbose output that lists
11614 # what "hidden" libraries, object files and flags are used when
11615 # linking a shared library.
11617 # There doesn't appear to be a way to prevent this compiler from
11618 # explicitly linking system object files so we need to strip them
11619 # from the output so that they don't get included in the library
11621 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'
11624 if test "$GXX" = yes; then
11625 if test $with_gnu_ld = no; then
11628 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11631 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11634 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'
11639 # FIXME: insert proper C++ library support
11646 hardcode_direct_CXX=no
11647 hardcode_shlibpath_var_CXX=no
11648 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11649 export_dynamic_flag_spec_CXX='${wl}-E'
11650 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11651 # Instead, shared libraries are loaded at an image base (0x10000000 by
11652 # default) and relocated if they conflict, which is a slow very memory
11653 # consuming and fragmenting process. To avoid this, we pick a random,
11654 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11655 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11656 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'
11657 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'
11660 case $cc_basename in
11663 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'
11665 # Archives containing C++ object files must be created using
11666 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11667 # necessary to make sure instantiated templates are included
11669 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11672 if test "$GXX" = yes; then
11673 if test "$with_gnu_ld" = no; then
11674 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'
11676 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'
11679 link_all_deplibs_CXX=yes
11682 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11683 hardcode_libdir_separator_CXX=:
11685 linux* | k*bsd*-gnu)
11686 case $cc_basename in
11688 # Kuck and Associates, Inc. (KAI) C++ Compiler
11690 # KCC will only create a shared library if the output file
11691 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11692 # to its proper name (with version) after linking.
11693 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'
11694 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'
11695 # Commands to make compiler produce verbose output that lists
11696 # what "hidden" libraries, object files and flags are used when
11697 # linking a shared library.
11699 # There doesn't appear to be a way to prevent this compiler from
11700 # explicitly linking system object files so we need to strip them
11701 # from the output so that they don't get included in the library
11703 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'
11705 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11706 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11708 # Archives containing C++ object files must be created using
11709 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11710 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11715 # version 8.0 and above of icpc choke on multiply defined symbols
11716 # if we add $predep_objects and $postdep_objects, however 7.1 and
11717 # earlier do not add the objects themselves.
11718 case `$CC -V 2>&1` in
11720 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11721 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'
11723 *) # Version 8.0 or newer
11726 ia64
*) tmp_idyn
=' -i_dynamic';;
11728 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11729 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'
11732 archive_cmds_need_lc_CXX
=no
11733 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11734 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11735 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11738 # Portland Group C++ compiler
11739 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11740 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'
11742 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11743 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11744 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'
11748 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11749 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'
11751 runpath_var
=LD_RUN_PATH
11752 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11753 hardcode_libdir_separator_CXX
=:
11755 # Commands to make compiler produce verbose output that lists
11756 # what "hidden" libraries, object files and flags are used when
11757 # linking a shared library.
11759 # There doesn't appear to be a way to prevent this compiler from
11760 # explicitly linking system object files so we need to strip them
11761 # from the output so that they don't get included in the library
11763 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'
11768 # FIXME: insert proper C++ library support
11772 # FIXME: insert proper C++ library support
11776 case $cc_basename in
11778 # FIXME: insert proper C++ library support
11782 # FIXME: insert proper C++ library support
11787 netbsd
* | netbsdelf
*-gnu)
11788 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11789 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11791 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11792 hardcode_direct_CXX
=yes
11793 hardcode_shlibpath_var_CXX
=no
11795 # Workaround some broken pre-1.5 toolchains
11796 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11799 # C++ shared libraries are fairly broken
11803 hardcode_direct_CXX
=yes
11804 hardcode_shlibpath_var_CXX
=no
11805 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11806 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11807 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11808 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11809 export_dynamic_flag_spec_CXX
='${wl}-E'
11810 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11812 output_verbose_link_cmd
='echo'
11815 case $cc_basename in
11817 # Kuck and Associates, Inc. (KAI) C++ Compiler
11819 # KCC will only create a shared library if the output file
11820 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11821 # to its proper name (with version) after linking.
11822 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'
11824 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11825 hardcode_libdir_separator_CXX
=:
11827 # Archives containing C++ object files must be created using
11828 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11829 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11833 # Rational C++ 2.4.1
11834 # FIXME: insert proper C++ library support
11838 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11839 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'
11841 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11842 hardcode_libdir_separator_CXX
=:
11844 # Commands to make compiler produce verbose output that lists
11845 # what "hidden" libraries, object files and flags are used when
11846 # linking a shared library.
11848 # There doesn't appear to be a way to prevent this compiler from
11849 # explicitly linking system object files so we need to strip them
11850 # from the output so that they don't get included in the library
11852 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'
11855 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11856 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11857 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'
11859 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11860 hardcode_libdir_separator_CXX
=:
11862 # Commands to make compiler produce verbose output that lists
11863 # what "hidden" libraries, object files and flags are used when
11864 # linking a shared library.
11865 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11868 # FIXME: insert proper C++ library support
11875 case $cc_basename in
11877 # Kuck and Associates, Inc. (KAI) C++ Compiler
11879 # KCC will only create a shared library if the output file
11880 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11881 # to its proper name (with version) after linking.
11882 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'
11884 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11885 hardcode_libdir_separator_CXX
=:
11887 # Archives containing C++ object files must be created using
11888 # the KAI C++ compiler.
11889 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11892 # Rational C++ 2.4.1
11893 # FIXME: insert proper C++ library support
11897 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11898 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'
11899 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11900 echo "-hidden">> $lib.exp~
11901 $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~
11904 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11905 hardcode_libdir_separator_CXX
=:
11907 # Commands to make compiler produce verbose output that lists
11908 # what "hidden" libraries, object files and flags are used when
11909 # linking a shared library.
11911 # There doesn't appear to be a way to prevent this compiler from
11912 # explicitly linking system object files so we need to strip them
11913 # from the output so that they don't get included in the library
11915 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'
11918 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11919 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11920 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'
11922 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11923 hardcode_libdir_separator_CXX
=:
11925 # Commands to make compiler produce verbose output that lists
11926 # what "hidden" libraries, object files and flags are used when
11927 # linking a shared library.
11928 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11931 # FIXME: insert proper C++ library support
11938 # FIXME: insert proper C++ library support
11942 case $cc_basename in
11945 # FIXME: insert proper C++ library support
11950 # FIXME: insert proper C++ library support
11954 # FIXME: insert proper C++ library support
11960 case $cc_basename in
11962 # Sun C++ 4.2, 5.x and Centerline C++
11963 archive_cmds_need_lc_CXX
=yes
11964 no_undefined_flag_CXX
=' -zdefs'
11965 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11966 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11967 $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'
11969 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11970 hardcode_shlibpath_var_CXX
=no
11972 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11974 # The C++ compiler is used as linker so we must use $wl
11975 # flag to pass the commands to the underlying system
11976 # linker. We must also pass each convience library through
11977 # to the system linker between allextract/defaultextract.
11978 # The C++ compiler will combine linker options so we
11979 # cannot just pass the convience library names through
11981 # Supported since Solaris 2.6 (maybe 2.5.1?)
11982 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'
11985 link_all_deplibs_CXX
=yes
11987 output_verbose_link_cmd
='echo'
11989 # Archives containing C++ object files must be created using
11990 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11991 # necessary to make sure instantiated templates are included
11993 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11996 # Green Hills C++ Compiler
11997 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11999 # The C++ compiler must be used to create the archive.
12000 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12003 # GNU C++ compiler with Solaris linker
12004 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12005 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12006 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12007 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12008 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12009 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12011 # Commands to make compiler produce verbose output that lists
12012 # what "hidden" libraries, object files and flags are used when
12013 # linking a shared library.
12014 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12016 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12018 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12019 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12020 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12022 # Commands to make compiler produce verbose output that lists
12023 # what "hidden" libraries, object files and flags are used when
12024 # linking a shared library.
12025 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12028 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12033 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12034 no_undefined_flag_CXX
='${wl}-z,text'
12035 archive_cmds_need_lc_CXX
=no
12036 hardcode_shlibpath_var_CXX
=no
12037 runpath_var
='LD_RUN_PATH'
12039 case $cc_basename in
12041 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12042 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12045 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12046 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12050 sysv5
* | sco3.2v5
* | sco5v6
*)
12051 # Note: We can NOT use -z defs as we might desire, because we do not
12052 # link with -lc, and that would cause any symbols used from libc to
12053 # always be unresolved, which means just about no library would
12054 # ever link correctly. If we're not using GNU ld we use -z text
12055 # though, which does catch some bad symbols but isn't as heavy-handed
12057 # For security reasons, it is highly recommended that you always
12058 # use absolute paths for naming shared libraries, and exclude the
12059 # DT_RUNPATH tag from executables and libraries. But doing so
12060 # requires that you compile everything twice, which is a pain.
12061 # So that behaviour is only enabled if SCOABSPATH is set to a
12062 # non-empty value in the environment. Most likely only useful for
12063 # creating official distributions of packages.
12064 # This is a hack until libtool officially supports absolute path
12065 # names for shared libraries.
12066 no_undefined_flag_CXX
='${wl}-z,text'
12067 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12068 archive_cmds_need_lc_CXX
=no
12069 hardcode_shlibpath_var_CXX
=no
12070 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12071 hardcode_libdir_separator_CXX
=':'
12072 link_all_deplibs_CXX
=yes
12073 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12074 runpath_var
='LD_RUN_PATH'
12076 case $cc_basename in
12078 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12079 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12082 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12083 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12088 case $cc_basename in
12090 # NonStop-UX NCC 3.20
12091 # FIXME: insert proper C++ library support
12095 # FIXME: insert proper C++ library support
12101 # FIXME: insert proper C++ library support
12105 # FIXME: insert proper C++ library support
12109 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12110 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12111 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12117 cat > conftest.
$ac_ext <<EOF
12121 Foo (void) { a = 0; }
12127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12128 (eval $ac_compile) 2>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); }; then
12132 # Parse the compiler output and extract the necessary
12133 # objects, libraries and library flags.
12135 # Sentinel used to keep track of whether or not we are before
12136 # the conftest object file.
12137 pre_test_object_deps_done
=no
12139 # The `*' in the case matches for architectures that use `case' in
12140 # $output_verbose_cmd can trigger glob expansion during the loop
12141 # eval without this substitution.
12142 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12144 for p
in `eval $output_verbose_link_cmd`; do
12148 # Some compilers place space between "-{L,R}" and the path.
12149 # Remove the space.
12150 if test $p = "-L" \
12151 ||
test $p = "-R"; then
12158 if test "$pre_test_object_deps_done" = no
; then
12161 # Internal compiler library paths should come after those
12162 # provided the user. The postdeps already come after the
12163 # user supplied libs so there is no need to process them.
12164 if test -z "$compiler_lib_search_path_CXX"; then
12165 compiler_lib_search_path_CXX
="${prev}${p}"
12167 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12170 # The "-l" case would never come before the object being
12171 # linked, so don't bother handling this case.
12174 if test -z "$postdeps_CXX"; then
12175 postdeps_CXX
="${prev}${p}"
12177 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12183 # This assumes that the test object file only shows up
12184 # once in the compiler output.
12185 if test "$p" = "conftest.$objext"; then
12186 pre_test_object_deps_done
=yes
12190 if test "$pre_test_object_deps_done" = no
; then
12191 if test -z "$predep_objects_CXX"; then
12192 predep_objects_CXX
="$p"
12194 predep_objects_CXX
="$predep_objects_CXX $p"
12197 if test -z "$postdep_objects_CXX"; then
12198 postdep_objects_CXX
="$p"
12200 postdep_objects_CXX
="$postdep_objects_CXX $p"
12205 *) ;; # Ignore the rest.
12213 echo "libtool.m4: error: problem compiling CXX test program"
12216 $rm -f confest.
$objext
12218 # PORTME: override above test on systems where it is broken
12221 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12222 # hack all around it, let's just trust "g++" to DTRT.
12223 predep_objects_CXX
=
12224 postdep_objects_CXX
=
12229 case $cc_basename in
12231 # Adding this requires a known-good setup of shared libraries for
12232 # Sun compiler versions before 5.6, else PIC objects from an old
12233 # archive will be linked into the output, leading to subtle bugs.
12234 postdeps_CXX
='-lCstd -lCrun'
12241 case " $postdeps_CXX " in
12242 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12245 lt_prog_compiler_wl_CXX
=
12246 lt_prog_compiler_pic_CXX
=
12247 lt_prog_compiler_static_CXX
=
12249 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12250 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12252 # C++ specific cases for pic, static, wl, etc.
12253 if test "$GXX" = yes; then
12254 lt_prog_compiler_wl_CXX
='-Wl,'
12255 lt_prog_compiler_static_CXX
='-static'
12259 # All AIX code is PIC.
12260 if test "$host_cpu" = ia64
; then
12261 # AIX 5 now supports IA64 processor
12262 lt_prog_compiler_static_CXX
='-Bstatic'
12266 # FIXME: we need at least 68020 code to build shared libraries, but
12267 # adding the `-m68020' flag to GCC prevents building anything better,
12269 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12271 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12272 # PIC is the default for these OSes.
12274 mingw
* | os2
* | pw32
*)
12275 # This hack is so that the source file can tell whether it is being
12276 # built for inclusion in a dll (and should export symbols for example).
12277 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12279 darwin
* | rhapsody
*)
12280 # PIC is the default on this platform
12281 # Common symbols not allowed in MH_DYLIB files
12282 lt_prog_compiler_pic_CXX
='-fno-common'
12285 # DJGPP does not support shared libraries at all
12286 lt_prog_compiler_pic_CXX
=
12289 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12290 # Instead, we relocate shared libraries at runtime.
12293 if test -d /usr
/nec
; then
12294 lt_prog_compiler_pic_CXX
=-Kconform_pic
12298 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12299 # not for PA HP-UX.
12304 lt_prog_compiler_pic_CXX
='-fPIC'
12309 lt_prog_compiler_pic_CXX
='-fPIC'
12315 # All AIX code is PIC.
12316 if test "$host_cpu" = ia64
; then
12317 # AIX 5 now supports IA64 processor
12318 lt_prog_compiler_static_CXX
='-Bstatic'
12320 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12324 case $cc_basename in
12326 # Green Hills C++ Compiler
12327 # _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"
12332 # PIC is the default on this platform
12333 # Common symbols not allowed in MH_DYLIB files
12334 case $cc_basename in
12336 lt_prog_compiler_pic_CXX
='-qnocommon'
12337 lt_prog_compiler_wl_CXX
='-Wl,'
12342 case $cc_basename in
12344 lt_prog_compiler_pic_CXX
='-KPIC'
12347 # Green Hills C++ Compiler
12348 lt_prog_compiler_pic_CXX
='-pic'
12354 freebsd
* | dragonfly
*)
12355 # FreeBSD uses GNU C++
12357 hpux9
* | hpux10
* | hpux11
*)
12358 case $cc_basename in
12360 lt_prog_compiler_wl_CXX
='-Wl,'
12361 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12362 if test "$host_cpu" != ia64
; then
12363 lt_prog_compiler_pic_CXX
='+Z'
12367 lt_prog_compiler_wl_CXX
='-Wl,'
12368 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12374 lt_prog_compiler_pic_CXX
='+Z'
12383 # This is c89, which is MS Visual C++ (no shared libs)
12384 # Anyone wants to do a port?
12386 irix5
* | irix6
* | nonstopux
*)
12387 case $cc_basename in
12389 lt_prog_compiler_wl_CXX
='-Wl,'
12390 lt_prog_compiler_static_CXX
='-non_shared'
12391 # CC pic flag -KPIC is the default.
12397 linux
* | k
*bsd
*-gnu)
12398 case $cc_basename in
12401 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12402 lt_prog_compiler_pic_CXX
='-fPIC'
12406 lt_prog_compiler_wl_CXX
='-Wl,'
12407 lt_prog_compiler_pic_CXX
='-KPIC'
12408 lt_prog_compiler_static_CXX
='-static'
12411 # Portland Group C++ compiler.
12412 lt_prog_compiler_wl_CXX
='-Wl,'
12413 lt_prog_compiler_pic_CXX
='-fpic'
12414 lt_prog_compiler_static_CXX
='-Bstatic'
12418 # Make sure the PIC flag is empty. It appears that all Alpha
12419 # Linux and Compaq Tru64 Unix objects are PIC.
12420 lt_prog_compiler_pic_CXX
=
12421 lt_prog_compiler_static_CXX
='-non_shared'
12432 case $cc_basename in
12434 lt_prog_compiler_pic_CXX
='-W c,exportall'
12440 netbsd
* | netbsdelf
*-gnu)
12442 osf3
* | osf4
* | osf5
*)
12443 case $cc_basename in
12445 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12448 # Rational C++ 2.4.1
12449 lt_prog_compiler_pic_CXX
='-pic'
12452 # Digital/Compaq C++
12453 lt_prog_compiler_wl_CXX
='-Wl,'
12454 # Make sure the PIC flag is empty. It appears that all Alpha
12455 # Linux and Compaq Tru64 Unix objects are PIC.
12456 lt_prog_compiler_pic_CXX
=
12457 lt_prog_compiler_static_CXX
='-non_shared'
12466 case $cc_basename in
12468 # Sun C++ 4.2, 5.x and Centerline C++
12469 lt_prog_compiler_pic_CXX
='-KPIC'
12470 lt_prog_compiler_static_CXX
='-Bstatic'
12471 lt_prog_compiler_wl_CXX
='-Qoption ld '
12474 # Green Hills C++ Compiler
12475 lt_prog_compiler_pic_CXX
='-PIC'
12482 case $cc_basename in
12485 lt_prog_compiler_pic_CXX
='-pic'
12486 lt_prog_compiler_static_CXX
='-Bstatic'
12490 lt_prog_compiler_pic_CXX
='-pic'
12497 case $cc_basename in
12499 # NonStop-UX NCC 3.20
12500 lt_prog_compiler_pic_CXX
='-KPIC'
12506 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12507 case $cc_basename in
12509 lt_prog_compiler_wl_CXX
='-Wl,'
12510 lt_prog_compiler_pic_CXX
='-KPIC'
12511 lt_prog_compiler_static_CXX
='-Bstatic'
12518 lt_prog_compiler_can_build_shared_CXX
=no
12523 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12524 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12527 # Check to make sure the PIC flag actually works.
12529 if test -n "$lt_prog_compiler_pic_CXX"; then
12531 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12532 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12533 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12536 lt_prog_compiler_pic_works_CXX
=no
12537 ac_outfile
=conftest.
$ac_objext
12538 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12539 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12540 # Insert the option either (1) after the last *FLAGS variable, or
12541 # (2) before a word containing "conftest.", or (3) at the end.
12542 # Note that $ac_compile itself does not contain backslashes and begins
12543 # with a dollar sign (not a hyphen), so the echo should work correctly.
12544 # The option is referenced via a variable to avoid confusing sed.
12545 lt_compile
=`echo "$ac_compile" | $SED \
12546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12548 -e 's:$: $lt_compiler_flag:'`
12549 (eval echo "\"\$as_me:12549: $lt_compile\"" >&5)
12550 (eval "$lt_compile" 2>conftest.err
)
12552 cat conftest.err
>&5
12553 echo "$as_me:12553: \$? = $ac_status" >&5
12554 if (exit $ac_status) && test -s "$ac_outfile"; then
12555 # The compiler can only warn and ignore the option if not recognized
12556 # So say no if there are warnings other than the usual output.
12557 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12558 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12559 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12560 lt_prog_compiler_pic_works_CXX
=yes
12566 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12567 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12569 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12570 case $lt_prog_compiler_pic_CXX in
12572 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12575 lt_prog_compiler_pic_CXX
=
12576 lt_prog_compiler_can_build_shared_CXX
=no
12581 # For platforms which do not support PIC, -DPIC is meaningless:
12583 lt_prog_compiler_pic_CXX
=
12586 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12591 # Check to make sure the static flag actually works.
12593 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12594 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12595 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12596 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
12599 lt_prog_compiler_static_works_CXX
=no
12600 save_LDFLAGS
="$LDFLAGS"
12601 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12602 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12603 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12604 # The linker can only warn and ignore the option if not recognized
12605 # So say no if there are warnings
12606 if test -s conftest.err
; then
12607 # Append any errors to the config.log.
12608 cat conftest.err
1>&5
12609 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12610 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12611 if diff conftest.exp conftest.er2
>/dev
/null
; then
12612 lt_prog_compiler_static_works_CXX
=yes
12615 lt_prog_compiler_static_works_CXX
=yes
12619 LDFLAGS
="$save_LDFLAGS"
12622 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12623 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12625 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12628 lt_prog_compiler_static_CXX
=
12632 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12633 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12634 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 lt_cv_prog_compiler_c_o_CXX
=no
12638 $rm -r conftest
2>/dev
/null
12642 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12644 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12645 # Insert the option either (1) after the last *FLAGS variable, or
12646 # (2) before a word containing "conftest.", or (3) at the end.
12647 # Note that $ac_compile itself does not contain backslashes and begins
12648 # with a dollar sign (not a hyphen), so the echo should work correctly.
12649 lt_compile
=`echo "$ac_compile" | $SED \
12650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12652 -e 's:$: $lt_compiler_flag:'`
12653 (eval echo "\"\$as_me:12653: $lt_compile\"" >&5)
12654 (eval "$lt_compile" 2>out
/conftest.err
)
12656 cat out
/conftest.err
>&5
12657 echo "$as_me:12657: \$? = $ac_status" >&5
12658 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12660 # The compiler can only warn and ignore the option if not recognized
12661 # So say no if there are warnings
12662 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12663 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12664 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12665 lt_cv_prog_compiler_c_o_CXX
=yes
12670 # SGI C++ compiler will create directory out/ii_files/ for
12671 # template instantiation
12672 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12673 $rm out
/* && rmdir out
12679 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12680 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12683 hard_links
="nottested"
12684 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12685 # do not overwrite the value of need_locks provided by the user
12686 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12687 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12690 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12692 ln conftest.a conftest.b
2>&5 || hard_links
=no
12693 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12694 { echo "$as_me:$LINENO: result: $hard_links" >&5
12695 echo "${ECHO_T}$hard_links" >&6; }
12696 if test "$hard_links" = no
; then
12697 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12698 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12705 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12706 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12708 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12711 # If we're using GNU nm, then we don't want the "-C" option.
12712 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12713 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12714 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'
12716 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'
12720 export_symbols_cmds_CXX
="$ltdll_cmds"
12723 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'
12725 linux
* | k
*bsd
*-gnu)
12726 link_all_deplibs_CXX
=no
12729 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12733 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12734 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12735 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12738 # Do we need to explicitly link libc?
12740 case "x$archive_cmds_need_lc_CXX" in
12742 # Assume -lc should be added
12743 archive_cmds_need_lc_CXX
=yes
12745 if test "$enable_shared" = yes && test "$GCC" = yes; then
12746 case $archive_cmds_CXX in
12748 # FIXME: we may have to deal with multi-command sequences.
12751 # Test whether the compiler implicitly links with -lc since on some
12752 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12753 # to ld, don't add -lc before -lgcc.
12754 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12755 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12757 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12760 (eval $ac_compile) 2>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } 2>conftest.err
; then
12766 libobjs
=conftest.
$ac_objext
12768 wl
=$lt_prog_compiler_wl_CXX
12769 pic_flag
=$lt_prog_compiler_pic_CXX
12775 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12776 allow_undefined_flag_CXX
=
12777 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12778 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }
12783 archive_cmds_need_lc_CXX
=no
12785 archive_cmds_need_lc_CXX
=yes
12787 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12789 cat conftest.err
1>&5
12792 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12793 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12800 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12801 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12802 library_names_spec
=
12803 libname_spec
='lib$name'
12807 postuninstall_cmds
=
12811 shlibpath_overrides_runpath
=unknown
12813 dynamic_linker
="$host_os ld.so"
12814 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12815 if test "$GCC" = yes; then
12816 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12817 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12818 # if the path contains ";" then we assume it to be the separator
12819 # otherwise default to the standard path separator (i.e. ":") - it is
12820 # assumed that no part of a normal pathname contains ";" but that should
12821 # okay in the real world where ";" in dirpaths is itself problematic.
12822 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12824 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12827 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12829 need_lib_prefix
=unknown
12830 hardcode_into_libs
=no
12832 # when you set need_version to no, make sure it does not cause -set_version
12833 # flags to be left without arguments
12834 need_version
=unknown
12839 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12840 shlibpath_var
=LIBPATH
12842 # AIX 3 has no versioning support, so we append a major version to the name.
12843 soname_spec
='${libname}${release}${shared_ext}$major'
12850 hardcode_into_libs
=yes
12851 if test "$host_cpu" = ia64
; then
12852 # AIX 5 supports IA64
12853 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12854 shlibpath_var
=LD_LIBRARY_PATH
12856 # With GCC up to 2.95.x, collect2 would create an import file
12857 # for dependence libraries. The import file would start with
12858 # the line `#! .'. This would cause the generated library to
12859 # depend on `.', always an invalid library. This was fixed in
12860 # development snapshots of GCC prior to 3.0.
12862 aix4 | aix4.
[01] | aix4.
[01].
*)
12863 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12865 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12868 can_build_shared
=no
12872 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12873 # soname into executable. Probably we can add versioning support to
12874 # collect2, so additional links can be useful in future.
12875 if test "$aix_use_runtimelinking" = yes; then
12876 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12877 # instead of lib<name>.a to let people know that these are not
12878 # typical AIX shared libraries.
12879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12881 # We preserve .a as extension for shared libraries through AIX4.2
12882 # and later when we are not doing run time linking.
12883 library_names_spec
='${libname}${release}.a $libname.a'
12884 soname_spec
='${libname}${release}${shared_ext}$major'
12886 shlibpath_var
=LIBPATH
12891 library_names_spec
='$libname.ixlibrary $libname.a'
12892 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12893 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'
12897 library_names_spec
='${libname}${shared_ext}'
12898 dynamic_linker
="$host_os ld.so"
12899 shlibpath_var
=LIBRARY_PATH
12905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12906 soname_spec
='${libname}${release}${shared_ext}$major'
12907 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12908 shlibpath_var
=LD_LIBRARY_PATH
12909 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12910 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12911 # the default ld.so.conf also contains /usr/contrib/lib and
12912 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12913 # libtool to hard-code these into programs
12916 cygwin
* | mingw
* | pw32
*)
12917 version_type
=windows
12922 case $GCC,$host_os in
12923 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12924 library_names_spec
='$libname.dll.a'
12925 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12926 postinstall_cmds
='base_file=`basename \${file}`~
12927 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12928 dldir=$destdir/`dirname \$dlpath`~
12929 test -d \$dldir || mkdir -p \$dldir~
12930 $install_prog $dir/$dlname \$dldir/$dlname~
12931 chmod a+x \$dldir/$dlname'
12932 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12933 dlpath=$dir/\$dldll~
12935 shlibpath_overrides_runpath
=yes
12939 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12940 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12941 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12944 # MinGW DLLs use traditional 'lib' prefix
12945 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12946 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12947 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12948 # It is most probably a Windows format PATH printed by
12949 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12950 # path with ; separators, and with drive letters. We can handle the
12951 # drive letters (cygwin fileutils understands them), so leave them,
12952 # especially as we might pass files found there to a mingw objdump,
12953 # which wouldn't understand a cygwinified path. Ahh.
12954 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12956 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12960 # pw32 DLLs use 'pw' prefix rather than 'lib'
12961 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12967 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12970 dynamic_linker
='Win32 ld.exe'
12971 # FIXME: first we should search . and the directory the executable is in
12975 darwin
* | rhapsody
*)
12976 dynamic_linker
="$host_os dyld"
12977 version_type
=darwin
12980 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12981 soname_spec
='${libname}${release}${major}$shared_ext'
12982 shlibpath_overrides_runpath
=yes
12983 shlibpath_var
=DYLD_LIBRARY_PATH
12984 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12985 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12986 if test "$GCC" = yes; then
12987 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"`
12989 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12991 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12999 soname_spec
='${libname}${release}${shared_ext}$major'
13000 shlibpath_var
=LD_LIBRARY_PATH
13007 freebsd
* | dragonfly
*)
13008 # DragonFly does not have aout. When/if they implement a new
13009 # versioning mechanism, adjust this.
13010 if test -x /usr
/bin
/objformat
; then
13011 objformat
=`/usr/bin/objformat`
13014 freebsd
[123]*) objformat
=aout
;;
13015 *) objformat
=elf
;;
13018 version_type
=freebsd-
$objformat
13019 case $version_type in
13021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13026 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13030 shlibpath_var
=LD_LIBRARY_PATH
13033 shlibpath_overrides_runpath
=yes
13035 freebsd3.
[01]* | freebsdelf3.
[01]*)
13036 shlibpath_overrides_runpath
=yes
13037 hardcode_into_libs
=yes
13039 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13040 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13041 shlibpath_overrides_runpath
=no
13042 hardcode_into_libs
=yes
13044 freebsd
*) # from 4.6 on
13045 shlibpath_overrides_runpath
=yes
13046 hardcode_into_libs
=yes
13055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13056 soname_spec
='${libname}${release}${shared_ext}$major'
13057 shlibpath_var
=LD_LIBRARY_PATH
13058 hardcode_into_libs
=yes
13061 hpux9
* | hpux10
* | hpux11
*)
13062 # Give a soname corresponding to the major version so that dld.sl refuses to
13063 # link against other versions.
13070 hardcode_into_libs
=yes
13071 dynamic_linker
="$host_os dld.so"
13072 shlibpath_var
=LD_LIBRARY_PATH
13073 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13075 soname_spec
='${libname}${release}${shared_ext}$major'
13076 if test "X$HPUX_IA64_MODE" = X32
; then
13077 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13079 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13081 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13085 hardcode_into_libs
=yes
13086 dynamic_linker
="$host_os dld.sl"
13087 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13088 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13090 soname_spec
='${libname}${release}${shared_ext}$major'
13091 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13092 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13096 dynamic_linker
="$host_os dld.sl"
13097 shlibpath_var
=SHLIB_PATH
13098 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13100 soname_spec
='${libname}${release}${shared_ext}$major'
13103 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13104 postinstall_cmds
='chmod 555 $lib'
13111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13112 soname_spec
='${libname}${release}${shared_ext}$major'
13113 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13114 shlibpath_var
=LD_LIBRARY_PATH
13115 shlibpath_overrides_runpath
=no
13116 hardcode_into_libs
=yes
13119 irix5
* | irix6
* | nonstopux
*)
13121 nonstopux
*) version_type
=nonstopux
;;
13123 if test "$lt_cv_prog_gnu_ld" = yes; then
13131 soname_spec
='${libname}${release}${shared_ext}$major'
13132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13134 irix5
* | nonstopux
*)
13135 libsuff
= shlibsuff
=
13138 case $LD in # libtool.m4 will add one of these switches to LD
13139 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13140 libsuff
= shlibsuff
= libmagic
=32-bit;;
13141 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13142 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13143 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13144 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13145 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13149 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13150 shlibpath_overrides_runpath
=no
13151 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13152 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13153 hardcode_into_libs
=yes
13156 # No shared lib support for Linux oldld, aout, or coff.
13157 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13161 # This must be Linux ELF.
13162 linux
* | k
*bsd
*-gnu)
13166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13167 soname_spec
='${libname}${release}${shared_ext}$major'
13168 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13169 shlibpath_var
=LD_LIBRARY_PATH
13170 shlibpath_overrides_runpath
=no
13171 # This implies no fast_install, which is unacceptable.
13172 # Some rework will be needed to allow for fast_install
13173 # before this can be enabled.
13174 hardcode_into_libs
=yes
13176 # Append ld.so.conf contents to the search path
13177 if test -f /etc
/ld.so.conf
; then
13178 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13179 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13182 # We used to test for /lib/ld.so.1 and disable shared libraries on
13183 # powerpc, because MkLinux only supported shared libraries with the
13184 # GNU dynamic linker. Since this was broken with cross compilers,
13185 # most powerpc-linux boxes support dynamic linking these days and
13186 # people can always --disable-shared, the test was removed, and we
13187 # assume the GNU/Linux dynamic linker is in use.
13188 dynamic_linker
='GNU/Linux ld.so'
13195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13196 soname_spec
='${libname}${release}${shared_ext}$major'
13197 shlibpath_var
=LD_LIBRARY_PATH
13198 shlibpath_overrides_runpath
=no
13199 hardcode_into_libs
=yes
13200 dynamic_linker
='NetBSD ld.elf_so'
13207 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13209 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13210 dynamic_linker
='NetBSD (a.out) ld.so'
13212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13213 soname_spec
='${libname}${release}${shared_ext}$major'
13214 dynamic_linker
='NetBSD ld.elf_so'
13216 shlibpath_var
=LD_LIBRARY_PATH
13217 shlibpath_overrides_runpath
=yes
13218 hardcode_into_libs
=yes
13223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13224 shlibpath_var
=LD_LIBRARY_PATH
13225 shlibpath_overrides_runpath
=yes
13232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13233 soname_spec
='${libname}${release}${shared_ext}$major'
13234 shlibpath_var
=LD_LIBRARY_PATH
13235 shlibpath_overrides_runpath
=yes
13240 sys_lib_dlsearch_path_spec
="/usr/lib"
13242 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13244 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13245 *) need_version
=no
;;
13247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13249 shlibpath_var
=LD_LIBRARY_PATH
13250 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13252 openbsd2.
[89] | openbsd2.
[89].
*)
13253 shlibpath_overrides_runpath
=no
13256 shlibpath_overrides_runpath
=yes
13260 shlibpath_overrides_runpath
=yes
13265 libname_spec
='$name'
13268 library_names_spec
='$libname${shared_ext} $libname.a'
13269 dynamic_linker
='OS/2 ld.exe'
13270 shlibpath_var
=LIBPATH
13273 osf3
* | osf4
* | osf5
*)
13277 soname_spec
='${libname}${release}${shared_ext}$major'
13278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13279 shlibpath_var
=LD_LIBRARY_PATH
13280 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13281 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13289 soname_spec
='${libname}${release}${shared_ext}$major'
13290 shlibpath_var
=LD_LIBRARY_PATH
13291 shlibpath_overrides_runpath
=yes
13292 hardcode_into_libs
=yes
13293 # ldd complains unless libraries are executable
13294 postinstall_cmds
='chmod +x $lib'
13299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13300 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13301 shlibpath_var
=LD_LIBRARY_PATH
13302 shlibpath_overrides_runpath
=yes
13303 if test "$with_gnu_ld" = yes; then
13311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13312 soname_spec
='${libname}${release}${shared_ext}$major'
13313 shlibpath_var
=LD_LIBRARY_PATH
13314 case $host_vendor in
13316 shlibpath_overrides_runpath
=no
13318 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13319 runpath_var
=LD_RUN_PATH
13327 shlibpath_overrides_runpath
=no
13328 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13334 if test -d /usr
/nec
;then
13336 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13337 soname_spec
='$libname${shared_ext}.$major'
13338 shlibpath_var
=LD_LIBRARY_PATH
13342 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13343 version_type
=freebsd-elf
13346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13347 soname_spec
='${libname}${release}${shared_ext}$major'
13348 shlibpath_var
=LD_LIBRARY_PATH
13349 hardcode_into_libs
=yes
13350 if test "$with_gnu_ld" = yes; then
13351 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13352 shlibpath_overrides_runpath
=no
13354 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13355 shlibpath_overrides_runpath
=yes
13358 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13362 sys_lib_dlsearch_path_spec
='/usr/lib'
13367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13368 soname_spec
='${libname}${release}${shared_ext}$major'
13369 shlibpath_var
=LD_LIBRARY_PATH
13376 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13377 echo "${ECHO_T}$dynamic_linker" >&6; }
13378 test "$dynamic_linker" = no
&& can_build_shared
=no
13380 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13381 if test "$GCC" = yes; then
13382 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13385 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13386 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13387 hardcode_action_CXX
=
13388 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13389 test -n "$runpath_var_CXX" || \
13390 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13392 # We can hardcode non-existant directories.
13393 if test "$hardcode_direct_CXX" != no
&&
13394 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13395 # have to relink, otherwise we might link with an installed library
13396 # when we should be linking with a yet-to-be-installed one
13397 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13398 test "$hardcode_minus_L_CXX" != no
; then
13399 # Linking always hardcodes the temporary library directory.
13400 hardcode_action_CXX
=relink
13402 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13403 hardcode_action_CXX
=immediate
13406 # We cannot hardcode anything, or else we can only hardcode existing
13408 hardcode_action_CXX
=unsupported
13410 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13411 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13413 if test "$hardcode_action_CXX" = relink
; then
13414 # Fast installation is not supported
13415 enable_fast_install
=no
13416 elif test "$shlibpath_overrides_runpath" = yes ||
13417 test "$enable_shared" = no
; then
13418 # Fast installation is not necessary
13419 enable_fast_install
=needless
13423 # The else clause should only fire when bootstrapping the
13424 # libtool distribution, otherwise you forgot to ship ltmain.sh
13425 # with your package, and you will get complaints that there are
13426 # no rules to generate ltmain.sh.
13427 if test -f "$ltmain"; then
13428 # See if we are running on zsh, and set the options which allow our commands through
13429 # without removal of \ escapes.
13430 if test -n "${ZSH_VERSION+set}" ; then
13431 setopt NO_GLOB_SUBST
13433 # Now quote all the things that may contain metacharacters while being
13434 # careful not to overquote the AC_SUBSTed values. We take copies of the
13435 # variables and quote the copies for generation of the libtool script.
13436 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13438 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13439 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13440 deplibs_check_method reload_flag reload_cmds need_locks \
13441 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13442 lt_cv_sys_global_symbol_to_c_name_address \
13443 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13444 old_postinstall_cmds old_postuninstall_cmds \
13448 lt_prog_compiler_wl_CXX \
13449 lt_prog_compiler_pic_CXX \
13450 lt_prog_compiler_static_CXX \
13451 lt_prog_compiler_no_builtin_flag_CXX \
13452 export_dynamic_flag_spec_CXX \
13453 thread_safe_flag_spec_CXX \
13454 whole_archive_flag_spec_CXX \
13455 enable_shared_with_static_runtimes_CXX \
13456 old_archive_cmds_CXX \
13457 old_archive_from_new_cmds_CXX \
13458 predep_objects_CXX \
13459 postdep_objects_CXX \
13462 compiler_lib_search_path_CXX \
13464 archive_expsym_cmds_CXX \
13465 postinstall_cmds_CXX \
13466 postuninstall_cmds_CXX \
13467 old_archive_from_expsyms_cmds_CXX \
13468 allow_undefined_flag_CXX \
13469 no_undefined_flag_CXX \
13470 export_symbols_cmds_CXX \
13471 hardcode_libdir_flag_spec_CXX \
13472 hardcode_libdir_flag_spec_ld_CXX \
13473 hardcode_libdir_separator_CXX \
13474 hardcode_automatic_CXX \
13476 module_expsym_cmds_CXX \
13477 lt_cv_prog_compiler_c_o_CXX \
13478 exclude_expsyms_CXX \
13479 include_expsyms_CXX
; do
13482 old_archive_cmds_CXX | \
13483 old_archive_from_new_cmds_CXX | \
13484 archive_cmds_CXX | \
13485 archive_expsym_cmds_CXX | \
13486 module_cmds_CXX | \
13487 module_expsym_cmds_CXX | \
13488 old_archive_from_expsyms_cmds_CXX | \
13489 export_symbols_cmds_CXX | \
13490 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13491 postinstall_cmds | postuninstall_cmds | \
13492 old_postinstall_cmds | old_postuninstall_cmds | \
13493 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13494 # Double-quote double-evaled strings.
13495 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13498 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13504 *'\$0 --fallback-echo"')
13505 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13511 cat <<__EOF__ >> "$cfgfile"
13512 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13514 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13516 # Shell to use when invoking shell scripts.
13519 # Whether or not to build shared libraries.
13520 build_libtool_libs=$enable_shared
13522 # Whether or not to build static libraries.
13523 build_old_libs=$enable_static
13525 # Whether or not to add -lc for building shared libraries.
13526 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13528 # Whether or not to disallow shared libs when runtime libs are static
13529 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13531 # Whether or not to optimize for fast installation.
13532 fast_install=$enable_fast_install
13535 host_alias=$host_alias
13539 # The build system.
13540 build_alias=$build_alias
13544 # An echo program that does not interpret backslashes.
13549 AR_FLAGS=$lt_AR_FLAGS
13554 # LTCC compiler flags.
13555 LTCFLAGS=$lt_LTCFLAGS
13557 # A language-specific compiler.
13558 CC=$lt_compiler_CXX
13560 # Is the compiler the GNU C compiler?
13566 # The linker used to build libraries.
13569 # Whether we need hard or soft links.
13572 # A BSD-compatible nm program.
13575 # A symbol stripping program
13578 # Used to examine libraries when file_magic_cmd begins "file"
13579 MAGIC_CMD=$MAGIC_CMD
13581 # Used on cygwin: DLL creation program.
13584 # Used on cygwin: object dumper.
13587 # Used on cygwin: assembler.
13590 # The name of the directory that contains temporary libtool files.
13593 # How to create reloadable object files.
13594 reload_flag=$lt_reload_flag
13595 reload_cmds=$lt_reload_cmds
13597 # How to pass a linker flag through the compiler.
13598 wl=$lt_lt_prog_compiler_wl_CXX
13600 # Object file suffix (normally "o").
13601 objext="$ac_objext"
13603 # Old archive suffix (normally "a").
13606 # Shared library suffix (normally ".so").
13607 shrext_cmds='$shrext_cmds'
13609 # Executable file suffix (normally "").
13612 # Additional compiler flags for building library objects.
13613 pic_flag=$lt_lt_prog_compiler_pic_CXX
13616 # What is the maximum length of a command?
13617 max_cmd_len=$lt_cv_sys_max_cmd_len
13619 # Does compiler simultaneously support -c and -o options?
13620 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13622 # Must we lock files when doing compilation?
13623 need_locks=$lt_need_locks
13625 # Do we need the lib prefix for modules?
13626 need_lib_prefix=$need_lib_prefix
13628 # Do we need a version for libraries?
13629 need_version=$need_version
13631 # Whether dlopen is supported.
13632 dlopen_support=$enable_dlopen
13634 # Whether dlopen of programs is supported.
13635 dlopen_self=$enable_dlopen_self
13637 # Whether dlopen of statically linked programs is supported.
13638 dlopen_self_static=$enable_dlopen_self_static
13640 # Compiler flag to prevent dynamic linking.
13641 link_static_flag=$lt_lt_prog_compiler_static_CXX
13643 # Compiler flag to turn off builtin functions.
13644 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13646 # Compiler flag to allow reflexive dlopens.
13647 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13649 # Compiler flag to generate shared objects directly from archives.
13650 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13652 # Compiler flag to generate thread-safe objects.
13653 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13655 # Library versioning type.
13656 version_type=$version_type
13658 # Format of library name prefix.
13659 libname_spec=$lt_libname_spec
13661 # List of archive names. First name is the real one, the rest are links.
13662 # The last name is the one that the linker finds with -lNAME.
13663 library_names_spec=$lt_library_names_spec
13665 # The coded name of the library, if different from the real name.
13666 soname_spec=$lt_soname_spec
13668 # Commands used to build and install an old-style archive.
13670 old_archive_cmds=$lt_old_archive_cmds_CXX
13671 old_postinstall_cmds=$lt_old_postinstall_cmds
13672 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13674 # Create an old-style archive from a shared archive.
13675 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13677 # Create a temporary old-style archive to link instead of a shared archive.
13678 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13680 # Commands used to build and install a shared archive.
13681 archive_cmds=$lt_archive_cmds_CXX
13682 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13683 postinstall_cmds=$lt_postinstall_cmds
13684 postuninstall_cmds=$lt_postuninstall_cmds
13686 # Commands used to build a loadable module (assumed same as above if empty)
13687 module_cmds=$lt_module_cmds_CXX
13688 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13690 # Commands to strip libraries.
13691 old_striplib=$lt_old_striplib
13692 striplib=$lt_striplib
13694 # Dependencies to place before the objects being linked to create a
13696 predep_objects=$lt_predep_objects_CXX
13698 # Dependencies to place after the objects being linked to create a
13700 postdep_objects=$lt_postdep_objects_CXX
13702 # Dependencies to place before the objects being linked to create a
13704 predeps=$lt_predeps_CXX
13706 # Dependencies to place after the objects being linked to create a
13708 postdeps=$lt_postdeps_CXX
13710 # The library search path used internally by the compiler when linking
13711 # a shared library.
13712 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13714 # Method to check whether dependent libraries are shared objects.
13715 deplibs_check_method=$lt_deplibs_check_method
13717 # Command to use when deplibs_check_method == file_magic.
13718 file_magic_cmd=$lt_file_magic_cmd
13720 # Flag that allows shared libraries with undefined symbols to be built.
13721 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13723 # Flag that forces no undefined symbols.
13724 no_undefined_flag=$lt_no_undefined_flag_CXX
13726 # Commands used to finish a libtool library installation in a directory.
13727 finish_cmds=$lt_finish_cmds
13729 # Same as above, but a single script fragment to be evaled but not shown.
13730 finish_eval=$lt_finish_eval
13732 # Take the output of nm and produce a listing of raw symbols and C names.
13733 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13735 # Transform the output of nm in a proper C declaration
13736 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13738 # Transform the output of nm in a C name address pair
13739 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13741 # This is the shared library runtime path variable.
13742 runpath_var=$runpath_var
13744 # This is the shared library path variable.
13745 shlibpath_var=$shlibpath_var
13747 # Is shlibpath searched before the hard-coded library search path?
13748 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13750 # How to hardcode a shared library path into an executable.
13751 hardcode_action=$hardcode_action_CXX
13753 # Whether we should hardcode library paths into libraries.
13754 hardcode_into_libs=$hardcode_into_libs
13756 # Flag to hardcode \$libdir into a binary during linking.
13757 # This must work even if \$libdir does not exist.
13758 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13760 # If ld is used when linking, flag to hardcode \$libdir into
13761 # a binary during linking. This must work even if \$libdir does
13763 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13765 # Whether we need a single -rpath flag with a separated argument.
13766 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13768 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13769 # resulting binary.
13770 hardcode_direct=$hardcode_direct_CXX
13772 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13773 # resulting binary.
13774 hardcode_minus_L=$hardcode_minus_L_CXX
13776 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13777 # the resulting binary.
13778 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13780 # Set to yes if building a shared library automatically hardcodes DIR into the library
13781 # and all subsequent libraries and executables linked against it.
13782 hardcode_automatic=$hardcode_automatic_CXX
13784 # Variables whose values should be saved in libtool wrapper scripts and
13785 # restored at relink time.
13786 variables_saved_for_relink="$variables_saved_for_relink"
13788 # Whether libtool must link a program against all its dependency libraries.
13789 link_all_deplibs=$link_all_deplibs_CXX
13791 # Compile-time system search path for libraries
13792 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13794 # Run-time system search path for libraries
13795 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13797 # Fix the shell variable \$srcfile for the compiler.
13798 fix_srcfile_path="$fix_srcfile_path_CXX"
13800 # Set to yes if exported symbols are required.
13801 always_export_symbols=$always_export_symbols_CXX
13803 # The commands to list exported symbols.
13804 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13806 # The commands to extract the exported symbol list from a shared archive.
13807 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13809 # Symbols that should not be listed in the preloaded symbols.
13810 exclude_expsyms=$lt_exclude_expsyms_CXX
13812 # Symbols that must always be exported.
13813 include_expsyms=$lt_include_expsyms_CXX
13815 # ### END LIBTOOL TAG CONFIG: $tagname
13821 # If there is no Makefile yet, we rely on a make rule to execute
13822 # `config.status --recheck' to rerun these tests and create the
13823 # libtool script then.
13824 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13825 if test -f "$ltmain_in"; then
13826 test -f Makefile
&& make "$ltmain"
13832 ac_cpp
='$CPP $CPPFLAGS'
13833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13841 with_gnu_ldcxx
=$with_gnu_ld
13842 with_gnu_ld
=$lt_save_with_gnu_ld
13843 lt_cv_path_LDCXX
=$lt_cv_path_LD
13844 lt_cv_path_LD
=$lt_save_path_LD
13845 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13846 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13854 if test -n "$F77" && test "X$F77" != "Xno"; then
13857 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13858 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13862 archive_cmds_need_lc_F77
=no
13863 allow_undefined_flag_F77
=
13864 always_export_symbols_F77
=no
13865 archive_expsym_cmds_F77
=
13866 export_dynamic_flag_spec_F77
=
13867 hardcode_direct_F77
=no
13868 hardcode_libdir_flag_spec_F77
=
13869 hardcode_libdir_flag_spec_ld_F77
=
13870 hardcode_libdir_separator_F77
=
13871 hardcode_minus_L_F77
=no
13872 hardcode_automatic_F77
=no
13874 module_expsym_cmds_F77
=
13875 link_all_deplibs_F77
=unknown
13876 old_archive_cmds_F77
=$old_archive_cmds
13877 no_undefined_flag_F77
=
13878 whole_archive_flag_spec_F77
=
13879 enable_shared_with_static_runtimes_F77
=no
13881 # Source file extension for f77 test sources.
13884 # Object file extension for compiled f77 test sources.
13888 # Code to be used in simple compile tests
13889 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13891 # Code to be used in simple link tests
13892 lt_simple_link_test_code
=" program t\n end\n"
13894 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13896 # If no C compiler was specified, use CC.
13899 # If no C compiler flags were specified, use CFLAGS.
13900 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13902 # Allow CC to be a program name with arguments.
13906 # save warnings/boilerplate of simple test code
13907 ac_outfile
=conftest.
$ac_objext
13908 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13909 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13910 _lt_compiler_boilerplate
=`cat conftest.err`
13913 ac_outfile
=conftest.
$ac_objext
13914 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13915 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13916 _lt_linker_boilerplate
=`cat conftest.err`
13920 # Allow CC to be a program name with arguments.
13925 for cc_temp
in $compiler""; do
13927 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13928 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13933 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13936 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13937 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13938 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13939 echo "${ECHO_T}$can_build_shared" >&6; }
13941 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13942 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13943 test "$can_build_shared" = "no" && enable_shared
=no
13945 # On AIX, shared libraries and static libraries use the same namespace, and
13946 # are all built from PIC.
13949 test "$enable_shared" = yes && enable_static
=no
13950 if test -n "$RANLIB"; then
13951 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13952 postinstall_cmds
='$RANLIB $lib'
13956 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13957 test "$enable_shared" = yes && enable_static
=no
13961 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13962 echo "${ECHO_T}$enable_shared" >&6; }
13964 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13965 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13966 # Make sure either enable_shared or enable_static is yes.
13967 test "$enable_shared" = yes || enable_static
=yes
13968 { echo "$as_me:$LINENO: result: $enable_static" >&5
13969 echo "${ECHO_T}$enable_static" >&6; }
13974 lt_prog_compiler_wl_F77
=
13975 lt_prog_compiler_pic_F77
=
13976 lt_prog_compiler_static_F77
=
13978 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13979 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13981 if test "$GCC" = yes; then
13982 lt_prog_compiler_wl_F77
='-Wl,'
13983 lt_prog_compiler_static_F77
='-static'
13987 # All AIX code is PIC.
13988 if test "$host_cpu" = ia64
; then
13989 # AIX 5 now supports IA64 processor
13990 lt_prog_compiler_static_F77
='-Bstatic'
13995 # FIXME: we need at least 68020 code to build shared libraries, but
13996 # adding the `-m68020' flag to GCC prevents building anything better,
13998 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14001 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14002 # PIC is the default for these OSes.
14005 mingw
* | pw32
* | os2
*)
14006 # This hack is so that the source file can tell whether it is being
14007 # built for inclusion in a dll (and should export symbols for example).
14008 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14011 darwin
* | rhapsody
*)
14012 # PIC is the default on this platform
14013 # Common symbols not allowed in MH_DYLIB files
14014 lt_prog_compiler_pic_F77
='-fno-common'
14018 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14019 # Instead, we relocate shared libraries at runtime.
14023 # Just because we use GCC doesn't mean we suddenly get shared libraries
14024 # on systems that don't support them.
14025 lt_prog_compiler_can_build_shared_F77
=no
14030 if test -d /usr
/nec
; then
14031 lt_prog_compiler_pic_F77
=-Kconform_pic
14036 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14037 # not for PA HP-UX.
14043 lt_prog_compiler_pic_F77
='-fPIC'
14049 lt_prog_compiler_pic_F77
='-fPIC'
14053 # PORTME Check for flag to pass linker flags through the system compiler.
14056 lt_prog_compiler_wl_F77
='-Wl,'
14057 if test "$host_cpu" = ia64
; then
14058 # AIX 5 now supports IA64 processor
14059 lt_prog_compiler_static_F77
='-Bstatic'
14061 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14065 # PIC is the default on this platform
14066 # Common symbols not allowed in MH_DYLIB files
14067 case $cc_basename in
14069 lt_prog_compiler_pic_F77
='-qnocommon'
14070 lt_prog_compiler_wl_F77
='-Wl,'
14075 mingw
* | pw32
* | os2
*)
14076 # This hack is so that the source file can tell whether it is being
14077 # built for inclusion in a dll (and should export symbols for example).
14078 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14081 hpux9
* | hpux10
* | hpux11
*)
14082 lt_prog_compiler_wl_F77
='-Wl,'
14083 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14084 # not for PA HP-UX.
14090 lt_prog_compiler_pic_F77
='+Z'
14093 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14094 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14097 irix5
* | irix6
* | nonstopux
*)
14098 lt_prog_compiler_wl_F77
='-Wl,'
14099 # PIC (with -KPIC) is the default.
14100 lt_prog_compiler_static_F77
='-non_shared'
14104 lt_prog_compiler_pic_F77
='-KPIC'
14105 lt_prog_compiler_static_F77
='-Bstatic'
14108 linux
* | k
*bsd
*-gnu)
14109 case $cc_basename in
14111 lt_prog_compiler_wl_F77
='-Wl,'
14112 lt_prog_compiler_pic_F77
='-KPIC'
14113 lt_prog_compiler_static_F77
='-static'
14115 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14116 # Portland Group compilers (*not* the Pentium gcc compiler,
14117 # which looks to be a dead project)
14118 lt_prog_compiler_wl_F77
='-Wl,'
14119 lt_prog_compiler_pic_F77
='-fpic'
14120 lt_prog_compiler_static_F77
='-Bstatic'
14123 lt_prog_compiler_wl_F77
='-Wl,'
14124 # All Alpha code is PIC.
14125 lt_prog_compiler_static_F77
='-non_shared'
14130 osf3
* | osf4
* | osf5
*)
14131 lt_prog_compiler_wl_F77
='-Wl,'
14132 # All OSF/1 code is PIC.
14133 lt_prog_compiler_static_F77
='-non_shared'
14137 lt_prog_compiler_pic_F77
='-KPIC'
14138 lt_prog_compiler_static_F77
='-Bstatic'
14139 case $cc_basename in
14140 f77
* | f90
* | f95
*)
14141 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14143 lt_prog_compiler_wl_F77
='-Wl,';;
14148 lt_prog_compiler_wl_F77
='-Qoption ld '
14149 lt_prog_compiler_pic_F77
='-PIC'
14150 lt_prog_compiler_static_F77
='-Bstatic'
14153 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14154 lt_prog_compiler_wl_F77
='-Wl,'
14155 lt_prog_compiler_pic_F77
='-KPIC'
14156 lt_prog_compiler_static_F77
='-Bstatic'
14160 if test -d /usr
/nec
;then
14161 lt_prog_compiler_pic_F77
='-Kconform_pic'
14162 lt_prog_compiler_static_F77
='-Bstatic'
14166 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14167 lt_prog_compiler_wl_F77
='-Wl,'
14168 lt_prog_compiler_pic_F77
='-KPIC'
14169 lt_prog_compiler_static_F77
='-Bstatic'
14173 lt_prog_compiler_wl_F77
='-Wl,'
14174 lt_prog_compiler_can_build_shared_F77
=no
14178 lt_prog_compiler_pic_F77
='-pic'
14179 lt_prog_compiler_static_F77
='-Bstatic'
14183 lt_prog_compiler_can_build_shared_F77
=no
14188 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14189 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14192 # Check to make sure the PIC flag actually works.
14194 if test -n "$lt_prog_compiler_pic_F77"; then
14196 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14197 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14198 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14199 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 lt_prog_compiler_pic_works_F77
=no
14202 ac_outfile
=conftest.
$ac_objext
14203 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14204 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14205 # Insert the option either (1) after the last *FLAGS variable, or
14206 # (2) before a word containing "conftest.", or (3) at the end.
14207 # Note that $ac_compile itself does not contain backslashes and begins
14208 # with a dollar sign (not a hyphen), so the echo should work correctly.
14209 # The option is referenced via a variable to avoid confusing sed.
14210 lt_compile
=`echo "$ac_compile" | $SED \
14211 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14212 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14213 -e 's:$: $lt_compiler_flag:'`
14214 (eval echo "\"\$as_me:14214: $lt_compile\"" >&5)
14215 (eval "$lt_compile" 2>conftest.err
)
14217 cat conftest.err
>&5
14218 echo "$as_me:14218: \$? = $ac_status" >&5
14219 if (exit $ac_status) && test -s "$ac_outfile"; then
14220 # The compiler can only warn and ignore the option if not recognized
14221 # So say no if there are warnings other than the usual output.
14222 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14223 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14224 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14225 lt_prog_compiler_pic_works_F77
=yes
14231 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14232 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14234 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14235 case $lt_prog_compiler_pic_F77 in
14237 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14240 lt_prog_compiler_pic_F77
=
14241 lt_prog_compiler_can_build_shared_F77
=no
14246 # For platforms which do not support PIC, -DPIC is meaningless:
14248 lt_prog_compiler_pic_F77
=
14251 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14256 # Check to make sure the static flag actually works.
14258 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14259 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14260 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14261 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 lt_prog_compiler_static_works_F77
=no
14265 save_LDFLAGS
="$LDFLAGS"
14266 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14267 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14268 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14269 # The linker can only warn and ignore the option if not recognized
14270 # So say no if there are warnings
14271 if test -s conftest.err
; then
14272 # Append any errors to the config.log.
14273 cat conftest.err
1>&5
14274 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14275 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14276 if diff conftest.exp conftest.er2
>/dev
/null
; then
14277 lt_prog_compiler_static_works_F77
=yes
14280 lt_prog_compiler_static_works_F77
=yes
14284 LDFLAGS
="$save_LDFLAGS"
14287 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14288 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14290 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14293 lt_prog_compiler_static_F77
=
14297 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14298 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14299 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14300 echo $ECHO_N "(cached) $ECHO_C" >&6
14302 lt_cv_prog_compiler_c_o_F77
=no
14303 $rm -r conftest
2>/dev
/null
14307 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14309 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14310 # Insert the option either (1) after the last *FLAGS variable, or
14311 # (2) before a word containing "conftest.", or (3) at the end.
14312 # Note that $ac_compile itself does not contain backslashes and begins
14313 # with a dollar sign (not a hyphen), so the echo should work correctly.
14314 lt_compile
=`echo "$ac_compile" | $SED \
14315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14317 -e 's:$: $lt_compiler_flag:'`
14318 (eval echo "\"\$as_me:14318: $lt_compile\"" >&5)
14319 (eval "$lt_compile" 2>out
/conftest.err
)
14321 cat out
/conftest.err
>&5
14322 echo "$as_me:14322: \$? = $ac_status" >&5
14323 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14325 # The compiler can only warn and ignore the option if not recognized
14326 # So say no if there are warnings
14327 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14328 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14329 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14330 lt_cv_prog_compiler_c_o_F77
=yes
14335 # SGI C++ compiler will create directory out/ii_files/ for
14336 # template instantiation
14337 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14338 $rm out
/* && rmdir out
14344 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14345 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14348 hard_links
="nottested"
14349 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14350 # do not overwrite the value of need_locks provided by the user
14351 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14352 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14355 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14357 ln conftest.a conftest.b
2>&5 || hard_links
=no
14358 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14359 { echo "$as_me:$LINENO: result: $hard_links" >&5
14360 echo "${ECHO_T}$hard_links" >&6; }
14361 if test "$hard_links" = no
; then
14362 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14363 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14370 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14371 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14374 allow_undefined_flag_F77
=
14375 enable_shared_with_static_runtimes_F77
=no
14377 archive_expsym_cmds_F77
=
14378 old_archive_From_new_cmds_F77
=
14379 old_archive_from_expsyms_cmds_F77
=
14380 export_dynamic_flag_spec_F77
=
14381 whole_archive_flag_spec_F77
=
14382 thread_safe_flag_spec_F77
=
14383 hardcode_libdir_flag_spec_F77
=
14384 hardcode_libdir_flag_spec_ld_F77
=
14385 hardcode_libdir_separator_F77
=
14386 hardcode_direct_F77
=no
14387 hardcode_minus_L_F77
=no
14388 hardcode_shlibpath_var_F77
=unsupported
14389 link_all_deplibs_F77
=unknown
14390 hardcode_automatic_F77
=no
14392 module_expsym_cmds_F77
=
14393 always_export_symbols_F77
=no
14394 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14395 # include_expsyms should be a list of space-separated symbols to be *always*
14396 # included in the symbol list
14397 include_expsyms_F77
=
14398 # exclude_expsyms can be an extended regexp of symbols to exclude
14399 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14400 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14401 # as well as any symbol that contains `d'.
14402 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14403 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14404 # platforms (ab)use it in PIC code, but their linkers get confused if
14405 # the symbol is explicitly referenced. Since portable code cannot
14406 # rely on this symbol name, it's probably fine to never include it in
14407 # preloaded symbol tables.
14408 extract_expsyms_cmds
=
14409 # Just being paranoid about ensuring that cc_basename is set.
14410 for cc_temp
in $compiler""; do
14412 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14413 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14418 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14421 cygwin
* | mingw
* | pw32
*)
14422 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14423 # When not using gcc, we currently assume that we are using
14424 # Microsoft Visual C++.
14425 if test "$GCC" != yes; then
14430 # we just hope/assume this is gcc and not c89 (= MSVC++)
14439 if test "$with_gnu_ld" = yes; then
14440 # If archive_cmds runs LD, not CC, wlarc should be empty
14443 # Set some defaults for GNU ld with shared library support. These
14444 # are reset later if shared libraries are not supported. Putting them
14445 # here allows them to be overridden if necessary.
14446 runpath_var
=LD_RUN_PATH
14447 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14448 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14449 # ancient GNU ld didn't support --whole-archive et. al.
14450 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14451 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14453 whole_archive_flag_spec_F77
=
14455 supports_anon_versioning
=no
14456 case `$LD -v 2>/dev/null` in
14457 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14458 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14459 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14460 *\
2.11.
*) ;; # other 2.11 versions
14461 *) supports_anon_versioning
=yes ;;
14464 # See if GNU ld supports shared libraries.
14466 aix3
* | aix4
* | aix5
*)
14467 # On AIX/PPC, the GNU linker is very broken
14468 if test "$host_cpu" != ia64
; then
14472 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14473 *** to be unable to reliably create shared libraries on AIX.
14474 *** Therefore, libtool is disabling shared libraries support. If you
14475 *** really care for shared libraries, you may want to modify your PATH
14476 *** so that a non-GNU linker is found, and then restart.
14483 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)'
14484 hardcode_libdir_flag_spec_F77
='-L$libdir'
14485 hardcode_minus_L_F77
=yes
14487 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14488 # that the semantics of dynamic libraries on AmigaOS, at least up
14489 # to version 4, is to share data among multiple programs linked
14490 # with the same dynamic library. Since this doesn't match the
14491 # behavior of shared libraries on other platforms, we can't use
14497 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14498 allow_undefined_flag_F77
=unsupported
14499 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14500 # support --undefined. This deserves some investigation. FIXME
14501 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14507 cygwin
* | mingw
* | pw32
*)
14508 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14509 # as there is no search path for DLLs.
14510 hardcode_libdir_flag_spec_F77
='-L$libdir'
14511 allow_undefined_flag_F77
=unsupported
14512 always_export_symbols_F77
=no
14513 enable_shared_with_static_runtimes_F77
=yes
14514 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14516 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14517 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14518 # If the export-symbols file already is a .def file (1st line
14519 # is EXPORTS), use it as is; otherwise, prepend...
14520 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14521 cp $export_symbols $output_objdir/$soname.def;
14523 echo EXPORTS > $output_objdir/$soname.def;
14524 cat $export_symbols >> $output_objdir/$soname.def;
14526 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14533 hardcode_direct_F77
=no
14534 hardcode_shlibpath_var_F77
=no
14535 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14536 export_dynamic_flag_spec_F77
='${wl}-E'
14537 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14538 # Instead, shared libraries are loaded at an image base (0x10000000 by
14539 # default) and relocated if they conflict, which is a slow very memory
14540 # consuming and fragmenting process. To avoid this, we pick a random,
14541 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14542 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14543 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'
14544 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'
14547 linux
* | k
*bsd
*-gnu)
14548 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14550 case $cc_basename,$host_cpu in
14551 pgcc
*) # Portland Group C compiler
14552 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'
14553 tmp_addflag
=' $pic_flag'
14555 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14556 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'
14557 tmp_addflag
=' $pic_flag -Mnomain' ;;
14558 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14559 tmp_addflag
=' -i_dynamic' ;;
14560 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14561 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14562 ifc
* | ifort
*) # Intel Fortran compiler
14563 tmp_addflag
=' -nofor_main' ;;
14565 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14567 if test $supports_anon_versioning = yes; then
14568 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14569 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14570 $echo "local: *; };" >> $output_objdir/$libname.ver~
14571 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14573 link_all_deplibs_F77
=no
14579 netbsd
* | netbsdelf
*-gnu)
14580 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14581 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14584 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14585 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14590 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14594 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14595 *** create shared libraries on Solaris systems. Therefore, libtool
14596 *** is disabling shared libraries support. We urge you to upgrade GNU
14597 *** binutils to release 2.9.1 or newer. Another option is to modify
14598 *** your PATH or compiler configuration so that the native linker is
14599 *** used, and then restart.
14602 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14603 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14604 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14610 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14611 case `$LD -v 2>&1` in
14612 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14616 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14617 *** reliably create shared libraries on SCO systems. Therefore, libtool
14618 *** is disabling shared libraries support. We urge you to upgrade GNU
14619 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14620 *** your PATH or compiler configuration so that the native linker is
14621 *** used, and then restart.
14626 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14627 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14628 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14629 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14638 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14640 hardcode_direct_F77
=yes
14641 hardcode_shlibpath_var_F77
=no
14645 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14646 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14647 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14654 if test "$ld_shlibs_F77" = no
; then
14656 hardcode_libdir_flag_spec_F77
=
14657 export_dynamic_flag_spec_F77
=
14658 whole_archive_flag_spec_F77
=
14661 # PORTME fill in a description of your system's linker (not GNU ld)
14664 allow_undefined_flag_F77
=unsupported
14665 always_export_symbols_F77
=yes
14666 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'
14667 # Note: this linker hardcodes the directories in LIBPATH if there
14668 # are no directories specified by -L.
14669 hardcode_minus_L_F77
=yes
14670 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14671 # Neither direct hardcoding nor static linking is supported with a
14673 hardcode_direct_F77
=unsupported
14678 if test "$host_cpu" = ia64
; then
14679 # On IA64, the linker does run time linking by default, so we don't
14680 # have to do anything special.
14681 aix_use_runtimelinking
=no
14682 exp_sym_flag
='-Bexport'
14685 # If we're using GNU nm, then we don't want the "-C" option.
14686 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14687 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14688 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'
14690 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'
14692 aix_use_runtimelinking
=no
14694 # Test if we are trying to use run time linking or normal
14695 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14696 # need to do runtime linking.
14697 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14698 for ld_flag
in $LDFLAGS; do
14699 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14700 aix_use_runtimelinking
=yes
14707 exp_sym_flag
='-bexport'
14708 no_entry_flag
='-bnoentry'
14711 # When large executables or shared objects are built, AIX ld can
14712 # have problems creating the table of contents. If linking a library
14713 # or program results in "error TOC overflow" add -mminimal-toc to
14714 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14715 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14717 archive_cmds_F77
=''
14718 hardcode_direct_F77
=yes
14719 hardcode_libdir_separator_F77
=':'
14720 link_all_deplibs_F77
=yes
14722 if test "$GCC" = yes; then
14723 case $host_os in aix4.
[012]|aix4.
[012].
*)
14724 # We only want to do this on AIX 4.2 and lower, the check
14725 # below for broken collect2 doesn't work under 4.3+
14726 collect2name
=`${CC} -print-prog-name=collect2`
14727 if test -f "$collect2name" && \
14728 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14730 # We have reworked collect2
14731 hardcode_direct_F77
=yes
14733 # We have old collect2
14734 hardcode_direct_F77
=unsupported
14735 # It fails to find uninstalled libraries when the uninstalled
14736 # path is not listed in the libpath. Setting hardcode_minus_L
14737 # to unsupported forces relinking
14738 hardcode_minus_L_F77
=yes
14739 hardcode_libdir_flag_spec_F77
='-L$libdir'
14740 hardcode_libdir_separator_F77
=
14744 shared_flag
='-shared'
14745 if test "$aix_use_runtimelinking" = yes; then
14746 shared_flag
="$shared_flag "'${wl}-G'
14750 if test "$host_cpu" = ia64
; then
14751 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14752 # chokes on -Wl,-G. The following line is correct:
14755 if test "$aix_use_runtimelinking" = yes; then
14756 shared_flag
='${wl}-G'
14758 shared_flag
='${wl}-bM:SRE'
14763 # It seems that -bexpall does not export symbols beginning with
14764 # underscore (_), so it is better to generate a list of symbols to export.
14765 always_export_symbols_F77
=yes
14766 if test "$aix_use_runtimelinking" = yes; then
14767 # Warning - without using the other runtime loading flags (-brtl),
14768 # -berok will link without error, but may produce a broken library.
14769 allow_undefined_flag_F77
='-berok'
14770 # Determine the default libpath from the value encoded in an empty executable.
14771 cat >conftest.
$ac_ext <<_ACEOF
14776 rm -f conftest.
$ac_objext conftest
$ac_exeext
14777 if { (ac_try
="$ac_link"
14778 case "(($ac_try" in
14779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14780 *) ac_try_echo=$ac_try;;
14782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14783 (eval "$ac_link") 2>conftest.er1
14785 grep -v '^ *+' conftest.er1 >conftest.err
14787 cat conftest.err >&5
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); } &&
14790 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14791 { (case "(($ac_try" in
14792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14793 *) ac_try_echo
=$ac_try;;
14795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14796 (eval "$ac_try") 2>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); }; } &&
14800 { ac_try
='test -s conftest$ac_exeext'
14801 { (case "(($ac_try" in
14802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14803 *) ac_try_echo=$ac_try;;
14805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14806 (eval "$ac_try") 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14811 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14813 # Check for a 64-bit object if we didn't find anything.
14814 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; }
14817 echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.$ac_ext >&5
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext conftest.$ac_ext
14825 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14827 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14828 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"
14830 if test "$host_cpu" = ia64; then
14831 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14832 allow_undefined_flag_F77="-z nodefs"
14833 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"
14835 # Determine the default libpath from the value encoded in an empty executable.
14836 cat >conftest.$ac_ext <<_ACEOF
14841 rm -f conftest.$ac_objext conftest$ac_exeext
14842 if { (ac_try="$ac_link"
14843 case "(($ac_try" in
14844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14845 *) ac_try_echo
=$ac_try;;
14847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14848 (eval "$ac_link") 2>conftest.er1
14850 grep -v '^ *+' conftest.er1
>conftest.err
14852 cat conftest.err
>&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } &&
14855 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14856 { (case "(($ac_try" in
14857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14858 *) ac_try_echo=$ac_try;;
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_try") 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; } &&
14865 { ac_try='test -s conftest$ac_exeext'
14866 { (case "(($ac_try" in
14867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14868 *) ac_try_echo
=$ac_try;;
14870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14871 (eval "$ac_try") 2>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; }; then
14876 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14878 # Check for a 64-bit object if we didn't find anything.
14879 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; }
14882 echo "$as_me: failed program was:" >&5
14883 sed 's/^/| /' conftest.
$ac_ext >&5
14888 rm -f core conftest.err conftest.
$ac_objext \
14889 conftest
$ac_exeext conftest.
$ac_ext
14890 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14892 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14893 # Warning - without using the other run time loading flags,
14894 # -berok will link without error, but may produce a broken library.
14895 no_undefined_flag_F77
=' ${wl}-bernotok'
14896 allow_undefined_flag_F77
=' ${wl}-berok'
14897 # Exported symbols can be pulled into shared objects from archives
14898 whole_archive_flag_spec_F77
='$convenience'
14899 archive_cmds_need_lc_F77
=yes
14900 # This is similar to how AIX traditionally builds its shared libraries.
14901 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'
14907 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)'
14908 hardcode_libdir_flag_spec_F77
='-L$libdir'
14909 hardcode_minus_L_F77
=yes
14910 # see comment about different semantics on the GNU ld section
14915 export_dynamic_flag_spec_F77
=-rdynamic
14918 cygwin
* | mingw
* | pw32
*)
14919 # When not using gcc, we currently assume that we are using
14920 # Microsoft Visual C++.
14921 # hardcode_libdir_flag_spec is actually meaningless, as there is
14922 # no search path for DLLs.
14923 hardcode_libdir_flag_spec_F77
=' '
14924 allow_undefined_flag_F77
=unsupported
14925 # Tell ltmain to make .lib files, not .a files.
14927 # Tell ltmain to make .dll files, not .so files.
14929 # FIXME: Setting linknames here is a bad hack.
14930 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14931 # The linker will automatically build a .lib file if we build a DLL.
14932 old_archive_From_new_cmds_F77
='true'
14933 # FIXME: Should let the user specify the lib program.
14934 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14935 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14936 enable_shared_with_static_runtimes_F77
=yes
14939 darwin
* | rhapsody
*)
14941 rhapsody
* | darwin1.
[012])
14942 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14945 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14946 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14948 case ${MACOSX_DEPLOYMENT_TARGET} in
14950 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14953 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14959 archive_cmds_need_lc_F77
=no
14960 hardcode_direct_F77
=no
14961 hardcode_automatic_F77
=yes
14962 hardcode_shlibpath_var_F77
=unsupported
14963 whole_archive_flag_spec_F77
=''
14964 link_all_deplibs_F77
=yes
14965 if test "$GCC" = yes ; then
14966 output_verbose_link_cmd
='echo'
14967 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14968 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14969 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14970 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}'
14971 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}'
14973 case $cc_basename in
14975 output_verbose_link_cmd
='echo'
14976 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14977 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14978 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14979 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}'
14980 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}'
14990 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14991 hardcode_libdir_flag_spec_F77
='-L$libdir'
14992 hardcode_shlibpath_var_F77
=no
14999 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15000 # support. Future versions do this automatically, but an explicit c++rt0.o
15001 # does not break anything, and helps significantly (at the cost of a little
15004 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15005 hardcode_libdir_flag_spec_F77
='-R$libdir'
15006 hardcode_direct_F77
=yes
15007 hardcode_shlibpath_var_F77
=no
15010 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15012 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15013 hardcode_direct_F77
=yes
15014 hardcode_minus_L_F77
=yes
15015 hardcode_shlibpath_var_F77
=no
15018 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15019 freebsd
* | dragonfly
*)
15020 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15021 hardcode_libdir_flag_spec_F77
='-R$libdir'
15022 hardcode_direct_F77
=yes
15023 hardcode_shlibpath_var_F77
=no
15027 if test "$GCC" = yes; then
15028 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'
15030 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'
15032 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15033 hardcode_libdir_separator_F77
=:
15034 hardcode_direct_F77
=yes
15036 # hardcode_minus_L: Not really in the search PATH,
15037 # but as the default location of the library.
15038 hardcode_minus_L_F77
=yes
15039 export_dynamic_flag_spec_F77
='${wl}-E'
15043 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15044 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15046 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15048 if test "$with_gnu_ld" = no
; then
15049 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15050 hardcode_libdir_separator_F77
=:
15052 hardcode_direct_F77
=yes
15053 export_dynamic_flag_spec_F77
='${wl}-E'
15055 # hardcode_minus_L: Not really in the search PATH,
15056 # but as the default location of the library.
15057 hardcode_minus_L_F77
=yes
15062 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15065 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15068 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15071 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15077 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15080 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15083 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15087 if test "$with_gnu_ld" = no
; then
15088 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15089 hardcode_libdir_separator_F77
=:
15093 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15094 hardcode_direct_F77
=no
15095 hardcode_shlibpath_var_F77
=no
15098 hardcode_direct_F77
=yes
15099 export_dynamic_flag_spec_F77
='${wl}-E'
15101 # hardcode_minus_L: Not really in the search PATH,
15102 # but as the default location of the library.
15103 hardcode_minus_L_F77
=yes
15109 irix5
* | irix6
* | nonstopux
*)
15110 if test "$GCC" = yes; then
15111 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'
15113 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'
15114 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15116 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15117 hardcode_libdir_separator_F77
=:
15118 link_all_deplibs_F77
=yes
15121 netbsd
* | netbsdelf
*-gnu)
15122 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15123 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15125 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15127 hardcode_libdir_flag_spec_F77
='-R$libdir'
15128 hardcode_direct_F77
=yes
15129 hardcode_shlibpath_var_F77
=no
15133 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15134 hardcode_direct_F77
=yes
15135 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15136 hardcode_libdir_separator_F77
=:
15137 hardcode_shlibpath_var_F77
=no
15141 hardcode_direct_F77
=yes
15142 hardcode_shlibpath_var_F77
=no
15143 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15144 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15145 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15146 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15147 export_dynamic_flag_spec_F77
='${wl}-E'
15150 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15151 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15152 hardcode_libdir_flag_spec_F77
='-R$libdir'
15155 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15156 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15163 hardcode_libdir_flag_spec_F77
='-L$libdir'
15164 hardcode_minus_L_F77
=yes
15165 allow_undefined_flag_F77
=unsupported
15166 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'
15167 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15171 if test "$GCC" = yes; then
15172 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15173 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'
15175 allow_undefined_flag_F77
=' -expect_unresolved \*'
15176 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'
15178 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15179 hardcode_libdir_separator_F77
=:
15182 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15183 if test "$GCC" = yes; then
15184 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15185 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'
15186 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15188 allow_undefined_flag_F77
=' -expect_unresolved \*'
15189 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'
15190 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~
15191 $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'
15193 # Both c and cxx compiler support -rpath directly
15194 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15196 hardcode_libdir_separator_F77
=:
15200 no_undefined_flag_F77
=' -z text'
15201 if test "$GCC" = yes; then
15203 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15204 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15205 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15208 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15209 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15210 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15212 hardcode_libdir_flag_spec_F77
='-R$libdir'
15213 hardcode_shlibpath_var_F77
=no
15215 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15217 # The compiler driver will combine linker options so we
15218 # cannot just pass the convience library names through
15219 # without $wl, iff we do not link with $LD.
15220 # Luckily, gcc supports the same syntax we need for Sun Studio.
15221 # Supported since Solaris 2.6 (maybe 2.5.1?)
15224 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15226 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' ;;
15229 link_all_deplibs_F77
=yes
15233 if test "x$host_vendor" = xsequent
; then
15234 # Use $CC to link under sequent, because it throws in some extra .o
15235 # files that make .init and .fini sections work.
15236 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15238 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15240 hardcode_libdir_flag_spec_F77
='-L$libdir'
15241 hardcode_direct_F77
=yes
15242 hardcode_minus_L_F77
=yes
15243 hardcode_shlibpath_var_F77
=no
15247 case $host_vendor in
15249 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15250 hardcode_direct_F77
=yes # is this really true???
15253 ## LD is ld it makes a PLAMLIB
15254 ## CC just makes a GrossModule.
15255 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15256 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15257 hardcode_direct_F77
=no
15260 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15261 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15264 runpath_var
='LD_RUN_PATH'
15265 hardcode_shlibpath_var_F77
=no
15269 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15270 hardcode_shlibpath_var_F77
=no
15271 export_dynamic_flag_spec_F77
='-Bexport'
15275 if test -d /usr
/nec
; then
15276 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15277 hardcode_shlibpath_var_F77
=no
15278 runpath_var
=LD_RUN_PATH
15279 hardcode_runpath_var
=yes
15284 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15285 no_undefined_flag_F77
='${wl}-z,text'
15286 archive_cmds_need_lc_F77
=no
15287 hardcode_shlibpath_var_F77
=no
15288 runpath_var
='LD_RUN_PATH'
15290 if test "$GCC" = yes; then
15291 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15292 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15294 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15295 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15299 sysv5
* | sco3.2v5
* | sco5v6
*)
15300 # Note: We can NOT use -z defs as we might desire, because we do not
15301 # link with -lc, and that would cause any symbols used from libc to
15302 # always be unresolved, which means just about no library would
15303 # ever link correctly. If we're not using GNU ld we use -z text
15304 # though, which does catch some bad symbols but isn't as heavy-handed
15306 no_undefined_flag_F77
='${wl}-z,text'
15307 allow_undefined_flag_F77
='${wl}-z,nodefs'
15308 archive_cmds_need_lc_F77
=no
15309 hardcode_shlibpath_var_F77
=no
15310 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15311 hardcode_libdir_separator_F77
=':'
15312 link_all_deplibs_F77
=yes
15313 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15314 runpath_var
='LD_RUN_PATH'
15316 if test "$GCC" = yes; then
15317 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15318 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15320 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15321 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15326 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15327 hardcode_libdir_flag_spec_F77
='-L$libdir'
15328 hardcode_shlibpath_var_F77
=no
15337 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15338 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15339 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15342 # Do we need to explicitly link libc?
15344 case "x$archive_cmds_need_lc_F77" in
15346 # Assume -lc should be added
15347 archive_cmds_need_lc_F77
=yes
15349 if test "$enable_shared" = yes && test "$GCC" = yes; then
15350 case $archive_cmds_F77 in
15352 # FIXME: we may have to deal with multi-command sequences.
15355 # Test whether the compiler implicitly links with -lc since on some
15356 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15357 # to ld, don't add -lc before -lgcc.
15358 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15359 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15361 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15364 (eval $ac_compile) 2>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } 2>conftest.err
; then
15370 libobjs
=conftest.
$ac_objext
15372 wl
=$lt_prog_compiler_wl_F77
15373 pic_flag
=$lt_prog_compiler_pic_F77
15379 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15380 allow_undefined_flag_F77
=
15381 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15382 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }
15387 archive_cmds_need_lc_F77
=no
15389 archive_cmds_need_lc_F77
=yes
15391 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15393 cat conftest.err
1>&5
15396 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15397 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15404 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15405 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15406 library_names_spec
=
15407 libname_spec
='lib$name'
15411 postuninstall_cmds
=
15415 shlibpath_overrides_runpath
=unknown
15417 dynamic_linker
="$host_os ld.so"
15418 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15419 if test "$GCC" = yes; then
15420 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15421 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15422 # if the path contains ";" then we assume it to be the separator
15423 # otherwise default to the standard path separator (i.e. ":") - it is
15424 # assumed that no part of a normal pathname contains ";" but that should
15425 # okay in the real world where ";" in dirpaths is itself problematic.
15426 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15428 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15431 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15433 need_lib_prefix
=unknown
15434 hardcode_into_libs
=no
15436 # when you set need_version to no, make sure it does not cause -set_version
15437 # flags to be left without arguments
15438 need_version
=unknown
15443 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15444 shlibpath_var
=LIBPATH
15446 # AIX 3 has no versioning support, so we append a major version to the name.
15447 soname_spec
='${libname}${release}${shared_ext}$major'
15454 hardcode_into_libs
=yes
15455 if test "$host_cpu" = ia64
; then
15456 # AIX 5 supports IA64
15457 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15458 shlibpath_var
=LD_LIBRARY_PATH
15460 # With GCC up to 2.95.x, collect2 would create an import file
15461 # for dependence libraries. The import file would start with
15462 # the line `#! .'. This would cause the generated library to
15463 # depend on `.', always an invalid library. This was fixed in
15464 # development snapshots of GCC prior to 3.0.
15466 aix4 | aix4.
[01] | aix4.
[01].
*)
15467 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15469 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15472 can_build_shared
=no
15476 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15477 # soname into executable. Probably we can add versioning support to
15478 # collect2, so additional links can be useful in future.
15479 if test "$aix_use_runtimelinking" = yes; then
15480 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15481 # instead of lib<name>.a to let people know that these are not
15482 # typical AIX shared libraries.
15483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15485 # We preserve .a as extension for shared libraries through AIX4.2
15486 # and later when we are not doing run time linking.
15487 library_names_spec
='${libname}${release}.a $libname.a'
15488 soname_spec
='${libname}${release}${shared_ext}$major'
15490 shlibpath_var
=LIBPATH
15495 library_names_spec
='$libname.ixlibrary $libname.a'
15496 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15497 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'
15501 library_names_spec
='${libname}${shared_ext}'
15502 dynamic_linker
="$host_os ld.so"
15503 shlibpath_var
=LIBRARY_PATH
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15510 soname_spec
='${libname}${release}${shared_ext}$major'
15511 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15512 shlibpath_var
=LD_LIBRARY_PATH
15513 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15514 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15515 # the default ld.so.conf also contains /usr/contrib/lib and
15516 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15517 # libtool to hard-code these into programs
15520 cygwin
* | mingw
* | pw32
*)
15521 version_type
=windows
15526 case $GCC,$host_os in
15527 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15528 library_names_spec
='$libname.dll.a'
15529 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15530 postinstall_cmds
='base_file=`basename \${file}`~
15531 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15532 dldir=$destdir/`dirname \$dlpath`~
15533 test -d \$dldir || mkdir -p \$dldir~
15534 $install_prog $dir/$dlname \$dldir/$dlname~
15535 chmod a+x \$dldir/$dlname'
15536 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15537 dlpath=$dir/\$dldll~
15539 shlibpath_overrides_runpath
=yes
15543 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15544 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15545 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15548 # MinGW DLLs use traditional 'lib' prefix
15549 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15550 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15551 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15552 # It is most probably a Windows format PATH printed by
15553 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15554 # path with ; separators, and with drive letters. We can handle the
15555 # drive letters (cygwin fileutils understands them), so leave them,
15556 # especially as we might pass files found there to a mingw objdump,
15557 # which wouldn't understand a cygwinified path. Ahh.
15558 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15560 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15564 # pw32 DLLs use 'pw' prefix rather than 'lib'
15565 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15571 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15574 dynamic_linker
='Win32 ld.exe'
15575 # FIXME: first we should search . and the directory the executable is in
15579 darwin
* | rhapsody
*)
15580 dynamic_linker
="$host_os dyld"
15581 version_type
=darwin
15584 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15585 soname_spec
='${libname}${release}${major}$shared_ext'
15586 shlibpath_overrides_runpath
=yes
15587 shlibpath_var
=DYLD_LIBRARY_PATH
15588 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15589 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15590 if test "$GCC" = yes; then
15591 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"`
15593 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15595 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15603 soname_spec
='${libname}${release}${shared_ext}$major'
15604 shlibpath_var
=LD_LIBRARY_PATH
15611 freebsd
* | dragonfly
*)
15612 # DragonFly does not have aout. When/if they implement a new
15613 # versioning mechanism, adjust this.
15614 if test -x /usr
/bin
/objformat
; then
15615 objformat
=`/usr/bin/objformat`
15618 freebsd
[123]*) objformat
=aout
;;
15619 *) objformat
=elf
;;
15622 version_type
=freebsd-
$objformat
15623 case $version_type in
15625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15630 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15634 shlibpath_var
=LD_LIBRARY_PATH
15637 shlibpath_overrides_runpath
=yes
15639 freebsd3.
[01]* | freebsdelf3.
[01]*)
15640 shlibpath_overrides_runpath
=yes
15641 hardcode_into_libs
=yes
15643 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15644 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15645 shlibpath_overrides_runpath
=no
15646 hardcode_into_libs
=yes
15648 freebsd
*) # from 4.6 on
15649 shlibpath_overrides_runpath
=yes
15650 hardcode_into_libs
=yes
15659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15660 soname_spec
='${libname}${release}${shared_ext}$major'
15661 shlibpath_var
=LD_LIBRARY_PATH
15662 hardcode_into_libs
=yes
15665 hpux9
* | hpux10
* | hpux11
*)
15666 # Give a soname corresponding to the major version so that dld.sl refuses to
15667 # link against other versions.
15674 hardcode_into_libs
=yes
15675 dynamic_linker
="$host_os dld.so"
15676 shlibpath_var
=LD_LIBRARY_PATH
15677 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15679 soname_spec
='${libname}${release}${shared_ext}$major'
15680 if test "X$HPUX_IA64_MODE" = X32
; then
15681 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15683 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15685 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15689 hardcode_into_libs
=yes
15690 dynamic_linker
="$host_os dld.sl"
15691 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15692 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15694 soname_spec
='${libname}${release}${shared_ext}$major'
15695 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15696 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15700 dynamic_linker
="$host_os dld.sl"
15701 shlibpath_var
=SHLIB_PATH
15702 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704 soname_spec
='${libname}${release}${shared_ext}$major'
15707 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15708 postinstall_cmds
='chmod 555 $lib'
15715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15716 soname_spec
='${libname}${release}${shared_ext}$major'
15717 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15718 shlibpath_var
=LD_LIBRARY_PATH
15719 shlibpath_overrides_runpath
=no
15720 hardcode_into_libs
=yes
15723 irix5
* | irix6
* | nonstopux
*)
15725 nonstopux
*) version_type
=nonstopux
;;
15727 if test "$lt_cv_prog_gnu_ld" = yes; then
15735 soname_spec
='${libname}${release}${shared_ext}$major'
15736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15738 irix5
* | nonstopux
*)
15739 libsuff
= shlibsuff
=
15742 case $LD in # libtool.m4 will add one of these switches to LD
15743 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15744 libsuff
= shlibsuff
= libmagic
=32-bit;;
15745 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15746 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15747 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15748 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15749 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15753 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15754 shlibpath_overrides_runpath
=no
15755 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15756 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15757 hardcode_into_libs
=yes
15760 # No shared lib support for Linux oldld, aout, or coff.
15761 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15765 # This must be Linux ELF.
15766 linux
* | k
*bsd
*-gnu)
15770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15771 soname_spec
='${libname}${release}${shared_ext}$major'
15772 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15773 shlibpath_var
=LD_LIBRARY_PATH
15774 shlibpath_overrides_runpath
=no
15775 # This implies no fast_install, which is unacceptable.
15776 # Some rework will be needed to allow for fast_install
15777 # before this can be enabled.
15778 hardcode_into_libs
=yes
15780 # Append ld.so.conf contents to the search path
15781 if test -f /etc
/ld.so.conf
; then
15782 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15783 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15786 # We used to test for /lib/ld.so.1 and disable shared libraries on
15787 # powerpc, because MkLinux only supported shared libraries with the
15788 # GNU dynamic linker. Since this was broken with cross compilers,
15789 # most powerpc-linux boxes support dynamic linking these days and
15790 # people can always --disable-shared, the test was removed, and we
15791 # assume the GNU/Linux dynamic linker is in use.
15792 dynamic_linker
='GNU/Linux ld.so'
15799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15800 soname_spec
='${libname}${release}${shared_ext}$major'
15801 shlibpath_var
=LD_LIBRARY_PATH
15802 shlibpath_overrides_runpath
=no
15803 hardcode_into_libs
=yes
15804 dynamic_linker
='NetBSD ld.elf_so'
15811 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15813 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15814 dynamic_linker
='NetBSD (a.out) ld.so'
15816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15817 soname_spec
='${libname}${release}${shared_ext}$major'
15818 dynamic_linker
='NetBSD ld.elf_so'
15820 shlibpath_var
=LD_LIBRARY_PATH
15821 shlibpath_overrides_runpath
=yes
15822 hardcode_into_libs
=yes
15827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15828 shlibpath_var
=LD_LIBRARY_PATH
15829 shlibpath_overrides_runpath
=yes
15836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15837 soname_spec
='${libname}${release}${shared_ext}$major'
15838 shlibpath_var
=LD_LIBRARY_PATH
15839 shlibpath_overrides_runpath
=yes
15844 sys_lib_dlsearch_path_spec
="/usr/lib"
15846 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15848 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15849 *) need_version
=no
;;
15851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15852 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15853 shlibpath_var
=LD_LIBRARY_PATH
15854 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15856 openbsd2.
[89] | openbsd2.
[89].
*)
15857 shlibpath_overrides_runpath
=no
15860 shlibpath_overrides_runpath
=yes
15864 shlibpath_overrides_runpath
=yes
15869 libname_spec
='$name'
15872 library_names_spec
='$libname${shared_ext} $libname.a'
15873 dynamic_linker
='OS/2 ld.exe'
15874 shlibpath_var
=LIBPATH
15877 osf3
* | osf4
* | osf5
*)
15881 soname_spec
='${libname}${release}${shared_ext}$major'
15882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15883 shlibpath_var
=LD_LIBRARY_PATH
15884 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15885 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15893 soname_spec
='${libname}${release}${shared_ext}$major'
15894 shlibpath_var
=LD_LIBRARY_PATH
15895 shlibpath_overrides_runpath
=yes
15896 hardcode_into_libs
=yes
15897 # ldd complains unless libraries are executable
15898 postinstall_cmds
='chmod +x $lib'
15903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15904 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15905 shlibpath_var
=LD_LIBRARY_PATH
15906 shlibpath_overrides_runpath
=yes
15907 if test "$with_gnu_ld" = yes; then
15915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15916 soname_spec
='${libname}${release}${shared_ext}$major'
15917 shlibpath_var
=LD_LIBRARY_PATH
15918 case $host_vendor in
15920 shlibpath_overrides_runpath
=no
15922 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15923 runpath_var
=LD_RUN_PATH
15931 shlibpath_overrides_runpath
=no
15932 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15938 if test -d /usr
/nec
;then
15940 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15941 soname_spec
='$libname${shared_ext}.$major'
15942 shlibpath_var
=LD_LIBRARY_PATH
15946 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15947 version_type
=freebsd-elf
15950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15951 soname_spec
='${libname}${release}${shared_ext}$major'
15952 shlibpath_var
=LD_LIBRARY_PATH
15953 hardcode_into_libs
=yes
15954 if test "$with_gnu_ld" = yes; then
15955 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15956 shlibpath_overrides_runpath
=no
15958 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15959 shlibpath_overrides_runpath
=yes
15962 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15966 sys_lib_dlsearch_path_spec
='/usr/lib'
15971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15972 soname_spec
='${libname}${release}${shared_ext}$major'
15973 shlibpath_var
=LD_LIBRARY_PATH
15980 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15981 echo "${ECHO_T}$dynamic_linker" >&6; }
15982 test "$dynamic_linker" = no
&& can_build_shared
=no
15984 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15985 if test "$GCC" = yes; then
15986 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15989 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15990 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15991 hardcode_action_F77
=
15992 if test -n "$hardcode_libdir_flag_spec_F77" || \
15993 test -n "$runpath_var_F77" || \
15994 test "X$hardcode_automatic_F77" = "Xyes" ; then
15996 # We can hardcode non-existant directories.
15997 if test "$hardcode_direct_F77" != no
&&
15998 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15999 # have to relink, otherwise we might link with an installed library
16000 # when we should be linking with a yet-to-be-installed one
16001 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16002 test "$hardcode_minus_L_F77" != no
; then
16003 # Linking always hardcodes the temporary library directory.
16004 hardcode_action_F77
=relink
16006 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16007 hardcode_action_F77
=immediate
16010 # We cannot hardcode anything, or else we can only hardcode existing
16012 hardcode_action_F77
=unsupported
16014 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16015 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16017 if test "$hardcode_action_F77" = relink
; then
16018 # Fast installation is not supported
16019 enable_fast_install
=no
16020 elif test "$shlibpath_overrides_runpath" = yes ||
16021 test "$enable_shared" = no
; then
16022 # Fast installation is not necessary
16023 enable_fast_install
=needless
16027 # The else clause should only fire when bootstrapping the
16028 # libtool distribution, otherwise you forgot to ship ltmain.sh
16029 # with your package, and you will get complaints that there are
16030 # no rules to generate ltmain.sh.
16031 if test -f "$ltmain"; then
16032 # See if we are running on zsh, and set the options which allow our commands through
16033 # without removal of \ escapes.
16034 if test -n "${ZSH_VERSION+set}" ; then
16035 setopt NO_GLOB_SUBST
16037 # Now quote all the things that may contain metacharacters while being
16038 # careful not to overquote the AC_SUBSTed values. We take copies of the
16039 # variables and quote the copies for generation of the libtool script.
16040 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16042 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16043 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16044 deplibs_check_method reload_flag reload_cmds need_locks \
16045 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16046 lt_cv_sys_global_symbol_to_c_name_address \
16047 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16048 old_postinstall_cmds old_postuninstall_cmds \
16052 lt_prog_compiler_wl_F77 \
16053 lt_prog_compiler_pic_F77 \
16054 lt_prog_compiler_static_F77 \
16055 lt_prog_compiler_no_builtin_flag_F77 \
16056 export_dynamic_flag_spec_F77 \
16057 thread_safe_flag_spec_F77 \
16058 whole_archive_flag_spec_F77 \
16059 enable_shared_with_static_runtimes_F77 \
16060 old_archive_cmds_F77 \
16061 old_archive_from_new_cmds_F77 \
16062 predep_objects_F77 \
16063 postdep_objects_F77 \
16066 compiler_lib_search_path_F77 \
16068 archive_expsym_cmds_F77 \
16069 postinstall_cmds_F77 \
16070 postuninstall_cmds_F77 \
16071 old_archive_from_expsyms_cmds_F77 \
16072 allow_undefined_flag_F77 \
16073 no_undefined_flag_F77 \
16074 export_symbols_cmds_F77 \
16075 hardcode_libdir_flag_spec_F77 \
16076 hardcode_libdir_flag_spec_ld_F77 \
16077 hardcode_libdir_separator_F77 \
16078 hardcode_automatic_F77 \
16080 module_expsym_cmds_F77 \
16081 lt_cv_prog_compiler_c_o_F77 \
16082 exclude_expsyms_F77 \
16083 include_expsyms_F77
; do
16086 old_archive_cmds_F77 | \
16087 old_archive_from_new_cmds_F77 | \
16088 archive_cmds_F77 | \
16089 archive_expsym_cmds_F77 | \
16090 module_cmds_F77 | \
16091 module_expsym_cmds_F77 | \
16092 old_archive_from_expsyms_cmds_F77 | \
16093 export_symbols_cmds_F77 | \
16094 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16095 postinstall_cmds | postuninstall_cmds | \
16096 old_postinstall_cmds | old_postuninstall_cmds | \
16097 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16098 # Double-quote double-evaled strings.
16099 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16102 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16108 *'\$0 --fallback-echo"')
16109 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16115 cat <<__EOF__ >> "$cfgfile"
16116 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16118 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16120 # Shell to use when invoking shell scripts.
16123 # Whether or not to build shared libraries.
16124 build_libtool_libs=$enable_shared
16126 # Whether or not to build static libraries.
16127 build_old_libs=$enable_static
16129 # Whether or not to add -lc for building shared libraries.
16130 build_libtool_need_lc=$archive_cmds_need_lc_F77
16132 # Whether or not to disallow shared libs when runtime libs are static
16133 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16135 # Whether or not to optimize for fast installation.
16136 fast_install=$enable_fast_install
16139 host_alias=$host_alias
16143 # The build system.
16144 build_alias=$build_alias
16148 # An echo program that does not interpret backslashes.
16153 AR_FLAGS=$lt_AR_FLAGS
16158 # LTCC compiler flags.
16159 LTCFLAGS=$lt_LTCFLAGS
16161 # A language-specific compiler.
16162 CC=$lt_compiler_F77
16164 # Is the compiler the GNU C compiler?
16170 # The linker used to build libraries.
16173 # Whether we need hard or soft links.
16176 # A BSD-compatible nm program.
16179 # A symbol stripping program
16182 # Used to examine libraries when file_magic_cmd begins "file"
16183 MAGIC_CMD=$MAGIC_CMD
16185 # Used on cygwin: DLL creation program.
16188 # Used on cygwin: object dumper.
16191 # Used on cygwin: assembler.
16194 # The name of the directory that contains temporary libtool files.
16197 # How to create reloadable object files.
16198 reload_flag=$lt_reload_flag
16199 reload_cmds=$lt_reload_cmds
16201 # How to pass a linker flag through the compiler.
16202 wl=$lt_lt_prog_compiler_wl_F77
16204 # Object file suffix (normally "o").
16205 objext="$ac_objext"
16207 # Old archive suffix (normally "a").
16210 # Shared library suffix (normally ".so").
16211 shrext_cmds='$shrext_cmds'
16213 # Executable file suffix (normally "").
16216 # Additional compiler flags for building library objects.
16217 pic_flag=$lt_lt_prog_compiler_pic_F77
16220 # What is the maximum length of a command?
16221 max_cmd_len=$lt_cv_sys_max_cmd_len
16223 # Does compiler simultaneously support -c and -o options?
16224 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16226 # Must we lock files when doing compilation?
16227 need_locks=$lt_need_locks
16229 # Do we need the lib prefix for modules?
16230 need_lib_prefix=$need_lib_prefix
16232 # Do we need a version for libraries?
16233 need_version=$need_version
16235 # Whether dlopen is supported.
16236 dlopen_support=$enable_dlopen
16238 # Whether dlopen of programs is supported.
16239 dlopen_self=$enable_dlopen_self
16241 # Whether dlopen of statically linked programs is supported.
16242 dlopen_self_static=$enable_dlopen_self_static
16244 # Compiler flag to prevent dynamic linking.
16245 link_static_flag=$lt_lt_prog_compiler_static_F77
16247 # Compiler flag to turn off builtin functions.
16248 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16250 # Compiler flag to allow reflexive dlopens.
16251 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16253 # Compiler flag to generate shared objects directly from archives.
16254 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16256 # Compiler flag to generate thread-safe objects.
16257 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16259 # Library versioning type.
16260 version_type=$version_type
16262 # Format of library name prefix.
16263 libname_spec=$lt_libname_spec
16265 # List of archive names. First name is the real one, the rest are links.
16266 # The last name is the one that the linker finds with -lNAME.
16267 library_names_spec=$lt_library_names_spec
16269 # The coded name of the library, if different from the real name.
16270 soname_spec=$lt_soname_spec
16272 # Commands used to build and install an old-style archive.
16274 old_archive_cmds=$lt_old_archive_cmds_F77
16275 old_postinstall_cmds=$lt_old_postinstall_cmds
16276 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16278 # Create an old-style archive from a shared archive.
16279 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16281 # Create a temporary old-style archive to link instead of a shared archive.
16282 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16284 # Commands used to build and install a shared archive.
16285 archive_cmds=$lt_archive_cmds_F77
16286 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16287 postinstall_cmds=$lt_postinstall_cmds
16288 postuninstall_cmds=$lt_postuninstall_cmds
16290 # Commands used to build a loadable module (assumed same as above if empty)
16291 module_cmds=$lt_module_cmds_F77
16292 module_expsym_cmds=$lt_module_expsym_cmds_F77
16294 # Commands to strip libraries.
16295 old_striplib=$lt_old_striplib
16296 striplib=$lt_striplib
16298 # Dependencies to place before the objects being linked to create a
16300 predep_objects=$lt_predep_objects_F77
16302 # Dependencies to place after the objects being linked to create a
16304 postdep_objects=$lt_postdep_objects_F77
16306 # Dependencies to place before the objects being linked to create a
16308 predeps=$lt_predeps_F77
16310 # Dependencies to place after the objects being linked to create a
16312 postdeps=$lt_postdeps_F77
16314 # The library search path used internally by the compiler when linking
16315 # a shared library.
16316 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16318 # Method to check whether dependent libraries are shared objects.
16319 deplibs_check_method=$lt_deplibs_check_method
16321 # Command to use when deplibs_check_method == file_magic.
16322 file_magic_cmd=$lt_file_magic_cmd
16324 # Flag that allows shared libraries with undefined symbols to be built.
16325 allow_undefined_flag=$lt_allow_undefined_flag_F77
16327 # Flag that forces no undefined symbols.
16328 no_undefined_flag=$lt_no_undefined_flag_F77
16330 # Commands used to finish a libtool library installation in a directory.
16331 finish_cmds=$lt_finish_cmds
16333 # Same as above, but a single script fragment to be evaled but not shown.
16334 finish_eval=$lt_finish_eval
16336 # Take the output of nm and produce a listing of raw symbols and C names.
16337 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16339 # Transform the output of nm in a proper C declaration
16340 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16342 # Transform the output of nm in a C name address pair
16343 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16345 # This is the shared library runtime path variable.
16346 runpath_var=$runpath_var
16348 # This is the shared library path variable.
16349 shlibpath_var=$shlibpath_var
16351 # Is shlibpath searched before the hard-coded library search path?
16352 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16354 # How to hardcode a shared library path into an executable.
16355 hardcode_action=$hardcode_action_F77
16357 # Whether we should hardcode library paths into libraries.
16358 hardcode_into_libs=$hardcode_into_libs
16360 # Flag to hardcode \$libdir into a binary during linking.
16361 # This must work even if \$libdir does not exist.
16362 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16364 # If ld is used when linking, flag to hardcode \$libdir into
16365 # a binary during linking. This must work even if \$libdir does
16367 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16369 # Whether we need a single -rpath flag with a separated argument.
16370 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16372 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16373 # resulting binary.
16374 hardcode_direct=$hardcode_direct_F77
16376 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16377 # resulting binary.
16378 hardcode_minus_L=$hardcode_minus_L_F77
16380 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16381 # the resulting binary.
16382 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16384 # Set to yes if building a shared library automatically hardcodes DIR into the library
16385 # and all subsequent libraries and executables linked against it.
16386 hardcode_automatic=$hardcode_automatic_F77
16388 # Variables whose values should be saved in libtool wrapper scripts and
16389 # restored at relink time.
16390 variables_saved_for_relink="$variables_saved_for_relink"
16392 # Whether libtool must link a program against all its dependency libraries.
16393 link_all_deplibs=$link_all_deplibs_F77
16395 # Compile-time system search path for libraries
16396 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16398 # Run-time system search path for libraries
16399 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16401 # Fix the shell variable \$srcfile for the compiler.
16402 fix_srcfile_path="$fix_srcfile_path_F77"
16404 # Set to yes if exported symbols are required.
16405 always_export_symbols=$always_export_symbols_F77
16407 # The commands to list exported symbols.
16408 export_symbols_cmds=$lt_export_symbols_cmds_F77
16410 # The commands to extract the exported symbol list from a shared archive.
16411 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16413 # Symbols that should not be listed in the preloaded symbols.
16414 exclude_expsyms=$lt_exclude_expsyms_F77
16416 # Symbols that must always be exported.
16417 include_expsyms=$lt_include_expsyms_F77
16419 # ### END LIBTOOL TAG CONFIG: $tagname
16425 # If there is no Makefile yet, we rely on a make rule to execute
16426 # `config.status --recheck' to rerun these tests and create the
16427 # libtool script then.
16428 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16429 if test -f "$ltmain_in"; then
16430 test -f Makefile
&& make "$ltmain"
16436 ac_cpp
='$CPP $CPPFLAGS'
16437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16449 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16452 # Source file extension for Java test sources.
16455 # Object file extension for compiled Java test sources.
16459 # Code to be used in simple compile tests
16460 lt_simple_compile_test_code
="class foo {}\n"
16462 # Code to be used in simple link tests
16463 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16465 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16467 # If no C compiler was specified, use CC.
16470 # If no C compiler flags were specified, use CFLAGS.
16471 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16473 # Allow CC to be a program name with arguments.
16477 # save warnings/boilerplate of simple test code
16478 ac_outfile
=conftest.
$ac_objext
16479 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16480 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16481 _lt_compiler_boilerplate
=`cat conftest.err`
16484 ac_outfile
=conftest.
$ac_objext
16485 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16486 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16487 _lt_linker_boilerplate
=`cat conftest.err`
16491 # Allow CC to be a program name with arguments.
16496 for cc_temp
in $compiler""; do
16498 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16499 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16504 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16507 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16508 archive_cmds_need_lc_GCJ
=no
16510 old_archive_cmds_GCJ
=$old_archive_cmds
16513 lt_prog_compiler_no_builtin_flag_GCJ
=
16515 if test "$GCC" = yes; then
16516 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16519 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16520 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16521 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 lt_cv_prog_compiler_rtti_exceptions
=no
16525 ac_outfile
=conftest.
$ac_objext
16526 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16527 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16528 # Insert the option either (1) after the last *FLAGS variable, or
16529 # (2) before a word containing "conftest.", or (3) at the end.
16530 # Note that $ac_compile itself does not contain backslashes and begins
16531 # with a dollar sign (not a hyphen), so the echo should work correctly.
16532 # The option is referenced via a variable to avoid confusing sed.
16533 lt_compile
=`echo "$ac_compile" | $SED \
16534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16536 -e 's:$: $lt_compiler_flag:'`
16537 (eval echo "\"\$as_me:16537: $lt_compile\"" >&5)
16538 (eval "$lt_compile" 2>conftest.err
)
16540 cat conftest.err
>&5
16541 echo "$as_me:16541: \$? = $ac_status" >&5
16542 if (exit $ac_status) && test -s "$ac_outfile"; then
16543 # The compiler can only warn and ignore the option if not recognized
16544 # So say no if there are warnings other than the usual output.
16545 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16546 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16547 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16548 lt_cv_prog_compiler_rtti_exceptions
=yes
16554 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16555 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16557 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16558 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16565 lt_prog_compiler_wl_GCJ
=
16566 lt_prog_compiler_pic_GCJ
=
16567 lt_prog_compiler_static_GCJ
=
16569 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16570 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16572 if test "$GCC" = yes; then
16573 lt_prog_compiler_wl_GCJ
='-Wl,'
16574 lt_prog_compiler_static_GCJ
='-static'
16578 # All AIX code is PIC.
16579 if test "$host_cpu" = ia64
; then
16580 # AIX 5 now supports IA64 processor
16581 lt_prog_compiler_static_GCJ
='-Bstatic'
16586 # FIXME: we need at least 68020 code to build shared libraries, but
16587 # adding the `-m68020' flag to GCC prevents building anything better,
16589 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16592 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16593 # PIC is the default for these OSes.
16596 mingw
* | pw32
* | os2
*)
16597 # This hack is so that the source file can tell whether it is being
16598 # built for inclusion in a dll (and should export symbols for example).
16599 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16602 darwin
* | rhapsody
*)
16603 # PIC is the default on this platform
16604 # Common symbols not allowed in MH_DYLIB files
16605 lt_prog_compiler_pic_GCJ
='-fno-common'
16609 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16610 # Instead, we relocate shared libraries at runtime.
16614 # Just because we use GCC doesn't mean we suddenly get shared libraries
16615 # on systems that don't support them.
16616 lt_prog_compiler_can_build_shared_GCJ
=no
16621 if test -d /usr
/nec
; then
16622 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16627 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16628 # not for PA HP-UX.
16634 lt_prog_compiler_pic_GCJ
='-fPIC'
16640 lt_prog_compiler_pic_GCJ
='-fPIC'
16644 # PORTME Check for flag to pass linker flags through the system compiler.
16647 lt_prog_compiler_wl_GCJ
='-Wl,'
16648 if test "$host_cpu" = ia64
; then
16649 # AIX 5 now supports IA64 processor
16650 lt_prog_compiler_static_GCJ
='-Bstatic'
16652 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16656 # PIC is the default on this platform
16657 # Common symbols not allowed in MH_DYLIB files
16658 case $cc_basename in
16660 lt_prog_compiler_pic_GCJ
='-qnocommon'
16661 lt_prog_compiler_wl_GCJ
='-Wl,'
16666 mingw
* | pw32
* | os2
*)
16667 # This hack is so that the source file can tell whether it is being
16668 # built for inclusion in a dll (and should export symbols for example).
16669 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16672 hpux9
* | hpux10
* | hpux11
*)
16673 lt_prog_compiler_wl_GCJ
='-Wl,'
16674 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16675 # not for PA HP-UX.
16681 lt_prog_compiler_pic_GCJ
='+Z'
16684 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16685 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16688 irix5
* | irix6
* | nonstopux
*)
16689 lt_prog_compiler_wl_GCJ
='-Wl,'
16690 # PIC (with -KPIC) is the default.
16691 lt_prog_compiler_static_GCJ
='-non_shared'
16695 lt_prog_compiler_pic_GCJ
='-KPIC'
16696 lt_prog_compiler_static_GCJ
='-Bstatic'
16699 linux
* | k
*bsd
*-gnu)
16700 case $cc_basename in
16702 lt_prog_compiler_wl_GCJ
='-Wl,'
16703 lt_prog_compiler_pic_GCJ
='-KPIC'
16704 lt_prog_compiler_static_GCJ
='-static'
16706 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16707 # Portland Group compilers (*not* the Pentium gcc compiler,
16708 # which looks to be a dead project)
16709 lt_prog_compiler_wl_GCJ
='-Wl,'
16710 lt_prog_compiler_pic_GCJ
='-fpic'
16711 lt_prog_compiler_static_GCJ
='-Bstatic'
16714 lt_prog_compiler_wl_GCJ
='-Wl,'
16715 # All Alpha code is PIC.
16716 lt_prog_compiler_static_GCJ
='-non_shared'
16721 osf3
* | osf4
* | osf5
*)
16722 lt_prog_compiler_wl_GCJ
='-Wl,'
16723 # All OSF/1 code is PIC.
16724 lt_prog_compiler_static_GCJ
='-non_shared'
16728 lt_prog_compiler_pic_GCJ
='-KPIC'
16729 lt_prog_compiler_static_GCJ
='-Bstatic'
16730 case $cc_basename in
16731 f77
* | f90
* | f95
*)
16732 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16734 lt_prog_compiler_wl_GCJ
='-Wl,';;
16739 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16740 lt_prog_compiler_pic_GCJ
='-PIC'
16741 lt_prog_compiler_static_GCJ
='-Bstatic'
16744 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16745 lt_prog_compiler_wl_GCJ
='-Wl,'
16746 lt_prog_compiler_pic_GCJ
='-KPIC'
16747 lt_prog_compiler_static_GCJ
='-Bstatic'
16751 if test -d /usr
/nec
;then
16752 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16753 lt_prog_compiler_static_GCJ
='-Bstatic'
16757 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16758 lt_prog_compiler_wl_GCJ
='-Wl,'
16759 lt_prog_compiler_pic_GCJ
='-KPIC'
16760 lt_prog_compiler_static_GCJ
='-Bstatic'
16764 lt_prog_compiler_wl_GCJ
='-Wl,'
16765 lt_prog_compiler_can_build_shared_GCJ
=no
16769 lt_prog_compiler_pic_GCJ
='-pic'
16770 lt_prog_compiler_static_GCJ
='-Bstatic'
16774 lt_prog_compiler_can_build_shared_GCJ
=no
16779 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16780 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16783 # Check to make sure the PIC flag actually works.
16785 if test -n "$lt_prog_compiler_pic_GCJ"; then
16787 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16788 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16789 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16790 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 lt_prog_compiler_pic_works_GCJ
=no
16793 ac_outfile
=conftest.
$ac_objext
16794 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16795 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16796 # Insert the option either (1) after the last *FLAGS variable, or
16797 # (2) before a word containing "conftest.", or (3) at the end.
16798 # Note that $ac_compile itself does not contain backslashes and begins
16799 # with a dollar sign (not a hyphen), so the echo should work correctly.
16800 # The option is referenced via a variable to avoid confusing sed.
16801 lt_compile
=`echo "$ac_compile" | $SED \
16802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16804 -e 's:$: $lt_compiler_flag:'`
16805 (eval echo "\"\$as_me:16805: $lt_compile\"" >&5)
16806 (eval "$lt_compile" 2>conftest.err
)
16808 cat conftest.err
>&5
16809 echo "$as_me:16809: \$? = $ac_status" >&5
16810 if (exit $ac_status) && test -s "$ac_outfile"; then
16811 # The compiler can only warn and ignore the option if not recognized
16812 # So say no if there are warnings other than the usual output.
16813 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16814 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16815 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16816 lt_prog_compiler_pic_works_GCJ
=yes
16822 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16823 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16825 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16826 case $lt_prog_compiler_pic_GCJ in
16828 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16831 lt_prog_compiler_pic_GCJ
=
16832 lt_prog_compiler_can_build_shared_GCJ
=no
16837 # For platforms which do not support PIC, -DPIC is meaningless:
16839 lt_prog_compiler_pic_GCJ
=
16842 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16847 # Check to make sure the static flag actually works.
16849 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16850 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16851 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16852 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16855 lt_prog_compiler_static_works_GCJ
=no
16856 save_LDFLAGS
="$LDFLAGS"
16857 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16858 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16859 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16860 # The linker can only warn and ignore the option if not recognized
16861 # So say no if there are warnings
16862 if test -s conftest.err
; then
16863 # Append any errors to the config.log.
16864 cat conftest.err
1>&5
16865 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16866 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16867 if diff conftest.exp conftest.er2
>/dev
/null
; then
16868 lt_prog_compiler_static_works_GCJ
=yes
16871 lt_prog_compiler_static_works_GCJ
=yes
16875 LDFLAGS
="$save_LDFLAGS"
16878 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16879 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16881 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16884 lt_prog_compiler_static_GCJ
=
16888 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16889 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16890 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 lt_cv_prog_compiler_c_o_GCJ
=no
16894 $rm -r conftest
2>/dev
/null
16898 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16900 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16901 # Insert the option either (1) after the last *FLAGS variable, or
16902 # (2) before a word containing "conftest.", or (3) at the end.
16903 # Note that $ac_compile itself does not contain backslashes and begins
16904 # with a dollar sign (not a hyphen), so the echo should work correctly.
16905 lt_compile
=`echo "$ac_compile" | $SED \
16906 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16907 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16908 -e 's:$: $lt_compiler_flag:'`
16909 (eval echo "\"\$as_me:16909: $lt_compile\"" >&5)
16910 (eval "$lt_compile" 2>out
/conftest.err
)
16912 cat out
/conftest.err
>&5
16913 echo "$as_me:16913: \$? = $ac_status" >&5
16914 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16916 # The compiler can only warn and ignore the option if not recognized
16917 # So say no if there are warnings
16918 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16919 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16920 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16921 lt_cv_prog_compiler_c_o_GCJ
=yes
16926 # SGI C++ compiler will create directory out/ii_files/ for
16927 # template instantiation
16928 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16929 $rm out
/* && rmdir out
16935 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16936 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16939 hard_links
="nottested"
16940 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16941 # do not overwrite the value of need_locks provided by the user
16942 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16943 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16946 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16948 ln conftest.a conftest.b
2>&5 || hard_links
=no
16949 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16950 { echo "$as_me:$LINENO: result: $hard_links" >&5
16951 echo "${ECHO_T}$hard_links" >&6; }
16952 if test "$hard_links" = no
; then
16953 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16954 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16961 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16962 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16965 allow_undefined_flag_GCJ
=
16966 enable_shared_with_static_runtimes_GCJ
=no
16968 archive_expsym_cmds_GCJ
=
16969 old_archive_From_new_cmds_GCJ
=
16970 old_archive_from_expsyms_cmds_GCJ
=
16971 export_dynamic_flag_spec_GCJ
=
16972 whole_archive_flag_spec_GCJ
=
16973 thread_safe_flag_spec_GCJ
=
16974 hardcode_libdir_flag_spec_GCJ
=
16975 hardcode_libdir_flag_spec_ld_GCJ
=
16976 hardcode_libdir_separator_GCJ
=
16977 hardcode_direct_GCJ
=no
16978 hardcode_minus_L_GCJ
=no
16979 hardcode_shlibpath_var_GCJ
=unsupported
16980 link_all_deplibs_GCJ
=unknown
16981 hardcode_automatic_GCJ
=no
16983 module_expsym_cmds_GCJ
=
16984 always_export_symbols_GCJ
=no
16985 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16986 # include_expsyms should be a list of space-separated symbols to be *always*
16987 # included in the symbol list
16988 include_expsyms_GCJ
=
16989 # exclude_expsyms can be an extended regexp of symbols to exclude
16990 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16991 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16992 # as well as any symbol that contains `d'.
16993 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16994 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16995 # platforms (ab)use it in PIC code, but their linkers get confused if
16996 # the symbol is explicitly referenced. Since portable code cannot
16997 # rely on this symbol name, it's probably fine to never include it in
16998 # preloaded symbol tables.
16999 extract_expsyms_cmds
=
17000 # Just being paranoid about ensuring that cc_basename is set.
17001 for cc_temp
in $compiler""; do
17003 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17004 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17009 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17012 cygwin
* | mingw
* | pw32
*)
17013 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17014 # When not using gcc, we currently assume that we are using
17015 # Microsoft Visual C++.
17016 if test "$GCC" != yes; then
17021 # we just hope/assume this is gcc and not c89 (= MSVC++)
17030 if test "$with_gnu_ld" = yes; then
17031 # If archive_cmds runs LD, not CC, wlarc should be empty
17034 # Set some defaults for GNU ld with shared library support. These
17035 # are reset later if shared libraries are not supported. Putting them
17036 # here allows them to be overridden if necessary.
17037 runpath_var
=LD_RUN_PATH
17038 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17039 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17040 # ancient GNU ld didn't support --whole-archive et. al.
17041 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17042 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17044 whole_archive_flag_spec_GCJ
=
17046 supports_anon_versioning
=no
17047 case `$LD -v 2>/dev/null` in
17048 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17049 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17050 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17051 *\
2.11.
*) ;; # other 2.11 versions
17052 *) supports_anon_versioning
=yes ;;
17055 # See if GNU ld supports shared libraries.
17057 aix3
* | aix4
* | aix5
*)
17058 # On AIX/PPC, the GNU linker is very broken
17059 if test "$host_cpu" != ia64
; then
17063 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17064 *** to be unable to reliably create shared libraries on AIX.
17065 *** Therefore, libtool is disabling shared libraries support. If you
17066 *** really care for shared libraries, you may want to modify your PATH
17067 *** so that a non-GNU linker is found, and then restart.
17074 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)'
17075 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17076 hardcode_minus_L_GCJ
=yes
17078 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17079 # that the semantics of dynamic libraries on AmigaOS, at least up
17080 # to version 4, is to share data among multiple programs linked
17081 # with the same dynamic library. Since this doesn't match the
17082 # behavior of shared libraries on other platforms, we can't use
17088 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17089 allow_undefined_flag_GCJ
=unsupported
17090 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17091 # support --undefined. This deserves some investigation. FIXME
17092 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17098 cygwin
* | mingw
* | pw32
*)
17099 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17100 # as there is no search path for DLLs.
17101 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17102 allow_undefined_flag_GCJ
=unsupported
17103 always_export_symbols_GCJ
=no
17104 enable_shared_with_static_runtimes_GCJ
=yes
17105 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17107 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17108 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17109 # If the export-symbols file already is a .def file (1st line
17110 # is EXPORTS), use it as is; otherwise, prepend...
17111 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17112 cp $export_symbols $output_objdir/$soname.def;
17114 echo EXPORTS > $output_objdir/$soname.def;
17115 cat $export_symbols >> $output_objdir/$soname.def;
17117 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17124 hardcode_direct_GCJ
=no
17125 hardcode_shlibpath_var_GCJ
=no
17126 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17127 export_dynamic_flag_spec_GCJ
='${wl}-E'
17128 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17129 # Instead, shared libraries are loaded at an image base (0x10000000 by
17130 # default) and relocated if they conflict, which is a slow very memory
17131 # consuming and fragmenting process. To avoid this, we pick a random,
17132 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17133 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17134 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'
17135 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'
17138 linux
* | k
*bsd
*-gnu)
17139 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17141 case $cc_basename,$host_cpu in
17142 pgcc
*) # Portland Group C compiler
17143 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'
17144 tmp_addflag
=' $pic_flag'
17146 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17147 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'
17148 tmp_addflag
=' $pic_flag -Mnomain' ;;
17149 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17150 tmp_addflag
=' -i_dynamic' ;;
17151 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17152 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17153 ifc
* | ifort
*) # Intel Fortran compiler
17154 tmp_addflag
=' -nofor_main' ;;
17156 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17158 if test $supports_anon_versioning = yes; then
17159 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17160 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17161 $echo "local: *; };" >> $output_objdir/$libname.ver~
17162 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17164 link_all_deplibs_GCJ
=no
17170 netbsd
* | netbsdelf
*-gnu)
17171 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17172 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17175 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17176 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17181 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17185 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17186 *** create shared libraries on Solaris systems. Therefore, libtool
17187 *** is disabling shared libraries support. We urge you to upgrade GNU
17188 *** binutils to release 2.9.1 or newer. Another option is to modify
17189 *** your PATH or compiler configuration so that the native linker is
17190 *** used, and then restart.
17193 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17194 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17195 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17201 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17202 case `$LD -v 2>&1` in
17203 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17207 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17208 *** reliably create shared libraries on SCO systems. Therefore, libtool
17209 *** is disabling shared libraries support. We urge you to upgrade GNU
17210 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17211 *** your PATH or compiler configuration so that the native linker is
17212 *** used, and then restart.
17217 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17218 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17219 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17220 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17229 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17231 hardcode_direct_GCJ
=yes
17232 hardcode_shlibpath_var_GCJ
=no
17236 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17237 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17238 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17245 if test "$ld_shlibs_GCJ" = no
; then
17247 hardcode_libdir_flag_spec_GCJ
=
17248 export_dynamic_flag_spec_GCJ
=
17249 whole_archive_flag_spec_GCJ
=
17252 # PORTME fill in a description of your system's linker (not GNU ld)
17255 allow_undefined_flag_GCJ
=unsupported
17256 always_export_symbols_GCJ
=yes
17257 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'
17258 # Note: this linker hardcodes the directories in LIBPATH if there
17259 # are no directories specified by -L.
17260 hardcode_minus_L_GCJ
=yes
17261 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17262 # Neither direct hardcoding nor static linking is supported with a
17264 hardcode_direct_GCJ
=unsupported
17269 if test "$host_cpu" = ia64
; then
17270 # On IA64, the linker does run time linking by default, so we don't
17271 # have to do anything special.
17272 aix_use_runtimelinking
=no
17273 exp_sym_flag
='-Bexport'
17276 # If we're using GNU nm, then we don't want the "-C" option.
17277 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17278 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17279 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'
17281 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'
17283 aix_use_runtimelinking
=no
17285 # Test if we are trying to use run time linking or normal
17286 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17287 # need to do runtime linking.
17288 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17289 for ld_flag
in $LDFLAGS; do
17290 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17291 aix_use_runtimelinking
=yes
17298 exp_sym_flag
='-bexport'
17299 no_entry_flag
='-bnoentry'
17302 # When large executables or shared objects are built, AIX ld can
17303 # have problems creating the table of contents. If linking a library
17304 # or program results in "error TOC overflow" add -mminimal-toc to
17305 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17306 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17308 archive_cmds_GCJ
=''
17309 hardcode_direct_GCJ
=yes
17310 hardcode_libdir_separator_GCJ
=':'
17311 link_all_deplibs_GCJ
=yes
17313 if test "$GCC" = yes; then
17314 case $host_os in aix4.
[012]|aix4.
[012].
*)
17315 # We only want to do this on AIX 4.2 and lower, the check
17316 # below for broken collect2 doesn't work under 4.3+
17317 collect2name
=`${CC} -print-prog-name=collect2`
17318 if test -f "$collect2name" && \
17319 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17321 # We have reworked collect2
17322 hardcode_direct_GCJ
=yes
17324 # We have old collect2
17325 hardcode_direct_GCJ
=unsupported
17326 # It fails to find uninstalled libraries when the uninstalled
17327 # path is not listed in the libpath. Setting hardcode_minus_L
17328 # to unsupported forces relinking
17329 hardcode_minus_L_GCJ
=yes
17330 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17331 hardcode_libdir_separator_GCJ
=
17335 shared_flag
='-shared'
17336 if test "$aix_use_runtimelinking" = yes; then
17337 shared_flag
="$shared_flag "'${wl}-G'
17341 if test "$host_cpu" = ia64
; then
17342 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17343 # chokes on -Wl,-G. The following line is correct:
17346 if test "$aix_use_runtimelinking" = yes; then
17347 shared_flag
='${wl}-G'
17349 shared_flag
='${wl}-bM:SRE'
17354 # It seems that -bexpall does not export symbols beginning with
17355 # underscore (_), so it is better to generate a list of symbols to export.
17356 always_export_symbols_GCJ
=yes
17357 if test "$aix_use_runtimelinking" = yes; then
17358 # Warning - without using the other runtime loading flags (-brtl),
17359 # -berok will link without error, but may produce a broken library.
17360 allow_undefined_flag_GCJ
='-berok'
17361 # Determine the default libpath from the value encoded in an empty executable.
17362 cat >conftest.
$ac_ext <<_ACEOF
17365 cat confdefs.h
>>conftest.
$ac_ext
17366 cat >>conftest.
$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17377 rm -f conftest.
$ac_objext conftest
$ac_exeext
17378 if { (ac_try
="$ac_link"
17379 case "(($ac_try" in
17380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17381 *) ac_try_echo=$ac_try;;
17383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17384 (eval "$ac_link") 2>conftest.er1
17386 grep -v '^ *+' conftest.er1 >conftest.err
17388 cat conftest.err >&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17392 { (case "(($ac_try" in
17393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17394 *) ac_try_echo
=$ac_try;;
17396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_try") 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try
='test -s conftest$ac_exeext'
17402 { (case "(($ac_try" in
17403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17404 *) ac_try_echo=$ac_try;;
17406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17407 (eval "$ac_try") 2>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); }; }; then
17412 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17414 # Check for a 64-bit object if we didn't find anything.
17415 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; }
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17424 rm -f core conftest.err conftest.$ac_objext \
17425 conftest$ac_exeext conftest.$ac_ext
17426 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17428 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17429 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"
17431 if test "$host_cpu" = ia64; then
17432 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17433 allow_undefined_flag_GCJ="-z nodefs"
17434 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"
17436 # Determine the default libpath from the value encoded in an empty executable.
17437 cat >conftest.$ac_ext <<_ACEOF
17440 cat confdefs.h >>conftest.$ac_ext
17441 cat >>conftest.$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17452 rm -f conftest.$ac_objext conftest$ac_exeext
17453 if { (ac_try="$ac_link"
17454 case "(($ac_try" in
17455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17456 *) ac_try_echo
=$ac_try;;
17458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17459 (eval "$ac_link") 2>conftest.er1
17461 grep -v '^ *+' conftest.er1
>conftest.err
17463 cat conftest.err
>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); } &&
17466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17467 { (case "(($ac_try" in
17468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17469 *) ac_try_echo=$ac_try;;
17471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17472 (eval "$ac_try") 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; } &&
17476 { ac_try='test -s conftest$ac_exeext'
17477 { (case "(($ac_try" in
17478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17479 *) ac_try_echo
=$ac_try;;
17481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17482 (eval "$ac_try") 2>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17487 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17489 # Check for a 64-bit object if we didn't find anything.
17490 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; }
17493 echo "$as_me: failed program was:" >&5
17494 sed 's/^/| /' conftest.
$ac_ext >&5
17499 rm -f core conftest.err conftest.
$ac_objext \
17500 conftest
$ac_exeext conftest.
$ac_ext
17501 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17503 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17504 # Warning - without using the other run time loading flags,
17505 # -berok will link without error, but may produce a broken library.
17506 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17507 allow_undefined_flag_GCJ
=' ${wl}-berok'
17508 # Exported symbols can be pulled into shared objects from archives
17509 whole_archive_flag_spec_GCJ
='$convenience'
17510 archive_cmds_need_lc_GCJ
=yes
17511 # This is similar to how AIX traditionally builds its shared libraries.
17512 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'
17518 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)'
17519 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17520 hardcode_minus_L_GCJ
=yes
17521 # see comment about different semantics on the GNU ld section
17526 export_dynamic_flag_spec_GCJ
=-rdynamic
17529 cygwin
* | mingw
* | pw32
*)
17530 # When not using gcc, we currently assume that we are using
17531 # Microsoft Visual C++.
17532 # hardcode_libdir_flag_spec is actually meaningless, as there is
17533 # no search path for DLLs.
17534 hardcode_libdir_flag_spec_GCJ
=' '
17535 allow_undefined_flag_GCJ
=unsupported
17536 # Tell ltmain to make .lib files, not .a files.
17538 # Tell ltmain to make .dll files, not .so files.
17540 # FIXME: Setting linknames here is a bad hack.
17541 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17542 # The linker will automatically build a .lib file if we build a DLL.
17543 old_archive_From_new_cmds_GCJ
='true'
17544 # FIXME: Should let the user specify the lib program.
17545 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17546 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17547 enable_shared_with_static_runtimes_GCJ
=yes
17550 darwin
* | rhapsody
*)
17552 rhapsody
* | darwin1.
[012])
17553 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17556 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17557 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17559 case ${MACOSX_DEPLOYMENT_TARGET} in
17561 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17564 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17570 archive_cmds_need_lc_GCJ
=no
17571 hardcode_direct_GCJ
=no
17572 hardcode_automatic_GCJ
=yes
17573 hardcode_shlibpath_var_GCJ
=unsupported
17574 whole_archive_flag_spec_GCJ
=''
17575 link_all_deplibs_GCJ
=yes
17576 if test "$GCC" = yes ; then
17577 output_verbose_link_cmd
='echo'
17578 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17579 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17580 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17581 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}'
17582 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}'
17584 case $cc_basename in
17586 output_verbose_link_cmd
='echo'
17587 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17588 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17589 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17590 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}'
17591 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}'
17601 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17602 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17603 hardcode_shlibpath_var_GCJ
=no
17610 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17611 # support. Future versions do this automatically, but an explicit c++rt0.o
17612 # does not break anything, and helps significantly (at the cost of a little
17615 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17616 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17617 hardcode_direct_GCJ
=yes
17618 hardcode_shlibpath_var_GCJ
=no
17621 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17623 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17624 hardcode_direct_GCJ
=yes
17625 hardcode_minus_L_GCJ
=yes
17626 hardcode_shlibpath_var_GCJ
=no
17629 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17630 freebsd
* | dragonfly
*)
17631 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17632 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17633 hardcode_direct_GCJ
=yes
17634 hardcode_shlibpath_var_GCJ
=no
17638 if test "$GCC" = yes; then
17639 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'
17641 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'
17643 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17644 hardcode_libdir_separator_GCJ
=:
17645 hardcode_direct_GCJ
=yes
17647 # hardcode_minus_L: Not really in the search PATH,
17648 # but as the default location of the library.
17649 hardcode_minus_L_GCJ
=yes
17650 export_dynamic_flag_spec_GCJ
='${wl}-E'
17654 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17655 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17657 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17659 if test "$with_gnu_ld" = no
; then
17660 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17661 hardcode_libdir_separator_GCJ
=:
17663 hardcode_direct_GCJ
=yes
17664 export_dynamic_flag_spec_GCJ
='${wl}-E'
17666 # hardcode_minus_L: Not really in the search PATH,
17667 # but as the default location of the library.
17668 hardcode_minus_L_GCJ
=yes
17673 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17676 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17679 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17682 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17688 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17691 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17694 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17698 if test "$with_gnu_ld" = no
; then
17699 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17700 hardcode_libdir_separator_GCJ
=:
17704 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17705 hardcode_direct_GCJ
=no
17706 hardcode_shlibpath_var_GCJ
=no
17709 hardcode_direct_GCJ
=yes
17710 export_dynamic_flag_spec_GCJ
='${wl}-E'
17712 # hardcode_minus_L: Not really in the search PATH,
17713 # but as the default location of the library.
17714 hardcode_minus_L_GCJ
=yes
17720 irix5
* | irix6
* | nonstopux
*)
17721 if test "$GCC" = yes; then
17722 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'
17724 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'
17725 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17727 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17728 hardcode_libdir_separator_GCJ
=:
17729 link_all_deplibs_GCJ
=yes
17732 netbsd
* | netbsdelf
*-gnu)
17733 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17734 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17736 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17738 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17739 hardcode_direct_GCJ
=yes
17740 hardcode_shlibpath_var_GCJ
=no
17744 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17745 hardcode_direct_GCJ
=yes
17746 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17747 hardcode_libdir_separator_GCJ
=:
17748 hardcode_shlibpath_var_GCJ
=no
17752 hardcode_direct_GCJ
=yes
17753 hardcode_shlibpath_var_GCJ
=no
17754 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17755 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17756 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17757 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17758 export_dynamic_flag_spec_GCJ
='${wl}-E'
17761 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17762 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17763 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17766 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17767 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17774 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17775 hardcode_minus_L_GCJ
=yes
17776 allow_undefined_flag_GCJ
=unsupported
17777 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'
17778 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17782 if test "$GCC" = yes; then
17783 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17784 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'
17786 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17787 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'
17789 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17790 hardcode_libdir_separator_GCJ
=:
17793 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17794 if test "$GCC" = yes; then
17795 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17796 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'
17797 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17799 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17800 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'
17801 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~
17802 $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'
17804 # Both c and cxx compiler support -rpath directly
17805 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17807 hardcode_libdir_separator_GCJ
=:
17811 no_undefined_flag_GCJ
=' -z text'
17812 if test "$GCC" = yes; then
17814 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17815 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17816 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17819 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17820 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17821 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17823 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17824 hardcode_shlibpath_var_GCJ
=no
17826 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17828 # The compiler driver will combine linker options so we
17829 # cannot just pass the convience library names through
17830 # without $wl, iff we do not link with $LD.
17831 # Luckily, gcc supports the same syntax we need for Sun Studio.
17832 # Supported since Solaris 2.6 (maybe 2.5.1?)
17835 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17837 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' ;;
17840 link_all_deplibs_GCJ
=yes
17844 if test "x$host_vendor" = xsequent
; then
17845 # Use $CC to link under sequent, because it throws in some extra .o
17846 # files that make .init and .fini sections work.
17847 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17849 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17851 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17852 hardcode_direct_GCJ
=yes
17853 hardcode_minus_L_GCJ
=yes
17854 hardcode_shlibpath_var_GCJ
=no
17858 case $host_vendor in
17860 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17861 hardcode_direct_GCJ
=yes # is this really true???
17864 ## LD is ld it makes a PLAMLIB
17865 ## CC just makes a GrossModule.
17866 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17867 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17868 hardcode_direct_GCJ
=no
17871 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17872 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17875 runpath_var
='LD_RUN_PATH'
17876 hardcode_shlibpath_var_GCJ
=no
17880 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17881 hardcode_shlibpath_var_GCJ
=no
17882 export_dynamic_flag_spec_GCJ
='-Bexport'
17886 if test -d /usr
/nec
; then
17887 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17888 hardcode_shlibpath_var_GCJ
=no
17889 runpath_var
=LD_RUN_PATH
17890 hardcode_runpath_var
=yes
17895 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17896 no_undefined_flag_GCJ
='${wl}-z,text'
17897 archive_cmds_need_lc_GCJ
=no
17898 hardcode_shlibpath_var_GCJ
=no
17899 runpath_var
='LD_RUN_PATH'
17901 if test "$GCC" = yes; then
17902 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17903 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17905 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17906 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17910 sysv5
* | sco3.2v5
* | sco5v6
*)
17911 # Note: We can NOT use -z defs as we might desire, because we do not
17912 # link with -lc, and that would cause any symbols used from libc to
17913 # always be unresolved, which means just about no library would
17914 # ever link correctly. If we're not using GNU ld we use -z text
17915 # though, which does catch some bad symbols but isn't as heavy-handed
17917 no_undefined_flag_GCJ
='${wl}-z,text'
17918 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17919 archive_cmds_need_lc_GCJ
=no
17920 hardcode_shlibpath_var_GCJ
=no
17921 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17922 hardcode_libdir_separator_GCJ
=':'
17923 link_all_deplibs_GCJ
=yes
17924 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17925 runpath_var
='LD_RUN_PATH'
17927 if test "$GCC" = yes; then
17928 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17929 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17931 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17932 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17937 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17938 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17939 hardcode_shlibpath_var_GCJ
=no
17948 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17949 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17950 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17953 # Do we need to explicitly link libc?
17955 case "x$archive_cmds_need_lc_GCJ" in
17957 # Assume -lc should be added
17958 archive_cmds_need_lc_GCJ
=yes
17960 if test "$enable_shared" = yes && test "$GCC" = yes; then
17961 case $archive_cmds_GCJ in
17963 # FIXME: we may have to deal with multi-command sequences.
17966 # Test whether the compiler implicitly links with -lc since on some
17967 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17968 # to ld, don't add -lc before -lgcc.
17969 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17970 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17972 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17975 (eval $ac_compile) 2>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } 2>conftest.err
; then
17981 libobjs
=conftest.
$ac_objext
17983 wl
=$lt_prog_compiler_wl_GCJ
17984 pic_flag
=$lt_prog_compiler_pic_GCJ
17990 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17991 allow_undefined_flag_GCJ
=
17992 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17993 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }
17998 archive_cmds_need_lc_GCJ
=no
18000 archive_cmds_need_lc_GCJ
=yes
18002 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18004 cat conftest.err
1>&5
18007 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18008 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18015 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18016 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18017 library_names_spec
=
18018 libname_spec
='lib$name'
18022 postuninstall_cmds
=
18026 shlibpath_overrides_runpath
=unknown
18028 dynamic_linker
="$host_os ld.so"
18029 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18030 if test "$GCC" = yes; then
18031 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18032 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18033 # if the path contains ";" then we assume it to be the separator
18034 # otherwise default to the standard path separator (i.e. ":") - it is
18035 # assumed that no part of a normal pathname contains ";" but that should
18036 # okay in the real world where ";" in dirpaths is itself problematic.
18037 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18039 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18042 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18044 need_lib_prefix
=unknown
18045 hardcode_into_libs
=no
18047 # when you set need_version to no, make sure it does not cause -set_version
18048 # flags to be left without arguments
18049 need_version
=unknown
18054 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18055 shlibpath_var
=LIBPATH
18057 # AIX 3 has no versioning support, so we append a major version to the name.
18058 soname_spec
='${libname}${release}${shared_ext}$major'
18065 hardcode_into_libs
=yes
18066 if test "$host_cpu" = ia64
; then
18067 # AIX 5 supports IA64
18068 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18069 shlibpath_var
=LD_LIBRARY_PATH
18071 # With GCC up to 2.95.x, collect2 would create an import file
18072 # for dependence libraries. The import file would start with
18073 # the line `#! .'. This would cause the generated library to
18074 # depend on `.', always an invalid library. This was fixed in
18075 # development snapshots of GCC prior to 3.0.
18077 aix4 | aix4.
[01] | aix4.
[01].
*)
18078 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18080 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18083 can_build_shared
=no
18087 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18088 # soname into executable. Probably we can add versioning support to
18089 # collect2, so additional links can be useful in future.
18090 if test "$aix_use_runtimelinking" = yes; then
18091 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18092 # instead of lib<name>.a to let people know that these are not
18093 # typical AIX shared libraries.
18094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18096 # We preserve .a as extension for shared libraries through AIX4.2
18097 # and later when we are not doing run time linking.
18098 library_names_spec
='${libname}${release}.a $libname.a'
18099 soname_spec
='${libname}${release}${shared_ext}$major'
18101 shlibpath_var
=LIBPATH
18106 library_names_spec
='$libname.ixlibrary $libname.a'
18107 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18108 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'
18112 library_names_spec
='${libname}${shared_ext}'
18113 dynamic_linker
="$host_os ld.so"
18114 shlibpath_var
=LIBRARY_PATH
18120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18121 soname_spec
='${libname}${release}${shared_ext}$major'
18122 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18123 shlibpath_var
=LD_LIBRARY_PATH
18124 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18125 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18126 # the default ld.so.conf also contains /usr/contrib/lib and
18127 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18128 # libtool to hard-code these into programs
18131 cygwin
* | mingw
* | pw32
*)
18132 version_type
=windows
18137 case $GCC,$host_os in
18138 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18139 library_names_spec
='$libname.dll.a'
18140 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18141 postinstall_cmds
='base_file=`basename \${file}`~
18142 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18143 dldir=$destdir/`dirname \$dlpath`~
18144 test -d \$dldir || mkdir -p \$dldir~
18145 $install_prog $dir/$dlname \$dldir/$dlname~
18146 chmod a+x \$dldir/$dlname'
18147 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18148 dlpath=$dir/\$dldll~
18150 shlibpath_overrides_runpath
=yes
18154 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18155 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18156 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18159 # MinGW DLLs use traditional 'lib' prefix
18160 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18161 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18162 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18163 # It is most probably a Windows format PATH printed by
18164 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18165 # path with ; separators, and with drive letters. We can handle the
18166 # drive letters (cygwin fileutils understands them), so leave them,
18167 # especially as we might pass files found there to a mingw objdump,
18168 # which wouldn't understand a cygwinified path. Ahh.
18169 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18171 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18175 # pw32 DLLs use 'pw' prefix rather than 'lib'
18176 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18182 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18185 dynamic_linker
='Win32 ld.exe'
18186 # FIXME: first we should search . and the directory the executable is in
18190 darwin
* | rhapsody
*)
18191 dynamic_linker
="$host_os dyld"
18192 version_type
=darwin
18195 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18196 soname_spec
='${libname}${release}${major}$shared_ext'
18197 shlibpath_overrides_runpath
=yes
18198 shlibpath_var
=DYLD_LIBRARY_PATH
18199 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18200 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18201 if test "$GCC" = yes; then
18202 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"`
18204 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18206 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18214 soname_spec
='${libname}${release}${shared_ext}$major'
18215 shlibpath_var
=LD_LIBRARY_PATH
18222 freebsd
* | dragonfly
*)
18223 # DragonFly does not have aout. When/if they implement a new
18224 # versioning mechanism, adjust this.
18225 if test -x /usr
/bin
/objformat
; then
18226 objformat
=`/usr/bin/objformat`
18229 freebsd
[123]*) objformat
=aout
;;
18230 *) objformat
=elf
;;
18233 version_type
=freebsd-
$objformat
18234 case $version_type in
18236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18241 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18245 shlibpath_var
=LD_LIBRARY_PATH
18248 shlibpath_overrides_runpath
=yes
18250 freebsd3.
[01]* | freebsdelf3.
[01]*)
18251 shlibpath_overrides_runpath
=yes
18252 hardcode_into_libs
=yes
18254 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18255 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18256 shlibpath_overrides_runpath
=no
18257 hardcode_into_libs
=yes
18259 freebsd
*) # from 4.6 on
18260 shlibpath_overrides_runpath
=yes
18261 hardcode_into_libs
=yes
18270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18271 soname_spec
='${libname}${release}${shared_ext}$major'
18272 shlibpath_var
=LD_LIBRARY_PATH
18273 hardcode_into_libs
=yes
18276 hpux9
* | hpux10
* | hpux11
*)
18277 # Give a soname corresponding to the major version so that dld.sl refuses to
18278 # link against other versions.
18285 hardcode_into_libs
=yes
18286 dynamic_linker
="$host_os dld.so"
18287 shlibpath_var
=LD_LIBRARY_PATH
18288 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18290 soname_spec
='${libname}${release}${shared_ext}$major'
18291 if test "X$HPUX_IA64_MODE" = X32
; then
18292 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18294 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18296 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18300 hardcode_into_libs
=yes
18301 dynamic_linker
="$host_os dld.sl"
18302 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18303 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18305 soname_spec
='${libname}${release}${shared_ext}$major'
18306 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18307 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18311 dynamic_linker
="$host_os dld.sl"
18312 shlibpath_var
=SHLIB_PATH
18313 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18315 soname_spec
='${libname}${release}${shared_ext}$major'
18318 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18319 postinstall_cmds
='chmod 555 $lib'
18326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18327 soname_spec
='${libname}${release}${shared_ext}$major'
18328 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18329 shlibpath_var
=LD_LIBRARY_PATH
18330 shlibpath_overrides_runpath
=no
18331 hardcode_into_libs
=yes
18334 irix5
* | irix6
* | nonstopux
*)
18336 nonstopux
*) version_type
=nonstopux
;;
18338 if test "$lt_cv_prog_gnu_ld" = yes; then
18346 soname_spec
='${libname}${release}${shared_ext}$major'
18347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18349 irix5
* | nonstopux
*)
18350 libsuff
= shlibsuff
=
18353 case $LD in # libtool.m4 will add one of these switches to LD
18354 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18355 libsuff
= shlibsuff
= libmagic
=32-bit;;
18356 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18357 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18358 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18359 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18360 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18364 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18365 shlibpath_overrides_runpath
=no
18366 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18367 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18368 hardcode_into_libs
=yes
18371 # No shared lib support for Linux oldld, aout, or coff.
18372 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18376 # This must be Linux ELF.
18377 linux
* | k
*bsd
*-gnu)
18381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18382 soname_spec
='${libname}${release}${shared_ext}$major'
18383 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18384 shlibpath_var
=LD_LIBRARY_PATH
18385 shlibpath_overrides_runpath
=no
18386 # This implies no fast_install, which is unacceptable.
18387 # Some rework will be needed to allow for fast_install
18388 # before this can be enabled.
18389 hardcode_into_libs
=yes
18391 # Append ld.so.conf contents to the search path
18392 if test -f /etc
/ld.so.conf
; then
18393 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18394 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18397 # We used to test for /lib/ld.so.1 and disable shared libraries on
18398 # powerpc, because MkLinux only supported shared libraries with the
18399 # GNU dynamic linker. Since this was broken with cross compilers,
18400 # most powerpc-linux boxes support dynamic linking these days and
18401 # people can always --disable-shared, the test was removed, and we
18402 # assume the GNU/Linux dynamic linker is in use.
18403 dynamic_linker
='GNU/Linux ld.so'
18410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18411 soname_spec
='${libname}${release}${shared_ext}$major'
18412 shlibpath_var
=LD_LIBRARY_PATH
18413 shlibpath_overrides_runpath
=no
18414 hardcode_into_libs
=yes
18415 dynamic_linker
='NetBSD ld.elf_so'
18422 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18424 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18425 dynamic_linker
='NetBSD (a.out) ld.so'
18427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18428 soname_spec
='${libname}${release}${shared_ext}$major'
18429 dynamic_linker
='NetBSD ld.elf_so'
18431 shlibpath_var
=LD_LIBRARY_PATH
18432 shlibpath_overrides_runpath
=yes
18433 hardcode_into_libs
=yes
18438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18439 shlibpath_var
=LD_LIBRARY_PATH
18440 shlibpath_overrides_runpath
=yes
18447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18448 soname_spec
='${libname}${release}${shared_ext}$major'
18449 shlibpath_var
=LD_LIBRARY_PATH
18450 shlibpath_overrides_runpath
=yes
18455 sys_lib_dlsearch_path_spec
="/usr/lib"
18457 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18459 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18460 *) need_version
=no
;;
18462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18463 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18464 shlibpath_var
=LD_LIBRARY_PATH
18465 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18467 openbsd2.
[89] | openbsd2.
[89].
*)
18468 shlibpath_overrides_runpath
=no
18471 shlibpath_overrides_runpath
=yes
18475 shlibpath_overrides_runpath
=yes
18480 libname_spec
='$name'
18483 library_names_spec
='$libname${shared_ext} $libname.a'
18484 dynamic_linker
='OS/2 ld.exe'
18485 shlibpath_var
=LIBPATH
18488 osf3
* | osf4
* | osf5
*)
18492 soname_spec
='${libname}${release}${shared_ext}$major'
18493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18494 shlibpath_var
=LD_LIBRARY_PATH
18495 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18496 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18504 soname_spec
='${libname}${release}${shared_ext}$major'
18505 shlibpath_var
=LD_LIBRARY_PATH
18506 shlibpath_overrides_runpath
=yes
18507 hardcode_into_libs
=yes
18508 # ldd complains unless libraries are executable
18509 postinstall_cmds
='chmod +x $lib'
18514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18515 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18516 shlibpath_var
=LD_LIBRARY_PATH
18517 shlibpath_overrides_runpath
=yes
18518 if test "$with_gnu_ld" = yes; then
18526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18527 soname_spec
='${libname}${release}${shared_ext}$major'
18528 shlibpath_var
=LD_LIBRARY_PATH
18529 case $host_vendor in
18531 shlibpath_overrides_runpath
=no
18533 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18534 runpath_var
=LD_RUN_PATH
18542 shlibpath_overrides_runpath
=no
18543 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18549 if test -d /usr
/nec
;then
18551 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18552 soname_spec
='$libname${shared_ext}.$major'
18553 shlibpath_var
=LD_LIBRARY_PATH
18557 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18558 version_type
=freebsd-elf
18561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18562 soname_spec
='${libname}${release}${shared_ext}$major'
18563 shlibpath_var
=LD_LIBRARY_PATH
18564 hardcode_into_libs
=yes
18565 if test "$with_gnu_ld" = yes; then
18566 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18567 shlibpath_overrides_runpath
=no
18569 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18570 shlibpath_overrides_runpath
=yes
18573 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18577 sys_lib_dlsearch_path_spec
='/usr/lib'
18582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18583 soname_spec
='${libname}${release}${shared_ext}$major'
18584 shlibpath_var
=LD_LIBRARY_PATH
18591 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18592 echo "${ECHO_T}$dynamic_linker" >&6; }
18593 test "$dynamic_linker" = no
&& can_build_shared
=no
18595 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18596 if test "$GCC" = yes; then
18597 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18600 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18601 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18602 hardcode_action_GCJ
=
18603 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18604 test -n "$runpath_var_GCJ" || \
18605 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18607 # We can hardcode non-existant directories.
18608 if test "$hardcode_direct_GCJ" != no
&&
18609 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18610 # have to relink, otherwise we might link with an installed library
18611 # when we should be linking with a yet-to-be-installed one
18612 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18613 test "$hardcode_minus_L_GCJ" != no
; then
18614 # Linking always hardcodes the temporary library directory.
18615 hardcode_action_GCJ
=relink
18617 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18618 hardcode_action_GCJ
=immediate
18621 # We cannot hardcode anything, or else we can only hardcode existing
18623 hardcode_action_GCJ
=unsupported
18625 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18626 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18628 if test "$hardcode_action_GCJ" = relink
; then
18629 # Fast installation is not supported
18630 enable_fast_install
=no
18631 elif test "$shlibpath_overrides_runpath" = yes ||
18632 test "$enable_shared" = no
; then
18633 # Fast installation is not necessary
18634 enable_fast_install
=needless
18638 # The else clause should only fire when bootstrapping the
18639 # libtool distribution, otherwise you forgot to ship ltmain.sh
18640 # with your package, and you will get complaints that there are
18641 # no rules to generate ltmain.sh.
18642 if test -f "$ltmain"; then
18643 # See if we are running on zsh, and set the options which allow our commands through
18644 # without removal of \ escapes.
18645 if test -n "${ZSH_VERSION+set}" ; then
18646 setopt NO_GLOB_SUBST
18648 # Now quote all the things that may contain metacharacters while being
18649 # careful not to overquote the AC_SUBSTed values. We take copies of the
18650 # variables and quote the copies for generation of the libtool script.
18651 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18653 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18654 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18655 deplibs_check_method reload_flag reload_cmds need_locks \
18656 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18657 lt_cv_sys_global_symbol_to_c_name_address \
18658 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18659 old_postinstall_cmds old_postuninstall_cmds \
18663 lt_prog_compiler_wl_GCJ \
18664 lt_prog_compiler_pic_GCJ \
18665 lt_prog_compiler_static_GCJ \
18666 lt_prog_compiler_no_builtin_flag_GCJ \
18667 export_dynamic_flag_spec_GCJ \
18668 thread_safe_flag_spec_GCJ \
18669 whole_archive_flag_spec_GCJ \
18670 enable_shared_with_static_runtimes_GCJ \
18671 old_archive_cmds_GCJ \
18672 old_archive_from_new_cmds_GCJ \
18673 predep_objects_GCJ \
18674 postdep_objects_GCJ \
18677 compiler_lib_search_path_GCJ \
18679 archive_expsym_cmds_GCJ \
18680 postinstall_cmds_GCJ \
18681 postuninstall_cmds_GCJ \
18682 old_archive_from_expsyms_cmds_GCJ \
18683 allow_undefined_flag_GCJ \
18684 no_undefined_flag_GCJ \
18685 export_symbols_cmds_GCJ \
18686 hardcode_libdir_flag_spec_GCJ \
18687 hardcode_libdir_flag_spec_ld_GCJ \
18688 hardcode_libdir_separator_GCJ \
18689 hardcode_automatic_GCJ \
18691 module_expsym_cmds_GCJ \
18692 lt_cv_prog_compiler_c_o_GCJ \
18693 exclude_expsyms_GCJ \
18694 include_expsyms_GCJ
; do
18697 old_archive_cmds_GCJ | \
18698 old_archive_from_new_cmds_GCJ | \
18699 archive_cmds_GCJ | \
18700 archive_expsym_cmds_GCJ | \
18701 module_cmds_GCJ | \
18702 module_expsym_cmds_GCJ | \
18703 old_archive_from_expsyms_cmds_GCJ | \
18704 export_symbols_cmds_GCJ | \
18705 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18706 postinstall_cmds | postuninstall_cmds | \
18707 old_postinstall_cmds | old_postuninstall_cmds | \
18708 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18709 # Double-quote double-evaled strings.
18710 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18713 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18719 *'\$0 --fallback-echo"')
18720 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18726 cat <<__EOF__ >> "$cfgfile"
18727 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18729 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18731 # Shell to use when invoking shell scripts.
18734 # Whether or not to build shared libraries.
18735 build_libtool_libs=$enable_shared
18737 # Whether or not to build static libraries.
18738 build_old_libs=$enable_static
18740 # Whether or not to add -lc for building shared libraries.
18741 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18743 # Whether or not to disallow shared libs when runtime libs are static
18744 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18746 # Whether or not to optimize for fast installation.
18747 fast_install=$enable_fast_install
18750 host_alias=$host_alias
18754 # The build system.
18755 build_alias=$build_alias
18759 # An echo program that does not interpret backslashes.
18764 AR_FLAGS=$lt_AR_FLAGS
18769 # LTCC compiler flags.
18770 LTCFLAGS=$lt_LTCFLAGS
18772 # A language-specific compiler.
18773 CC=$lt_compiler_GCJ
18775 # Is the compiler the GNU C compiler?
18781 # The linker used to build libraries.
18784 # Whether we need hard or soft links.
18787 # A BSD-compatible nm program.
18790 # A symbol stripping program
18793 # Used to examine libraries when file_magic_cmd begins "file"
18794 MAGIC_CMD=$MAGIC_CMD
18796 # Used on cygwin: DLL creation program.
18799 # Used on cygwin: object dumper.
18802 # Used on cygwin: assembler.
18805 # The name of the directory that contains temporary libtool files.
18808 # How to create reloadable object files.
18809 reload_flag=$lt_reload_flag
18810 reload_cmds=$lt_reload_cmds
18812 # How to pass a linker flag through the compiler.
18813 wl=$lt_lt_prog_compiler_wl_GCJ
18815 # Object file suffix (normally "o").
18816 objext="$ac_objext"
18818 # Old archive suffix (normally "a").
18821 # Shared library suffix (normally ".so").
18822 shrext_cmds='$shrext_cmds'
18824 # Executable file suffix (normally "").
18827 # Additional compiler flags for building library objects.
18828 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18831 # What is the maximum length of a command?
18832 max_cmd_len=$lt_cv_sys_max_cmd_len
18834 # Does compiler simultaneously support -c and -o options?
18835 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18837 # Must we lock files when doing compilation?
18838 need_locks=$lt_need_locks
18840 # Do we need the lib prefix for modules?
18841 need_lib_prefix=$need_lib_prefix
18843 # Do we need a version for libraries?
18844 need_version=$need_version
18846 # Whether dlopen is supported.
18847 dlopen_support=$enable_dlopen
18849 # Whether dlopen of programs is supported.
18850 dlopen_self=$enable_dlopen_self
18852 # Whether dlopen of statically linked programs is supported.
18853 dlopen_self_static=$enable_dlopen_self_static
18855 # Compiler flag to prevent dynamic linking.
18856 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18858 # Compiler flag to turn off builtin functions.
18859 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18861 # Compiler flag to allow reflexive dlopens.
18862 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18864 # Compiler flag to generate shared objects directly from archives.
18865 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18867 # Compiler flag to generate thread-safe objects.
18868 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18870 # Library versioning type.
18871 version_type=$version_type
18873 # Format of library name prefix.
18874 libname_spec=$lt_libname_spec
18876 # List of archive names. First name is the real one, the rest are links.
18877 # The last name is the one that the linker finds with -lNAME.
18878 library_names_spec=$lt_library_names_spec
18880 # The coded name of the library, if different from the real name.
18881 soname_spec=$lt_soname_spec
18883 # Commands used to build and install an old-style archive.
18885 old_archive_cmds=$lt_old_archive_cmds_GCJ
18886 old_postinstall_cmds=$lt_old_postinstall_cmds
18887 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18889 # Create an old-style archive from a shared archive.
18890 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18892 # Create a temporary old-style archive to link instead of a shared archive.
18893 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18895 # Commands used to build and install a shared archive.
18896 archive_cmds=$lt_archive_cmds_GCJ
18897 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18898 postinstall_cmds=$lt_postinstall_cmds
18899 postuninstall_cmds=$lt_postuninstall_cmds
18901 # Commands used to build a loadable module (assumed same as above if empty)
18902 module_cmds=$lt_module_cmds_GCJ
18903 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18905 # Commands to strip libraries.
18906 old_striplib=$lt_old_striplib
18907 striplib=$lt_striplib
18909 # Dependencies to place before the objects being linked to create a
18911 predep_objects=$lt_predep_objects_GCJ
18913 # Dependencies to place after the objects being linked to create a
18915 postdep_objects=$lt_postdep_objects_GCJ
18917 # Dependencies to place before the objects being linked to create a
18919 predeps=$lt_predeps_GCJ
18921 # Dependencies to place after the objects being linked to create a
18923 postdeps=$lt_postdeps_GCJ
18925 # The library search path used internally by the compiler when linking
18926 # a shared library.
18927 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18929 # Method to check whether dependent libraries are shared objects.
18930 deplibs_check_method=$lt_deplibs_check_method
18932 # Command to use when deplibs_check_method == file_magic.
18933 file_magic_cmd=$lt_file_magic_cmd
18935 # Flag that allows shared libraries with undefined symbols to be built.
18936 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18938 # Flag that forces no undefined symbols.
18939 no_undefined_flag=$lt_no_undefined_flag_GCJ
18941 # Commands used to finish a libtool library installation in a directory.
18942 finish_cmds=$lt_finish_cmds
18944 # Same as above, but a single script fragment to be evaled but not shown.
18945 finish_eval=$lt_finish_eval
18947 # Take the output of nm and produce a listing of raw symbols and C names.
18948 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18950 # Transform the output of nm in a proper C declaration
18951 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18953 # Transform the output of nm in a C name address pair
18954 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18956 # This is the shared library runtime path variable.
18957 runpath_var=$runpath_var
18959 # This is the shared library path variable.
18960 shlibpath_var=$shlibpath_var
18962 # Is shlibpath searched before the hard-coded library search path?
18963 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18965 # How to hardcode a shared library path into an executable.
18966 hardcode_action=$hardcode_action_GCJ
18968 # Whether we should hardcode library paths into libraries.
18969 hardcode_into_libs=$hardcode_into_libs
18971 # Flag to hardcode \$libdir into a binary during linking.
18972 # This must work even if \$libdir does not exist.
18973 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18975 # If ld is used when linking, flag to hardcode \$libdir into
18976 # a binary during linking. This must work even if \$libdir does
18978 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18980 # Whether we need a single -rpath flag with a separated argument.
18981 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18983 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18984 # resulting binary.
18985 hardcode_direct=$hardcode_direct_GCJ
18987 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18988 # resulting binary.
18989 hardcode_minus_L=$hardcode_minus_L_GCJ
18991 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18992 # the resulting binary.
18993 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18995 # Set to yes if building a shared library automatically hardcodes DIR into the library
18996 # and all subsequent libraries and executables linked against it.
18997 hardcode_automatic=$hardcode_automatic_GCJ
18999 # Variables whose values should be saved in libtool wrapper scripts and
19000 # restored at relink time.
19001 variables_saved_for_relink="$variables_saved_for_relink"
19003 # Whether libtool must link a program against all its dependency libraries.
19004 link_all_deplibs=$link_all_deplibs_GCJ
19006 # Compile-time system search path for libraries
19007 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19009 # Run-time system search path for libraries
19010 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19012 # Fix the shell variable \$srcfile for the compiler.
19013 fix_srcfile_path="$fix_srcfile_path_GCJ"
19015 # Set to yes if exported symbols are required.
19016 always_export_symbols=$always_export_symbols_GCJ
19018 # The commands to list exported symbols.
19019 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19021 # The commands to extract the exported symbol list from a shared archive.
19022 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19024 # Symbols that should not be listed in the preloaded symbols.
19025 exclude_expsyms=$lt_exclude_expsyms_GCJ
19027 # Symbols that must always be exported.
19028 include_expsyms=$lt_include_expsyms_GCJ
19030 # ### END LIBTOOL TAG CONFIG: $tagname
19036 # If there is no Makefile yet, we rely on a make rule to execute
19037 # `config.status --recheck' to rerun these tests and create the
19038 # libtool script then.
19039 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19040 if test -f "$ltmain_in"; then
19041 test -f Makefile
&& make "$ltmain"
19047 ac_cpp
='$CPP $CPPFLAGS'
19048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19062 # Source file extension for RC test sources.
19065 # Object file extension for compiled RC test sources.
19069 # Code to be used in simple compile tests
19070 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19072 # Code to be used in simple link tests
19073 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19075 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19077 # If no C compiler was specified, use CC.
19080 # If no C compiler flags were specified, use CFLAGS.
19081 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19083 # Allow CC to be a program name with arguments.
19087 # save warnings/boilerplate of simple test code
19088 ac_outfile
=conftest.
$ac_objext
19089 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19090 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19091 _lt_compiler_boilerplate
=`cat conftest.err`
19094 ac_outfile
=conftest.
$ac_objext
19095 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19096 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19097 _lt_linker_boilerplate
=`cat conftest.err`
19101 # Allow CC to be a program name with arguments.
19106 for cc_temp
in $compiler""; do
19108 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19109 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19114 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19116 lt_cv_prog_compiler_c_o_RC
=yes
19118 # The else clause should only fire when bootstrapping the
19119 # libtool distribution, otherwise you forgot to ship ltmain.sh
19120 # with your package, and you will get complaints that there are
19121 # no rules to generate ltmain.sh.
19122 if test -f "$ltmain"; then
19123 # See if we are running on zsh, and set the options which allow our commands through
19124 # without removal of \ escapes.
19125 if test -n "${ZSH_VERSION+set}" ; then
19126 setopt NO_GLOB_SUBST
19128 # Now quote all the things that may contain metacharacters while being
19129 # careful not to overquote the AC_SUBSTed values. We take copies of the
19130 # variables and quote the copies for generation of the libtool script.
19131 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19133 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19134 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19135 deplibs_check_method reload_flag reload_cmds need_locks \
19136 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19137 lt_cv_sys_global_symbol_to_c_name_address \
19138 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19139 old_postinstall_cmds old_postuninstall_cmds \
19143 lt_prog_compiler_wl_RC \
19144 lt_prog_compiler_pic_RC \
19145 lt_prog_compiler_static_RC \
19146 lt_prog_compiler_no_builtin_flag_RC \
19147 export_dynamic_flag_spec_RC \
19148 thread_safe_flag_spec_RC \
19149 whole_archive_flag_spec_RC \
19150 enable_shared_with_static_runtimes_RC \
19151 old_archive_cmds_RC \
19152 old_archive_from_new_cmds_RC \
19153 predep_objects_RC \
19154 postdep_objects_RC \
19157 compiler_lib_search_path_RC \
19159 archive_expsym_cmds_RC \
19160 postinstall_cmds_RC \
19161 postuninstall_cmds_RC \
19162 old_archive_from_expsyms_cmds_RC \
19163 allow_undefined_flag_RC \
19164 no_undefined_flag_RC \
19165 export_symbols_cmds_RC \
19166 hardcode_libdir_flag_spec_RC \
19167 hardcode_libdir_flag_spec_ld_RC \
19168 hardcode_libdir_separator_RC \
19169 hardcode_automatic_RC \
19171 module_expsym_cmds_RC \
19172 lt_cv_prog_compiler_c_o_RC \
19173 exclude_expsyms_RC \
19174 include_expsyms_RC
; do
19177 old_archive_cmds_RC | \
19178 old_archive_from_new_cmds_RC | \
19179 archive_cmds_RC | \
19180 archive_expsym_cmds_RC | \
19182 module_expsym_cmds_RC | \
19183 old_archive_from_expsyms_cmds_RC | \
19184 export_symbols_cmds_RC | \
19185 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19186 postinstall_cmds | postuninstall_cmds | \
19187 old_postinstall_cmds | old_postuninstall_cmds | \
19188 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19189 # Double-quote double-evaled strings.
19190 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19193 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19199 *'\$0 --fallback-echo"')
19200 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19206 cat <<__EOF__ >> "$cfgfile"
19207 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19209 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19211 # Shell to use when invoking shell scripts.
19214 # Whether or not to build shared libraries.
19215 build_libtool_libs=$enable_shared
19217 # Whether or not to build static libraries.
19218 build_old_libs=$enable_static
19220 # Whether or not to add -lc for building shared libraries.
19221 build_libtool_need_lc=$archive_cmds_need_lc_RC
19223 # Whether or not to disallow shared libs when runtime libs are static
19224 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19226 # Whether or not to optimize for fast installation.
19227 fast_install=$enable_fast_install
19230 host_alias=$host_alias
19234 # The build system.
19235 build_alias=$build_alias
19239 # An echo program that does not interpret backslashes.
19244 AR_FLAGS=$lt_AR_FLAGS
19249 # LTCC compiler flags.
19250 LTCFLAGS=$lt_LTCFLAGS
19252 # A language-specific compiler.
19255 # Is the compiler the GNU C compiler?
19261 # The linker used to build libraries.
19264 # Whether we need hard or soft links.
19267 # A BSD-compatible nm program.
19270 # A symbol stripping program
19273 # Used to examine libraries when file_magic_cmd begins "file"
19274 MAGIC_CMD=$MAGIC_CMD
19276 # Used on cygwin: DLL creation program.
19279 # Used on cygwin: object dumper.
19282 # Used on cygwin: assembler.
19285 # The name of the directory that contains temporary libtool files.
19288 # How to create reloadable object files.
19289 reload_flag=$lt_reload_flag
19290 reload_cmds=$lt_reload_cmds
19292 # How to pass a linker flag through the compiler.
19293 wl=$lt_lt_prog_compiler_wl_RC
19295 # Object file suffix (normally "o").
19296 objext="$ac_objext"
19298 # Old archive suffix (normally "a").
19301 # Shared library suffix (normally ".so").
19302 shrext_cmds='$shrext_cmds'
19304 # Executable file suffix (normally "").
19307 # Additional compiler flags for building library objects.
19308 pic_flag=$lt_lt_prog_compiler_pic_RC
19311 # What is the maximum length of a command?
19312 max_cmd_len=$lt_cv_sys_max_cmd_len
19314 # Does compiler simultaneously support -c and -o options?
19315 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19317 # Must we lock files when doing compilation?
19318 need_locks=$lt_need_locks
19320 # Do we need the lib prefix for modules?
19321 need_lib_prefix=$need_lib_prefix
19323 # Do we need a version for libraries?
19324 need_version=$need_version
19326 # Whether dlopen is supported.
19327 dlopen_support=$enable_dlopen
19329 # Whether dlopen of programs is supported.
19330 dlopen_self=$enable_dlopen_self
19332 # Whether dlopen of statically linked programs is supported.
19333 dlopen_self_static=$enable_dlopen_self_static
19335 # Compiler flag to prevent dynamic linking.
19336 link_static_flag=$lt_lt_prog_compiler_static_RC
19338 # Compiler flag to turn off builtin functions.
19339 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19341 # Compiler flag to allow reflexive dlopens.
19342 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19344 # Compiler flag to generate shared objects directly from archives.
19345 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19347 # Compiler flag to generate thread-safe objects.
19348 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19350 # Library versioning type.
19351 version_type=$version_type
19353 # Format of library name prefix.
19354 libname_spec=$lt_libname_spec
19356 # List of archive names. First name is the real one, the rest are links.
19357 # The last name is the one that the linker finds with -lNAME.
19358 library_names_spec=$lt_library_names_spec
19360 # The coded name of the library, if different from the real name.
19361 soname_spec=$lt_soname_spec
19363 # Commands used to build and install an old-style archive.
19365 old_archive_cmds=$lt_old_archive_cmds_RC
19366 old_postinstall_cmds=$lt_old_postinstall_cmds
19367 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19369 # Create an old-style archive from a shared archive.
19370 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19372 # Create a temporary old-style archive to link instead of a shared archive.
19373 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19375 # Commands used to build and install a shared archive.
19376 archive_cmds=$lt_archive_cmds_RC
19377 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19378 postinstall_cmds=$lt_postinstall_cmds
19379 postuninstall_cmds=$lt_postuninstall_cmds
19381 # Commands used to build a loadable module (assumed same as above if empty)
19382 module_cmds=$lt_module_cmds_RC
19383 module_expsym_cmds=$lt_module_expsym_cmds_RC
19385 # Commands to strip libraries.
19386 old_striplib=$lt_old_striplib
19387 striplib=$lt_striplib
19389 # Dependencies to place before the objects being linked to create a
19391 predep_objects=$lt_predep_objects_RC
19393 # Dependencies to place after the objects being linked to create a
19395 postdep_objects=$lt_postdep_objects_RC
19397 # Dependencies to place before the objects being linked to create a
19399 predeps=$lt_predeps_RC
19401 # Dependencies to place after the objects being linked to create a
19403 postdeps=$lt_postdeps_RC
19405 # The library search path used internally by the compiler when linking
19406 # a shared library.
19407 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19409 # Method to check whether dependent libraries are shared objects.
19410 deplibs_check_method=$lt_deplibs_check_method
19412 # Command to use when deplibs_check_method == file_magic.
19413 file_magic_cmd=$lt_file_magic_cmd
19415 # Flag that allows shared libraries with undefined symbols to be built.
19416 allow_undefined_flag=$lt_allow_undefined_flag_RC
19418 # Flag that forces no undefined symbols.
19419 no_undefined_flag=$lt_no_undefined_flag_RC
19421 # Commands used to finish a libtool library installation in a directory.
19422 finish_cmds=$lt_finish_cmds
19424 # Same as above, but a single script fragment to be evaled but not shown.
19425 finish_eval=$lt_finish_eval
19427 # Take the output of nm and produce a listing of raw symbols and C names.
19428 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19430 # Transform the output of nm in a proper C declaration
19431 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19433 # Transform the output of nm in a C name address pair
19434 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19436 # This is the shared library runtime path variable.
19437 runpath_var=$runpath_var
19439 # This is the shared library path variable.
19440 shlibpath_var=$shlibpath_var
19442 # Is shlibpath searched before the hard-coded library search path?
19443 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19445 # How to hardcode a shared library path into an executable.
19446 hardcode_action=$hardcode_action_RC
19448 # Whether we should hardcode library paths into libraries.
19449 hardcode_into_libs=$hardcode_into_libs
19451 # Flag to hardcode \$libdir into a binary during linking.
19452 # This must work even if \$libdir does not exist.
19453 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19455 # If ld is used when linking, flag to hardcode \$libdir into
19456 # a binary during linking. This must work even if \$libdir does
19458 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19460 # Whether we need a single -rpath flag with a separated argument.
19461 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19463 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19464 # resulting binary.
19465 hardcode_direct=$hardcode_direct_RC
19467 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19468 # resulting binary.
19469 hardcode_minus_L=$hardcode_minus_L_RC
19471 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19472 # the resulting binary.
19473 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19475 # Set to yes if building a shared library automatically hardcodes DIR into the library
19476 # and all subsequent libraries and executables linked against it.
19477 hardcode_automatic=$hardcode_automatic_RC
19479 # Variables whose values should be saved in libtool wrapper scripts and
19480 # restored at relink time.
19481 variables_saved_for_relink="$variables_saved_for_relink"
19483 # Whether libtool must link a program against all its dependency libraries.
19484 link_all_deplibs=$link_all_deplibs_RC
19486 # Compile-time system search path for libraries
19487 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19489 # Run-time system search path for libraries
19490 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19492 # Fix the shell variable \$srcfile for the compiler.
19493 fix_srcfile_path="$fix_srcfile_path_RC"
19495 # Set to yes if exported symbols are required.
19496 always_export_symbols=$always_export_symbols_RC
19498 # The commands to list exported symbols.
19499 export_symbols_cmds=$lt_export_symbols_cmds_RC
19501 # The commands to extract the exported symbol list from a shared archive.
19502 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19504 # Symbols that should not be listed in the preloaded symbols.
19505 exclude_expsyms=$lt_exclude_expsyms_RC
19507 # Symbols that must always be exported.
19508 include_expsyms=$lt_include_expsyms_RC
19510 # ### END LIBTOOL TAG CONFIG: $tagname
19516 # If there is no Makefile yet, we rely on a make rule to execute
19517 # `config.status --recheck' to rerun these tests and create the
19518 # libtool script then.
19519 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19520 if test -f "$ltmain_in"; then
19521 test -f Makefile
&& make "$ltmain"
19527 ac_cpp
='$CPP $CPPFLAGS'
19528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19537 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19538 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19539 { (exit 1); exit 1; }; }
19543 # Append the new tag name to the list of available tags.
19544 if test -n "$tagname" ; then
19545 available_tags
="$available_tags $tagname"
19551 # Now substitute the updated list of available tags.
19552 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19553 mv "${ofile}T" "$ofile"
19557 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19558 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19559 { (exit 1); exit 1; }; }
19565 # This can be used to rebuild libtool when needed
19566 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19568 # Always use our own libtool.
19569 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19571 # Prevent multiple expansion
19593 for ac_prog
in bash
19595 # Extract the first word of "$ac_prog", so it can be a program name with args.
19596 set dummy
$ac_prog; ac_word
=$2
19597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19599 if test "${ac_cv_path_BASH+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19604 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
19607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19608 for as_dir
in $PATH
19611 test -z "$as_dir" && as_dir
=.
19612 for ac_exec_ext
in '' $ac_executable_extensions; do
19613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19614 ac_cv_path_BASH
="$as_dir/$ac_word$ac_exec_ext"
19615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19625 BASH
=$ac_cv_path_BASH
19626 if test -n "$BASH"; then
19627 { echo "$as_me:$LINENO: result: $BASH" >&5
19628 echo "${ECHO_T}$BASH" >&6; }
19630 { echo "$as_me:$LINENO: result: no" >&5
19631 echo "${ECHO_T}no" >&6; }
19635 test -n "$BASH" && break
19639 # Check whether --enable-largefile was given.
19640 if test "${enable_largefile+set}" = set; then
19641 enableval
=$enable_largefile;
19644 if test "$enable_largefile" != no
; then
19646 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
19647 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
19648 if test "${ac_cv_sys_largefile_CC+set}" = set; then
19649 echo $ECHO_N "(cached) $ECHO_C" >&6
19651 ac_cv_sys_largefile_CC
=no
19652 if test "$GCC" != yes; then
19655 # IRIX 6.2 and later do not support large files by default,
19656 # so use the C compiler's -n32 option if that helps.
19657 cat >conftest.
$ac_ext <<_ACEOF
19660 cat confdefs.h
>>conftest.
$ac_ext
19661 cat >>conftest.
$ac_ext <<_ACEOF
19662 /* end confdefs.h. */
19663 #include <sys/types.h>
19664 /* Check that off_t can represent 2**63 - 1 correctly.
19665 We can't simply define LARGE_OFF_T to be 9223372036854775807,
19666 since some C++ compilers masquerading as C compilers
19667 incorrectly reject 9223372036854775807. */
19668 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19669 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19670 && LARGE_OFF_T % 2147483647 == 1)
19680 rm -f conftest.
$ac_objext
19681 if { (ac_try
="$ac_compile"
19682 case "(($ac_try" in
19683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_compile") 2>conftest.er1
19689 grep -v '^ *+' conftest.er1 >conftest.err
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } &&
19694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19695 { (case "(($ac_try" in
19696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19697 *) ac_try_echo
=$ac_try;;
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_try") 2>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); }; } &&
19704 { ac_try
='test -s conftest.$ac_objext'
19705 { (case "(($ac_try" in
19706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19707 *) ac_try_echo=$ac_try;;
19709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19710 (eval "$ac_try") 2>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; }; then
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19722 rm -f core conftest.err conftest.$ac_objext
19724 rm -f conftest.$ac_objext
19725 if { (ac_try="$ac_compile"
19726 case "(($ac_try" in
19727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19728 *) ac_try_echo
=$ac_try;;
19730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19731 (eval "$ac_compile") 2>conftest.er1
19733 grep -v '^ *+' conftest.er1
>conftest.err
19735 cat conftest.err
>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); } &&
19738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19739 { (case "(($ac_try" in
19740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19741 *) ac_try_echo=$ac_try;;
19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_try") 2>&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; } &&
19748 { ac_try='test -s conftest.$ac_objext'
19749 { (case "(($ac_try" in
19750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19751 *) ac_try_echo
=$ac_try;;
19753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval "$ac_try") 2>&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); }; }; then
19758 ac_cv_sys_largefile_CC
=' -n32'; break
19760 echo "$as_me: failed program was:" >&5
19761 sed 's/^/| /' conftest.
$ac_ext >&5
19766 rm -f core conftest.err conftest.
$ac_objext
19770 rm -f conftest.
$ac_ext
19773 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
19774 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
19775 if test "$ac_cv_sys_largefile_CC" != no
; then
19776 CC
=$CC$ac_cv_sys_largefile_CC
19779 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19780 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
19781 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19782 echo $ECHO_N "(cached) $ECHO_C" >&6
19785 ac_cv_sys_file_offset_bits
=no
19786 cat >conftest.
$ac_ext <<_ACEOF
19789 cat confdefs.h
>>conftest.
$ac_ext
19790 cat >>conftest.
$ac_ext <<_ACEOF
19791 /* end confdefs.h. */
19792 #include <sys/types.h>
19793 /* Check that off_t can represent 2**63 - 1 correctly.
19794 We can't simply define LARGE_OFF_T to be 9223372036854775807,
19795 since some C++ compilers masquerading as C compilers
19796 incorrectly reject 9223372036854775807. */
19797 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19798 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19799 && LARGE_OFF_T % 2147483647 == 1)
19809 rm -f conftest.
$ac_objext
19810 if { (ac_try
="$ac_compile"
19811 case "(($ac_try" in
19812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19813 *) ac_try_echo=$ac_try;;
19815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19816 (eval "$ac_compile") 2>conftest.er1
19818 grep -v '^ *+' conftest.er1 >conftest.err
19820 cat conftest.err >&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } &&
19823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19824 { (case "(($ac_try" in
19825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19826 *) ac_try_echo
=$ac_try;;
19828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19829 (eval "$ac_try") 2>&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; } &&
19833 { ac_try
='test -s conftest.$ac_objext'
19834 { (case "(($ac_try" in
19835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19836 *) ac_try_echo=$ac_try;;
19838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19839 (eval "$ac_try") 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; }; then
19845 echo "$as_me: failed program was:" >&5
19846 sed 's/^/| /' conftest.$ac_ext >&5
19851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19852 cat >conftest.$ac_ext <<_ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 #define _FILE_OFFSET_BITS 64
19859 #include <sys/types.h>
19860 /* Check that off_t can represent 2**63 - 1 correctly.
19861 We can't simply define LARGE_OFF_T to be 9223372036854775807,
19862 since some C++ compilers masquerading as C compilers
19863 incorrectly reject 9223372036854775807. */
19864 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19865 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19866 && LARGE_OFF_T % 2147483647 == 1)
19876 rm -f conftest.$ac_objext
19877 if { (ac_try="$ac_compile"
19878 case "(($ac_try" in
19879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19880 *) ac_try_echo
=$ac_try;;
19882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19883 (eval "$ac_compile") 2>conftest.er1
19885 grep -v '^ *+' conftest.er1
>conftest.err
19887 cat conftest.err
>&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } &&
19890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19891 { (case "(($ac_try" in
19892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19893 *) ac_try_echo=$ac_try;;
19895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19896 (eval "$ac_try") 2>&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }; } &&
19900 { ac_try='test -s conftest.$ac_objext'
19901 { (case "(($ac_try" in
19902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19903 *) ac_try_echo
=$ac_try;;
19905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19906 (eval "$ac_try") 2>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; }; then
19910 ac_cv_sys_file_offset_bits
=64; break
19912 echo "$as_me: failed program was:" >&5
19913 sed 's/^/| /' conftest.
$ac_ext >&5
19918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19922 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19923 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
19924 if test "$ac_cv_sys_file_offset_bits" != no
; then
19926 cat >>confdefs.h
<<_ACEOF
19927 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19932 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19933 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
19934 if test "${ac_cv_sys_large_files+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 ac_cv_sys_large_files
=no
19939 cat >conftest.
$ac_ext <<_ACEOF
19942 cat confdefs.h
>>conftest.
$ac_ext
19943 cat >>conftest.
$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #include <sys/types.h>
19946 /* Check that off_t can represent 2**63 - 1 correctly.
19947 We can't simply define LARGE_OFF_T to be 9223372036854775807,
19948 since some C++ compilers masquerading as C compilers
19949 incorrectly reject 9223372036854775807. */
19950 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19951 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19952 && LARGE_OFF_T % 2147483647 == 1)
19962 rm -f conftest.
$ac_objext
19963 if { (ac_try
="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19966 *) ac_try_echo=$ac_try;;
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19971 grep -v '^ *+' conftest.er1 >conftest.err
19973 cat conftest.err >&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } &&
19976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19977 { (case "(($ac_try" in
19978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19979 *) ac_try_echo
=$ac_try;;
19981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19982 (eval "$ac_try") 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; } &&
19986 { ac_try
='test -s conftest.$ac_objext'
19987 { (case "(($ac_try" in
19988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19989 *) ac_try_echo=$ac_try;;
19991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19992 (eval "$ac_try") 2>&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }; }; then
19998 echo "$as_me: failed program was:" >&5
19999 sed 's/^/| /' conftest.$ac_ext >&5
20004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005 cat >conftest.$ac_ext <<_ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 #define _LARGE_FILES 1
20012 #include <sys/types.h>
20013 /* Check that off_t can represent 2**63 - 1 correctly.
20014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20015 since some C++ compilers masquerading as C compilers
20016 incorrectly reject 9223372036854775807. */
20017 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20019 && LARGE_OFF_T % 2147483647 == 1)
20029 rm -f conftest.$ac_objext
20030 if { (ac_try="$ac_compile"
20031 case "(($ac_try" in
20032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20033 *) ac_try_echo
=$ac_try;;
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_compile") 2>conftest.er1
20038 grep -v '^ *+' conftest.er1
>conftest.err
20040 cat conftest.err
>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } &&
20043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20044 { (case "(($ac_try" in
20045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20046 *) ac_try_echo=$ac_try;;
20048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20049 (eval "$ac_try") 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; } &&
20053 { ac_try='test -s conftest.$ac_objext'
20054 { (case "(($ac_try" in
20055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20056 *) ac_try_echo
=$ac_try;;
20058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20059 (eval "$ac_try") 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; }; then
20063 ac_cv_sys_large_files
=1; break
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.
$ac_ext >&5
20071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20075 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20076 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
20077 if test "$ac_cv_sys_large_files" != no
; then
20079 cat >>confdefs.h
<<_ACEOF
20080 #define _LARGE_FILES $ac_cv_sys_large_files
20088 # Checks for programs.
20090 ac_cpp
='$CPP $CPPFLAGS'
20091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20094 if test -n "$ac_tool_prefix"; then
20095 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
20096 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
20097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20099 if test "${ac_cv_prog_CC+set}" = set; then
20100 echo $ECHO_N "(cached) $ECHO_C" >&6
20102 if test -n "$CC"; then
20103 ac_cv_prog_CC
="$CC" # Let the user override the test.
20105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20106 for as_dir
in $PATH
20109 test -z "$as_dir" && as_dir
=.
20110 for ac_exec_ext
in '' $ac_executable_extensions; do
20111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20112 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
20113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20123 if test -n "$CC"; then
20124 { echo "$as_me:$LINENO: result: $CC" >&5
20125 echo "${ECHO_T}$CC" >&6; }
20127 { echo "$as_me:$LINENO: result: no" >&5
20128 echo "${ECHO_T}no" >&6; }
20133 if test -z "$ac_cv_prog_CC"; then
20135 # Extract the first word of "gcc", so it can be a program name with args.
20136 set dummy gcc
; ac_word
=$2
20137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20140 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 if test -n "$ac_ct_CC"; then
20143 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
20145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20146 for as_dir
in $PATH
20149 test -z "$as_dir" && as_dir
=.
20150 for ac_exec_ext
in '' $ac_executable_extensions; do
20151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20152 ac_cv_prog_ac_ct_CC
="gcc"
20153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20162 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
20163 if test -n "$ac_ct_CC"; then
20164 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20165 echo "${ECHO_T}$ac_ct_CC" >&6; }
20167 { echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6; }
20171 if test "x$ac_ct_CC" = x
; then
20174 case $cross_compiling:$ac_tool_warned in
20176 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20177 whose name does not start with the host triplet. If you think this
20178 configuration is useful to you, please write to autoconf@gnu.org." >&5
20179 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20180 whose name does not start with the host triplet. If you think this
20181 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20182 ac_tool_warned
=yes ;;
20187 CC
="$ac_cv_prog_CC"
20190 if test -z "$CC"; then
20191 if test -n "$ac_tool_prefix"; then
20192 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
20193 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
20194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20196 if test "${ac_cv_prog_CC+set}" = set; then
20197 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 if test -n "$CC"; then
20200 ac_cv_prog_CC
="$CC" # Let the user override the test.
20202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20203 for as_dir
in $PATH
20206 test -z "$as_dir" && as_dir
=.
20207 for ac_exec_ext
in '' $ac_executable_extensions; do
20208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20209 ac_cv_prog_CC
="${ac_tool_prefix}cc"
20210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20220 if test -n "$CC"; then
20221 { echo "$as_me:$LINENO: result: $CC" >&5
20222 echo "${ECHO_T}$CC" >&6; }
20224 { echo "$as_me:$LINENO: result: no" >&5
20225 echo "${ECHO_T}no" >&6; }
20231 if test -z "$CC"; then
20232 # Extract the first word of "cc", so it can be a program name with args.
20233 set dummy cc
; ac_word
=$2
20234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20236 if test "${ac_cv_prog_CC+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 if test -n "$CC"; then
20240 ac_cv_prog_CC
="$CC" # Let the user override the test.
20242 ac_prog_rejected
=no
20243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20244 for as_dir
in $PATH
20247 test -z "$as_dir" && as_dir
=.
20248 for ac_exec_ext
in '' $ac_executable_extensions; do
20249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20250 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
20251 ac_prog_rejected
=yes
20255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20262 if test $ac_prog_rejected = yes; then
20263 # We found a bogon in the path, so make sure we never use it.
20264 set dummy
$ac_cv_prog_CC
20266 if test $# != 0; then
20267 # We chose a different compiler from the bogus one.
20268 # However, it has the same basename, so the bogon will be chosen
20269 # first if we set CC to just the basename; use the full file name.
20271 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
20277 if test -n "$CC"; then
20278 { echo "$as_me:$LINENO: result: $CC" >&5
20279 echo "${ECHO_T}$CC" >&6; }
20281 { echo "$as_me:$LINENO: result: no" >&5
20282 echo "${ECHO_T}no" >&6; }
20287 if test -z "$CC"; then
20288 if test -n "$ac_tool_prefix"; then
20289 for ac_prog
in cl.exe
20291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20292 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20295 if test "${ac_cv_prog_CC+set}" = set; then
20296 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 if test -n "$CC"; then
20299 ac_cv_prog_CC
="$CC" # Let the user override the test.
20301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20302 for as_dir
in $PATH
20305 test -z "$as_dir" && as_dir
=.
20306 for ac_exec_ext
in '' $ac_executable_extensions; do
20307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20308 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
20309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20319 if test -n "$CC"; then
20320 { echo "$as_me:$LINENO: result: $CC" >&5
20321 echo "${ECHO_T}$CC" >&6; }
20323 { echo "$as_me:$LINENO: result: no" >&5
20324 echo "${ECHO_T}no" >&6; }
20328 test -n "$CC" && break
20331 if test -z "$CC"; then
20333 for ac_prog
in cl.exe
20335 # Extract the first word of "$ac_prog", so it can be a program name with args.
20336 set dummy
$ac_prog; ac_word
=$2
20337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20339 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20340 echo $ECHO_N "(cached) $ECHO_C" >&6
20342 if test -n "$ac_ct_CC"; then
20343 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
20345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20346 for as_dir
in $PATH
20349 test -z "$as_dir" && as_dir
=.
20350 for ac_exec_ext
in '' $ac_executable_extensions; do
20351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20352 ac_cv_prog_ac_ct_CC
="$ac_prog"
20353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20362 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
20363 if test -n "$ac_ct_CC"; then
20364 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20365 echo "${ECHO_T}$ac_ct_CC" >&6; }
20367 { echo "$as_me:$LINENO: result: no" >&5
20368 echo "${ECHO_T}no" >&6; }
20372 test -n "$ac_ct_CC" && break
20375 if test "x$ac_ct_CC" = x
; then
20378 case $cross_compiling:$ac_tool_warned in
20380 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20381 whose name does not start with the host triplet. If you think this
20382 configuration is useful to you, please write to autoconf@gnu.org." >&5
20383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20384 whose name does not start with the host triplet. If you think this
20385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20386 ac_tool_warned
=yes ;;
20395 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20396 See \`config.log' for more details." >&5
20397 echo "$as_me: error: no acceptable C compiler found in \$PATH
20398 See \`config.log' for more details." >&2;}
20399 { (exit 1); exit 1; }; }
20401 # Provide some information about the compiler.
20402 echo "$as_me:$LINENO: checking for C compiler version" >&5
20403 ac_compiler
=`set X $ac_compile; echo $2`
20404 { (ac_try
="$ac_compiler --version >&5"
20405 case "(($ac_try" in
20406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_compiler --version >&5") 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }
20414 { (ac_try="$ac_compiler -v >&5"
20415 case "(($ac_try" in
20416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20417 *) ac_try_echo
=$ac_try;;
20419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20420 (eval "$ac_compiler -v >&5") 2>&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }
20424 { (ac_try
="$ac_compiler -V >&5"
20425 case "(($ac_try" in
20426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20427 *) ac_try_echo=$ac_try;;
20429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20430 (eval "$ac_compiler -V >&5") 2>&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }
20435 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
20436 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
20437 if test "${ac_cv_c_compiler_gnu+set}" = set; then
20438 echo $ECHO_N "(cached) $ECHO_C" >&6
20440 cat >conftest.$ac_ext <<_ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20458 rm -f conftest.$ac_objext
20459 if { (ac_try="$ac_compile"
20460 case "(($ac_try" in
20461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20462 *) ac_try_echo
=$ac_try;;
20464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20465 (eval "$ac_compile") 2>conftest.er1
20467 grep -v '^ *+' conftest.er1
>conftest.err
20469 cat conftest.err
>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } &&
20472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20473 { (case "(($ac_try" in
20474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20475 *) ac_try_echo=$ac_try;;
20477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20478 (eval "$ac_try") 2>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); }; } &&
20482 { ac_try='test -s conftest.$ac_objext'
20483 { (case "(($ac_try" in
20484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20485 *) ac_try_echo
=$ac_try;;
20487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20488 (eval "$ac_try") 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20492 ac_compiler_gnu
=yes
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.
$ac_ext >&5
20500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20501 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
20504 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
20505 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
20506 GCC
=`test $ac_compiler_gnu = yes && echo yes`
20507 ac_test_CFLAGS
=${CFLAGS+set}
20508 ac_save_CFLAGS
=$CFLAGS
20509 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
20510 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
20511 if test "${ac_cv_prog_cc_g+set}" = set; then
20512 echo $ECHO_N "(cached) $ECHO_C" >&6
20514 ac_save_c_werror_flag
=$ac_c_werror_flag
20515 ac_c_werror_flag
=yes
20518 cat >conftest.
$ac_ext <<_ACEOF
20521 cat confdefs.h
>>conftest.
$ac_ext
20522 cat >>conftest.
$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20533 rm -f conftest.
$ac_objext
20534 if { (ac_try
="$ac_compile"
20535 case "(($ac_try" in
20536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_compile") 2>conftest.er1
20542 grep -v '^ *+' conftest.er1 >conftest.err
20544 cat conftest.err >&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } &&
20547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20548 { (case "(($ac_try" in
20549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20550 *) ac_try_echo
=$ac_try;;
20552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20553 (eval "$ac_try") 2>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; } &&
20557 { ac_try
='test -s conftest.$ac_objext'
20558 { (case "(($ac_try" in
20559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20560 *) ac_try_echo=$ac_try;;
20562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20563 (eval "$ac_try") 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; }; then
20567 ac_cv_prog_cc_g=yes
20569 echo "$as_me: failed program was:" >&5
20570 sed 's/^/| /' conftest.$ac_ext >&5
20573 cat >conftest.$ac_ext <<_ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20588 rm -f conftest.$ac_objext
20589 if { (ac_try="$ac_compile"
20590 case "(($ac_try" in
20591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20592 *) ac_try_echo
=$ac_try;;
20594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20595 (eval "$ac_compile") 2>conftest.er1
20597 grep -v '^ *+' conftest.er1
>conftest.err
20599 cat conftest.err
>&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); } &&
20602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20603 { (case "(($ac_try" in
20604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_try") 2>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); }; } &&
20612 { ac_try='test -s conftest.$ac_objext'
20613 { (case "(($ac_try" in
20614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20615 *) ac_try_echo
=$ac_try;;
20617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20618 (eval "$ac_try") 2>&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; }; then
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.
$ac_ext >&5
20627 ac_c_werror_flag
=$ac_save_c_werror_flag
20629 cat >conftest.
$ac_ext <<_ACEOF
20632 cat confdefs.h
>>conftest.
$ac_ext
20633 cat >>conftest.
$ac_ext <<_ACEOF
20634 /* end confdefs.h. */
20644 rm -f conftest.
$ac_objext
20645 if { (ac_try
="$ac_compile"
20646 case "(($ac_try" in
20647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20648 *) ac_try_echo=$ac_try;;
20650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20651 (eval "$ac_compile") 2>conftest.er1
20653 grep -v '^ *+' conftest.er1 >conftest.err
20655 cat conftest.err >&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); } &&
20658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20659 { (case "(($ac_try" in
20660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20661 *) ac_try_echo
=$ac_try;;
20663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20664 (eval "$ac_try") 2>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); }; } &&
20668 { ac_try
='test -s conftest.$ac_objext'
20669 { (case "(($ac_try" in
20670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20671 *) ac_try_echo=$ac_try;;
20673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20674 (eval "$ac_try") 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; }; then
20678 ac_cv_prog_cc_g=yes
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.$ac_ext >&5
20686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20693 ac_c_werror_flag=$ac_save_c_werror_flag
20695 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20696 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
20697 if test "$ac_test_CFLAGS" = set; then
20698 CFLAGS=$ac_save_CFLAGS
20699 elif test $ac_cv_prog_cc_g = yes; then
20700 if test "$GCC" = yes; then
20706 if test "$GCC" = yes; then
20712 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
20713 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
20714 if test "${ac_cv_prog_cc_c89+set}" = set; then
20715 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 ac_cv_prog_cc_c89=no
20719 cat >conftest.$ac_ext <<_ACEOF
20722 cat confdefs.h >>conftest.$ac_ext
20723 cat >>conftest.$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 #include <stdarg.h>
20727 #include <sys/types.h>
20728 #include <sys/stat.h>
20729 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
20730 struct buf { int x; };
20731 FILE * (*rcsopen) (struct buf *, struct stat *, int);
20732 static char *e (p, i)
20738 static char *f (char * (*g) (char **, int), char **p, ...)
20743 s = g (p, va_arg (v,int));
20748 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20749 function prototypes and stuff, but not '\xHH' hex character constants.
20750 These don't provoke an error unfortunately, instead are silently treated
20751 as 'x'. The following induces an error, until -std is added to get
20752 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
20753 array size at least. It's necessary to write '\x00'==0 to get something
20754 that's true only with -std. */
20755 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20757 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20758 inside strings and character constants. */
20760 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
20762 int test (int i, double x);
20763 struct s1 {int (*f) (int a);};
20764 struct s2 {int (*f) (double a);};
20765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20771 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
20776 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20777 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20779 CC="$ac_save_CC $ac_arg"
20780 rm -f conftest.$ac_objext
20781 if { (ac_try="$ac_compile"
20782 case "(($ac_try" in
20783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20784 *) ac_try_echo
=$ac_try;;
20786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20787 (eval "$ac_compile") 2>conftest.er1
20789 grep -v '^ *+' conftest.er1
>conftest.err
20791 cat conftest.err
>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); } &&
20794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20795 { (case "(($ac_try" in
20796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20797 *) ac_try_echo=$ac_try;;
20799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20800 (eval "$ac_try") 2>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try='test -s conftest.$ac_objext'
20805 { (case "(($ac_try" in
20806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20807 *) ac_try_echo
=$ac_try;;
20809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20810 (eval "$ac_try") 2>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; }; then
20814 ac_cv_prog_cc_c89
=$ac_arg
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.
$ac_ext >&5
20822 rm -f core conftest.err conftest.
$ac_objext
20823 test "x$ac_cv_prog_cc_c89" != "xno" && break
20825 rm -f conftest.
$ac_ext
20830 case "x$ac_cv_prog_cc_c89" in
20832 { echo "$as_me:$LINENO: result: none needed" >&5
20833 echo "${ECHO_T}none needed" >&6; } ;;
20835 { echo "$as_me:$LINENO: result: unsupported" >&5
20836 echo "${ECHO_T}unsupported" >&6; } ;;
20838 CC
="$CC $ac_cv_prog_cc_c89"
20839 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
20840 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
20845 ac_cpp
='$CPP $CPPFLAGS'
20846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20850 depcc
="$CC" am_compiler_list
=
20852 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20853 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
20854 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20857 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20858 # We make a subdir and do the tests there. Otherwise we can end up
20859 # making bogus files that we don't know about and never remove. For
20860 # instance it was reported that on HP-UX the gcc test will end up
20861 # making a dummy file named `D' -- because `-MD' means `put the output
20864 # Copy depcomp to subdir because otherwise we won't find it if we're
20865 # using a relative directory.
20866 cp "$am_depcomp" conftest.dir
20868 # We will build objects and dependencies in a subdirectory because
20869 # it helps to detect inapplicable dependency modes. For instance
20870 # both Tru64's cc and ICC support -MD to output dependencies as a
20871 # side effect of compilation, but ICC will put the dependencies in
20872 # the current directory while Tru64 will put them in the object
20876 am_cv_CC_dependencies_compiler_type
=none
20877 if test "$am_compiler_list" = ""; then
20878 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20880 for depmode
in $am_compiler_list; do
20881 # Setup a source with many dependencies, because some compilers
20882 # like to wrap large dependency lists on column 80 (with \), and
20883 # we should not choose a depcomp mode which is confused by this.
20885 # We need to recreate these files for each test, as the compiler may
20886 # overwrite some of them when testing with obscure command lines.
20887 # This happens at least with the AIX C compiler.
20889 for i
in 1 2 3 4 5 6; do
20890 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
20891 : > sub
/conftst
$i.h
20893 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20897 # after this tag, mechanisms are not by side-effect, so they'll
20898 # only be used when explicitly requested
20899 if test "x$enable_dependency_tracking" = xyes
; then
20907 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20908 # mode. It turns out that the SunPro C++ compiler does not properly
20909 # handle `-M -o', and we need to detect this.
20910 if depmode
=$depmode \
20911 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
20912 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
20913 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
20914 >/dev
/null
2>conftest.err
&&
20915 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20916 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
20917 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
20918 # icc doesn't choke on unknown options, it will just issue warnings
20919 # (even with -Werror). So we grep stderr for any message
20920 # that says an option was ignored.
20921 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
20922 am_cv_CC_dependencies_compiler_type
=$depmode
20929 rm -rf conftest.dir
20931 am_cv_CC_dependencies_compiler_type
=none
20935 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
20936 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
20937 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
20942 test "x$enable_dependency_tracking" != xno \
20943 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
20944 am__fastdepCC_TRUE
=
20945 am__fastdepCC_FALSE
='#'
20947 am__fastdepCC_TRUE
='#'
20948 am__fastdepCC_FALSE
=
20953 { echo "$as_me:$LINENO: checking for forkpty in -lutil" >&5
20954 echo $ECHO_N "checking for forkpty in -lutil... $ECHO_C" >&6; }
20955 if test "${ac_cv_lib_util_forkpty+set}" = set; then
20956 echo $ECHO_N "(cached) $ECHO_C" >&6
20958 ac_check_lib_save_LIBS
=$LIBS
20959 LIBS
="-lutil $LIBS"
20960 cat >conftest.
$ac_ext <<_ACEOF
20963 cat confdefs.h
>>conftest.
$ac_ext
20964 cat >>conftest.
$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20967 /* Override any GCC internal prototype to avoid an error.
20968 Use char because int might match the return type of a GCC
20969 builtin and then its argument prototype would still apply. */
20982 rm -f conftest.
$ac_objext conftest
$ac_exeext
20983 if { (ac_try
="$ac_link"
20984 case "(($ac_try" in
20985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20986 *) ac_try_echo=$ac_try;;
20988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20989 (eval "$ac_link") 2>conftest.er1
20991 grep -v '^ *+' conftest.er1 >conftest.err
20993 cat conftest.err >&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); } &&
20996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20997 { (case "(($ac_try" in
20998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20999 *) ac_try_echo
=$ac_try;;
21001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21002 (eval "$ac_try") 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; } &&
21006 { ac_try
='test -s conftest$ac_exeext'
21007 { (case "(($ac_try" in
21008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21009 *) ac_try_echo=$ac_try;;
21011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21012 (eval "$ac_try") 2>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; }; then
21016 ac_cv_lib_util_forkpty=yes
21018 echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.$ac_ext >&5
21021 ac_cv_lib_util_forkpty=no
21024 rm -f core conftest.err conftest.$ac_objext \
21025 conftest$ac_exeext conftest.$ac_ext
21026 LIBS=$ac_check_lib_save_LIBS
21028 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_forkpty" >&5
21029 echo "${ECHO_T}$ac_cv_lib_util_forkpty" >&6; }
21030 if test $ac_cv_lib_util_forkpty = yes; then
21033 { { echo "$as_me:$LINENO: error: libutil is
21034 required in order to compile LinuxTraceToolkit" >&5
21035 echo "$as_me: error: libutil is
21036 required in order to compile LinuxTraceToolkit" >&2;}
21037 { (exit 1); exit 1; }; }
21043 { echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5
21044 echo $ECHO_N "checking for pthread_join in -lpthread... $ECHO_C" >&6; }
21045 if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then
21046 echo $ECHO_N "(cached) $ECHO_C" >&6
21048 ac_check_lib_save_LIBS=$LIBS
21049 LIBS="-lpthread $LIBS"
21050 cat >conftest.$ac_ext <<_ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21057 /* Override any GCC internal prototype to avoid an error.
21058 Use char because int might match the return type of a GCC
21059 builtin and then its argument prototype would still apply. */
21063 char pthread_join ();
21067 return pthread_join ();
21072 rm -f conftest.$ac_objext conftest$ac_exeext
21073 if { (ac_try="$ac_link"
21074 case "(($ac_try" in
21075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21076 *) ac_try_echo
=$ac_try;;
21078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21079 (eval "$ac_link") 2>conftest.er1
21081 grep -v '^ *+' conftest.er1
>conftest.err
21083 cat conftest.err
>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } &&
21086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21087 { (case "(($ac_try" in
21088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21089 *) ac_try_echo=$ac_try;;
21091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21092 (eval "$ac_try") 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; } &&
21096 { ac_try='test -s conftest$ac_exeext'
21097 { (case "(($ac_try" in
21098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21099 *) ac_try_echo
=$ac_try;;
21101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21102 (eval "$ac_try") 2>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; }; then
21106 ac_cv_lib_pthread_pthread_join
=yes
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.
$ac_ext >&5
21111 ac_cv_lib_pthread_pthread_join
=no
21114 rm -f core conftest.err conftest.
$ac_objext \
21115 conftest
$ac_exeext conftest.
$ac_ext
21116 LIBS
=$ac_check_lib_save_LIBS
21118 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5
21119 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_join" >&6; }
21120 if test $ac_cv_lib_pthread_pthread_join = yes; then
21121 THREAD_LIBS
="-lpthread"
21123 { { echo "$as_me:$LINENO: error: LinuxThreads is required in order to compile lttd" >&5
21124 echo "$as_me: error: LinuxThreads is required in order to compile lttd" >&2;}
21125 { (exit 1); exit 1; }; }
21129 # Checks for header files.
21130 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21131 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21132 if test "${ac_cv_header_stdc+set}" = set; then
21133 echo $ECHO_N "(cached) $ECHO_C" >&6
21135 cat >conftest.
$ac_ext <<_ACEOF
21138 cat confdefs.h
>>conftest.
$ac_ext
21139 cat >>conftest.
$ac_ext <<_ACEOF
21140 /* end confdefs.h. */
21141 #include <stdlib.h>
21142 #include <stdarg.h>
21143 #include <string.h>
21154 rm -f conftest.
$ac_objext
21155 if { (ac_try
="$ac_compile"
21156 case "(($ac_try" in
21157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21158 *) ac_try_echo=$ac_try;;
21160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21161 (eval "$ac_compile") 2>conftest.er1
21163 grep -v '^ *+' conftest.er1 >conftest.err
21165 cat conftest.err >&5
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); } &&
21168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21169 { (case "(($ac_try" in
21170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21171 *) ac_try_echo
=$ac_try;;
21173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21174 (eval "$ac_try") 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; } &&
21178 { ac_try
='test -s conftest.$ac_objext'
21179 { (case "(($ac_try" in
21180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;;
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_try") 2>&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); }; }; then
21188 ac_cv_header_stdc=yes
21190 echo "$as_me: failed program was:" >&5
21191 sed 's/^/| /' conftest.$ac_ext >&5
21193 ac_cv_header_stdc=no
21196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198 if test $ac_cv_header_stdc = yes; then
21199 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21200 cat >conftest.$ac_ext <<_ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 #include <string.h>
21209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21210 $EGREP "memchr" >/dev/null 2>&1; then
21213 ac_cv_header_stdc=no
21219 if test $ac_cv_header_stdc = yes; then
21220 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21221 cat >conftest.$ac_ext <<_ACEOF
21224 cat confdefs.h >>conftest.$ac_ext
21225 cat >>conftest.$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21227 #include <stdlib.h>
21230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21231 $EGREP "free" >/dev/null 2>&1; then
21234 ac_cv_header_stdc=no
21240 if test $ac_cv_header_stdc = yes; then
21241 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21242 if test "$cross_compiling" = yes; then
21245 cat >conftest.$ac_ext <<_ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21252 #include <stdlib.h>
21253 #if ((' ' & 0x0FF) == 0x020)
21254 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21255 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21257 # define ISLOWER(c) \
21258 (('a' <= (c) && (c) <= 'i') \
21259 || ('j' <= (c) && (c) <= 'r') \
21260 || ('s' <= (c) && (c) <= 'z'))
21261 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21264 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21269 for (i = 0; i < 256; i++)
21270 if (XOR (islower (i), ISLOWER (i))
21271 || toupper (i) != TOUPPER (i))
21276 rm -f conftest$ac_exeext
21277 if { (ac_try="$ac_link"
21278 case "(($ac_try" in
21279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21280 *) ac_try_echo
=$ac_try;;
21282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283 (eval "$ac_link") 2>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21287 { (case "(($ac_try" in
21288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21289 *) ac_try_echo=$ac_try;;
21291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21292 (eval "$ac_try") 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21298 echo "$as_me: program exited with status $ac_status" >&5
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21302 ( exit $ac_status )
21303 ac_cv_header_stdc=no
21305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21311 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21312 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21313 if test $ac_cv_header_stdc = yes; then
21315 cat >>confdefs.h <<\_ACEOF
21316 #define STDC_HEADERS 1
21327 for ac_header in fcntl.h stdlib.h string.h sys/time.h unistd.h pthread.h
21329 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
21330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21331 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21334 echo $ECHO_N "(cached) $ECHO_C" >&6
21336 ac_res=`eval echo '${'$as_ac_Header'}'`
21337 { echo "$as_me:$LINENO: result: $ac_res" >&5
21338 echo "${ECHO_T}$ac_res" >&6; }
21340 # Is the header compilable?
21341 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21343 cat >conftest.$ac_ext <<_ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21349 $ac_includes_default
21350 #include <$ac_header>
21352 rm -f conftest.$ac_objext
21353 if { (ac_try="$ac_compile"
21354 case "(($ac_try" in
21355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21356 *) ac_try_echo
=$ac_try;;
21358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21359 (eval "$ac_compile") 2>conftest.er1
21361 grep -v '^ *+' conftest.er1
>conftest.err
21363 cat conftest.err
>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } &&
21366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21367 { (case "(($ac_try" in
21368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_try") 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; } &&
21376 { ac_try='test -s conftest.$ac_objext'
21377 { (case "(($ac_try" in
21378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21379 *) ac_try_echo
=$ac_try;;
21381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21382 (eval "$ac_try") 2>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); }; }; then
21386 ac_header_compiler
=yes
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.
$ac_ext >&5
21391 ac_header_compiler
=no
21394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21395 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21396 echo "${ECHO_T}$ac_header_compiler" >&6; }
21398 # Is the header present?
21399 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21401 cat >conftest.
$ac_ext <<_ACEOF
21404 cat confdefs.h
>>conftest.
$ac_ext
21405 cat >>conftest.
$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 #include <$ac_header>
21409 if { (ac_try
="$ac_cpp conftest.$ac_ext"
21410 case "(($ac_try" in
21411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21417 grep -v '^ *+' conftest.er1 >conftest.err
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } >/dev/null; then
21422 if test -s conftest.err; then
21423 ac_cpp_err=$ac_c_preproc_warn_flag
21424 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21431 if test -z "$ac_cpp_err"; then
21432 ac_header_preproc=yes
21434 echo "$as_me: failed program was:" >&5
21435 sed 's/^/| /' conftest.$ac_ext >&5
21437 ac_header_preproc=no
21440 rm -f conftest.err conftest.$ac_ext
21441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21442 echo "${ECHO_T}$ac_header_preproc" >&6; }
21444 # So? What about this header?
21445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21451 ac_header_preproc=yes
21454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21467 ## --------------------------------- ##
21468 ## Report this to BUG-REPORT-ADDRESS ##
21469 ## --------------------------------- ##
21471 ) | sed "s/^/$as_me: WARNING: /" >&2
21474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21477 echo $ECHO_N "(cached) $ECHO_C" >&6
21479 eval "$as_ac_Header=\$ac_header_preproc"
21481 ac_res=`eval echo '${'$as_ac_Header'}'`
21482 { echo "$as_me:$LINENO: result: $ac_res" >&5
21483 echo "${ECHO_T}$ac_res" >&6; }
21486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21487 cat >>confdefs.h <<_ACEOF
21488 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
21497 { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
21498 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
21499 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
21500 echo $ECHO_N "(cached) $ECHO_C" >&6
21502 ac_check_lib_save_LIBS=$LIBS
21503 LIBS="-lcposix $LIBS"
21504 cat >conftest.$ac_ext <<_ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21511 /* Override any GCC internal prototype to avoid an error.
21512 Use char because int might match the return type of a GCC
21513 builtin and then its argument prototype would still apply. */
21521 return strerror ();
21526 rm -f conftest.$ac_objext conftest$ac_exeext
21527 if { (ac_try="$ac_link"
21528 case "(($ac_try" in
21529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21530 *) ac_try_echo
=$ac_try;;
21532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21533 (eval "$ac_link") 2>conftest.er1
21535 grep -v '^ *+' conftest.er1
>conftest.err
21537 cat conftest.err
>&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); } &&
21540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21541 { (case "(($ac_try" in
21542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21543 *) ac_try_echo=$ac_try;;
21545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21546 (eval "$ac_try") 2>&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); }; } &&
21550 { ac_try='test -s conftest$ac_exeext'
21551 { (case "(($ac_try" in
21552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21553 *) ac_try_echo
=$ac_try;;
21555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21556 (eval "$ac_try") 2>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; }; then
21560 ac_cv_lib_cposix_strerror
=yes
21562 echo "$as_me: failed program was:" >&5
21563 sed 's/^/| /' conftest.
$ac_ext >&5
21565 ac_cv_lib_cposix_strerror
=no
21568 rm -f core conftest.err conftest.
$ac_objext \
21569 conftest
$ac_exeext conftest.
$ac_ext
21570 LIBS
=$ac_check_lib_save_LIBS
21572 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
21573 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
21574 if test $ac_cv_lib_cposix_strerror = yes; then
21575 LIBS
="$LIBS -lcposix"
21581 ac_cpp
='$CPP $CPPFLAGS'
21582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21585 if test -n "$ac_tool_prefix"; then
21586 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
21587 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
21588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21590 if test "${ac_cv_prog_CC+set}" = set; then
21591 echo $ECHO_N "(cached) $ECHO_C" >&6
21593 if test -n "$CC"; then
21594 ac_cv_prog_CC
="$CC" # Let the user override the test.
21596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21597 for as_dir
in $PATH
21600 test -z "$as_dir" && as_dir
=.
21601 for ac_exec_ext
in '' $ac_executable_extensions; do
21602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21603 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
21604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21614 if test -n "$CC"; then
21615 { echo "$as_me:$LINENO: result: $CC" >&5
21616 echo "${ECHO_T}$CC" >&6; }
21618 { echo "$as_me:$LINENO: result: no" >&5
21619 echo "${ECHO_T}no" >&6; }
21624 if test -z "$ac_cv_prog_CC"; then
21626 # Extract the first word of "gcc", so it can be a program name with args.
21627 set dummy gcc
; ac_word
=$2
21628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21630 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21633 if test -n "$ac_ct_CC"; then
21634 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
21636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21637 for as_dir
in $PATH
21640 test -z "$as_dir" && as_dir
=.
21641 for ac_exec_ext
in '' $ac_executable_extensions; do
21642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21643 ac_cv_prog_ac_ct_CC
="gcc"
21644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21653 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
21654 if test -n "$ac_ct_CC"; then
21655 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
21656 echo "${ECHO_T}$ac_ct_CC" >&6; }
21658 { echo "$as_me:$LINENO: result: no" >&5
21659 echo "${ECHO_T}no" >&6; }
21662 if test "x$ac_ct_CC" = x
; then
21665 case $cross_compiling:$ac_tool_warned in
21667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21668 whose name does not start with the host triplet. If you think this
21669 configuration is useful to you, please write to autoconf@gnu.org." >&5
21670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21671 whose name does not start with the host triplet. If you think this
21672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21673 ac_tool_warned
=yes ;;
21678 CC
="$ac_cv_prog_CC"
21681 if test -z "$CC"; then
21682 if test -n "$ac_tool_prefix"; then
21683 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
21684 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
21685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21687 if test "${ac_cv_prog_CC+set}" = set; then
21688 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 if test -n "$CC"; then
21691 ac_cv_prog_CC
="$CC" # Let the user override the test.
21693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21694 for as_dir
in $PATH
21697 test -z "$as_dir" && as_dir
=.
21698 for ac_exec_ext
in '' $ac_executable_extensions; do
21699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21700 ac_cv_prog_CC
="${ac_tool_prefix}cc"
21701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21711 if test -n "$CC"; then
21712 { echo "$as_me:$LINENO: result: $CC" >&5
21713 echo "${ECHO_T}$CC" >&6; }
21715 { echo "$as_me:$LINENO: result: no" >&5
21716 echo "${ECHO_T}no" >&6; }
21722 if test -z "$CC"; then
21723 # Extract the first word of "cc", so it can be a program name with args.
21724 set dummy cc
; ac_word
=$2
21725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21727 if test "${ac_cv_prog_CC+set}" = set; then
21728 echo $ECHO_N "(cached) $ECHO_C" >&6
21730 if test -n "$CC"; then
21731 ac_cv_prog_CC
="$CC" # Let the user override the test.
21733 ac_prog_rejected
=no
21734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21735 for as_dir
in $PATH
21738 test -z "$as_dir" && as_dir
=.
21739 for ac_exec_ext
in '' $ac_executable_extensions; do
21740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21741 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
21742 ac_prog_rejected
=yes
21746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21753 if test $ac_prog_rejected = yes; then
21754 # We found a bogon in the path, so make sure we never use it.
21755 set dummy
$ac_cv_prog_CC
21757 if test $# != 0; then
21758 # We chose a different compiler from the bogus one.
21759 # However, it has the same basename, so the bogon will be chosen
21760 # first if we set CC to just the basename; use the full file name.
21762 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
21768 if test -n "$CC"; then
21769 { echo "$as_me:$LINENO: result: $CC" >&5
21770 echo "${ECHO_T}$CC" >&6; }
21772 { echo "$as_me:$LINENO: result: no" >&5
21773 echo "${ECHO_T}no" >&6; }
21778 if test -z "$CC"; then
21779 if test -n "$ac_tool_prefix"; then
21780 for ac_prog
in cl.exe
21782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21783 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21786 if test "${ac_cv_prog_CC+set}" = set; then
21787 echo $ECHO_N "(cached) $ECHO_C" >&6
21789 if test -n "$CC"; then
21790 ac_cv_prog_CC
="$CC" # Let the user override the test.
21792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21793 for as_dir
in $PATH
21796 test -z "$as_dir" && as_dir
=.
21797 for ac_exec_ext
in '' $ac_executable_extensions; do
21798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21799 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
21800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21810 if test -n "$CC"; then
21811 { echo "$as_me:$LINENO: result: $CC" >&5
21812 echo "${ECHO_T}$CC" >&6; }
21814 { echo "$as_me:$LINENO: result: no" >&5
21815 echo "${ECHO_T}no" >&6; }
21819 test -n "$CC" && break
21822 if test -z "$CC"; then
21824 for ac_prog
in cl.exe
21826 # Extract the first word of "$ac_prog", so it can be a program name with args.
21827 set dummy
$ac_prog; ac_word
=$2
21828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21830 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
21831 echo $ECHO_N "(cached) $ECHO_C" >&6
21833 if test -n "$ac_ct_CC"; then
21834 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
21836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21837 for as_dir
in $PATH
21840 test -z "$as_dir" && as_dir
=.
21841 for ac_exec_ext
in '' $ac_executable_extensions; do
21842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21843 ac_cv_prog_ac_ct_CC
="$ac_prog"
21844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21853 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
21854 if test -n "$ac_ct_CC"; then
21855 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
21856 echo "${ECHO_T}$ac_ct_CC" >&6; }
21858 { echo "$as_me:$LINENO: result: no" >&5
21859 echo "${ECHO_T}no" >&6; }
21863 test -n "$ac_ct_CC" && break
21866 if test "x$ac_ct_CC" = x
; then
21869 case $cross_compiling:$ac_tool_warned in
21871 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21872 whose name does not start with the host triplet. If you think this
21873 configuration is useful to you, please write to autoconf@gnu.org." >&5
21874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21875 whose name does not start with the host triplet. If you think this
21876 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21877 ac_tool_warned
=yes ;;
21886 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
21887 See \`config.log' for more details." >&5
21888 echo "$as_me: error: no acceptable C compiler found in \$PATH
21889 See \`config.log' for more details." >&2;}
21890 { (exit 1); exit 1; }; }
21892 # Provide some information about the compiler.
21893 echo "$as_me:$LINENO: checking for C compiler version" >&5
21894 ac_compiler
=`set X $ac_compile; echo $2`
21895 { (ac_try
="$ac_compiler --version >&5"
21896 case "(($ac_try" in
21897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21898 *) ac_try_echo=$ac_try;;
21900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21901 (eval "$ac_compiler --version >&5") 2>&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); }
21905 { (ac_try="$ac_compiler -v >&5"
21906 case "(($ac_try" in
21907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21908 *) ac_try_echo
=$ac_try;;
21910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21911 (eval "$ac_compiler -v >&5") 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }
21915 { (ac_try
="$ac_compiler -V >&5"
21916 case "(($ac_try" in
21917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_compiler -V >&5") 2>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }
21926 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
21927 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
21928 if test "${ac_cv_c_compiler_gnu+set}" = set; then
21929 echo $ECHO_N "(cached) $ECHO_C" >&6
21931 cat >conftest.$ac_ext <<_ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21949 rm -f conftest.$ac_objext
21950 if { (ac_try="$ac_compile"
21951 case "(($ac_try" in
21952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21953 *) ac_try_echo
=$ac_try;;
21955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21956 (eval "$ac_compile") 2>conftest.er1
21958 grep -v '^ *+' conftest.er1
>conftest.err
21960 cat conftest.err
>&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); } &&
21963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21964 { (case "(($ac_try" in
21965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21966 *) ac_try_echo=$ac_try;;
21968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21969 (eval "$ac_try") 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; } &&
21973 { ac_try='test -s conftest.$ac_objext'
21974 { (case "(($ac_try" in
21975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21976 *) ac_try_echo
=$ac_try;;
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_try") 2>&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_compiler_gnu
=yes
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.
$ac_ext >&5
21991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21992 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
21995 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
21996 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
21997 GCC
=`test $ac_compiler_gnu = yes && echo yes`
21998 ac_test_CFLAGS
=${CFLAGS+set}
21999 ac_save_CFLAGS
=$CFLAGS
22000 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
22001 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
22002 if test "${ac_cv_prog_cc_g+set}" = set; then
22003 echo $ECHO_N "(cached) $ECHO_C" >&6
22005 ac_save_c_werror_flag
=$ac_c_werror_flag
22006 ac_c_werror_flag
=yes
22009 cat >conftest.
$ac_ext <<_ACEOF
22012 cat confdefs.h
>>conftest.
$ac_ext
22013 cat >>conftest.
$ac_ext <<_ACEOF
22014 /* end confdefs.h. */
22024 rm -f conftest.
$ac_objext
22025 if { (ac_try
="$ac_compile"
22026 case "(($ac_try" in
22027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22028 *) ac_try_echo=$ac_try;;
22030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22031 (eval "$ac_compile") 2>conftest.er1
22033 grep -v '^ *+' conftest.er1 >conftest.err
22035 cat conftest.err >&5
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); } &&
22038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22039 { (case "(($ac_try" in
22040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22041 *) ac_try_echo
=$ac_try;;
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_try") 2>&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); }; } &&
22048 { ac_try
='test -s conftest.$ac_objext'
22049 { (case "(($ac_try" in
22050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22051 *) ac_try_echo=$ac_try;;
22053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22054 (eval "$ac_try") 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
22058 ac_cv_prog_cc_g=yes
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22064 cat >conftest.$ac_ext <<_ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22079 rm -f conftest.$ac_objext
22080 if { (ac_try="$ac_compile"
22081 case "(($ac_try" in
22082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22083 *) ac_try_echo
=$ac_try;;
22085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22086 (eval "$ac_compile") 2>conftest.er1
22088 grep -v '^ *+' conftest.er1
>conftest.err
22090 cat conftest.err
>&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } &&
22093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22094 { (case "(($ac_try" in
22095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_try") 2>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; } &&
22103 { ac_try='test -s conftest.$ac_objext'
22104 { (case "(($ac_try" in
22105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22106 *) ac_try_echo
=$ac_try;;
22108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22109 (eval "$ac_try") 2>&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); }; }; then
22115 echo "$as_me: failed program was:" >&5
22116 sed 's/^/| /' conftest.
$ac_ext >&5
22118 ac_c_werror_flag
=$ac_save_c_werror_flag
22120 cat >conftest.
$ac_ext <<_ACEOF
22123 cat confdefs.h
>>conftest.
$ac_ext
22124 cat >>conftest.
$ac_ext <<_ACEOF
22125 /* end confdefs.h. */
22135 rm -f conftest.
$ac_objext
22136 if { (ac_try
="$ac_compile"
22137 case "(($ac_try" in
22138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22139 *) ac_try_echo=$ac_try;;
22141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142 (eval "$ac_compile") 2>conftest.er1
22144 grep -v '^ *+' conftest.er1 >conftest.err
22146 cat conftest.err >&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); } &&
22149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22150 { (case "(($ac_try" in
22151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22152 *) ac_try_echo
=$ac_try;;
22154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22155 (eval "$ac_try") 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; } &&
22159 { ac_try
='test -s conftest.$ac_objext'
22160 { (case "(($ac_try" in
22161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22162 *) ac_try_echo=$ac_try;;
22164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22165 (eval "$ac_try") 2>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); }; }; then
22169 ac_cv_prog_cc_g=yes
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.$ac_ext >&5
22177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22184 ac_c_werror_flag=$ac_save_c_werror_flag
22186 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
22187 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
22188 if test "$ac_test_CFLAGS" = set; then
22189 CFLAGS=$ac_save_CFLAGS
22190 elif test $ac_cv_prog_cc_g = yes; then
22191 if test "$GCC" = yes; then
22197 if test "$GCC" = yes; then
22203 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
22204 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
22205 if test "${ac_cv_prog_cc_c89+set}" = set; then
22206 echo $ECHO_N "(cached) $ECHO_C" >&6
22208 ac_cv_prog_cc_c89=no
22210 cat >conftest.$ac_ext <<_ACEOF
22213 cat confdefs.h >>conftest.$ac_ext
22214 cat >>conftest.$ac_ext <<_ACEOF
22215 /* end confdefs.h. */
22216 #include <stdarg.h>
22218 #include <sys/types.h>
22219 #include <sys/stat.h>
22220 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
22221 struct buf { int x; };
22222 FILE * (*rcsopen) (struct buf *, struct stat *, int);
22223 static char *e (p, i)
22229 static char *f (char * (*g) (char **, int), char **p, ...)
22234 s = g (p, va_arg (v,int));
22239 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
22240 function prototypes and stuff, but not '\xHH' hex character constants.
22241 These don't provoke an error unfortunately, instead are silently treated
22242 as 'x'. The following induces an error, until -std is added to get
22243 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
22244 array size at least. It's necessary to write '\x00'==0 to get something
22245 that's true only with -std. */
22246 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
22248 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
22249 inside strings and character constants. */
22251 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
22253 int test (int i, double x);
22254 struct s1 {int (*f) (int a);};
22255 struct s2 {int (*f) (double a);};
22256 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
22262 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
22267 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
22268 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
22270 CC="$ac_save_CC $ac_arg"
22271 rm -f conftest.$ac_objext
22272 if { (ac_try="$ac_compile"
22273 case "(($ac_try" in
22274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22275 *) ac_try_echo
=$ac_try;;
22277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22278 (eval "$ac_compile") 2>conftest.er1
22280 grep -v '^ *+' conftest.er1
>conftest.err
22282 cat conftest.err
>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } &&
22285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22286 { (case "(($ac_try" in
22287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22288 *) ac_try_echo=$ac_try;;
22290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22291 (eval "$ac_try") 2>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; } &&
22295 { ac_try='test -s conftest.$ac_objext'
22296 { (case "(($ac_try" in
22297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22298 *) ac_try_echo
=$ac_try;;
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_try") 2>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; }; then
22305 ac_cv_prog_cc_c89
=$ac_arg
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.
$ac_ext >&5
22313 rm -f core conftest.err conftest.
$ac_objext
22314 test "x$ac_cv_prog_cc_c89" != "xno" && break
22316 rm -f conftest.
$ac_ext
22321 case "x$ac_cv_prog_cc_c89" in
22323 { echo "$as_me:$LINENO: result: none needed" >&5
22324 echo "${ECHO_T}none needed" >&6; } ;;
22326 { echo "$as_me:$LINENO: result: unsupported" >&5
22327 echo "${ECHO_T}unsupported" >&6; } ;;
22329 CC
="$CC $ac_cv_prog_cc_c89"
22330 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
22331 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
22336 ac_cpp
='$CPP $CPPFLAGS'
22337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22341 depcc
="$CC" am_compiler_list
=
22343 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
22344 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
22345 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22348 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
22349 # We make a subdir and do the tests there. Otherwise we can end up
22350 # making bogus files that we don't know about and never remove. For
22351 # instance it was reported that on HP-UX the gcc test will end up
22352 # making a dummy file named `D' -- because `-MD' means `put the output
22355 # Copy depcomp to subdir because otherwise we won't find it if we're
22356 # using a relative directory.
22357 cp "$am_depcomp" conftest.dir
22359 # We will build objects and dependencies in a subdirectory because
22360 # it helps to detect inapplicable dependency modes. For instance
22361 # both Tru64's cc and ICC support -MD to output dependencies as a
22362 # side effect of compilation, but ICC will put the dependencies in
22363 # the current directory while Tru64 will put them in the object
22367 am_cv_CC_dependencies_compiler_type
=none
22368 if test "$am_compiler_list" = ""; then
22369 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
22371 for depmode
in $am_compiler_list; do
22372 # Setup a source with many dependencies, because some compilers
22373 # like to wrap large dependency lists on column 80 (with \), and
22374 # we should not choose a depcomp mode which is confused by this.
22376 # We need to recreate these files for each test, as the compiler may
22377 # overwrite some of them when testing with obscure command lines.
22378 # This happens at least with the AIX C compiler.
22380 for i
in 1 2 3 4 5 6; do
22381 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
22382 : > sub
/conftst
$i.h
22384 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
22388 # after this tag, mechanisms are not by side-effect, so they'll
22389 # only be used when explicitly requested
22390 if test "x$enable_dependency_tracking" = xyes
; then
22398 # We check with `-c' and `-o' for the sake of the "dashmstdout"
22399 # mode. It turns out that the SunPro C++ compiler does not properly
22400 # handle `-M -o', and we need to detect this.
22401 if depmode
=$depmode \
22402 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
22403 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
22404 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
22405 >/dev
/null
2>conftest.err
&&
22406 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
22407 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
22408 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
22409 # icc doesn't choke on unknown options, it will just issue warnings
22410 # (even with -Werror). So we grep stderr for any message
22411 # that says an option was ignored.
22412 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
22413 am_cv_CC_dependencies_compiler_type
=$depmode
22420 rm -rf conftest.dir
22422 am_cv_CC_dependencies_compiler_type
=none
22426 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
22427 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
22428 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
22433 test "x$enable_dependency_tracking" != xno \
22434 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
22435 am__fastdepCC_TRUE
=
22436 am__fastdepCC_FALSE
='#'
22438 am__fastdepCC_TRUE
='#'
22439 am__fastdepCC_FALSE
=
22446 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
22447 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
22448 if test "${am_cv_prog_cc_stdc+set}" = set; then
22449 echo $ECHO_N "(cached) $ECHO_C" >&6
22451 am_cv_prog_cc_stdc
=no
22453 # Don't try gcc -ansi; that turns off useful extensions and
22454 # breaks some systems' header files.
22455 # AIX -qlanglvl=ansi
22456 # Ultrix and OSF/1 -std1
22457 # HP-UX 10.20 and later -Ae
22458 # HP-UX older versions -Aa -D_HPUX_SOURCE
22459 # SVR4 -Xc -D__EXTENSIONS__
22460 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
22462 CC
="$ac_save_CC $ac_arg"
22463 cat >conftest.
$ac_ext <<_ACEOF
22466 cat confdefs.h
>>conftest.
$ac_ext
22467 cat >>conftest.
$ac_ext <<_ACEOF
22468 /* end confdefs.h. */
22469 #include <stdarg.h>
22471 #include <sys/types.h>
22472 #include <sys/stat.h>
22473 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
22474 struct buf { int x; };
22475 FILE * (*rcsopen) (struct buf *, struct stat *, int);
22476 static char *e (p, i)
22482 static char *f (char * (*g) (char **, int), char **p, ...)
22487 s = g (p, va_arg (v,int));
22491 int test (int i, double x);
22492 struct s1 {int (*f) (int a);};
22493 struct s2 {int (*f) (double a);};
22494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
22502 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
22508 rm -f conftest.
$ac_objext
22509 if { (ac_try
="$ac_compile"
22510 case "(($ac_try" in
22511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22512 *) ac_try_echo=$ac_try;;
22514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515 (eval "$ac_compile") 2>conftest.er1
22517 grep -v '^ *+' conftest.er1 >conftest.err
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } &&
22522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22523 { (case "(($ac_try" in
22524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22525 *) ac_try_echo
=$ac_try;;
22527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22528 (eval "$ac_try") 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; } &&
22532 { ac_try
='test -s conftest.$ac_objext'
22533 { (case "(($ac_try" in
22534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22535 *) ac_try_echo=$ac_try;;
22537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22538 (eval "$ac_try") 2>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; }; then
22542 am_cv_prog_cc_stdc="$ac_arg"; break
22544 echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.$ac_ext >&5
22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22556 if test -z "$am_cv_prog_cc_stdc"; then
22557 { echo "$as_me:$LINENO: result: none needed" >&5
22558 echo "${ECHO_T}none needed" >&6; }
22560 { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
22561 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
22563 case "x$am_cv_prog_cc_stdc" in
22565 *) CC="$CC $am_cv_prog_cc_stdc" ;;
22568 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22569 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
22570 if test "${ac_cv_header_stdc+set}" = set; then
22571 echo $ECHO_N "(cached) $ECHO_C" >&6
22573 cat >conftest.$ac_ext <<_ACEOF
22576 cat confdefs.h >>conftest.$ac_ext
22577 cat >>conftest.$ac_ext <<_ACEOF
22578 /* end confdefs.h. */
22579 #include <stdlib.h>
22580 #include <stdarg.h>
22581 #include <string.h>
22592 rm -f conftest.$ac_objext
22593 if { (ac_try="$ac_compile"
22594 case "(($ac_try" in
22595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22596 *) ac_try_echo
=$ac_try;;
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22599 (eval "$ac_compile") 2>conftest.er1
22601 grep -v '^ *+' conftest.er1
>conftest.err
22603 cat conftest.err
>&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); } &&
22606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22607 { (case "(($ac_try" in
22608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22609 *) ac_try_echo=$ac_try;;
22611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22612 (eval "$ac_try") 2>&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; } &&
22616 { ac_try='test -s conftest.$ac_objext'
22617 { (case "(($ac_try" in
22618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22619 *) ac_try_echo
=$ac_try;;
22621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22622 (eval "$ac_try") 2>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); }; }; then
22626 ac_cv_header_stdc
=yes
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.
$ac_ext >&5
22631 ac_cv_header_stdc
=no
22634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22636 if test $ac_cv_header_stdc = yes; then
22637 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22638 cat >conftest.
$ac_ext <<_ACEOF
22641 cat confdefs.h
>>conftest.
$ac_ext
22642 cat >>conftest.
$ac_ext <<_ACEOF
22643 /* end confdefs.h. */
22644 #include <string.h>
22647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22648 $EGREP "memchr" >/dev
/null
2>&1; then
22651 ac_cv_header_stdc
=no
22657 if test $ac_cv_header_stdc = yes; then
22658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22659 cat >conftest.
$ac_ext <<_ACEOF
22662 cat confdefs.h
>>conftest.
$ac_ext
22663 cat >>conftest.
$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <stdlib.h>
22668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22669 $EGREP "free" >/dev
/null
2>&1; then
22672 ac_cv_header_stdc
=no
22678 if test $ac_cv_header_stdc = yes; then
22679 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22680 if test "$cross_compiling" = yes; then
22683 cat >conftest.
$ac_ext <<_ACEOF
22686 cat confdefs.h
>>conftest.
$ac_ext
22687 cat >>conftest.
$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22690 #include <stdlib.h>
22691 #if ((' ' & 0x0FF) == 0x020)
22692 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22693 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22695 # define ISLOWER(c) \
22696 (('a' <= (c) && (c) <= 'i') \
22697 || ('j' <= (c) && (c) <= 'r') \
22698 || ('s' <= (c) && (c) <= 'z'))
22699 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22702 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22707 for (i = 0; i < 256; i++)
22708 if (XOR (islower (i), ISLOWER (i))
22709 || toupper (i) != TOUPPER (i))
22714 rm -f conftest
$ac_exeext
22715 if { (ac_try
="$ac_link"
22716 case "(($ac_try" in
22717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_link") 2>&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22725 { (case "(($ac_try" in
22726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22727 *) ac_try_echo
=$ac_try;;
22729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22730 (eval "$ac_try") 2>&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); }; }; then
22736 echo "$as_me: program exited with status $ac_status" >&5
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.
$ac_ext >&5
22740 ( exit $ac_status )
22741 ac_cv_header_stdc
=no
22743 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22749 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22750 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
22751 if test $ac_cv_header_stdc = yes; then
22753 cat >>confdefs.h
<<\_ACEOF
22754 #define STDC_HEADERS 1
22760 PACKAGE_CFLAGS
="-Wall -Wformat"
22764 # Checks for typedefs, structures, and compiler characteristics.
22765 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
22766 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
22767 if test "${ac_cv_header_stdbool_h+set}" = set; then
22768 echo $ECHO_N "(cached) $ECHO_C" >&6
22770 cat >conftest.
$ac_ext <<_ACEOF
22773 cat confdefs.h
>>conftest.
$ac_ext
22774 cat >>conftest.
$ac_ext <<_ACEOF
22775 /* end confdefs.h. */
22777 #include <stdbool.h>
22779 "error: bool is not defined"
22782 "error: false is not defined"
22785 "error: false is not 0"
22788 "error: true is not defined"
22791 "error: true is not 1"
22793 #ifndef __bool_true_false_are_defined
22794 "error: __bool_true_false_are_defined is not defined"
22797 struct s { _Bool s: 1; _Bool t; } s;
22799 char a[true == 1 ? 1 : -1];
22800 char b[false == 0 ? 1 : -1];
22801 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
22802 char d[(bool) 0.5 == true ? 1 : -1];
22804 char f[(_Bool) 0.0 == false ? 1 : -1];
22806 char h[sizeof (_Bool)];
22807 char i[sizeof s.t];
22808 enum { j = false, k = true, l = false * true, m = true * 256 };
22810 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
22811 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
22812 # if defined __xlc__ || defined __GNUC__
22813 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
22814 reported by James Lemley on 2005-10-05; see
22815 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
22816 This test is not quite right, since xlc is allowed to
22817 reject this program, as the initializer for xlcbug is
22818 not one of the forms that C requires support for.
22819 However, doing the test right would require a runtime
22820 test, and that would make cross-compilation harder.
22821 Let us hope that IBM fixes the xlc bug, and also adds
22822 support for this kind of constant expression. In the
22823 meantime, this test will reject xlc, which is OK, since
22824 our stdbool.h substitute should suffice. We also test
22825 this with GCC, where it should work, to detect more
22826 quickly whether someone messes up the test in the
22828 char digs[] = "0123456789";
22829 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
22831 /* Catch a bug in an HP-UX C compiler. See
22832 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
22833 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
22844 /* Refer to every declared value, to avoid compiler optimizations. */
22845 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
22846 + !m + !n + !o + !p + !q + !pq);
22852 rm -f conftest.
$ac_objext
22853 if { (ac_try
="$ac_compile"
22854 case "(($ac_try" in
22855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22856 *) ac_try_echo=$ac_try;;
22858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22859 (eval "$ac_compile") 2>conftest.er1
22861 grep -v '^ *+' conftest.er1 >conftest.err
22863 cat conftest.err >&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); } &&
22866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22867 { (case "(($ac_try" in
22868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22869 *) ac_try_echo
=$ac_try;;
22871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22872 (eval "$ac_try") 2>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; } &&
22876 { ac_try
='test -s conftest.$ac_objext'
22877 { (case "(($ac_try" in
22878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22879 *) ac_try_echo=$ac_try;;
22881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22882 (eval "$ac_try") 2>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; }; then
22886 ac_cv_header_stdbool_h=yes
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.$ac_ext >&5
22891 ac_cv_header_stdbool_h=no
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22896 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
22897 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
22898 { echo "$as_me:$LINENO: checking for _Bool" >&5
22899 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
22900 if test "${ac_cv_type__Bool+set}" = set; then
22901 echo $ECHO_N "(cached) $ECHO_C" >&6
22903 cat >conftest.$ac_ext <<_ACEOF
22906 cat confdefs.h >>conftest.$ac_ext
22907 cat >>conftest.$ac_ext <<_ACEOF
22908 /* end confdefs.h. */
22909 $ac_includes_default
22910 typedef _Bool ac__type_new_;
22914 if ((ac__type_new_ *) 0)
22916 if (sizeof (ac__type_new_))
22922 rm -f conftest.$ac_objext
22923 if { (ac_try="$ac_compile"
22924 case "(($ac_try" in
22925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22926 *) ac_try_echo
=$ac_try;;
22928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22929 (eval "$ac_compile") 2>conftest.er1
22931 grep -v '^ *+' conftest.er1
>conftest.err
22933 cat conftest.err
>&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22937 { (case "(($ac_try" in
22938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22939 *) ac_try_echo=$ac_try;;
22941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942 (eval "$ac_try") 2>&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; } &&
22946 { ac_try='test -s conftest.$ac_objext'
22947 { (case "(($ac_try" in
22948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22949 *) ac_try_echo
=$ac_try;;
22951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22952 (eval "$ac_try") 2>&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; }; then
22956 ac_cv_type__Bool
=yes
22958 echo "$as_me: failed program was:" >&5
22959 sed 's/^/| /' conftest.
$ac_ext >&5
22961 ac_cv_type__Bool
=no
22964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22966 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
22967 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
22968 if test $ac_cv_type__Bool = yes; then
22970 cat >>confdefs.h
<<_ACEOF
22971 #define HAVE__BOOL 1
22977 if test $ac_cv_header_stdbool_h = yes; then
22979 cat >>confdefs.h
<<\_ACEOF
22980 #define HAVE_STDBOOL_H 1
22985 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22986 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
22987 if test "${ac_cv_c_const+set}" = set; then
22988 echo $ECHO_N "(cached) $ECHO_C" >&6
22990 cat >conftest.
$ac_ext <<_ACEOF
22993 cat confdefs.h
>>conftest.
$ac_ext
22994 cat >>conftest.
$ac_ext <<_ACEOF
22995 /* end confdefs.h. */
23000 /* FIXME: Include the comments suggested by Paul. */
23001 #ifndef __cplusplus
23002 /* Ultrix mips cc rejects this. */
23003 typedef int charset[2];
23005 /* SunOS 4.1.1 cc rejects this. */
23006 char const *const *ccp;
23008 /* NEC SVR4.0.2 mips cc rejects this. */
23009 struct point {int x, y;};
23010 static struct point const zero = {0,0};
23011 /* AIX XL C 1.02.0.0 rejects this.
23012 It does not let you subtract one const X* pointer from another in
23013 an arm of an if-expression whose if-part is not a constant
23015 const char *g = "string";
23016 ccp = &g + (g ? g-g : 0);
23017 /* HPUX 7.0 cc rejects these. */
23020 ccp = (char const *const *) p;
23021 { /* SCO 3.2v4 cc rejects this. */
23023 char const *s = 0 ? (char *) 0 : (char const *) 0;
23028 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
23029 int x[] = {25, 17};
23030 const int *foo = &x[0];
23033 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
23034 typedef const int *iptr;
23038 { /* AIX XL C 1.02.0.0 rejects this saying
23039 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
23040 struct s { int j; const int *ap[3]; };
23041 struct s *b; b->j = 5;
23043 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
23044 const int foo = 10;
23045 if (!foo) return 0;
23047 return !x[0] && !zero.x;
23054 rm -f conftest.
$ac_objext
23055 if { (ac_try
="$ac_compile"
23056 case "(($ac_try" in
23057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23058 *) ac_try_echo=$ac_try;;
23060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23061 (eval "$ac_compile") 2>conftest.er1
23063 grep -v '^ *+' conftest.er1 >conftest.err
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23069 { (case "(($ac_try" in
23070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23071 *) ac_try_echo
=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_try") 2>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; } &&
23078 { ac_try
='test -s conftest.$ac_objext'
23079 { (case "(($ac_try" in
23080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23081 *) ac_try_echo=$ac_try;;
23083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23084 (eval "$ac_try") 2>&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; }; then
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23098 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
23099 echo "${ECHO_T}$ac_cv_c_const" >&6; }
23100 if test $ac_cv_c_const = no; then
23102 cat >>confdefs.h <<\_ACEOF
23108 { echo "$as_me:$LINENO: checking for inline" >&5
23109 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
23110 if test "${ac_cv_c_inline+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23114 for ac_kw in inline __inline__ __inline; do
23115 cat >conftest.$ac_ext <<_ACEOF
23118 cat confdefs.h >>conftest.$ac_ext
23119 cat >>conftest.$ac_ext <<_ACEOF
23120 /* end confdefs.h. */
23121 #ifndef __cplusplus
23123 static $ac_kw foo_t static_foo () {return 0; }
23124 $ac_kw foo_t foo () {return 0; }
23128 rm -f conftest.$ac_objext
23129 if { (ac_try="$ac_compile"
23130 case "(($ac_try" in
23131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23132 *) ac_try_echo
=$ac_try;;
23134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23135 (eval "$ac_compile") 2>conftest.er1
23137 grep -v '^ *+' conftest.er1
>conftest.err
23139 cat conftest.err
>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } &&
23142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23143 { (case "(($ac_try" in
23144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23145 *) ac_try_echo=$ac_try;;
23147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23148 (eval "$ac_try") 2>&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); }; } &&
23152 { ac_try='test -s conftest.$ac_objext'
23153 { (case "(($ac_try" in
23154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23155 *) ac_try_echo
=$ac_try;;
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_try") 2>&5
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); }; }; then
23162 ac_cv_c_inline
=$ac_kw
23164 echo "$as_me: failed program was:" >&5
23165 sed 's/^/| /' conftest.
$ac_ext >&5
23170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23171 test "$ac_cv_c_inline" != no
&& break
23175 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
23176 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
23179 case $ac_cv_c_inline in
23182 case $ac_cv_c_inline in
23184 *) ac_val
=$ac_cv_c_inline;;
23186 cat >>confdefs.h
<<_ACEOF
23187 #ifndef __cplusplus
23188 #define inline $ac_val
23194 { echo "$as_me:$LINENO: checking for off_t" >&5
23195 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
23196 if test "${ac_cv_type_off_t+set}" = set; then
23197 echo $ECHO_N "(cached) $ECHO_C" >&6
23199 cat >conftest.
$ac_ext <<_ACEOF
23202 cat confdefs.h
>>conftest.
$ac_ext
23203 cat >>conftest.
$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23205 $ac_includes_default
23206 typedef off_t ac__type_new_;
23210 if ((ac__type_new_ *) 0)
23212 if (sizeof (ac__type_new_))
23218 rm -f conftest.
$ac_objext
23219 if { (ac_try
="$ac_compile"
23220 case "(($ac_try" in
23221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_compile") 2>conftest.er1
23227 grep -v '^ *+' conftest.er1 >conftest.err
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23233 { (case "(($ac_try" in
23234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23235 *) ac_try_echo
=$ac_try;;
23237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23238 (eval "$ac_try") 2>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; } &&
23242 { ac_try
='test -s conftest.$ac_objext'
23243 { (case "(($ac_try" in
23244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23245 *) ac_try_echo=$ac_try;;
23247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23248 (eval "$ac_try") 2>&5
23250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251 (exit $ac_status); }; }; then
23252 ac_cv_type_off_t=yes
23254 echo "$as_me: failed program was:" >&5
23255 sed 's/^/| /' conftest.$ac_ext >&5
23257 ac_cv_type_off_t=no
23260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23262 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
23263 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
23264 if test $ac_cv_type_off_t = yes; then
23268 cat >>confdefs.h <<_ACEOF
23269 #define off_t long int
23274 { echo "$as_me:$LINENO: checking for size_t" >&5
23275 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23276 if test "${ac_cv_type_size_t+set}" = set; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23279 cat >conftest.$ac_ext <<_ACEOF
23282 cat confdefs.h >>conftest.$ac_ext
23283 cat >>conftest.$ac_ext <<_ACEOF
23284 /* end confdefs.h. */
23285 $ac_includes_default
23286 typedef size_t ac__type_new_;
23290 if ((ac__type_new_ *) 0)
23292 if (sizeof (ac__type_new_))
23298 rm -f conftest.$ac_objext
23299 if { (ac_try="$ac_compile"
23300 case "(($ac_try" in
23301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23302 *) ac_try_echo
=$ac_try;;
23304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305 (eval "$ac_compile") 2>conftest.er1
23307 grep -v '^ *+' conftest.er1
>conftest.err
23309 cat conftest.err
>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } &&
23312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23313 { (case "(($ac_try" in
23314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23315 *) ac_try_echo=$ac_try;;
23317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23318 (eval "$ac_try") 2>&5
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); }; } &&
23322 { ac_try='test -s conftest.$ac_objext'
23323 { (case "(($ac_try" in
23324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23325 *) ac_try_echo
=$ac_try;;
23327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23328 (eval "$ac_try") 2>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; }; then
23332 ac_cv_type_size_t
=yes
23334 echo "$as_me: failed program was:" >&5
23335 sed 's/^/| /' conftest.
$ac_ext >&5
23337 ac_cv_type_size_t
=no
23340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23342 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23343 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23344 if test $ac_cv_type_size_t = yes; then
23348 cat >>confdefs.h
<<_ACEOF
23349 #define size_t unsigned int
23354 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23355 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
23356 if test "${ac_cv_header_time+set}" = set; then
23357 echo $ECHO_N "(cached) $ECHO_C" >&6
23359 cat >conftest.
$ac_ext <<_ACEOF
23362 cat confdefs.h
>>conftest.
$ac_ext
23363 cat >>conftest.
$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23365 #include <sys/types.h>
23366 #include <sys/time.h>
23372 if ((struct tm *) 0)
23378 rm -f conftest.
$ac_objext
23379 if { (ac_try
="$ac_compile"
23380 case "(($ac_try" in
23381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23382 *) ac_try_echo=$ac_try;;
23384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23385 (eval "$ac_compile") 2>conftest.er1
23387 grep -v '^ *+' conftest.er1 >conftest.err
23389 cat conftest.err >&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); } &&
23392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23393 { (case "(($ac_try" in
23394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23395 *) ac_try_echo
=$ac_try;;
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_try") 2>&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); }; } &&
23402 { ac_try
='test -s conftest.$ac_objext'
23403 { (case "(($ac_try" in
23404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_try") 2>&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; }; then
23412 ac_cv_header_time=yes
23414 echo "$as_me: failed program was:" >&5
23415 sed 's/^/| /' conftest.$ac_ext >&5
23417 ac_cv_header_time=no
23420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23422 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23423 echo "${ECHO_T}$ac_cv_header_time" >&6; }
23424 if test $ac_cv_header_time = yes; then
23426 cat >>confdefs.h <<\_ACEOF
23427 #define TIME_WITH_SYS_TIME 1
23433 # Checks for library functions.
23434 { echo "$as_me:$LINENO: checking for error_at_line" >&5
23435 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6; }
23436 if test "${ac_cv_lib_error_at_line+set}" = set; then
23437 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 cat >conftest.$ac_ext <<_ACEOF
23442 cat confdefs.h >>conftest.$ac_ext
23443 cat >>conftest.$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23445 $ac_includes_default
23449 error_at_line (0, 0, "", 0, "");
23454 rm -f conftest.$ac_objext conftest$ac_exeext
23455 if { (ac_try="$ac_link"
23456 case "(($ac_try" in
23457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23458 *) ac_try_echo
=$ac_try;;
23460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23461 (eval "$ac_link") 2>conftest.er1
23463 grep -v '^ *+' conftest.er1
>conftest.err
23465 cat conftest.err
>&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); } &&
23468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23469 { (case "(($ac_try" in
23470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23471 *) ac_try_echo=$ac_try;;
23473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23474 (eval "$ac_try") 2>&5
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); }; } &&
23478 { ac_try='test -s conftest$ac_exeext'
23479 { (case "(($ac_try" in
23480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23481 *) ac_try_echo
=$ac_try;;
23483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23484 (eval "$ac_try") 2>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 ac_cv_lib_error_at_line
=yes
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.
$ac_ext >&5
23493 ac_cv_lib_error_at_line
=no
23496 rm -f core conftest.err conftest.
$ac_objext \
23497 conftest
$ac_exeext conftest.
$ac_ext
23499 { echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
23500 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
23501 if test $ac_cv_lib_error_at_line = no
; then
23502 case " $LIBOBJS " in
23503 *" error.$ac_objext "* ) ;;
23504 *) LIBOBJS
="$LIBOBJS error.$ac_objext"
23513 for ac_header
in sys
/select.h sys
/socket.h
23515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23516 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23517 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23519 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23520 echo $ECHO_N "(cached) $ECHO_C" >&6
23522 ac_res
=`eval echo '${'$as_ac_Header'}'`
23523 { echo "$as_me:$LINENO: result: $ac_res" >&5
23524 echo "${ECHO_T}$ac_res" >&6; }
23526 # Is the header compilable?
23527 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23529 cat >conftest.
$ac_ext <<_ACEOF
23532 cat confdefs.h
>>conftest.
$ac_ext
23533 cat >>conftest.
$ac_ext <<_ACEOF
23534 /* end confdefs.h. */
23535 $ac_includes_default
23536 #include <$ac_header>
23538 rm -f conftest.
$ac_objext
23539 if { (ac_try
="$ac_compile"
23540 case "(($ac_try" in
23541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23542 *) ac_try_echo=$ac_try;;
23544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23545 (eval "$ac_compile") 2>conftest.er1
23547 grep -v '^ *+' conftest.er1 >conftest.err
23549 cat conftest.err >&5
23550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551 (exit $ac_status); } &&
23552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23553 { (case "(($ac_try" in
23554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23555 *) ac_try_echo
=$ac_try;;
23557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23558 (eval "$ac_try") 2>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); }; } &&
23562 { ac_try
='test -s conftest.$ac_objext'
23563 { (case "(($ac_try" in
23564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23565 *) ac_try_echo=$ac_try;;
23567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23568 (eval "$ac_try") 2>&5
23570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571 (exit $ac_status); }; }; then
23572 ac_header_compiler=yes
23574 echo "$as_me: failed program was:" >&5
23575 sed 's/^/| /' conftest.$ac_ext >&5
23577 ac_header_compiler=no
23580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23582 echo "${ECHO_T}$ac_header_compiler" >&6; }
23584 # Is the header present?
23585 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23587 cat >conftest.$ac_ext <<_ACEOF
23590 cat confdefs.h >>conftest.$ac_ext
23591 cat >>conftest.$ac_ext <<_ACEOF
23592 /* end confdefs.h. */
23593 #include <$ac_header>
23595 if { (ac_try="$ac_cpp conftest.$ac_ext"
23596 case "(($ac_try" in
23597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23598 *) ac_try_echo
=$ac_try;;
23600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23603 grep -v '^ *+' conftest.er1
>conftest.err
23605 cat conftest.err
>&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } >/dev
/null
; then
23608 if test -s conftest.err
; then
23609 ac_cpp_err
=$ac_c_preproc_warn_flag
23610 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23617 if test -z "$ac_cpp_err"; then
23618 ac_header_preproc
=yes
23620 echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.
$ac_ext >&5
23623 ac_header_preproc
=no
23626 rm -f conftest.err conftest.
$ac_ext
23627 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23628 echo "${ECHO_T}$ac_header_preproc" >&6; }
23630 # So? What about this header?
23631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23637 ac_header_preproc
=yes
23640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23653 ## --------------------------------- ##
23654 ## Report this to BUG-REPORT-ADDRESS ##
23655 ## --------------------------------- ##
23657 ) |
sed "s/^/$as_me: WARNING: /" >&2
23660 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23662 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23663 echo $ECHO_N "(cached) $ECHO_C" >&6
23665 eval "$as_ac_Header=\$ac_header_preproc"
23667 ac_res
=`eval echo '${'$as_ac_Header'}'`
23668 { echo "$as_me:$LINENO: result: $ac_res" >&5
23669 echo "${ECHO_T}$ac_res" >&6; }
23672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23673 cat >>confdefs.h
<<_ACEOF
23674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23681 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
23682 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
23683 if test "${ac_cv_func_select_args+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23686 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
23687 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
23688 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
23689 cat >conftest.
$ac_ext <<_ACEOF
23692 cat confdefs.h
>>conftest.
$ac_ext
23693 cat >>conftest.
$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 $ac_includes_default
23696 #if HAVE_SYS_SELECT_H
23697 # include <sys/select.h>
23699 #if HAVE_SYS_SOCKET_H
23700 # include <sys/socket.h>
23706 extern int select ($ac_arg1,
23707 $ac_arg234, $ac_arg234, $ac_arg234,
23713 rm -f conftest.
$ac_objext
23714 if { (ac_try
="$ac_compile"
23715 case "(($ac_try" in
23716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23717 *) ac_try_echo=$ac_try;;
23719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23720 (eval "$ac_compile") 2>conftest.er1
23722 grep -v '^ *+' conftest.er1 >conftest.err
23724 cat conftest.err >&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); } &&
23727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23728 { (case "(($ac_try" in
23729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23730 *) ac_try_echo
=$ac_try;;
23732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23733 (eval "$ac_try") 2>&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; } &&
23737 { ac_try
='test -s conftest.$ac_objext'
23738 { (case "(($ac_try" in
23739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23740 *) ac_try_echo=$ac_try;;
23742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23743 (eval "$ac_try") 2>&5
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); }; }; then
23747 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
23749 echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.$ac_ext >&5
23755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23759 # Provide a safe default value.
23760 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
23763 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
23764 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
23765 ac_save_IFS=$IFS; IFS=','
23766 set dummy `echo "$ac_cv_func_select_args" |
sed 's/\*/\*/g'`
23770 cat >>confdefs.h <<_ACEOF
23771 #define SELECT_TYPE_ARG1 $1
23775 cat >>confdefs.h <<_ACEOF
23776 #define SELECT_TYPE_ARG234 ($2)
23780 cat >>confdefs.h <<_ACEOF
23781 #define SELECT_TYPE_ARG5 ($3)
23787 for ac_func in select
23789 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
23790 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23793 echo $ECHO_N "(cached) $ECHO_C" >&6
23795 cat >conftest.$ac_ext <<_ACEOF
23798 cat confdefs.h >>conftest.$ac_ext
23799 cat >>conftest.$ac_ext <<_ACEOF
23800 /* end confdefs.h. */
23801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23803 #define $ac_func innocuous_$ac_func
23805 /* System header to define __stub macros and hopefully few prototypes,
23806 which can conflict with char $ac_func (); below.
23807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23808 <limits.h> exists even on freestanding compilers. */
23811 # include <limits.h>
23813 # include <assert.h>
23818 /* Override any GCC internal prototype to avoid an error.
23819 Use char because int might match the return type of a GCC
23820 builtin and then its argument prototype would still apply. */
23825 /* The GNU C library defines this for functions which it implements
23826 to always fail with ENOSYS. Some functions are actually named
23827 something starting with __ and the normal name is an alias. */
23828 #if defined __stub_$ac_func || defined __stub___$ac_func
23835 return $ac_func ();
23840 rm -f conftest.$ac_objext conftest$ac_exeext
23841 if { (ac_try="$ac_link"
23842 case "(($ac_try" in
23843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23844 *) ac_try_echo
=$ac_try;;
23846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23847 (eval "$ac_link") 2>conftest.er1
23849 grep -v '^ *+' conftest.er1
>conftest.err
23851 cat conftest.err
>&5
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); } &&
23854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23855 { (case "(($ac_try" in
23856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23857 *) ac_try_echo=$ac_try;;
23859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23860 (eval "$ac_try") 2>&5
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); }; } &&
23864 { ac_try='test -s conftest$ac_exeext'
23865 { (case "(($ac_try" in
23866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23867 *) ac_try_echo
=$ac_try;;
23869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23870 (eval "$ac_try") 2>&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); }; }; then
23874 eval "$as_ac_var=yes"
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.
$ac_ext >&5
23879 eval "$as_ac_var=no"
23882 rm -f core conftest.err conftest.
$ac_objext \
23883 conftest
$ac_exeext conftest.
$ac_ext
23885 ac_res
=`eval echo '${'$as_ac_var'}'`
23886 { echo "$as_me:$LINENO: result: $ac_res" >&5
23887 echo "${ECHO_T}$ac_res" >&6; }
23888 if test `eval echo '${'$as_ac_var'}'` = yes; then
23889 cat >>confdefs.h
<<_ACEOF
23890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23897 #CPPFLAGS="$CPPFLAGS -I"
23899 DEFAULT_INCLUDES
="-I\$(top_srcdir) -I\$(top_builddir)"
23901 #CPPFLAGS="${GLIB_CFLAGS}"
23902 #AC_SUBST(CPPFLAGS)
23904 lttctlincludedir
="${includedir}/liblttctl"
23911 ac_config_files
="$ac_config_files Makefile liblttctl/Makefile lttctl/Makefile lttd/Makefile facilities/Makefile"
23913 cat >confcache
<<\_ACEOF
23914 # This file is a shell script that caches the results of configure
23915 # tests run on this system so they can be shared between configure
23916 # scripts and configure runs, see configure's option --config-cache.
23917 # It is not useful on other systems. If it contains results you don't
23918 # want to keep, you may remove or edit it.
23920 # config.status only pays attention to the cache file if you give it
23921 # the --recheck option to rerun configure.
23923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23925 # following values.
23929 # The following way of writing the cache mishandles newlines in values,
23930 # but we know of no workaround that is simple, portable, and efficient.
23931 # So, we kill variables containing newlines.
23932 # Ultrix sh set writes to stderr and can't be redirected directly,
23933 # and sets the high bit in the cache file unless we assign to the vars.
23935 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23936 eval ac_val
=\$
$ac_var
23940 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23941 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23944 _ | IFS | as_nl
) ;; #(
23945 *) $as_unset $ac_var ;;
23951 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23952 *${as_nl}ac_space
=\
*)
23953 # `set' does not quote correctly, so add quotes (double-quote
23954 # substitution turns \\\\ into \\, and sed turns \\ into \).
23957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23960 # `set' quotes correctly as required by POSIX, so do not add quotes.
23961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23974 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23975 if test -w "$cache_file"; then
23976 test "x$cache_file" != "x/dev/null" &&
23977 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23978 echo "$as_me: updating cache $cache_file" >&6;}
23979 cat confcache
>$cache_file
23981 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23982 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23987 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23988 # Let make expand exec_prefix.
23989 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23991 DEFS
=-DHAVE_CONFIG_H
23995 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23996 # 1. Remove the extension, and $U if already installed.
23997 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23998 ac_i
=`echo "$ac_i" | sed "$ac_script"`
23999 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24000 # will be set to the directory where LIBOBJS objects are built.
24001 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24002 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24004 LIBOBJS
=$ac_libobjs
24006 LTLIBOBJS
=$ac_ltlibobjs
24009 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24010 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24011 Usually this means the macro was only invoked conditionally." >&5
24012 echo "$as_me: error: conditional \"AMDEP\" was never defined.
24013 Usually this means the macro was only invoked conditionally." >&2;}
24014 { (exit 1); exit 1; }; }
24016 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24017 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24018 Usually this means the macro was only invoked conditionally." >&5
24019 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24020 Usually this means the macro was only invoked conditionally." >&2;}
24021 { (exit 1); exit 1; }; }
24023 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24024 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24025 Usually this means the macro was only invoked conditionally." >&5
24026 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24027 Usually this means the macro was only invoked conditionally." >&2;}
24028 { (exit 1); exit 1; }; }
24030 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24031 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24032 Usually this means the macro was only invoked conditionally." >&5
24033 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24034 Usually this means the macro was only invoked conditionally." >&2;}
24035 { (exit 1); exit 1; }; }
24037 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24038 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24039 Usually this means the macro was only invoked conditionally." >&5
24040 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24041 Usually this means the macro was only invoked conditionally." >&2;}
24042 { (exit 1); exit 1; }; }
24045 : ${CONFIG_STATUS=./config.status}
24046 ac_clean_files_save
=$ac_clean_files
24047 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24048 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24049 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24050 cat >$CONFIG_STATUS <<_ACEOF
24052 # Generated by $as_me.
24053 # Run this file to recreate the current configuration.
24054 # Compiler output produced by configure, useful for debugging
24055 # configure, is in config.log if it exists.
24058 ac_cs_recheck=false
24060 SHELL=\${CONFIG_SHELL-$SHELL}
24063 cat >>$CONFIG_STATUS <<\_ACEOF
24064 ## --------------------- ##
24065 ## M4sh Initialization. ##
24066 ## --------------------- ##
24068 # Be Bourne compatible
24069 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24072 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24073 # is contrary to our usage. Disable this feature.
24074 alias -g '${1+"$@"}'='"$@"'
24075 setopt NO_GLOB_SUBST
24077 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24079 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
24080 DUALCASE
=1; export DUALCASE
# for MKS sh
24084 # Avoid depending upon Character Ranges.
24085 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24086 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24087 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24088 as_cr_digits
='0123456789'
24089 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24091 # The user is always right.
24092 if test "${PATH_SEPARATOR+set}" != set; then
24093 echo "#! /bin/sh" >conf$$.sh
24094 echo "exit 0" >>conf$$.sh
24096 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24104 # Support unset when possible.
24105 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24113 # We need space, tab and new line, in precisely that order. Quoting is
24114 # there to prevent editors from complaining about space-tab.
24115 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24116 # splitting by setting IFS to empty value.)
24121 # Find who we are. Look in the path if we contain no directory separator.
24123 *[\\/]* ) as_myself
=$0 ;;
24124 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24125 for as_dir
in $PATH
24128 test -z "$as_dir" && as_dir
=.
24129 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24135 # We did not find ourselves, most probably we were run as `sh COMMAND'
24136 # in which case we are not to be found in the path.
24137 if test "x$as_myself" = x
; then
24140 if test ! -f "$as_myself"; then
24141 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24142 { (exit 1); exit 1; }
24145 # Work around bugs in pre-3.0 UWIN ksh.
24146 for as_var
in ENV MAIL MAILPATH
24147 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24155 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24156 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24157 LC_TELEPHONE LC_TIME
24159 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24160 eval $as_var=C
; export $as_var
24162 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24166 # Required to use basename.
24167 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24168 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24174 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24175 as_basename
=basename
24181 # Name of the executable.
24182 as_me
=`$as_basename -- "$0" ||
24183 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24184 X"$0" : 'X\(//\)$' \| \
24185 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24187 sed '/^.*\/\([^/][^/]*\)\/*$/{
24206 as_lineno_1
=$LINENO
24207 as_lineno_2
=$LINENO
24208 test "x$as_lineno_1" != "x$as_lineno_2" &&
24209 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24211 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24212 # uniformly replaced by the line number. The first 'sed' inserts a
24213 # line-number line after each line using $LINENO; the second 'sed'
24214 # does the real work. The second script uses 'N' to pair each
24215 # line-number line with the line containing $LINENO, and appends
24216 # trailing '-' during substitution so that $LINENO is not a special
24217 # case at line end.
24218 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24219 # scripts with optimization help from Paolo Bonzini. Blame Lee
24220 # E. McMahon (1931-1989) for sed's syntax. :-)
24232 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24235 ' >$as_me.lineno
&&
24236 chmod +x
"$as_me.lineno" ||
24237 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24238 { (exit 1); exit 1; }; }
24240 # Don't try to exec as it changes $[0], causing all sort of problems
24241 # (the dirname of $[0] is not the place where we might find the
24242 # original and so on. Autoconf is especially sensitive to this).
24243 .
"./$as_me.lineno"
24244 # Exit status is that of the last command.
24249 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24255 ECHO_C
= ECHO_N
= ECHO_T
=
24256 case `echo -n x` in
24258 case `echo 'x\c'` in
24259 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24266 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24267 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24273 rm -f conf$$ conf$$.exe conf$$.
file
24274 if test -d conf$$.dir
; then
24275 rm -f conf$$.dir
/conf$$.
file
24281 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24283 # ... but there are two gotchas:
24284 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24285 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24286 # In both cases, we have to default to `cp -p'.
24287 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24289 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24294 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24295 rmdir conf$$.dir
2>/dev
/null
24297 if mkdir
-p .
2>/dev
/null
; then
24300 test -d .
/-p && rmdir .
/-p
24304 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24305 # systems may use methods other than mode bits to determine executability.
24306 cat >conf$$.
file <<_ASEOF
24310 chmod +x conf$$.
file
24311 if test -x conf$$.
file >/dev
/null
2>&1; then
24312 as_executable_p
="test -x"
24318 # Sed expression to map a string onto a valid CPP name.
24319 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24321 # Sed expression to map a string onto a valid variable name.
24322 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24327 # Save the log message, to keep $[0] and so on meaningful, and to
24328 # report actual input values of CONFIG_FILES etc. instead of their
24329 # values after options handling.
24331 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
24332 generated by GNU Autoconf 2.60. Invocation command line was
24334 CONFIG_FILES = $CONFIG_FILES
24335 CONFIG_HEADERS = $CONFIG_HEADERS
24336 CONFIG_LINKS = $CONFIG_LINKS
24337 CONFIG_COMMANDS = $CONFIG_COMMANDS
24340 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24345 cat >>$CONFIG_STATUS <<_ACEOF
24346 # Files that config.status was made for.
24347 config_files="$ac_config_files"
24348 config_headers="$ac_config_headers"
24349 config_commands="$ac_config_commands"
24353 cat >>$CONFIG_STATUS <<\_ACEOF
24355 \`$as_me' instantiates files from templates according to the
24356 current configuration.
24358 Usage: $0 [OPTIONS] [FILE]...
24360 -h, --help print this help, then exit
24361 -V, --version print version number, then exit
24362 -q, --quiet do not print progress messages
24363 -d, --debug don't remove temporary files
24364 --recheck update $as_me by reconfiguring in the same conditions
24365 --file=FILE[:TEMPLATE]
24366 instantiate the configuration file FILE
24367 --header=FILE[:TEMPLATE]
24368 instantiate the configuration header FILE
24370 Configuration files:
24373 Configuration headers:
24376 Configuration commands:
24379 Report bugs to <bug-autoconf@gnu.org>."
24382 cat >>$CONFIG_STATUS <<_ACEOF
24384 FULL-PACKAGE-NAME config.status VERSION
24385 configured by $0, generated by GNU Autoconf 2.60,
24386 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24388 Copyright (C) 2006 Free Software Foundation, Inc.
24389 This config.status script is free software; the Free Software Foundation
24390 gives unlimited permission to copy, distribute and modify it."
24397 cat >>$CONFIG_STATUS <<\_ACEOF
24398 # If no file are specified by the user, then we need to provide default
24399 # value. By we need to know if files were specified by the user.
24405 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24406 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24417 # Handling of the options.
24418 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24420 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24421 echo "$ac_cs_version"; exit ;;
24422 --debug |
--debu |
--deb |
--de |
--d |
-d )
24424 --file |
--fil |
--fi |
--f )
24426 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24427 ac_need_defaults
=false
;;
24428 --header |
--heade |
--head |
--hea )
24430 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24431 ac_need_defaults
=false
;;
24433 # Conflict between --help and --header
24434 { echo "$as_me: error: ambiguous option: $1
24435 Try \`$0 --help' for more information." >&2
24436 { (exit 1); exit 1; }; };;
24437 --help |
--hel |
-h )
24438 echo "$ac_cs_usage"; exit ;;
24439 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24440 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24443 # This is an error.
24444 -*) { echo "$as_me: error: unrecognized option: $1
24445 Try \`$0 --help' for more information." >&2
24446 { (exit 1); exit 1; }; } ;;
24448 *) ac_config_targets
="$ac_config_targets $1"
24449 ac_need_defaults
=false
;;
24455 ac_configure_extra_args
=
24457 if $ac_cs_silent; then
24459 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24463 cat >>$CONFIG_STATUS <<_ACEOF
24464 if \$ac_cs_recheck; then
24465 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24466 CONFIG_SHELL=$SHELL
24467 export CONFIG_SHELL
24468 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24472 cat >>$CONFIG_STATUS <<\_ACEOF
24476 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24477 ## Running $as_me. ##
24483 cat >>$CONFIG_STATUS <<_ACEOF
24487 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24491 cat >>$CONFIG_STATUS <<\_ACEOF
24493 # Handling of arguments.
24494 for ac_config_target
in $ac_config_targets
24496 case $ac_config_target in
24497 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
24498 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
24499 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24500 "liblttctl/Makefile") CONFIG_FILES
="$CONFIG_FILES liblttctl/Makefile" ;;
24501 "lttctl/Makefile") CONFIG_FILES
="$CONFIG_FILES lttctl/Makefile" ;;
24502 "lttd/Makefile") CONFIG_FILES
="$CONFIG_FILES lttd/Makefile" ;;
24503 "facilities/Makefile") CONFIG_FILES
="$CONFIG_FILES facilities/Makefile" ;;
24505 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24506 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24507 { (exit 1); exit 1; }; };;
24512 # If the user did not use the arguments to specify the items to instantiate,
24513 # then the envvar interface is used. Set only those that are not.
24514 # We use the long form for the default assignment because of an extremely
24515 # bizarre bug on SunOS 4.1.3.
24516 if $ac_need_defaults; then
24517 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24518 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24519 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24522 # Have a temporary directory for convenience. Make it in the build tree
24523 # simply because there is no reason against having it here, and in addition,
24524 # creating and moving files from /tmp can sometimes cause problems.
24525 # Hook for its removal unless debugging.
24526 # Note that there is a small window in which the directory will not be cleaned:
24527 # after its creation but before its name has been assigned to `$tmp'.
24531 trap 'exit_status=$?
24532 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24534 trap '{ (exit 1); exit 1; }' 1 2 13 15
24536 # Create a (secure) tmp directory for tmp files.
24539 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24540 test -n "$tmp" && test -d "$tmp"
24543 tmp
=.
/conf$$
-$RANDOM
24544 (umask 077 && mkdir
"$tmp")
24547 echo "$me: cannot create a temporary directory in ." >&2
24548 { (exit 1); exit 1; }
24552 # Set up the sed scripts for CONFIG_FILES section.
24555 # No need to generate the scripts if there are no CONFIG_FILES.
24556 # This happens for instance when ./config.status config.h
24557 if test -n "$CONFIG_FILES"; then
24564 for ac_last_try
in false false false false false
:; do
24565 cat >conf$
$subs.
sed <<_ACEOF
24566 SHELL!$SHELL$ac_delim
24567 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24568 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24569 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24570 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24571 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24572 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24573 exec_prefix!$exec_prefix$ac_delim
24574 prefix!$prefix$ac_delim
24575 program_transform_name!$program_transform_name$ac_delim
24576 bindir!$bindir$ac_delim
24577 sbindir!$sbindir$ac_delim
24578 libexecdir!$libexecdir$ac_delim
24579 datarootdir!$datarootdir$ac_delim
24580 datadir!$datadir$ac_delim
24581 sysconfdir!$sysconfdir$ac_delim
24582 sharedstatedir!$sharedstatedir$ac_delim
24583 localstatedir!$localstatedir$ac_delim
24584 includedir!$includedir$ac_delim
24585 oldincludedir!$oldincludedir$ac_delim
24586 docdir!$docdir$ac_delim
24587 infodir!$infodir$ac_delim
24588 htmldir!$htmldir$ac_delim
24589 dvidir!$dvidir$ac_delim
24590 pdfdir!$pdfdir$ac_delim
24591 psdir!$psdir$ac_delim
24592 libdir!$libdir$ac_delim
24593 localedir!$localedir$ac_delim
24594 mandir!$mandir$ac_delim
24595 DEFS!$DEFS$ac_delim
24596 ECHO_C!$ECHO_C$ac_delim
24597 ECHO_N!$ECHO_N$ac_delim
24598 ECHO_T!$ECHO_T$ac_delim
24599 LIBS!$LIBS$ac_delim
24600 build_alias!$build_alias$ac_delim
24601 host_alias!$host_alias$ac_delim
24602 target_alias!$target_alias$ac_delim
24603 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24604 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24605 INSTALL_DATA!$INSTALL_DATA$ac_delim
24606 CYGPATH_W!$CYGPATH_W$ac_delim
24607 PACKAGE!$PACKAGE$ac_delim
24608 VERSION!$VERSION$ac_delim
24609 ACLOCAL!$ACLOCAL$ac_delim
24610 AUTOCONF!$AUTOCONF$ac_delim
24611 AUTOMAKE!$AUTOMAKE$ac_delim
24612 AUTOHEADER!$AUTOHEADER$ac_delim
24613 MAKEINFO!$MAKEINFO$ac_delim
24614 AMTAR!$AMTAR$ac_delim
24615 install_sh!$install_sh$ac_delim
24616 STRIP!$STRIP$ac_delim
24617 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24619 SET_MAKE!$SET_MAKE$ac_delim
24620 am__leading_dot!$am__leading_dot$ac_delim
24621 build!$build$ac_delim
24622 build_cpu!$build_cpu$ac_delim
24623 build_vendor!$build_vendor$ac_delim
24624 build_os!$build_os$ac_delim
24625 host!$host$ac_delim
24626 host_cpu!$host_cpu$ac_delim
24627 host_vendor!$host_vendor$ac_delim
24628 host_os!$host_os$ac_delim
24630 CFLAGS!$CFLAGS$ac_delim
24631 LDFLAGS!$LDFLAGS$ac_delim
24632 CPPFLAGS!$CPPFLAGS$ac_delim
24633 ac_ct_CC!$ac_ct_CC$ac_delim
24634 EXEEXT!$EXEEXT$ac_delim
24635 OBJEXT!$OBJEXT$ac_delim
24636 DEPDIR!$DEPDIR$ac_delim
24637 am__include!$am__include$ac_delim
24638 am__quote!$am__quote$ac_delim
24639 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24640 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24641 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24642 CCDEPMODE!$CCDEPMODE$ac_delim
24643 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
24644 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
24645 GREP!$GREP$ac_delim
24646 EGREP!$EGREP$ac_delim
24647 LN_S!$LN_S$ac_delim
24648 ECHO!$ECHO$ac_delim
24650 RANLIB!$RANLIB$ac_delim
24653 CXXFLAGS!$CXXFLAGS$ac_delim
24654 ac_ct_CXX!$ac_ct_CXX$ac_delim
24655 CXXDEPMODE!$CXXDEPMODE$ac_delim
24656 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
24657 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24658 CXXCPP!$CXXCPP$ac_delim
24660 FFLAGS!$FFLAGS$ac_delim
24661 ac_ct_F77!$ac_ct_F77$ac_delim
24662 LIBTOOL!$LIBTOOL$ac_delim
24665 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24667 elif $ac_last_try; then
24668 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24669 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24670 { (exit 1); exit 1; }; }
24672 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24676 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24677 if test -n "$ac_eof"; then
24678 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24679 ac_eof
=`expr $ac_eof + 1`
24682 cat >>$CONFIG_STATUS <<_ACEOF
24683 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24684 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24687 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24688 s/^/s,@/; s/!/@,|#_!!_#|/
24691 s/'"$ac_delim"'$/,g/; t
24693 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24694 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24695 rm -f conf$
$subs.
sed
24696 cat >>$CONFIG_STATUS <<_ACEOF
24702 for ac_last_try
in false false false false false
:; do
24703 cat >conf$
$subs.
sed <<_ACEOF
24704 BASH!$BASH$ac_delim
24705 PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
24706 PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
24707 LIBOBJS!$LIBOBJS$ac_delim
24708 lttctlincludedir!$lttctlincludedir$ac_delim
24709 UTIL_LIBS!$UTIL_LIBS$ac_delim
24710 THREAD_LIBS!$THREAD_LIBS$ac_delim
24711 DEFAULT_INCLUDES!$DEFAULT_INCLUDES$ac_delim
24712 LTLIBOBJS!$LTLIBOBJS$ac_delim
24715 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
24717 elif $ac_last_try; then
24718 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24719 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24720 { (exit 1); exit 1; }; }
24722 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24726 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24727 if test -n "$ac_eof"; then
24728 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24729 ac_eof
=`expr $ac_eof + 1`
24732 cat >>$CONFIG_STATUS <<_ACEOF
24733 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24737 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24738 s/^/s,@/; s/!/@,|#_!!_#|/
24741 s/'"$ac_delim"'$/,g/; t
24743 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24744 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24745 rm -f conf$
$subs.
sed
24746 cat >>$CONFIG_STATUS <<_ACEOF
24753 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24754 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24755 # trailing colons and then remove the whole line if VPATH becomes empty
24756 # (actually we leave an empty line to preserve line numbers).
24757 if test "x$srcdir" = x.
; then
24758 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24759 s/:*\$(srcdir):*/:/
24760 s/:*\${srcdir}:*/:/
24762 s/^\([^=]*=[ ]*\):*/\1/
24768 cat >>$CONFIG_STATUS <<\_ACEOF
24769 fi # test -n "$CONFIG_FILES"
24772 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
24775 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24777 case $ac_mode$ac_tag in
24779 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24780 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24781 { (exit 1); exit 1; }; };;
24782 :[FH
]-) ac_tag
=-:-;;
24783 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24800 -) ac_f
="$tmp/stdin";;
24801 *) # Look for the file first in the build tree, then in the source tree
24802 # (if the path is not absolute). The absolute path cannot be DOS-style,
24803 # because $ac_f cannot contain `:'.
24807 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24809 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24810 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24811 { (exit 1); exit 1; }; };;
24813 ac_file_inputs
="$ac_file_inputs $ac_f"
24816 # Let's still pretend it is `configure' which instantiates (i.e., don't
24817 # use $as_me), people would be surprised to read:
24818 # /* config.h. Generated by config.status. */
24819 configure_input
="Generated from "`IFS=:
24820 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24821 if test x
"$ac_file" != x-
; then
24822 configure_input
="$ac_file. $configure_input"
24823 { echo "$as_me:$LINENO: creating $ac_file" >&5
24824 echo "$as_me: creating $ac_file" >&6;}
24828 *:-:* |
*:-) cat >"$tmp/stdin";;
24833 ac_dir
=`$as_dirname -- "$ac_file" ||
24834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24835 X"$ac_file" : 'X\(//\)[^/]' \| \
24836 X"$ac_file" : 'X\(//\)$' \| \
24837 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24843 /^X\(\/\/\)[^/].*/{
24858 -*) as_dir
=.
/$as_dir;;
24860 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24864 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24865 *) as_qdir
=$as_dir;;
24867 as_dirs
="'$as_qdir' $as_dirs"
24868 as_dir
=`$as_dirname -- "$as_dir" ||
24869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24870 X"$as_dir" : 'X\(//\)[^/]' \| \
24871 X"$as_dir" : 'X\(//\)$' \| \
24872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24878 /^X\(\/\/\)[^/].*/{
24891 test -d "$as_dir" && break
24893 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24894 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24895 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24896 { (exit 1); exit 1; }; }; }
24900 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24902 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24903 # A ".." for each directory in $ac_dir_suffix.
24904 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24905 case $ac_top_builddir_sub in
24906 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24907 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24910 ac_abs_top_builddir
=$ac_pwd
24911 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24912 # for backward compatibility:
24913 ac_top_builddir
=$ac_top_build_prefix
24916 .
) # We are building in place.
24918 ac_top_srcdir
=$ac_top_builddir_sub
24919 ac_abs_top_srcdir
=$ac_pwd ;;
24920 [\\/]* | ?
:[\\/]* ) # Absolute name.
24921 ac_srcdir
=$srcdir$ac_dir_suffix;
24922 ac_top_srcdir
=$srcdir
24923 ac_abs_top_srcdir
=$srcdir ;;
24924 *) # Relative name.
24925 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24926 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24927 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24929 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24939 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24940 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24944 cat >>$CONFIG_STATUS <<\_ACEOF
24945 # If the template does not know about datarootdir, expand it.
24946 # FIXME: This hack should be removed a few years after 2.60.
24947 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24949 case `sed -n '/datarootdir/ {
24958 ' $ac_file_inputs` in
24959 *datarootdir
*) ac_datarootdir_seen
=yes;;
24960 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24961 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24962 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24964 cat >>$CONFIG_STATUS <<_ACEOF
24965 ac_datarootdir_hack='
24966 s&@datadir@&$datadir&g
24967 s&@docdir@&$docdir&g
24968 s&@infodir@&$infodir&g
24969 s&@localedir@&$localedir&g
24970 s&@mandir@&$mandir&g
24971 s&\\\${datarootdir}&$datarootdir&g' ;;
24975 # Neutralize VPATH when `$srcdir' = `.'.
24976 # Shell code in configure.ac might set extrasub.
24977 # FIXME: do we really want to maintain this feature?
24978 cat >>$CONFIG_STATUS <<_ACEOF
24982 cat >>$CONFIG_STATUS <<\_ACEOF
24984 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24985 s
&@configure_input@
&$configure_input&;t t
24986 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24987 s
&@srcdir@
&$ac_srcdir&;t t
24988 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24989 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24990 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24991 s
&@builddir@
&$ac_builddir&;t t
24992 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24993 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24994 s
&@INSTALL@
&$ac_INSTALL&;t t
24995 $ac_datarootdir_hack
24996 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
24998 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24999 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25000 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25001 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25002 which seems to be undefined. Please make sure it is defined." >&5
25003 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25004 which seems to be undefined. Please make sure it is defined." >&2;}
25008 -) cat "$tmp/out"; rm -f "$tmp/out";;
25009 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25018 # Transform confdefs.h into a sed script `conftest.defines', that
25019 # substitutes the proper values into config.h.in to produce config.h.
25020 rm -f conftest.defines conftest.
tail
25021 # First, append a space to every undef/define line, to ease matching.
25022 echo 's/$/ /' >conftest.defines
25023 # Then, protect against being on the right side of a sed subst, or in
25024 # an unquoted here document, in config.status. If some macros were
25025 # called several times there might be several #defines for the same
25026 # symbol, which is useless. But do not sort them, since the last
25027 # AC_DEFINE must be honored.
25028 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25029 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25030 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25031 # PARAMS is the parameter list in the macro definition--in most cases, it's
25032 # just an empty string.
25033 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25034 ac_dB
='\\)[ (].*,\\1define\\2'
25042 s/^[ ]*#[ ]*define[ ][ ]*//
25047 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25048 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25049 ' >>conftest.defines
25051 # Remove the space that was appended to ease matching.
25052 # Then replace #undef with comments. This is necessary, for
25053 # example, in the case of _POSIX_SOURCE, which is predefined and required
25054 # on some systems where configure will not decide to define it.
25055 # (The regexp can be short, since the line contains either #define or #undef.)
25057 s,^[ #]*u.*,/* & */,' >>conftest.defines
25059 # Break up conftest.defines:
25060 ac_max_sed_lines
=50
25062 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25063 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25064 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25066 ac_in
='$ac_file_inputs'
25067 ac_out
='"$tmp/out1"'
25068 ac_nxt
='"$tmp/out2"'
25072 # Write a here document:
25073 cat >>$CONFIG_STATUS <<_ACEOF
25074 # First, check the format of the line:
25075 cat >"\$tmp/defines.sed" <<\\CEOF
25076 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25077 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25081 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25083 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25084 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25085 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25086 grep . conftest.
tail >/dev
/null ||
break
25087 rm -f conftest.defines
25088 mv conftest.
tail conftest.defines
25090 rm -f conftest.defines conftest.
tail
25092 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25093 cat >>$CONFIG_STATUS <<\_ACEOF
25094 if test x
"$ac_file" != x-
; then
25095 echo "/* $configure_input */" >"$tmp/config.h"
25096 cat "$ac_result" >>"$tmp/config.h"
25097 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25098 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25099 echo "$as_me: $ac_file is unchanged" >&6;}
25102 mv "$tmp/config.h" $ac_file
25105 echo "/* $configure_input */"
25109 # Compute $ac_file's index in $config_headers.
25111 for _am_header
in $config_headers :; do
25112 case $_am_header in
25113 $ac_file |
$ac_file:* )
25116 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25119 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
25120 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25121 X$ac_file : 'X\(//\)[^/]' \| \
25122 X$ac_file : 'X\(//\)$' \| \
25123 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
25125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25129 /^X\(\/\/\)[^/].*/{
25141 s/.*/./; q'`/stamp-h
$_am_stamp_count
25144 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25145 echo "$as_me: executing $ac_file commands" >&6;}
25150 case $ac_file$ac_mode in
25151 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
25152 # Strip MF so we end up with the name of the file.
25153 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25154 # Check whether this is an Automake generated Makefile or not.
25155 # We used to match only the files named `Makefile.in', but
25156 # some people rename them; so instead we look at the file content.
25157 # Grep'ing the first line is not enough: some people post-process
25158 # each Makefile.in and add a new line on top of each file to say so.
25159 # So let's grep whole file.
25160 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
25161 dirpart
=`$as_dirname -- "$mf" ||
25162 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25163 X"$mf" : 'X\(//\)[^/]' \| \
25164 X"$mf" : 'X\(//\)$' \| \
25165 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25171 /^X\(\/\/\)[^/].*/{
25187 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
25188 # Extract the definition of DEP_FILES from the Makefile without
25190 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
25191 test -z "$DEPDIR" && continue
25192 # When using ansi2knr, U may be empty or an underscore; expand it
25193 U
=`sed -n -e '/^U = / s///p' < "$mf"`
25194 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
25195 # We invoke sed twice because it is the simplest approach to
25196 # changing $(DEPDIR) to its actual value in the expansion.
25197 for file in `sed -n -e '
25198 /^DEP_FILES = .*\\\\$/ {
25207 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
25208 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25209 # Make sure the directory exists.
25210 test -f "$dirpart/$file" && continue
25211 fdir
=`$as_dirname -- "$file" ||
25212 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25213 X"$file" : 'X\(//\)[^/]' \| \
25214 X"$file" : 'X\(//\)$' \| \
25215 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25221 /^X\(\/\/\)[^/].*/{
25234 { as_dir
=$dirpart/$fdir
25236 -*) as_dir
=.
/$as_dir;;
25238 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25242 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25243 *) as_qdir
=$as_dir;;
25245 as_dirs
="'$as_qdir' $as_dirs"
25246 as_dir
=`$as_dirname -- "$as_dir" ||
25247 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25248 X"$as_dir" : 'X\(//\)[^/]' \| \
25249 X"$as_dir" : 'X\(//\)$' \| \
25250 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25256 /^X\(\/\/\)[^/].*/{
25269 test -d "$as_dir" && break
25271 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25272 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25273 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25274 { (exit 1); exit 1; }; }; }
25275 # echo "creating $dirpart/$file"
25276 echo '# dummy' > "$dirpart/$file"
25285 { (exit 0); exit 0; }
25287 chmod +x
$CONFIG_STATUS
25288 ac_clean_files
=$ac_clean_files_save
25291 # configure is writing to config.log, and then calls config.status.
25292 # config.status does its own redirection, appending to config.log.
25293 # Unfortunately, on DOS this fails, as config.log is still kept open
25294 # by configure, so config.status won't be able to write to it; its
25295 # output is simply discarded. So we exec the FD to /dev/null,
25296 # effectively closing config.log, so it can be properly (re)opened and
25297 # appended to by config.status. When coming back to configure, we
25298 # need to make the FD available again.
25299 if test "$no_create" != yes; then
25301 ac_config_status_args
=
25302 test "$silent" = yes &&
25303 ac_config_status_args
="$ac_config_status_args --quiet"
25305 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25307 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25308 # would make configure fail if this is the last instruction.
25309 $ac_cs_success ||
{ (exit 1); exit 1; }