2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libratbox devel.
5 # $Id: configure.ac 26168 2008-10-26 20:58:40Z androsyn $
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 more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir -p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X
--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X
--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X
--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='libratbox'
730 PACKAGE_TARNAME
='libratbox'
731 PACKAGE_VERSION
='devel'
732 PACKAGE_STRING
='libratbox devel'
735 ac_default_prefix
=/usr
/local
/libratbox
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
851 MAINTAINER_MODE_FALSE
902 ac_precious_vars
='build_alias
922 # Initialize some variables set by options.
924 ac_init_version
=false
925 # The variables have the same names as the options, with
926 # dashes changed to underlines.
934 program_transform_name
=s
,x
,x
,
942 # Installation directory options.
943 # These are left unexpanded so users can "make install exec_prefix=/foo"
944 # and all the variables that are supposed to be based on exec_prefix
945 # by default will actually change.
946 # Use braces instead of parens because sh, perl, etc. also accept them.
947 # (The list follows the same order as the GNU Coding Standards.)
948 bindir
='${exec_prefix}/bin'
949 sbindir
='${exec_prefix}/sbin'
950 libexecdir
='${exec_prefix}/libexec'
951 datarootdir
='${prefix}/share'
952 datadir
='${datarootdir}'
953 sysconfdir
='${prefix}/etc'
954 sharedstatedir
='${prefix}/com'
955 localstatedir
='${prefix}/var'
956 includedir
='${prefix}/include'
957 oldincludedir
='/usr/include'
958 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
959 infodir
='${datarootdir}/info'
964 libdir
='${exec_prefix}/lib'
965 localedir
='${datarootdir}/locale'
966 mandir
='${datarootdir}/man'
972 # If the previous option needs an argument, assign it.
973 if test -n "$ac_prev"; then
974 eval $ac_prev=\
$ac_option
980 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 # Accept the important Cygnus configure options, so we can diagnose typos.
986 case $ac_dashdash$ac_option in
990 -bindir | --bindir | --bindi | --bind | --bin | --bi)
992 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
995 -build | --build | --buil | --bui | --bu)
996 ac_prev
=build_alias
;;
997 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
998 build_alias
=$ac_optarg ;;
1000 -cache-file | --cache-file | --cache-fil | --cache-fi \
1001 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1002 ac_prev
=cache_file
;;
1003 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1004 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1005 cache_file
=$ac_optarg ;;
1007 --config-cache | -C)
1008 cache_file
=config.cache
;;
1010 -datadir | --datadir | --datadi | --datad)
1012 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1013 datadir
=$ac_optarg ;;
1015 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1016 | --dataroo | --dataro | --datar)
1017 ac_prev
=datarootdir
;;
1018 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1019 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1020 datarootdir
=$ac_optarg ;;
1022 -disable-* | --disable-*)
1023 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1026 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1029 eval enable_
$ac_feature=no
;;
1031 -docdir | --docdir | --docdi | --doc | --do)
1033 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1034 docdir
=$ac_optarg ;;
1036 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1038 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1039 dvidir
=$ac_optarg ;;
1041 -enable-* | --enable-*)
1042 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1045 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1046 { (exit 1); exit 1; }; }
1047 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1048 eval enable_
$ac_feature=\
$ac_optarg ;;
1050 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1051 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1052 | --exec | --exe | --ex)
1053 ac_prev
=exec_prefix
;;
1054 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1055 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1056 | --exec=* | --exe=* | --ex=*)
1057 exec_prefix
=$ac_optarg ;;
1059 -gas | --gas | --ga | --g)
1060 # Obsolete; use --with-gas.
1063 -help | --help | --hel | --he | -h)
1064 ac_init_help
=long
;;
1065 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1066 ac_init_help
=recursive
;;
1067 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1068 ac_init_help
=short
;;
1070 -host | --host | --hos | --ho)
1071 ac_prev
=host_alias
;;
1072 -host=* | --host=* | --hos=* | --ho=*)
1073 host_alias
=$ac_optarg ;;
1075 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1077 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1079 htmldir
=$ac_optarg ;;
1081 -includedir | --includedir | --includedi | --included | --include \
1082 | --includ | --inclu | --incl | --inc)
1083 ac_prev
=includedir
;;
1084 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1085 | --includ=* | --inclu=* | --incl=* | --inc=*)
1086 includedir
=$ac_optarg ;;
1088 -infodir | --infodir | --infodi | --infod | --info | --inf)
1090 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1091 infodir
=$ac_optarg ;;
1093 -libdir | --libdir | --libdi | --libd)
1095 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1096 libdir
=$ac_optarg ;;
1098 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1099 | --libexe | --libex | --libe)
1100 ac_prev
=libexecdir
;;
1101 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1102 | --libexe=* | --libex=* | --libe=*)
1103 libexecdir
=$ac_optarg ;;
1105 -localedir | --localedir | --localedi | --localed | --locale)
1106 ac_prev
=localedir
;;
1107 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1108 localedir
=$ac_optarg ;;
1110 -localstatedir | --localstatedir | --localstatedi | --localstated \
1111 | --localstate | --localstat | --localsta | --localst | --locals)
1112 ac_prev
=localstatedir
;;
1113 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1114 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1115 localstatedir
=$ac_optarg ;;
1117 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1119 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1120 mandir
=$ac_optarg ;;
1122 -nfp | --nfp | --nf)
1123 # Obsolete; use --without-fp.
1126 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1127 | --no-cr | --no-c | -n)
1130 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1131 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1134 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1135 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1136 | --oldin | --oldi | --old | --ol | --o)
1137 ac_prev
=oldincludedir
;;
1138 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1139 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1140 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1141 oldincludedir
=$ac_optarg ;;
1143 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1145 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1146 prefix
=$ac_optarg ;;
1148 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1149 | --program-pre | --program-pr | --program-p)
1150 ac_prev
=program_prefix
;;
1151 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1152 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1153 program_prefix
=$ac_optarg ;;
1155 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1156 | --program-suf | --program-su | --program-s)
1157 ac_prev
=program_suffix
;;
1158 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1159 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1160 program_suffix
=$ac_optarg ;;
1162 -program-transform-name | --program-transform-name \
1163 | --program-transform-nam | --program-transform-na \
1164 | --program-transform-n | --program-transform- \
1165 | --program-transform | --program-transfor \
1166 | --program-transfo | --program-transf \
1167 | --program-trans | --program-tran \
1168 | --progr-tra | --program-tr | --program-t)
1169 ac_prev
=program_transform_name
;;
1170 -program-transform-name=* | --program-transform-name=* \
1171 | --program-transform-nam=* | --program-transform-na=* \
1172 | --program-transform-n=* | --program-transform-=* \
1173 | --program-transform=* | --program-transfor=* \
1174 | --program-transfo=* | --program-transf=* \
1175 | --program-trans=* | --program-tran=* \
1176 | --progr-tra=* | --program-tr=* | --program-t=*)
1177 program_transform_name
=$ac_optarg ;;
1179 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1181 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1182 pdfdir
=$ac_optarg ;;
1184 -psdir | --psdir | --psdi | --psd | --ps)
1186 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1190 | -silent | --silent | --silen | --sile | --sil)
1193 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1195 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1197 sbindir
=$ac_optarg ;;
1199 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1200 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1201 | --sharedst | --shareds | --shared | --share | --shar \
1203 ac_prev
=sharedstatedir
;;
1204 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1205 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1206 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1208 sharedstatedir
=$ac_optarg ;;
1210 -site | --site | --sit)
1212 -site=* | --site=* | --sit=*)
1215 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1217 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1218 srcdir
=$ac_optarg ;;
1220 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1221 | --syscon | --sysco | --sysc | --sys | --sy)
1222 ac_prev
=sysconfdir
;;
1223 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1224 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1225 sysconfdir
=$ac_optarg ;;
1227 -target | --target | --targe | --targ | --tar | --ta | --t)
1228 ac_prev
=target_alias
;;
1229 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1230 target_alias
=$ac_optarg ;;
1232 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1235 -version | --version | --versio | --versi | --vers | -V)
1236 ac_init_version
=: ;;
1239 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1242 { echo "$as_me: error: invalid package name: $ac_package" >&2
1243 { (exit 1); exit 1; }; }
1244 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1245 eval with_
$ac_package=\
$ac_optarg ;;
1247 -without-* | --without-*)
1248 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1251 { echo "$as_me: error: invalid package name: $ac_package" >&2
1252 { (exit 1); exit 1; }; }
1253 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1254 eval with_
$ac_package=no
;;
1257 # Obsolete; use --with-x.
1260 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1261 | --x-incl | --x-inc | --x-in | --x-i)
1262 ac_prev
=x_includes
;;
1263 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1264 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1265 x_includes
=$ac_optarg ;;
1267 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1268 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1269 ac_prev
=x_libraries
;;
1270 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1271 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1272 x_libraries
=$ac_optarg ;;
1274 -*) { echo "$as_me: error: unrecognized option: $ac_option
1275 Try \`$0 --help' for more information." >&2
1276 { (exit 1); exit 1; }; }
1280 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1283 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1284 { (exit 1); exit 1; }; }
1285 eval $ac_envvar=\
$ac_optarg
1286 export $ac_envvar ;;
1289 # FIXME: should be removed in autoconf 3.0.
1290 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1292 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299 if test -n "$ac_prev"; then
1300 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1301 { echo "$as_me: error: missing argument to $ac_option" >&2
1302 { (exit 1); exit 1; }; }
1305 # Be sure to have absolute directory names.
1306 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1307 datadir sysconfdir sharedstatedir localstatedir includedir \
1308 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1309 libdir localedir mandir
1311 eval ac_val
=\$
$ac_var
1313 [\\/$
]* | ?
:[\\/]* ) continue;;
1314 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1316 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1317 { (exit 1); exit 1; }; }
1320 # There might be people who depend on the old broken behavior: `$host'
1321 # used to hold the argument of --host etc.
1322 # FIXME: To remove some day.
1325 target
=$target_alias
1327 # FIXME: To remove some day.
1328 if test "x$host_alias" != x
; then
1329 if test "x$build_alias" = x
; then
1330 cross_compiling
=maybe
1331 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1332 If a cross compiler is detected then cross compile mode will be used." >&2
1333 elif test "x$build_alias" != "x$host_alias"; then
1339 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1341 test "$silent" = yes && exec 6>/dev
/null
1344 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1345 ac_ls_di
=`ls -di .` &&
1346 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1347 { echo "$as_me: error: Working directory cannot be determined" >&2
1348 { (exit 1); exit 1; }; }
1349 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1350 { echo "$as_me: error: pwd does not report name of working directory" >&2
1351 { (exit 1); exit 1; }; }
1354 # Find the source files, if location was not specified.
1355 if test -z "$srcdir"; then
1356 ac_srcdir_defaulted
=yes
1357 # Try the directory containing this script, then the parent directory.
1358 ac_confdir
=`$as_dirname -- "$0" ||
1359 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1360 X"$0" : 'X\(//\)[^/]' \| \
1361 X"$0" : 'X\(//\)$' \| \
1362 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382 if test ! -r "$srcdir/$ac_unique_file"; then
1386 ac_srcdir_defaulted
=no
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1389 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1390 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1391 { (exit 1); exit 1; }; }
1393 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1395 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1396 { (exit 1); exit 1; }; }
1398 # When building in place, set srcdir=.
1399 if test "$ac_abs_confdir" = "$ac_pwd"; then
1402 # Remove unnecessary trailing slashes from srcdir.
1403 # Double slashes in file names in object file debugging info
1404 # mess up M-x gdb in Emacs.
1406 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1408 for ac_var
in $ac_precious_vars; do
1409 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1410 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1411 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1412 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1416 # Report the --help message.
1418 if test "$ac_init_help" = "long"; then
1419 # Omit some internal or obsolete options to make the list less imposing.
1420 # This message is too long to be a string in the A/UX 3.1 sh.
1422 \`configure' configures libratbox devel to adapt to many kinds of systems.
1424 Usage: $0 [OPTION]... [VAR=VALUE]...
1426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1427 VAR=VALUE. See below for descriptions of some of the useful variables.
1429 Defaults for the options are specified in brackets.
1432 -h, --help display this help and exit
1433 --help=short display options specific to this package
1434 --help=recursive display the short help of all the included packages
1435 -V, --version display version information and exit
1436 -q, --quiet, --silent do not print \`checking...' messages
1437 --cache-file=FILE cache test results in FILE [disabled]
1438 -C, --config-cache alias for \`--cache-file=config.cache'
1439 -n, --no-create do not create output files
1440 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1442 Installation directories:
1443 --prefix=PREFIX install architecture-independent files in PREFIX
1444 [$ac_default_prefix]
1445 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1448 By default, \`make install' will install all the files in
1449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1451 for instance \`--prefix=\$HOME'.
1453 For better control, use the options below.
1455 Fine tuning of the installation directories:
1456 --bindir=DIR user executables [EPREFIX/bin]
1457 --sbindir=DIR system admin executables [EPREFIX/sbin]
1458 --libexecdir=DIR program executables [EPREFIX/libexec]
1459 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1460 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1461 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1462 --libdir=DIR object code libraries [EPREFIX/lib]
1463 --includedir=DIR C header files [PREFIX/include]
1464 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1465 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1466 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1467 --infodir=DIR info documentation [DATAROOTDIR/info]
1468 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1469 --mandir=DIR man documentation [DATAROOTDIR/man]
1470 --docdir=DIR documentation root [DATAROOTDIR/doc/libratbox]
1471 --htmldir=DIR html documentation [DOCDIR]
1472 --dvidir=DIR dvi documentation [DOCDIR]
1473 --pdfdir=DIR pdf documentation [DOCDIR]
1474 --psdir=DIR ps documentation [DOCDIR]
1480 --program-prefix=PREFIX prepend PREFIX to installed program names
1481 --program-suffix=SUFFIX append SUFFIX to installed program names
1482 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1485 --build=BUILD configure
for building on BUILD
[guessed
]
1486 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1490 if test -n "$ac_init_help"; then
1491 case $ac_init_help in
1492 short
| recursive
) echo "Configuration of libratbox devel:";;
1497 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1498 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1499 --disable-dependency-tracking speeds up one
-time build
1500 --enable-dependency-tracking do not reject slow dependency extractors
1501 --enable-static[=PKGS
] build static libraries
[default
=no
]
1502 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1503 --enable-maintainer-mode enable make rules and dependencies not useful
1504 (and sometimes confusing
) to the casual installer
1505 --enable-fast-install[=PKGS
]
1506 optimize
for fast installation
[default
=yes]
1507 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1508 --disable-ipv6 Disable IPv6 support
1509 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1510 --disable-openssl Disable OpenSSL support.
1511 --enable-gnutls Enable GnuTLS support.
1512 --disable-gnutls Disable GnuTLS support.
1513 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1514 hard
(aborts the daemon
)
1515 --enable-profile Enable profiling
1516 --disable-balloc Disable the block allocator.
1517 --enable-warnings Enable all sorts of warnings
for debugging.
1520 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1521 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1522 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1523 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1525 --with-tags[=TAGS
] include additional configurations
[automatic
]
1527 Some influential environment variables
:
1528 CC C compiler
command
1529 CFLAGS C compiler flags
1530 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1531 nonstandard directory
<lib dir
>
1532 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1533 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1534 you have headers
in a nonstandard directory
<include dir
>
1536 CXX C
++ compiler
command
1537 CXXFLAGS C
++ compiler flags
1538 CXXCPP C
++ preprocessor
1539 F77 Fortran
77 compiler
command
1540 FFLAGS Fortran
77 compiler flags
1541 PKG_CONFIG path to pkg
-config utility
1543 C compiler flags
for GNUTLS
, overriding pkg
-config
1544 GNUTLS_LIBS linker flags
for GNUTLS
, overriding pkg
-config
1546 Use these variables to override the choices made by
`configure' or to help
1547 it to find libraries and programs with nonstandard names/locations.
1553 if test "$ac_init_help" = "recursive"; then
1554 # If there are subdirs, report their specific --help.
1555 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1556 test -d "$ac_dir" || continue
1560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1563 # A ".." for each directory in $ac_dir_suffix.
1564 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1565 case $ac_top_builddir_sub in
1566 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1570 ac_abs_top_builddir=$ac_pwd
1571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1572 # for backward compatibility:
1573 ac_top_builddir=$ac_top_build_prefix
1576 .) # We are building in place.
1578 ac_top_srcdir=$ac_top_builddir_sub
1579 ac_abs_top_srcdir=$ac_pwd ;;
1580 [\\/]* | ?:[\\/]* ) # Absolute name.
1581 ac_srcdir=$srcdir$ac_dir_suffix;
1582 ac_top_srcdir=$srcdir
1583 ac_abs_top_srcdir=$srcdir ;;
1585 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586 ac_top_srcdir=$ac_top_build_prefix$srcdir
1587 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1591 cd "$ac_dir" || { ac_status=$?; continue; }
1592 # Check for guested configure.
1593 if test -f "$ac_srcdir/configure.gnu"; then
1595 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596 elif test -f "$ac_srcdir/configure"; then
1598 $SHELL "$ac_srcdir/configure" --help=recursive
1600 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1602 cd "$ac_pwd" || { ac_status=$?; break; }
1606 test -n "$ac_init_help" && exit $ac_status
1607 if $ac_init_version; then
1609 libratbox configure devel
1610 generated by GNU Autoconf 2.61
1612 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1613 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1614 This configure script is free software; the Free Software Foundation
1615 gives unlimited permission to copy, distribute and modify it.
1617 $Id: configure.ac 26168 2008-10-26 20:58:40Z androsyn $
1621 cat >config.log <<_ACEOF
1622 This file contains any messages produced by compilers while
1623 running configure, to aid debugging if configure makes a mistake.
1625 It was created by libratbox $as_me devel, which was
1626 generated by GNU Autoconf 2.61. Invocation command line was
1638 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1639 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1640 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1641 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1642 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1644 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1645 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1647 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1648 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1649 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1650 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1651 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1652 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1653 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 echo "PATH: $as_dir"
1678 # Keep a trace of the command line.
1679 # Strip out --no-create and --no-recursion so they do not pile up.
1680 # Strip out --silent because we don't want to record it for future runs.
1681 # Also quote any args containing shell meta-characters.
1682 # Make two passes to allow for proper duplicate-argument suppression.
1686 ac_must_keep_next=false
1692 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1694 | -silent | --silent | --silen | --sile | --sil)
1697 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1700 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1702 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1703 if test $ac_must_keep_next = true; then
1704 ac_must_keep_next=false # Got value, back to normal.
1707 *=* | --config-cache | -C | -disable-* | --disable-* \
1708 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1709 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1710 | -with-* | --with-* | -without-* | --without-* | --x)
1711 case "$ac_configure_args0 " in
1712 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1715 -* ) ac_must_keep_next=true ;;
1718 ac_configure_args="$ac_configure_args '$ac_arg'"
1723 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1724 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1726 # When interrupted or exit'd, cleanup temporary files, and complete
1727 # config.log. We remove comments because anyway the quotes in there
1728 # would cause problems or look ugly.
1729 # WARNING: Use '\'' to represent an apostrophe within the trap.
1730 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1731 trap 'exit_status=$?
1732 # Save into config.log some information that might help in debugging.
1737 ## ---------------- ##
1738 ## Cache variables. ##
1739 ## ---------------- ##
1742 # The following way of writing the cache mishandles newlines in values,
1744 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1745 eval ac_val=\$$ac_var
1749 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1750 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1753 _ | IFS | as_nl) ;; #(
1754 *) $as_unset $ac_var ;;
1759 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1760 *${as_nl}ac_space=\ *)
1762 "s/'\''/'\''\\\\'\'''\''/g;
1763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1766 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1774 ## ----------------- ##
1775 ## Output variables. ##
1776 ## ----------------- ##
1779 for ac_var in $ac_subst_vars
1781 eval ac_val=\$$ac_var
1783 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1785 echo "$ac_var='\''$ac_val'\''"
1789 if test -n "$ac_subst_files"; then
1791 ## ------------------- ##
1792 ## File substitutions. ##
1793 ## ------------------- ##
1796 for ac_var in $ac_subst_files
1798 eval ac_val=\$$ac_var
1800 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1802 echo "$ac_var='\''$ac_val'\''"
1807 if test -s confdefs.h; then
1817 test "$ac_signal" != 0 &&
1818 echo "$as_me: caught signal $ac_signal"
1819 echo "$as_me: exit $exit_status"
1821 rm -f core *.core core.conftest.* &&
1822 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1825 for ac_signal in 1 2 13 15; do
1826 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1830 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1831 rm -f -r conftest* confdefs.h
1833 # Predefined preprocessor variables.
1835 cat >>confdefs.h <<_ACEOF
1836 #define PACKAGE_NAME "$PACKAGE_NAME"
1840 cat >>confdefs.h <<_ACEOF
1841 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE_STRING "$PACKAGE_STRING"
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1860 # Let the site file select an alternate cache file if it wants to.
1861 # Prefer explicitly selected file to automatically selected ones.
1862 if test -n "$CONFIG_SITE"; then
1863 set x "$CONFIG_SITE"
1864 elif test "x$prefix" != xNONE; then
1865 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1867 set x "$ac_default_prefix/share/config.site" \
1868 "$ac_default_prefix/etc/config.site"
1873 if test -r "$ac_site_file"; then
1874 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1875 echo "$as_me: loading site script $ac_site_file" >&6;}
1876 sed 's/^/| /' "$ac_site_file" >&5
1881 if test -r "$cache_file"; then
1882 # Some versions of bash will fail to source /dev/null (special
1883 # files actually), so we avoid doing that.
1884 if test -f "$cache_file"; then
1885 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1886 echo "$as_me: loading cache $cache_file" >&6;}
1888 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1889 *) . "./$cache_file";;
1893 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1894 echo "$as_me: creating cache $cache_file" >&6;}
1898 # Check that the precious variables saved in the cache have kept the same
1900 ac_cache_corrupted=false
1901 for ac_var in $ac_precious_vars; do
1902 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1903 eval ac_new_set=\$ac_env_${ac_var}_set
1904 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1905 eval ac_new_val=\$ac_env_${ac_var}_value
1906 case $ac_old_set,$ac_new_set in
1908 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1909 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1910 ac_cache_corrupted=: ;;
1912 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1913 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1914 ac_cache_corrupted=: ;;
1917 if test "x$ac_old_val" != "x$ac_new_val"; then
1918 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1919 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1920 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1921 echo "$as_me: former value
: $ac_old_val" >&2;}
1922 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1923 echo "$as_me: current value
: $ac_new_val" >&2;}
1924 ac_cache_corrupted=:
1927 # Pass precious variables to config.status.
1928 if test "$ac_new_set" = set; then
1930 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1931 *) ac_arg=$ac_var=$ac_new_val ;;
1933 case " $ac_configure_args " in
1934 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1935 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1939 if $ac_cache_corrupted; then
1940 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1941 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1942 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1943 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1944 { (exit 1); exit 1; }; }
1972 ac_cpp='$CPP $CPPFLAGS'
1973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1978 am__api_version='1.10'
1981 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1982 if test -f "$ac_dir/install-sh"; then
1984 ac_install_sh="$ac_aux_dir/install-sh -c"
1986 elif test -f "$ac_dir/install.sh"; then
1988 ac_install_sh="$ac_aux_dir/install.sh -c"
1990 elif test -f "$ac_dir/shtool"; then
1992 ac_install_sh="$ac_aux_dir/shtool install -c"
1996 if test -z "$ac_aux_dir"; then
1997 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1998 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1999 { (exit 1); exit 1; }; }
2002 # These three variables are undocumented and unsupported,
2003 # and are intended to be withdrawn in a future Autoconf release.
2004 # They can cause serious problems if a builder's source tree is in a directory
2005 # whose full name contains unusual characters.
2006 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2007 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2008 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2011 # Find a good install program. We prefer a C program (faster),
2012 # so one script is as good as another. But avoid the broken or
2013 # incompatible versions:
2014 # SysV /etc/install, /usr/sbin/install
2015 # SunOS /usr/etc/install
2016 # IRIX /sbin/install
2018 # AmigaOS /C/install, which installs bootblocks on floppy discs
2019 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2020 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2021 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2022 # OS/2's system install, which has a completely different semantic
2023 # ./install, which can be erroneously created by make from ./install.sh.
2024 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2025 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2026 if test -z "$INSTALL"; then
2027 if test "${ac_cv_path_install+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 test -z "$as_dir" && as_dir=.
2035 # Account for people who put trailing slashes in PATH elements.
2037 ./ | .// | /cC/* | \
2038 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2039 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2042 # OSF1 and SCO ODT 3.0 have their own names for install.
2043 # Don't use installbsd from OSF since it installs stuff as root
2045 for ac_prog in ginstall scoinst install; do
2046 for ac_exec_ext in '' $ac_executable_extensions; do
2047 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2048 if test $ac_prog = install &&
2049 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2050 # AIX install. It has an incompatible calling convention.
2052 elif test $ac_prog = install &&
2053 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2054 # program-specific install script used by HP pwplus--don't use.
2057 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2070 if test "${ac_cv_path_install+set}" = set; then
2071 INSTALL=$ac_cv_path_install
2073 # As a last resort, use the slow shell script. Don't cache a
2074 # value for INSTALL within a source directory, because that will
2075 # break other packages using the cache if that directory is
2076 # removed, or if the value is a relative name.
2077 INSTALL=$ac_install_sh
2080 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2081 echo "${ECHO_T}$INSTALL" >&6; }
2083 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2084 # It thinks the first close brace ends the variable substitution.
2085 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2087 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2089 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2091 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2092 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2095 echo timestamp > conftest.file
2096 # Do `set' in a subshell so we don't clobber the current shell
's
2097 # arguments. Must try -L first in case configure is actually a
2098 # symlink; some systems play weird games with the mod time of symlinks
2099 # (eg FreeBSD returns the mod time of the symlink's containing
2102 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2103 if test "$*" = "X"; then
2105 set X
`ls -t $srcdir/configure conftest.file`
2108 if test "$*" != "X $srcdir/configure conftest.file" \
2109 && test "$*" != "X conftest.file $srcdir/configure"; then
2111 # If neither matched, then we have a broken ls. This can happen
2112 # if, for instance, CONFIG_SHELL is bash and it inherits a
2113 # broken ls alias from the environment. This has actually
2114 # happened. Such a system could not be considered "sane".
2115 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2116 alias in your environment" >&5
2117 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2118 alias in your environment" >&2;}
2119 { (exit 1); exit 1; }; }
2122 test "$2" = conftest.
file
2128 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2129 Check your system clock" >&5
2130 echo "$as_me: error: newly created file is older than distributed files!
2131 Check your system clock" >&2;}
2132 { (exit 1); exit 1; }; }
2134 { echo "$as_me:$LINENO: result: yes" >&5
2135 echo "${ECHO_T}yes" >&6; }
2136 test "$program_prefix" != NONE
&&
2137 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2138 # Use a double $ so make ignores it.
2139 test "$program_suffix" != NONE
&&
2140 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2141 # Double any \ or $. echo might interpret backslashes.
2142 # By default was `s,x,x', remove it if useless.
2143 cat <<\_ACEOF
>conftest.
sed
2144 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2146 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2149 # expand $ac_aux_dir to an absolute path
2150 am_aux_dir
=`cd $ac_aux_dir && pwd`
2152 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2153 # Use eval to expand $SHELL
2154 if eval "$MISSING --run true"; then
2155 am_missing_run
="$MISSING --run "
2158 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2159 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2162 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2163 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2164 if test -z "$MKDIR_P"; then
2165 if test "${ac_cv_path_mkdir+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2172 test -z "$as_dir" && as_dir
=.
2173 for ac_prog
in mkdir gmkdir
; do
2174 for ac_exec_ext
in '' $ac_executable_extensions; do
2175 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2176 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2177 'mkdir (GNU coreutils) '* | \
2178 'mkdir (coreutils) '* | \
2179 'mkdir (fileutils) '4.1*)
2180 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2190 if test "${ac_cv_path_mkdir+set}" = set; then
2191 MKDIR_P
="$ac_cv_path_mkdir -p"
2193 # As a last resort, use the slow shell script. Don't cache a
2194 # value for MKDIR_P within a source directory, because that will
2195 # break other packages using the cache if that directory is
2196 # removed, or if the value is a relative name.
2197 test -d .
/--version && rmdir .
/--version
2198 MKDIR_P
="$ac_install_sh -d"
2201 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2202 echo "${ECHO_T}$MKDIR_P" >&6; }
2206 [\\/$
]* | ?
:[\\/]*) ;;
2207 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2210 for ac_prog
in gawk mawk nawk
awk
2212 # Extract the first word of "$ac_prog", so it can be a program name with args.
2213 set dummy
$ac_prog; ac_word
=$2
2214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2216 if test "${ac_cv_prog_AWK+set}" = set; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 if test -n "$AWK"; then
2220 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir
=.
2227 for ac_exec_ext
in '' $ac_executable_extensions; do
2228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2229 ac_cv_prog_AWK
="$ac_prog"
2230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 if test -n "$AWK"; then
2241 { echo "$as_me:$LINENO: result: $AWK" >&5
2242 echo "${ECHO_T}$AWK" >&6; }
2244 { echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6; }
2249 test -n "$AWK" && break
2252 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2253 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2254 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2255 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 cat >conftest.
make <<\_ACEOF
2261 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2263 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2264 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2266 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2268 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2272 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2273 { echo "$as_me:$LINENO: result: yes" >&5
2274 echo "${ECHO_T}yes" >&6; }
2277 { echo "$as_me:$LINENO: result: no" >&5
2278 echo "${ECHO_T}no" >&6; }
2279 SET_MAKE
="MAKE=${MAKE-make}"
2282 rm -rf .tst
2>/dev
/null
2283 mkdir .tst
2>/dev
/null
2284 if test -d .tst
; then
2289 rmdir .tst
2>/dev
/null
2291 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2292 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2293 # is not polluted with repeated "-I."
2294 am__isrc
=' -I$(srcdir)'
2295 # test to see if srcdir already configured
2296 if test -f $srcdir/config.status
; then
2297 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2298 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2299 { (exit 1); exit 1; }; }
2303 # test whether we have cygpath
2304 if test -z "$CYGPATH_W"; then
2305 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2306 CYGPATH_W
='cygpath -w'
2313 # Define the identity of the package.
2318 # Some tools Automake needs.
2320 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2323 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2326 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2329 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2332 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2334 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2336 # Installed binaries are usually stripped using `strip' when the user
2337 # run `make install-strip'. However `strip' might not be the right
2338 # tool to use in cross-compilation environments, therefore Automake
2339 # will honor the `STRIP' environment variable to overrule this program.
2340 if test "$cross_compiling" != no
; then
2341 if test -n "$ac_tool_prefix"; then
2342 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2343 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346 if test "${ac_cv_prog_STRIP+set}" = set; then
2347 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 if test -n "$STRIP"; then
2350 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir
=.
2357 for ac_exec_ext
in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 STRIP
=$ac_cv_prog_STRIP
2370 if test -n "$STRIP"; then
2371 { echo "$as_me:$LINENO: result: $STRIP" >&5
2372 echo "${ECHO_T}$STRIP" >&6; }
2374 { echo "$as_me:$LINENO: result: no" >&5
2375 echo "${ECHO_T}no" >&6; }
2380 if test -z "$ac_cv_prog_STRIP"; then
2382 # Extract the first word of "strip", so it can be a program name with args.
2383 set dummy strip
; ac_word
=$2
2384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2389 if test -n "$ac_ct_STRIP"; then
2390 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir
=.
2397 for ac_exec_ext
in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_ac_ct_STRIP
="strip"
2400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2410 if test -n "$ac_ct_STRIP"; then
2411 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2412 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2414 { echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6; }
2418 if test "x$ac_ct_STRIP" = x
; then
2421 case $cross_compiling:$ac_tool_warned in
2423 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2424 whose name does not start with the host triplet. If you think this
2425 configuration is useful to you, please write to autoconf@gnu.org." >&5
2426 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2427 whose name does not start with the host triplet. If you think this
2428 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2429 ac_tool_warned
=yes ;;
2434 STRIP
="$ac_cv_prog_STRIP"
2438 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2440 # We need awk for the "check" target. The system "awk" is bad on
2442 # Always define AMTAR for backward compatibility.
2444 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2446 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2453 ac_config_headers
="$ac_config_headers include/libratbox_config.h"
2458 cat >>confdefs.h
<<\_ACEOF
2459 #define _GNU_SOURCE 1
2464 DEPDIR
="${am__leading_dot}deps"
2466 ac_config_commands
="$ac_config_commands depfiles"
2469 am_make
=${MAKE-make}
2470 cat > confinc
<< 'END'
2475 # If we don't find an include directive, just comment out the code.
2476 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2477 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2481 # First try GNU make style include.
2482 echo "include confinc" > confmf
2483 # We grep out `Entering directory' and `Leaving directory'
2484 # messages which can occur if `w' ends up in MAKEFLAGS.
2485 # In particular we don't look at `^make:' because GNU make might
2486 # be invoked under some other name (usually "gmake"), in which
2487 # case it prints its new name instead of `make'.
2488 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2493 # Now try BSD make style include.
2494 if test "$am__include" = "#"; then
2495 echo '.include "confinc"' > confmf
2496 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2497 am__include
=.include
2504 { echo "$as_me:$LINENO: result: $_am_result" >&5
2505 echo "${ECHO_T}$_am_result" >&6; }
2506 rm -f confinc confmf
2508 # Check whether --enable-dependency-tracking was given.
2509 if test "${enable_dependency_tracking+set}" = set; then
2510 enableval
=$enable_dependency_tracking;
2513 if test "x$enable_dependency_tracking" != xno
; then
2514 am_depcomp
="$ac_aux_dir/depcomp"
2517 if test "x$enable_dependency_tracking" != xno; then
2527 ac_cpp
='$CPP $CPPFLAGS'
2528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2531 if test -n "$ac_tool_prefix"; then
2532 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2533 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC
="$CC" # Let the user override the test.
2542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir
=.
2547 for ac_exec_ext
in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test -n "$CC"; then
2561 { echo "$as_me:$LINENO: result: $CC" >&5
2562 echo "${ECHO_T}$CC" >&6; }
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2570 if test -z "$ac_cv_prog_CC"; then
2572 # Extract the first word of "gcc", so it can be a program name with args.
2573 set dummy gcc
; ac_word
=$2
2574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2576 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 if test -n "$ac_ct_CC"; then
2580 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 for ac_exec_ext
in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 ac_cv_prog_ac_ct_CC
="gcc"
2590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2600 if test -n "$ac_ct_CC"; then
2601 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2602 echo "${ECHO_T}$ac_ct_CC" >&6; }
2604 { echo "$as_me:$LINENO: result: no" >&5
2605 echo "${ECHO_T}no" >&6; }
2608 if test "x$ac_ct_CC" = x
; then
2611 case $cross_compiling:$ac_tool_warned in
2613 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2614 whose name does not start with the host triplet. If you think this
2615 configuration is useful to you, please write to autoconf@gnu.org." >&5
2616 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2617 whose name does not start with the host triplet. If you think this
2618 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2619 ac_tool_warned
=yes ;;
2627 if test -z "$CC"; then
2628 if test -n "$ac_tool_prefix"; then
2629 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2630 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2633 if test "${ac_cv_prog_CC+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC
="$CC" # Let the user override the test.
2639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir
=.
2644 for ac_exec_ext
in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 if test -n "$CC"; then
2658 { echo "$as_me:$LINENO: result: $CC" >&5
2659 echo "${ECHO_T}$CC" >&6; }
2661 { echo "$as_me:$LINENO: result: no" >&5
2662 echo "${ECHO_T}no" >&6; }
2668 if test -z "$CC"; then
2669 # Extract the first word of "cc", so it can be a program name with args.
2670 set dummy cc
; ac_word
=$2
2671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2673 if test "${ac_cv_prog_CC+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6
2676 if test -n "$CC"; then
2677 ac_cv_prog_CC
="$CC" # Let the user override the test.
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_exec_ext
in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2688 ac_prog_rejected
=yes
2692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 if test $ac_prog_rejected = yes; then
2700 # We found a bogon in the path, so make sure we never use it.
2701 set dummy
$ac_cv_prog_CC
2703 if test $# != 0; then
2704 # We chose a different compiler from the bogus one.
2705 # However, it has the same basename, so the bogon will be chosen
2706 # first if we set CC to just the basename; use the full file name.
2708 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2714 if test -n "$CC"; then
2715 { echo "$as_me:$LINENO: result: $CC" >&5
2716 echo "${ECHO_T}$CC" >&6; }
2718 { echo "$as_me:$LINENO: result: no" >&5
2719 echo "${ECHO_T}no" >&6; }
2724 if test -z "$CC"; then
2725 if test -n "$ac_tool_prefix"; then
2726 for ac_prog
in cl.exe
2728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2729 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2732 if test "${ac_cv_prog_CC+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC
="$CC" # Let the user override the test.
2738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir
=.
2743 for ac_exec_ext
in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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; }
2765 test -n "$CC" && break
2768 if test -z "$CC"; then
2770 for ac_prog
in cl.exe
2772 # Extract the first word of "$ac_prog", so it can be a program name with args.
2773 set dummy
$ac_prog; ac_word
=$2
2774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2776 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2777 echo $ECHO_N "(cached) $ECHO_C" >&6
2779 if test -n "$ac_ct_CC"; then
2780 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir
=.
2787 for ac_exec_ext
in '' $ac_executable_extensions; do
2788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789 ac_cv_prog_ac_ct_CC
="$ac_prog"
2790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2800 if test -n "$ac_ct_CC"; then
2801 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2802 echo "${ECHO_T}$ac_ct_CC" >&6; }
2804 { echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6; }
2809 test -n "$ac_ct_CC" && break
2812 if test "x$ac_ct_CC" = x
; then
2815 case $cross_compiling:$ac_tool_warned in
2817 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2818 whose name does not start with the host triplet. If you think this
2819 configuration is useful to you, please write to autoconf@gnu.org." >&5
2820 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2821 whose name does not start with the host triplet. If you think this
2822 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2823 ac_tool_warned
=yes ;;
2832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2833 See \`config.log' for more details." >&5
2834 echo "$as_me: error: no acceptable C compiler found in \$PATH
2835 See \`config.log' for more details." >&2;}
2836 { (exit 1); exit 1; }; }
2838 # Provide some information about the compiler.
2839 echo "$as_me:$LINENO: checking for C compiler version" >&5
2840 ac_compiler
=`set X $ac_compile; echo $2`
2841 { (ac_try
="$ac_compiler --version >&5"
2843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847 (eval "$ac_compiler --version >&5") 2>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }
2851 { (ac_try="$ac_compiler -v >&5"
2853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2854 *) ac_try_echo
=$ac_try;;
2856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2857 (eval "$ac_compiler -v >&5") 2>&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }
2861 { (ac_try
="$ac_compiler -V >&5"
2863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2867 (eval "$ac_compiler -V >&5") 2>&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }
2872 cat >conftest.$ac_ext <<_ACEOF
2875 cat confdefs.h >>conftest.$ac_ext
2876 cat >>conftest.$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2887 ac_clean_files_save=$ac_clean_files
2888 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2889 # Try to create an executable without -o first, disregard a.out.
2890 # It will help us diagnose broken compilers, and finding out an intuition
2892 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2893 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2894 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2896 # List of possible output files, starting from the most likely.
2897 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2898 # only as a last resort. b.out is created by i960 compilers.
2899 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2901 # The IRIX 6 linker writes into existing files which may not be
2902 # executable, retaining their permissions. Remove them first so a
2903 # subsequent execution test works.
2905 for ac_file in $ac_files
2908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2909 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2914 if { (ac_try="$ac_link_default"
2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2917 *) ac_try_echo=$ac_try;;
2919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2920 (eval "$ac_link_default") 2>&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; then
2924 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2925 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2926 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2927 # so that the user can short-circuit this test for compilers unknown to
2929 for ac_file
in $ac_files ''
2931 test -f "$ac_file" || continue
2933 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2936 # We found the default executable, but exeext='' is most
2940 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2942 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2944 # We set ac_cv_exeext here because the later test for it is not
2945 # safe: cross compilers may not add the suffix if given an `-o'
2946 # argument, so we may need to know it at that point already.
2947 # Even if this section looks crufty: it has the advantage of
2954 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2960 { echo "$as_me:$LINENO: result: $ac_file" >&5
2961 echo "${ECHO_T}$ac_file" >&6; }
2962 if test -z "$ac_file"; then
2963 echo "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.
$ac_ext >&5
2966 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2967 See \`config.log' for more details." >&5
2968 echo "$as_me: error: C compiler cannot create executables
2969 See \`config.log' for more details." >&2;}
2970 { (exit 77); exit 77; }; }
2973 ac_exeext
=$ac_cv_exeext
2975 # Check that the compiler produces executables we can run. If not, either
2976 # the compiler is broken, or we cross compile.
2977 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2978 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2979 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2980 # If not cross compiling, check that we can run a simple program.
2981 if test "$cross_compiling" != yes; then
2982 if { ac_try
='./$ac_file'
2983 { (case "(($ac_try" in
2984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2988 (eval "$ac_try") 2>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2994 if test "$cross_compiling" = maybe; then
2997 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2998 If you meant to cross compile, use \`--host'.
2999 See \`config.log' for more details.
" >&5
3000 echo "$as_me: error
: cannot run C compiled programs.
3001 If you meant to cross compile
, use \
`--host'.
3002 See \`config.log
' for more details." >&2;}
3003 { (exit 1); exit 1; }; }
3007 { echo "$as_me:$LINENO: result: yes" >&5
3008 echo "${ECHO_T}yes" >&6; }
3010 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3011 ac_clean_files=$ac_clean_files_save
3012 # Check that the compiler produces executables we can run. If not, either
3013 # the compiler is broken, or we cross compile.
3014 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3015 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3016 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3017 echo "${ECHO_T}$cross_compiling" >&6; }
3019 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3020 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3021 if { (ac_try="$ac_link"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3027 (eval "$ac_link") 2>&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }; then
3031 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3032 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3033 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3035 for ac_file
in conftest.exe conftest conftest.
*; do
3036 test -f "$ac_file" || continue
3038 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
3039 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3045 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3046 See \`config.log' for more details." >&5
3047 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3048 See \`config.log' for more details." >&2;}
3049 { (exit 1); exit 1; }; }
3052 rm -f conftest
$ac_cv_exeext
3053 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3054 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3056 rm -f conftest.
$ac_ext
3057 EXEEXT
=$ac_cv_exeext
3059 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3060 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3061 if test "${ac_cv_objext+set}" = set; then
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
3064 cat >conftest.
$ac_ext <<_ACEOF
3067 cat confdefs.h
>>conftest.
$ac_ext
3068 cat >>conftest.
$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3079 rm -f conftest.o conftest.obj
3080 if { (ac_try
="$ac_compile"
3082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3086 (eval "$ac_compile") 2>&5
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); }; then
3090 for ac_file in conftest.o conftest.obj conftest.*; do
3091 test -f "$ac_file" || continue;
3093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3094 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3102 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3103 See \`config.log
' for more details." >&5
3104 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3105 See \`config.log' for more details.
" >&2;}
3106 { (exit 1); exit 1; }; }
3109 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3111 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3112 echo "${ECHO_T}$ac_cv_objext" >&6; }
3113 OBJEXT=$ac_cv_objext
3115 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3116 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3117 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3118 echo $ECHO_N "(cached
) $ECHO_C" >&6
3120 cat >conftest.$ac_ext <<_ACEOF
3123 cat confdefs.h >>conftest.$ac_ext
3124 cat >>conftest.$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3138 rm -f conftest.$ac_objext
3139 if { (ac_try="$ac_compile"
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_compile") 2>conftest.er1
3147 grep -v '^ *+' conftest.er1 >conftest.err
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3151 (exit $ac_status); } && {
3152 test -z "$ac_c_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then
3157 echo "$as_me: failed program was
:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3167 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3168 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3169 GCC=`test $ac_compiler_gnu = yes && echo yes`
3170 ac_test_CFLAGS=${CFLAGS+set}
3171 ac_save_CFLAGS=$CFLAGS
3172 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3173 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3174 if test "${ac_cv_prog_cc_g+set}" = set; then
3175 echo $ECHO_N "(cached
) $ECHO_C" >&6
3177 ac_save_c_werror_flag=$ac_c_werror_flag
3178 ac_c_werror_flag=yes
3181 cat >conftest.$ac_ext <<_ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3196 rm -f conftest.$ac_objext
3197 if { (ac_try="$ac_compile"
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3203 (eval "$ac_compile") 2>conftest.er1
3205 grep -v '^ *+' conftest.er1 >conftest.err
3207 cat conftest.err >&5
3208 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3209 (exit $ac_status); } && {
3210 test -z "$ac_c_werror_flag" ||
3211 test ! -s conftest.err
3212 } && test -s conftest.$ac_objext; then
3215 echo "$as_me: failed program was
:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3219 cat >conftest.$ac_ext <<_ACEOF
3222 cat confdefs.h >>conftest.$ac_ext
3223 cat >>conftest.$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3234 rm -f conftest.$ac_objext
3235 if { (ac_try="$ac_compile"
3237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3240 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3241 (eval "$ac_compile") 2>conftest.er1
3243 grep -v '^ *+' conftest.er1 >conftest.err
3245 cat conftest.err >&5
3246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3247 (exit $ac_status); } && {
3248 test -z "$ac_c_werror_flag" ||
3249 test ! -s conftest.err
3250 } && test -s conftest.$ac_objext; then
3253 echo "$as_me: failed program was
:" >&5
3254 sed 's/^/| /' conftest.$ac_ext >&5
3256 ac_c_werror_flag=$ac_save_c_werror_flag
3258 cat >conftest.$ac_ext <<_ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3273 rm -f conftest.$ac_objext
3274 if { (ac_try="$ac_compile"
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3280 (eval "$ac_compile") 2>conftest.er1
3282 grep -v '^ *+' conftest.er1 >conftest.err
3284 cat conftest.err >&5
3285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3286 (exit $ac_status); } && {
3287 test -z "$ac_c_werror_flag" ||
3288 test ! -s conftest.err
3289 } && test -s conftest.$ac_objext; then
3292 echo "$as_me: failed program was
:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 ac_c_werror_flag=$ac_save_c_werror_flag
3307 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3308 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3309 if test "$ac_test_CFLAGS" = set; then
3310 CFLAGS=$ac_save_CFLAGS
3311 elif test $ac_cv_prog_cc_g = yes; then
3312 if test "$GCC" = yes; then
3318 if test "$GCC" = yes; then
3324 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3325 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3326 if test "${ac_cv_prog_cc_c89+set}" = set; then
3327 echo $ECHO_N "(cached
) $ECHO_C" >&6
3329 ac_cv_prog_cc_c89=no
3331 cat >conftest.$ac_ext <<_ACEOF
3334 cat confdefs.h >>conftest.$ac_ext
3335 cat >>conftest.$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3339 #include <sys/types.h>
3340 #include <sys/stat.h>
3341 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3342 struct buf { int x; };
3343 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3344 static char *e (p, i)
3350 static char *f (char * (*g) (char **, int), char **p, ...)
3355 s = g (p, va_arg (v,int));
3360 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3361 function prototypes and stuff, but not '\xHH' hex character constants.
3362 These don't provoke an error unfortunately, instead are silently treated
3363 as 'x'. The following induces an error, until -std is added to get
3364 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3365 array size at least. It's necessary to write '\x00'==0 to get something
3366 that's true only with -std. */
3367 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3369 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3370 inside strings and character constants. */
3372 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3374 int test (int i, double x);
3375 struct s1 {int (*f) (int a);};
3376 struct s2 {int (*f) (double a);};
3377 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3383 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3388 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3389 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3391 CC="$ac_save_CC $ac_arg"
3392 rm -f conftest.$ac_objext
3393 if { (ac_try="$ac_compile"
3395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3399 (eval "$ac_compile") 2>conftest.er1
3401 grep -v '^ *+' conftest.er1 >conftest.err
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3405 (exit $ac_status); } && {
3406 test -z "$ac_c_werror_flag" ||
3407 test ! -s conftest.err
3408 } && test -s conftest.$ac_objext; then
3409 ac_cv_prog_cc_c89=$ac_arg
3411 echo "$as_me: failed program was
:" >&5
3412 sed 's/^/| /' conftest.$ac_ext >&5
3417 rm -f core conftest.err conftest.$ac_objext
3418 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3420 rm -f conftest.$ac_ext
3425 case "x
$ac_cv_prog_cc_c89" in
3427 { echo "$as_me:$LINENO: result
: none needed
" >&5
3428 echo "${ECHO_T}none needed
" >&6; } ;;
3430 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3431 echo "${ECHO_T}unsupported
" >&6; } ;;
3433 CC="$CC $ac_cv_prog_cc_c89"
3434 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3435 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3440 ac_cpp='$CPP $CPPFLAGS'
3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3445 depcc="$CC" am_compiler_list=
3447 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3448 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3449 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3450 echo $ECHO_N "(cached
) $ECHO_C" >&6
3452 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3453 # We make a subdir and do the tests there. Otherwise we can end up
3454 # making bogus files that we don't know about and never remove. For
3455 # instance it was reported that on HP-UX the gcc test will end up
3456 # making a dummy file named `D' -- because `-MD' means `put the output
3459 # Copy depcomp to subdir because otherwise we won't find it if we're
3460 # using a relative directory.
3461 cp "$am_depcomp" conftest.dir
3463 # We will build objects and dependencies in a subdirectory because
3464 # it helps to detect inapplicable dependency modes. For instance
3465 # both Tru64's cc and ICC support -MD to output dependencies as a
3466 # side effect of compilation, but ICC will put the dependencies in
3467 # the current directory while Tru64 will put them in the object
3471 am_cv_CC_dependencies_compiler_type=none
3472 if test "$am_compiler_list" = ""; then
3473 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3475 for depmode in $am_compiler_list; do
3476 # Setup a source with many dependencies, because some compilers
3477 # like to wrap large dependency lists on column 80 (with \), and
3478 # we should not choose a depcomp mode which is confused by this.
3480 # We need to recreate these files for each test, as the compiler may
3481 # overwrite some of them when testing with obscure command lines.
3482 # This happens at least with the AIX C compiler.
3484 for i in 1 2 3 4 5 6; do
3485 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3486 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3487 # Solaris 8's {/usr,}/bin/sh.
3488 touch sub/conftst$i.h
3490 echo "${am__include} ${am__quote}sub
/conftest.Po
${am__quote}" > confmf
3494 # after this tag, mechanisms are not by side-effect, so they'll
3495 # only be used when explicitly requested
3496 if test "x
$enable_dependency_tracking" = xyes; then
3504 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3505 # mode. It turns out that the SunPro C++ compiler does not properly
3506 # handle `-M -o', and we need to detect this.
3507 if depmode=$depmode \
3508 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3509 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3510 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3511 >/dev/null 2>conftest.err &&
3512 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3513 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3514 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3515 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3516 # icc doesn't choke on unknown options, it will just issue warnings
3517 # or remarks (even with -Werror). So we grep stderr for any message
3518 # that says an option was ignored or not supported.
3519 # When given -MP, icc 7.0 and 7.1 complain thusly:
3520 # icc: Command line warning: ignoring option '-M'; no argument required
3521 # The diagnosis changed in icc 8.0:
3522 # icc: Command line remark: option '-MP' not supported
3523 if (grep 'ignoring option' conftest.err ||
3524 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3525 am_cv_CC_dependencies_compiler_type=$depmode
3534 am_cv_CC_dependencies_compiler_type=none
3538 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3539 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3540 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3543 test "x
$enable_dependency_tracking" != xno \
3544 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3546 am__fastdepCC_FALSE='#'
3548 am__fastdepCC_TRUE='#'
3549 am__fastdepCC_FALSE=
3553 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C99
" >&5
3554 echo $ECHO_N "checking
for $CC option to accept ISO C99...
$ECHO_C" >&6; }
3555 if test "${ac_cv_prog_cc_c99+set}" = set; then
3556 echo $ECHO_N "(cached
) $ECHO_C" >&6
3558 ac_cv_prog_cc_c99=no
3560 cat >conftest.$ac_ext <<_ACEOF
3563 cat confdefs.h >>conftest.$ac_ext
3564 cat >>conftest.$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3567 #include <stdbool.h>
3572 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3573 #define debug(...) fprintf (stderr, __VA_ARGS__)
3574 #define showlist(...) puts (#__VA_ARGS__)
3575 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3577 test_varargs_macros (void)
3582 debug ("X
= %d
\n", x);
3583 showlist (The first, second, and third items.);
3584 report (x>y, "x is
%d but y is
%d
", x, y);
3587 // Check long long types.
3588 #define BIG64 18446744073709551615ull
3589 #define BIG32 4294967295ul
3590 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3592 your preprocessor is broken;
3596 your preprocessor is broken;
3598 static long long int bignum = -9223372036854775807LL;
3599 static unsigned long long int ubignum = BIG64;
3601 struct incomplete_array
3609 const wchar_t *name;
3613 typedef const char *ccp;
3616 test_restrict (ccp restrict text)
3618 // See if C++-style comments work.
3619 // Iterate through items via the restricted pointer.
3620 // Also check for declarations in for loops.
3621 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3626 // Check varargs and va_copy.
3628 test_varargs (const char *format, ...)
3631 va_start (args, format);
3633 va_copy (args_copy, args);
3644 str = va_arg (args_copy, const char *);
3647 number = va_arg (args_copy, int);
3650 fnumber = va_arg (args_copy, double);
3665 _Bool success = false;
3668 if (test_restrict ("String literal
") == 0)
3670 char *restrict newvar = "Another string
";
3673 test_varargs ("s
, d
' f .", "string", 65, 34.234);
3674 test_varargs_macros ();
3676 // Check flexible array members.
3677 struct incomplete_array *ia =
3678 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3680 for (int i = 0; i < ia->datasize; ++i)
3681 ia->data[i] = i * 1.234;
3683 // Check named initializers.
3684 struct named_init ni = {
3686 .name = L"Test wide string",
3687 .average = 543.34343,
3692 int dynamic_array[ni.number];
3693 dynamic_array[ni.number - 1] = 543;
3695 // work around unused variable warnings
3696 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x
'
3697 || dynamic_array[ni.number - 1] != 543);
3703 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
3705 CC="$ac_save_CC $ac_arg"
3706 rm -f conftest.$ac_objext
3707 if { (ac_try="$ac_compile"
3709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3713 (eval "$ac_compile") 2>conftest.er1
3715 grep -v '^
*+' conftest.er1 >conftest.err
3717 cat conftest.err >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } && {
3720 test -z "$ac_c_werror_flag" ||
3721 test ! -s conftest.err
3722 } && test -s conftest.$ac_objext; then
3723 ac_cv_prog_cc_c99=$ac_arg
3725 echo "$as_me: failed program was:" >&5
3726 sed 's
/^
/| /' conftest.$ac_ext >&5
3731 rm -f core conftest.err conftest.$ac_objext
3732 test "x$ac_cv_prog_cc_c99" != "xno" && break
3734 rm -f conftest.$ac_ext
3739 case "x$ac_cv_prog_cc_c99" in
3741 { echo "$as_me:$LINENO: result: none needed" >&5
3742 echo "${ECHO_T}none needed" >&6; } ;;
3744 { echo "$as_me:$LINENO: result: unsupported" >&5
3745 echo "${ECHO_T}unsupported" >&6; } ;;
3747 CC="$CC $ac_cv_prog_cc_c99"
3748 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3749 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3755 if test x"$ac_cv_prog_cc_c99" = "xno"; then
3756 { { echo "$as_me:$LINENO: error: ircd-ratbox requires a C99 capable compiler" >&5
3757 echo "$as_me: error: ircd-ratbox requires a C99 capable compiler" >&2;}
3758 { (exit 1); exit 1; }; }
3762 # Find a good install program. We prefer a C program (faster),
3763 # so one script is as good as another. But avoid the broken or
3764 # incompatible versions:
3765 # SysV /etc/install, /usr/sbin/install
3766 # SunOS /usr/etc/install
3767 # IRIX /sbin/install
3769 # AmigaOS /C/install, which installs bootblocks on floppy discs
3770 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
3771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3773 # OS/2's system install, which has a completely different semantic
3774 # ./install, which can be erroneously created by make from ./install.sh.
3775 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3776 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3777 if test -z "$INSTALL"; then
3778 if test "${ac_cv_path_install+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir
=.
3786 # Account for people who put trailing slashes in PATH elements.
3788 .
/ | .
// | /cC
/* | \
3789 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
3790 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3793 # OSF1 and SCO ODT 3.0 have their own names for install.
3794 # Don't use installbsd from OSF since it installs stuff as root
3796 for ac_prog
in ginstall scoinst
install; do
3797 for ac_exec_ext
in '' $ac_executable_extensions; do
3798 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3799 if test $ac_prog = install &&
3800 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3801 # AIX install. It has an incompatible calling convention.
3803 elif test $ac_prog = install &&
3804 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3805 # program-specific install script used by HP pwplus--don't use.
3808 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3821 if test "${ac_cv_path_install+set}" = set; then
3822 INSTALL
=$ac_cv_path_install
3824 # As a last resort, use the slow shell script. Don't cache a
3825 # value for INSTALL within a source directory, because that will
3826 # break other packages using the cache if that directory is
3827 # removed, or if the value is a relative name.
3828 INSTALL
=$ac_install_sh
3831 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3832 echo "${ECHO_T}$INSTALL" >&6; }
3834 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3835 # It thinks the first close brace ends the variable substitution.
3836 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3838 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3840 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3842 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3843 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3844 if test "${ac_cv_path_GREP+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 # Extract the first word of "grep ggrep" to use in msg output
3848 if test -z "$GREP"; then
3849 set dummy
grep ggrep
; ac_prog_name
=$2
3850 if test "${ac_cv_path_GREP+set}" = set; then
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
3853 ac_path_GREP_found
=false
3854 # Loop through the user's path and test for each of PROGNAME-LIST
3855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3856 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3859 test -z "$as_dir" && as_dir
=.
3860 for ac_prog
in grep ggrep
; do
3861 for ac_exec_ext
in '' $ac_executable_extensions; do
3862 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3863 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3864 # Check for GNU ac_path_GREP and select it if it is found.
3865 # Check for GNU $ac_path_GREP
3866 case `"$ac_path_GREP" --version 2>&1` in
3868 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3871 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3874 cat "conftest.in" "conftest.in" >"conftest.tmp"
3875 mv "conftest.tmp" "conftest.in"
3876 cp "conftest.in" "conftest.nl"
3877 echo 'GREP' >> "conftest.nl"
3878 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3879 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3880 ac_count
=`expr $ac_count + 1`
3881 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3882 # Best one so far, save it but keep looking for a better one
3883 ac_cv_path_GREP
="$ac_path_GREP"
3884 ac_path_GREP_max
=$ac_count
3886 # 10*(2^10) chars as input seems more than enough
3887 test $ac_count -gt 10 && break
3889 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3893 $ac_path_GREP_found && break 3
3903 GREP
="$ac_cv_path_GREP"
3904 if test -z "$GREP"; then
3905 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3906 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3907 { (exit 1); exit 1; }; }
3911 ac_cv_path_GREP
=$GREP
3916 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3917 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3918 GREP
="$ac_cv_path_GREP"
3921 { echo "$as_me:$LINENO: checking for egrep" >&5
3922 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3923 if test "${ac_cv_path_EGREP+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3927 then ac_cv_path_EGREP
="$GREP -E"
3929 # Extract the first word of "egrep" to use in msg output
3930 if test -z "$EGREP"; then
3931 set dummy
egrep; ac_prog_name
=$2
3932 if test "${ac_cv_path_EGREP+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 ac_path_EGREP_found
=false
3936 # Loop through the user's path and test for each of PROGNAME-LIST
3937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3938 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3941 test -z "$as_dir" && as_dir
=.
3942 for ac_prog
in egrep; do
3943 for ac_exec_ext
in '' $ac_executable_extensions; do
3944 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3945 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3946 # Check for GNU ac_path_EGREP and select it if it is found.
3947 # Check for GNU $ac_path_EGREP
3948 case `"$ac_path_EGREP" --version 2>&1` in
3950 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3953 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3956 cat "conftest.in" "conftest.in" >"conftest.tmp"
3957 mv "conftest.tmp" "conftest.in"
3958 cp "conftest.in" "conftest.nl"
3959 echo 'EGREP' >> "conftest.nl"
3960 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3961 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3962 ac_count
=`expr $ac_count + 1`
3963 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3964 # Best one so far, save it but keep looking for a better one
3965 ac_cv_path_EGREP
="$ac_path_EGREP"
3966 ac_path_EGREP_max
=$ac_count
3968 # 10*(2^10) chars as input seems more than enough
3969 test $ac_count -gt 10 && break
3971 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3975 $ac_path_EGREP_found && break 3
3985 EGREP
="$ac_cv_path_EGREP"
3986 if test -z "$EGREP"; then
3987 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3988 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3989 { (exit 1); exit 1; }; }
3993 ac_cv_path_EGREP
=$EGREP
3999 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4000 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4001 EGREP
="$ac_cv_path_EGREP"
4004 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4005 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4006 if test "${ac_cv_path_SED+set}" = set; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4010 for ac_i
in 1 2 3 4 5 6 7; do
4011 ac_script
="$ac_script$as_nl$ac_script"
4013 echo "$ac_script" | sed 99q
>conftest.
sed
4014 $as_unset ac_script
|| ac_script
=
4015 # Extract the first word of "sed gsed" to use in msg output
4016 if test -z "$SED"; then
4017 set dummy
sed gsed
; ac_prog_name
=$2
4018 if test "${ac_cv_path_SED+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 ac_path_SED_found
=false
4022 # Loop through the user's path and test for each of PROGNAME-LIST
4023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4027 test -z "$as_dir" && as_dir
=.
4028 for ac_prog
in sed gsed
; do
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4031 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4032 # Check for GNU ac_path_SED and select it if it is found.
4033 # Check for GNU $ac_path_SED
4034 case `"$ac_path_SED" --version 2>&1` in
4036 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4039 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4042 cat "conftest.in" "conftest.in" >"conftest.tmp"
4043 mv "conftest.tmp" "conftest.in"
4044 cp "conftest.in" "conftest.nl"
4045 echo '' >> "conftest.nl"
4046 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4047 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4048 ac_count
=`expr $ac_count + 1`
4049 if test $ac_count -gt ${ac_path_SED_max-0}; then
4050 # Best one so far, save it but keep looking for a better one
4051 ac_cv_path_SED
="$ac_path_SED"
4052 ac_path_SED_max
=$ac_count
4054 # 10*(2^10) chars as input seems more than enough
4055 test $ac_count -gt 10 && break
4057 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4061 $ac_path_SED_found && break 3
4071 SED
="$ac_cv_path_SED"
4072 if test -z "$SED"; then
4073 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4074 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4075 { (exit 1); exit 1; }; }
4083 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4084 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4085 SED
="$ac_cv_path_SED"
4093 # Check whether --enable-static was given.
4094 if test "${enable_static+set}" = set; then
4095 enableval
=$enable_static; p
=${PACKAGE-default}
4097 yes) enable_static
=yes ;;
4098 no
) enable_static
=no
;;
4101 # Look at the argument we got. We use all the common list separators.
4102 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4103 for pkg
in $enableval; do
4105 if test "X$pkg" = "X$p"; then
4118 # Check whether --enable-shared was given.
4119 if test "${enable_shared+set}" = set; then
4120 enableval
=$enable_shared; p
=${PACKAGE-default}
4122 yes) enable_shared
=yes ;;
4123 no
) enable_shared
=no
;;
4126 # Look at the argument we got. We use all the common list separators.
4127 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4128 for pkg
in $enableval; do
4130 if test "X$pkg" = "X$p"; then
4142 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4143 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
4144 # Check whether --enable-maintainer-mode was given.
4145 if test "${enable_maintainer_mode+set}" = set; then
4146 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4148 USE_MAINTAINER_MODE
=no
4151 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4152 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
4153 if test $USE_MAINTAINER_MODE = yes; then
4154 MAINTAINER_MODE_TRUE
=
4155 MAINTAINER_MODE_FALSE
='#'
4157 MAINTAINER_MODE_TRUE
='#'
4158 MAINTAINER_MODE_FALSE
=
4161 MAINT
=$MAINTAINER_MODE_TRUE
4166 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
4167 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4168 if test "${ac_cv_search_strerror+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4171 ac_func_search_save_LIBS
=$LIBS
4172 cat >conftest.
$ac_ext <<_ACEOF
4175 cat confdefs.h
>>conftest.
$ac_ext
4176 cat >>conftest.
$ac_ext <<_ACEOF
4177 /* end confdefs.h. */
4179 /* Override any GCC internal prototype to avoid an error.
4180 Use char because int might match the return type of a GCC
4181 builtin and then its argument prototype would still apply. */
4194 for ac_lib
in '' cposix
; do
4195 if test -z "$ac_lib"; then
4196 ac_res
="none required"
4199 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4201 rm -f conftest.
$ac_objext conftest
$ac_exeext
4202 if { (ac_try
="$ac_link"
4204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_link") 2>conftest.er1
4210 grep -v '^ *+' conftest.er1 >conftest.err
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } && {
4215 test -z "$ac_c_werror_flag" ||
4216 test ! -s conftest.err
4217 } && test -s conftest$ac_exeext &&
4218 $as_test_x conftest$ac_exeext; then
4219 ac_cv_search_strerror=$ac_res
4221 echo "$as_me: failed program was:" >&5
4222 sed 's/^/| /' conftest.$ac_ext >&5
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4229 if test "${ac_cv_search_strerror+set}" = set; then
4233 if test "${ac_cv_search_strerror+set}" = set; then
4236 ac_cv_search_strerror=no
4239 LIBS=$ac_func_search_save_LIBS
4241 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4242 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4243 ac_res=$ac_cv_search_strerror
4244 if test "$ac_res" != no; then
4245 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4249 { echo "$as_me:$LINENO: checking for inline" >&5
4250 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4251 if test "${ac_cv_c_inline+set}" = set; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 for ac_kw in inline __inline__ __inline; do
4256 cat >conftest.$ac_ext <<_ACEOF
4259 cat confdefs.h >>conftest.$ac_ext
4260 cat >>conftest.$ac_ext <<_ACEOF
4261 /* end confdefs.h. */
4264 static $ac_kw foo_t static_foo () {return 0; }
4265 $ac_kw foo_t foo () {return 0; }
4269 rm -f conftest.$ac_objext
4270 if { (ac_try="$ac_compile"
4272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4273 *) ac_try_echo
=$ac_try;;
4275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4276 (eval "$ac_compile") 2>conftest.er1
4278 grep -v '^ *+' conftest.er1
>conftest.err
4280 cat conftest.err
>&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); } && {
4283 test -z "$ac_c_werror_flag" ||
4284 test ! -s conftest.err
4285 } && test -s conftest.
$ac_objext; then
4286 ac_cv_c_inline
=$ac_kw
4288 echo "$as_me: failed program was:" >&5
4289 sed 's/^/| /' conftest.
$ac_ext >&5
4294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4295 test "$ac_cv_c_inline" != no
&& break
4299 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4300 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4303 case $ac_cv_c_inline in
4306 case $ac_cv_c_inline in
4308 *) ac_val
=$ac_cv_c_inline;;
4310 cat >>confdefs.h
<<_ACEOF
4312 #define inline $ac_val
4318 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4319 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4320 if test "${ac_cv_c_const+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 cat >conftest.
$ac_ext <<_ACEOF
4326 cat confdefs.h
>>conftest.
$ac_ext
4327 cat >>conftest.
$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4333 /* FIXME: Include the comments suggested by Paul. */
4335 /* Ultrix mips cc rejects this. */
4336 typedef int charset[2];
4338 /* SunOS 4.1.1 cc rejects this. */
4339 char const *const *pcpcc;
4341 /* NEC SVR4.0.2 mips cc rejects this. */
4342 struct point {int x, y;};
4343 static struct point const zero = {0,0};
4344 /* AIX XL C 1.02.0.0 rejects this.
4345 It does not let you subtract one const X* pointer from another in
4346 an arm of an if-expression whose if-part is not a constant
4348 const char *g = "string";
4349 pcpcc = &g + (g ? g-g : 0);
4350 /* HPUX 7.0 cc rejects these. */
4352 ppc = (char**) pcpcc;
4353 pcpcc = (char const *const *) ppc;
4354 { /* SCO 3.2v4 cc rejects this. */
4356 char const *s = 0 ? (char *) 0 : (char const *) 0;
4361 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4363 const int *foo = &x[0];
4366 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4367 typedef const int *iptr;
4371 { /* AIX XL C 1.02.0.0 rejects this saying
4372 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4373 struct s { int j; const int *ap[3]; };
4374 struct s *b; b->j = 5;
4376 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4380 return !cs[0] && !zero.x;
4387 rm -f conftest.
$ac_objext
4388 if { (ac_try
="$ac_compile"
4390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4394 (eval "$ac_compile") 2>conftest.er1
4396 grep -v '^ *+' conftest.er1 >conftest.err
4398 cat conftest.err >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } && {
4401 test -z "$ac_c_werror_flag" ||
4402 test ! -s conftest.err
4403 } && test -s conftest.$ac_objext; then
4406 echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.$ac_ext >&5
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4415 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4416 if test $ac_cv_c_const = no; then
4418 cat >>confdefs.h <<\_ACEOF
4424 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4425 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4426 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4427 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 cat >conftest.make <<\_ACEOF
4433 @echo '@@@%%%=$(MAKE)=@@@%%%'
4435 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4436 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4438 eval ac_cv_prog_make_${ac_make}_set=yes;;
4440 eval ac_cv_prog_make_${ac_make}_set=no;;
4444 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4445 { echo "$as_me:$LINENO: result: yes" >&5
4446 echo "${ECHO_T}yes" >&6; }
4449 { echo "$as_me:$LINENO: result: no" >&5
4450 echo "${ECHO_T}no" >&6; }
4451 SET_MAKE="MAKE=${MAKE-make}"
4454 # Find a good install program. We prefer a C program (faster),
4455 # so one script is as good as another. But avoid the broken or
4456 # incompatible versions:
4457 # SysV /etc/install, /usr/sbin/install
4458 # SunOS /usr/etc/install
4459 # IRIX /sbin/install
4461 # AmigaOS /C/install, which installs bootblocks on floppy discs
4462 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4463 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4464 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4465 # OS/2's system install, which has a completely different semantic
4466 # ./install, which can be erroneously created by make from ./install.sh.
4467 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4468 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4469 if test -z "$INSTALL"; then
4470 if test "${ac_cv_path_install+set}" = set; then
4471 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 test -z "$as_dir" && as_dir=.
4478 # Account for people who put trailing slashes in PATH elements.
4480 ./ | .// | /cC/* | \
4481 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4482 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4485 # OSF1 and SCO ODT 3.0 have their own names for install.
4486 # Don't use installbsd from OSF since it installs stuff as root
4488 for ac_prog in ginstall scoinst install; do
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4491 if test $ac_prog = install &&
4492 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4493 # AIX install. It has an incompatible calling convention.
4495 elif test $ac_prog = install &&
4496 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4497 # program-specific install script used by HP pwplus--don't use.
4500 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4513 if test "${ac_cv_path_install+set}" = set; then
4514 INSTALL=$ac_cv_path_install
4516 # As a last resort, use the slow shell script. Don't cache a
4517 # value for INSTALL within a source directory, because that will
4518 # break other packages using the cache if that directory is
4519 # removed, or if the value is a relative name.
4520 INSTALL=$ac_install_sh
4523 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4524 echo "${ECHO_T}$INSTALL" >&6; }
4526 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4527 # It thinks the first close brace ends the variable substitution.
4528 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4530 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4532 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4534 # Extract the first word of "automake", so it can be a program name with args.
4535 set dummy automake; ac_word=$2
4536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4538 if test "${ac_cv_path_AUTOMAKE+set}" = set; then
4539 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 ac_cv_path_AUTOMAKE="$AUTOMAKE" # Let the user override the test with a path.
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553 ac_cv_path_AUTOMAKE="$as_dir/$ac_word$ac_exec_ext"
4554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 AUTOMAKE=$ac_cv_path_AUTOMAKE
4565 if test -n "$AUTOMAKE"; then
4566 { echo "$as_me:$LINENO: result: $AUTOMAKE" >&5
4567 echo "${ECHO_T}$AUTOMAKE" >&6; }
4569 { echo "$as_me:$LINENO: result: no" >&5
4570 echo "${ECHO_T}no" >&6; }
4574 # Extract the first word of "aclocal", so it can be a program name with args.
4575 set dummy aclocal; ac_word=$2
4576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4578 if test "${ac_cv_path_ACLOCAL+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4583 ac_cv_path_ACLOCAL="$ACLOCAL" # Let the user override the test with a path.
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir=.
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_path_ACLOCAL="$as_dir/$ac_word$ac_exec_ext"
4594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 ACLOCAL=$ac_cv_path_ACLOCAL
4605 if test -n "$ACLOCAL"; then
4606 { echo "$as_me:$LINENO: result: $ACLOCAL" >&5
4607 echo "${ECHO_T}$ACLOCAL" >&6; }
4609 { echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6; }
4614 # Extract the first word of "autoheader", so it can be a program name with args.
4615 set dummy autoheader; ac_word=$2
4616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4618 if test "${ac_cv_path_AUTOHEADER+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 ac_cv_path_AUTOHEADER="$AUTOHEADER" # Let the user override the test with a path.
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir=.
4631 for ac_exec_ext in '' $ac_executable_extensions; do
4632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4633 ac_cv_path_AUTOHEADER="$as_dir/$ac_word$ac_exec_ext"
4634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 AUTOHEADER=$ac_cv_path_AUTOHEADER
4645 if test -n "$AUTOHEADER"; then
4646 { echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
4647 echo "${ECHO_T}$AUTOHEADER" >&6; }
4649 { echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6; }
4654 # Extract the first word of "as", so it can be a program name with args.
4655 set dummy as; ac_word=$2
4656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4658 if test "${ac_cv_path_AS+set}" = set; then
4659 echo $ECHO_N "(cached) $ECHO_C" >&6
4663 ac_cv_path_AS="$AS" # Let the user override the test with a path.
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_path_AS="$as_dir/$ac_word$ac_exec_ext"
4674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 if test -n "$AS"; then
4686 { echo "$as_me:$LINENO: result: $AS" >&5
4687 echo "${ECHO_T}$AS" >&6; }
4689 { echo "$as_me:$LINENO: result: no" >&5
4690 echo "${ECHO_T}no" >&6; }
4694 # Extract the first word of "rm", so it can be a program name with args.
4695 set dummy rm; ac_word=$2
4696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4698 if test "${ac_cv_path_RM+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 if test -n "$RM"; then
4726 { echo "$as_me:$LINENO: result: $RM" >&5
4727 echo "${ECHO_T}$RM" >&6; }
4729 { echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6; }
4734 # Extract the first word of "cp", so it can be a program name with args.
4735 set dummy cp; ac_word=$2
4736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4738 if test "${ac_cv_path_CP+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4765 if test -n "$CP"; then
4766 { echo "$as_me:$LINENO: result: $CP" >&5
4767 echo "${ECHO_T}$CP" >&6; }
4769 { echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6; }
4774 # Extract the first word of "mv", so it can be a program name with args.
4775 set dummy mv; ac_word=$2
4776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4778 if test "${ac_cv_path_MV+set}" = set; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir=.
4791 for ac_exec_ext in '' $ac_executable_extensions; do
4792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4793 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 if test -n "$MV"; then
4806 { echo "$as_me:$LINENO: result: $MV" >&5
4807 echo "${ECHO_T}$MV" >&6; }
4809 { echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6; }
4814 # Extract the first word of "ln", so it can be a program name with args.
4815 set dummy ln; ac_word=$2
4816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4818 if test "${ac_cv_path_LN+set}" = set; then
4819 echo $ECHO_N "(cached) $ECHO_C" >&6
4823 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 test -z "$as_dir" && as_dir=.
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4833 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 if test -n "$LN"; then
4846 { echo "$as_me:$LINENO: result: $LN" >&5
4847 echo "${ECHO_T}$LN" >&6; }
4849 { echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6; }
4854 # Extract the first word of "touch", so it can be a program name with args.
4855 set dummy touch; ac_word=$2
4856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4858 if test "${ac_cv_path_TOUCH+set}" = set; then
4859 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir=.
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
4874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 TOUCH=$ac_cv_path_TOUCH
4885 if test -n "$TOUCH"; then
4886 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4887 echo "${ECHO_T}$TOUCH" >&6; }
4889 { echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6; }
4895 ac_cpp='$CPP $CPPFLAGS'
4896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4901 # Check whether --enable-fast-install was given.
4902 if test "${enable_fast_install+set}" = set; then
4903 enableval=$enable_fast_install; p=${PACKAGE-default}
4905 yes) enable_fast_install=yes ;;
4906 no) enable_fast_install=no ;;
4908 enable_fast_install=no
4909 # Look at the argument we got. We use all the common list separators.
4910 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4911 for pkg in $enableval; do
4913 if test "X$pkg" = "X$p"; then
4914 enable_fast_install=yes
4921 enable_fast_install=yes
4925 # Make sure we can run config.sub.
4926 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4927 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4928 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4929 { (exit 1); exit 1; }; }
4931 { echo "$as_me:$LINENO: checking build system type" >&5
4932 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4933 if test "${ac_cv_build+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 ac_build_alias=$build_alias
4937 test "x$ac_build_alias" = x &&
4938 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4939 test "x$ac_build_alias" = x &&
4940 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4941 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4942 { (exit 1); exit 1; }; }
4943 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4946 { (exit 1); exit 1; }; }
4949 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4950 echo "${ECHO_T}$ac_cv_build" >&6; }
4951 case $ac_cv_build in
4953 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4954 echo "$as_me: error: invalid value of canonical build" >&2;}
4955 { (exit 1); exit 1; }; };;
4958 ac_save_IFS=$IFS; IFS='-'
4964 # Remember, the first character of IFS is used to create $*,
4965 # except with old shells:
4968 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4971 { echo "$as_me:$LINENO: checking host system type" >&5
4972 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4973 if test "${ac_cv_host+set}" = set; then
4974 echo $ECHO_N "(cached) $ECHO_C" >&6
4976 if test "x$host_alias" = x; then
4977 ac_cv_host=$ac_cv_build
4979 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4980 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4981 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4982 { (exit 1); exit 1; }; }
4986 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4987 echo "${ECHO_T}$ac_cv_host" >&6; }
4990 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4991 echo "$as_me: error: invalid value of canonical host" >&2;}
4992 { (exit 1); exit 1; }; };;
4995 ac_save_IFS=$IFS; IFS='-'
5001 # Remember, the first character of IFS is used to create $*,
5002 # except with old shells:
5005 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5008 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5009 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5010 if test "${lt_cv_path_SED+set}" = set; then
5011 echo $ECHO_N "(cached) $ECHO_C" >&6
5013 # Loop through the user's path and test for sed and gsed.
5014 # Then use that list of sed's as ones to test for truncation.
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir=.
5020 for lt_ac_prog in sed gsed; do
5021 for ac_exec_ext in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5023 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5031 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5032 # along with /bin/sed that truncates output.
5033 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5034 test ! -f $lt_ac_sed && continue
5035 cat /dev/null > conftest.in
5037 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5038 # Check for GNU sed and select it if it is found.
5039 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5040 lt_cv_path_SED=$lt_ac_sed
5044 cat conftest.in conftest.in >conftest.tmp
5045 mv conftest.tmp conftest.in
5046 cp conftest.in conftest.nl
5048 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5049 cmp -s conftest.out conftest.nl || break
5050 # 10000 chars as input seems more than enough
5051 test $lt_ac_count -gt 10 && break
5052 lt_ac_count=`expr $lt_ac_count + 1`
5053 if test $lt_ac_count -gt $lt_ac_max; then
5054 lt_ac_max=$lt_ac_count
5055 lt_cv_path_SED=$lt_ac_sed
5064 { echo "$as_me:$LINENO: result: $SED" >&5
5065 echo "${ECHO_T}$SED" >&6; }
5068 # Check whether --with-gnu-ld was given.
5069 if test "${with_gnu_ld+set}" = set; then
5070 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5076 if test "$GCC" = yes; then
5077 # Check if gcc -print-prog-name=ld gives a path.
5078 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5079 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5082 # gcc leaves a trailing carriage return which upsets mingw
5083 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
5085 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5088 # Accept absolute paths.
5090 re_direlt='/[^/][^/]*/\.\./'
5091 # Canonicalize the pathname of ld
5092 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5093 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5094 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5096 test -z "$LD" && LD="$ac_prog"
5099 # If it fails, then pretend we aren't using GCC.
5103 # If it is relative, then search for the first ld in PATH.
5107 elif test "$with_gnu_ld" = yes; then
5108 { echo "$as_me:$LINENO: checking for GNU ld" >&5
5109 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5111 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5112 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5114 if test "${lt_cv_path_LD+set}" = set; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 if test -z "$LD"; then
5118 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5119 for ac_dir in $PATH; do
5121 test -z "$ac_dir" && ac_dir=.
5122 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5123 lt_cv_path_LD="$ac_dir/$ac_prog"
5124 # Check to see if the program is GNU ld. I'd rather use --version,
5125 # but apparently some variants of GNU ld only accept -v.
5126 # Break only if it was the GNU/non-GNU ld that we prefer.
5127 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5128 *GNU* | *'with BFD'*)
5129 test "$with_gnu_ld" != no && break
5132 test "$with_gnu_ld" != yes && break
5139 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5144 if test -n "$LD"; then
5145 { echo "$as_me:$LINENO: result: $LD" >&5
5146 echo "${ECHO_T}$LD" >&6; }
5148 { echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6; }
5151 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5152 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5153 { (exit 1); exit 1; }; }
5154 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5155 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5156 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5160 case `$LD -v 2>&1 </dev
/null
` in
5161 *GNU* | *'with BFD'*)
5162 lt_cv_prog_gnu_ld=yes
5165 lt_cv_prog_gnu_ld=no
5169 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5170 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5171 with_gnu_ld=$lt_cv_prog_gnu_ld
5174 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5175 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5176 if test "${lt_cv_ld_reload_flag+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5179 lt_cv_ld_reload_flag='-r'
5181 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5182 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5183 reload_flag=$lt_cv_ld_reload_flag
5184 case $reload_flag in
5186 *) reload_flag=" $reload_flag" ;;
5188 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5191 if test "$GCC" = yes; then
5192 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5194 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5199 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5200 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5201 if test "${lt_cv_path_NM+set}" = set; then
5202 echo $ECHO_N "(cached) $ECHO_C" >&6
5204 if test -n "$NM"; then
5205 # Let the user override the test.
5208 lt_nm_to_check="${ac_tool_prefix}nm"
5209 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5210 lt_nm_to_check="$lt_nm_to_check nm"
5212 for lt_tmp_nm in $lt_nm_to_check; do
5213 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5214 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5216 test -z "$ac_dir" && ac_dir=.
5217 tmp_nm="$ac_dir/$lt_tmp_nm"
5218 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5219 # Check to see if the nm accepts a BSD-compat flag.
5220 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5221 # nm: unknown option "B" ignored
5222 # Tru64's nm complains that
/dev
/null is an invalid object
file
5223 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5224 */dev
/null
* | *'Invalid file or object type'*)
5225 lt_cv_path_NM
="$tmp_nm -B"
5229 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5231 lt_cv_path_NM
="$tmp_nm -p"
5235 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5236 continue # so that we can try to find one that supports BSD flags
5245 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5248 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5249 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5252 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5253 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5255 if test "$LN_S" = "ln -s"; then
5256 { echo "$as_me:$LINENO: result: yes" >&5
5257 echo "${ECHO_T}yes" >&6; }
5259 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5260 echo "${ECHO_T}no, using $LN_S" >&6; }
5263 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5264 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5265 if test "${lt_cv_deplibs_check_method+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5269 lt_cv_file_magic_test_file
=
5270 lt_cv_deplibs_check_method
='unknown'
5271 # Need to set the preceding variable on all platforms that support
5272 # interlibrary dependencies.
5273 # 'none' -- dependencies not supported.
5274 # `unknown' -- same as none, but documents that we really don't know.
5275 # 'pass_all' -- all dependencies passed with no checks.
5276 # 'test_compile' -- check by making test program.
5277 # 'file_magic [[regex]]' -- check by looking for files in library path
5278 # which responds to the $file_magic_cmd with a given extended regex.
5279 # If you have `file' or equivalent on your system and you're not sure
5280 # whether `pass_all' will *always* work, you probably want this one.
5284 lt_cv_deplibs_check_method
=pass_all
5288 lt_cv_deplibs_check_method
=pass_all
5292 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5293 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5294 lt_cv_file_magic_test_file
=/shlib
/libc.so
5298 # func_win32_libid is a shell function defined in ltmain.sh
5299 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5300 lt_cv_file_magic_cmd
='func_win32_libid'
5304 # Base MSYS/MinGW do not provide the 'file' command needed by
5305 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5306 # unless we find 'file', for example because we are cross-compiling.
5307 if ( file / ) >/dev
/null
2>&1; then
5308 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5309 lt_cv_file_magic_cmd
='func_win32_libid'
5311 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5312 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5316 darwin
* | rhapsody
*)
5317 lt_cv_deplibs_check_method
=pass_all
5320 freebsd
* | dragonfly
*)
5321 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
5324 # Not sure whether the presence of OpenBSD here was a mistake.
5325 # Let's accept both of them until this is cleared up.
5326 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5327 lt_cv_file_magic_cmd
=/usr
/bin
/file
5328 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5332 lt_cv_deplibs_check_method
=pass_all
5337 lt_cv_deplibs_check_method
=pass_all
5340 hpux10.20
* | hpux11
*)
5341 lt_cv_file_magic_cmd
=/usr
/bin
/file
5344 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5345 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
5348 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]'
5349 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
5352 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5353 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5359 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5360 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5363 irix5
* | irix6
* | nonstopux
*)
5365 *-32|*"-32 ") libmagic
=32-bit;;
5366 *-n32|*"-n32 ") libmagic
=N32
;;
5367 *-64|*"-64 ") libmagic
=64-bit;;
5368 *) libmagic
=never
-match;;
5370 lt_cv_deplibs_check_method
=pass_all
5373 # This must be Linux ELF.
5374 linux
* | k
*bsd
*-gnu)
5375 lt_cv_deplibs_check_method
=pass_all
5378 netbsd
* | netbsdelf
*-gnu)
5379 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
5380 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5382 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5387 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5388 lt_cv_file_magic_cmd
=/usr
/bin
/file
5389 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5393 lt_cv_deplibs_check_method
=unknown
5397 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5398 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5400 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5404 osf3
* | osf4
* | osf5
*)
5405 lt_cv_deplibs_check_method
=pass_all
5409 lt_cv_deplibs_check_method
=pass_all
5413 lt_cv_deplibs_check_method
=pass_all
5417 case $host_vendor in
5419 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5420 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5423 lt_cv_deplibs_check_method
=pass_all
5426 lt_cv_file_magic_cmd
='/bin/file'
5427 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5430 lt_cv_file_magic_cmd
='/bin/file'
5431 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5432 lt_cv_file_magic_test_file
=/lib
/libc.so
5435 lt_cv_deplibs_check_method
=pass_all
5438 lt_cv_deplibs_check_method
=pass_all
5443 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5444 lt_cv_deplibs_check_method
=pass_all
5449 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5450 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5451 file_magic_cmd
=$lt_cv_file_magic_cmd
5452 deplibs_check_method
=$lt_cv_deplibs_check_method
5453 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5458 # If no C compiler was specified, use CC.
5461 # If no C compiler flags were specified, use CFLAGS.
5462 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5464 # Allow CC to be a program name with arguments.
5467 # Check whether --enable-libtool-lock was given.
5468 if test "${enable_libtool_lock+set}" = set; then
5469 enableval
=$enable_libtool_lock;
5472 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5474 # Some flags need to be propagated to the compiler or linker for good
5478 # Find out which ABI we are using.
5479 echo 'int i;' > conftest.
$ac_ext
5480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5481 (eval $ac_compile) 2>&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); }; then
5485 case `/usr/bin/file conftest.$ac_objext` in
5497 # Find out which ABI we are using.
5498 echo '#line 5498 "configure"' > conftest.
$ac_ext
5499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5500 (eval $ac_compile) 2>&5
5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); }; then
5504 if test "$lt_cv_prog_gnu_ld" = yes; then
5505 case `/usr/bin/file conftest.$ac_objext` in
5507 LD
="${LD-ld} -melf32bsmip"
5510 LD
="${LD-ld} -melf32bmipn32"
5513 LD
="${LD-ld} -melf64bmip"
5517 case `/usr/bin/file conftest.$ac_objext` in
5533 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5534 s390
*-*linux
*|sparc
*-*linux
*)
5535 # Find out which ABI we are using.
5536 echo 'int i;' > conftest.
$ac_ext
5537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5538 (eval $ac_compile) 2>&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); }; then
5542 case `/usr/bin/file conftest.o` in
5545 x86_64
-*kfreebsd
*-gnu)
5546 LD
="${LD-ld} -m elf_i386_fbsd"
5549 LD
="${LD-ld} -m elf_i386"
5551 ppc64
-*linux
*|powerpc64
-*linux
*)
5552 LD
="${LD-ld} -m elf32ppclinux"
5555 LD
="${LD-ld} -m elf_s390"
5558 LD
="${LD-ld} -m elf32_sparc"
5564 x86_64
-*kfreebsd
*-gnu)
5565 LD
="${LD-ld} -m elf_x86_64_fbsd"
5568 LD
="${LD-ld} -m elf_x86_64"
5570 ppc
*-*linux
*|powerpc
*-*linux
*)
5571 LD
="${LD-ld} -m elf64ppc"
5574 LD
="${LD-ld} -m elf64_s390"
5577 LD
="${LD-ld} -m elf64_sparc"
5587 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5588 SAVE_CFLAGS
="$CFLAGS"
5589 CFLAGS
="$CFLAGS -belf"
5590 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5591 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5592 if test "${lt_cv_cc_needs_belf+set}" = set; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 ac_cpp
='$CPP $CPPFLAGS'
5597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5601 cat >conftest.
$ac_ext <<_ACEOF
5604 cat confdefs.h
>>conftest.
$ac_ext
5605 cat >>conftest.
$ac_ext <<_ACEOF
5606 /* end confdefs.h. */
5616 rm -f conftest.
$ac_objext conftest
$ac_exeext
5617 if { (ac_try
="$ac_link"
5619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5620 *) ac_try_echo=$ac_try;;
5622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5623 (eval "$ac_link") 2>conftest.er1
5625 grep -v '^ *+' conftest.er1 >conftest.err
5627 cat conftest.err >&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); } && {
5630 test -z "$ac_c_werror_flag" ||
5631 test ! -s conftest.err
5632 } && test -s conftest$ac_exeext &&
5633 $as_test_x conftest$ac_exeext; then
5634 lt_cv_cc_needs_belf=yes
5636 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.$ac_ext >&5
5639 lt_cv_cc_needs_belf=no
5642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5643 conftest$ac_exeext conftest.$ac_ext
5645 ac_cpp='$CPP $CPPFLAGS'
5646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5651 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5652 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5653 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5654 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5655 CFLAGS="$SAVE_CFLAGS"
5659 # Find out which ABI we are using.
5660 echo 'int i;' > conftest.$ac_ext
5661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5662 (eval $ac_compile) 2>&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); }; then
5666 case `/usr
/bin
/file conftest.o
` in
5668 case $lt_cv_prog_gnu_ld in
5669 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5671 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5685 need_locks="$enable_libtool_lock"
5689 ac_cpp='$CPP $CPPFLAGS'
5690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5693 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5694 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5695 # On Suns, sometimes $CPP names a directory.
5696 if test -n "$CPP" && test -d "$CPP"; then
5699 if test -z "$CPP"; then
5700 if test "${ac_cv_prog_CPP+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 # Double quotes because CPP needs to be expanded
5704 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5707 for ac_c_preproc_warn_flag in '' yes
5709 # Use a header file that comes with gcc, so configuring glibc
5710 # with a fresh cross-compiler works.
5711 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5712 # <limits.h> exists even on freestanding compilers.
5713 # On the NeXT, cc -E runs the code through the compiler's parser,
5714 # not just through cpp. "Syntax error" is here to catch this case.
5715 cat >conftest.$ac_ext <<_ACEOF
5718 cat confdefs.h >>conftest.$ac_ext
5719 cat >>conftest.$ac_ext <<_ACEOF
5720 /* end confdefs.h. */
5722 # include <limits.h>
5724 # include <assert.h>
5728 if { (ac_try="$ac_cpp conftest.$ac_ext"
5730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5731 *) ac_try_echo
=$ac_try;;
5733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5736 grep -v '^ *+' conftest.er1
>conftest.err
5738 cat conftest.err
>&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); } >/dev
/null
&& {
5741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5742 test ! -s conftest.err
5746 echo "$as_me: failed program was:" >&5
5747 sed 's/^/| /' conftest.
$ac_ext >&5
5749 # Broken: fails on valid input.
5753 rm -f conftest.err conftest.
$ac_ext
5755 # OK, works on sane cases. Now check whether nonexistent headers
5756 # can be detected and how.
5757 cat >conftest.
$ac_ext <<_ACEOF
5760 cat confdefs.h
>>conftest.
$ac_ext
5761 cat >>conftest.
$ac_ext <<_ACEOF
5762 /* end confdefs.h. */
5763 #include <ac_nonexistent.h>
5765 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5768 *) ac_try_echo=$ac_try;;
5770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5773 grep -v '^ *+' conftest.er1 >conftest.err
5775 cat conftest.err >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } >/dev/null && {
5778 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5779 test ! -s conftest.err
5781 # Broken: success on invalid input.
5784 echo "$as_me: failed program was:" >&5
5785 sed 's/^/| /' conftest.$ac_ext >&5
5787 # Passes both tests.
5792 rm -f conftest.err conftest.$ac_ext
5795 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5796 rm -f conftest.err conftest.
$ac_ext
5797 if $ac_preproc_ok; then
5809 { echo "$as_me:$LINENO: result: $CPP" >&5
5810 echo "${ECHO_T}$CPP" >&6; }
5812 for ac_c_preproc_warn_flag
in '' yes
5814 # Use a header file that comes with gcc, so configuring glibc
5815 # with a fresh cross-compiler works.
5816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5817 # <limits.h> exists even on freestanding compilers.
5818 # On the NeXT, cc -E runs the code through the compiler's parser,
5819 # not just through cpp. "Syntax error" is here to catch this case.
5820 cat >conftest.
$ac_ext <<_ACEOF
5823 cat confdefs.h
>>conftest.
$ac_ext
5824 cat >>conftest.
$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5827 # include <limits.h>
5829 # include <assert.h>
5833 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5836 *) ac_try_echo=$ac_try;;
5838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5841 grep -v '^ *+' conftest.er1 >conftest.err
5843 cat conftest.err >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } >/dev/null && {
5846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5847 test ! -s conftest.err
5851 echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.$ac_ext >&5
5854 # Broken: fails on valid input.
5858 rm -f conftest.err conftest.$ac_ext
5860 # OK, works on sane cases. Now check whether nonexistent headers
5861 # can be detected and how.
5862 cat >conftest.$ac_ext <<_ACEOF
5865 cat confdefs.h >>conftest.$ac_ext
5866 cat >>conftest.$ac_ext <<_ACEOF
5867 /* end confdefs.h. */
5868 #include <ac_nonexistent.h>
5870 if { (ac_try="$ac_cpp conftest.$ac_ext"
5872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5873 *) ac_try_echo
=$ac_try;;
5875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5878 grep -v '^ *+' conftest.er1
>conftest.err
5880 cat conftest.err
>&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); } >/dev
/null
&& {
5883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5884 test ! -s conftest.err
5886 # Broken: success on invalid input.
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.
$ac_ext >&5
5892 # Passes both tests.
5897 rm -f conftest.err conftest.
$ac_ext
5900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5901 rm -f conftest.err conftest.
$ac_ext
5902 if $ac_preproc_ok; then
5905 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5906 See \`config.log' for more details." >&5
5907 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5908 See \`config.log' for more details." >&2;}
5909 { (exit 1); exit 1; }; }
5913 ac_cpp
='$CPP $CPPFLAGS'
5914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5919 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5920 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5921 if test "${ac_cv_header_stdc+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5924 cat >conftest.
$ac_ext <<_ACEOF
5927 cat confdefs.h
>>conftest.
$ac_ext
5928 cat >>conftest.
$ac_ext <<_ACEOF
5929 /* end confdefs.h. */
5943 rm -f conftest.
$ac_objext
5944 if { (ac_try
="$ac_compile"
5946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5947 *) ac_try_echo=$ac_try;;
5949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950 (eval "$ac_compile") 2>conftest.er1
5952 grep -v '^ *+' conftest.er1 >conftest.err
5954 cat conftest.err >&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } && {
5957 test -z "$ac_c_werror_flag" ||
5958 test ! -s conftest.err
5959 } && test -s conftest.$ac_objext; then
5960 ac_cv_header_stdc=yes
5962 echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.$ac_ext >&5
5965 ac_cv_header_stdc=no
5968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5970 if test $ac_cv_header_stdc = yes; then
5971 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5972 cat >conftest.$ac_ext <<_ACEOF
5975 cat confdefs.h >>conftest.$ac_ext
5976 cat >>conftest.$ac_ext <<_ACEOF
5977 /* end confdefs.h. */
5981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5982 $EGREP "memchr" >/dev/null 2>&1; then
5985 ac_cv_header_stdc=no
5991 if test $ac_cv_header_stdc = yes; then
5992 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5993 cat >conftest.$ac_ext <<_ACEOF
5996 cat confdefs.h >>conftest.$ac_ext
5997 cat >>conftest.$ac_ext <<_ACEOF
5998 /* end confdefs.h. */
6002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6003 $EGREP "free" >/dev/null 2>&1; then
6006 ac_cv_header_stdc=no
6012 if test $ac_cv_header_stdc = yes; then
6013 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6014 if test "$cross_compiling" = yes; then
6017 cat >conftest.$ac_ext <<_ACEOF
6020 cat confdefs.h >>conftest.$ac_ext
6021 cat >>conftest.$ac_ext <<_ACEOF
6022 /* end confdefs.h. */
6025 #if ((' ' & 0x0FF) == 0x020)
6026 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6027 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6029 # define ISLOWER(c) \
6030 (('a' <= (c) && (c) <= 'i') \
6031 || ('j' <= (c) && (c) <= 'r') \
6032 || ('s' <= (c) && (c) <= 'z'))
6033 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6036 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6041 for (i = 0; i < 256; i++)
6042 if (XOR (islower (i), ISLOWER (i))
6043 || toupper (i) != TOUPPER (i))
6048 rm -f conftest$ac_exeext
6049 if { (ac_try="$ac_link"
6051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6052 *) ac_try_echo
=$ac_try;;
6054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6055 (eval "$ac_link") 2>&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6059 { (case "(($ac_try" in
6060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6061 *) ac_try_echo=$ac_try;;
6063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6064 (eval "$ac_try") 2>&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }; }; then
6070 echo "$as_me: program exited with status $ac_status" >&5
6071 echo "$as_me: failed program was:" >&5
6072 sed 's/^/| /' conftest.$ac_ext >&5
6075 ac_cv_header_stdc=no
6077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6083 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6084 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6085 if test $ac_cv_header_stdc = yes; then
6087 cat >>confdefs.h <<\_ACEOF
6088 #define STDC_HEADERS 1
6093 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6103 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6104 inttypes.h stdint.h unistd.h
6106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 cat >conftest.$ac_ext <<_ACEOF
6115 cat confdefs.h >>conftest.$ac_ext
6116 cat >>conftest.$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6118 $ac_includes_default
6120 #include <$ac_header>
6122 rm -f conftest.$ac_objext
6123 if { (ac_try="$ac_compile"
6125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6126 *) ac_try_echo
=$ac_try;;
6128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6129 (eval "$ac_compile") 2>conftest.er1
6131 grep -v '^ *+' conftest.er1
>conftest.err
6133 cat conftest.err
>&5
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); } && {
6136 test -z "$ac_c_werror_flag" ||
6137 test ! -s conftest.err
6138 } && test -s conftest.
$ac_objext; then
6139 eval "$as_ac_Header=yes"
6141 echo "$as_me: failed program was:" >&5
6142 sed 's/^/| /' conftest.
$ac_ext >&5
6144 eval "$as_ac_Header=no"
6147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6149 ac_res
=`eval echo '${'$as_ac_Header'}'`
6150 { echo "$as_me:$LINENO: result: $ac_res" >&5
6151 echo "${ECHO_T}$ac_res" >&6; }
6152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6153 cat >>confdefs.h
<<_ACEOF
6154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6163 for ac_header
in dlfcn.h
6165 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6166 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6169 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 ac_res
=`eval echo '${'$as_ac_Header'}'`
6173 { echo "$as_me:$LINENO: result: $ac_res" >&5
6174 echo "${ECHO_T}$ac_res" >&6; }
6176 # Is the header compilable?
6177 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6179 cat >conftest.
$ac_ext <<_ACEOF
6182 cat confdefs.h
>>conftest.
$ac_ext
6183 cat >>conftest.
$ac_ext <<_ACEOF
6184 /* end confdefs.h. */
6185 $ac_includes_default
6186 #include <$ac_header>
6188 rm -f conftest.
$ac_objext
6189 if { (ac_try
="$ac_compile"
6191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6192 *) ac_try_echo=$ac_try;;
6194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6195 (eval "$ac_compile") 2>conftest.er1
6197 grep -v '^ *+' conftest.er1 >conftest.err
6199 cat conftest.err >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } && {
6202 test -z "$ac_c_werror_flag" ||
6203 test ! -s conftest.err
6204 } && test -s conftest.$ac_objext; then
6205 ac_header_compiler=yes
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.$ac_ext >&5
6210 ac_header_compiler=no
6213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6214 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6215 echo "${ECHO_T}$ac_header_compiler" >&6; }
6217 # Is the header present?
6218 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6220 cat >conftest.$ac_ext <<_ACEOF
6223 cat confdefs.h >>conftest.$ac_ext
6224 cat >>conftest.$ac_ext <<_ACEOF
6225 /* end confdefs.h. */
6226 #include <$ac_header>
6228 if { (ac_try="$ac_cpp conftest.$ac_ext"
6230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6231 *) ac_try_echo
=$ac_try;;
6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6236 grep -v '^ *+' conftest.er1
>conftest.err
6238 cat conftest.err
>&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } >/dev
/null
&& {
6241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6242 test ! -s conftest.err
6244 ac_header_preproc
=yes
6246 echo "$as_me: failed program was:" >&5
6247 sed 's/^/| /' conftest.
$ac_ext >&5
6249 ac_header_preproc
=no
6252 rm -f conftest.err conftest.
$ac_ext
6253 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6254 echo "${ECHO_T}$ac_header_preproc" >&6; }
6256 # So? What about this header?
6257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6263 ac_header_preproc
=yes
6266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6273 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6281 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6283 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 eval "$as_ac_Header=\$ac_header_preproc"
6288 ac_res
=`eval echo '${'$as_ac_Header'}'`
6289 { echo "$as_me:$LINENO: result: $ac_res" >&5
6290 echo "${ECHO_T}$ac_res" >&6; }
6293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6294 cat >>confdefs.h
<<_ACEOF
6295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6303 ac_cpp
='$CXXCPP $CPPFLAGS'
6304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6307 if test -z "$CXX"; then
6308 if test -n "$CCC"; then
6311 if test -n "$ac_tool_prefix"; then
6312 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6314 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6315 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6318 if test "${ac_cv_prog_CXX+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6321 if test -n "$CXX"; then
6322 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir
=.
6329 for ac_exec_ext
in '' $ac_executable_extensions; do
6330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6342 if test -n "$CXX"; then
6343 { echo "$as_me:$LINENO: result: $CXX" >&5
6344 echo "${ECHO_T}$CXX" >&6; }
6346 { echo "$as_me:$LINENO: result: no" >&5
6347 echo "${ECHO_T}no" >&6; }
6351 test -n "$CXX" && break
6354 if test -z "$CXX"; then
6356 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6358 # Extract the first word of "$ac_prog", so it can be a program name with args.
6359 set dummy
$ac_prog; ac_word
=$2
6360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6362 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6363 echo $ECHO_N "(cached) $ECHO_C" >&6
6365 if test -n "$ac_ct_CXX"; then
6366 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6372 test -z "$as_dir" && as_dir
=.
6373 for ac_exec_ext
in '' $ac_executable_extensions; do
6374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6375 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6386 if test -n "$ac_ct_CXX"; then
6387 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6388 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6390 { echo "$as_me:$LINENO: result: no" >&5
6391 echo "${ECHO_T}no" >&6; }
6395 test -n "$ac_ct_CXX" && break
6398 if test "x$ac_ct_CXX" = x
; then
6401 case $cross_compiling:$ac_tool_warned in
6403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6404 whose name does not start with the host triplet. If you think this
6405 configuration is useful to you, please write to autoconf@gnu.org." >&5
6406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6407 whose name does not start with the host triplet. If you think this
6408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6409 ac_tool_warned
=yes ;;
6417 # Provide some information about the compiler.
6418 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6419 ac_compiler
=`set X $ac_compile; echo $2`
6420 { (ac_try
="$ac_compiler --version >&5"
6422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_compiler --version >&5") 2>&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); }
6430 { (ac_try="$ac_compiler -v >&5"
6432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6433 *) ac_try_echo
=$ac_try;;
6435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6436 (eval "$ac_compiler -v >&5") 2>&5
6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6439 (exit $ac_status); }
6440 { (ac_try
="$ac_compiler -V >&5"
6442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6443 *) ac_try_echo=$ac_try;;
6445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6446 (eval "$ac_compiler -V >&5") 2>&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); }
6451 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6452 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6453 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6454 echo $ECHO_N "(cached) $ECHO_C" >&6
6456 cat >conftest.$ac_ext <<_ACEOF
6459 cat confdefs.h >>conftest.$ac_ext
6460 cat >>conftest.$ac_ext <<_ACEOF
6461 /* end confdefs.h. */
6474 rm -f conftest.$ac_objext
6475 if { (ac_try="$ac_compile"
6477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6478 *) ac_try_echo
=$ac_try;;
6480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6481 (eval "$ac_compile") 2>conftest.er1
6483 grep -v '^ *+' conftest.er1
>conftest.err
6485 cat conftest.err
>&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); } && {
6488 test -z "$ac_cxx_werror_flag" ||
6489 test ! -s conftest.err
6490 } && test -s conftest.
$ac_objext; then
6493 echo "$as_me: failed program was:" >&5
6494 sed 's/^/| /' conftest.
$ac_ext >&5
6499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6500 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6503 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6504 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6505 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6506 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6507 ac_save_CXXFLAGS
=$CXXFLAGS
6508 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6509 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6510 if test "${ac_cv_prog_cxx_g+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6513 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6514 ac_cxx_werror_flag
=yes
6517 cat >conftest.
$ac_ext <<_ACEOF
6520 cat confdefs.h
>>conftest.
$ac_ext
6521 cat >>conftest.
$ac_ext <<_ACEOF
6522 /* end confdefs.h. */
6532 rm -f conftest.
$ac_objext
6533 if { (ac_try
="$ac_compile"
6535 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6536 *) ac_try_echo=$ac_try;;
6538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6539 (eval "$ac_compile") 2>conftest.er1
6541 grep -v '^ *+' conftest.er1 >conftest.err
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } && {
6546 test -z "$ac_cxx_werror_flag" ||
6547 test ! -s conftest.err
6548 } && test -s conftest.$ac_objext; then
6549 ac_cv_prog_cxx_g=yes
6551 echo "$as_me: failed program was:" >&5
6552 sed 's/^/| /' conftest.$ac_ext >&5
6555 cat >conftest.$ac_ext <<_ACEOF
6558 cat confdefs.h >>conftest.$ac_ext
6559 cat >>conftest.$ac_ext <<_ACEOF
6560 /* end confdefs.h. */
6570 rm -f conftest.$ac_objext
6571 if { (ac_try="$ac_compile"
6573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6574 *) ac_try_echo
=$ac_try;;
6576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6577 (eval "$ac_compile") 2>conftest.er1
6579 grep -v '^ *+' conftest.er1
>conftest.err
6581 cat conftest.err
>&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); } && {
6584 test -z "$ac_cxx_werror_flag" ||
6585 test ! -s conftest.err
6586 } && test -s conftest.
$ac_objext; then
6589 echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.
$ac_ext >&5
6592 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6594 cat >conftest.
$ac_ext <<_ACEOF
6597 cat confdefs.h
>>conftest.
$ac_ext
6598 cat >>conftest.
$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6609 rm -f conftest.
$ac_objext
6610 if { (ac_try
="$ac_compile"
6612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616 (eval "$ac_compile") 2>conftest.er1
6618 grep -v '^ *+' conftest.er1 >conftest.err
6620 cat conftest.err >&5
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); } && {
6623 test -z "$ac_cxx_werror_flag" ||
6624 test ! -s conftest.err
6625 } && test -s conftest.$ac_objext; then
6626 ac_cv_prog_cxx_g=yes
6628 echo "$as_me: failed program was:" >&5
6629 sed 's/^/| /' conftest.$ac_ext >&5
6634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6641 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6643 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6644 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6645 if test "$ac_test_CXXFLAGS" = set; then
6646 CXXFLAGS=$ac_save_CXXFLAGS
6647 elif test $ac_cv_prog_cxx_g = yes; then
6648 if test "$GXX" = yes; then
6654 if test "$GXX" = yes; then
6661 ac_cpp='$CXXCPP $CPPFLAGS'
6662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6666 depcc="$CXX" am_compiler_list=
6668 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6669 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6670 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6674 # We make a subdir and do the tests there. Otherwise we can end up
6675 # making bogus files that we don't know about and never remove. For
6676 # instance it was reported that on HP-UX the gcc test will end up
6677 # making a dummy file named `D
' -- because `-MD' means
`put the output
6680 # Copy depcomp to subdir because otherwise we won't find it if we're
6681 # using a relative directory.
6682 cp "$am_depcomp" conftest.dir
6684 # We will build objects and dependencies in a subdirectory because
6685 # it helps to detect inapplicable dependency modes. For instance
6686 # both Tru64's cc and ICC support -MD to output dependencies as a
6687 # side effect of compilation, but ICC will put the dependencies in
6688 # the current directory while Tru64 will put them in the object
6692 am_cv_CXX_dependencies_compiler_type=none
6693 if test "$am_compiler_list" = ""; then
6694 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6696 for depmode in $am_compiler_list; do
6697 # Setup a source with many dependencies, because some compilers
6698 # like to wrap large dependency lists on column 80 (with \), and
6699 # we should not choose a depcomp mode which is confused by this.
6701 # We need to recreate these files for each test, as the compiler may
6702 # overwrite some of them when testing with obscure command lines.
6703 # This happens at least with the AIX C compiler.
6705 for i in 1 2 3 4 5 6; do
6706 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6707 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6708 # Solaris 8's
{/usr
,}/bin
/sh.
6709 touch sub
/conftst
$i.h
6711 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6715 # after this tag, mechanisms are not by side-effect, so they'll
6716 # only be used when explicitly requested
6717 if test "x$enable_dependency_tracking" = xyes
; then
6725 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6726 # mode. It turns out that the SunPro C++ compiler does not properly
6727 # handle `-M -o', and we need to detect this.
6728 if depmode
=$depmode \
6729 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6730 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6731 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6732 >/dev
/null
2>conftest.err
&&
6733 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6734 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6735 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6736 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6737 # icc doesn't choke on unknown options, it will just issue warnings
6738 # or remarks (even with -Werror). So we grep stderr for any message
6739 # that says an option was ignored or not supported.
6740 # When given -MP, icc 7.0 and 7.1 complain thusly:
6741 # icc: Command line warning: ignoring option '-M'; no argument required
6742 # The diagnosis changed in icc 8.0:
6743 # icc: Command line remark: option '-MP' not supported
6744 if (grep 'ignoring option' conftest.err
||
6745 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6746 am_cv_CXX_dependencies_compiler_type
=$depmode
6755 am_cv_CXX_dependencies_compiler_type
=none
6759 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6760 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6761 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6764 test "x$enable_dependency_tracking" != xno \
6765 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6766 am__fastdepCXX_TRUE
=
6767 am__fastdepCXX_FALSE
='#'
6769 am__fastdepCXX_TRUE
='#'
6770 am__fastdepCXX_FALSE
=
6776 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6777 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6778 (test "X$CXX" != "Xg++"))) ; then
6780 ac_cpp
='$CXXCPP $CPPFLAGS'
6781 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6782 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6783 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6784 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6785 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6786 if test -z "$CXXCPP"; then
6787 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6788 echo $ECHO_N "(cached) $ECHO_C" >&6
6790 # Double quotes because CXXCPP needs to be expanded
6791 for CXXCPP
in "$CXX -E" "/lib/cpp"
6794 for ac_cxx_preproc_warn_flag
in '' yes
6796 # Use a header file that comes with gcc, so configuring glibc
6797 # with a fresh cross-compiler works.
6798 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6799 # <limits.h> exists even on freestanding compilers.
6800 # On the NeXT, cc -E runs the code through the compiler's parser,
6801 # not just through cpp. "Syntax error" is here to catch this case.
6802 cat >conftest.
$ac_ext <<_ACEOF
6805 cat confdefs.h
>>conftest.
$ac_ext
6806 cat >>conftest.
$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6809 # include <limits.h>
6811 # include <assert.h>
6815 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6818 *) ac_try_echo=$ac_try;;
6820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6823 grep -v '^ *+' conftest.er1 >conftest.err
6825 cat conftest.err >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); } >/dev/null && {
6828 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6829 test ! -s conftest.err
6833 echo "$as_me: failed program was:" >&5
6834 sed 's/^/| /' conftest.$ac_ext >&5
6836 # Broken: fails on valid input.
6840 rm -f conftest.err conftest.$ac_ext
6842 # OK, works on sane cases. Now check whether nonexistent headers
6843 # can be detected and how.
6844 cat >conftest.$ac_ext <<_ACEOF
6847 cat confdefs.h >>conftest.$ac_ext
6848 cat >>conftest.$ac_ext <<_ACEOF
6849 /* end confdefs.h. */
6850 #include <ac_nonexistent.h>
6852 if { (ac_try="$ac_cpp conftest.$ac_ext"
6854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6855 *) ac_try_echo
=$ac_try;;
6857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6860 grep -v '^ *+' conftest.er1
>conftest.err
6862 cat conftest.err
>&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); } >/dev
/null
&& {
6865 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6866 test ! -s conftest.err
6868 # Broken: success on invalid input.
6871 echo "$as_me: failed program was:" >&5
6872 sed 's/^/| /' conftest.
$ac_ext >&5
6874 # Passes both tests.
6879 rm -f conftest.err conftest.
$ac_ext
6882 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6883 rm -f conftest.err conftest.
$ac_ext
6884 if $ac_preproc_ok; then
6889 ac_cv_prog_CXXCPP
=$CXXCPP
6892 CXXCPP
=$ac_cv_prog_CXXCPP
6894 ac_cv_prog_CXXCPP
=$CXXCPP
6896 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6897 echo "${ECHO_T}$CXXCPP" >&6; }
6899 for ac_cxx_preproc_warn_flag
in '' yes
6901 # Use a header file that comes with gcc, so configuring glibc
6902 # with a fresh cross-compiler works.
6903 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6904 # <limits.h> exists even on freestanding compilers.
6905 # On the NeXT, cc -E runs the code through the compiler's parser,
6906 # not just through cpp. "Syntax error" is here to catch this case.
6907 cat >conftest.
$ac_ext <<_ACEOF
6910 cat confdefs.h
>>conftest.
$ac_ext
6911 cat >>conftest.
$ac_ext <<_ACEOF
6912 /* end confdefs.h. */
6914 # include <limits.h>
6916 # include <assert.h>
6920 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6923 *) ac_try_echo=$ac_try;;
6925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6928 grep -v '^ *+' conftest.er1 >conftest.err
6930 cat conftest.err >&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); } >/dev/null && {
6933 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6934 test ! -s conftest.err
6938 echo "$as_me: failed program was:" >&5
6939 sed 's/^/| /' conftest.$ac_ext >&5
6941 # Broken: fails on valid input.
6945 rm -f conftest.err conftest.$ac_ext
6947 # OK, works on sane cases. Now check whether nonexistent headers
6948 # can be detected and how.
6949 cat >conftest.$ac_ext <<_ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 #include <ac_nonexistent.h>
6957 if { (ac_try="$ac_cpp conftest.$ac_ext"
6959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6960 *) ac_try_echo
=$ac_try;;
6962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6965 grep -v '^ *+' conftest.er1
>conftest.err
6967 cat conftest.err
>&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } >/dev
/null
&& {
6970 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6971 test ! -s conftest.err
6973 # Broken: success on invalid input.
6976 echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.
$ac_ext >&5
6979 # Passes both tests.
6984 rm -f conftest.err conftest.
$ac_ext
6987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6988 rm -f conftest.err conftest.
$ac_ext
6989 if $ac_preproc_ok; then
6992 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6993 See \`config.log' for more details." >&5
6994 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6995 See \`config.log' for more details." >&2;}
6996 { (exit 1); exit 1; }; }
7000 ac_cpp
='$CXXCPP $CPPFLAGS'
7001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7009 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7010 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7011 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7012 if test -n "$ac_tool_prefix"; then
7013 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7015 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7016 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7019 if test "${ac_cv_prog_F77+set}" = set; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 if test -n "$F77"; then
7023 ac_cv_prog_F77
="$F77" # Let the user override the test.
7025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir
=.
7030 for ac_exec_ext
in '' $ac_executable_extensions; do
7031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7043 if test -n "$F77"; then
7044 { echo "$as_me:$LINENO: result: $F77" >&5
7045 echo "${ECHO_T}$F77" >&6; }
7047 { echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6; }
7052 test -n "$F77" && break
7055 if test -z "$F77"; then
7057 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7059 # Extract the first word of "$ac_prog", so it can be a program name with args.
7060 set dummy
$ac_prog; ac_word
=$2
7061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7063 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7064 echo $ECHO_N "(cached) $ECHO_C" >&6
7066 if test -n "$ac_ct_F77"; then
7067 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir
=.
7074 for ac_exec_ext
in '' $ac_executable_extensions; do
7075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076 ac_cv_prog_ac_ct_F77
="$ac_prog"
7077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7087 if test -n "$ac_ct_F77"; then
7088 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7089 echo "${ECHO_T}$ac_ct_F77" >&6; }
7091 { echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6; }
7096 test -n "$ac_ct_F77" && break
7099 if test "x$ac_ct_F77" = x
; then
7102 case $cross_compiling:$ac_tool_warned in
7104 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7105 whose name does not start with the host triplet. If you think this
7106 configuration is useful to you, please write to autoconf@gnu.org." >&5
7107 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7108 whose name does not start with the host triplet. If you think this
7109 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7110 ac_tool_warned
=yes ;;
7117 # Provide some information about the compiler.
7118 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7119 ac_compiler
=`set X $ac_compile; echo $2`
7120 { (ac_try
="$ac_compiler --version >&5"
7122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7123 *) ac_try_echo=$ac_try;;
7125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7126 (eval "$ac_compiler --version >&5") 2>&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }
7130 { (ac_try="$ac_compiler -v >&5"
7132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7133 *) ac_try_echo
=$ac_try;;
7135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7136 (eval "$ac_compiler -v >&5") 2>&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); }
7140 { (ac_try
="$ac_compiler -V >&5"
7142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7143 *) ac_try_echo=$ac_try;;
7145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7146 (eval "$ac_compiler -V >&5") 2>&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); }
7152 # If we don't use `.F
' as extension, the preprocessor is not run on the
7153 # input file. (Note that this only needs to work for GNU compilers.)
7156 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7157 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7158 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 cat >conftest.$ac_ext <<_ACEOF
7169 rm -f conftest.$ac_objext
7170 if { (ac_try="$ac_compile"
7172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7173 *) ac_try_echo=$ac_try;;
7175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7176 (eval "$ac_compile") 2>conftest.er1
7178 grep -v '^
*+' conftest.er1 >conftest.err
7180 cat conftest.err >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); } && {
7183 test -z "$ac_f77_werror_flag" ||
7184 test ! -s conftest.err
7185 } && test -s conftest.$ac_objext; then
7188 echo "$as_me: failed program was:" >&5
7189 sed 's
/^
/| /' conftest.$ac_ext >&5
7194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7195 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7198 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7199 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7201 ac_test_FFLAGS=${FFLAGS+set}
7202 ac_save_FFLAGS=$FFLAGS
7204 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7205 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7206 if test "${ac_cv_prog_f77_g+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7210 cat >conftest.$ac_ext <<_ACEOF
7215 rm -f conftest.$ac_objext
7216 if { (ac_try="$ac_compile"
7218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7219 *) ac_try_echo=$ac_try;;
7221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7222 (eval "$ac_compile") 2>conftest.er1
7224 grep -v '^
*+' conftest.er1 >conftest.err
7226 cat conftest.err >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); } && {
7229 test -z "$ac_f77_werror_flag" ||
7230 test ! -s conftest.err
7231 } && test -s conftest.$ac_objext; then
7232 ac_cv_prog_f77_g=yes
7234 echo "$as_me: failed program was:" >&5
7235 sed 's
/^
/| /' conftest.$ac_ext >&5
7240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7243 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7244 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7245 if test "$ac_test_FFLAGS" = set; then
7246 FFLAGS=$ac_save_FFLAGS
7247 elif test $ac_cv_prog_f77_g = yes; then
7248 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7254 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7261 G77=`test $ac_compiler_gnu = yes && echo yes`
7263 ac_cpp='$CPP $CPPFLAGS'
7264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7265 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7270 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
7271 # find the maximum length of command line arguments
7272 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7273 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7274 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7275 echo $ECHO_N "(cached) $ECHO_C" >&6
7282 # On DJGPP, this test can blow up pretty badly due to problems in libc
7283 # (any single argument exceeding 2000 bytes causes a buffer overrun
7284 # during glob expansion). Even if it were fixed, the result of this
7285 # check would be larger than it should be.
7286 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7290 # Under GNU Hurd, this test is not required because there is
7291 # no limit to the length of command line arguments.
7292 # Libtool will interpret -1 as no limit whatsoever
7293 lt_cv_sys_max_cmd_len
=-1;
7297 # On Win9x/ME, this test blows up -- it succeeds, but takes
7298 # about 5 minutes as the teststring grows exponentially.
7299 # Worse, since 9x/ME are not pre-emptively multitasking,
7300 # you end up with a "frozen" computer, even though with patience
7301 # the test eventually succeeds (with a max line length of 256k).
7302 # Instead, let's just punt: use the minimum linelength reported by
7303 # all of the supported platforms: 8192 (on NT/2K/XP).
7304 lt_cv_sys_max_cmd_len
=8192;
7308 # On AmigaOS with pdksh, this test takes hours, literally.
7309 # So we just punt and use a minimum line length of 8192.
7310 lt_cv_sys_max_cmd_len
=8192;
7313 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7314 # This has been around since 386BSD, at least. Likely further.
7315 if test -x /sbin
/sysctl
; then
7316 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7317 elif test -x /usr
/sbin
/sysctl
; then
7318 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7320 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7322 # And add a safety zone
7323 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7324 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7328 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7329 lt_cv_sys_max_cmd_len
=196608
7333 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7334 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7335 # nice to cause kernel panics so lets avoid the loop below.
7336 # First set a reasonable default.
7337 lt_cv_sys_max_cmd_len
=16384
7339 if test -x /sbin
/sysconfig
; then
7340 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7341 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7346 lt_cv_sys_max_cmd_len
=102400
7348 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7349 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7350 if test -n "$kargmax"; then
7351 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7353 lt_cv_sys_max_cmd_len
=32768
7357 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7358 if test -n "$lt_cv_sys_max_cmd_len"; then
7359 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7360 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7362 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7363 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7364 = "XX$teststring") >/dev
/null
2>&1 &&
7365 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
7366 lt_cv_sys_max_cmd_len
=$new_result &&
7367 test $i != 17 # 1/2 MB should be enough
7370 teststring
=$teststring$teststring
7373 # Add a significant safety factor because C++ compilers can tack on massive
7374 # amounts of additional arguments before passing them to the linker.
7375 # It appears as though 1/2 is a usable value.
7376 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7383 if test -n $lt_cv_sys_max_cmd_len ; then
7384 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7385 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7387 { echo "$as_me:$LINENO: result: none" >&5
7388 echo "${ECHO_T}none" >&6; }
7395 # Check for command to grab the raw symbol name followed by C symbol from nm.
7396 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7397 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7398 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7402 # These are sane defaults that work on at least a few old systems.
7403 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7405 # Character class describing NM global symbol codes.
7406 symcode
='[BCDEGRST]'
7408 # Regexp to match symbols that can be accessed directly from C.
7409 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7411 # Transform an extracted symbol line into a proper C declaration
7412 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7414 # Transform an extracted symbol line into symbol name and symbol address
7415 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'"
7417 # Define system-specific variables.
7422 cygwin
* | mingw
* | pw32
*)
7423 symcode
='[ABCDGISTW]'
7425 hpux
*) # Its linker distinguishes data from code symbols
7426 if test "$host_cpu" = ia64
; then
7427 symcode
='[ABCDEGRST]'
7429 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7430 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'"
7432 linux
* | k
*bsd
*-gnu)
7433 if test "$host_cpu" = ia64
; then
7434 symcode
='[ABCDGIRSTW]'
7435 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7436 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'"
7440 symcode
='[BCDEGRST]'
7443 symcode
='[BCDEGQRST]'
7454 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7462 # Handle CRLF in mingw tool chain
7466 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7470 # If we're using GNU nm, then use its standard symbol codes.
7471 case `$NM -V 2>&1` in
7472 *GNU
* | *'with BFD'*)
7473 symcode
='[ABCDGIRSTW]' ;;
7476 # Try without a prefix undercore, then with it.
7477 for ac_symprfx
in "" "_"; do
7479 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7480 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7482 # Write the raw and C identifiers.
7483 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7485 # Check to see that the pipe works correctly.
7489 cat > conftest.
$ac_ext <<EOF
7494 void nm_test_func(){}
7498 int main(){nm_test_var='a';nm_test_func();return(0);}
7501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7502 (eval $ac_compile) 2>&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); }; then
7506 # Now try to grab the symbols.
7508 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7509 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && test -s "$nlist"; then
7513 # Try sorting and uniquifying the output.
7514 if sort "$nlist" | uniq > "$nlist"T
; then
7515 mv -f "$nlist"T
"$nlist"
7520 # Make sure that we snagged all the symbols we need.
7521 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
7522 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
7523 cat <<EOF > conftest.$ac_ext
7529 # Now generate the symbol file.
7530 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7532 cat <<EOF >> conftest.$ac_ext
7533 #if defined (__STDC__) && __STDC__
7534 # define lt_ptr_t void *
7536 # define lt_ptr_t char *
7540 /* The mapping between symbol names and symbols. */
7545 lt_preloaded_symbols[] =
7548 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main
>> conftest.
$ac_ext
7549 cat <<\EOF
>> conftest.
$ac_ext
7557 # Now try linking the two files.
7558 mv conftest.
$ac_objext conftstm.
$ac_objext
7559 lt_save_LIBS
="$LIBS"
7560 lt_save_CFLAGS
="$CFLAGS"
7561 LIBS
="conftstm.$ac_objext"
7562 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7564 (eval $ac_link) 2>&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
7570 LIBS
="$lt_save_LIBS"
7571 CFLAGS
="$lt_save_CFLAGS"
7573 echo "cannot find nm_test_func in $nlist" >&5
7576 echo "cannot find nm_test_var in $nlist" >&5
7579 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7582 echo "$progname: failed program was:" >&5
7583 cat conftest.
$ac_ext >&5
7585 rm -rf conftest
* conftst
*
7587 # Do not use the global_symbol_pipe unless it works.
7588 if test "$pipe_works" = yes; then
7591 lt_cv_sys_global_symbol_pipe
=
7597 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7598 lt_cv_sys_global_symbol_to_cdecl
=
7600 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7601 { echo "$as_me:$LINENO: result: failed" >&5
7602 echo "${ECHO_T}failed" >&6; }
7604 { echo "$as_me:$LINENO: result: ok" >&5
7605 echo "${ECHO_T}ok" >&6; }
7608 { echo "$as_me:$LINENO: checking for objdir" >&5
7609 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7610 if test "${lt_cv_objdir+set}" = set; then
7611 echo $ECHO_N "(cached) $ECHO_C" >&6
7613 rm -f .libs
2>/dev
/null
7614 mkdir .libs
2>/dev
/null
7615 if test -d .libs
; then
7618 # MS-DOS does not allow filenames that begin with a dot.
7621 rmdir .libs
2>/dev
/null
7623 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7624 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7625 objdir
=$lt_cv_objdir
7633 # AIX sometimes has problems with the GCC collect2 program. For some
7634 # reason, if we set the COLLECT_NAMES environment variable, the problems
7635 # vanish in a puff of smoke.
7636 if test "X${COLLECT_NAMES+set}" != Xset
; then
7638 export COLLECT_NAMES
7643 # Sed substitution that helps us do robust quoting. It backslashifies
7644 # metacharacters that are still active within double-quoted strings.
7645 Xsed
='sed -e 1s/^X//'
7646 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
7648 # Same as above, but do not quote variable references.
7649 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
7651 # Sed substitution to delay expansion of an escaped shell variable in a
7652 # double_quote_subst'ed string.
7653 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7655 # Sed substitution to avoid accidental globbing in evaled expressions
7656 no_glob_subst
='s/\*/\\\*/g'
7662 default_ofile
=libtool
7663 can_build_shared
=yes
7665 # All known linkers require a `.a' archive for static linking (except MSVC,
7666 # which needs '.lib').
7668 ltmain
="$ac_aux_dir/ltmain.sh"
7669 ofile
="$default_ofile"
7670 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7672 if test -n "$ac_tool_prefix"; then
7673 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7674 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7677 if test "${ac_cv_prog_AR+set}" = set; then
7678 echo $ECHO_N "(cached) $ECHO_C" >&6
7680 if test -n "$AR"; then
7681 ac_cv_prog_AR
="$AR" # Let the user override the test.
7683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7687 test -z "$as_dir" && as_dir
=.
7688 for ac_exec_ext
in '' $ac_executable_extensions; do
7689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7690 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7701 if test -n "$AR"; then
7702 { echo "$as_me:$LINENO: result: $AR" >&5
7703 echo "${ECHO_T}$AR" >&6; }
7705 { echo "$as_me:$LINENO: result: no" >&5
7706 echo "${ECHO_T}no" >&6; }
7711 if test -z "$ac_cv_prog_AR"; then
7713 # Extract the first word of "ar", so it can be a program name with args.
7714 set dummy
ar; ac_word
=$2
7715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7717 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 if test -n "$ac_ct_AR"; then
7721 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7727 test -z "$as_dir" && as_dir
=.
7728 for ac_exec_ext
in '' $ac_executable_extensions; do
7729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730 ac_cv_prog_ac_ct_AR
="ar"
7731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7741 if test -n "$ac_ct_AR"; then
7742 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7743 echo "${ECHO_T}$ac_ct_AR" >&6; }
7745 { echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6; }
7749 if test "x$ac_ct_AR" = x
; then
7752 case $cross_compiling:$ac_tool_warned in
7754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7755 whose name does not start with the host triplet. If you think this
7756 configuration is useful to you, please write to autoconf@gnu.org." >&5
7757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7758 whose name does not start with the host triplet. If you think this
7759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7760 ac_tool_warned
=yes ;;
7768 if test -n "$ac_tool_prefix"; then
7769 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7770 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7773 if test "${ac_cv_prog_RANLIB+set}" = set; then
7774 echo $ECHO_N "(cached) $ECHO_C" >&6
7776 if test -n "$RANLIB"; then
7777 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7783 test -z "$as_dir" && as_dir
=.
7784 for ac_exec_ext
in '' $ac_executable_extensions; do
7785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7786 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7796 RANLIB
=$ac_cv_prog_RANLIB
7797 if test -n "$RANLIB"; then
7798 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7799 echo "${ECHO_T}$RANLIB" >&6; }
7801 { echo "$as_me:$LINENO: result: no" >&5
7802 echo "${ECHO_T}no" >&6; }
7807 if test -z "$ac_cv_prog_RANLIB"; then
7808 ac_ct_RANLIB
=$RANLIB
7809 # Extract the first word of "ranlib", so it can be a program name with args.
7810 set dummy ranlib
; ac_word
=$2
7811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7813 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7814 echo $ECHO_N "(cached) $ECHO_C" >&6
7816 if test -n "$ac_ct_RANLIB"; then
7817 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7823 test -z "$as_dir" && as_dir
=.
7824 for ac_exec_ext
in '' $ac_executable_extensions; do
7825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7826 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7837 if test -n "$ac_ct_RANLIB"; then
7838 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7839 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7841 { echo "$as_me:$LINENO: result: no" >&5
7842 echo "${ECHO_T}no" >&6; }
7845 if test "x$ac_ct_RANLIB" = x
; then
7848 case $cross_compiling:$ac_tool_warned in
7850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7851 whose name does not start with the host triplet. If you think this
7852 configuration is useful to you, please write to autoconf@gnu.org." >&5
7853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7854 whose name does not start with the host triplet. If you think this
7855 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7856 ac_tool_warned
=yes ;;
7858 RANLIB
=$ac_ct_RANLIB
7861 RANLIB
="$ac_cv_prog_RANLIB"
7864 if test -n "$ac_tool_prefix"; then
7865 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7866 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7869 if test "${ac_cv_prog_STRIP+set}" = set; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7872 if test -n "$STRIP"; then
7873 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7879 test -z "$as_dir" && as_dir
=.
7880 for ac_exec_ext
in '' $ac_executable_extensions; do
7881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7882 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7892 STRIP
=$ac_cv_prog_STRIP
7893 if test -n "$STRIP"; then
7894 { echo "$as_me:$LINENO: result: $STRIP" >&5
7895 echo "${ECHO_T}$STRIP" >&6; }
7897 { echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6; }
7903 if test -z "$ac_cv_prog_STRIP"; then
7905 # Extract the first word of "strip", so it can be a program name with args.
7906 set dummy strip
; ac_word
=$2
7907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7909 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7910 echo $ECHO_N "(cached) $ECHO_C" >&6
7912 if test -n "$ac_ct_STRIP"; then
7913 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7919 test -z "$as_dir" && as_dir
=.
7920 for ac_exec_ext
in '' $ac_executable_extensions; do
7921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7922 ac_cv_prog_ac_ct_STRIP
="strip"
7923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7933 if test -n "$ac_ct_STRIP"; then
7934 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7935 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7937 { echo "$as_me:$LINENO: result: no" >&5
7938 echo "${ECHO_T}no" >&6; }
7941 if test "x$ac_ct_STRIP" = x
; then
7944 case $cross_compiling:$ac_tool_warned in
7946 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7947 whose name does not start with the host triplet. If you think this
7948 configuration is useful to you, please write to autoconf@gnu.org." >&5
7949 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7950 whose name does not start with the host triplet. If you think this
7951 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7952 ac_tool_warned
=yes ;;
7957 STRIP
="$ac_cv_prog_STRIP"
7962 old_CFLAGS
="$CFLAGS"
7964 # Set sane defaults for various variables
7965 test -z "$AR" && AR
=ar
7966 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7967 test -z "$AS" && AS
=as
7968 test -z "$CC" && CC
=cc
7969 test -z "$LTCC" && LTCC
=$CC
7970 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7971 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7972 test -z "$LD" && LD
=ld
7973 test -z "$LN_S" && LN_S
="ln -s"
7974 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7975 test -z "$NM" && NM
=nm
7976 test -z "$SED" && SED
=sed
7977 test -z "$OBJDUMP" && OBJDUMP
=objdump
7978 test -z "$RANLIB" && RANLIB
=:
7979 test -z "$STRIP" && STRIP
=:
7980 test -z "$ac_objext" && ac_objext
=o
7982 # Determine commands to create old-style static archives.
7983 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7984 old_postinstall_cmds
='chmod 644 $oldlib'
7985 old_postuninstall_cmds
=
7987 if test -n "$RANLIB"; then
7990 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7993 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7996 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7999 for cc_temp
in $compiler""; do
8001 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8002 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8007 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8010 # Only perform the check for file, if the check method requires it
8011 case $deplibs_check_method in
8013 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8014 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8015 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8016 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8021 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8024 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8025 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8026 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8027 for ac_dir
in $ac_dummy; do
8029 test -z "$ac_dir" && ac_dir
=.
8030 if test -f $ac_dir/${ac_tool_prefix}file; then
8031 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8032 if test -n "$file_magic_test_file"; then
8033 case $deplibs_check_method in
8035 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8036 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8037 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8038 $EGREP "$file_magic_regex" > /dev
/null
; then
8043 *** Warning: the command libtool uses to detect shared libraries,
8044 *** $file_magic_cmd, produces output that libtool cannot recognize.
8045 *** The result is that libtool may fail to recognize shared libraries
8046 *** as such. This will affect the creation of libtool libraries that
8047 *** depend on shared libraries, but programs linked with such libtool
8048 *** libraries will work regardless of this problem. Nevertheless, you
8049 *** may want to report the problem to your system manager and/or to
8050 *** bug-libtool@gnu.org
8060 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8065 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8066 if test -n "$MAGIC_CMD"; then
8067 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8068 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8070 { echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6; }
8074 if test -z "$lt_cv_path_MAGIC_CMD"; then
8075 if test -n "$ac_tool_prefix"; then
8076 { echo "$as_me:$LINENO: checking for file" >&5
8077 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8078 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8079 echo $ECHO_N "(cached) $ECHO_C" >&6
8083 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8086 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8087 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8088 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8089 for ac_dir
in $ac_dummy; do
8091 test -z "$ac_dir" && ac_dir
=.
8092 if test -f $ac_dir/file; then
8093 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8094 if test -n "$file_magic_test_file"; then
8095 case $deplibs_check_method in
8097 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8098 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8099 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8100 $EGREP "$file_magic_regex" > /dev
/null
; then
8105 *** Warning: the command libtool uses to detect shared libraries,
8106 *** $file_magic_cmd, produces output that libtool cannot recognize.
8107 *** The result is that libtool may fail to recognize shared libraries
8108 *** as such. This will affect the creation of libtool libraries that
8109 *** depend on shared libraries, but programs linked with such libtool
8110 *** libraries will work regardless of this problem. Nevertheless, you
8111 *** may want to report the problem to your system manager and/or to
8112 *** bug-libtool@gnu.org
8122 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8127 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8128 if test -n "$MAGIC_CMD"; then
8129 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8130 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8132 { echo "$as_me:$LINENO: result: no" >&5
8133 echo "${ECHO_T}no" >&6; }
8147 rhapsody
* | darwin
*)
8148 if test -n "$ac_tool_prefix"; then
8149 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8150 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8153 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8154 echo $ECHO_N "(cached) $ECHO_C" >&6
8156 if test -n "$DSYMUTIL"; then
8157 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8163 test -z "$as_dir" && as_dir
=.
8164 for ac_exec_ext
in '' $ac_executable_extensions; do
8165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8166 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8176 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8177 if test -n "$DSYMUTIL"; then
8178 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8179 echo "${ECHO_T}$DSYMUTIL" >&6; }
8181 { echo "$as_me:$LINENO: result: no" >&5
8182 echo "${ECHO_T}no" >&6; }
8187 if test -z "$ac_cv_prog_DSYMUTIL"; then
8188 ac_ct_DSYMUTIL
=$DSYMUTIL
8189 # Extract the first word of "dsymutil", so it can be a program name with args.
8190 set dummy dsymutil
; ac_word
=$2
8191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8193 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8194 echo $ECHO_N "(cached) $ECHO_C" >&6
8196 if test -n "$ac_ct_DSYMUTIL"; then
8197 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8203 test -z "$as_dir" && as_dir
=.
8204 for ac_exec_ext
in '' $ac_executable_extensions; do
8205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8206 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8216 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8217 if test -n "$ac_ct_DSYMUTIL"; then
8218 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8219 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
8221 { echo "$as_me:$LINENO: result: no" >&5
8222 echo "${ECHO_T}no" >&6; }
8225 if test "x$ac_ct_DSYMUTIL" = x
; then
8228 case $cross_compiling:$ac_tool_warned in
8230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8231 whose name does not start with the host triplet. If you think this
8232 configuration is useful to you, please write to autoconf@gnu.org." >&5
8233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8234 whose name does not start with the host triplet. If you think this
8235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8236 ac_tool_warned
=yes ;;
8238 DSYMUTIL
=$ac_ct_DSYMUTIL
8241 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8244 if test -n "$ac_tool_prefix"; then
8245 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8246 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8249 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8250 echo $ECHO_N "(cached) $ECHO_C" >&6
8252 if test -n "$NMEDIT"; then
8253 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8259 test -z "$as_dir" && as_dir
=.
8260 for ac_exec_ext
in '' $ac_executable_extensions; do
8261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8262 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8272 NMEDIT
=$ac_cv_prog_NMEDIT
8273 if test -n "$NMEDIT"; then
8274 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
8275 echo "${ECHO_T}$NMEDIT" >&6; }
8277 { echo "$as_me:$LINENO: result: no" >&5
8278 echo "${ECHO_T}no" >&6; }
8283 if test -z "$ac_cv_prog_NMEDIT"; then
8284 ac_ct_NMEDIT
=$NMEDIT
8285 # Extract the first word of "nmedit", so it can be a program name with args.
8286 set dummy nmedit
; ac_word
=$2
8287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8289 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8290 echo $ECHO_N "(cached) $ECHO_C" >&6
8292 if test -n "$ac_ct_NMEDIT"; then
8293 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8299 test -z "$as_dir" && as_dir
=.
8300 for ac_exec_ext
in '' $ac_executable_extensions; do
8301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8302 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8312 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8313 if test -n "$ac_ct_NMEDIT"; then
8314 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8315 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
8317 { echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6; }
8321 if test "x$ac_ct_NMEDIT" = x
; then
8324 case $cross_compiling:$ac_tool_warned in
8326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8327 whose name does not start with the host triplet. If you think this
8328 configuration is useful to you, please write to autoconf@gnu.org." >&5
8329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8330 whose name does not start with the host triplet. If you think this
8331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8332 ac_tool_warned
=yes ;;
8334 NMEDIT
=$ac_ct_NMEDIT
8337 NMEDIT
="$ac_cv_prog_NMEDIT"
8341 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8342 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
8343 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8344 echo $ECHO_N "(cached) $ECHO_C" >&6
8346 lt_cv_apple_cc_single_mod
=no
8347 if test -z "${LT_MULTI_MODULE}"; then
8348 # By default we will add the -single_module flag. You can override
8349 # by either setting the environment variable LT_MULTI_MODULE
8350 # non-empty at configure time, or by adding -multi_module to the
8352 echo "int foo(void){return 1;}" > conftest.c
8353 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8354 -dynamiclib ${wl}-single_module conftest.c
8355 if test -f libconftest.dylib
; then
8356 lt_cv_apple_cc_single_mod
=yes
8357 rm -rf libconftest.dylib
*
8362 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8363 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8364 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8365 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
8366 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8367 echo $ECHO_N "(cached) $ECHO_C" >&6
8369 lt_cv_ld_exported_symbols_list
=no
8370 save_LDFLAGS
=$LDFLAGS
8371 echo "_main" > conftest.sym
8372 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8373 cat >conftest.
$ac_ext <<_ACEOF
8376 cat confdefs.h
>>conftest.
$ac_ext
8377 cat >>conftest.
$ac_ext <<_ACEOF
8378 /* end confdefs.h. */
8388 rm -f conftest.
$ac_objext conftest
$ac_exeext
8389 if { (ac_try
="$ac_link"
8391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8392 *) ac_try_echo=$ac_try;;
8394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8395 (eval "$ac_link") 2>conftest.er1
8397 grep -v '^ *+' conftest.er1 >conftest.err
8399 cat conftest.err >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } && {
8402 test -z "$ac_c_werror_flag" ||
8403 test ! -s conftest.err
8404 } && test -s conftest$ac_exeext &&
8405 $as_test_x conftest$ac_exeext; then
8406 lt_cv_ld_exported_symbols_list=yes
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 lt_cv_ld_exported_symbols_list=no
8414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8415 conftest$ac_exeext conftest.$ac_ext
8416 LDFLAGS="$save_LDFLAGS"
8419 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8420 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
8422 rhapsody* | darwin1.[0123])
8423 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8425 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8427 # if running on 10.5 or later, the deployment target defaults
8428 # to the OS version, if on x86, and 10.4, the deployment
8429 # target defaults to 10.4. Don't you love it?
8430 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8431 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8432 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8434 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8436 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8440 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8441 _lt_dar_single_mod='$single_module'
8443 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8444 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8446 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
8448 if test "$DSYMUTIL" != ":"; then
8449 _lt_dsymutil="~$DSYMUTIL \$lib || :"
8460 # Check whether --enable-libtool-lock was given.
8461 if test "${enable_libtool_lock+set}" = set; then
8462 enableval=$enable_libtool_lock;
8465 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8468 # Check whether --with-pic was given.
8469 if test "${with_pic+set}" = set; then
8470 withval=$with_pic; pic_mode="$withval"
8475 test -z "$pic_mode" && pic_mode=default
8477 # Use C for the default configuration in the libtool script
8481 ac_cpp='$CPP $CPPFLAGS'
8482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8487 # Source file extension for C test sources.
8490 # Object file extension for compiled C test sources.
8494 # Code to be used in simple compile tests
8495 lt_simple_compile_test_code="int some_variable = 0;"
8497 # Code to be used in simple link tests
8498 lt_simple_link_test_code='int main(){return(0);}'
8501 # If no C compiler was specified, use CC.
8504 # If no C compiler flags were specified, use CFLAGS.
8505 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8507 # Allow CC to be a program name with arguments.
8511 # save warnings/boilerplate of simple test code
8512 ac_outfile=conftest.$ac_objext
8513 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8514 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8515 _lt_compiler_boilerplate=`cat conftest.err
`
8518 ac_outfile=conftest.$ac_objext
8519 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8520 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8521 _lt_linker_boilerplate=`cat conftest.err
`
8526 lt_prog_compiler_no_builtin_flag=
8528 if test "$GCC" = yes; then
8529 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8532 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8533 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8534 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 lt_cv_prog_compiler_rtti_exceptions=no
8538 ac_outfile=conftest.$ac_objext
8539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8540 lt_compiler_flag="-fno-rtti -fno-exceptions"
8541 # Insert the option either (1) after the last *FLAGS variable, or
8542 # (2) before a word containing "conftest.", or (3) at the end.
8543 # Note that $ac_compile itself does not contain backslashes and begins
8544 # with a dollar sign (not a hyphen), so the echo should work correctly.
8545 # The option is referenced via a variable to avoid confusing sed.
8546 lt_compile=`echo "$ac_compile" | $SED \
8547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8549 -e 's:$: $lt_compiler_flag:'`
8550 (eval echo "\"\$as_me:8550: $lt_compile\"" >&5)
8551 (eval "$lt_compile" 2>conftest.err)
8553 cat conftest.err >&5
8554 echo "$as_me:8554: \$? = $ac_status" >&5
8555 if (exit $ac_status) && test -s "$ac_outfile"; then
8556 # The compiler can only warn and ignore the option if not recognized
8557 # So say no if there are warnings other than the usual output.
8558 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8559 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8560 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8561 lt_cv_prog_compiler_rtti_exceptions=yes
8567 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8568 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8570 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8571 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8578 lt_prog_compiler_wl=
8579 lt_prog_compiler_pic=
8580 lt_prog_compiler_static=
8582 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8583 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8585 if test "$GCC" = yes; then
8586 lt_prog_compiler_wl='-Wl,'
8587 lt_prog_compiler_static='-static'
8591 # All AIX code is PIC.
8592 if test "$host_cpu" = ia64; then
8593 # AIX 5 now supports IA64 processor
8594 lt_prog_compiler_static='-Bstatic'
8599 # FIXME: we need at least 68020 code to build shared libraries, but
8600 # adding the `-m68020' flag to GCC prevents building anything better,
8602 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8605 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8606 # PIC is the default for these OSes.
8609 mingw
* | cygwin
* | pw32
* | os2
*)
8610 # This hack is so that the source file can tell whether it is being
8611 # built for inclusion in a dll (and should export symbols for example).
8612 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8613 # (--disable-auto-import) libraries
8614 lt_prog_compiler_pic
='-DDLL_EXPORT'
8617 darwin
* | rhapsody
*)
8618 # PIC is the default on this platform
8619 # Common symbols not allowed in MH_DYLIB files
8620 lt_prog_compiler_pic
='-fno-common'
8624 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8625 # Instead, we relocate shared libraries at runtime.
8629 # Just because we use GCC doesn't mean we suddenly get shared libraries
8630 # on systems that don't support them.
8631 lt_prog_compiler_can_build_shared
=no
8636 if test -d /usr
/nec
; then
8637 lt_prog_compiler_pic
=-Kconform_pic
8642 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8649 lt_prog_compiler_pic
='-fPIC'
8655 lt_prog_compiler_pic
='-fPIC'
8659 # PORTME Check for flag to pass linker flags through the system compiler.
8662 lt_prog_compiler_wl
='-Wl,'
8663 if test "$host_cpu" = ia64
; then
8664 # AIX 5 now supports IA64 processor
8665 lt_prog_compiler_static
='-Bstatic'
8667 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8671 # PIC is the default on this platform
8672 # Common symbols not allowed in MH_DYLIB files
8673 case $cc_basename in
8675 lt_prog_compiler_pic
='-qnocommon'
8676 lt_prog_compiler_wl
='-Wl,'
8681 mingw
* | cygwin
* | pw32
* | os2
*)
8682 # This hack is so that the source file can tell whether it is being
8683 # built for inclusion in a dll (and should export symbols for example).
8684 lt_prog_compiler_pic
='-DDLL_EXPORT'
8687 hpux9
* | hpux10
* | hpux11
*)
8688 lt_prog_compiler_wl
='-Wl,'
8689 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8696 lt_prog_compiler_pic
='+Z'
8699 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8700 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8703 irix5
* | irix6
* | nonstopux
*)
8704 lt_prog_compiler_wl
='-Wl,'
8705 # PIC (with -KPIC) is the default.
8706 lt_prog_compiler_static
='-non_shared'
8710 lt_prog_compiler_pic
='-KPIC'
8711 lt_prog_compiler_static
='-Bstatic'
8714 linux
* | k
*bsd
*-gnu)
8715 case $cc_basename in
8717 lt_prog_compiler_wl
='-Wl,'
8718 lt_prog_compiler_pic
='-KPIC'
8719 lt_prog_compiler_static
='-static'
8721 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8722 # Portland Group compilers (*not* the Pentium gcc compiler,
8723 # which looks to be a dead project)
8724 lt_prog_compiler_wl
='-Wl,'
8725 lt_prog_compiler_pic
='-fpic'
8726 lt_prog_compiler_static
='-Bstatic'
8729 lt_prog_compiler_wl
='-Wl,'
8730 # All Alpha code is PIC.
8731 lt_prog_compiler_static
='-non_shared'
8734 case `$CC -V 2>&1 | sed 5q` in
8737 lt_prog_compiler_pic
='-KPIC'
8738 lt_prog_compiler_static
='-Bstatic'
8739 lt_prog_compiler_wl
='-Wl,'
8742 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8743 lt_prog_compiler_pic
='-KPIC'
8744 lt_prog_compiler_static
='-Bstatic'
8745 lt_prog_compiler_wl
=''
8752 osf3
* | osf4
* | osf5
*)
8753 lt_prog_compiler_wl
='-Wl,'
8754 # All OSF/1 code is PIC.
8755 lt_prog_compiler_static
='-non_shared'
8759 lt_prog_compiler_static
='-non_shared'
8763 lt_prog_compiler_pic
='-KPIC'
8764 lt_prog_compiler_static
='-Bstatic'
8765 case $cc_basename in
8767 lt_prog_compiler_wl
='-Qoption ld ';;
8769 lt_prog_compiler_wl
='-Wl,';;
8774 lt_prog_compiler_wl
='-Qoption ld '
8775 lt_prog_compiler_pic
='-PIC'
8776 lt_prog_compiler_static
='-Bstatic'
8779 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8780 lt_prog_compiler_wl
='-Wl,'
8781 lt_prog_compiler_pic
='-KPIC'
8782 lt_prog_compiler_static
='-Bstatic'
8786 if test -d /usr
/nec
;then
8787 lt_prog_compiler_pic
='-Kconform_pic'
8788 lt_prog_compiler_static
='-Bstatic'
8792 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8793 lt_prog_compiler_wl
='-Wl,'
8794 lt_prog_compiler_pic
='-KPIC'
8795 lt_prog_compiler_static
='-Bstatic'
8799 lt_prog_compiler_wl
='-Wl,'
8800 lt_prog_compiler_can_build_shared
=no
8804 lt_prog_compiler_pic
='-pic'
8805 lt_prog_compiler_static
='-Bstatic'
8809 lt_prog_compiler_can_build_shared
=no
8814 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8815 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8818 # Check to make sure the PIC flag actually works.
8820 if test -n "$lt_prog_compiler_pic"; then
8822 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8823 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8824 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8825 echo $ECHO_N "(cached) $ECHO_C" >&6
8827 lt_cv_prog_compiler_pic_works
=no
8828 ac_outfile
=conftest.
$ac_objext
8829 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8830 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8831 # Insert the option either (1) after the last *FLAGS variable, or
8832 # (2) before a word containing "conftest.", or (3) at the end.
8833 # Note that $ac_compile itself does not contain backslashes and begins
8834 # with a dollar sign (not a hyphen), so the echo should work correctly.
8835 # The option is referenced via a variable to avoid confusing sed.
8836 lt_compile
=`echo "$ac_compile" | $SED \
8837 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8838 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8839 -e 's:$: $lt_compiler_flag:'`
8840 (eval echo "\"\$as_me:8840: $lt_compile\"" >&5)
8841 (eval "$lt_compile" 2>conftest.err
)
8843 cat conftest.err
>&5
8844 echo "$as_me:8844: \$? = $ac_status" >&5
8845 if (exit $ac_status) && test -s "$ac_outfile"; then
8846 # The compiler can only warn and ignore the option if not recognized
8847 # So say no if there are warnings other than the usual output.
8848 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8849 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8850 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8851 lt_cv_prog_compiler_pic_works
=yes
8857 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8858 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8860 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8861 case $lt_prog_compiler_pic in
8863 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8866 lt_prog_compiler_pic
=
8867 lt_prog_compiler_can_build_shared
=no
8872 # For platforms which do not support PIC, -DPIC is meaningless:
8874 lt_prog_compiler_pic
=
8877 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8882 # Check to make sure the static flag actually works.
8884 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8885 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8888 echo $ECHO_N "(cached) $ECHO_C" >&6
8890 lt_cv_prog_compiler_static_works
=no
8891 save_LDFLAGS
="$LDFLAGS"
8892 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8894 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err
; then
8898 # Append any errors to the config.log.
8899 cat conftest.err
1>&5
8900 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8902 if diff conftest.exp conftest.er2
>/dev
/null
; then
8903 lt_cv_prog_compiler_static_works
=yes
8906 lt_cv_prog_compiler_static_works
=yes
8910 LDFLAGS
="$save_LDFLAGS"
8913 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8914 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8916 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8919 lt_prog_compiler_static
=
8923 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8924 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8925 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8928 lt_cv_prog_compiler_c_o
=no
8929 $rm -r conftest
2>/dev
/null
8933 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8935 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8936 # Insert the option either (1) after the last *FLAGS variable, or
8937 # (2) before a word containing "conftest.", or (3) at the end.
8938 # Note that $ac_compile itself does not contain backslashes and begins
8939 # with a dollar sign (not a hyphen), so the echo should work correctly.
8940 lt_compile
=`echo "$ac_compile" | $SED \
8941 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8942 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8943 -e 's:$: $lt_compiler_flag:'`
8944 (eval echo "\"\$as_me:8944: $lt_compile\"" >&5)
8945 (eval "$lt_compile" 2>out
/conftest.err
)
8947 cat out
/conftest.err
>&5
8948 echo "$as_me:8948: \$? = $ac_status" >&5
8949 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8951 # The compiler can only warn and ignore the option if not recognized
8952 # So say no if there are warnings
8953 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
8954 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8955 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8956 lt_cv_prog_compiler_c_o
=yes
8961 # SGI C++ compiler will create directory out/ii_files/ for
8962 # template instantiation
8963 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8964 $rm out
/* && rmdir out
8970 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8971 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8974 hard_links
="nottested"
8975 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8976 # do not overwrite the value of need_locks provided by the user
8977 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8978 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8981 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8983 ln conftest.a conftest.b
2>&5 || hard_links
=no
8984 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8985 { echo "$as_me:$LINENO: result: $hard_links" >&5
8986 echo "${ECHO_T}$hard_links" >&6; }
8987 if test "$hard_links" = no
; then
8988 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8989 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8996 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8997 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9000 allow_undefined_flag
=
9001 enable_shared_with_static_runtimes
=no
9003 archive_expsym_cmds
=
9004 old_archive_From_new_cmds
=
9005 old_archive_from_expsyms_cmds
=
9006 export_dynamic_flag_spec
=
9007 whole_archive_flag_spec
=
9008 thread_safe_flag_spec
=
9009 hardcode_libdir_flag_spec
=
9010 hardcode_libdir_flag_spec_ld
=
9011 hardcode_libdir_separator
=
9014 hardcode_shlibpath_var
=unsupported
9015 link_all_deplibs
=unknown
9016 hardcode_automatic
=no
9019 always_export_symbols
=no
9020 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9021 # include_expsyms should be a list of space-separated symbols to be *always*
9022 # included in the symbol list
9024 # exclude_expsyms can be an extended regexp of symbols to exclude
9025 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9026 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9027 # as well as any symbol that contains `d'.
9028 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9029 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9030 # platforms (ab)use it in PIC code, but their linkers get confused if
9031 # the symbol is explicitly referenced. Since portable code cannot
9032 # rely on this symbol name, it's probably fine to never include it in
9033 # preloaded symbol tables.
9034 # Exclude shared library initialization/finalization symbols.
9035 extract_expsyms_cmds
=
9036 # Just being paranoid about ensuring that cc_basename is set.
9037 for cc_temp
in $compiler""; do
9039 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
9040 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
9045 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9048 cygwin
* | mingw
* | pw32
*)
9049 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9050 # When not using gcc, we currently assume that we are using
9051 # Microsoft Visual C++.
9052 if test "$GCC" != yes; then
9057 # we just hope/assume this is gcc and not c89 (= MSVC++)
9066 if test "$with_gnu_ld" = yes; then
9067 # If archive_cmds runs LD, not CC, wlarc should be empty
9070 # Set some defaults for GNU ld with shared library support. These
9071 # are reset later if shared libraries are not supported. Putting them
9072 # here allows them to be overridden if necessary.
9073 runpath_var
=LD_RUN_PATH
9074 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
9075 export_dynamic_flag_spec
='${wl}--export-dynamic'
9076 # ancient GNU ld didn't support --whole-archive et. al.
9077 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
9078 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9080 whole_archive_flag_spec
=
9082 supports_anon_versioning
=no
9083 case `$LD -v 2>/dev/null` in
9084 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9085 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9086 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9087 *\
2.11.
*) ;; # other 2.11 versions
9088 *) supports_anon_versioning
=yes ;;
9091 # See if GNU ld supports shared libraries.
9094 # On AIX/PPC, the GNU linker is very broken
9095 if test "$host_cpu" != ia64
; then
9099 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9100 *** to be unable to reliably create shared libraries on AIX.
9101 *** Therefore, libtool is disabling shared libraries support. If you
9102 *** really care for shared libraries, you may want to modify your PATH
9103 *** so that a non-GNU linker is found, and then restart.
9110 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)'
9111 hardcode_libdir_flag_spec
='-L$libdir'
9112 hardcode_minus_L
=yes
9114 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9115 # that the semantics of dynamic libraries on AmigaOS, at least up
9116 # to version 4, is to share data among multiple programs linked
9117 # with the same dynamic library. Since this doesn't match the
9118 # behavior of shared libraries on other platforms, we can't use
9124 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9125 allow_undefined_flag
=unsupported
9126 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9127 # support --undefined. This deserves some investigation. FIXME
9128 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9134 cygwin
* | mingw
* | pw32
*)
9135 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9136 # as there is no search path for DLLs.
9137 hardcode_libdir_flag_spec
='-L$libdir'
9138 allow_undefined_flag
=unsupported
9139 always_export_symbols
=no
9140 enable_shared_with_static_runtimes
=yes
9141 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9143 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
9144 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9145 # If the export-symbols file already is a .def file (1st line
9146 # is EXPORTS), use it as is; otherwise, prepend...
9147 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9148 cp $export_symbols $output_objdir/$soname.def;
9150 echo EXPORTS > $output_objdir/$soname.def;
9151 cat $export_symbols >> $output_objdir/$soname.def;
9153 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9161 hardcode_shlibpath_var
=no
9162 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9163 export_dynamic_flag_spec
='${wl}-E'
9164 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9165 # Instead, shared libraries are loaded at an image base (0x10000000 by
9166 # default) and relocated if they conflict, which is a slow very memory
9167 # consuming and fragmenting process. To avoid this, we pick a random,
9168 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9169 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9170 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9171 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'
9174 gnu
* | linux
* | k
*bsd
*-gnu)
9175 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9177 case $cc_basename,$host_cpu in
9178 pgcc
*) # Portland Group C compiler
9179 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'
9180 tmp_addflag
=' $pic_flag'
9182 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9183 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'
9184 tmp_addflag
=' $pic_flag -Mnomain' ;;
9185 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9186 tmp_addflag
=' -i_dynamic' ;;
9187 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9188 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9189 ifc
* | ifort
*) # Intel Fortran compiler
9190 tmp_addflag
=' -nofor_main' ;;
9192 case `$CC -V 2>&1 | sed 5q` in
9193 *Sun\ C
*) # Sun C 5.9
9194 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
9195 tmp_sharedflag
='-G' ;;
9196 *Sun\ F
*) # Sun Fortran 8.3
9197 tmp_sharedflag
='-G' ;;
9199 tmp_sharedflag
='-shared' ;;
9201 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9203 if test $supports_anon_versioning = yes; then
9204 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9205 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9206 $echo "local: *; };" >> $output_objdir/$libname.ver~
9207 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9215 netbsd
* | netbsdelf
*-gnu)
9216 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
9217 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9220 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9221 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9226 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
9230 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9231 *** create shared libraries on Solaris systems. Therefore, libtool
9232 *** is disabling shared libraries support. We urge you to upgrade GNU
9233 *** binutils to release 2.9.1 or newer. Another option is to modify
9234 *** your PATH or compiler configuration so that the native linker is
9235 *** used, and then restart.
9238 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9239 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9240 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9246 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9247 case `$LD -v 2>&1` in
9248 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9252 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9253 *** reliably create shared libraries on SCO systems. Therefore, libtool
9254 *** is disabling shared libraries support. We urge you to upgrade GNU
9255 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9256 *** your PATH or compiler configuration so that the native linker is
9257 *** used, and then restart.
9262 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9263 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9264 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9265 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9274 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9277 hardcode_shlibpath_var
=no
9281 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9282 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9290 if test "$ld_shlibs" = no
; then
9292 hardcode_libdir_flag_spec
=
9293 export_dynamic_flag_spec
=
9294 whole_archive_flag_spec
=
9297 # PORTME fill in a description of your system's linker (not GNU ld)
9300 allow_undefined_flag
=unsupported
9301 always_export_symbols
=yes
9302 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'
9303 # Note: this linker hardcodes the directories in LIBPATH if there
9304 # are no directories specified by -L.
9305 hardcode_minus_L
=yes
9306 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9307 # Neither direct hardcoding nor static linking is supported with a
9309 hardcode_direct
=unsupported
9314 if test "$host_cpu" = ia64
; then
9315 # On IA64, the linker does run time linking by default, so we don't
9316 # have to do anything special.
9317 aix_use_runtimelinking
=no
9318 exp_sym_flag
='-Bexport'
9321 # If we're using GNU nm, then we don't want the "-C" option.
9322 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9323 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
9324 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'
9326 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'
9328 aix_use_runtimelinking
=no
9330 # Test if we are trying to use run time linking or normal
9331 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9332 # need to do runtime linking.
9333 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9334 for ld_flag
in $LDFLAGS; do
9335 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9336 aix_use_runtimelinking
=yes
9343 exp_sym_flag
='-bexport'
9344 no_entry_flag
='-bnoentry'
9347 # When large executables or shared objects are built, AIX ld can
9348 # have problems creating the table of contents. If linking a library
9349 # or program results in "error TOC overflow" add -mminimal-toc to
9350 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9351 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9355 hardcode_libdir_separator
=':'
9356 link_all_deplibs
=yes
9358 if test "$GCC" = yes; then
9359 case $host_os in aix4.
[012]|aix4.
[012].
*)
9360 # We only want to do this on AIX 4.2 and lower, the check
9361 # below for broken collect2 doesn't work under 4.3+
9362 collect2name
=`${CC} -print-prog-name=collect2`
9363 if test -f "$collect2name" && \
9364 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
9366 # We have reworked collect2
9369 # We have old collect2
9370 hardcode_direct
=unsupported
9371 # It fails to find uninstalled libraries when the uninstalled
9372 # path is not listed in the libpath. Setting hardcode_minus_L
9373 # to unsupported forces relinking
9374 hardcode_minus_L
=yes
9375 hardcode_libdir_flag_spec
='-L$libdir'
9376 hardcode_libdir_separator
=
9380 shared_flag
='-shared'
9381 if test "$aix_use_runtimelinking" = yes; then
9382 shared_flag
="$shared_flag "'${wl}-G'
9386 if test "$host_cpu" = ia64
; then
9387 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9388 # chokes on -Wl,-G. The following line is correct:
9391 if test "$aix_use_runtimelinking" = yes; then
9392 shared_flag
='${wl}-G'
9394 shared_flag
='${wl}-bM:SRE'
9399 # It seems that -bexpall does not export symbols beginning with
9400 # underscore (_), so it is better to generate a list of symbols to export.
9401 always_export_symbols
=yes
9402 if test "$aix_use_runtimelinking" = yes; then
9403 # Warning - without using the other runtime loading flags (-brtl),
9404 # -berok will link without error, but may produce a broken library.
9405 allow_undefined_flag
='-berok'
9406 # Determine the default libpath from the value encoded in an empty executable.
9407 cat >conftest.
$ac_ext <<_ACEOF
9410 cat confdefs.h
>>conftest.
$ac_ext
9411 cat >>conftest.
$ac_ext <<_ACEOF
9412 /* end confdefs.h. */
9422 rm -f conftest.
$ac_objext conftest
$ac_exeext
9423 if { (ac_try
="$ac_link"
9425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9426 *) ac_try_echo=$ac_try;;
9428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9429 (eval "$ac_link") 2>conftest.er1
9431 grep -v '^ *+' conftest.er1 >conftest.err
9433 cat conftest.err >&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } && {
9436 test -z "$ac_c_werror_flag" ||
9437 test ! -s conftest.err
9438 } && test -s conftest$ac_exeext &&
9439 $as_test_x conftest$ac_exeext; then
9441 lt_aix_libpath_sed='
9442 /Import File Strings/,/^$/ {
9448 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
9449 # Check for a 64-bit object if we didn't find anything.
9450 if test -z "$aix_libpath"; then
9451 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
9454 echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.$ac_ext >&5
9460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9461 conftest$ac_exeext conftest.$ac_ext
9462 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9464 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9465 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"
9467 if test "$host_cpu" = ia64; then
9468 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9469 allow_undefined_flag="-z nodefs"
9470 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"
9472 # Determine the default libpath from the value encoded in an empty executable.
9473 cat >conftest.$ac_ext <<_ACEOF
9476 cat confdefs.h >>conftest.$ac_ext
9477 cat >>conftest.$ac_ext <<_ACEOF
9478 /* end confdefs.h. */
9488 rm -f conftest.$ac_objext conftest$ac_exeext
9489 if { (ac_try="$ac_link"
9491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9492 *) ac_try_echo
=$ac_try;;
9494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9495 (eval "$ac_link") 2>conftest.er1
9497 grep -v '^ *+' conftest.er1
>conftest.err
9499 cat conftest.err
>&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); } && {
9502 test -z "$ac_c_werror_flag" ||
9503 test ! -s conftest.err
9504 } && test -s conftest
$ac_exeext &&
9505 $as_test_x conftest
$ac_exeext; then
9507 lt_aix_libpath_sed
='
9508 /Import File Strings/,/^$/ {
9514 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9515 # Check for a 64-bit object if we didn't find anything.
9516 if test -z "$aix_libpath"; then
9517 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9520 echo "$as_me: failed program was:" >&5
9521 sed 's/^/| /' conftest.
$ac_ext >&5
9526 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9527 conftest
$ac_exeext conftest.
$ac_ext
9528 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9530 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9531 # Warning - without using the other run time loading flags,
9532 # -berok will link without error, but may produce a broken library.
9533 no_undefined_flag
=' ${wl}-bernotok'
9534 allow_undefined_flag
=' ${wl}-berok'
9535 # Exported symbols can be pulled into shared objects from archives
9536 whole_archive_flag_spec
='$convenience'
9537 archive_cmds_need_lc
=yes
9538 # This is similar to how AIX traditionally builds its shared libraries.
9539 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'
9545 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)'
9546 hardcode_libdir_flag_spec
='-L$libdir'
9547 hardcode_minus_L
=yes
9548 # see comment about different semantics on the GNU ld section
9553 export_dynamic_flag_spec
=-rdynamic
9556 cygwin
* | mingw
* | pw32
*)
9557 # When not using gcc, we currently assume that we are using
9558 # Microsoft Visual C++.
9559 # hardcode_libdir_flag_spec is actually meaningless, as there is
9560 # no search path for DLLs.
9561 hardcode_libdir_flag_spec
=' '
9562 allow_undefined_flag
=unsupported
9563 # Tell ltmain to make .lib files, not .a files.
9565 # Tell ltmain to make .dll files, not .so files.
9567 # FIXME: Setting linknames here is a bad hack.
9568 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9569 # The linker will automatically build a .lib file if we build a DLL.
9570 old_archive_From_new_cmds
='true'
9571 # FIXME: Should let the user specify the lib program.
9572 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9573 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9574 enable_shared_with_static_runtimes
=yes
9577 darwin
* | rhapsody
*)
9579 rhapsody
* | darwin1.
[012])
9580 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9583 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9584 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9586 case ${MACOSX_DEPLOYMENT_TARGET} in
9588 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9591 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9597 archive_cmds_need_lc
=no
9599 hardcode_automatic
=yes
9600 hardcode_shlibpath_var
=unsupported
9601 whole_archive_flag_spec
=''
9602 link_all_deplibs
=yes
9603 if test "$GCC" = yes ; then
9604 output_verbose_link_cmd
='echo'
9605 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9606 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9607 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9608 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9610 case $cc_basename in
9612 output_verbose_link_cmd
='echo'
9613 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9614 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9615 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9616 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9617 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}'
9627 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628 hardcode_libdir_flag_spec
='-L$libdir'
9629 hardcode_shlibpath_var
=no
9636 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9637 # support. Future versions do this automatically, but an explicit c++rt0.o
9638 # does not break anything, and helps significantly (at the cost of a little
9641 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9642 hardcode_libdir_flag_spec
='-R$libdir'
9644 hardcode_shlibpath_var
=no
9647 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9649 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9651 hardcode_minus_L
=yes
9652 hardcode_shlibpath_var
=no
9655 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9656 freebsd
* | dragonfly
*)
9657 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9658 hardcode_libdir_flag_spec
='-R$libdir'
9660 hardcode_shlibpath_var
=no
9664 if test "$GCC" = yes; then
9665 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'
9667 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'
9669 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9670 hardcode_libdir_separator
=:
9673 # hardcode_minus_L: Not really in the search PATH,
9674 # but as the default location of the library.
9675 hardcode_minus_L
=yes
9676 export_dynamic_flag_spec
='${wl}-E'
9680 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9681 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9683 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9685 if test "$with_gnu_ld" = no
; then
9686 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9687 hardcode_libdir_separator
=:
9690 export_dynamic_flag_spec
='${wl}-E'
9692 # hardcode_minus_L: Not really in the search PATH,
9693 # but as the default location of the library.
9694 hardcode_minus_L
=yes
9699 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9702 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9705 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9708 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9714 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9724 if test "$with_gnu_ld" = no
; then
9725 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9726 hardcode_libdir_separator
=:
9730 hardcode_libdir_flag_spec_ld
='+b $libdir'
9732 hardcode_shlibpath_var
=no
9736 export_dynamic_flag_spec
='${wl}-E'
9738 # hardcode_minus_L: Not really in the search PATH,
9739 # but as the default location of the library.
9740 hardcode_minus_L
=yes
9746 irix5
* | irix6
* | nonstopux
*)
9747 if test "$GCC" = yes; then
9748 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'
9750 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'
9751 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9753 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9754 hardcode_libdir_separator
=:
9755 link_all_deplibs
=yes
9758 netbsd
* | netbsdelf
*-gnu)
9759 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
9760 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9762 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9764 hardcode_libdir_flag_spec
='-R$libdir'
9766 hardcode_shlibpath_var
=no
9770 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9772 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9773 hardcode_libdir_separator
=:
9774 hardcode_shlibpath_var
=no
9778 if test -f /usr
/libexec
/ld.so
; then
9780 hardcode_shlibpath_var
=no
9781 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9782 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9783 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9784 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9785 export_dynamic_flag_spec
='${wl}-E'
9788 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9789 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9790 hardcode_libdir_flag_spec
='-R$libdir'
9793 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9794 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9804 hardcode_libdir_flag_spec
='-L$libdir'
9805 hardcode_minus_L
=yes
9806 allow_undefined_flag
=unsupported
9807 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'
9808 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9812 if test "$GCC" = yes; then
9813 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9814 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'
9816 allow_undefined_flag
=' -expect_unresolved \*'
9817 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'
9819 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9820 hardcode_libdir_separator
=:
9823 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9824 if test "$GCC" = yes; then
9825 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9826 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'
9827 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9829 allow_undefined_flag
=' -expect_unresolved \*'
9830 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'
9831 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9832 $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'
9834 # Both c and cxx compiler support -rpath directly
9835 hardcode_libdir_flag_spec
='-rpath $libdir'
9837 hardcode_libdir_separator
=:
9841 no_undefined_flag
=' -z text'
9842 if test "$GCC" = yes; then
9844 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9845 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9846 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9849 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9851 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9853 hardcode_libdir_flag_spec
='-R$libdir'
9854 hardcode_shlibpath_var
=no
9856 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9858 # The compiler driver will combine and reorder linker options,
9859 # but understands `-z linker_flag'. GCC discards it without `$wl',
9860 # but is careful enough not to reorder.
9861 # Supported since Solaris 2.6 (maybe 2.5.1?)
9862 if test "$GCC" = yes; then
9863 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9865 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9869 link_all_deplibs
=yes
9873 if test "x$host_vendor" = xsequent
; then
9874 # Use $CC to link under sequent, because it throws in some extra .o
9875 # files that make .init and .fini sections work.
9876 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9880 hardcode_libdir_flag_spec
='-L$libdir'
9882 hardcode_minus_L
=yes
9883 hardcode_shlibpath_var
=no
9887 case $host_vendor in
9889 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9890 hardcode_direct
=yes # is this really true???
9893 ## LD is ld it makes a PLAMLIB
9894 ## CC just makes a GrossModule.
9895 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9896 reload_cmds
='$CC -r -o $output$reload_objs'
9900 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9901 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9904 runpath_var
='LD_RUN_PATH'
9905 hardcode_shlibpath_var
=no
9909 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9910 hardcode_shlibpath_var
=no
9911 export_dynamic_flag_spec
='-Bexport'
9915 if test -d /usr
/nec
; then
9916 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9917 hardcode_shlibpath_var
=no
9918 runpath_var
=LD_RUN_PATH
9919 hardcode_runpath_var
=yes
9924 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9925 no_undefined_flag
='${wl}-z,text'
9926 archive_cmds_need_lc
=no
9927 hardcode_shlibpath_var
=no
9928 runpath_var
='LD_RUN_PATH'
9930 if test "$GCC" = yes; then
9931 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 sysv5
* | sco3.2v5
* | sco5v6
*)
9940 # Note: We can NOT use -z defs as we might desire, because we do not
9941 # link with -lc, and that would cause any symbols used from libc to
9942 # always be unresolved, which means just about no library would
9943 # ever link correctly. If we're not using GNU ld we use -z text
9944 # though, which does catch some bad symbols but isn't as heavy-handed
9946 no_undefined_flag
='${wl}-z,text'
9947 allow_undefined_flag
='${wl}-z,nodefs'
9948 archive_cmds_need_lc
=no
9949 hardcode_shlibpath_var
=no
9950 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9951 hardcode_libdir_separator
=':'
9952 link_all_deplibs
=yes
9953 export_dynamic_flag_spec
='${wl}-Bexport'
9954 runpath_var
='LD_RUN_PATH'
9956 if test "$GCC" = yes; then
9957 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9958 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9960 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9967 hardcode_libdir_flag_spec
='-L$libdir'
9968 hardcode_shlibpath_var
=no
9977 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9978 echo "${ECHO_T}$ld_shlibs" >&6; }
9979 test "$ld_shlibs" = no
&& can_build_shared
=no
9982 # Do we need to explicitly link libc?
9984 case "x$archive_cmds_need_lc" in
9986 # Assume -lc should be added
9987 archive_cmds_need_lc
=yes
9989 if test "$enable_shared" = yes && test "$GCC" = yes; then
9990 case $archive_cmds in
9992 # FIXME: we may have to deal with multi-command sequences.
9995 # Test whether the compiler implicitly links with -lc since on some
9996 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9997 # to ld, don't add -lc before -lgcc.
9998 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9999 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10001 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10004 (eval $ac_compile) 2>&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); } 2>conftest.err
; then
10010 libobjs
=conftest.
$ac_objext
10012 wl
=$lt_prog_compiler_wl
10013 pic_flag
=$lt_prog_compiler_pic
10019 lt_save_allow_undefined_flag
=$allow_undefined_flag
10020 allow_undefined_flag
=
10021 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10022 (eval $archive_cmds 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); }
10027 archive_cmds_need_lc
=no
10029 archive_cmds_need_lc
=yes
10031 allow_undefined_flag
=$lt_save_allow_undefined_flag
10033 cat conftest.err
1>&5
10036 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10037 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10044 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10045 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10046 library_names_spec
=
10047 libname_spec
='lib$name'
10051 postuninstall_cmds
=
10055 shlibpath_overrides_runpath
=unknown
10057 dynamic_linker
="$host_os ld.so"
10058 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10060 if test "$GCC" = yes; then
10062 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10063 *) lt_awk_arg
="/^libraries:/" ;;
10065 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10066 if echo "$lt_search_path_spec" | grep ';' >/dev
/null
; then
10067 # if the path contains ";" then we assume it to be the separator
10068 # otherwise default to the standard path separator (i.e. ":") - it is
10069 # assumed that no part of a normal pathname contains ";" but that should
10070 # okay in the real world where ";" in dirpaths is itself problematic.
10071 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10073 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10075 # Ok, now we have the path, separated by spaces, we can step through it
10076 # and add multilib dir if necessary.
10077 lt_tmp_lt_search_path_spec
=
10078 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10079 for lt_sys_path
in $lt_search_path_spec; do
10080 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10081 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10083 test -d "$lt_sys_path" && \
10084 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10087 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
10088 BEGIN {RS=" "; FS="/|\n";} {
10091 for (lt_i = NF; lt_i > 0; lt_i--) {
10092 if ($lt_i != "" && $lt_i != ".") {
10093 if ($lt_i == "..") {
10096 if (lt_count == 0) {
10097 lt_foo="/" $lt_i lt_foo;
10104 if (lt_foo != "") { lt_freq[lt_foo]++; }
10105 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10107 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
10109 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10111 need_lib_prefix
=unknown
10112 hardcode_into_libs
=no
10114 # when you set need_version to no, make sure it does not cause -set_version
10115 # flags to be left without arguments
10116 need_version
=unknown
10121 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10122 shlibpath_var
=LIBPATH
10124 # AIX 3 has no versioning support, so we append a major version to the name.
10125 soname_spec
='${libname}${release}${shared_ext}$major'
10132 hardcode_into_libs
=yes
10133 if test "$host_cpu" = ia64
; then
10134 # AIX 5 supports IA64
10135 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10136 shlibpath_var
=LD_LIBRARY_PATH
10138 # With GCC up to 2.95.x, collect2 would create an import file
10139 # for dependence libraries. The import file would start with
10140 # the line `#! .'. This would cause the generated library to
10141 # depend on `.', always an invalid library. This was fixed in
10142 # development snapshots of GCC prior to 3.0.
10144 aix4
| aix4.
[01] | aix4.
[01].
*)
10145 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10147 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
10150 can_build_shared
=no
10154 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10155 # soname into executable. Probably we can add versioning support to
10156 # collect2, so additional links can be useful in future.
10157 if test "$aix_use_runtimelinking" = yes; then
10158 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10159 # instead of lib<name>.a to let people know that these are not
10160 # typical AIX shared libraries.
10161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163 # We preserve .a as extension for shared libraries through AIX4.2
10164 # and later when we are not doing run time linking.
10165 library_names_spec
='${libname}${release}.a $libname.a'
10166 soname_spec
='${libname}${release}${shared_ext}$major'
10168 shlibpath_var
=LIBPATH
10173 library_names_spec
='$libname.ixlibrary $libname.a'
10174 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10175 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'
10179 library_names_spec
='${libname}${shared_ext}'
10180 dynamic_linker
="$host_os ld.so"
10181 shlibpath_var
=LIBRARY_PATH
10187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10188 soname_spec
='${libname}${release}${shared_ext}$major'
10189 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10190 shlibpath_var
=LD_LIBRARY_PATH
10191 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10192 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10193 # the default ld.so.conf also contains /usr/contrib/lib and
10194 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10195 # libtool to hard-code these into programs
10198 cygwin
* | mingw
* | pw32
*)
10199 version_type
=windows
10204 case $GCC,$host_os in
10205 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
10206 library_names_spec
='$libname.dll.a'
10207 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10208 postinstall_cmds
='base_file=`basename \${file}`~
10209 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10210 dldir=$destdir/`dirname \$dlpath`~
10211 test -d \$dldir || mkdir -p \$dldir~
10212 $install_prog $dir/$dlname \$dldir/$dlname~
10213 chmod a+x \$dldir/$dlname'
10214 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10215 dlpath=$dir/\$dldll~
10217 shlibpath_overrides_runpath
=yes
10221 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10222 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10223 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10226 # MinGW DLLs use traditional 'lib' prefix
10227 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10228 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10229 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
10230 # It is most probably a Windows format PATH printed by
10231 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10232 # path with ; separators, and with drive letters. We can handle the
10233 # drive letters (cygwin fileutils understands them), so leave them,
10234 # especially as we might pass files found there to a mingw objdump,
10235 # which wouldn't understand a cygwinified path. Ahh.
10236 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10238 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10242 # pw32 DLLs use 'pw' prefix rather than 'lib'
10243 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10249 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10252 dynamic_linker
='Win32 ld.exe'
10253 # FIXME: first we should search . and the directory the executable is in
10257 darwin
* | rhapsody
*)
10258 dynamic_linker
="$host_os dyld"
10259 version_type
=darwin
10262 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10263 soname_spec
='${libname}${release}${major}$shared_ext'
10264 shlibpath_overrides_runpath
=yes
10265 shlibpath_var
=DYLD_LIBRARY_PATH
10266 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10268 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10269 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10277 soname_spec
='${libname}${release}${shared_ext}$major'
10278 shlibpath_var
=LD_LIBRARY_PATH
10285 freebsd
* | dragonfly
*)
10286 # DragonFly does not have aout. When/if they implement a new
10287 # versioning mechanism, adjust this.
10288 if test -x /usr
/bin
/objformat
; then
10289 objformat
=`/usr/bin/objformat`
10292 freebsd
[123]*) objformat
=aout
;;
10293 *) objformat
=elf
;;
10296 version_type
=freebsd
-$objformat
10297 case $version_type in
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10308 shlibpath_var
=LD_LIBRARY_PATH
10311 shlibpath_overrides_runpath
=yes
10313 freebsd3.
[01]* | freebsdelf3.
[01]*)
10314 shlibpath_overrides_runpath
=yes
10315 hardcode_into_libs
=yes
10317 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10318 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10319 shlibpath_overrides_runpath
=no
10320 hardcode_into_libs
=yes
10322 *) # from 4.6 on, and DragonFly
10323 shlibpath_overrides_runpath
=yes
10324 hardcode_into_libs
=yes
10333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10334 soname_spec
='${libname}${release}${shared_ext}$major'
10335 shlibpath_var
=LD_LIBRARY_PATH
10336 hardcode_into_libs
=yes
10339 hpux9
* | hpux10
* | hpux11
*)
10340 # Give a soname corresponding to the major version so that dld.sl refuses to
10341 # link against other versions.
10348 hardcode_into_libs
=yes
10349 dynamic_linker
="$host_os dld.so"
10350 shlibpath_var
=LD_LIBRARY_PATH
10351 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10353 soname_spec
='${libname}${release}${shared_ext}$major'
10354 if test "X$HPUX_IA64_MODE" = X32
; then
10355 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10357 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10359 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10363 hardcode_into_libs
=yes
10364 dynamic_linker
="$host_os dld.sl"
10365 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10366 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10368 soname_spec
='${libname}${release}${shared_ext}$major'
10369 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10370 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10374 dynamic_linker
="$host_os dld.sl"
10375 shlibpath_var
=SHLIB_PATH
10376 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10378 soname_spec
='${libname}${release}${shared_ext}$major'
10381 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10382 postinstall_cmds
='chmod 555 $lib'
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10391 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10392 shlibpath_var
=LD_LIBRARY_PATH
10393 shlibpath_overrides_runpath
=no
10394 hardcode_into_libs
=yes
10397 irix5
* | irix6
* | nonstopux
*)
10399 nonstopux
*) version_type
=nonstopux
;;
10401 if test "$lt_cv_prog_gnu_ld" = yes; then
10409 soname_spec
='${libname}${release}${shared_ext}$major'
10410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10412 irix5
* | nonstopux
*)
10413 libsuff
= shlibsuff
=
10416 case $LD in # libtool.m4 will add one of these switches to LD
10417 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10418 libsuff
= shlibsuff
= libmagic
=32-bit;;
10419 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10420 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10421 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10422 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10423 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
10427 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10428 shlibpath_overrides_runpath
=no
10429 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10430 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10431 hardcode_into_libs
=yes
10434 # No shared lib support for Linux oldld, aout, or coff.
10435 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10439 # This must be Linux ELF.
10440 linux
* | k
*bsd
*-gnu)
10444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 soname_spec
='${libname}${release}${shared_ext}$major'
10446 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10447 shlibpath_var
=LD_LIBRARY_PATH
10448 shlibpath_overrides_runpath
=no
10449 # This implies no fast_install, which is unacceptable.
10450 # Some rework will be needed to allow for fast_install
10451 # before this can be enabled.
10452 hardcode_into_libs
=yes
10454 # Append ld.so.conf contents to the search path
10455 if test -f /etc
/ld.so.conf
; then
10456 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10457 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10460 # We used to test for /lib/ld.so.1 and disable shared libraries on
10461 # powerpc, because MkLinux only supported shared libraries with the
10462 # GNU dynamic linker. Since this was broken with cross compilers,
10463 # most powerpc-linux boxes support dynamic linking these days and
10464 # people can always --disable-shared, the test was removed, and we
10465 # assume the GNU/Linux dynamic linker is in use.
10466 dynamic_linker
='GNU/Linux ld.so'
10473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10474 soname_spec
='${libname}${release}${shared_ext}$major'
10475 shlibpath_var
=LD_LIBRARY_PATH
10476 shlibpath_overrides_runpath
=no
10477 hardcode_into_libs
=yes
10478 dynamic_linker
='NetBSD ld.elf_so'
10485 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
10486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10487 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10488 dynamic_linker
='NetBSD (a.out) ld.so'
10490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10491 soname_spec
='${libname}${release}${shared_ext}$major'
10492 dynamic_linker
='NetBSD ld.elf_so'
10494 shlibpath_var
=LD_LIBRARY_PATH
10495 shlibpath_overrides_runpath
=yes
10496 hardcode_into_libs
=yes
10501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502 shlibpath_var
=LD_LIBRARY_PATH
10503 shlibpath_overrides_runpath
=yes
10510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511 soname_spec
='${libname}${release}${shared_ext}$major'
10512 shlibpath_var
=LD_LIBRARY_PATH
10513 shlibpath_overrides_runpath
=yes
10518 sys_lib_dlsearch_path_spec
="/usr/lib"
10520 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10522 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
10523 *) need_version
=no
;;
10525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10526 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10527 shlibpath_var
=LD_LIBRARY_PATH
10528 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10530 openbsd2.
[89] | openbsd2.
[89].
*)
10531 shlibpath_overrides_runpath
=no
10534 shlibpath_overrides_runpath
=yes
10538 shlibpath_overrides_runpath
=yes
10543 libname_spec
='$name'
10546 library_names_spec
='$libname${shared_ext} $libname.a'
10547 dynamic_linker
='OS/2 ld.exe'
10548 shlibpath_var
=LIBPATH
10551 osf3
* | osf4
* | osf5
*)
10555 soname_spec
='${libname}${release}${shared_ext}$major'
10556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10557 shlibpath_var
=LD_LIBRARY_PATH
10558 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10559 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10571 soname_spec
='${libname}${release}${shared_ext}$major'
10572 shlibpath_var
=LD_LIBRARY_PATH
10573 shlibpath_overrides_runpath
=yes
10574 hardcode_into_libs
=yes
10575 # ldd complains unless libraries are executable
10576 postinstall_cmds
='chmod +x $lib'
10581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10582 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10583 shlibpath_var
=LD_LIBRARY_PATH
10584 shlibpath_overrides_runpath
=yes
10585 if test "$with_gnu_ld" = yes; then
10593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10594 soname_spec
='${libname}${release}${shared_ext}$major'
10595 shlibpath_var
=LD_LIBRARY_PATH
10596 case $host_vendor in
10598 shlibpath_overrides_runpath
=no
10600 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10601 runpath_var
=LD_RUN_PATH
10609 shlibpath_overrides_runpath
=no
10610 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10616 if test -d /usr
/nec
;then
10618 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10619 soname_spec
='$libname${shared_ext}.$major'
10620 shlibpath_var
=LD_LIBRARY_PATH
10624 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10625 version_type
=freebsd
-elf
10628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629 soname_spec
='${libname}${release}${shared_ext}$major'
10630 shlibpath_var
=LD_LIBRARY_PATH
10631 hardcode_into_libs
=yes
10632 if test "$with_gnu_ld" = yes; then
10633 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10634 shlibpath_overrides_runpath
=no
10636 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10637 shlibpath_overrides_runpath
=yes
10640 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10644 sys_lib_dlsearch_path_spec
='/usr/lib'
10649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650 soname_spec
='${libname}${release}${shared_ext}$major'
10651 shlibpath_var
=LD_LIBRARY_PATH
10658 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10659 echo "${ECHO_T}$dynamic_linker" >&6; }
10660 test "$dynamic_linker" = no
&& can_build_shared
=no
10662 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
10668 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10669 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10670 echo $ECHO_N "(cached) $ECHO_C" >&6
10672 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
10675 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10677 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10678 if test "$GCC" = yes; then
10679 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10682 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10683 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10685 if test -n "$hardcode_libdir_flag_spec" || \
10686 test -n "$runpath_var" || \
10687 test "X$hardcode_automatic" = "Xyes" ; then
10689 # We can hardcode non-existant directories.
10690 if test "$hardcode_direct" != no
&&
10691 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10692 # have to relink, otherwise we might link with an installed library
10693 # when we should be linking with a yet-to-be-installed one
10694 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10695 test "$hardcode_minus_L" != no
; then
10696 # Linking always hardcodes the temporary library directory.
10697 hardcode_action
=relink
10699 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10700 hardcode_action
=immediate
10703 # We cannot hardcode anything, or else we can only hardcode existing
10705 hardcode_action
=unsupported
10707 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10708 echo "${ECHO_T}$hardcode_action" >&6; }
10710 if test "$hardcode_action" = relink
; then
10711 # Fast installation is not supported
10712 enable_fast_install
=no
10713 elif test "$shlibpath_overrides_runpath" = yes ||
10714 test "$enable_shared" = no
; then
10715 # Fast installation is not necessary
10716 enable_fast_install
=needless
10721 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10722 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10723 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev
/null
; then
10724 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10725 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10726 { echo "$as_me:$LINENO: result: yes" >&5
10727 echo "${ECHO_T}yes" >&6; }
10729 # FIXME - insert some real tests, host_os isn't really good enough
10732 if test -n "$STRIP" ; then
10733 striplib
="$STRIP -x"
10734 old_striplib
="$STRIP -S"
10735 { echo "$as_me:$LINENO: result: yes" >&5
10736 echo "${ECHO_T}yes" >&6; }
10738 { echo "$as_me:$LINENO: result: no" >&5
10739 echo "${ECHO_T}no" >&6; }
10743 { echo "$as_me:$LINENO: result: no" >&5
10744 echo "${ECHO_T}no" >&6; }
10749 if test "x$enable_dlopen" != xyes
; then
10750 enable_dlopen
=unknown
10751 enable_dlopen_self
=unknown
10752 enable_dlopen_self_static
=unknown
10759 lt_cv_dlopen
="load_add_on"
10761 lt_cv_dlopen_self
=yes
10765 lt_cv_dlopen
="LoadLibrary"
10770 lt_cv_dlopen
="dlopen"
10775 # if libdl is installed we need to link against it
10776 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10777 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10778 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10779 echo $ECHO_N "(cached) $ECHO_C" >&6
10781 ac_check_lib_save_LIBS
=$LIBS
10783 cat >conftest.
$ac_ext <<_ACEOF
10786 cat confdefs.h
>>conftest.
$ac_ext
10787 cat >>conftest.
$ac_ext <<_ACEOF
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10805 rm -f conftest.
$ac_objext conftest
$ac_exeext
10806 if { (ac_try
="$ac_link"
10807 case "(($ac_try" in
10808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10809 *) ac_try_echo=$ac_try;;
10811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10812 (eval "$ac_link") 2>conftest.er1
10814 grep -v '^ *+' conftest.er1 >conftest.err
10816 cat conftest.err >&5
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); } && {
10819 test -z "$ac_c_werror_flag" ||
10820 test ! -s conftest.err
10821 } && test -s conftest$ac_exeext &&
10822 $as_test_x conftest$ac_exeext; then
10823 ac_cv_lib_dl_dlopen=yes
10825 echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.$ac_ext >&5
10828 ac_cv_lib_dl_dlopen=no
10831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LIBS=$ac_check_lib_save_LIBS
10835 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10836 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10837 if test $ac_cv_lib_dl_dlopen = yes; then
10838 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10841 lt_cv_dlopen="dyld"
10843 lt_cv_dlopen_self=yes
10850 { echo "$as_me:$LINENO: checking for shl_load" >&5
10851 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10852 if test "${ac_cv_func_shl_load+set}" = set; then
10853 echo $ECHO_N "(cached) $ECHO_C" >&6
10855 cat >conftest.$ac_ext <<_ACEOF
10858 cat confdefs.h >>conftest.$ac_ext
10859 cat >>conftest.$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10861 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10863 #define shl_load innocuous_shl_load
10865 /* System header to define __stub macros and hopefully few prototypes,
10866 which can conflict with char shl_load (); below.
10867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10868 <limits.h> exists even on freestanding compilers. */
10871 # include <limits.h>
10873 # include <assert.h>
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10885 /* The GNU C library defines this for functions which it implements
10886 to always fail with ENOSYS. Some functions are actually named
10887 something starting with __ and the normal name is an alias. */
10888 #if defined __stub_shl_load || defined __stub___shl_load
10895 return shl_load ();
10900 rm -f conftest.$ac_objext conftest$ac_exeext
10901 if { (ac_try="$ac_link"
10902 case "(($ac_try" in
10903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10904 *) ac_try_echo
=$ac_try;;
10906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10907 (eval "$ac_link") 2>conftest.er1
10909 grep -v '^ *+' conftest.er1
>conftest.err
10911 cat conftest.err
>&5
10912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10913 (exit $ac_status); } && {
10914 test -z "$ac_c_werror_flag" ||
10915 test ! -s conftest.err
10916 } && test -s conftest
$ac_exeext &&
10917 $as_test_x conftest
$ac_exeext; then
10918 ac_cv_func_shl_load
=yes
10920 echo "$as_me: failed program was:" >&5
10921 sed 's/^/| /' conftest.
$ac_ext >&5
10923 ac_cv_func_shl_load
=no
10926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10927 conftest
$ac_exeext conftest.
$ac_ext
10929 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10930 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10931 if test $ac_cv_func_shl_load = yes; then
10932 lt_cv_dlopen
="shl_load"
10934 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10935 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10936 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 ac_check_lib_save_LIBS
=$LIBS
10941 cat >conftest.
$ac_ext <<_ACEOF
10944 cat confdefs.h
>>conftest.
$ac_ext
10945 cat >>conftest.
$ac_ext <<_ACEOF
10946 /* end confdefs.h. */
10948 /* Override any GCC internal prototype to avoid an error.
10949 Use char because int might match the return type of a GCC
10950 builtin and then its argument prototype would still apply. */
10958 return shl_load ();
10963 rm -f conftest.
$ac_objext conftest
$ac_exeext
10964 if { (ac_try
="$ac_link"
10965 case "(($ac_try" in
10966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10967 *) ac_try_echo=$ac_try;;
10969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10970 (eval "$ac_link") 2>conftest.er1
10972 grep -v '^ *+' conftest.er1 >conftest.err
10974 cat conftest.err >&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); } && {
10977 test -z "$ac_c_werror_flag" ||
10978 test ! -s conftest.err
10979 } && test -s conftest$ac_exeext &&
10980 $as_test_x conftest$ac_exeext; then
10981 ac_cv_lib_dld_shl_load=yes
10983 echo "$as_me: failed program was:" >&5
10984 sed 's/^/| /' conftest.$ac_ext >&5
10986 ac_cv_lib_dld_shl_load=no
10989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10990 conftest$ac_exeext conftest.$ac_ext
10991 LIBS=$ac_check_lib_save_LIBS
10993 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10994 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10995 if test $ac_cv_lib_dld_shl_load = yes; then
10996 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10998 { echo "$as_me:$LINENO: checking for dlopen" >&5
10999 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11000 if test "${ac_cv_func_dlopen+set}" = set; then
11001 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 cat >conftest.$ac_ext <<_ACEOF
11006 cat confdefs.h >>conftest.$ac_ext
11007 cat >>conftest.$ac_ext <<_ACEOF
11008 /* end confdefs.h. */
11009 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11011 #define dlopen innocuous_dlopen
11013 /* System header to define __stub macros and hopefully few prototypes,
11014 which can conflict with char dlopen (); below.
11015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11016 <limits.h> exists even on freestanding compilers. */
11019 # include <limits.h>
11021 # include <assert.h>
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11033 /* The GNU C library defines this for functions which it implements
11034 to always fail with ENOSYS. Some functions are actually named
11035 something starting with __ and the normal name is an alias. */
11036 #if defined __stub_dlopen || defined __stub___dlopen
11048 rm -f conftest.$ac_objext conftest$ac_exeext
11049 if { (ac_try="$ac_link"
11050 case "(($ac_try" in
11051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11052 *) ac_try_echo
=$ac_try;;
11054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11055 (eval "$ac_link") 2>conftest.er1
11057 grep -v '^ *+' conftest.er1
>conftest.err
11059 cat conftest.err
>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); } && {
11062 test -z "$ac_c_werror_flag" ||
11063 test ! -s conftest.err
11064 } && test -s conftest
$ac_exeext &&
11065 $as_test_x conftest
$ac_exeext; then
11066 ac_cv_func_dlopen
=yes
11068 echo "$as_me: failed program was:" >&5
11069 sed 's/^/| /' conftest.
$ac_ext >&5
11071 ac_cv_func_dlopen
=no
11074 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11075 conftest
$ac_exeext conftest.
$ac_ext
11077 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11078 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11079 if test $ac_cv_func_dlopen = yes; then
11080 lt_cv_dlopen
="dlopen"
11082 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11083 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11084 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11085 echo $ECHO_N "(cached) $ECHO_C" >&6
11087 ac_check_lib_save_LIBS
=$LIBS
11089 cat >conftest.
$ac_ext <<_ACEOF
11092 cat confdefs.h
>>conftest.
$ac_ext
11093 cat >>conftest.
$ac_ext <<_ACEOF
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11111 rm -f conftest.
$ac_objext conftest
$ac_exeext
11112 if { (ac_try
="$ac_link"
11113 case "(($ac_try" in
11114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11115 *) ac_try_echo=$ac_try;;
11117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11118 (eval "$ac_link") 2>conftest.er1
11120 grep -v '^ *+' conftest.er1 >conftest.err
11122 cat conftest.err >&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); } && {
11125 test -z "$ac_c_werror_flag" ||
11126 test ! -s conftest.err
11127 } && test -s conftest$ac_exeext &&
11128 $as_test_x conftest$ac_exeext; then
11129 ac_cv_lib_dl_dlopen=yes
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.$ac_ext >&5
11134 ac_cv_lib_dl_dlopen=no
11137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11141 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11142 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11143 if test $ac_cv_lib_dl_dlopen = yes; then
11144 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11146 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11147 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11148 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11149 echo $ECHO_N "(cached) $ECHO_C" >&6
11151 ac_check_lib_save_LIBS=$LIBS
11152 LIBS="-lsvld $LIBS"
11153 cat >conftest.$ac_ext <<_ACEOF
11156 cat confdefs.h >>conftest.$ac_ext
11157 cat >>conftest.$ac_ext <<_ACEOF
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11175 rm -f conftest.$ac_objext conftest$ac_exeext
11176 if { (ac_try="$ac_link"
11177 case "(($ac_try" in
11178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11179 *) ac_try_echo
=$ac_try;;
11181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11182 (eval "$ac_link") 2>conftest.er1
11184 grep -v '^ *+' conftest.er1
>conftest.err
11186 cat conftest.err
>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } && {
11189 test -z "$ac_c_werror_flag" ||
11190 test ! -s conftest.err
11191 } && test -s conftest
$ac_exeext &&
11192 $as_test_x conftest
$ac_exeext; then
11193 ac_cv_lib_svld_dlopen
=yes
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.
$ac_ext >&5
11198 ac_cv_lib_svld_dlopen
=no
11201 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11202 conftest
$ac_exeext conftest.
$ac_ext
11203 LIBS
=$ac_check_lib_save_LIBS
11205 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11206 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11207 if test $ac_cv_lib_svld_dlopen = yes; then
11208 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11210 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11211 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11212 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 ac_check_lib_save_LIBS
=$LIBS
11217 cat >conftest.
$ac_ext <<_ACEOF
11220 cat confdefs.h
>>conftest.
$ac_ext
11221 cat >>conftest.
$ac_ext <<_ACEOF
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11234 return dld_link ();
11239 rm -f conftest.
$ac_objext conftest
$ac_exeext
11240 if { (ac_try
="$ac_link"
11241 case "(($ac_try" in
11242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11243 *) ac_try_echo=$ac_try;;
11245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11246 (eval "$ac_link") 2>conftest.er1
11248 grep -v '^ *+' conftest.er1 >conftest.err
11250 cat conftest.err >&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); } && {
11253 test -z "$ac_c_werror_flag" ||
11254 test ! -s conftest.err
11255 } && test -s conftest$ac_exeext &&
11256 $as_test_x conftest$ac_exeext; then
11257 ac_cv_lib_dld_dld_link=yes
11259 echo "$as_me: failed program was:" >&5
11260 sed 's/^/| /' conftest.$ac_ext >&5
11262 ac_cv_lib_dld_dld_link=no
11265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_lib_save_LIBS
11269 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11270 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11271 if test $ac_cv_lib_dld_dld_link = yes; then
11272 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11293 if test "x$lt_cv_dlopen" != xno; then
11299 case $lt_cv_dlopen in
11301 save_CPPFLAGS="$CPPFLAGS"
11302 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11304 save_LDFLAGS="$LDFLAGS"
11305 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11308 LIBS="$lt_cv_dlopen_libs $LIBS"
11310 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11311 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11312 if test "${lt_cv_dlopen_self+set}" = set; then
11313 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 if test "$cross_compiling" = yes; then :
11316 lt_cv_dlopen_self=cross
11318 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11319 lt_status=$lt_dlunknown
11320 cat > conftest.$ac_ext <<EOF
11321 #line 11321 "configure"
11322 #include "confdefs.h"
11331 # define LT_DLGLOBAL RTLD_GLOBAL
11334 # define LT_DLGLOBAL DL_GLOBAL
11336 # define LT_DLGLOBAL 0
11340 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11341 find out it does not work in some platform. */
11342 #ifndef LT_DLLAZY_OR_NOW
11344 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11347 # define LT_DLLAZY_OR_NOW DL_LAZY
11350 # define LT_DLLAZY_OR_NOW RTLD_NOW
11353 # define LT_DLLAZY_OR_NOW DL_NOW
11355 # define LT_DLLAZY_OR_NOW 0
11363 extern "C" void exit (int);
11366 void fnord() { int i=42;}
11369 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11370 int status = $lt_dlunknown;
11374 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11375 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11376 /* dlclose (self); */
11384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11385 (eval $ac_link) 2>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11389 (./conftest; exit; ) >&5 2>/dev/null
11391 case x$lt_status in
11392 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11393 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11394 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11397 # compilation failed
11398 lt_cv_dlopen_self=no
11405 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11406 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11408 if test "x$lt_cv_dlopen_self" = xyes; then
11409 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11410 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11411 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11412 if test "${lt_cv_dlopen_self_static+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 if test "$cross_compiling" = yes; then :
11416 lt_cv_dlopen_self_static=cross
11418 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11419 lt_status=$lt_dlunknown
11420 cat > conftest.$ac_ext <<EOF
11421 #line 11421 "configure"
11422 #include "confdefs.h"
11431 # define LT_DLGLOBAL RTLD_GLOBAL
11434 # define LT_DLGLOBAL DL_GLOBAL
11436 # define LT_DLGLOBAL 0
11440 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11441 find out it does not work in some platform. */
11442 #ifndef LT_DLLAZY_OR_NOW
11444 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11447 # define LT_DLLAZY_OR_NOW DL_LAZY
11450 # define LT_DLLAZY_OR_NOW RTLD_NOW
11453 # define LT_DLLAZY_OR_NOW DL_NOW
11455 # define LT_DLLAZY_OR_NOW 0
11463 extern "C" void exit (int);
11466 void fnord() { int i=42;}
11469 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11470 int status = $lt_dlunknown;
11474 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11475 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11476 /* dlclose (self); */
11484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11485 (eval $ac_link) 2>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11489 (./conftest; exit; ) >&5 2>/dev/null
11491 case x$lt_status in
11492 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11493 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11494 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11497 # compilation failed
11498 lt_cv_dlopen_self_static=no
11505 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11506 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11509 CPPFLAGS="$save_CPPFLAGS"
11510 LDFLAGS="$save_LDFLAGS"
11515 case $lt_cv_dlopen_self in
11516 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11517 *) enable_dlopen_self=unknown ;;
11520 case $lt_cv_dlopen_self_static in
11521 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11522 *) enable_dlopen_self_static=unknown ;;
11527 # Report which library types will actually be built
11528 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11529 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11530 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11531 echo "${ECHO_T}$can_build_shared" >&6; }
11533 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11534 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11535 test "$can_build_shared" = "no" && enable_shared=no
11537 # On AIX, shared libraries and static libraries use the same namespace, and
11538 # are all built from PIC.
11541 test "$enable_shared" = yes && enable_static=no
11542 if test -n "$RANLIB"; then
11543 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11544 postinstall_cmds='$RANLIB $lib'
11549 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11550 test "$enable_shared" = yes && enable_static=no
11554 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11555 echo "${ECHO_T}$enable_shared" >&6; }
11557 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11558 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11559 # Make sure either enable_shared or enable_static is yes.
11560 test "$enable_shared" = yes || enable_static=yes
11561 { echo "$as_me:$LINENO: result: $enable_static" >&5
11562 echo "${ECHO_T}$enable_static" >&6; }
11564 # The else clause should only fire when bootstrapping the
11565 # libtool distribution, otherwise you forgot to ship ltmain.sh
11566 # with your package, and you will get complaints that there are
11567 # no rules to generate ltmain.sh.
11568 if test -f "$ltmain"; then
11569 # See if we are running on zsh, and set the options which allow our commands through
11570 # without removal of \ escapes.
11571 if test -n "${ZSH_VERSION+set}" ; then
11572 setopt NO_GLOB_SUBST
11574 # Now quote all the things that may contain metacharacters while being
11575 # careful not to overquote the AC_SUBSTed values. We take copies of the
11576 # variables and quote the copies for generation of the libtool script.
11577 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11579 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11580 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11581 deplibs_check_method reload_flag reload_cmds need_locks \
11582 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11583 lt_cv_sys_global_symbol_to_c_name_address \
11584 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11585 old_postinstall_cmds old_postuninstall_cmds \
11589 lt_prog_compiler_wl \
11590 lt_prog_compiler_pic \
11591 lt_prog_compiler_static \
11592 lt_prog_compiler_no_builtin_flag \
11593 export_dynamic_flag_spec \
11594 thread_safe_flag_spec \
11595 whole_archive_flag_spec \
11596 enable_shared_with_static_runtimes \
11598 old_archive_from_new_cmds \
11603 compiler_lib_search_path \
11604 compiler_lib_search_dirs \
11606 archive_expsym_cmds \
11608 postuninstall_cmds \
11609 old_archive_from_expsyms_cmds \
11610 allow_undefined_flag \
11611 no_undefined_flag \
11612 export_symbols_cmds \
11613 hardcode_libdir_flag_spec \
11614 hardcode_libdir_flag_spec_ld \
11615 hardcode_libdir_separator \
11616 hardcode_automatic \
11618 module_expsym_cmds \
11619 lt_cv_prog_compiler_c_o \
11622 include_expsyms; do
11625 old_archive_cmds | \
11626 old_archive_from_new_cmds | \
11628 archive_expsym_cmds | \
11630 module_expsym_cmds | \
11631 old_archive_from_expsyms_cmds | \
11632 export_symbols_cmds | \
11633 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11634 postinstall_cmds | postuninstall_cmds | \
11635 old_postinstall_cmds | old_postuninstall_cmds | \
11636 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11637 # Double-quote double-evaled strings.
11638 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
11641 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
11647 *'\$0 --fallback-echo"')
11648 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11652 cfgfile="${ofile}T"
11653 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11655 { echo "$as_me:$LINENO: creating $ofile" >&5
11656 echo "$as_me: creating $ofile" >&6;}
11658 cat <<__EOF__ >> "$cfgfile"
11661 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11662 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11663 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11665 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11666 # Free Software Foundation, Inc.
11668 # This file is part of GNU Libtool:
11669 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11671 # This program is free software; you can redistribute it and/or modify
11672 # it under the terms of the GNU General Public License as published by
11673 # the Free Software Foundation; either version 2 of the License, or
11674 # (at your option) any later version.
11676 # This program is distributed in the hope that it will be useful, but
11677 # WITHOUT ANY WARRANTY; without even the implied warranty of
11678 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11679 # General Public License for more details.
11681 # You should have received a copy of the GNU General Public License
11682 # along with this program; if not, write to the Free Software
11683 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11685 # As a special exception to the GNU General Public License, if you
11686 # distribute this file as part of a program that contains a
11687 # configuration script generated by Autoconf, you may include it under
11688 # the same distribution terms that you use for the rest of that program.
11690 # A sed program that does not truncate output.
11693 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11694 Xsed="$SED -e 1s/^X//"
11696 # The HP-UX ksh and POSIX shell print the target directory to stdout
11697 # if CDPATH is set.
11698 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11700 # The names of the tagged configurations supported by this script.
11703 # ### BEGIN LIBTOOL CONFIG
11705 # Libtool was configured on host `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`:
11707 # Shell to use when invoking shell scripts.
11710 # Whether or not to build shared libraries.
11711 build_libtool_libs=$enable_shared
11713 # Whether or not to build static libraries.
11714 build_old_libs=$enable_static
11716 # Whether or not to add -lc for building shared libraries.
11717 build_libtool_need_lc=$archive_cmds_need_lc
11719 # Whether or not to disallow shared libs when runtime libs are static
11720 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11722 # Whether or not to optimize for fast installation.
11723 fast_install=$enable_fast_install
11726 host_alias=$host_alias
11730 # The build system.
11731 build_alias=$build_alias
11735 # An echo program that does not interpret backslashes.
11740 AR_FLAGS=$lt_AR_FLAGS
11745 # LTCC compiler flags.
11746 LTCFLAGS=$lt_LTCFLAGS
11748 # A language-specific compiler.
11751 # Is the compiler the GNU C compiler?
11757 # The linker used to build libraries.
11760 # Whether we need hard or soft links.
11763 # A BSD-compatible nm program.
11766 # A symbol stripping program
11769 # Used to examine libraries when file_magic_cmd begins "file"
11770 MAGIC_CMD=$MAGIC_CMD
11772 # Used on cygwin: DLL creation program.
11775 # Used on cygwin: object dumper.
11778 # Used on cygwin: assembler.
11781 # The name of the directory that contains temporary libtool files.
11784 # How to create reloadable object files.
11785 reload_flag=$lt_reload_flag
11786 reload_cmds=$lt_reload_cmds
11788 # How to pass a linker flag through the compiler.
11789 wl=$lt_lt_prog_compiler_wl
11791 # Object file suffix (normally "o").
11792 objext="$ac_objext"
11794 # Old archive suffix (normally "a").
11797 # Shared library suffix (normally ".so").
11798 shrext_cmds='$shrext_cmds'
11800 # Executable file suffix (normally "").
11803 # Additional compiler flags for building library objects.
11804 pic_flag=$lt_lt_prog_compiler_pic
11807 # What is the maximum length of a command?
11808 max_cmd_len=$lt_cv_sys_max_cmd_len
11810 # Does compiler simultaneously support -c and -o options?
11811 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11813 # Must we lock files when doing compilation?
11814 need_locks=$lt_need_locks
11816 # Do we need the lib prefix for modules?
11817 need_lib_prefix=$need_lib_prefix
11819 # Do we need a version for libraries?
11820 need_version=$need_version
11822 # Whether dlopen is supported.
11823 dlopen_support=$enable_dlopen
11825 # Whether dlopen of programs is supported.
11826 dlopen_self=$enable_dlopen_self
11828 # Whether dlopen of statically linked programs is supported.
11829 dlopen_self_static=$enable_dlopen_self_static
11831 # Compiler flag to prevent dynamic linking.
11832 link_static_flag=$lt_lt_prog_compiler_static
11834 # Compiler flag to turn off builtin functions.
11835 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11837 # Compiler flag to allow reflexive dlopens.
11838 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11840 # Compiler flag to generate shared objects directly from archives.
11841 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11843 # Compiler flag to generate thread-safe objects.
11844 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11846 # Library versioning type.
11847 version_type=$version_type
11849 # Format of library name prefix.
11850 libname_spec=$lt_libname_spec
11852 # List of archive names. First name is the real one, the rest are links.
11853 # The last name is the one that the linker finds with -lNAME.
11854 library_names_spec=$lt_library_names_spec
11856 # The coded name of the library, if different from the real name.
11857 soname_spec=$lt_soname_spec
11859 # Commands used to build and install an old-style archive.
11861 old_archive_cmds=$lt_old_archive_cmds
11862 old_postinstall_cmds=$lt_old_postinstall_cmds
11863 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11865 # Create an old-style archive from a shared archive.
11866 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11868 # Create a temporary old-style archive to link instead of a shared archive.
11869 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11871 # Commands used to build and install a shared archive.
11872 archive_cmds=$lt_archive_cmds
11873 archive_expsym_cmds=$lt_archive_expsym_cmds
11874 postinstall_cmds=$lt_postinstall_cmds
11875 postuninstall_cmds=$lt_postuninstall_cmds
11877 # Commands used to build a loadable module (assumed same as above if empty)
11878 module_cmds=$lt_module_cmds
11879 module_expsym_cmds=$lt_module_expsym_cmds
11881 # Commands to strip libraries.
11882 old_striplib=$lt_old_striplib
11883 striplib=$lt_striplib
11885 # Dependencies to place before the objects being linked to create a
11887 predep_objects=$lt_predep_objects
11889 # Dependencies to place after the objects being linked to create a
11891 postdep_objects=$lt_postdep_objects
11893 # Dependencies to place before the objects being linked to create a
11895 predeps=$lt_predeps
11897 # Dependencies to place after the objects being linked to create a
11899 postdeps=$lt_postdeps
11901 # The directories searched by this compiler when creating a shared
11903 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11905 # The library search path used internally by the compiler when linking
11906 # a shared library.
11907 compiler_lib_search_path=$lt_compiler_lib_search_path
11909 # Method to check whether dependent libraries are shared objects.
11910 deplibs_check_method=$lt_deplibs_check_method
11912 # Command to use when deplibs_check_method == file_magic.
11913 file_magic_cmd=$lt_file_magic_cmd
11915 # Flag that allows shared libraries with undefined symbols to be built.
11916 allow_undefined_flag=$lt_allow_undefined_flag
11918 # Flag that forces no undefined symbols.
11919 no_undefined_flag=$lt_no_undefined_flag
11921 # Commands used to finish a libtool library installation in a directory.
11922 finish_cmds=$lt_finish_cmds
11924 # Same as above, but a single script fragment to be evaled but not shown.
11925 finish_eval=$lt_finish_eval
11927 # Take the output of nm and produce a listing of raw symbols and C names.
11928 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11930 # Transform the output of nm in a proper C declaration
11931 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11933 # Transform the output of nm in a C name address pair
11934 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11936 # This is the shared library runtime path variable.
11937 runpath_var=$runpath_var
11939 # This is the shared library path variable.
11940 shlibpath_var=$shlibpath_var
11942 # Is shlibpath searched before the hard-coded library search path?
11943 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11945 # How to hardcode a shared library path into an executable.
11946 hardcode_action=$hardcode_action
11948 # Whether we should hardcode library paths into libraries.
11949 hardcode_into_libs=$hardcode_into_libs
11951 # Flag to hardcode \$libdir into a binary during linking.
11952 # This must work even if \$libdir does not exist.
11953 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11955 # If ld is used when linking, flag to hardcode \$libdir into
11956 # a binary during linking. This must work even if \$libdir does
11958 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11960 # Whether we need a single -rpath flag with a separated argument.
11961 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11963 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11964 # resulting binary.
11965 hardcode_direct=$hardcode_direct
11967 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11968 # resulting binary.
11969 hardcode_minus_L=$hardcode_minus_L
11971 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11972 # the resulting binary.
11973 hardcode_shlibpath_var=$hardcode_shlibpath_var
11975 # Set to yes if building a shared library automatically hardcodes DIR into the library
11976 # and all subsequent libraries and executables linked against it.
11977 hardcode_automatic=$hardcode_automatic
11979 # Variables whose values should be saved in libtool wrapper scripts and
11980 # restored at relink time.
11981 variables_saved_for_relink="$variables_saved_for_relink"
11983 # Whether libtool must link a program against all its dependency libraries.
11984 link_all_deplibs=$link_all_deplibs
11986 # Compile-time system search path for libraries
11987 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11989 # Run-time system search path for libraries
11990 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11992 # Fix the shell variable \$srcfile for the compiler.
11993 fix_srcfile_path=$lt_fix_srcfile_path
11995 # Set to yes if exported symbols are required.
11996 always_export_symbols=$always_export_symbols
11998 # The commands to list exported symbols.
11999 export_symbols_cmds=$lt_export_symbols_cmds
12001 # The commands to extract the exported symbol list from a shared archive.
12002 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12004 # Symbols that should not be listed in the preloaded symbols.
12005 exclude_expsyms=$lt_exclude_expsyms
12007 # Symbols that must always be exported.
12008 include_expsyms=$lt_include_expsyms
12010 # ### END LIBTOOL CONFIG
12017 cat <<\EOF >> "$cfgfile"
12019 # AIX sometimes has problems with the GCC collect2 program. For some
12020 # reason, if we set the COLLECT_NAMES environment variable, the problems
12021 # vanish in a puff of smoke.
12022 if test "X${COLLECT_NAMES+set}" != Xset; then
12024 export COLLECT_NAMES
12030 # We use sed instead of cat because bash on DJGPP gets confused if
12031 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12032 # text mode, it properly converts lines to CR/LF. This bash problem
12033 # is reportedly fixed, but why not run on old versions too?
12034 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12036 mv -f "$cfgfile" "$ofile" || \
12037 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12041 # If there is no Makefile yet, we rely on a make rule to execute
12042 # `config.status
--recheck' to rerun these tests and create the
12043 # libtool script then.
12044 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
12045 if test -f "$ltmain_in"; then
12046 test -f Makefile && make "$ltmain"
12052 ac_cpp='$CPP $CPPFLAGS'
12053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12054 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12060 # Check whether --with-tags was given.
12061 if test "${with_tags+set}" = set; then
12062 withval=$with_tags; tagnames="$withval"
12066 if test -f "$ltmain" && test -n "$tagnames"; then
12067 if test ! -f "${ofile}"; then
12068 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
12069 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
12072 if test -z "$LTCC"; then
12073 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12074 if test -z "$LTCC"; then
12075 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12076 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
12078 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
12079 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
12082 if test -z "$LTCFLAGS"; then
12083 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
12086 # Extract list of available tagged configurations in $ofile.
12087 # Note that this assumes the entire list is on one line.
12088 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12090 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12091 for tagname in $tagnames; do
12093 # Check whether tagname contains only valid characters
12094 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12096 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12097 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12098 { (exit 1); exit 1; }; }
12102 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12104 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12105 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12106 { (exit 1); exit 1; }; }
12109 # Update the list of available tags.
12110 if test -n "$tagname"; then
12111 echo appending configuration tag \"$tagname\" to $ofile
12115 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12116 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12117 (test "X$CXX" != "Xg++"))) ; then
12119 ac_cpp='$CXXCPP $CPPFLAGS'
12120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12127 archive_cmds_need_lc_CXX=no
12128 allow_undefined_flag_CXX=
12129 always_export_symbols_CXX=no
12130 archive_expsym_cmds_CXX=
12131 export_dynamic_flag_spec_CXX=
12132 hardcode_direct_CXX=no
12133 hardcode_libdir_flag_spec_CXX=
12134 hardcode_libdir_flag_spec_ld_CXX=
12135 hardcode_libdir_separator_CXX=
12136 hardcode_minus_L_CXX=no
12137 hardcode_shlibpath_var_CXX=unsupported
12138 hardcode_automatic_CXX=no
12140 module_expsym_cmds_CXX=
12141 link_all_deplibs_CXX=unknown
12142 old_archive_cmds_CXX=$old_archive_cmds
12143 no_undefined_flag_CXX=
12144 whole_archive_flag_spec_CXX=
12145 enable_shared_with_static_runtimes_CXX=no
12147 # Dependencies to place before and after the object being linked:
12148 predep_objects_CXX=
12149 postdep_objects_CXX=
12152 compiler_lib_search_path_CXX=
12153 compiler_lib_search_dirs_CXX=
12155 # Source file extension for C++ test sources.
12158 # Object file extension for compiled C++ test sources.
12162 # Code to be used in simple compile tests
12163 lt_simple_compile_test_code="int some_variable = 0;"
12165 # Code to be used in simple link tests
12166 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12168 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12170 # If no C compiler was specified, use CC.
12173 # If no C compiler flags were specified, use CFLAGS.
12174 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12176 # Allow CC to be a program name with arguments.
12180 # save warnings/boilerplate of simple test code
12181 ac_outfile=conftest.$ac_objext
12182 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12183 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12184 _lt_compiler_boilerplate=`cat conftest.err
`
12187 ac_outfile=conftest.$ac_objext
12188 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12189 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12190 _lt_linker_boilerplate=`cat conftest.err
`
12194 # Allow CC to be a program name with arguments.
12199 lt_save_with_gnu_ld=$with_gnu_ld
12200 lt_save_path_LD=$lt_cv_path_LD
12201 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12202 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12204 $as_unset lt_cv_prog_gnu_ld
12206 if test -n "${lt_cv_path_LDCXX+set}"; then
12207 lt_cv_path_LD=$lt_cv_path_LDCXX
12209 $as_unset lt_cv_path_LD
12211 test -z "${LDCXX+set}" || LD=$LDCXX
12215 for cc_temp in $compiler""; do
12217 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12218 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12223 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12226 # We don't want -fno-exception wen compiling C++ code, so set the
12227 # no_builtin_flag separately
12228 if test "$GXX" = yes; then
12229 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12231 lt_prog_compiler_no_builtin_flag_CXX=
12234 if test "$GXX" = yes; then
12235 # Set up default GNU C++ configuration
12238 # Check whether --with-gnu-ld was given.
12239 if test "${with_gnu_ld+set}" = set; then
12240 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12246 if test "$GCC" = yes; then
12247 # Check if gcc -print-prog-name=ld gives a path.
12248 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12249 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12252 # gcc leaves a trailing carriage return which upsets mingw
12253 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
12255 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12258 # Accept absolute paths.
12260 re_direlt='/[^/][^/]*/\.\./'
12261 # Canonicalize the pathname of ld
12262 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12263 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12264 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12266 test -z "$LD" && LD="$ac_prog"
12269 # If it fails, then pretend we aren't using GCC.
12273 # If it is relative, then search for the first ld in PATH.
12274 with_gnu_ld=unknown
12277 elif test "$with_gnu_ld" = yes; then
12278 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12279 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12281 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12282 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12284 if test "${lt_cv_path_LD+set}" = set; then
12285 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 if test -z "$LD"; then
12288 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12289 for ac_dir in $PATH; do
12291 test -z "$ac_dir" && ac_dir=.
12292 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12293 lt_cv_path_LD="$ac_dir/$ac_prog"
12294 # Check to see if the program is GNU ld. I'd rather use --version,
12295 # but apparently some variants of GNU ld only accept -v.
12296 # Break only if it was the GNU/non-GNU ld that we prefer.
12297 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
12298 *GNU* | *'with BFD'*)
12299 test "$with_gnu_ld" != no && break
12302 test "$with_gnu_ld" != yes && break
12309 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12313 LD="$lt_cv_path_LD"
12314 if test -n "$LD"; then
12315 { echo "$as_me:$LINENO: result: $LD" >&5
12316 echo "${ECHO_T}$LD" >&6; }
12318 { echo "$as_me:$LINENO: result: no" >&5
12319 echo "${ECHO_T}no" >&6; }
12321 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12322 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12323 { (exit 1); exit 1; }; }
12324 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12325 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12326 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12327 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12330 case `$LD -v 2>&1 </dev
/null
` in
12331 *GNU* | *'with BFD'*)
12332 lt_cv_prog_gnu_ld=yes
12335 lt_cv_prog_gnu_ld=no
12339 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12340 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12341 with_gnu_ld=$lt_cv_prog_gnu_ld
12345 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12346 # archiving commands below assume that GNU ld is being used.
12347 if test "$with_gnu_ld" = yes; then
12348 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12349 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'
12351 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12352 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12354 # If archive_cmds runs LD, not CC, wlarc should be empty
12355 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12356 # investigate it a little bit more. (MM)
12359 # ancient GNU ld didn't support --whole-archive et. al.
12360 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
12361 grep 'no-whole-archive' > /dev/null; then
12362 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12364 whole_archive_flag_spec_CXX=
12370 # A generic and very simple default shared library creation
12371 # command for GNU C++ for the case where it uses the native
12372 # linker, instead of GNU ld. If possible, this setting should
12373 # overridden to take advantage of the native linker features on
12374 # the platform it is being used on.
12375 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12378 # Commands to make compiler produce verbose output that lists
12379 # what "hidden" libraries, object files and flags are used when
12380 # linking a shared library.
12381 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12389 # PORTME: fill in a description of your system's C++ link characteristics
12390 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12391 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12395 # FIXME: insert proper C++ library support
12399 if test "$host_cpu" = ia64; then
12400 # On IA64, the linker does run time linking by default, so we don't
12401 # have to do anything special.
12402 aix_use_runtimelinking=no
12403 exp_sym_flag='-Bexport'
12406 aix_use_runtimelinking=no
12408 # Test if we are trying to use run time linking or normal
12409 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12410 # need to do runtime linking.
12411 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12412 for ld_flag in $LDFLAGS; do
12415 aix_use_runtimelinking=yes
12423 exp_sym_flag='-bexport'
12424 no_entry_flag='-bnoentry'
12427 # When large executables or shared objects are built, AIX ld can
12428 # have problems creating the table of contents. If linking a library
12429 # or program results in "error TOC overflow" add -mminimal-toc to
12430 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12431 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12433 archive_cmds_CXX=''
12434 hardcode_direct_CXX=yes
12435 hardcode_libdir_separator_CXX=':'
12436 link_all_deplibs_CXX=yes
12438 if test "$GXX" = yes; then
12439 case $host_os in aix4.[012]|aix4.[012].*)
12440 # We only want to do this on AIX 4.2 and lower, the check
12441 # below for broken collect2 doesn't work under 4.3+
12442 collect2name=`${CC} -print-prog-name=collect2
`
12443 if test -f "$collect2name" && \
12444 strings "$collect2name" | grep resolve_lib_name >/dev/null
12446 # We have reworked collect2
12449 # We have old collect2
12450 hardcode_direct_CXX=unsupported
12451 # It fails to find uninstalled libraries when the uninstalled
12452 # path is not listed in the libpath. Setting hardcode_minus_L
12453 # to unsupported forces relinking
12454 hardcode_minus_L_CXX=yes
12455 hardcode_libdir_flag_spec_CXX='-L$libdir'
12456 hardcode_libdir_separator_CXX=
12460 shared_flag='-shared'
12461 if test "$aix_use_runtimelinking" = yes; then
12462 shared_flag="$shared_flag "'${wl}-G'
12466 if test "$host_cpu" = ia64; then
12467 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12468 # chokes on -Wl,-G. The following line is correct:
12471 if test "$aix_use_runtimelinking" = yes; then
12472 shared_flag='${wl}-G'
12474 shared_flag='${wl}-bM:SRE'
12479 # It seems that -bexpall does not export symbols beginning with
12480 # underscore (_), so it is better to generate a list of symbols to export.
12481 always_export_symbols_CXX=yes
12482 if test "$aix_use_runtimelinking" = yes; then
12483 # Warning - without using the other runtime loading flags (-brtl),
12484 # -berok will link without error, but may produce a broken library.
12485 allow_undefined_flag_CXX='-berok'
12486 # Determine the default libpath from the value encoded in an empty executable.
12487 cat >conftest.$ac_ext <<_ACEOF
12490 cat confdefs.h >>conftest.$ac_ext
12491 cat >>conftest.$ac_ext <<_ACEOF
12492 /* end confdefs.h. */
12502 rm -f conftest.$ac_objext conftest$ac_exeext
12503 if { (ac_try="$ac_link"
12504 case "(($ac_try" in
12505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
12506 *) ac_try_echo
=$ac_try;;
12508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12509 (eval "$ac_link") 2>conftest.er1
12511 grep -v '^ *+' conftest.er1
>conftest.err
12513 cat conftest.err
>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } && {
12516 test -z "$ac_cxx_werror_flag" ||
12517 test ! -s conftest.err
12518 } && test -s conftest
$ac_exeext &&
12519 $as_test_x conftest
$ac_exeext; then
12521 lt_aix_libpath_sed
='
12522 /Import File Strings/,/^$/ {
12528 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12529 # Check for a 64-bit object if we didn't find anything.
12530 if test -z "$aix_libpath"; then
12531 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.
$ac_ext >&5
12540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12541 conftest
$ac_exeext conftest.
$ac_ext
12542 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12544 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12546 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"
12548 if test "$host_cpu" = ia64
; then
12549 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12550 allow_undefined_flag_CXX
="-z nodefs"
12551 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"
12553 # Determine the default libpath from the value encoded in an empty executable.
12554 cat >conftest.
$ac_ext <<_ACEOF
12557 cat confdefs.h
>>conftest.
$ac_ext
12558 cat >>conftest.
$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12569 rm -f conftest.
$ac_objext conftest
$ac_exeext
12570 if { (ac_try
="$ac_link"
12571 case "(($ac_try" in
12572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
12573 *) ac_try_echo=$ac_try;;
12575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12576 (eval "$ac_link") 2>conftest.er1
12578 grep -v '^ *+' conftest.er1 >conftest.err
12580 cat conftest.err >&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } && {
12583 test -z "$ac_cxx_werror_flag" ||
12584 test ! -s conftest.err
12585 } && test -s conftest$ac_exeext &&
12586 $as_test_x conftest$ac_exeext; then
12588 lt_aix_libpath_sed='
12589 /Import File Strings/,/^$/ {
12595 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
12596 # Check for a 64-bit object if we didn't find anything.
12597 if test -z "$aix_libpath"; then
12598 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
12601 echo "$as_me: failed program was:" >&5
12602 sed 's/^/| /' conftest.$ac_ext >&5
12607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12608 conftest$ac_exeext conftest.$ac_ext
12609 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12611 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12612 # Warning - without using the other run time loading flags,
12613 # -berok will link without error, but may produce a broken library.
12614 no_undefined_flag_CXX=' ${wl}-bernotok'
12615 allow_undefined_flag_CXX=' ${wl}-berok'
12616 # Exported symbols can be pulled into shared objects from archives
12617 whole_archive_flag_spec_CXX='$convenience'
12618 archive_cmds_need_lc_CXX=yes
12619 # This is similar to how AIX traditionally builds its shared libraries.
12620 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'
12626 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12627 allow_undefined_flag_CXX=unsupported
12628 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12629 # support --undefined. This deserves some investigation. FIXME
12630 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12637 case $cc_basename in
12639 # FIXME: insert proper C++ library support
12645 cygwin* | mingw* | pw32*)
12646 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12647 # as there is no search path for DLLs.
12648 hardcode_libdir_flag_spec_CXX='-L$libdir'
12649 allow_undefined_flag_CXX=unsupported
12650 always_export_symbols_CXX=no
12651 enable_shared_with_static_runtimes_CXX=yes
12653 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12654 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'
12655 # If the export-symbols file already is a .def file (1st line
12656 # is EXPORTS), use it as is; otherwise, prepend...
12657 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
12658 cp $export_symbols $output_objdir/$soname.def;
12660 echo EXPORTS > $output_objdir/$soname.def;
12661 cat $export_symbols >> $output_objdir/$soname.def;
12663 $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'
12668 darwin* | rhapsody*)
12669 archive_cmds_need_lc_CXX=no
12670 hardcode_direct_CXX=no
12671 hardcode_automatic_CXX=yes
12672 hardcode_shlibpath_var_CXX=unsupported
12673 whole_archive_flag_spec_CXX=''
12674 link_all_deplibs_CXX=yes
12675 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12676 if test "$GXX" = yes ; then
12677 output_verbose_link_cmd='echo'
12678 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12679 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12680 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12681 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12682 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12683 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${_lt_dsymutil}"
12684 archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
12687 case $cc_basename in
12689 output_verbose_link_cmd='echo'
12690 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12691 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12692 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12693 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12694 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}'
12704 case $cc_basename in
12706 # FIXME: insert proper C++ library support
12710 # Green Hills C++ Compiler
12711 # FIXME: insert proper C++ library support
12715 # FIXME: insert proper C++ library support
12721 # C++ shared libraries reported to be fairly broken before switch to ELF
12725 archive_cmds_need_lc_CXX=no
12727 freebsd* | dragonfly*)
12728 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12735 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12736 hardcode_libdir_separator_CXX=:
12737 export_dynamic_flag_spec_CXX='${wl}-E'
12738 hardcode_direct_CXX=yes
12739 hardcode_minus_L_CXX=yes # Not in the search PATH,
12740 # but as the default
12741 # location of the library.
12743 case $cc_basename in
12745 # FIXME: insert proper C++ library support
12749 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'
12750 # Commands to make compiler produce verbose output that lists
12751 # what "hidden" libraries, object files and flags are used when
12752 # linking a shared library.
12754 # There doesn't appear to be a way to prevent this compiler from
12755 # explicitly linking system object files so we need to strip them
12756 # from the output so that they don't get included in the library
12758 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'
12761 if test "$GXX" = yes; then
12762 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'
12764 # FIXME: insert proper C++ library support
12771 if test $with_gnu_ld = no; then
12772 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12773 hardcode_libdir_separator_CXX=:
12778 export_dynamic_flag_spec_CXX='${wl}-E'
12784 hardcode_direct_CXX=no
12785 hardcode_shlibpath_var_CXX=no
12788 hardcode_direct_CXX=yes
12789 hardcode_minus_L_CXX=yes # Not in the search PATH,
12790 # but as the default
12791 # location of the library.
12795 case $cc_basename in
12797 # FIXME: insert proper C++ library support
12803 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12806 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12809 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12812 # Commands to make compiler produce verbose output that lists
12813 # what "hidden" libraries, object files and flags are used when
12814 # linking a shared library.
12816 # There doesn't appear to be a way to prevent this compiler from
12817 # explicitly linking system object files so we need to strip them
12818 # from the output so that they don't get included in the library
12820 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'
12823 if test "$GXX" = yes; then
12824 if test $with_gnu_ld = no; then
12827 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12833 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'
12838 # FIXME: insert proper C++ library support
12845 hardcode_direct_CXX=no
12846 hardcode_shlibpath_var_CXX=no
12847 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12848 export_dynamic_flag_spec_CXX='${wl}-E'
12849 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12850 # Instead, shared libraries are loaded at an image base (0x10000000 by
12851 # default) and relocated if they conflict, which is a slow very memory
12852 # consuming and fragmenting process. To avoid this, we pick a random,
12853 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12854 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12855 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'
12856 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'
12859 case $cc_basename in
12862 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'
12864 # Archives containing C++ object files must be created using
12865 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12866 # necessary to make sure instantiated templates are included
12868 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12871 if test "$GXX" = yes; then
12872 if test "$with_gnu_ld" = no; then
12873 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'
12875 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'
12878 link_all_deplibs_CXX=yes
12881 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12882 hardcode_libdir_separator_CXX=:
12884 linux* | k*bsd*-gnu)
12885 case $cc_basename in
12887 # Kuck and Associates, Inc. (KAI) C++ Compiler
12889 # KCC will only create a shared library if the output file
12890 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12891 # to its proper name (with version) after linking.
12892 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'
12893 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'
12894 # Commands to make compiler produce verbose output that lists
12895 # what "hidden" libraries, object files and flags are used when
12896 # linking a shared library.
12898 # There doesn't appear to be a way to prevent this compiler from
12899 # explicitly linking system object files so we need to strip them
12900 # from the output so that they don't get included in the library
12902 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'
12904 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12905 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12907 # Archives containing C++ object files must be created using
12908 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12909 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12914 # version 8.0 and above of icpc choke on multiply defined symbols
12915 # if we add $predep_objects and $postdep_objects, however 7.1 and
12916 # earlier do not add the objects themselves.
12917 case `$CC -V 2>&1` in
12919 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12920 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'
12922 *) # Version 8.0 or newer
12925 ia64*) tmp_idyn=' -i_dynamic';;
12927 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12928 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'
12931 archive_cmds_need_lc_CXX=no
12932 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12933 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12934 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12937 # Portland Group C++ compiler
12938 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12939 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'
12941 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12942 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12943 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'
12947 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12948 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'
12950 runpath_var=LD_RUN_PATH
12951 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12952 hardcode_libdir_separator_CXX=:
12954 # Commands to make compiler produce verbose output that lists
12955 # what "hidden" libraries, object files and flags are used when
12956 # linking a shared library.
12958 # There doesn't appear to be a way to prevent this compiler from
12959 # explicitly linking system object files so we need to strip them
12960 # from the output so that they don't get included in the library
12962 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'
12965 case `$CC -V 2>&1 | sed 5q
` in
12968 no_undefined_flag_CXX=' -zdefs'
12969 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12970 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12971 hardcode_libdir_flag_spec_CXX='-R$libdir'
12972 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience
=; for conv
in $convenience\"\"; do test -z \"$conv\" || new_convenience
=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12974 # Not sure whether something based on
12975 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12977 output_verbose_link_cmd='echo'
12979 # Archives containing C++ object files must be created using
12980 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12981 # necessary to make sure instantiated templates are included
12983 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12990 # FIXME: insert proper C++ library support
12994 # FIXME: insert proper C++ library support
12998 case $cc_basename in
13000 # FIXME: insert proper C++ library support
13004 # FIXME: insert proper C++ library support
13009 netbsd* | netbsdelf*-gnu)
13010 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13011 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13013 hardcode_libdir_flag_spec_CXX='-R$libdir'
13014 hardcode_direct_CXX=yes
13015 hardcode_shlibpath_var_CXX=no
13017 # Workaround some broken pre-1.5 toolchains
13018 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13021 # C++ shared libraries are fairly broken
13025 if test -f /usr/libexec/ld.so; then
13026 hardcode_direct_CXX=yes
13027 hardcode_shlibpath_var_CXX=no
13028 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13030 if test -z "`echo __ELF__
| $CC -E - | grep __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13031 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13032 export_dynamic_flag_spec_CXX='${wl}-E'
13033 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13035 output_verbose_link_cmd='echo'
13041 case $cc_basename in
13043 # Kuck and Associates, Inc. (KAI) C++ Compiler
13045 # KCC will only create a shared library if the output file
13046 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13047 # to its proper name (with version) after linking.
13048 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'
13050 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13051 hardcode_libdir_separator_CXX=:
13053 # Archives containing C++ object files must be created using
13054 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13055 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13059 # Rational C++ 2.4.1
13060 # FIXME: insert proper C++ library support
13064 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13065 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'
13067 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13068 hardcode_libdir_separator_CXX=:
13070 # Commands to make compiler produce verbose output that lists
13071 # what "hidden" libraries, object files and flags are used when
13072 # linking a shared library.
13074 # There doesn't appear to be a way to prevent this compiler from
13075 # explicitly linking system object files so we need to strip them
13076 # from the output so that they don't get included in the library
13078 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'
13081 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13082 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13083 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'
13085 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13086 hardcode_libdir_separator_CXX=:
13088 # Commands to make compiler produce verbose output that lists
13089 # what "hidden" libraries, object files and flags are used when
13090 # linking a shared library.
13091 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13094 # FIXME: insert proper C++ library support
13101 case $cc_basename in
13103 # Kuck and Associates, Inc. (KAI) C++ Compiler
13105 # KCC will only create a shared library if the output file
13106 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13107 # to its proper name (with version) after linking.
13108 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'
13110 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13111 hardcode_libdir_separator_CXX=:
13113 # Archives containing C++ object files must be created using
13114 # the KAI C++ compiler.
13115 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13118 # Rational C++ 2.4.1
13119 # FIXME: insert proper C++ library support
13123 allow_undefined_flag_CXX=' -expect_unresolved \*'
13124 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'
13125 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13126 echo "-hidden">> $lib.exp~
13127 $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~
13130 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13131 hardcode_libdir_separator_CXX=:
13133 # Commands to make compiler produce verbose output that lists
13134 # what "hidden" libraries, object files and flags are used when
13135 # linking a shared library.
13137 # There doesn't appear to be a way to prevent this compiler from
13138 # explicitly linking system object files so we need to strip them
13139 # from the output so that they don't get included in the library
13141 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'
13144 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13145 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13146 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'
13148 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13149 hardcode_libdir_separator_CXX=:
13151 # Commands to make compiler produce verbose output that lists
13152 # what "hidden" libraries, object files and flags are used when
13153 # linking a shared library.
13154 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13157 # FIXME: insert proper C++ library support
13164 # FIXME: insert proper C++ library support
13168 case $cc_basename in
13171 # FIXME: insert proper C++ library support
13176 # FIXME: insert proper C++ library support
13180 # FIXME: insert proper C++ library support
13186 case $cc_basename in
13188 # Sun C++ 4.2, 5.x and Centerline C++
13189 archive_cmds_need_lc_CXX=yes
13190 no_undefined_flag_CXX=' -zdefs'
13191 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13192 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13193 $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'
13195 hardcode_libdir_flag_spec_CXX='-R$libdir'
13196 hardcode_shlibpath_var_CXX=no
13198 solaris2.[0-5] | solaris2.[0-5].*) ;;
13200 # The compiler driver will combine and reorder linker options,
13201 # but understands `-z linker_flag
'.
13202 # Supported since Solaris 2.6 (maybe 2.5.1?)
13203 whole_archive_flag_spec_CXX='-z allextract
$convenience -z defaultextract
'
13206 link_all_deplibs_CXX=yes
13208 output_verbose_link_cmd='echo'
13210 # Archives containing C++ object files must be created using
13211 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13212 # necessary to make sure instantiated templates are included
13214 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13217 # Green Hills C++ Compiler
13218 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13220 # The C++ compiler must be used to create the archive.
13221 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13224 # GNU C++ compiler with Solaris linker
13225 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13226 no_undefined_flag_CXX=' ${wl}-z ${wl}defs
'
13227 if $CC --version | grep -v '^
2\
.7' > /dev/null; then
13228 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13229 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~
$echo "local: *; };" >> $lib.exp~
13230 $CC -shared -nostdlib ${wl}-M $wl$lib.exp
-o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~
$rm $lib.exp
'
13232 # Commands to make compiler produce verbose output that lists
13233 # what "hidden" libraries, object files and flags are used when
13234 # linking a shared library.
13235 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13237 # g++ 2.7 appears to require `-G' NOT
`-shared' on this
13239 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13240 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13241 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13243 # Commands to make compiler produce verbose output that lists
13244 # what "hidden" libraries, object files and flags are used when
13245 # linking a shared library.
13246 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13249 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13251 solaris2.[0-5] | solaris2.[0-5].*) ;;
13253 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13260 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13261 no_undefined_flag_CXX='${wl}-z,text'
13262 archive_cmds_need_lc_CXX=no
13263 hardcode_shlibpath_var_CXX=no
13264 runpath_var='LD_RUN_PATH'
13266 case $cc_basename in
13268 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13269 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13272 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13273 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13277 sysv5* | sco3.2v5* | sco5v6*)
13278 # Note: We can NOT use -z defs as we might desire, because we do not
13279 # link with -lc, and that would cause any symbols used from libc to
13280 # always be unresolved, which means just about no library would
13281 # ever link correctly. If we're not using GNU ld we use -z text
13282 # though, which does catch some bad symbols but isn't as heavy-handed
13284 # For security reasons, it is highly recommended that you always
13285 # use absolute paths for naming shared libraries, and exclude the
13286 # DT_RUNPATH tag from executables and libraries. But doing so
13287 # requires that you compile everything twice, which is a pain.
13288 # So that behaviour is only enabled if SCOABSPATH is set to a
13289 # non-empty value in the environment. Most likely only useful for
13290 # creating official distributions of packages.
13291 # This is a hack until libtool officially supports absolute path
13292 # names for shared libraries.
13293 no_undefined_flag_CXX='${wl}-z,text'
13294 allow_undefined_flag_CXX='${wl}-z,nodefs'
13295 archive_cmds_need_lc_CXX=no
13296 hardcode_shlibpath_var_CXX=no
13297 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13298 hardcode_libdir_separator_CXX=':'
13299 link_all_deplibs_CXX=yes
13300 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13301 runpath_var='LD_RUN_PATH'
13303 case $cc_basename in
13305 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13306 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13309 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13310 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13315 case $cc_basename in
13317 # NonStop-UX NCC 3.20
13318 # FIXME: insert proper C++ library support
13322 # FIXME: insert proper C++ library support
13328 # FIXME: insert proper C++ library support
13332 # FIXME: insert proper C++ library support
13336 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13337 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13338 test "$ld_shlibs_CXX" = no && can_build_shared=no
13343 cat > conftest.$ac_ext <<EOF
13347 Foo (void) { a = 0; }
13353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13354 (eval $ac_compile) 2>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); }; then
13358 # Parse the compiler output and extract the necessary
13359 # objects, libraries and library flags.
13361 # Sentinel used to keep track of whether or not we are before
13362 # the conftest object file.
13363 pre_test_object_deps_done=no
13365 # The `*' in the case matches for architectures that use `case' in
13366 # $output_verbose_cmd can trigger glob expansion during the loop
13367 # eval without this substitution.
13368 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13370 for p
in `eval $output_verbose_link_cmd`; do
13374 # Some compilers place space between "-{L,R}" and the path.
13375 # Remove the space.
13376 if test $p = "-L" \
13377 || test $p = "-R"; then
13384 if test "$pre_test_object_deps_done" = no
; then
13387 # Internal compiler library paths should come after those
13388 # provided the user. The postdeps already come after the
13389 # user supplied libs so there is no need to process them.
13390 if test -z "$compiler_lib_search_path_CXX"; then
13391 compiler_lib_search_path_CXX
="${prev}${p}"
13393 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13396 # The "-l" case would never come before the object being
13397 # linked, so don't bother handling this case.
13400 if test -z "$postdeps_CXX"; then
13401 postdeps_CXX
="${prev}${p}"
13403 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13409 # This assumes that the test object file only shows up
13410 # once in the compiler output.
13411 if test "$p" = "conftest.$objext"; then
13412 pre_test_object_deps_done
=yes
13416 if test "$pre_test_object_deps_done" = no
; then
13417 if test -z "$predep_objects_CXX"; then
13418 predep_objects_CXX
="$p"
13420 predep_objects_CXX
="$predep_objects_CXX $p"
13423 if test -z "$postdep_objects_CXX"; then
13424 postdep_objects_CXX
="$p"
13426 postdep_objects_CXX
="$postdep_objects_CXX $p"
13431 *) ;; # Ignore the rest.
13439 echo "libtool.m4: error: problem compiling CXX test program"
13442 $rm -f confest.
$objext
13444 compiler_lib_search_dirs_CXX
=
13445 if test -n "$compiler_lib_search_path_CXX"; then
13446 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13449 # PORTME: override above test on systems where it is broken
13452 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13453 # hack all around it, let's just trust "g++" to DTRT.
13454 predep_objects_CXX
=
13455 postdep_objects_CXX
=
13460 case `$CC -V 2>&1 | sed 5q` in
13464 # The more standards-conforming stlport4 library is
13465 # incompatible with the Cstd library. Avoid specifying
13466 # it if it's in CXXFLAGS. Ignore libCrun as
13467 # -library=stlport4 depends on it.
13468 case " $CXX $CXXFLAGS " in
13469 *" -library=stlport4 "*)
13470 solaris_use_stlport4
=yes
13473 if test "$solaris_use_stlport4" != yes; then
13474 postdeps_CXX
='-library=Cstd -library=Crun'
13481 case $cc_basename in
13483 # The more standards-conforming stlport4 library is
13484 # incompatible with the Cstd library. Avoid specifying
13485 # it if it's in CXXFLAGS. Ignore libCrun as
13486 # -library=stlport4 depends on it.
13487 case " $CXX $CXXFLAGS " in
13488 *" -library=stlport4 "*)
13489 solaris_use_stlport4
=yes
13493 # Adding this requires a known-good setup of shared libraries for
13494 # Sun compiler versions before 5.6, else PIC objects from an old
13495 # archive will be linked into the output, leading to subtle bugs.
13496 if test "$solaris_use_stlport4" != yes; then
13497 postdeps_CXX
='-library=Cstd -library=Crun'
13504 case " $postdeps_CXX " in
13505 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13508 lt_prog_compiler_wl_CXX
=
13509 lt_prog_compiler_pic_CXX
=
13510 lt_prog_compiler_static_CXX
=
13512 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13513 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13515 # C++ specific cases for pic, static, wl, etc.
13516 if test "$GXX" = yes; then
13517 lt_prog_compiler_wl_CXX
='-Wl,'
13518 lt_prog_compiler_static_CXX
='-static'
13522 # All AIX code is PIC.
13523 if test "$host_cpu" = ia64
; then
13524 # AIX 5 now supports IA64 processor
13525 lt_prog_compiler_static_CXX
='-Bstatic'
13529 # FIXME: we need at least 68020 code to build shared libraries, but
13530 # adding the `-m68020' flag to GCC prevents building anything better,
13532 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13534 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13535 # PIC is the default for these OSes.
13537 mingw
* | cygwin
* | os2
* | pw32
*)
13538 # This hack is so that the source file can tell whether it is being
13539 # built for inclusion in a dll (and should export symbols for example).
13540 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13541 # (--disable-auto-import) libraries
13542 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13544 darwin
* | rhapsody
*)
13545 # PIC is the default on this platform
13546 # Common symbols not allowed in MH_DYLIB files
13547 lt_prog_compiler_pic_CXX
='-fno-common'
13550 # DJGPP does not support shared libraries at all
13551 lt_prog_compiler_pic_CXX
=
13554 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13555 # Instead, we relocate shared libraries at runtime.
13558 if test -d /usr
/nec
; then
13559 lt_prog_compiler_pic_CXX
=-Kconform_pic
13563 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13564 # not for PA HP-UX.
13569 lt_prog_compiler_pic_CXX
='-fPIC'
13574 lt_prog_compiler_pic_CXX
='-fPIC'
13580 # All AIX code is PIC.
13581 if test "$host_cpu" = ia64
; then
13582 # AIX 5 now supports IA64 processor
13583 lt_prog_compiler_static_CXX
='-Bstatic'
13585 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13589 case $cc_basename in
13591 # Green Hills C++ Compiler
13592 # _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"
13597 # PIC is the default on this platform
13598 # Common symbols not allowed in MH_DYLIB files
13599 case $cc_basename in
13601 lt_prog_compiler_pic_CXX
='-qnocommon'
13602 lt_prog_compiler_wl_CXX
='-Wl,'
13607 case $cc_basename in
13609 lt_prog_compiler_pic_CXX
='-KPIC'
13612 # Green Hills C++ Compiler
13613 lt_prog_compiler_pic_CXX
='-pic'
13619 freebsd
* | dragonfly
*)
13620 # FreeBSD uses GNU C++
13622 hpux9
* | hpux10
* | hpux11
*)
13623 case $cc_basename in
13625 lt_prog_compiler_wl_CXX
='-Wl,'
13626 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13627 if test "$host_cpu" != ia64
; then
13628 lt_prog_compiler_pic_CXX
='+Z'
13632 lt_prog_compiler_wl_CXX
='-Wl,'
13633 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13639 lt_prog_compiler_pic_CXX
='+Z'
13648 # This is c89, which is MS Visual C++ (no shared libs)
13649 # Anyone wants to do a port?
13651 irix5
* | irix6
* | nonstopux
*)
13652 case $cc_basename in
13654 lt_prog_compiler_wl_CXX
='-Wl,'
13655 lt_prog_compiler_static_CXX
='-non_shared'
13656 # CC pic flag -KPIC is the default.
13662 linux
* | k
*bsd
*-gnu)
13663 case $cc_basename in
13666 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13667 lt_prog_compiler_pic_CXX
='-fPIC'
13671 lt_prog_compiler_wl_CXX
='-Wl,'
13672 lt_prog_compiler_pic_CXX
='-KPIC'
13673 lt_prog_compiler_static_CXX
='-static'
13676 # Portland Group C++ compiler.
13677 lt_prog_compiler_wl_CXX
='-Wl,'
13678 lt_prog_compiler_pic_CXX
='-fpic'
13679 lt_prog_compiler_static_CXX
='-Bstatic'
13683 # Make sure the PIC flag is empty. It appears that all Alpha
13684 # Linux and Compaq Tru64 Unix objects are PIC.
13685 lt_prog_compiler_pic_CXX
=
13686 lt_prog_compiler_static_CXX
='-non_shared'
13689 case `$CC -V 2>&1 | sed 5q` in
13692 lt_prog_compiler_pic_CXX
='-KPIC'
13693 lt_prog_compiler_static_CXX
='-Bstatic'
13694 lt_prog_compiler_wl_CXX
='-Qoption ld '
13705 case $cc_basename in
13707 lt_prog_compiler_pic_CXX
='-W c,exportall'
13713 netbsd
* | netbsdelf
*-gnu)
13715 osf3
* | osf4
* | osf5
*)
13716 case $cc_basename in
13718 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13721 # Rational C++ 2.4.1
13722 lt_prog_compiler_pic_CXX
='-pic'
13725 # Digital/Compaq C++
13726 lt_prog_compiler_wl_CXX
='-Wl,'
13727 # Make sure the PIC flag is empty. It appears that all Alpha
13728 # Linux and Compaq Tru64 Unix objects are PIC.
13729 lt_prog_compiler_pic_CXX
=
13730 lt_prog_compiler_static_CXX
='-non_shared'
13739 case $cc_basename in
13741 # Sun C++ 4.2, 5.x and Centerline C++
13742 lt_prog_compiler_pic_CXX
='-KPIC'
13743 lt_prog_compiler_static_CXX
='-Bstatic'
13744 lt_prog_compiler_wl_CXX
='-Qoption ld '
13747 # Green Hills C++ Compiler
13748 lt_prog_compiler_pic_CXX
='-PIC'
13755 case $cc_basename in
13758 lt_prog_compiler_pic_CXX
='-pic'
13759 lt_prog_compiler_static_CXX
='-Bstatic'
13763 lt_prog_compiler_pic_CXX
='-pic'
13770 case $cc_basename in
13772 # NonStop-UX NCC 3.20
13773 lt_prog_compiler_pic_CXX
='-KPIC'
13779 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13780 case $cc_basename in
13782 lt_prog_compiler_wl_CXX
='-Wl,'
13783 lt_prog_compiler_pic_CXX
='-KPIC'
13784 lt_prog_compiler_static_CXX
='-Bstatic'
13791 lt_prog_compiler_can_build_shared_CXX
=no
13796 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13797 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13800 # Check to make sure the PIC flag actually works.
13802 if test -n "$lt_prog_compiler_pic_CXX"; then
13804 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13805 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13806 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 lt_cv_prog_compiler_pic_works_CXX
=no
13810 ac_outfile
=conftest.
$ac_objext
13811 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13812 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13813 # Insert the option either (1) after the last *FLAGS variable, or
13814 # (2) before a word containing "conftest.", or (3) at the end.
13815 # Note that $ac_compile itself does not contain backslashes and begins
13816 # with a dollar sign (not a hyphen), so the echo should work correctly.
13817 # The option is referenced via a variable to avoid confusing sed.
13818 lt_compile
=`echo "$ac_compile" | $SED \
13819 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13820 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13821 -e 's:$: $lt_compiler_flag:'`
13822 (eval echo "\"\$as_me:13822: $lt_compile\"" >&5)
13823 (eval "$lt_compile" 2>conftest.err
)
13825 cat conftest.err
>&5
13826 echo "$as_me:13826: \$? = $ac_status" >&5
13827 if (exit $ac_status) && test -s "$ac_outfile"; then
13828 # The compiler can only warn and ignore the option if not recognized
13829 # So say no if there are warnings other than the usual output.
13830 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13831 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13832 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13833 lt_cv_prog_compiler_pic_works_CXX
=yes
13839 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13840 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13842 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13843 case $lt_prog_compiler_pic_CXX in
13845 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13848 lt_prog_compiler_pic_CXX
=
13849 lt_prog_compiler_can_build_shared_CXX
=no
13854 # For platforms which do not support PIC, -DPIC is meaningless:
13856 lt_prog_compiler_pic_CXX
=
13859 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13864 # Check to make sure the static flag actually works.
13866 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13867 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13868 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13869 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13870 echo $ECHO_N "(cached) $ECHO_C" >&6
13872 lt_cv_prog_compiler_static_works_CXX
=no
13873 save_LDFLAGS
="$LDFLAGS"
13874 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13875 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13876 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13877 # The linker can only warn and ignore the option if not recognized
13878 # So say no if there are warnings
13879 if test -s conftest.err
; then
13880 # Append any errors to the config.log.
13881 cat conftest.err
1>&5
13882 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13883 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13884 if diff conftest.exp conftest.er2
>/dev
/null
; then
13885 lt_cv_prog_compiler_static_works_CXX
=yes
13888 lt_cv_prog_compiler_static_works_CXX
=yes
13892 LDFLAGS
="$save_LDFLAGS"
13895 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13896 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13898 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13901 lt_prog_compiler_static_CXX
=
13905 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13906 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13907 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 lt_cv_prog_compiler_c_o_CXX
=no
13911 $rm -r conftest
2>/dev
/null
13915 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13917 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13918 # Insert the option either (1) after the last *FLAGS variable, or
13919 # (2) before a word containing "conftest.", or (3) at the end.
13920 # Note that $ac_compile itself does not contain backslashes and begins
13921 # with a dollar sign (not a hyphen), so the echo should work correctly.
13922 lt_compile
=`echo "$ac_compile" | $SED \
13923 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13924 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13925 -e 's:$: $lt_compiler_flag:'`
13926 (eval echo "\"\$as_me:13926: $lt_compile\"" >&5)
13927 (eval "$lt_compile" 2>out
/conftest.err
)
13929 cat out
/conftest.err
>&5
13930 echo "$as_me:13930: \$? = $ac_status" >&5
13931 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13933 # The compiler can only warn and ignore the option if not recognized
13934 # So say no if there are warnings
13935 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13936 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13937 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13938 lt_cv_prog_compiler_c_o_CXX
=yes
13943 # SGI C++ compiler will create directory out/ii_files/ for
13944 # template instantiation
13945 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13946 $rm out
/* && rmdir out
13952 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13953 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13956 hard_links
="nottested"
13957 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13958 # do not overwrite the value of need_locks provided by the user
13959 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13960 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13963 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13965 ln conftest.a conftest.b
2>&5 || hard_links
=no
13966 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13967 { echo "$as_me:$LINENO: result: $hard_links" >&5
13968 echo "${ECHO_T}$hard_links" >&6; }
13969 if test "$hard_links" = no
; then
13970 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13971 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13978 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13979 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13981 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13984 # If we're using GNU nm, then we don't want the "-C" option.
13985 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13986 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
13987 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'
13989 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'
13993 export_symbols_cmds_CXX
="$ltdll_cmds"
13996 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'
13998 linux
* | k
*bsd
*-gnu)
13999 link_all_deplibs_CXX
=no
14002 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14005 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14007 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14008 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14009 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14012 # Do we need to explicitly link libc?
14014 case "x$archive_cmds_need_lc_CXX" in
14016 # Assume -lc should be added
14017 archive_cmds_need_lc_CXX
=yes
14019 if test "$enable_shared" = yes && test "$GCC" = yes; then
14020 case $archive_cmds_CXX in
14022 # FIXME: we may have to deal with multi-command sequences.
14025 # Test whether the compiler implicitly links with -lc since on some
14026 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14027 # to ld, don't add -lc before -lgcc.
14028 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14029 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14031 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14034 (eval $ac_compile) 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); } 2>conftest.err
; then
14040 libobjs
=conftest.
$ac_objext
14042 wl
=$lt_prog_compiler_wl_CXX
14043 pic_flag
=$lt_prog_compiler_pic_CXX
14049 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14050 allow_undefined_flag_CXX
=
14051 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14052 (eval $archive_cmds_CXX 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }
14057 archive_cmds_need_lc_CXX
=no
14059 archive_cmds_need_lc_CXX
=yes
14061 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14063 cat conftest.err
1>&5
14066 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14067 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14074 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14075 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14076 library_names_spec
=
14077 libname_spec
='lib$name'
14081 postuninstall_cmds
=
14085 shlibpath_overrides_runpath
=unknown
14087 dynamic_linker
="$host_os ld.so"
14088 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14090 need_lib_prefix
=unknown
14091 hardcode_into_libs
=no
14093 # when you set need_version to no, make sure it does not cause -set_version
14094 # flags to be left without arguments
14095 need_version
=unknown
14100 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14101 shlibpath_var
=LIBPATH
14103 # AIX 3 has no versioning support, so we append a major version to the name.
14104 soname_spec
='${libname}${release}${shared_ext}$major'
14111 hardcode_into_libs
=yes
14112 if test "$host_cpu" = ia64
; then
14113 # AIX 5 supports IA64
14114 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14115 shlibpath_var
=LD_LIBRARY_PATH
14117 # With GCC up to 2.95.x, collect2 would create an import file
14118 # for dependence libraries. The import file would start with
14119 # the line `#! .'. This would cause the generated library to
14120 # depend on `.', always an invalid library. This was fixed in
14121 # development snapshots of GCC prior to 3.0.
14123 aix4
| aix4.
[01] | aix4.
[01].
*)
14124 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14126 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
14129 can_build_shared
=no
14133 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14134 # soname into executable. Probably we can add versioning support to
14135 # collect2, so additional links can be useful in future.
14136 if test "$aix_use_runtimelinking" = yes; then
14137 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14138 # instead of lib<name>.a to let people know that these are not
14139 # typical AIX shared libraries.
14140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14142 # We preserve .a as extension for shared libraries through AIX4.2
14143 # and later when we are not doing run time linking.
14144 library_names_spec
='${libname}${release}.a $libname.a'
14145 soname_spec
='${libname}${release}${shared_ext}$major'
14147 shlibpath_var
=LIBPATH
14152 library_names_spec
='$libname.ixlibrary $libname.a'
14153 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14154 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'
14158 library_names_spec
='${libname}${shared_ext}'
14159 dynamic_linker
="$host_os ld.so"
14160 shlibpath_var
=LIBRARY_PATH
14166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14167 soname_spec
='${libname}${release}${shared_ext}$major'
14168 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14169 shlibpath_var
=LD_LIBRARY_PATH
14170 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14171 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14172 # the default ld.so.conf also contains /usr/contrib/lib and
14173 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14174 # libtool to hard-code these into programs
14177 cygwin
* | mingw
* | pw32
*)
14178 version_type
=windows
14183 case $GCC,$host_os in
14184 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
14185 library_names_spec
='$libname.dll.a'
14186 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14187 postinstall_cmds
='base_file=`basename \${file}`~
14188 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14189 dldir=$destdir/`dirname \$dlpath`~
14190 test -d \$dldir || mkdir -p \$dldir~
14191 $install_prog $dir/$dlname \$dldir/$dlname~
14192 chmod a+x \$dldir/$dlname'
14193 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14194 dlpath=$dir/\$dldll~
14196 shlibpath_overrides_runpath
=yes
14200 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14201 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14202 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14205 # MinGW DLLs use traditional 'lib' prefix
14206 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14207 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14208 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
14209 # It is most probably a Windows format PATH printed by
14210 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14211 # path with ; separators, and with drive letters. We can handle the
14212 # drive letters (cygwin fileutils understands them), so leave them,
14213 # especially as we might pass files found there to a mingw objdump,
14214 # which wouldn't understand a cygwinified path. Ahh.
14215 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14217 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14221 # pw32 DLLs use 'pw' prefix rather than 'lib'
14222 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14228 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
14231 dynamic_linker
='Win32 ld.exe'
14232 # FIXME: first we should search . and the directory the executable is in
14236 darwin
* | rhapsody
*)
14237 dynamic_linker
="$host_os dyld"
14238 version_type
=darwin
14241 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14242 soname_spec
='${libname}${release}${major}$shared_ext'
14243 shlibpath_overrides_runpath
=yes
14244 shlibpath_var
=DYLD_LIBRARY_PATH
14245 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14247 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14255 soname_spec
='${libname}${release}${shared_ext}$major'
14256 shlibpath_var
=LD_LIBRARY_PATH
14263 freebsd
* | dragonfly
*)
14264 # DragonFly does not have aout. When/if they implement a new
14265 # versioning mechanism, adjust this.
14266 if test -x /usr
/bin
/objformat
; then
14267 objformat
=`/usr/bin/objformat`
14270 freebsd
[123]*) objformat
=aout
;;
14271 *) objformat
=elf
;;
14274 version_type
=freebsd
-$objformat
14275 case $version_type in
14277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14282 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14286 shlibpath_var
=LD_LIBRARY_PATH
14289 shlibpath_overrides_runpath
=yes
14291 freebsd3.
[01]* | freebsdelf3.
[01]*)
14292 shlibpath_overrides_runpath
=yes
14293 hardcode_into_libs
=yes
14295 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14296 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14297 shlibpath_overrides_runpath
=no
14298 hardcode_into_libs
=yes
14300 *) # from 4.6 on, and DragonFly
14301 shlibpath_overrides_runpath
=yes
14302 hardcode_into_libs
=yes
14311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14312 soname_spec
='${libname}${release}${shared_ext}$major'
14313 shlibpath_var
=LD_LIBRARY_PATH
14314 hardcode_into_libs
=yes
14317 hpux9
* | hpux10
* | hpux11
*)
14318 # Give a soname corresponding to the major version so that dld.sl refuses to
14319 # link against other versions.
14326 hardcode_into_libs
=yes
14327 dynamic_linker
="$host_os dld.so"
14328 shlibpath_var
=LD_LIBRARY_PATH
14329 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14331 soname_spec
='${libname}${release}${shared_ext}$major'
14332 if test "X$HPUX_IA64_MODE" = X32
; then
14333 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14335 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14337 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14341 hardcode_into_libs
=yes
14342 dynamic_linker
="$host_os dld.sl"
14343 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14344 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14346 soname_spec
='${libname}${release}${shared_ext}$major'
14347 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14348 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14352 dynamic_linker
="$host_os dld.sl"
14353 shlibpath_var
=SHLIB_PATH
14354 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14356 soname_spec
='${libname}${release}${shared_ext}$major'
14359 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14360 postinstall_cmds
='chmod 555 $lib'
14367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14368 soname_spec
='${libname}${release}${shared_ext}$major'
14369 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14370 shlibpath_var
=LD_LIBRARY_PATH
14371 shlibpath_overrides_runpath
=no
14372 hardcode_into_libs
=yes
14375 irix5
* | irix6
* | nonstopux
*)
14377 nonstopux
*) version_type
=nonstopux
;;
14379 if test "$lt_cv_prog_gnu_ld" = yes; then
14387 soname_spec
='${libname}${release}${shared_ext}$major'
14388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14390 irix5
* | nonstopux
*)
14391 libsuff
= shlibsuff
=
14394 case $LD in # libtool.m4 will add one of these switches to LD
14395 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14396 libsuff
= shlibsuff
= libmagic
=32-bit;;
14397 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14398 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14399 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14400 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14401 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
14405 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14406 shlibpath_overrides_runpath
=no
14407 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14408 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14409 hardcode_into_libs
=yes
14412 # No shared lib support for Linux oldld, aout, or coff.
14413 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14417 # This must be Linux ELF.
14418 linux
* | k
*bsd
*-gnu)
14422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14423 soname_spec
='${libname}${release}${shared_ext}$major'
14424 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14425 shlibpath_var
=LD_LIBRARY_PATH
14426 shlibpath_overrides_runpath
=no
14427 # This implies no fast_install, which is unacceptable.
14428 # Some rework will be needed to allow for fast_install
14429 # before this can be enabled.
14430 hardcode_into_libs
=yes
14432 # Append ld.so.conf contents to the search path
14433 if test -f /etc
/ld.so.conf
; then
14434 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14435 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14438 # We used to test for /lib/ld.so.1 and disable shared libraries on
14439 # powerpc, because MkLinux only supported shared libraries with the
14440 # GNU dynamic linker. Since this was broken with cross compilers,
14441 # most powerpc-linux boxes support dynamic linking these days and
14442 # people can always --disable-shared, the test was removed, and we
14443 # assume the GNU/Linux dynamic linker is in use.
14444 dynamic_linker
='GNU/Linux ld.so'
14451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14452 soname_spec
='${libname}${release}${shared_ext}$major'
14453 shlibpath_var
=LD_LIBRARY_PATH
14454 shlibpath_overrides_runpath
=no
14455 hardcode_into_libs
=yes
14456 dynamic_linker
='NetBSD ld.elf_so'
14463 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
14464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14466 dynamic_linker
='NetBSD (a.out) ld.so'
14468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14469 soname_spec
='${libname}${release}${shared_ext}$major'
14470 dynamic_linker
='NetBSD ld.elf_so'
14472 shlibpath_var
=LD_LIBRARY_PATH
14473 shlibpath_overrides_runpath
=yes
14474 hardcode_into_libs
=yes
14479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14480 shlibpath_var
=LD_LIBRARY_PATH
14481 shlibpath_overrides_runpath
=yes
14488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14489 soname_spec
='${libname}${release}${shared_ext}$major'
14490 shlibpath_var
=LD_LIBRARY_PATH
14491 shlibpath_overrides_runpath
=yes
14496 sys_lib_dlsearch_path_spec
="/usr/lib"
14498 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14500 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
14501 *) need_version
=no
;;
14503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14504 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14505 shlibpath_var
=LD_LIBRARY_PATH
14506 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14508 openbsd2.
[89] | openbsd2.
[89].
*)
14509 shlibpath_overrides_runpath
=no
14512 shlibpath_overrides_runpath
=yes
14516 shlibpath_overrides_runpath
=yes
14521 libname_spec
='$name'
14524 library_names_spec
='$libname${shared_ext} $libname.a'
14525 dynamic_linker
='OS/2 ld.exe'
14526 shlibpath_var
=LIBPATH
14529 osf3
* | osf4
* | osf5
*)
14533 soname_spec
='${libname}${release}${shared_ext}$major'
14534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14535 shlibpath_var
=LD_LIBRARY_PATH
14536 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14537 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14549 soname_spec
='${libname}${release}${shared_ext}$major'
14550 shlibpath_var
=LD_LIBRARY_PATH
14551 shlibpath_overrides_runpath
=yes
14552 hardcode_into_libs
=yes
14553 # ldd complains unless libraries are executable
14554 postinstall_cmds
='chmod +x $lib'
14559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14560 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14561 shlibpath_var
=LD_LIBRARY_PATH
14562 shlibpath_overrides_runpath
=yes
14563 if test "$with_gnu_ld" = yes; then
14571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14572 soname_spec
='${libname}${release}${shared_ext}$major'
14573 shlibpath_var
=LD_LIBRARY_PATH
14574 case $host_vendor in
14576 shlibpath_overrides_runpath
=no
14578 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14579 runpath_var
=LD_RUN_PATH
14587 shlibpath_overrides_runpath
=no
14588 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14594 if test -d /usr
/nec
;then
14596 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14597 soname_spec
='$libname${shared_ext}.$major'
14598 shlibpath_var
=LD_LIBRARY_PATH
14602 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14603 version_type
=freebsd
-elf
14606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14607 soname_spec
='${libname}${release}${shared_ext}$major'
14608 shlibpath_var
=LD_LIBRARY_PATH
14609 hardcode_into_libs
=yes
14610 if test "$with_gnu_ld" = yes; then
14611 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14612 shlibpath_overrides_runpath
=no
14614 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14615 shlibpath_overrides_runpath
=yes
14618 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14622 sys_lib_dlsearch_path_spec
='/usr/lib'
14627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14628 soname_spec
='${libname}${release}${shared_ext}$major'
14629 shlibpath_var
=LD_LIBRARY_PATH
14636 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14637 echo "${ECHO_T}$dynamic_linker" >&6; }
14638 test "$dynamic_linker" = no
&& can_build_shared
=no
14640 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14641 echo $ECHO_N "(cached) $ECHO_C" >&6
14643 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
14646 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14647 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14650 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
14653 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14655 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14656 if test "$GCC" = yes; then
14657 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14660 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14661 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14662 hardcode_action_CXX
=
14663 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14664 test -n "$runpath_var_CXX" || \
14665 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14667 # We can hardcode non-existant directories.
14668 if test "$hardcode_direct_CXX" != no
&&
14669 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14670 # have to relink, otherwise we might link with an installed library
14671 # when we should be linking with a yet-to-be-installed one
14672 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14673 test "$hardcode_minus_L_CXX" != no
; then
14674 # Linking always hardcodes the temporary library directory.
14675 hardcode_action_CXX
=relink
14677 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14678 hardcode_action_CXX
=immediate
14681 # We cannot hardcode anything, or else we can only hardcode existing
14683 hardcode_action_CXX
=unsupported
14685 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14686 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14688 if test "$hardcode_action_CXX" = relink
; then
14689 # Fast installation is not supported
14690 enable_fast_install
=no
14691 elif test "$shlibpath_overrides_runpath" = yes ||
14692 test "$enable_shared" = no
; then
14693 # Fast installation is not necessary
14694 enable_fast_install
=needless
14698 # The else clause should only fire when bootstrapping the
14699 # libtool distribution, otherwise you forgot to ship ltmain.sh
14700 # with your package, and you will get complaints that there are
14701 # no rules to generate ltmain.sh.
14702 if test -f "$ltmain"; then
14703 # See if we are running on zsh, and set the options which allow our commands through
14704 # without removal of \ escapes.
14705 if test -n "${ZSH_VERSION+set}" ; then
14706 setopt NO_GLOB_SUBST
14708 # Now quote all the things that may contain metacharacters while being
14709 # careful not to overquote the AC_SUBSTed values. We take copies of the
14710 # variables and quote the copies for generation of the libtool script.
14711 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14713 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14714 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14715 deplibs_check_method reload_flag reload_cmds need_locks \
14716 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14717 lt_cv_sys_global_symbol_to_c_name_address \
14718 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14719 old_postinstall_cmds old_postuninstall_cmds \
14723 lt_prog_compiler_wl_CXX \
14724 lt_prog_compiler_pic_CXX \
14725 lt_prog_compiler_static_CXX \
14726 lt_prog_compiler_no_builtin_flag_CXX \
14727 export_dynamic_flag_spec_CXX \
14728 thread_safe_flag_spec_CXX \
14729 whole_archive_flag_spec_CXX \
14730 enable_shared_with_static_runtimes_CXX \
14731 old_archive_cmds_CXX \
14732 old_archive_from_new_cmds_CXX \
14733 predep_objects_CXX \
14734 postdep_objects_CXX \
14737 compiler_lib_search_path_CXX \
14738 compiler_lib_search_dirs_CXX \
14740 archive_expsym_cmds_CXX \
14741 postinstall_cmds_CXX \
14742 postuninstall_cmds_CXX \
14743 old_archive_from_expsyms_cmds_CXX \
14744 allow_undefined_flag_CXX \
14745 no_undefined_flag_CXX \
14746 export_symbols_cmds_CXX \
14747 hardcode_libdir_flag_spec_CXX \
14748 hardcode_libdir_flag_spec_ld_CXX \
14749 hardcode_libdir_separator_CXX \
14750 hardcode_automatic_CXX \
14752 module_expsym_cmds_CXX \
14753 lt_cv_prog_compiler_c_o_CXX \
14754 fix_srcfile_path_CXX \
14755 exclude_expsyms_CXX \
14756 include_expsyms_CXX
; do
14759 old_archive_cmds_CXX
| \
14760 old_archive_from_new_cmds_CXX
| \
14761 archive_cmds_CXX
| \
14762 archive_expsym_cmds_CXX
| \
14763 module_cmds_CXX
| \
14764 module_expsym_cmds_CXX
| \
14765 old_archive_from_expsyms_cmds_CXX
| \
14766 export_symbols_cmds_CXX
| \
14767 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
14768 postinstall_cmds
| postuninstall_cmds
| \
14769 old_postinstall_cmds
| old_postuninstall_cmds
| \
14770 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
14771 # Double-quote double-evaled strings.
14772 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14775 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14781 *'\$0 --fallback-echo"')
14782 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14788 cat <<__EOF__ >> "$cfgfile"
14789 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14791 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14793 # Shell to use when invoking shell scripts.
14796 # Whether or not to build shared libraries.
14797 build_libtool_libs=$enable_shared
14799 # Whether or not to build static libraries.
14800 build_old_libs=$enable_static
14802 # Whether or not to add -lc for building shared libraries.
14803 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14805 # Whether or not to disallow shared libs when runtime libs are static
14806 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14808 # Whether or not to optimize for fast installation.
14809 fast_install=$enable_fast_install
14812 host_alias=$host_alias
14816 # The build system.
14817 build_alias=$build_alias
14821 # An echo program that does not interpret backslashes.
14826 AR_FLAGS=$lt_AR_FLAGS
14831 # LTCC compiler flags.
14832 LTCFLAGS=$lt_LTCFLAGS
14834 # A language-specific compiler.
14835 CC=$lt_compiler_CXX
14837 # Is the compiler the GNU C compiler?
14843 # The linker used to build libraries.
14846 # Whether we need hard or soft links.
14849 # A BSD-compatible nm program.
14852 # A symbol stripping program
14855 # Used to examine libraries when file_magic_cmd begins "file"
14856 MAGIC_CMD=$MAGIC_CMD
14858 # Used on cygwin: DLL creation program.
14861 # Used on cygwin: object dumper.
14864 # Used on cygwin: assembler.
14867 # The name of the directory that contains temporary libtool files.
14870 # How to create reloadable object files.
14871 reload_flag=$lt_reload_flag
14872 reload_cmds=$lt_reload_cmds
14874 # How to pass a linker flag through the compiler.
14875 wl=$lt_lt_prog_compiler_wl_CXX
14877 # Object file suffix (normally "o").
14878 objext="$ac_objext"
14880 # Old archive suffix (normally "a").
14883 # Shared library suffix (normally ".so").
14884 shrext_cmds='$shrext_cmds'
14886 # Executable file suffix (normally "").
14889 # Additional compiler flags for building library objects.
14890 pic_flag=$lt_lt_prog_compiler_pic_CXX
14893 # What is the maximum length of a command?
14894 max_cmd_len=$lt_cv_sys_max_cmd_len
14896 # Does compiler simultaneously support -c and -o options?
14897 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14899 # Must we lock files when doing compilation?
14900 need_locks=$lt_need_locks
14902 # Do we need the lib prefix for modules?
14903 need_lib_prefix=$need_lib_prefix
14905 # Do we need a version for libraries?
14906 need_version=$need_version
14908 # Whether dlopen is supported.
14909 dlopen_support=$enable_dlopen
14911 # Whether dlopen of programs is supported.
14912 dlopen_self=$enable_dlopen_self
14914 # Whether dlopen of statically linked programs is supported.
14915 dlopen_self_static=$enable_dlopen_self_static
14917 # Compiler flag to prevent dynamic linking.
14918 link_static_flag=$lt_lt_prog_compiler_static_CXX
14920 # Compiler flag to turn off builtin functions.
14921 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14923 # Compiler flag to allow reflexive dlopens.
14924 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14926 # Compiler flag to generate shared objects directly from archives.
14927 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14929 # Compiler flag to generate thread-safe objects.
14930 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14932 # Library versioning type.
14933 version_type=$version_type
14935 # Format of library name prefix.
14936 libname_spec=$lt_libname_spec
14938 # List of archive names. First name is the real one, the rest are links.
14939 # The last name is the one that the linker finds with -lNAME.
14940 library_names_spec=$lt_library_names_spec
14942 # The coded name of the library, if different from the real name.
14943 soname_spec=$lt_soname_spec
14945 # Commands used to build and install an old-style archive.
14947 old_archive_cmds=$lt_old_archive_cmds_CXX
14948 old_postinstall_cmds=$lt_old_postinstall_cmds
14949 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14951 # Create an old-style archive from a shared archive.
14952 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14954 # Create a temporary old-style archive to link instead of a shared archive.
14955 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14957 # Commands used to build and install a shared archive.
14958 archive_cmds=$lt_archive_cmds_CXX
14959 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14960 postinstall_cmds=$lt_postinstall_cmds
14961 postuninstall_cmds=$lt_postuninstall_cmds
14963 # Commands used to build a loadable module (assumed same as above if empty)
14964 module_cmds=$lt_module_cmds_CXX
14965 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14967 # Commands to strip libraries.
14968 old_striplib=$lt_old_striplib
14969 striplib=$lt_striplib
14971 # Dependencies to place before the objects being linked to create a
14973 predep_objects=$lt_predep_objects_CXX
14975 # Dependencies to place after the objects being linked to create a
14977 postdep_objects=$lt_postdep_objects_CXX
14979 # Dependencies to place before the objects being linked to create a
14981 predeps=$lt_predeps_CXX
14983 # Dependencies to place after the objects being linked to create a
14985 postdeps=$lt_postdeps_CXX
14987 # The directories searched by this compiler when creating a shared
14989 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14991 # The library search path used internally by the compiler when linking
14992 # a shared library.
14993 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14995 # Method to check whether dependent libraries are shared objects.
14996 deplibs_check_method=$lt_deplibs_check_method
14998 # Command to use when deplibs_check_method == file_magic.
14999 file_magic_cmd=$lt_file_magic_cmd
15001 # Flag that allows shared libraries with undefined symbols to be built.
15002 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15004 # Flag that forces no undefined symbols.
15005 no_undefined_flag=$lt_no_undefined_flag_CXX
15007 # Commands used to finish a libtool library installation in a directory.
15008 finish_cmds=$lt_finish_cmds
15010 # Same as above, but a single script fragment to be evaled but not shown.
15011 finish_eval=$lt_finish_eval
15013 # Take the output of nm and produce a listing of raw symbols and C names.
15014 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15016 # Transform the output of nm in a proper C declaration
15017 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15019 # Transform the output of nm in a C name address pair
15020 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15022 # This is the shared library runtime path variable.
15023 runpath_var=$runpath_var
15025 # This is the shared library path variable.
15026 shlibpath_var=$shlibpath_var
15028 # Is shlibpath searched before the hard-coded library search path?
15029 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15031 # How to hardcode a shared library path into an executable.
15032 hardcode_action=$hardcode_action_CXX
15034 # Whether we should hardcode library paths into libraries.
15035 hardcode_into_libs=$hardcode_into_libs
15037 # Flag to hardcode \$libdir into a binary during linking.
15038 # This must work even if \$libdir does not exist.
15039 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15041 # If ld is used when linking, flag to hardcode \$libdir into
15042 # a binary during linking. This must work even if \$libdir does
15044 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15046 # Whether we need a single -rpath flag with a separated argument.
15047 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15049 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15050 # resulting binary.
15051 hardcode_direct=$hardcode_direct_CXX
15053 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15054 # resulting binary.
15055 hardcode_minus_L=$hardcode_minus_L_CXX
15057 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15058 # the resulting binary.
15059 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15061 # Set to yes if building a shared library automatically hardcodes DIR into the library
15062 # and all subsequent libraries and executables linked against it.
15063 hardcode_automatic=$hardcode_automatic_CXX
15065 # Variables whose values should be saved in libtool wrapper scripts and
15066 # restored at relink time.
15067 variables_saved_for_relink="$variables_saved_for_relink"
15069 # Whether libtool must link a program against all its dependency libraries.
15070 link_all_deplibs=$link_all_deplibs_CXX
15072 # Compile-time system search path for libraries
15073 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15075 # Run-time system search path for libraries
15076 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15078 # Fix the shell variable \$srcfile for the compiler.
15079 fix_srcfile_path=$lt_fix_srcfile_path
15081 # Set to yes if exported symbols are required.
15082 always_export_symbols=$always_export_symbols_CXX
15084 # The commands to list exported symbols.
15085 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15087 # The commands to extract the exported symbol list from a shared archive.
15088 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15090 # Symbols that should not be listed in the preloaded symbols.
15091 exclude_expsyms=$lt_exclude_expsyms_CXX
15093 # Symbols that must always be exported.
15094 include_expsyms=$lt_include_expsyms_CXX
15096 # ### END LIBTOOL TAG CONFIG: $tagname
15102 # If there is no Makefile yet, we rely on a make rule to execute
15103 # `config.status --recheck' to rerun these tests and create the
15104 # libtool script then.
15105 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15106 if test -f "$ltmain_in"; then
15107 test -f Makefile
&& make "$ltmain"
15113 ac_cpp
='$CPP $CPPFLAGS'
15114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15122 with_gnu_ldcxx
=$with_gnu_ld
15123 with_gnu_ld
=$lt_save_with_gnu_ld
15124 lt_cv_path_LDCXX
=$lt_cv_path_LD
15125 lt_cv_path_LD
=$lt_save_path_LD
15126 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15127 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15135 if test -n "$F77" && test "X$F77" != "Xno"; then
15138 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15139 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15140 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
15143 archive_cmds_need_lc_F77
=no
15144 allow_undefined_flag_F77
=
15145 always_export_symbols_F77
=no
15146 archive_expsym_cmds_F77
=
15147 export_dynamic_flag_spec_F77
=
15148 hardcode_direct_F77
=no
15149 hardcode_libdir_flag_spec_F77
=
15150 hardcode_libdir_flag_spec_ld_F77
=
15151 hardcode_libdir_separator_F77
=
15152 hardcode_minus_L_F77
=no
15153 hardcode_automatic_F77
=no
15155 module_expsym_cmds_F77
=
15156 link_all_deplibs_F77
=unknown
15157 old_archive_cmds_F77
=$old_archive_cmds
15158 no_undefined_flag_F77
=
15159 whole_archive_flag_spec_F77
=
15160 enable_shared_with_static_runtimes_F77
=no
15162 # Source file extension for f77 test sources.
15165 # Object file extension for compiled f77 test sources.
15169 # Code to be used in simple compile tests
15170 lt_simple_compile_test_code
="\
15176 # Code to be used in simple link tests
15177 lt_simple_link_test_code
="\
15182 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15184 # If no C compiler was specified, use CC.
15187 # If no C compiler flags were specified, use CFLAGS.
15188 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15190 # Allow CC to be a program name with arguments.
15194 # save warnings/boilerplate of simple test code
15195 ac_outfile
=conftest.
$ac_objext
15196 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15197 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15198 _lt_compiler_boilerplate
=`cat conftest.err`
15201 ac_outfile
=conftest.
$ac_objext
15202 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15203 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15204 _lt_linker_boilerplate
=`cat conftest.err`
15208 # Allow CC to be a program name with arguments.
15213 for cc_temp
in $compiler""; do
15215 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
15216 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
15221 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15224 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15225 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15226 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15227 echo "${ECHO_T}$can_build_shared" >&6; }
15229 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15230 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15231 test "$can_build_shared" = "no" && enable_shared
=no
15233 # On AIX, shared libraries and static libraries use the same namespace, and
15234 # are all built from PIC.
15237 test "$enable_shared" = yes && enable_static
=no
15238 if test -n "$RANLIB"; then
15239 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15240 postinstall_cmds
='$RANLIB $lib'
15244 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15245 test "$enable_shared" = yes && enable_static
=no
15249 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15250 echo "${ECHO_T}$enable_shared" >&6; }
15252 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15253 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15254 # Make sure either enable_shared or enable_static is yes.
15255 test "$enable_shared" = yes || enable_static
=yes
15256 { echo "$as_me:$LINENO: result: $enable_static" >&5
15257 echo "${ECHO_T}$enable_static" >&6; }
15262 lt_prog_compiler_wl_F77
=
15263 lt_prog_compiler_pic_F77
=
15264 lt_prog_compiler_static_F77
=
15266 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15267 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15269 if test "$GCC" = yes; then
15270 lt_prog_compiler_wl_F77
='-Wl,'
15271 lt_prog_compiler_static_F77
='-static'
15275 # All AIX code is PIC.
15276 if test "$host_cpu" = ia64
; then
15277 # AIX 5 now supports IA64 processor
15278 lt_prog_compiler_static_F77
='-Bstatic'
15283 # FIXME: we need at least 68020 code to build shared libraries, but
15284 # adding the `-m68020' flag to GCC prevents building anything better,
15286 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
15289 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15290 # PIC is the default for these OSes.
15293 mingw
* | cygwin
* | pw32
* | os2
*)
15294 # This hack is so that the source file can tell whether it is being
15295 # built for inclusion in a dll (and should export symbols for example).
15296 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15297 # (--disable-auto-import) libraries
15298 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15301 darwin
* | rhapsody
*)
15302 # PIC is the default on this platform
15303 # Common symbols not allowed in MH_DYLIB files
15304 lt_prog_compiler_pic_F77
='-fno-common'
15308 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15309 # Instead, we relocate shared libraries at runtime.
15313 # Just because we use GCC doesn't mean we suddenly get shared libraries
15314 # on systems that don't support them.
15315 lt_prog_compiler_can_build_shared_F77
=no
15320 if test -d /usr
/nec
; then
15321 lt_prog_compiler_pic_F77
=-Kconform_pic
15326 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15327 # not for PA HP-UX.
15333 lt_prog_compiler_pic_F77
='-fPIC'
15339 lt_prog_compiler_pic_F77
='-fPIC'
15343 # PORTME Check for flag to pass linker flags through the system compiler.
15346 lt_prog_compiler_wl_F77
='-Wl,'
15347 if test "$host_cpu" = ia64
; then
15348 # AIX 5 now supports IA64 processor
15349 lt_prog_compiler_static_F77
='-Bstatic'
15351 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
15355 # PIC is the default on this platform
15356 # Common symbols not allowed in MH_DYLIB files
15357 case $cc_basename in
15359 lt_prog_compiler_pic_F77
='-qnocommon'
15360 lt_prog_compiler_wl_F77
='-Wl,'
15365 mingw
* | cygwin
* | pw32
* | os2
*)
15366 # This hack is so that the source file can tell whether it is being
15367 # built for inclusion in a dll (and should export symbols for example).
15368 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15371 hpux9
* | hpux10
* | hpux11
*)
15372 lt_prog_compiler_wl_F77
='-Wl,'
15373 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15374 # not for PA HP-UX.
15380 lt_prog_compiler_pic_F77
='+Z'
15383 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15384 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
15387 irix5
* | irix6
* | nonstopux
*)
15388 lt_prog_compiler_wl_F77
='-Wl,'
15389 # PIC (with -KPIC) is the default.
15390 lt_prog_compiler_static_F77
='-non_shared'
15394 lt_prog_compiler_pic_F77
='-KPIC'
15395 lt_prog_compiler_static_F77
='-Bstatic'
15398 linux
* | k
*bsd
*-gnu)
15399 case $cc_basename in
15401 lt_prog_compiler_wl_F77
='-Wl,'
15402 lt_prog_compiler_pic_F77
='-KPIC'
15403 lt_prog_compiler_static_F77
='-static'
15405 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15406 # Portland Group compilers (*not* the Pentium gcc compiler,
15407 # which looks to be a dead project)
15408 lt_prog_compiler_wl_F77
='-Wl,'
15409 lt_prog_compiler_pic_F77
='-fpic'
15410 lt_prog_compiler_static_F77
='-Bstatic'
15413 lt_prog_compiler_wl_F77
='-Wl,'
15414 # All Alpha code is PIC.
15415 lt_prog_compiler_static_F77
='-non_shared'
15418 case `$CC -V 2>&1 | sed 5q` in
15421 lt_prog_compiler_pic_F77
='-KPIC'
15422 lt_prog_compiler_static_F77
='-Bstatic'
15423 lt_prog_compiler_wl_F77
='-Wl,'
15426 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15427 lt_prog_compiler_pic_F77
='-KPIC'
15428 lt_prog_compiler_static_F77
='-Bstatic'
15429 lt_prog_compiler_wl_F77
=''
15436 osf3
* | osf4
* | osf5
*)
15437 lt_prog_compiler_wl_F77
='-Wl,'
15438 # All OSF/1 code is PIC.
15439 lt_prog_compiler_static_F77
='-non_shared'
15443 lt_prog_compiler_static_F77
='-non_shared'
15447 lt_prog_compiler_pic_F77
='-KPIC'
15448 lt_prog_compiler_static_F77
='-Bstatic'
15449 case $cc_basename in
15450 f77
* | f90
* | f95
*)
15451 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15453 lt_prog_compiler_wl_F77
='-Wl,';;
15458 lt_prog_compiler_wl_F77
='-Qoption ld '
15459 lt_prog_compiler_pic_F77
='-PIC'
15460 lt_prog_compiler_static_F77
='-Bstatic'
15463 sysv4
| sysv4.2uw2
* | sysv4.3
*)
15464 lt_prog_compiler_wl_F77
='-Wl,'
15465 lt_prog_compiler_pic_F77
='-KPIC'
15466 lt_prog_compiler_static_F77
='-Bstatic'
15470 if test -d /usr
/nec
;then
15471 lt_prog_compiler_pic_F77
='-Kconform_pic'
15472 lt_prog_compiler_static_F77
='-Bstatic'
15476 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15477 lt_prog_compiler_wl_F77
='-Wl,'
15478 lt_prog_compiler_pic_F77
='-KPIC'
15479 lt_prog_compiler_static_F77
='-Bstatic'
15483 lt_prog_compiler_wl_F77
='-Wl,'
15484 lt_prog_compiler_can_build_shared_F77
=no
15488 lt_prog_compiler_pic_F77
='-pic'
15489 lt_prog_compiler_static_F77
='-Bstatic'
15493 lt_prog_compiler_can_build_shared_F77
=no
15498 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15499 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15502 # Check to make sure the PIC flag actually works.
15504 if test -n "$lt_prog_compiler_pic_F77"; then
15506 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15507 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15508 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15509 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 lt_cv_prog_compiler_pic_works_F77
=no
15512 ac_outfile
=conftest.
$ac_objext
15513 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15514 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15515 # Insert the option either (1) after the last *FLAGS variable, or
15516 # (2) before a word containing "conftest.", or (3) at the end.
15517 # Note that $ac_compile itself does not contain backslashes and begins
15518 # with a dollar sign (not a hyphen), so the echo should work correctly.
15519 # The option is referenced via a variable to avoid confusing sed.
15520 lt_compile
=`echo "$ac_compile" | $SED \
15521 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15522 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15523 -e 's:$: $lt_compiler_flag:'`
15524 (eval echo "\"\$as_me:15524: $lt_compile\"" >&5)
15525 (eval "$lt_compile" 2>conftest.err
)
15527 cat conftest.err
>&5
15528 echo "$as_me:15528: \$? = $ac_status" >&5
15529 if (exit $ac_status) && test -s "$ac_outfile"; then
15530 # The compiler can only warn and ignore the option if not recognized
15531 # So say no if there are warnings other than the usual output.
15532 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15533 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15534 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15535 lt_cv_prog_compiler_pic_works_F77
=yes
15541 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
15542 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15544 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
15545 case $lt_prog_compiler_pic_F77 in
15547 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15550 lt_prog_compiler_pic_F77
=
15551 lt_prog_compiler_can_build_shared_F77
=no
15556 # For platforms which do not support PIC, -DPIC is meaningless:
15558 lt_prog_compiler_pic_F77
=
15561 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15566 # Check to make sure the static flag actually works.
15568 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15569 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15570 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15571 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15574 lt_cv_prog_compiler_static_works_F77
=no
15575 save_LDFLAGS
="$LDFLAGS"
15576 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15577 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15578 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15579 # The linker can only warn and ignore the option if not recognized
15580 # So say no if there are warnings
15581 if test -s conftest.err
; then
15582 # Append any errors to the config.log.
15583 cat conftest.err
1>&5
15584 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15585 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15586 if diff conftest.exp conftest.er2
>/dev
/null
; then
15587 lt_cv_prog_compiler_static_works_F77
=yes
15590 lt_cv_prog_compiler_static_works_F77
=yes
15594 LDFLAGS
="$save_LDFLAGS"
15597 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
15598 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
15600 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
15603 lt_prog_compiler_static_F77
=
15607 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15608 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15609 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 lt_cv_prog_compiler_c_o_F77
=no
15613 $rm -r conftest
2>/dev
/null
15617 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15619 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15620 # Insert the option either (1) after the last *FLAGS variable, or
15621 # (2) before a word containing "conftest.", or (3) at the end.
15622 # Note that $ac_compile itself does not contain backslashes and begins
15623 # with a dollar sign (not a hyphen), so the echo should work correctly.
15624 lt_compile
=`echo "$ac_compile" | $SED \
15625 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15626 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15627 -e 's:$: $lt_compiler_flag:'`
15628 (eval echo "\"\$as_me:15628: $lt_compile\"" >&5)
15629 (eval "$lt_compile" 2>out
/conftest.err
)
15631 cat out
/conftest.err
>&5
15632 echo "$as_me:15632: \$? = $ac_status" >&5
15633 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15635 # The compiler can only warn and ignore the option if not recognized
15636 # So say no if there are warnings
15637 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
15638 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15639 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15640 lt_cv_prog_compiler_c_o_F77
=yes
15645 # SGI C++ compiler will create directory out/ii_files/ for
15646 # template instantiation
15647 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15648 $rm out
/* && rmdir out
15654 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15655 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15658 hard_links
="nottested"
15659 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15660 # do not overwrite the value of need_locks provided by the user
15661 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15662 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15665 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15667 ln conftest.a conftest.b
2>&5 || hard_links
=no
15668 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15669 { echo "$as_me:$LINENO: result: $hard_links" >&5
15670 echo "${ECHO_T}$hard_links" >&6; }
15671 if test "$hard_links" = no
; then
15672 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15673 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15680 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15681 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15684 allow_undefined_flag_F77
=
15685 enable_shared_with_static_runtimes_F77
=no
15687 archive_expsym_cmds_F77
=
15688 old_archive_From_new_cmds_F77
=
15689 old_archive_from_expsyms_cmds_F77
=
15690 export_dynamic_flag_spec_F77
=
15691 whole_archive_flag_spec_F77
=
15692 thread_safe_flag_spec_F77
=
15693 hardcode_libdir_flag_spec_F77
=
15694 hardcode_libdir_flag_spec_ld_F77
=
15695 hardcode_libdir_separator_F77
=
15696 hardcode_direct_F77
=no
15697 hardcode_minus_L_F77
=no
15698 hardcode_shlibpath_var_F77
=unsupported
15699 link_all_deplibs_F77
=unknown
15700 hardcode_automatic_F77
=no
15702 module_expsym_cmds_F77
=
15703 always_export_symbols_F77
=no
15704 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15705 # include_expsyms should be a list of space-separated symbols to be *always*
15706 # included in the symbol list
15707 include_expsyms_F77
=
15708 # exclude_expsyms can be an extended regexp of symbols to exclude
15709 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15710 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15711 # as well as any symbol that contains `d'.
15712 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15713 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15714 # platforms (ab)use it in PIC code, but their linkers get confused if
15715 # the symbol is explicitly referenced. Since portable code cannot
15716 # rely on this symbol name, it's probably fine to never include it in
15717 # preloaded symbol tables.
15718 # Exclude shared library initialization/finalization symbols.
15719 extract_expsyms_cmds
=
15720 # Just being paranoid about ensuring that cc_basename is set.
15721 for cc_temp
in $compiler""; do
15723 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
15724 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
15729 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15732 cygwin
* | mingw
* | pw32
*)
15733 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15734 # When not using gcc, we currently assume that we are using
15735 # Microsoft Visual C++.
15736 if test "$GCC" != yes; then
15741 # we just hope/assume this is gcc and not c89 (= MSVC++)
15750 if test "$with_gnu_ld" = yes; then
15751 # If archive_cmds runs LD, not CC, wlarc should be empty
15754 # Set some defaults for GNU ld with shared library support. These
15755 # are reset later if shared libraries are not supported. Putting them
15756 # here allows them to be overridden if necessary.
15757 runpath_var
=LD_RUN_PATH
15758 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15759 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15760 # ancient GNU ld didn't support --whole-archive et. al.
15761 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
15762 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15764 whole_archive_flag_spec_F77
=
15766 supports_anon_versioning
=no
15767 case `$LD -v 2>/dev/null` in
15768 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
15769 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15770 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15771 *\
2.11.
*) ;; # other 2.11 versions
15772 *) supports_anon_versioning
=yes ;;
15775 # See if GNU ld supports shared libraries.
15778 # On AIX/PPC, the GNU linker is very broken
15779 if test "$host_cpu" != ia64
; then
15783 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15784 *** to be unable to reliably create shared libraries on AIX.
15785 *** Therefore, libtool is disabling shared libraries support. If you
15786 *** really care for shared libraries, you may want to modify your PATH
15787 *** so that a non-GNU linker is found, and then restart.
15794 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)'
15795 hardcode_libdir_flag_spec_F77
='-L$libdir'
15796 hardcode_minus_L_F77
=yes
15798 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15799 # that the semantics of dynamic libraries on AmigaOS, at least up
15800 # to version 4, is to share data among multiple programs linked
15801 # with the same dynamic library. Since this doesn't match the
15802 # behavior of shared libraries on other platforms, we can't use
15808 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15809 allow_undefined_flag_F77
=unsupported
15810 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15811 # support --undefined. This deserves some investigation. FIXME
15812 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15818 cygwin
* | mingw
* | pw32
*)
15819 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15820 # as there is no search path for DLLs.
15821 hardcode_libdir_flag_spec_F77
='-L$libdir'
15822 allow_undefined_flag_F77
=unsupported
15823 always_export_symbols_F77
=no
15824 enable_shared_with_static_runtimes_F77
=yes
15825 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15827 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
15828 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15829 # If the export-symbols file already is a .def file (1st line
15830 # is EXPORTS), use it as is; otherwise, prepend...
15831 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15832 cp $export_symbols $output_objdir/$soname.def;
15834 echo EXPORTS > $output_objdir/$soname.def;
15835 cat $export_symbols >> $output_objdir/$soname.def;
15837 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15844 hardcode_direct_F77
=no
15845 hardcode_shlibpath_var_F77
=no
15846 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15847 export_dynamic_flag_spec_F77
='${wl}-E'
15848 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15849 # Instead, shared libraries are loaded at an image base (0x10000000 by
15850 # default) and relocated if they conflict, which is a slow very memory
15851 # consuming and fragmenting process. To avoid this, we pick a random,
15852 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15853 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15854 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'
15855 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'
15858 gnu
* | linux
* | k
*bsd
*-gnu)
15859 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15861 case $cc_basename,$host_cpu in
15862 pgcc
*) # Portland Group C compiler
15863 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'
15864 tmp_addflag
=' $pic_flag'
15866 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15867 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'
15868 tmp_addflag
=' $pic_flag -Mnomain' ;;
15869 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15870 tmp_addflag
=' -i_dynamic' ;;
15871 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15872 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15873 ifc
* | ifort
*) # Intel Fortran compiler
15874 tmp_addflag
=' -nofor_main' ;;
15876 case `$CC -V 2>&1 | sed 5q` in
15877 *Sun\ C
*) # Sun C 5.9
15878 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15879 tmp_sharedflag
='-G' ;;
15880 *Sun\ F
*) # Sun Fortran 8.3
15881 tmp_sharedflag
='-G' ;;
15883 tmp_sharedflag
='-shared' ;;
15885 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15887 if test $supports_anon_versioning = yes; then
15888 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15889 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15890 $echo "local: *; };" >> $output_objdir/$libname.ver~
15891 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15893 link_all_deplibs_F77
=no
15899 netbsd
* | netbsdelf
*-gnu)
15900 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
15901 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15904 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15905 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15910 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
15914 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15915 *** create shared libraries on Solaris systems. Therefore, libtool
15916 *** is disabling shared libraries support. We urge you to upgrade GNU
15917 *** binutils to release 2.9.1 or newer. Another option is to modify
15918 *** your PATH or compiler configuration so that the native linker is
15919 *** used, and then restart.
15922 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15923 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15924 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15930 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15931 case `$LD -v 2>&1` in
15932 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
15936 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15937 *** reliably create shared libraries on SCO systems. Therefore, libtool
15938 *** is disabling shared libraries support. We urge you to upgrade GNU
15939 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15940 *** your PATH or compiler configuration so that the native linker is
15941 *** used, and then restart.
15946 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15947 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15948 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15949 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15958 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15960 hardcode_direct_F77
=yes
15961 hardcode_shlibpath_var_F77
=no
15965 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15966 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15967 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15974 if test "$ld_shlibs_F77" = no
; then
15976 hardcode_libdir_flag_spec_F77
=
15977 export_dynamic_flag_spec_F77
=
15978 whole_archive_flag_spec_F77
=
15981 # PORTME fill in a description of your system's linker (not GNU ld)
15984 allow_undefined_flag_F77
=unsupported
15985 always_export_symbols_F77
=yes
15986 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'
15987 # Note: this linker hardcodes the directories in LIBPATH if there
15988 # are no directories specified by -L.
15989 hardcode_minus_L_F77
=yes
15990 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15991 # Neither direct hardcoding nor static linking is supported with a
15993 hardcode_direct_F77
=unsupported
15998 if test "$host_cpu" = ia64
; then
15999 # On IA64, the linker does run time linking by default, so we don't
16000 # have to do anything special.
16001 aix_use_runtimelinking
=no
16002 exp_sym_flag
='-Bexport'
16005 # If we're using GNU nm, then we don't want the "-C" option.
16006 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16007 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
16008 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'
16010 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'
16012 aix_use_runtimelinking
=no
16014 # Test if we are trying to use run time linking or normal
16015 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16016 # need to do runtime linking.
16017 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16018 for ld_flag
in $LDFLAGS; do
16019 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16020 aix_use_runtimelinking
=yes
16027 exp_sym_flag
='-bexport'
16028 no_entry_flag
='-bnoentry'
16031 # When large executables or shared objects are built, AIX ld can
16032 # have problems creating the table of contents. If linking a library
16033 # or program results in "error TOC overflow" add -mminimal-toc to
16034 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16035 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16037 archive_cmds_F77
=''
16038 hardcode_direct_F77
=yes
16039 hardcode_libdir_separator_F77
=':'
16040 link_all_deplibs_F77
=yes
16042 if test "$GCC" = yes; then
16043 case $host_os in aix4.
[012]|aix4.
[012].
*)
16044 # We only want to do this on AIX 4.2 and lower, the check
16045 # below for broken collect2 doesn't work under 4.3+
16046 collect2name
=`${CC} -print-prog-name=collect2`
16047 if test -f "$collect2name" && \
16048 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
16050 # We have reworked collect2
16053 # We have old collect2
16054 hardcode_direct_F77
=unsupported
16055 # It fails to find uninstalled libraries when the uninstalled
16056 # path is not listed in the libpath. Setting hardcode_minus_L
16057 # to unsupported forces relinking
16058 hardcode_minus_L_F77
=yes
16059 hardcode_libdir_flag_spec_F77
='-L$libdir'
16060 hardcode_libdir_separator_F77
=
16064 shared_flag
='-shared'
16065 if test "$aix_use_runtimelinking" = yes; then
16066 shared_flag
="$shared_flag "'${wl}-G'
16070 if test "$host_cpu" = ia64
; then
16071 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16072 # chokes on -Wl,-G. The following line is correct:
16075 if test "$aix_use_runtimelinking" = yes; then
16076 shared_flag
='${wl}-G'
16078 shared_flag
='${wl}-bM:SRE'
16083 # It seems that -bexpall does not export symbols beginning with
16084 # underscore (_), so it is better to generate a list of symbols to export.
16085 always_export_symbols_F77
=yes
16086 if test "$aix_use_runtimelinking" = yes; then
16087 # Warning - without using the other runtime loading flags (-brtl),
16088 # -berok will link without error, but may produce a broken library.
16089 allow_undefined_flag_F77
='-berok'
16090 # Determine the default libpath from the value encoded in an empty executable.
16091 cat >conftest.
$ac_ext <<_ACEOF
16096 rm -f conftest.
$ac_objext conftest
$ac_exeext
16097 if { (ac_try
="$ac_link"
16098 case "(($ac_try" in
16099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16100 *) ac_try_echo=$ac_try;;
16102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16103 (eval "$ac_link") 2>conftest.er1
16105 grep -v '^ *+' conftest.er1 >conftest.err
16107 cat conftest.err >&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); } && {
16110 test -z "$ac_f77_werror_flag" ||
16111 test ! -s conftest.err
16112 } && test -s conftest$ac_exeext &&
16113 $as_test_x conftest$ac_exeext; then
16115 lt_aix_libpath_sed='
16116 /Import File Strings/,/^$/ {
16122 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
16123 # Check for a 64-bit object if we didn't find anything.
16124 if test -z "$aix_libpath"; then
16125 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
16128 echo "$as_me: failed program was:" >&5
16129 sed 's/^/| /' conftest.$ac_ext >&5
16134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16135 conftest$ac_exeext conftest.$ac_ext
16136 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16138 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16139 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"
16141 if test "$host_cpu" = ia64; then
16142 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16143 allow_undefined_flag_F77="-z nodefs"
16144 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"
16146 # Determine the default libpath from the value encoded in an empty executable.
16147 cat >conftest.$ac_ext <<_ACEOF
16152 rm -f conftest.$ac_objext conftest$ac_exeext
16153 if { (ac_try="$ac_link"
16154 case "(($ac_try" in
16155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16156 *) ac_try_echo
=$ac_try;;
16158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16159 (eval "$ac_link") 2>conftest.er1
16161 grep -v '^ *+' conftest.er1
>conftest.err
16163 cat conftest.err
>&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); } && {
16166 test -z "$ac_f77_werror_flag" ||
16167 test ! -s conftest.err
16168 } && test -s conftest
$ac_exeext &&
16169 $as_test_x conftest
$ac_exeext; then
16171 lt_aix_libpath_sed
='
16172 /Import File Strings/,/^$/ {
16178 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16179 # Check for a 64-bit object if we didn't find anything.
16180 if test -z "$aix_libpath"; then
16181 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.
$ac_ext >&5
16190 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16191 conftest
$ac_exeext conftest.
$ac_ext
16192 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16194 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16195 # Warning - without using the other run time loading flags,
16196 # -berok will link without error, but may produce a broken library.
16197 no_undefined_flag_F77
=' ${wl}-bernotok'
16198 allow_undefined_flag_F77
=' ${wl}-berok'
16199 # Exported symbols can be pulled into shared objects from archives
16200 whole_archive_flag_spec_F77
='$convenience'
16201 archive_cmds_need_lc_F77
=yes
16202 # This is similar to how AIX traditionally builds its shared libraries.
16203 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'
16209 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)'
16210 hardcode_libdir_flag_spec_F77
='-L$libdir'
16211 hardcode_minus_L_F77
=yes
16212 # see comment about different semantics on the GNU ld section
16217 export_dynamic_flag_spec_F77
=-rdynamic
16220 cygwin
* | mingw
* | pw32
*)
16221 # When not using gcc, we currently assume that we are using
16222 # Microsoft Visual C++.
16223 # hardcode_libdir_flag_spec is actually meaningless, as there is
16224 # no search path for DLLs.
16225 hardcode_libdir_flag_spec_F77
=' '
16226 allow_undefined_flag_F77
=unsupported
16227 # Tell ltmain to make .lib files, not .a files.
16229 # Tell ltmain to make .dll files, not .so files.
16231 # FIXME: Setting linknames here is a bad hack.
16232 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16233 # The linker will automatically build a .lib file if we build a DLL.
16234 old_archive_From_new_cmds_F77
='true'
16235 # FIXME: Should let the user specify the lib program.
16236 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16237 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
16238 enable_shared_with_static_runtimes_F77
=yes
16241 darwin
* | rhapsody
*)
16243 rhapsody
* | darwin1.
[012])
16244 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
16247 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16248 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16250 case ${MACOSX_DEPLOYMENT_TARGET} in
16252 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16255 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
16261 archive_cmds_need_lc_F77
=no
16262 hardcode_direct_F77
=no
16263 hardcode_automatic_F77
=yes
16264 hardcode_shlibpath_var_F77
=unsupported
16265 whole_archive_flag_spec_F77
=''
16266 link_all_deplibs_F77
=yes
16267 if test "$GCC" = yes ; then
16268 output_verbose_link_cmd
='echo'
16269 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16270 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16271 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
16272 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16274 case $cc_basename in
16276 output_verbose_link_cmd
='echo'
16277 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16278 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16279 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16280 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16281 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}'
16291 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16292 hardcode_libdir_flag_spec_F77
='-L$libdir'
16293 hardcode_shlibpath_var_F77
=no
16300 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16301 # support. Future versions do this automatically, but an explicit c++rt0.o
16302 # does not break anything, and helps significantly (at the cost of a little
16305 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16306 hardcode_libdir_flag_spec_F77
='-R$libdir'
16307 hardcode_direct_F77
=yes
16308 hardcode_shlibpath_var_F77
=no
16311 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16313 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16314 hardcode_direct_F77
=yes
16315 hardcode_minus_L_F77
=yes
16316 hardcode_shlibpath_var_F77
=no
16319 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16320 freebsd
* | dragonfly
*)
16321 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16322 hardcode_libdir_flag_spec_F77
='-R$libdir'
16323 hardcode_direct_F77
=yes
16324 hardcode_shlibpath_var_F77
=no
16328 if test "$GCC" = yes; then
16329 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'
16331 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'
16333 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16334 hardcode_libdir_separator_F77
=:
16335 hardcode_direct_F77
=yes
16337 # hardcode_minus_L: Not really in the search PATH,
16338 # but as the default location of the library.
16339 hardcode_minus_L_F77
=yes
16340 export_dynamic_flag_spec_F77
='${wl}-E'
16344 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16345 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16347 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16349 if test "$with_gnu_ld" = no
; then
16350 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16351 hardcode_libdir_separator_F77
=:
16353 hardcode_direct_F77
=yes
16354 export_dynamic_flag_spec_F77
='${wl}-E'
16356 # hardcode_minus_L: Not really in the search PATH,
16357 # but as the default location of the library.
16358 hardcode_minus_L_F77
=yes
16363 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16366 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16369 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16372 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16378 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16381 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16384 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16388 if test "$with_gnu_ld" = no
; then
16389 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16390 hardcode_libdir_separator_F77
=:
16394 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
16395 hardcode_direct_F77
=no
16396 hardcode_shlibpath_var_F77
=no
16399 hardcode_direct_F77
=yes
16400 export_dynamic_flag_spec_F77
='${wl}-E'
16402 # hardcode_minus_L: Not really in the search PATH,
16403 # but as the default location of the library.
16404 hardcode_minus_L_F77
=yes
16410 irix5
* | irix6
* | nonstopux
*)
16411 if test "$GCC" = yes; then
16412 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'
16414 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'
16415 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
16417 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16418 hardcode_libdir_separator_F77
=:
16419 link_all_deplibs_F77
=yes
16422 netbsd
* | netbsdelf
*-gnu)
16423 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
16424 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16426 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16428 hardcode_libdir_flag_spec_F77
='-R$libdir'
16429 hardcode_direct_F77
=yes
16430 hardcode_shlibpath_var_F77
=no
16434 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16435 hardcode_direct_F77
=yes
16436 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16437 hardcode_libdir_separator_F77
=:
16438 hardcode_shlibpath_var_F77
=no
16442 if test -f /usr
/libexec
/ld.so
; then
16443 hardcode_direct_F77
=yes
16444 hardcode_shlibpath_var_F77
=no
16445 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16446 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16447 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16448 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16449 export_dynamic_flag_spec_F77
='${wl}-E'
16452 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16453 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16454 hardcode_libdir_flag_spec_F77
='-R$libdir'
16457 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16458 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16468 hardcode_libdir_flag_spec_F77
='-L$libdir'
16469 hardcode_minus_L_F77
=yes
16470 allow_undefined_flag_F77
=unsupported
16471 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'
16472 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16476 if test "$GCC" = yes; then
16477 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16478 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'
16480 allow_undefined_flag_F77
=' -expect_unresolved \*'
16481 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'
16483 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16484 hardcode_libdir_separator_F77
=:
16487 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16488 if test "$GCC" = yes; then
16489 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16490 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'
16491 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16493 allow_undefined_flag_F77
=' -expect_unresolved \*'
16494 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'
16495 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~
16496 $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'
16498 # Both c and cxx compiler support -rpath directly
16499 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16501 hardcode_libdir_separator_F77
=:
16505 no_undefined_flag_F77
=' -z text'
16506 if test "$GCC" = yes; then
16508 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16509 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16510 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16513 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16514 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16515 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16517 hardcode_libdir_flag_spec_F77
='-R$libdir'
16518 hardcode_shlibpath_var_F77
=no
16520 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16522 # The compiler driver will combine and reorder linker options,
16523 # but understands `-z linker_flag'. GCC discards it without `$wl',
16524 # but is careful enough not to reorder.
16525 # Supported since Solaris 2.6 (maybe 2.5.1?)
16526 if test "$GCC" = yes; then
16527 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16529 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
16533 link_all_deplibs_F77
=yes
16537 if test "x$host_vendor" = xsequent
; then
16538 # Use $CC to link under sequent, because it throws in some extra .o
16539 # files that make .init and .fini sections work.
16540 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16542 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16544 hardcode_libdir_flag_spec_F77
='-L$libdir'
16545 hardcode_direct_F77
=yes
16546 hardcode_minus_L_F77
=yes
16547 hardcode_shlibpath_var_F77
=no
16551 case $host_vendor in
16553 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16554 hardcode_direct_F77
=yes # is this really true???
16557 ## LD is ld it makes a PLAMLIB
16558 ## CC just makes a GrossModule.
16559 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16560 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16561 hardcode_direct_F77
=no
16564 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16565 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16568 runpath_var
='LD_RUN_PATH'
16569 hardcode_shlibpath_var_F77
=no
16573 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16574 hardcode_shlibpath_var_F77
=no
16575 export_dynamic_flag_spec_F77
='-Bexport'
16579 if test -d /usr
/nec
; then
16580 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16581 hardcode_shlibpath_var_F77
=no
16582 runpath_var
=LD_RUN_PATH
16583 hardcode_runpath_var
=yes
16588 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16589 no_undefined_flag_F77
='${wl}-z,text'
16590 archive_cmds_need_lc_F77
=no
16591 hardcode_shlibpath_var_F77
=no
16592 runpath_var
='LD_RUN_PATH'
16594 if test "$GCC" = yes; then
16595 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16596 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16598 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16599 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16603 sysv5
* | sco3.2v5
* | sco5v6
*)
16604 # Note: We can NOT use -z defs as we might desire, because we do not
16605 # link with -lc, and that would cause any symbols used from libc to
16606 # always be unresolved, which means just about no library would
16607 # ever link correctly. If we're not using GNU ld we use -z text
16608 # though, which does catch some bad symbols but isn't as heavy-handed
16610 no_undefined_flag_F77
='${wl}-z,text'
16611 allow_undefined_flag_F77
='${wl}-z,nodefs'
16612 archive_cmds_need_lc_F77
=no
16613 hardcode_shlibpath_var_F77
=no
16614 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16615 hardcode_libdir_separator_F77
=':'
16616 link_all_deplibs_F77
=yes
16617 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16618 runpath_var
='LD_RUN_PATH'
16620 if test "$GCC" = yes; then
16621 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16622 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16624 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16625 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16630 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16631 hardcode_libdir_flag_spec_F77
='-L$libdir'
16632 hardcode_shlibpath_var_F77
=no
16641 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16642 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16643 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16646 # Do we need to explicitly link libc?
16648 case "x$archive_cmds_need_lc_F77" in
16650 # Assume -lc should be added
16651 archive_cmds_need_lc_F77
=yes
16653 if test "$enable_shared" = yes && test "$GCC" = yes; then
16654 case $archive_cmds_F77 in
16656 # FIXME: we may have to deal with multi-command sequences.
16659 # Test whether the compiler implicitly links with -lc since on some
16660 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16661 # to ld, don't add -lc before -lgcc.
16662 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16663 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16665 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16668 (eval $ac_compile) 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } 2>conftest.err
; then
16674 libobjs
=conftest.
$ac_objext
16676 wl
=$lt_prog_compiler_wl_F77
16677 pic_flag
=$lt_prog_compiler_pic_F77
16683 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16684 allow_undefined_flag_F77
=
16685 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16686 (eval $archive_cmds_F77 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }
16691 archive_cmds_need_lc_F77
=no
16693 archive_cmds_need_lc_F77
=yes
16695 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16697 cat conftest.err
1>&5
16700 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16701 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16708 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16709 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16710 library_names_spec
=
16711 libname_spec
='lib$name'
16715 postuninstall_cmds
=
16719 shlibpath_overrides_runpath
=unknown
16721 dynamic_linker
="$host_os ld.so"
16722 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16724 need_lib_prefix
=unknown
16725 hardcode_into_libs
=no
16727 # when you set need_version to no, make sure it does not cause -set_version
16728 # flags to be left without arguments
16729 need_version
=unknown
16734 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16735 shlibpath_var
=LIBPATH
16737 # AIX 3 has no versioning support, so we append a major version to the name.
16738 soname_spec
='${libname}${release}${shared_ext}$major'
16745 hardcode_into_libs
=yes
16746 if test "$host_cpu" = ia64
; then
16747 # AIX 5 supports IA64
16748 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16749 shlibpath_var
=LD_LIBRARY_PATH
16751 # With GCC up to 2.95.x, collect2 would create an import file
16752 # for dependence libraries. The import file would start with
16753 # the line `#! .'. This would cause the generated library to
16754 # depend on `.', always an invalid library. This was fixed in
16755 # development snapshots of GCC prior to 3.0.
16757 aix4
| aix4.
[01] | aix4.
[01].
*)
16758 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16760 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
16763 can_build_shared
=no
16767 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16768 # soname into executable. Probably we can add versioning support to
16769 # collect2, so additional links can be useful in future.
16770 if test "$aix_use_runtimelinking" = yes; then
16771 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16772 # instead of lib<name>.a to let people know that these are not
16773 # typical AIX shared libraries.
16774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16776 # We preserve .a as extension for shared libraries through AIX4.2
16777 # and later when we are not doing run time linking.
16778 library_names_spec
='${libname}${release}.a $libname.a'
16779 soname_spec
='${libname}${release}${shared_ext}$major'
16781 shlibpath_var
=LIBPATH
16786 library_names_spec
='$libname.ixlibrary $libname.a'
16787 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16788 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'
16792 library_names_spec
='${libname}${shared_ext}'
16793 dynamic_linker
="$host_os ld.so"
16794 shlibpath_var
=LIBRARY_PATH
16800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16801 soname_spec
='${libname}${release}${shared_ext}$major'
16802 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16803 shlibpath_var
=LD_LIBRARY_PATH
16804 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16805 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16806 # the default ld.so.conf also contains /usr/contrib/lib and
16807 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16808 # libtool to hard-code these into programs
16811 cygwin
* | mingw
* | pw32
*)
16812 version_type
=windows
16817 case $GCC,$host_os in
16818 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
16819 library_names_spec
='$libname.dll.a'
16820 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16821 postinstall_cmds
='base_file=`basename \${file}`~
16822 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16823 dldir=$destdir/`dirname \$dlpath`~
16824 test -d \$dldir || mkdir -p \$dldir~
16825 $install_prog $dir/$dlname \$dldir/$dlname~
16826 chmod a+x \$dldir/$dlname'
16827 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16828 dlpath=$dir/\$dldll~
16830 shlibpath_overrides_runpath
=yes
16834 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16835 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
16836 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16839 # MinGW DLLs use traditional 'lib' prefix
16840 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
16841 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16842 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
16843 # It is most probably a Windows format PATH printed by
16844 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16845 # path with ; separators, and with drive letters. We can handle the
16846 # drive letters (cygwin fileutils understands them), so leave them,
16847 # especially as we might pass files found there to a mingw objdump,
16848 # which wouldn't understand a cygwinified path. Ahh.
16849 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16851 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16855 # pw32 DLLs use 'pw' prefix rather than 'lib'
16856 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
16862 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
16865 dynamic_linker
='Win32 ld.exe'
16866 # FIXME: first we should search . and the directory the executable is in
16870 darwin
* | rhapsody
*)
16871 dynamic_linker
="$host_os dyld"
16872 version_type
=darwin
16875 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16876 soname_spec
='${libname}${release}${major}$shared_ext'
16877 shlibpath_overrides_runpath
=yes
16878 shlibpath_var
=DYLD_LIBRARY_PATH
16879 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16881 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16889 soname_spec
='${libname}${release}${shared_ext}$major'
16890 shlibpath_var
=LD_LIBRARY_PATH
16897 freebsd
* | dragonfly
*)
16898 # DragonFly does not have aout. When/if they implement a new
16899 # versioning mechanism, adjust this.
16900 if test -x /usr
/bin
/objformat
; then
16901 objformat
=`/usr/bin/objformat`
16904 freebsd
[123]*) objformat
=aout
;;
16905 *) objformat
=elf
;;
16908 version_type
=freebsd
-$objformat
16909 case $version_type in
16911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16916 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16920 shlibpath_var
=LD_LIBRARY_PATH
16923 shlibpath_overrides_runpath
=yes
16925 freebsd3.
[01]* | freebsdelf3.
[01]*)
16926 shlibpath_overrides_runpath
=yes
16927 hardcode_into_libs
=yes
16929 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16930 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16931 shlibpath_overrides_runpath
=no
16932 hardcode_into_libs
=yes
16934 *) # from 4.6 on, and DragonFly
16935 shlibpath_overrides_runpath
=yes
16936 hardcode_into_libs
=yes
16945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16946 soname_spec
='${libname}${release}${shared_ext}$major'
16947 shlibpath_var
=LD_LIBRARY_PATH
16948 hardcode_into_libs
=yes
16951 hpux9
* | hpux10
* | hpux11
*)
16952 # Give a soname corresponding to the major version so that dld.sl refuses to
16953 # link against other versions.
16960 hardcode_into_libs
=yes
16961 dynamic_linker
="$host_os dld.so"
16962 shlibpath_var
=LD_LIBRARY_PATH
16963 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16965 soname_spec
='${libname}${release}${shared_ext}$major'
16966 if test "X$HPUX_IA64_MODE" = X32
; then
16967 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16969 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16971 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16975 hardcode_into_libs
=yes
16976 dynamic_linker
="$host_os dld.sl"
16977 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16978 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16980 soname_spec
='${libname}${release}${shared_ext}$major'
16981 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16982 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16986 dynamic_linker
="$host_os dld.sl"
16987 shlibpath_var
=SHLIB_PATH
16988 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16990 soname_spec
='${libname}${release}${shared_ext}$major'
16993 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16994 postinstall_cmds
='chmod 555 $lib'
17001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17002 soname_spec
='${libname}${release}${shared_ext}$major'
17003 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17004 shlibpath_var
=LD_LIBRARY_PATH
17005 shlibpath_overrides_runpath
=no
17006 hardcode_into_libs
=yes
17009 irix5
* | irix6
* | nonstopux
*)
17011 nonstopux
*) version_type
=nonstopux
;;
17013 if test "$lt_cv_prog_gnu_ld" = yes; then
17021 soname_spec
='${libname}${release}${shared_ext}$major'
17022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17024 irix5
* | nonstopux
*)
17025 libsuff
= shlibsuff
=
17028 case $LD in # libtool.m4 will add one of these switches to LD
17029 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17030 libsuff
= shlibsuff
= libmagic
=32-bit;;
17031 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17032 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17033 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17034 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17035 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
17039 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17040 shlibpath_overrides_runpath
=no
17041 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17042 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17043 hardcode_into_libs
=yes
17046 # No shared lib support for Linux oldld, aout, or coff.
17047 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17051 # This must be Linux ELF.
17052 linux
* | k
*bsd
*-gnu)
17056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17057 soname_spec
='${libname}${release}${shared_ext}$major'
17058 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17059 shlibpath_var
=LD_LIBRARY_PATH
17060 shlibpath_overrides_runpath
=no
17061 # This implies no fast_install, which is unacceptable.
17062 # Some rework will be needed to allow for fast_install
17063 # before this can be enabled.
17064 hardcode_into_libs
=yes
17066 # Append ld.so.conf contents to the search path
17067 if test -f /etc
/ld.so.conf
; then
17068 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17069 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17072 # We used to test for /lib/ld.so.1 and disable shared libraries on
17073 # powerpc, because MkLinux only supported shared libraries with the
17074 # GNU dynamic linker. Since this was broken with cross compilers,
17075 # most powerpc-linux boxes support dynamic linking these days and
17076 # people can always --disable-shared, the test was removed, and we
17077 # assume the GNU/Linux dynamic linker is in use.
17078 dynamic_linker
='GNU/Linux ld.so'
17085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17086 soname_spec
='${libname}${release}${shared_ext}$major'
17087 shlibpath_var
=LD_LIBRARY_PATH
17088 shlibpath_overrides_runpath
=no
17089 hardcode_into_libs
=yes
17090 dynamic_linker
='NetBSD ld.elf_so'
17097 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
17098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17099 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17100 dynamic_linker
='NetBSD (a.out) ld.so'
17102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17103 soname_spec
='${libname}${release}${shared_ext}$major'
17104 dynamic_linker
='NetBSD ld.elf_so'
17106 shlibpath_var
=LD_LIBRARY_PATH
17107 shlibpath_overrides_runpath
=yes
17108 hardcode_into_libs
=yes
17113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17114 shlibpath_var
=LD_LIBRARY_PATH
17115 shlibpath_overrides_runpath
=yes
17122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17123 soname_spec
='${libname}${release}${shared_ext}$major'
17124 shlibpath_var
=LD_LIBRARY_PATH
17125 shlibpath_overrides_runpath
=yes
17130 sys_lib_dlsearch_path_spec
="/usr/lib"
17132 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17134 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
17135 *) need_version
=no
;;
17137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17138 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17139 shlibpath_var
=LD_LIBRARY_PATH
17140 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17142 openbsd2.
[89] | openbsd2.
[89].
*)
17143 shlibpath_overrides_runpath
=no
17146 shlibpath_overrides_runpath
=yes
17150 shlibpath_overrides_runpath
=yes
17155 libname_spec
='$name'
17158 library_names_spec
='$libname${shared_ext} $libname.a'
17159 dynamic_linker
='OS/2 ld.exe'
17160 shlibpath_var
=LIBPATH
17163 osf3
* | osf4
* | osf5
*)
17167 soname_spec
='${libname}${release}${shared_ext}$major'
17168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17169 shlibpath_var
=LD_LIBRARY_PATH
17170 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17171 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17183 soname_spec
='${libname}${release}${shared_ext}$major'
17184 shlibpath_var
=LD_LIBRARY_PATH
17185 shlibpath_overrides_runpath
=yes
17186 hardcode_into_libs
=yes
17187 # ldd complains unless libraries are executable
17188 postinstall_cmds
='chmod +x $lib'
17193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17194 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17195 shlibpath_var
=LD_LIBRARY_PATH
17196 shlibpath_overrides_runpath
=yes
17197 if test "$with_gnu_ld" = yes; then
17205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17206 soname_spec
='${libname}${release}${shared_ext}$major'
17207 shlibpath_var
=LD_LIBRARY_PATH
17208 case $host_vendor in
17210 shlibpath_overrides_runpath
=no
17212 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17213 runpath_var
=LD_RUN_PATH
17221 shlibpath_overrides_runpath
=no
17222 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17228 if test -d /usr
/nec
;then
17230 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17231 soname_spec
='$libname${shared_ext}.$major'
17232 shlibpath_var
=LD_LIBRARY_PATH
17236 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17237 version_type
=freebsd
-elf
17240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17241 soname_spec
='${libname}${release}${shared_ext}$major'
17242 shlibpath_var
=LD_LIBRARY_PATH
17243 hardcode_into_libs
=yes
17244 if test "$with_gnu_ld" = yes; then
17245 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17246 shlibpath_overrides_runpath
=no
17248 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17249 shlibpath_overrides_runpath
=yes
17252 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17256 sys_lib_dlsearch_path_spec
='/usr/lib'
17261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17262 soname_spec
='${libname}${release}${shared_ext}$major'
17263 shlibpath_var
=LD_LIBRARY_PATH
17270 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17271 echo "${ECHO_T}$dynamic_linker" >&6; }
17272 test "$dynamic_linker" = no
&& can_build_shared
=no
17274 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17277 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
17280 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
17281 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
17287 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
17289 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17290 if test "$GCC" = yes; then
17291 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17294 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17295 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17296 hardcode_action_F77
=
17297 if test -n "$hardcode_libdir_flag_spec_F77" || \
17298 test -n "$runpath_var_F77" || \
17299 test "X$hardcode_automatic_F77" = "Xyes" ; then
17301 # We can hardcode non-existant directories.
17302 if test "$hardcode_direct_F77" != no
&&
17303 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17304 # have to relink, otherwise we might link with an installed library
17305 # when we should be linking with a yet-to-be-installed one
17306 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17307 test "$hardcode_minus_L_F77" != no
; then
17308 # Linking always hardcodes the temporary library directory.
17309 hardcode_action_F77
=relink
17311 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17312 hardcode_action_F77
=immediate
17315 # We cannot hardcode anything, or else we can only hardcode existing
17317 hardcode_action_F77
=unsupported
17319 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17320 echo "${ECHO_T}$hardcode_action_F77" >&6; }
17322 if test "$hardcode_action_F77" = relink
; then
17323 # Fast installation is not supported
17324 enable_fast_install
=no
17325 elif test "$shlibpath_overrides_runpath" = yes ||
17326 test "$enable_shared" = no
; then
17327 # Fast installation is not necessary
17328 enable_fast_install
=needless
17332 # The else clause should only fire when bootstrapping the
17333 # libtool distribution, otherwise you forgot to ship ltmain.sh
17334 # with your package, and you will get complaints that there are
17335 # no rules to generate ltmain.sh.
17336 if test -f "$ltmain"; then
17337 # See if we are running on zsh, and set the options which allow our commands through
17338 # without removal of \ escapes.
17339 if test -n "${ZSH_VERSION+set}" ; then
17340 setopt NO_GLOB_SUBST
17342 # Now quote all the things that may contain metacharacters while being
17343 # careful not to overquote the AC_SUBSTed values. We take copies of the
17344 # variables and quote the copies for generation of the libtool script.
17345 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17347 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17348 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17349 deplibs_check_method reload_flag reload_cmds need_locks \
17350 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17351 lt_cv_sys_global_symbol_to_c_name_address \
17352 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17353 old_postinstall_cmds old_postuninstall_cmds \
17357 lt_prog_compiler_wl_F77 \
17358 lt_prog_compiler_pic_F77 \
17359 lt_prog_compiler_static_F77 \
17360 lt_prog_compiler_no_builtin_flag_F77 \
17361 export_dynamic_flag_spec_F77 \
17362 thread_safe_flag_spec_F77 \
17363 whole_archive_flag_spec_F77 \
17364 enable_shared_with_static_runtimes_F77 \
17365 old_archive_cmds_F77 \
17366 old_archive_from_new_cmds_F77 \
17367 predep_objects_F77 \
17368 postdep_objects_F77 \
17371 compiler_lib_search_path_F77 \
17372 compiler_lib_search_dirs_F77 \
17374 archive_expsym_cmds_F77 \
17375 postinstall_cmds_F77 \
17376 postuninstall_cmds_F77 \
17377 old_archive_from_expsyms_cmds_F77 \
17378 allow_undefined_flag_F77 \
17379 no_undefined_flag_F77 \
17380 export_symbols_cmds_F77 \
17381 hardcode_libdir_flag_spec_F77 \
17382 hardcode_libdir_flag_spec_ld_F77 \
17383 hardcode_libdir_separator_F77 \
17384 hardcode_automatic_F77 \
17386 module_expsym_cmds_F77 \
17387 lt_cv_prog_compiler_c_o_F77 \
17388 fix_srcfile_path_F77 \
17389 exclude_expsyms_F77 \
17390 include_expsyms_F77
; do
17393 old_archive_cmds_F77
| \
17394 old_archive_from_new_cmds_F77
| \
17395 archive_cmds_F77
| \
17396 archive_expsym_cmds_F77
| \
17397 module_cmds_F77
| \
17398 module_expsym_cmds_F77
| \
17399 old_archive_from_expsyms_cmds_F77
| \
17400 export_symbols_cmds_F77
| \
17401 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
17402 postinstall_cmds
| postuninstall_cmds
| \
17403 old_postinstall_cmds
| old_postuninstall_cmds
| \
17404 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
17405 # Double-quote double-evaled strings.
17406 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17409 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17415 *'\$0 --fallback-echo"')
17416 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17422 cat <<__EOF__ >> "$cfgfile"
17423 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17425 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17427 # Shell to use when invoking shell scripts.
17430 # Whether or not to build shared libraries.
17431 build_libtool_libs=$enable_shared
17433 # Whether or not to build static libraries.
17434 build_old_libs=$enable_static
17436 # Whether or not to add -lc for building shared libraries.
17437 build_libtool_need_lc=$archive_cmds_need_lc_F77
17439 # Whether or not to disallow shared libs when runtime libs are static
17440 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17442 # Whether or not to optimize for fast installation.
17443 fast_install=$enable_fast_install
17446 host_alias=$host_alias
17450 # The build system.
17451 build_alias=$build_alias
17455 # An echo program that does not interpret backslashes.
17460 AR_FLAGS=$lt_AR_FLAGS
17465 # LTCC compiler flags.
17466 LTCFLAGS=$lt_LTCFLAGS
17468 # A language-specific compiler.
17469 CC=$lt_compiler_F77
17471 # Is the compiler the GNU C compiler?
17477 # The linker used to build libraries.
17480 # Whether we need hard or soft links.
17483 # A BSD-compatible nm program.
17486 # A symbol stripping program
17489 # Used to examine libraries when file_magic_cmd begins "file"
17490 MAGIC_CMD=$MAGIC_CMD
17492 # Used on cygwin: DLL creation program.
17495 # Used on cygwin: object dumper.
17498 # Used on cygwin: assembler.
17501 # The name of the directory that contains temporary libtool files.
17504 # How to create reloadable object files.
17505 reload_flag=$lt_reload_flag
17506 reload_cmds=$lt_reload_cmds
17508 # How to pass a linker flag through the compiler.
17509 wl=$lt_lt_prog_compiler_wl_F77
17511 # Object file suffix (normally "o").
17512 objext="$ac_objext"
17514 # Old archive suffix (normally "a").
17517 # Shared library suffix (normally ".so").
17518 shrext_cmds='$shrext_cmds'
17520 # Executable file suffix (normally "").
17523 # Additional compiler flags for building library objects.
17524 pic_flag=$lt_lt_prog_compiler_pic_F77
17527 # What is the maximum length of a command?
17528 max_cmd_len=$lt_cv_sys_max_cmd_len
17530 # Does compiler simultaneously support -c and -o options?
17531 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17533 # Must we lock files when doing compilation?
17534 need_locks=$lt_need_locks
17536 # Do we need the lib prefix for modules?
17537 need_lib_prefix=$need_lib_prefix
17539 # Do we need a version for libraries?
17540 need_version=$need_version
17542 # Whether dlopen is supported.
17543 dlopen_support=$enable_dlopen
17545 # Whether dlopen of programs is supported.
17546 dlopen_self=$enable_dlopen_self
17548 # Whether dlopen of statically linked programs is supported.
17549 dlopen_self_static=$enable_dlopen_self_static
17551 # Compiler flag to prevent dynamic linking.
17552 link_static_flag=$lt_lt_prog_compiler_static_F77
17554 # Compiler flag to turn off builtin functions.
17555 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17557 # Compiler flag to allow reflexive dlopens.
17558 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17560 # Compiler flag to generate shared objects directly from archives.
17561 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17563 # Compiler flag to generate thread-safe objects.
17564 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17566 # Library versioning type.
17567 version_type=$version_type
17569 # Format of library name prefix.
17570 libname_spec=$lt_libname_spec
17572 # List of archive names. First name is the real one, the rest are links.
17573 # The last name is the one that the linker finds with -lNAME.
17574 library_names_spec=$lt_library_names_spec
17576 # The coded name of the library, if different from the real name.
17577 soname_spec=$lt_soname_spec
17579 # Commands used to build and install an old-style archive.
17581 old_archive_cmds=$lt_old_archive_cmds_F77
17582 old_postinstall_cmds=$lt_old_postinstall_cmds
17583 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17585 # Create an old-style archive from a shared archive.
17586 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17588 # Create a temporary old-style archive to link instead of a shared archive.
17589 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17591 # Commands used to build and install a shared archive.
17592 archive_cmds=$lt_archive_cmds_F77
17593 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17594 postinstall_cmds=$lt_postinstall_cmds
17595 postuninstall_cmds=$lt_postuninstall_cmds
17597 # Commands used to build a loadable module (assumed same as above if empty)
17598 module_cmds=$lt_module_cmds_F77
17599 module_expsym_cmds=$lt_module_expsym_cmds_F77
17601 # Commands to strip libraries.
17602 old_striplib=$lt_old_striplib
17603 striplib=$lt_striplib
17605 # Dependencies to place before the objects being linked to create a
17607 predep_objects=$lt_predep_objects_F77
17609 # Dependencies to place after the objects being linked to create a
17611 postdep_objects=$lt_postdep_objects_F77
17613 # Dependencies to place before the objects being linked to create a
17615 predeps=$lt_predeps_F77
17617 # Dependencies to place after the objects being linked to create a
17619 postdeps=$lt_postdeps_F77
17621 # The directories searched by this compiler when creating a shared
17623 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
17625 # The library search path used internally by the compiler when linking
17626 # a shared library.
17627 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17629 # Method to check whether dependent libraries are shared objects.
17630 deplibs_check_method=$lt_deplibs_check_method
17632 # Command to use when deplibs_check_method == file_magic.
17633 file_magic_cmd=$lt_file_magic_cmd
17635 # Flag that allows shared libraries with undefined symbols to be built.
17636 allow_undefined_flag=$lt_allow_undefined_flag_F77
17638 # Flag that forces no undefined symbols.
17639 no_undefined_flag=$lt_no_undefined_flag_F77
17641 # Commands used to finish a libtool library installation in a directory.
17642 finish_cmds=$lt_finish_cmds
17644 # Same as above, but a single script fragment to be evaled but not shown.
17645 finish_eval=$lt_finish_eval
17647 # Take the output of nm and produce a listing of raw symbols and C names.
17648 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17650 # Transform the output of nm in a proper C declaration
17651 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17653 # Transform the output of nm in a C name address pair
17654 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17656 # This is the shared library runtime path variable.
17657 runpath_var=$runpath_var
17659 # This is the shared library path variable.
17660 shlibpath_var=$shlibpath_var
17662 # Is shlibpath searched before the hard-coded library search path?
17663 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17665 # How to hardcode a shared library path into an executable.
17666 hardcode_action=$hardcode_action_F77
17668 # Whether we should hardcode library paths into libraries.
17669 hardcode_into_libs=$hardcode_into_libs
17671 # Flag to hardcode \$libdir into a binary during linking.
17672 # This must work even if \$libdir does not exist.
17673 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17675 # If ld is used when linking, flag to hardcode \$libdir into
17676 # a binary during linking. This must work even if \$libdir does
17678 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17680 # Whether we need a single -rpath flag with a separated argument.
17681 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17683 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17684 # resulting binary.
17685 hardcode_direct=$hardcode_direct_F77
17687 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17688 # resulting binary.
17689 hardcode_minus_L=$hardcode_minus_L_F77
17691 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17692 # the resulting binary.
17693 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17695 # Set to yes if building a shared library automatically hardcodes DIR into the library
17696 # and all subsequent libraries and executables linked against it.
17697 hardcode_automatic=$hardcode_automatic_F77
17699 # Variables whose values should be saved in libtool wrapper scripts and
17700 # restored at relink time.
17701 variables_saved_for_relink="$variables_saved_for_relink"
17703 # Whether libtool must link a program against all its dependency libraries.
17704 link_all_deplibs=$link_all_deplibs_F77
17706 # Compile-time system search path for libraries
17707 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17709 # Run-time system search path for libraries
17710 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17712 # Fix the shell variable \$srcfile for the compiler.
17713 fix_srcfile_path=$lt_fix_srcfile_path
17715 # Set to yes if exported symbols are required.
17716 always_export_symbols=$always_export_symbols_F77
17718 # The commands to list exported symbols.
17719 export_symbols_cmds=$lt_export_symbols_cmds_F77
17721 # The commands to extract the exported symbol list from a shared archive.
17722 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17724 # Symbols that should not be listed in the preloaded symbols.
17725 exclude_expsyms=$lt_exclude_expsyms_F77
17727 # Symbols that must always be exported.
17728 include_expsyms=$lt_include_expsyms_F77
17730 # ### END LIBTOOL TAG CONFIG: $tagname
17736 # If there is no Makefile yet, we rely on a make rule to execute
17737 # `config.status --recheck' to rerun these tests and create the
17738 # libtool script then.
17739 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17740 if test -f "$ltmain_in"; then
17741 test -f Makefile
&& make "$ltmain"
17747 ac_cpp
='$CPP $CPPFLAGS'
17748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17760 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17763 # Source file extension for Java test sources.
17766 # Object file extension for compiled Java test sources.
17770 # Code to be used in simple compile tests
17771 lt_simple_compile_test_code
="class foo {}"
17773 # Code to be used in simple link tests
17774 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
17776 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17778 # If no C compiler was specified, use CC.
17781 # If no C compiler flags were specified, use CFLAGS.
17782 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17784 # Allow CC to be a program name with arguments.
17788 # save warnings/boilerplate of simple test code
17789 ac_outfile
=conftest.
$ac_objext
17790 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17791 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
17792 _lt_compiler_boilerplate
=`cat conftest.err`
17795 ac_outfile
=conftest.
$ac_objext
17796 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17797 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
17798 _lt_linker_boilerplate
=`cat conftest.err`
17802 # Allow CC to be a program name with arguments.
17807 for cc_temp
in $compiler""; do
17809 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
17810 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
17815 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17818 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17819 archive_cmds_need_lc_GCJ
=no
17821 old_archive_cmds_GCJ
=$old_archive_cmds
17824 lt_prog_compiler_no_builtin_flag_GCJ
=
17826 if test "$GCC" = yes; then
17827 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17830 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17831 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17832 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17833 echo $ECHO_N "(cached) $ECHO_C" >&6
17835 lt_cv_prog_compiler_rtti_exceptions
=no
17836 ac_outfile
=conftest.
$ac_objext
17837 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17838 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17839 # Insert the option either (1) after the last *FLAGS variable, or
17840 # (2) before a word containing "conftest.", or (3) at the end.
17841 # Note that $ac_compile itself does not contain backslashes and begins
17842 # with a dollar sign (not a hyphen), so the echo should work correctly.
17843 # The option is referenced via a variable to avoid confusing sed.
17844 lt_compile
=`echo "$ac_compile" | $SED \
17845 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17846 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17847 -e 's:$: $lt_compiler_flag:'`
17848 (eval echo "\"\$as_me:17848: $lt_compile\"" >&5)
17849 (eval "$lt_compile" 2>conftest.err
)
17851 cat conftest.err
>&5
17852 echo "$as_me:17852: \$? = $ac_status" >&5
17853 if (exit $ac_status) && test -s "$ac_outfile"; then
17854 # The compiler can only warn and ignore the option if not recognized
17855 # So say no if there are warnings other than the usual output.
17856 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17857 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17858 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
17859 lt_cv_prog_compiler_rtti_exceptions
=yes
17865 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17866 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17868 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17869 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17876 lt_prog_compiler_wl_GCJ
=
17877 lt_prog_compiler_pic_GCJ
=
17878 lt_prog_compiler_static_GCJ
=
17880 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17881 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17883 if test "$GCC" = yes; then
17884 lt_prog_compiler_wl_GCJ
='-Wl,'
17885 lt_prog_compiler_static_GCJ
='-static'
17889 # All AIX code is PIC.
17890 if test "$host_cpu" = ia64
; then
17891 # AIX 5 now supports IA64 processor
17892 lt_prog_compiler_static_GCJ
='-Bstatic'
17897 # FIXME: we need at least 68020 code to build shared libraries, but
17898 # adding the `-m68020' flag to GCC prevents building anything better,
17900 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17903 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17904 # PIC is the default for these OSes.
17907 mingw
* | cygwin
* | pw32
* | os2
*)
17908 # This hack is so that the source file can tell whether it is being
17909 # built for inclusion in a dll (and should export symbols for example).
17910 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17911 # (--disable-auto-import) libraries
17915 darwin
* | rhapsody
*)
17916 # PIC is the default on this platform
17917 # Common symbols not allowed in MH_DYLIB files
17918 lt_prog_compiler_pic_GCJ
='-fno-common'
17922 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17923 # Instead, we relocate shared libraries at runtime.
17927 # Just because we use GCC doesn't mean we suddenly get shared libraries
17928 # on systems that don't support them.
17929 lt_prog_compiler_can_build_shared_GCJ
=no
17934 if test -d /usr
/nec
; then
17935 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17940 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17941 # not for PA HP-UX.
17947 lt_prog_compiler_pic_GCJ
='-fPIC'
17953 lt_prog_compiler_pic_GCJ
='-fPIC'
17957 # PORTME Check for flag to pass linker flags through the system compiler.
17960 lt_prog_compiler_wl_GCJ
='-Wl,'
17961 if test "$host_cpu" = ia64
; then
17962 # AIX 5 now supports IA64 processor
17963 lt_prog_compiler_static_GCJ
='-Bstatic'
17965 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17969 # PIC is the default on this platform
17970 # Common symbols not allowed in MH_DYLIB files
17971 case $cc_basename in
17973 lt_prog_compiler_pic_GCJ
='-qnocommon'
17974 lt_prog_compiler_wl_GCJ
='-Wl,'
17979 mingw
* | cygwin
* | pw32
* | os2
*)
17980 # This hack is so that the source file can tell whether it is being
17981 # built for inclusion in a dll (and should export symbols for example).
17985 hpux9
* | hpux10
* | hpux11
*)
17986 lt_prog_compiler_wl_GCJ
='-Wl,'
17987 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17988 # not for PA HP-UX.
17994 lt_prog_compiler_pic_GCJ
='+Z'
17997 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17998 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
18001 irix5
* | irix6
* | nonstopux
*)
18002 lt_prog_compiler_wl_GCJ
='-Wl,'
18003 # PIC (with -KPIC) is the default.
18004 lt_prog_compiler_static_GCJ
='-non_shared'
18008 lt_prog_compiler_pic_GCJ
='-KPIC'
18009 lt_prog_compiler_static_GCJ
='-Bstatic'
18012 linux
* | k
*bsd
*-gnu)
18013 case $cc_basename in
18015 lt_prog_compiler_wl_GCJ
='-Wl,'
18016 lt_prog_compiler_pic_GCJ
='-KPIC'
18017 lt_prog_compiler_static_GCJ
='-static'
18019 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
18020 # Portland Group compilers (*not* the Pentium gcc compiler,
18021 # which looks to be a dead project)
18022 lt_prog_compiler_wl_GCJ
='-Wl,'
18023 lt_prog_compiler_pic_GCJ
='-fpic'
18024 lt_prog_compiler_static_GCJ
='-Bstatic'
18027 lt_prog_compiler_wl_GCJ
='-Wl,'
18028 # All Alpha code is PIC.
18029 lt_prog_compiler_static_GCJ
='-non_shared'
18032 case `$CC -V 2>&1 | sed 5q` in
18035 lt_prog_compiler_pic_GCJ
='-KPIC'
18036 lt_prog_compiler_static_GCJ
='-Bstatic'
18037 lt_prog_compiler_wl_GCJ
='-Wl,'
18040 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18041 lt_prog_compiler_pic_GCJ
='-KPIC'
18042 lt_prog_compiler_static_GCJ
='-Bstatic'
18043 lt_prog_compiler_wl_GCJ
=''
18050 osf3
* | osf4
* | osf5
*)
18051 lt_prog_compiler_wl_GCJ
='-Wl,'
18052 # All OSF/1 code is PIC.
18053 lt_prog_compiler_static_GCJ
='-non_shared'
18057 lt_prog_compiler_static_GCJ
='-non_shared'
18061 lt_prog_compiler_pic_GCJ
='-KPIC'
18062 lt_prog_compiler_static_GCJ
='-Bstatic'
18063 case $cc_basename in
18064 f77
* | f90
* | f95
*)
18065 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
18067 lt_prog_compiler_wl_GCJ
='-Wl,';;
18072 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18073 lt_prog_compiler_pic_GCJ
='-PIC'
18074 lt_prog_compiler_static_GCJ
='-Bstatic'
18077 sysv4
| sysv4.2uw2
* | sysv4.3
*)
18078 lt_prog_compiler_wl_GCJ
='-Wl,'
18079 lt_prog_compiler_pic_GCJ
='-KPIC'
18080 lt_prog_compiler_static_GCJ
='-Bstatic'
18084 if test -d /usr
/nec
;then
18085 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18086 lt_prog_compiler_static_GCJ
='-Bstatic'
18090 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18091 lt_prog_compiler_wl_GCJ
='-Wl,'
18092 lt_prog_compiler_pic_GCJ
='-KPIC'
18093 lt_prog_compiler_static_GCJ
='-Bstatic'
18097 lt_prog_compiler_wl_GCJ
='-Wl,'
18098 lt_prog_compiler_can_build_shared_GCJ
=no
18102 lt_prog_compiler_pic_GCJ
='-pic'
18103 lt_prog_compiler_static_GCJ
='-Bstatic'
18107 lt_prog_compiler_can_build_shared_GCJ
=no
18112 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18113 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18116 # Check to make sure the PIC flag actually works.
18118 if test -n "$lt_prog_compiler_pic_GCJ"; then
18120 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18121 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18122 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 lt_cv_prog_compiler_pic_works_GCJ
=no
18126 ac_outfile
=conftest.
$ac_objext
18127 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18128 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18129 # Insert the option either (1) after the last *FLAGS variable, or
18130 # (2) before a word containing "conftest.", or (3) at the end.
18131 # Note that $ac_compile itself does not contain backslashes and begins
18132 # with a dollar sign (not a hyphen), so the echo should work correctly.
18133 # The option is referenced via a variable to avoid confusing sed.
18134 lt_compile
=`echo "$ac_compile" | $SED \
18135 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18136 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18137 -e 's:$: $lt_compiler_flag:'`
18138 (eval echo "\"\$as_me:18138: $lt_compile\"" >&5)
18139 (eval "$lt_compile" 2>conftest.err
)
18141 cat conftest.err
>&5
18142 echo "$as_me:18142: \$? = $ac_status" >&5
18143 if (exit $ac_status) && test -s "$ac_outfile"; then
18144 # The compiler can only warn and ignore the option if not recognized
18145 # So say no if there are warnings other than the usual output.
18146 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18147 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18148 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
18149 lt_cv_prog_compiler_pic_works_GCJ
=yes
18155 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18156 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18158 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
18159 case $lt_prog_compiler_pic_GCJ in
18161 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18164 lt_prog_compiler_pic_GCJ
=
18165 lt_prog_compiler_can_build_shared_GCJ
=no
18170 # For platforms which do not support PIC, -DPIC is meaningless:
18172 lt_prog_compiler_pic_GCJ
=
18175 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18180 # Check to make sure the static flag actually works.
18182 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
18183 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18184 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18185 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18186 echo $ECHO_N "(cached) $ECHO_C" >&6
18188 lt_cv_prog_compiler_static_works_GCJ
=no
18189 save_LDFLAGS
="$LDFLAGS"
18190 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18191 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18192 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18193 # The linker can only warn and ignore the option if not recognized
18194 # So say no if there are warnings
18195 if test -s conftest.err
; then
18196 # Append any errors to the config.log.
18197 cat conftest.err
1>&5
18198 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18199 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18200 if diff conftest.exp conftest.er2
>/dev
/null
; then
18201 lt_cv_prog_compiler_static_works_GCJ
=yes
18204 lt_cv_prog_compiler_static_works_GCJ
=yes
18208 LDFLAGS
="$save_LDFLAGS"
18211 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18212 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18214 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
18217 lt_prog_compiler_static_GCJ
=
18221 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18222 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18223 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 lt_cv_prog_compiler_c_o_GCJ
=no
18227 $rm -r conftest
2>/dev
/null
18231 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18233 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18234 # Insert the option either (1) after the last *FLAGS variable, or
18235 # (2) before a word containing "conftest.", or (3) at the end.
18236 # Note that $ac_compile itself does not contain backslashes and begins
18237 # with a dollar sign (not a hyphen), so the echo should work correctly.
18238 lt_compile
=`echo "$ac_compile" | $SED \
18239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18241 -e 's:$: $lt_compiler_flag:'`
18242 (eval echo "\"\$as_me:18242: $lt_compile\"" >&5)
18243 (eval "$lt_compile" 2>out
/conftest.err
)
18245 cat out
/conftest.err
>&5
18246 echo "$as_me:18246: \$? = $ac_status" >&5
18247 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18249 # The compiler can only warn and ignore the option if not recognized
18250 # So say no if there are warnings
18251 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
18252 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18253 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18254 lt_cv_prog_compiler_c_o_GCJ
=yes
18259 # SGI C++ compiler will create directory out/ii_files/ for
18260 # template instantiation
18261 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18262 $rm out
/* && rmdir out
18268 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18269 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18272 hard_links
="nottested"
18273 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
18274 # do not overwrite the value of need_locks provided by the user
18275 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18276 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18279 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18281 ln conftest.a conftest.b
2>&5 || hard_links
=no
18282 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18283 { echo "$as_me:$LINENO: result: $hard_links" >&5
18284 echo "${ECHO_T}$hard_links" >&6; }
18285 if test "$hard_links" = no
; then
18286 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18287 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18294 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18295 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18298 allow_undefined_flag_GCJ
=
18299 enable_shared_with_static_runtimes_GCJ
=no
18301 archive_expsym_cmds_GCJ
=
18302 old_archive_From_new_cmds_GCJ
=
18303 old_archive_from_expsyms_cmds_GCJ
=
18304 export_dynamic_flag_spec_GCJ
=
18305 whole_archive_flag_spec_GCJ
=
18306 thread_safe_flag_spec_GCJ
=
18307 hardcode_libdir_flag_spec_GCJ
=
18308 hardcode_libdir_flag_spec_ld_GCJ
=
18309 hardcode_libdir_separator_GCJ
=
18310 hardcode_direct_GCJ
=no
18311 hardcode_minus_L_GCJ
=no
18312 hardcode_shlibpath_var_GCJ
=unsupported
18313 link_all_deplibs_GCJ
=unknown
18314 hardcode_automatic_GCJ
=no
18316 module_expsym_cmds_GCJ
=
18317 always_export_symbols_GCJ
=no
18318 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18319 # include_expsyms should be a list of space-separated symbols to be *always*
18320 # included in the symbol list
18321 include_expsyms_GCJ
=
18322 # exclude_expsyms can be an extended regexp of symbols to exclude
18323 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18324 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18325 # as well as any symbol that contains `d'.
18326 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18327 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18328 # platforms (ab)use it in PIC code, but their linkers get confused if
18329 # the symbol is explicitly referenced. Since portable code cannot
18330 # rely on this symbol name, it's probably fine to never include it in
18331 # preloaded symbol tables.
18332 # Exclude shared library initialization/finalization symbols.
18333 extract_expsyms_cmds
=
18334 # Just being paranoid about ensuring that cc_basename is set.
18335 for cc_temp
in $compiler""; do
18337 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
18338 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
18343 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18346 cygwin
* | mingw
* | pw32
*)
18347 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18348 # When not using gcc, we currently assume that we are using
18349 # Microsoft Visual C++.
18350 if test "$GCC" != yes; then
18355 # we just hope/assume this is gcc and not c89 (= MSVC++)
18364 if test "$with_gnu_ld" = yes; then
18365 # If archive_cmds runs LD, not CC, wlarc should be empty
18368 # Set some defaults for GNU ld with shared library support. These
18369 # are reset later if shared libraries are not supported. Putting them
18370 # here allows them to be overridden if necessary.
18371 runpath_var
=LD_RUN_PATH
18372 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
18373 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
18374 # ancient GNU ld didn't support --whole-archive et. al.
18375 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
18376 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18378 whole_archive_flag_spec_GCJ
=
18380 supports_anon_versioning
=no
18381 case `$LD -v 2>/dev/null` in
18382 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
18383 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
18384 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
18385 *\
2.11.
*) ;; # other 2.11 versions
18386 *) supports_anon_versioning
=yes ;;
18389 # See if GNU ld supports shared libraries.
18392 # On AIX/PPC, the GNU linker is very broken
18393 if test "$host_cpu" != ia64
; then
18397 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18398 *** to be unable to reliably create shared libraries on AIX.
18399 *** Therefore, libtool is disabling shared libraries support. If you
18400 *** really care for shared libraries, you may want to modify your PATH
18401 *** so that a non-GNU linker is found, and then restart.
18408 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)'
18409 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18410 hardcode_minus_L_GCJ
=yes
18412 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18413 # that the semantics of dynamic libraries on AmigaOS, at least up
18414 # to version 4, is to share data among multiple programs linked
18415 # with the same dynamic library. Since this doesn't match the
18416 # behavior of shared libraries on other platforms, we can't use
18422 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18423 allow_undefined_flag_GCJ
=unsupported
18424 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18425 # support --undefined. This deserves some investigation. FIXME
18426 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18432 cygwin
* | mingw
* | pw32
*)
18433 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18434 # as there is no search path for DLLs.
18435 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18436 allow_undefined_flag_GCJ
=unsupported
18437 always_export_symbols_GCJ
=no
18438 enable_shared_with_static_runtimes_GCJ
=yes
18439 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18441 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
18442 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18443 # If the export-symbols file already is a .def file (1st line
18444 # is EXPORTS), use it as is; otherwise, prepend...
18445 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18446 cp $export_symbols $output_objdir/$soname.def;
18448 echo EXPORTS > $output_objdir/$soname.def;
18449 cat $export_symbols >> $output_objdir/$soname.def;
18451 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18458 hardcode_direct_GCJ
=no
18459 hardcode_shlibpath_var_GCJ
=no
18460 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18461 export_dynamic_flag_spec_GCJ
='${wl}-E'
18462 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18463 # Instead, shared libraries are loaded at an image base (0x10000000 by
18464 # default) and relocated if they conflict, which is a slow very memory
18465 # consuming and fragmenting process. To avoid this, we pick a random,
18466 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18467 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18468 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'
18469 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'
18472 gnu
* | linux
* | k
*bsd
*-gnu)
18473 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18475 case $cc_basename,$host_cpu in
18476 pgcc
*) # Portland Group C compiler
18477 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'
18478 tmp_addflag
=' $pic_flag'
18480 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18481 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'
18482 tmp_addflag
=' $pic_flag -Mnomain' ;;
18483 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18484 tmp_addflag
=' -i_dynamic' ;;
18485 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18486 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18487 ifc
* | ifort
*) # Intel Fortran compiler
18488 tmp_addflag
=' -nofor_main' ;;
18490 case `$CC -V 2>&1 | sed 5q` in
18491 *Sun\ C
*) # Sun C 5.9
18492 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18493 tmp_sharedflag
='-G' ;;
18494 *Sun\ F
*) # Sun Fortran 8.3
18495 tmp_sharedflag
='-G' ;;
18497 tmp_sharedflag
='-shared' ;;
18499 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18501 if test $supports_anon_versioning = yes; then
18502 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
18503 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18504 $echo "local: *; };" >> $output_objdir/$libname.ver~
18505 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18507 link_all_deplibs_GCJ
=no
18513 netbsd
* | netbsdelf
*-gnu)
18514 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
18515 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18518 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18519 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18524 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
18528 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18529 *** create shared libraries on Solaris systems. Therefore, libtool
18530 *** is disabling shared libraries support. We urge you to upgrade GNU
18531 *** binutils to release 2.9.1 or newer. Another option is to modify
18532 *** your PATH or compiler configuration so that the native linker is
18533 *** used, and then restart.
18536 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18537 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18538 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18544 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18545 case `$LD -v 2>&1` in
18546 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
18550 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18551 *** reliably create shared libraries on SCO systems. Therefore, libtool
18552 *** is disabling shared libraries support. We urge you to upgrade GNU
18553 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18554 *** your PATH or compiler configuration so that the native linker is
18555 *** used, and then restart.
18560 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18561 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18562 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18563 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18572 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18574 hardcode_direct_GCJ
=yes
18575 hardcode_shlibpath_var_GCJ
=no
18579 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18580 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18581 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18588 if test "$ld_shlibs_GCJ" = no
; then
18590 hardcode_libdir_flag_spec_GCJ
=
18591 export_dynamic_flag_spec_GCJ
=
18592 whole_archive_flag_spec_GCJ
=
18595 # PORTME fill in a description of your system's linker (not GNU ld)
18598 allow_undefined_flag_GCJ
=unsupported
18599 always_export_symbols_GCJ
=yes
18600 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'
18601 # Note: this linker hardcodes the directories in LIBPATH if there
18602 # are no directories specified by -L.
18603 hardcode_minus_L_GCJ
=yes
18604 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18605 # Neither direct hardcoding nor static linking is supported with a
18607 hardcode_direct_GCJ
=unsupported
18612 if test "$host_cpu" = ia64
; then
18613 # On IA64, the linker does run time linking by default, so we don't
18614 # have to do anything special.
18615 aix_use_runtimelinking
=no
18616 exp_sym_flag
='-Bexport'
18619 # If we're using GNU nm, then we don't want the "-C" option.
18620 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18621 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
18622 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'
18624 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'
18626 aix_use_runtimelinking
=no
18628 # Test if we are trying to use run time linking or normal
18629 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18630 # need to do runtime linking.
18631 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18632 for ld_flag
in $LDFLAGS; do
18633 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18634 aix_use_runtimelinking
=yes
18641 exp_sym_flag
='-bexport'
18642 no_entry_flag
='-bnoentry'
18645 # When large executables or shared objects are built, AIX ld can
18646 # have problems creating the table of contents. If linking a library
18647 # or program results in "error TOC overflow" add -mminimal-toc to
18648 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18649 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18651 archive_cmds_GCJ
=''
18652 hardcode_direct_GCJ
=yes
18653 hardcode_libdir_separator_GCJ
=':'
18654 link_all_deplibs_GCJ
=yes
18656 if test "$GCC" = yes; then
18657 case $host_os in aix4.
[012]|aix4.
[012].
*)
18658 # We only want to do this on AIX 4.2 and lower, the check
18659 # below for broken collect2 doesn't work under 4.3+
18660 collect2name
=`${CC} -print-prog-name=collect2`
18661 if test -f "$collect2name" && \
18662 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
18664 # We have reworked collect2
18667 # We have old collect2
18668 hardcode_direct_GCJ
=unsupported
18669 # It fails to find uninstalled libraries when the uninstalled
18670 # path is not listed in the libpath. Setting hardcode_minus_L
18671 # to unsupported forces relinking
18672 hardcode_minus_L_GCJ
=yes
18673 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18674 hardcode_libdir_separator_GCJ
=
18678 shared_flag
='-shared'
18679 if test "$aix_use_runtimelinking" = yes; then
18680 shared_flag
="$shared_flag "'${wl}-G'
18684 if test "$host_cpu" = ia64
; then
18685 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18686 # chokes on -Wl,-G. The following line is correct:
18689 if test "$aix_use_runtimelinking" = yes; then
18690 shared_flag
='${wl}-G'
18692 shared_flag
='${wl}-bM:SRE'
18697 # It seems that -bexpall does not export symbols beginning with
18698 # underscore (_), so it is better to generate a list of symbols to export.
18699 always_export_symbols_GCJ
=yes
18700 if test "$aix_use_runtimelinking" = yes; then
18701 # Warning - without using the other runtime loading flags (-brtl),
18702 # -berok will link without error, but may produce a broken library.
18703 allow_undefined_flag_GCJ
='-berok'
18704 # Determine the default libpath from the value encoded in an empty executable.
18705 cat >conftest.
$ac_ext <<_ACEOF
18708 cat confdefs.h
>>conftest.
$ac_ext
18709 cat >>conftest.
$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18720 rm -f conftest.
$ac_objext conftest
$ac_exeext
18721 if { (ac_try
="$ac_link"
18722 case "(($ac_try" in
18723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_link") 2>conftest.er1
18729 grep -v '^ *+' conftest.er1 >conftest.err
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } && {
18734 test -z "$ac_c_werror_flag" ||
18735 test ! -s conftest.err
18736 } && test -s conftest$ac_exeext &&
18737 $as_test_x conftest$ac_exeext; then
18739 lt_aix_libpath_sed='
18740 /Import File Strings/,/^$/ {
18746 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
18747 # Check for a 64-bit object if we didn't find anything.
18748 if test -z "$aix_libpath"; then
18749 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.$ac_ext >&5
18758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18759 conftest$ac_exeext conftest.$ac_ext
18760 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18762 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18763 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"
18765 if test "$host_cpu" = ia64; then
18766 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18767 allow_undefined_flag_GCJ="-z nodefs"
18768 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"
18770 # Determine the default libpath from the value encoded in an empty executable.
18771 cat >conftest.$ac_ext <<_ACEOF
18774 cat confdefs.h >>conftest.$ac_ext
18775 cat >>conftest.$ac_ext <<_ACEOF
18776 /* end confdefs.h. */
18786 rm -f conftest.$ac_objext conftest$ac_exeext
18787 if { (ac_try="$ac_link"
18788 case "(($ac_try" in
18789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18790 *) ac_try_echo
=$ac_try;;
18792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18793 (eval "$ac_link") 2>conftest.er1
18795 grep -v '^ *+' conftest.er1
>conftest.err
18797 cat conftest.err
>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } && {
18800 test -z "$ac_c_werror_flag" ||
18801 test ! -s conftest.err
18802 } && test -s conftest
$ac_exeext &&
18803 $as_test_x conftest
$ac_exeext; then
18805 lt_aix_libpath_sed
='
18806 /Import File Strings/,/^$/ {
18812 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18813 # Check for a 64-bit object if we didn't find anything.
18814 if test -z "$aix_libpath"; then
18815 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.
$ac_ext >&5
18824 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18825 conftest
$ac_exeext conftest.
$ac_ext
18826 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18828 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18829 # Warning - without using the other run time loading flags,
18830 # -berok will link without error, but may produce a broken library.
18831 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18832 allow_undefined_flag_GCJ
=' ${wl}-berok'
18833 # Exported symbols can be pulled into shared objects from archives
18834 whole_archive_flag_spec_GCJ
='$convenience'
18835 archive_cmds_need_lc_GCJ
=yes
18836 # This is similar to how AIX traditionally builds its shared libraries.
18837 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'
18843 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)'
18844 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18845 hardcode_minus_L_GCJ
=yes
18846 # see comment about different semantics on the GNU ld section
18851 export_dynamic_flag_spec_GCJ
=-rdynamic
18854 cygwin
* | mingw
* | pw32
*)
18855 # When not using gcc, we currently assume that we are using
18856 # Microsoft Visual C++.
18857 # hardcode_libdir_flag_spec is actually meaningless, as there is
18858 # no search path for DLLs.
18859 hardcode_libdir_flag_spec_GCJ
=' '
18860 allow_undefined_flag_GCJ
=unsupported
18861 # Tell ltmain to make .lib files, not .a files.
18863 # Tell ltmain to make .dll files, not .so files.
18865 # FIXME: Setting linknames here is a bad hack.
18866 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18867 # The linker will automatically build a .lib file if we build a DLL.
18868 old_archive_From_new_cmds_GCJ
='true'
18869 # FIXME: Should let the user specify the lib program.
18870 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18871 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18872 enable_shared_with_static_runtimes_GCJ
=yes
18875 darwin
* | rhapsody
*)
18877 rhapsody
* | darwin1.
[012])
18878 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18881 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18882 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18884 case ${MACOSX_DEPLOYMENT_TARGET} in
18886 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18889 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18895 archive_cmds_need_lc_GCJ
=no
18896 hardcode_direct_GCJ
=no
18897 hardcode_automatic_GCJ
=yes
18898 hardcode_shlibpath_var_GCJ
=unsupported
18899 whole_archive_flag_spec_GCJ
=''
18900 link_all_deplibs_GCJ
=yes
18901 if test "$GCC" = yes ; then
18902 output_verbose_link_cmd
='echo'
18903 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18904 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18905 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18906 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18908 case $cc_basename in
18910 output_verbose_link_cmd
='echo'
18911 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18912 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18913 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18914 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18915 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}'
18925 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18926 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18927 hardcode_shlibpath_var_GCJ
=no
18934 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18935 # support. Future versions do this automatically, but an explicit c++rt0.o
18936 # does not break anything, and helps significantly (at the cost of a little
18939 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18940 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18941 hardcode_direct_GCJ
=yes
18942 hardcode_shlibpath_var_GCJ
=no
18945 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18947 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18948 hardcode_direct_GCJ
=yes
18949 hardcode_minus_L_GCJ
=yes
18950 hardcode_shlibpath_var_GCJ
=no
18953 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18954 freebsd
* | dragonfly
*)
18955 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18956 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18957 hardcode_direct_GCJ
=yes
18958 hardcode_shlibpath_var_GCJ
=no
18962 if test "$GCC" = yes; then
18963 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'
18965 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'
18967 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18968 hardcode_libdir_separator_GCJ
=:
18969 hardcode_direct_GCJ
=yes
18971 # hardcode_minus_L: Not really in the search PATH,
18972 # but as the default location of the library.
18973 hardcode_minus_L_GCJ
=yes
18974 export_dynamic_flag_spec_GCJ
='${wl}-E'
18978 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18979 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18981 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18983 if test "$with_gnu_ld" = no
; then
18984 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18985 hardcode_libdir_separator_GCJ
=:
18987 hardcode_direct_GCJ
=yes
18988 export_dynamic_flag_spec_GCJ
='${wl}-E'
18990 # hardcode_minus_L: Not really in the search PATH,
18991 # but as the default location of the library.
18992 hardcode_minus_L_GCJ
=yes
18997 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19000 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19003 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19006 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19012 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19015 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19018 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19022 if test "$with_gnu_ld" = no
; then
19023 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19024 hardcode_libdir_separator_GCJ
=:
19028 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
19029 hardcode_direct_GCJ
=no
19030 hardcode_shlibpath_var_GCJ
=no
19033 hardcode_direct_GCJ
=yes
19034 export_dynamic_flag_spec_GCJ
='${wl}-E'
19036 # hardcode_minus_L: Not really in the search PATH,
19037 # but as the default location of the library.
19038 hardcode_minus_L_GCJ
=yes
19044 irix5
* | irix6
* | nonstopux
*)
19045 if test "$GCC" = yes; then
19046 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'
19048 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'
19049 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
19051 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19052 hardcode_libdir_separator_GCJ
=:
19053 link_all_deplibs_GCJ
=yes
19056 netbsd
* | netbsdelf
*-gnu)
19057 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
19058 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19060 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19062 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19063 hardcode_direct_GCJ
=yes
19064 hardcode_shlibpath_var_GCJ
=no
19068 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19069 hardcode_direct_GCJ
=yes
19070 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19071 hardcode_libdir_separator_GCJ
=:
19072 hardcode_shlibpath_var_GCJ
=no
19076 if test -f /usr
/libexec
/ld.so
; then
19077 hardcode_direct_GCJ
=yes
19078 hardcode_shlibpath_var_GCJ
=no
19079 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19080 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19081 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19082 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19083 export_dynamic_flag_spec_GCJ
='${wl}-E'
19086 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19087 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19088 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19091 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19092 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19102 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19103 hardcode_minus_L_GCJ
=yes
19104 allow_undefined_flag_GCJ
=unsupported
19105 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'
19106 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19110 if test "$GCC" = yes; then
19111 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19112 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'
19114 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19115 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'
19117 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19118 hardcode_libdir_separator_GCJ
=:
19121 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19122 if test "$GCC" = yes; then
19123 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19124 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'
19125 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19127 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19128 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'
19129 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~
19130 $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'
19132 # Both c and cxx compiler support -rpath directly
19133 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19135 hardcode_libdir_separator_GCJ
=:
19139 no_undefined_flag_GCJ
=' -z text'
19140 if test "$GCC" = yes; then
19142 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19143 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19144 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19147 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19148 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19149 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19151 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19152 hardcode_shlibpath_var_GCJ
=no
19154 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19156 # The compiler driver will combine and reorder linker options,
19157 # but understands `-z linker_flag'. GCC discards it without `$wl',
19158 # but is careful enough not to reorder.
19159 # Supported since Solaris 2.6 (maybe 2.5.1?)
19160 if test "$GCC" = yes; then
19161 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19163 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
19167 link_all_deplibs_GCJ
=yes
19171 if test "x$host_vendor" = xsequent
; then
19172 # Use $CC to link under sequent, because it throws in some extra .o
19173 # files that make .init and .fini sections work.
19174 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19176 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19178 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19179 hardcode_direct_GCJ
=yes
19180 hardcode_minus_L_GCJ
=yes
19181 hardcode_shlibpath_var_GCJ
=no
19185 case $host_vendor in
19187 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19188 hardcode_direct_GCJ
=yes # is this really true???
19191 ## LD is ld it makes a PLAMLIB
19192 ## CC just makes a GrossModule.
19193 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19194 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19195 hardcode_direct_GCJ
=no
19198 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19199 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19202 runpath_var
='LD_RUN_PATH'
19203 hardcode_shlibpath_var_GCJ
=no
19207 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19208 hardcode_shlibpath_var_GCJ
=no
19209 export_dynamic_flag_spec_GCJ
='-Bexport'
19213 if test -d /usr
/nec
; then
19214 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19215 hardcode_shlibpath_var_GCJ
=no
19216 runpath_var
=LD_RUN_PATH
19217 hardcode_runpath_var
=yes
19222 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19223 no_undefined_flag_GCJ
='${wl}-z,text'
19224 archive_cmds_need_lc_GCJ
=no
19225 hardcode_shlibpath_var_GCJ
=no
19226 runpath_var
='LD_RUN_PATH'
19228 if test "$GCC" = yes; then
19229 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19230 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19232 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19233 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19237 sysv5
* | sco3.2v5
* | sco5v6
*)
19238 # Note: We can NOT use -z defs as we might desire, because we do not
19239 # link with -lc, and that would cause any symbols used from libc to
19240 # always be unresolved, which means just about no library would
19241 # ever link correctly. If we're not using GNU ld we use -z text
19242 # though, which does catch some bad symbols but isn't as heavy-handed
19244 no_undefined_flag_GCJ
='${wl}-z,text'
19245 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
19246 archive_cmds_need_lc_GCJ
=no
19247 hardcode_shlibpath_var_GCJ
=no
19248 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19249 hardcode_libdir_separator_GCJ
=':'
19250 link_all_deplibs_GCJ
=yes
19251 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19252 runpath_var
='LD_RUN_PATH'
19254 if test "$GCC" = yes; then
19255 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19256 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19258 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19259 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19264 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19265 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19266 hardcode_shlibpath_var_GCJ
=no
19275 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19276 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19277 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
19280 # Do we need to explicitly link libc?
19282 case "x$archive_cmds_need_lc_GCJ" in
19284 # Assume -lc should be added
19285 archive_cmds_need_lc_GCJ
=yes
19287 if test "$enable_shared" = yes && test "$GCC" = yes; then
19288 case $archive_cmds_GCJ in
19290 # FIXME: we may have to deal with multi-command sequences.
19293 # Test whether the compiler implicitly links with -lc since on some
19294 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19295 # to ld, don't add -lc before -lgcc.
19296 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19297 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19299 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
19301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19302 (eval $ac_compile) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } 2>conftest.err
; then
19308 libobjs
=conftest.
$ac_objext
19310 wl
=$lt_prog_compiler_wl_GCJ
19311 pic_flag
=$lt_prog_compiler_pic_GCJ
19317 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
19318 allow_undefined_flag_GCJ
=
19319 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19320 (eval $archive_cmds_GCJ 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); }
19325 archive_cmds_need_lc_GCJ
=no
19327 archive_cmds_need_lc_GCJ
=yes
19329 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
19331 cat conftest.err
1>&5
19334 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19335 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19342 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19343 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19344 library_names_spec
=
19345 libname_spec
='lib$name'
19349 postuninstall_cmds
=
19353 shlibpath_overrides_runpath
=unknown
19355 dynamic_linker
="$host_os ld.so"
19356 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19358 need_lib_prefix
=unknown
19359 hardcode_into_libs
=no
19361 # when you set need_version to no, make sure it does not cause -set_version
19362 # flags to be left without arguments
19363 need_version
=unknown
19368 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19369 shlibpath_var
=LIBPATH
19371 # AIX 3 has no versioning support, so we append a major version to the name.
19372 soname_spec
='${libname}${release}${shared_ext}$major'
19379 hardcode_into_libs
=yes
19380 if test "$host_cpu" = ia64
; then
19381 # AIX 5 supports IA64
19382 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19383 shlibpath_var
=LD_LIBRARY_PATH
19385 # With GCC up to 2.95.x, collect2 would create an import file
19386 # for dependence libraries. The import file would start with
19387 # the line `#! .'. This would cause the generated library to
19388 # depend on `.', always an invalid library. This was fixed in
19389 # development snapshots of GCC prior to 3.0.
19391 aix4
| aix4.
[01] | aix4.
[01].
*)
19392 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19394 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
19397 can_build_shared
=no
19401 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19402 # soname into executable. Probably we can add versioning support to
19403 # collect2, so additional links can be useful in future.
19404 if test "$aix_use_runtimelinking" = yes; then
19405 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19406 # instead of lib<name>.a to let people know that these are not
19407 # typical AIX shared libraries.
19408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19410 # We preserve .a as extension for shared libraries through AIX4.2
19411 # and later when we are not doing run time linking.
19412 library_names_spec
='${libname}${release}.a $libname.a'
19413 soname_spec
='${libname}${release}${shared_ext}$major'
19415 shlibpath_var
=LIBPATH
19420 library_names_spec
='$libname.ixlibrary $libname.a'
19421 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19422 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'
19426 library_names_spec
='${libname}${shared_ext}'
19427 dynamic_linker
="$host_os ld.so"
19428 shlibpath_var
=LIBRARY_PATH
19434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19435 soname_spec
='${libname}${release}${shared_ext}$major'
19436 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19437 shlibpath_var
=LD_LIBRARY_PATH
19438 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19439 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19440 # the default ld.so.conf also contains /usr/contrib/lib and
19441 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19442 # libtool to hard-code these into programs
19445 cygwin
* | mingw
* | pw32
*)
19446 version_type
=windows
19451 case $GCC,$host_os in
19452 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
19453 library_names_spec
='$libname.dll.a'
19454 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19455 postinstall_cmds
='base_file=`basename \${file}`~
19456 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19457 dldir=$destdir/`dirname \$dlpath`~
19458 test -d \$dldir || mkdir -p \$dldir~
19459 $install_prog $dir/$dlname \$dldir/$dlname~
19460 chmod a+x \$dldir/$dlname'
19461 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19462 dlpath=$dir/\$dldll~
19464 shlibpath_overrides_runpath
=yes
19468 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19469 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19470 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19473 # MinGW DLLs use traditional 'lib' prefix
19474 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19475 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19476 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
19477 # It is most probably a Windows format PATH printed by
19478 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19479 # path with ; separators, and with drive letters. We can handle the
19480 # drive letters (cygwin fileutils understands them), so leave them,
19481 # especially as we might pass files found there to a mingw objdump,
19482 # which wouldn't understand a cygwinified path. Ahh.
19483 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19485 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19489 # pw32 DLLs use 'pw' prefix rather than 'lib'
19490 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19496 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
19499 dynamic_linker
='Win32 ld.exe'
19500 # FIXME: first we should search . and the directory the executable is in
19504 darwin
* | rhapsody
*)
19505 dynamic_linker
="$host_os dyld"
19506 version_type
=darwin
19509 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19510 soname_spec
='${libname}${release}${major}$shared_ext'
19511 shlibpath_overrides_runpath
=yes
19512 shlibpath_var
=DYLD_LIBRARY_PATH
19513 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19515 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19523 soname_spec
='${libname}${release}${shared_ext}$major'
19524 shlibpath_var
=LD_LIBRARY_PATH
19531 freebsd
* | dragonfly
*)
19532 # DragonFly does not have aout. When/if they implement a new
19533 # versioning mechanism, adjust this.
19534 if test -x /usr
/bin
/objformat
; then
19535 objformat
=`/usr/bin/objformat`
19538 freebsd
[123]*) objformat
=aout
;;
19539 *) objformat
=elf
;;
19542 version_type
=freebsd
-$objformat
19543 case $version_type in
19545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19550 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19554 shlibpath_var
=LD_LIBRARY_PATH
19557 shlibpath_overrides_runpath
=yes
19559 freebsd3.
[01]* | freebsdelf3.
[01]*)
19560 shlibpath_overrides_runpath
=yes
19561 hardcode_into_libs
=yes
19563 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19564 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19565 shlibpath_overrides_runpath
=no
19566 hardcode_into_libs
=yes
19568 *) # from 4.6 on, and DragonFly
19569 shlibpath_overrides_runpath
=yes
19570 hardcode_into_libs
=yes
19579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19580 soname_spec
='${libname}${release}${shared_ext}$major'
19581 shlibpath_var
=LD_LIBRARY_PATH
19582 hardcode_into_libs
=yes
19585 hpux9
* | hpux10
* | hpux11
*)
19586 # Give a soname corresponding to the major version so that dld.sl refuses to
19587 # link against other versions.
19594 hardcode_into_libs
=yes
19595 dynamic_linker
="$host_os dld.so"
19596 shlibpath_var
=LD_LIBRARY_PATH
19597 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19599 soname_spec
='${libname}${release}${shared_ext}$major'
19600 if test "X$HPUX_IA64_MODE" = X32
; then
19601 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19603 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19605 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19609 hardcode_into_libs
=yes
19610 dynamic_linker
="$host_os dld.sl"
19611 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19612 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19614 soname_spec
='${libname}${release}${shared_ext}$major'
19615 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19616 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19620 dynamic_linker
="$host_os dld.sl"
19621 shlibpath_var
=SHLIB_PATH
19622 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19624 soname_spec
='${libname}${release}${shared_ext}$major'
19627 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19628 postinstall_cmds
='chmod 555 $lib'
19635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19636 soname_spec
='${libname}${release}${shared_ext}$major'
19637 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19638 shlibpath_var
=LD_LIBRARY_PATH
19639 shlibpath_overrides_runpath
=no
19640 hardcode_into_libs
=yes
19643 irix5
* | irix6
* | nonstopux
*)
19645 nonstopux
*) version_type
=nonstopux
;;
19647 if test "$lt_cv_prog_gnu_ld" = yes; then
19655 soname_spec
='${libname}${release}${shared_ext}$major'
19656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19658 irix5
* | nonstopux
*)
19659 libsuff
= shlibsuff
=
19662 case $LD in # libtool.m4 will add one of these switches to LD
19663 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19664 libsuff
= shlibsuff
= libmagic
=32-bit;;
19665 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19666 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19667 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19668 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19669 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
19673 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19674 shlibpath_overrides_runpath
=no
19675 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19676 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19677 hardcode_into_libs
=yes
19680 # No shared lib support for Linux oldld, aout, or coff.
19681 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19685 # This must be Linux ELF.
19686 linux
* | k
*bsd
*-gnu)
19690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19691 soname_spec
='${libname}${release}${shared_ext}$major'
19692 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19693 shlibpath_var
=LD_LIBRARY_PATH
19694 shlibpath_overrides_runpath
=no
19695 # This implies no fast_install, which is unacceptable.
19696 # Some rework will be needed to allow for fast_install
19697 # before this can be enabled.
19698 hardcode_into_libs
=yes
19700 # Append ld.so.conf contents to the search path
19701 if test -f /etc
/ld.so.conf
; then
19702 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19703 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19706 # We used to test for /lib/ld.so.1 and disable shared libraries on
19707 # powerpc, because MkLinux only supported shared libraries with the
19708 # GNU dynamic linker. Since this was broken with cross compilers,
19709 # most powerpc-linux boxes support dynamic linking these days and
19710 # people can always --disable-shared, the test was removed, and we
19711 # assume the GNU/Linux dynamic linker is in use.
19712 dynamic_linker
='GNU/Linux ld.so'
19719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19720 soname_spec
='${libname}${release}${shared_ext}$major'
19721 shlibpath_var
=LD_LIBRARY_PATH
19722 shlibpath_overrides_runpath
=no
19723 hardcode_into_libs
=yes
19724 dynamic_linker
='NetBSD ld.elf_so'
19731 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
19732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19733 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19734 dynamic_linker
='NetBSD (a.out) ld.so'
19736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19737 soname_spec
='${libname}${release}${shared_ext}$major'
19738 dynamic_linker
='NetBSD ld.elf_so'
19740 shlibpath_var
=LD_LIBRARY_PATH
19741 shlibpath_overrides_runpath
=yes
19742 hardcode_into_libs
=yes
19747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19748 shlibpath_var
=LD_LIBRARY_PATH
19749 shlibpath_overrides_runpath
=yes
19756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19757 soname_spec
='${libname}${release}${shared_ext}$major'
19758 shlibpath_var
=LD_LIBRARY_PATH
19759 shlibpath_overrides_runpath
=yes
19764 sys_lib_dlsearch_path_spec
="/usr/lib"
19766 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19768 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
19769 *) need_version
=no
;;
19771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19772 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19773 shlibpath_var
=LD_LIBRARY_PATH
19774 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19776 openbsd2.
[89] | openbsd2.
[89].
*)
19777 shlibpath_overrides_runpath
=no
19780 shlibpath_overrides_runpath
=yes
19784 shlibpath_overrides_runpath
=yes
19789 libname_spec
='$name'
19792 library_names_spec
='$libname${shared_ext} $libname.a'
19793 dynamic_linker
='OS/2 ld.exe'
19794 shlibpath_var
=LIBPATH
19797 osf3
* | osf4
* | osf5
*)
19801 soname_spec
='${libname}${release}${shared_ext}$major'
19802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19803 shlibpath_var
=LD_LIBRARY_PATH
19804 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19805 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19817 soname_spec
='${libname}${release}${shared_ext}$major'
19818 shlibpath_var
=LD_LIBRARY_PATH
19819 shlibpath_overrides_runpath
=yes
19820 hardcode_into_libs
=yes
19821 # ldd complains unless libraries are executable
19822 postinstall_cmds
='chmod +x $lib'
19827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19828 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19829 shlibpath_var
=LD_LIBRARY_PATH
19830 shlibpath_overrides_runpath
=yes
19831 if test "$with_gnu_ld" = yes; then
19839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19840 soname_spec
='${libname}${release}${shared_ext}$major'
19841 shlibpath_var
=LD_LIBRARY_PATH
19842 case $host_vendor in
19844 shlibpath_overrides_runpath
=no
19846 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19847 runpath_var
=LD_RUN_PATH
19855 shlibpath_overrides_runpath
=no
19856 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19862 if test -d /usr
/nec
;then
19864 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19865 soname_spec
='$libname${shared_ext}.$major'
19866 shlibpath_var
=LD_LIBRARY_PATH
19870 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19871 version_type
=freebsd
-elf
19874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19875 soname_spec
='${libname}${release}${shared_ext}$major'
19876 shlibpath_var
=LD_LIBRARY_PATH
19877 hardcode_into_libs
=yes
19878 if test "$with_gnu_ld" = yes; then
19879 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19880 shlibpath_overrides_runpath
=no
19882 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19883 shlibpath_overrides_runpath
=yes
19886 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19890 sys_lib_dlsearch_path_spec
='/usr/lib'
19895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19896 soname_spec
='${libname}${release}${shared_ext}$major'
19897 shlibpath_var
=LD_LIBRARY_PATH
19904 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19905 echo "${ECHO_T}$dynamic_linker" >&6; }
19906 test "$dynamic_linker" = no
&& can_build_shared
=no
19908 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19909 echo $ECHO_N "(cached) $ECHO_C" >&6
19911 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
19914 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19915 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
19921 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19923 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19924 if test "$GCC" = yes; then
19925 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19928 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19929 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19930 hardcode_action_GCJ
=
19931 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19932 test -n "$runpath_var_GCJ" || \
19933 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19935 # We can hardcode non-existant directories.
19936 if test "$hardcode_direct_GCJ" != no
&&
19937 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19938 # have to relink, otherwise we might link with an installed library
19939 # when we should be linking with a yet-to-be-installed one
19940 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19941 test "$hardcode_minus_L_GCJ" != no
; then
19942 # Linking always hardcodes the temporary library directory.
19943 hardcode_action_GCJ
=relink
19945 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19946 hardcode_action_GCJ
=immediate
19949 # We cannot hardcode anything, or else we can only hardcode existing
19951 hardcode_action_GCJ
=unsupported
19953 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19954 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19956 if test "$hardcode_action_GCJ" = relink
; then
19957 # Fast installation is not supported
19958 enable_fast_install
=no
19959 elif test "$shlibpath_overrides_runpath" = yes ||
19960 test "$enable_shared" = no
; then
19961 # Fast installation is not necessary
19962 enable_fast_install
=needless
19966 # The else clause should only fire when bootstrapping the
19967 # libtool distribution, otherwise you forgot to ship ltmain.sh
19968 # with your package, and you will get complaints that there are
19969 # no rules to generate ltmain.sh.
19970 if test -f "$ltmain"; then
19971 # See if we are running on zsh, and set the options which allow our commands through
19972 # without removal of \ escapes.
19973 if test -n "${ZSH_VERSION+set}" ; then
19974 setopt NO_GLOB_SUBST
19976 # Now quote all the things that may contain metacharacters while being
19977 # careful not to overquote the AC_SUBSTed values. We take copies of the
19978 # variables and quote the copies for generation of the libtool script.
19979 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19981 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19982 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19983 deplibs_check_method reload_flag reload_cmds need_locks \
19984 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19985 lt_cv_sys_global_symbol_to_c_name_address \
19986 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19987 old_postinstall_cmds old_postuninstall_cmds \
19991 lt_prog_compiler_wl_GCJ \
19992 lt_prog_compiler_pic_GCJ \
19993 lt_prog_compiler_static_GCJ \
19994 lt_prog_compiler_no_builtin_flag_GCJ \
19995 export_dynamic_flag_spec_GCJ \
19996 thread_safe_flag_spec_GCJ \
19997 whole_archive_flag_spec_GCJ \
19998 enable_shared_with_static_runtimes_GCJ \
19999 old_archive_cmds_GCJ \
20000 old_archive_from_new_cmds_GCJ \
20001 predep_objects_GCJ \
20002 postdep_objects_GCJ \
20005 compiler_lib_search_path_GCJ \
20006 compiler_lib_search_dirs_GCJ \
20008 archive_expsym_cmds_GCJ \
20009 postinstall_cmds_GCJ \
20010 postuninstall_cmds_GCJ \
20011 old_archive_from_expsyms_cmds_GCJ \
20012 allow_undefined_flag_GCJ \
20013 no_undefined_flag_GCJ \
20014 export_symbols_cmds_GCJ \
20015 hardcode_libdir_flag_spec_GCJ \
20016 hardcode_libdir_flag_spec_ld_GCJ \
20017 hardcode_libdir_separator_GCJ \
20018 hardcode_automatic_GCJ \
20020 module_expsym_cmds_GCJ \
20021 lt_cv_prog_compiler_c_o_GCJ \
20022 fix_srcfile_path_GCJ \
20023 exclude_expsyms_GCJ \
20024 include_expsyms_GCJ
; do
20027 old_archive_cmds_GCJ
| \
20028 old_archive_from_new_cmds_GCJ
| \
20029 archive_cmds_GCJ
| \
20030 archive_expsym_cmds_GCJ
| \
20031 module_cmds_GCJ
| \
20032 module_expsym_cmds_GCJ
| \
20033 old_archive_from_expsyms_cmds_GCJ
| \
20034 export_symbols_cmds_GCJ
| \
20035 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
20036 postinstall_cmds
| postuninstall_cmds
| \
20037 old_postinstall_cmds
| old_postuninstall_cmds
| \
20038 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
20039 # Double-quote double-evaled strings.
20040 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20043 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20049 *'\$0 --fallback-echo"')
20050 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20056 cat <<__EOF__ >> "$cfgfile"
20057 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20059 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20061 # Shell to use when invoking shell scripts.
20064 # Whether or not to build shared libraries.
20065 build_libtool_libs=$enable_shared
20067 # Whether or not to build static libraries.
20068 build_old_libs=$enable_static
20070 # Whether or not to add -lc for building shared libraries.
20071 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20073 # Whether or not to disallow shared libs when runtime libs are static
20074 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20076 # Whether or not to optimize for fast installation.
20077 fast_install=$enable_fast_install
20080 host_alias=$host_alias
20084 # The build system.
20085 build_alias=$build_alias
20089 # An echo program that does not interpret backslashes.
20094 AR_FLAGS=$lt_AR_FLAGS
20099 # LTCC compiler flags.
20100 LTCFLAGS=$lt_LTCFLAGS
20102 # A language-specific compiler.
20103 CC=$lt_compiler_GCJ
20105 # Is the compiler the GNU C compiler?
20111 # The linker used to build libraries.
20114 # Whether we need hard or soft links.
20117 # A BSD-compatible nm program.
20120 # A symbol stripping program
20123 # Used to examine libraries when file_magic_cmd begins "file"
20124 MAGIC_CMD=$MAGIC_CMD
20126 # Used on cygwin: DLL creation program.
20129 # Used on cygwin: object dumper.
20132 # Used on cygwin: assembler.
20135 # The name of the directory that contains temporary libtool files.
20138 # How to create reloadable object files.
20139 reload_flag=$lt_reload_flag
20140 reload_cmds=$lt_reload_cmds
20142 # How to pass a linker flag through the compiler.
20143 wl=$lt_lt_prog_compiler_wl_GCJ
20145 # Object file suffix (normally "o").
20146 objext="$ac_objext"
20148 # Old archive suffix (normally "a").
20151 # Shared library suffix (normally ".so").
20152 shrext_cmds='$shrext_cmds'
20154 # Executable file suffix (normally "").
20157 # Additional compiler flags for building library objects.
20158 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20161 # What is the maximum length of a command?
20162 max_cmd_len=$lt_cv_sys_max_cmd_len
20164 # Does compiler simultaneously support -c and -o options?
20165 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20167 # Must we lock files when doing compilation?
20168 need_locks=$lt_need_locks
20170 # Do we need the lib prefix for modules?
20171 need_lib_prefix=$need_lib_prefix
20173 # Do we need a version for libraries?
20174 need_version=$need_version
20176 # Whether dlopen is supported.
20177 dlopen_support=$enable_dlopen
20179 # Whether dlopen of programs is supported.
20180 dlopen_self=$enable_dlopen_self
20182 # Whether dlopen of statically linked programs is supported.
20183 dlopen_self_static=$enable_dlopen_self_static
20185 # Compiler flag to prevent dynamic linking.
20186 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20188 # Compiler flag to turn off builtin functions.
20189 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20191 # Compiler flag to allow reflexive dlopens.
20192 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20194 # Compiler flag to generate shared objects directly from archives.
20195 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20197 # Compiler flag to generate thread-safe objects.
20198 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20200 # Library versioning type.
20201 version_type=$version_type
20203 # Format of library name prefix.
20204 libname_spec=$lt_libname_spec
20206 # List of archive names. First name is the real one, the rest are links.
20207 # The last name is the one that the linker finds with -lNAME.
20208 library_names_spec=$lt_library_names_spec
20210 # The coded name of the library, if different from the real name.
20211 soname_spec=$lt_soname_spec
20213 # Commands used to build and install an old-style archive.
20215 old_archive_cmds=$lt_old_archive_cmds_GCJ
20216 old_postinstall_cmds=$lt_old_postinstall_cmds
20217 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20219 # Create an old-style archive from a shared archive.
20220 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20222 # Create a temporary old-style archive to link instead of a shared archive.
20223 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20225 # Commands used to build and install a shared archive.
20226 archive_cmds=$lt_archive_cmds_GCJ
20227 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20228 postinstall_cmds=$lt_postinstall_cmds
20229 postuninstall_cmds=$lt_postuninstall_cmds
20231 # Commands used to build a loadable module (assumed same as above if empty)
20232 module_cmds=$lt_module_cmds_GCJ
20233 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20235 # Commands to strip libraries.
20236 old_striplib=$lt_old_striplib
20237 striplib=$lt_striplib
20239 # Dependencies to place before the objects being linked to create a
20241 predep_objects=$lt_predep_objects_GCJ
20243 # Dependencies to place after the objects being linked to create a
20245 postdep_objects=$lt_postdep_objects_GCJ
20247 # Dependencies to place before the objects being linked to create a
20249 predeps=$lt_predeps_GCJ
20251 # Dependencies to place after the objects being linked to create a
20253 postdeps=$lt_postdeps_GCJ
20255 # The directories searched by this compiler when creating a shared
20257 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20259 # The library search path used internally by the compiler when linking
20260 # a shared library.
20261 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20263 # Method to check whether dependent libraries are shared objects.
20264 deplibs_check_method=$lt_deplibs_check_method
20266 # Command to use when deplibs_check_method == file_magic.
20267 file_magic_cmd=$lt_file_magic_cmd
20269 # Flag that allows shared libraries with undefined symbols to be built.
20270 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20272 # Flag that forces no undefined symbols.
20273 no_undefined_flag=$lt_no_undefined_flag_GCJ
20275 # Commands used to finish a libtool library installation in a directory.
20276 finish_cmds=$lt_finish_cmds
20278 # Same as above, but a single script fragment to be evaled but not shown.
20279 finish_eval=$lt_finish_eval
20281 # Take the output of nm and produce a listing of raw symbols and C names.
20282 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20284 # Transform the output of nm in a proper C declaration
20285 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20287 # Transform the output of nm in a C name address pair
20288 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20290 # This is the shared library runtime path variable.
20291 runpath_var=$runpath_var
20293 # This is the shared library path variable.
20294 shlibpath_var=$shlibpath_var
20296 # Is shlibpath searched before the hard-coded library search path?
20297 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20299 # How to hardcode a shared library path into an executable.
20300 hardcode_action=$hardcode_action_GCJ
20302 # Whether we should hardcode library paths into libraries.
20303 hardcode_into_libs=$hardcode_into_libs
20305 # Flag to hardcode \$libdir into a binary during linking.
20306 # This must work even if \$libdir does not exist.
20307 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20309 # If ld is used when linking, flag to hardcode \$libdir into
20310 # a binary during linking. This must work even if \$libdir does
20312 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20314 # Whether we need a single -rpath flag with a separated argument.
20315 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20317 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20318 # resulting binary.
20319 hardcode_direct=$hardcode_direct_GCJ
20321 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20322 # resulting binary.
20323 hardcode_minus_L=$hardcode_minus_L_GCJ
20325 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20326 # the resulting binary.
20327 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20329 # Set to yes if building a shared library automatically hardcodes DIR into the library
20330 # and all subsequent libraries and executables linked against it.
20331 hardcode_automatic=$hardcode_automatic_GCJ
20333 # Variables whose values should be saved in libtool wrapper scripts and
20334 # restored at relink time.
20335 variables_saved_for_relink="$variables_saved_for_relink"
20337 # Whether libtool must link a program against all its dependency libraries.
20338 link_all_deplibs=$link_all_deplibs_GCJ
20340 # Compile-time system search path for libraries
20341 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20343 # Run-time system search path for libraries
20344 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20346 # Fix the shell variable \$srcfile for the compiler.
20347 fix_srcfile_path=$lt_fix_srcfile_path
20349 # Set to yes if exported symbols are required.
20350 always_export_symbols=$always_export_symbols_GCJ
20352 # The commands to list exported symbols.
20353 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20355 # The commands to extract the exported symbol list from a shared archive.
20356 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20358 # Symbols that should not be listed in the preloaded symbols.
20359 exclude_expsyms=$lt_exclude_expsyms_GCJ
20361 # Symbols that must always be exported.
20362 include_expsyms=$lt_include_expsyms_GCJ
20364 # ### END LIBTOOL TAG CONFIG: $tagname
20370 # If there is no Makefile yet, we rely on a make rule to execute
20371 # `config.status --recheck' to rerun these tests and create the
20372 # libtool script then.
20373 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20374 if test -f "$ltmain_in"; then
20375 test -f Makefile
&& make "$ltmain"
20381 ac_cpp
='$CPP $CPPFLAGS'
20382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20396 # Source file extension for RC test sources.
20399 # Object file extension for compiled RC test sources.
20403 # Code to be used in simple compile tests
20404 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20406 # Code to be used in simple link tests
20407 lt_simple_link_test_code
="$lt_simple_compile_test_code"
20409 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20411 # If no C compiler was specified, use CC.
20414 # If no C compiler flags were specified, use CFLAGS.
20415 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20417 # Allow CC to be a program name with arguments.
20421 # save warnings/boilerplate of simple test code
20422 ac_outfile
=conftest.
$ac_objext
20423 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
20424 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
20425 _lt_compiler_boilerplate
=`cat conftest.err`
20428 ac_outfile
=conftest.
$ac_objext
20429 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
20430 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
20431 _lt_linker_boilerplate
=`cat conftest.err`
20435 # Allow CC to be a program name with arguments.
20440 for cc_temp
in $compiler""; do
20442 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
20443 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
20448 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20450 lt_cv_prog_compiler_c_o_RC
=yes
20452 # The else clause should only fire when bootstrapping the
20453 # libtool distribution, otherwise you forgot to ship ltmain.sh
20454 # with your package, and you will get complaints that there are
20455 # no rules to generate ltmain.sh.
20456 if test -f "$ltmain"; then
20457 # See if we are running on zsh, and set the options which allow our commands through
20458 # without removal of \ escapes.
20459 if test -n "${ZSH_VERSION+set}" ; then
20460 setopt NO_GLOB_SUBST
20462 # Now quote all the things that may contain metacharacters while being
20463 # careful not to overquote the AC_SUBSTed values. We take copies of the
20464 # variables and quote the copies for generation of the libtool script.
20465 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20467 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20468 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20469 deplibs_check_method reload_flag reload_cmds need_locks \
20470 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20471 lt_cv_sys_global_symbol_to_c_name_address \
20472 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20473 old_postinstall_cmds old_postuninstall_cmds \
20477 lt_prog_compiler_wl_RC \
20478 lt_prog_compiler_pic_RC \
20479 lt_prog_compiler_static_RC \
20480 lt_prog_compiler_no_builtin_flag_RC \
20481 export_dynamic_flag_spec_RC \
20482 thread_safe_flag_spec_RC \
20483 whole_archive_flag_spec_RC \
20484 enable_shared_with_static_runtimes_RC \
20485 old_archive_cmds_RC \
20486 old_archive_from_new_cmds_RC \
20487 predep_objects_RC \
20488 postdep_objects_RC \
20491 compiler_lib_search_path_RC \
20492 compiler_lib_search_dirs_RC \
20494 archive_expsym_cmds_RC \
20495 postinstall_cmds_RC \
20496 postuninstall_cmds_RC \
20497 old_archive_from_expsyms_cmds_RC \
20498 allow_undefined_flag_RC \
20499 no_undefined_flag_RC \
20500 export_symbols_cmds_RC \
20501 hardcode_libdir_flag_spec_RC \
20502 hardcode_libdir_flag_spec_ld_RC \
20503 hardcode_libdir_separator_RC \
20504 hardcode_automatic_RC \
20506 module_expsym_cmds_RC \
20507 lt_cv_prog_compiler_c_o_RC \
20508 fix_srcfile_path_RC \
20509 exclude_expsyms_RC \
20510 include_expsyms_RC
; do
20513 old_archive_cmds_RC
| \
20514 old_archive_from_new_cmds_RC
| \
20515 archive_cmds_RC
| \
20516 archive_expsym_cmds_RC
| \
20518 module_expsym_cmds_RC
| \
20519 old_archive_from_expsyms_cmds_RC
| \
20520 export_symbols_cmds_RC
| \
20521 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
20522 postinstall_cmds
| postuninstall_cmds
| \
20523 old_postinstall_cmds
| old_postuninstall_cmds
| \
20524 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
20525 # Double-quote double-evaled strings.
20526 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20529 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20535 *'\$0 --fallback-echo"')
20536 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20542 cat <<__EOF__ >> "$cfgfile"
20543 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20545 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20547 # Shell to use when invoking shell scripts.
20550 # Whether or not to build shared libraries.
20551 build_libtool_libs=$enable_shared
20553 # Whether or not to build static libraries.
20554 build_old_libs=$enable_static
20556 # Whether or not to add -lc for building shared libraries.
20557 build_libtool_need_lc=$archive_cmds_need_lc_RC
20559 # Whether or not to disallow shared libs when runtime libs are static
20560 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20562 # Whether or not to optimize for fast installation.
20563 fast_install=$enable_fast_install
20566 host_alias=$host_alias
20570 # The build system.
20571 build_alias=$build_alias
20575 # An echo program that does not interpret backslashes.
20580 AR_FLAGS=$lt_AR_FLAGS
20585 # LTCC compiler flags.
20586 LTCFLAGS=$lt_LTCFLAGS
20588 # A language-specific compiler.
20591 # Is the compiler the GNU C compiler?
20597 # The linker used to build libraries.
20600 # Whether we need hard or soft links.
20603 # A BSD-compatible nm program.
20606 # A symbol stripping program
20609 # Used to examine libraries when file_magic_cmd begins "file"
20610 MAGIC_CMD=$MAGIC_CMD
20612 # Used on cygwin: DLL creation program.
20615 # Used on cygwin: object dumper.
20618 # Used on cygwin: assembler.
20621 # The name of the directory that contains temporary libtool files.
20624 # How to create reloadable object files.
20625 reload_flag=$lt_reload_flag
20626 reload_cmds=$lt_reload_cmds
20628 # How to pass a linker flag through the compiler.
20629 wl=$lt_lt_prog_compiler_wl_RC
20631 # Object file suffix (normally "o").
20632 objext="$ac_objext"
20634 # Old archive suffix (normally "a").
20637 # Shared library suffix (normally ".so").
20638 shrext_cmds='$shrext_cmds'
20640 # Executable file suffix (normally "").
20643 # Additional compiler flags for building library objects.
20644 pic_flag=$lt_lt_prog_compiler_pic_RC
20647 # What is the maximum length of a command?
20648 max_cmd_len=$lt_cv_sys_max_cmd_len
20650 # Does compiler simultaneously support -c and -o options?
20651 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20653 # Must we lock files when doing compilation?
20654 need_locks=$lt_need_locks
20656 # Do we need the lib prefix for modules?
20657 need_lib_prefix=$need_lib_prefix
20659 # Do we need a version for libraries?
20660 need_version=$need_version
20662 # Whether dlopen is supported.
20663 dlopen_support=$enable_dlopen
20665 # Whether dlopen of programs is supported.
20666 dlopen_self=$enable_dlopen_self
20668 # Whether dlopen of statically linked programs is supported.
20669 dlopen_self_static=$enable_dlopen_self_static
20671 # Compiler flag to prevent dynamic linking.
20672 link_static_flag=$lt_lt_prog_compiler_static_RC
20674 # Compiler flag to turn off builtin functions.
20675 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20677 # Compiler flag to allow reflexive dlopens.
20678 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20680 # Compiler flag to generate shared objects directly from archives.
20681 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20683 # Compiler flag to generate thread-safe objects.
20684 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20686 # Library versioning type.
20687 version_type=$version_type
20689 # Format of library name prefix.
20690 libname_spec=$lt_libname_spec
20692 # List of archive names. First name is the real one, the rest are links.
20693 # The last name is the one that the linker finds with -lNAME.
20694 library_names_spec=$lt_library_names_spec
20696 # The coded name of the library, if different from the real name.
20697 soname_spec=$lt_soname_spec
20699 # Commands used to build and install an old-style archive.
20701 old_archive_cmds=$lt_old_archive_cmds_RC
20702 old_postinstall_cmds=$lt_old_postinstall_cmds
20703 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20705 # Create an old-style archive from a shared archive.
20706 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20708 # Create a temporary old-style archive to link instead of a shared archive.
20709 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20711 # Commands used to build and install a shared archive.
20712 archive_cmds=$lt_archive_cmds_RC
20713 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20714 postinstall_cmds=$lt_postinstall_cmds
20715 postuninstall_cmds=$lt_postuninstall_cmds
20717 # Commands used to build a loadable module (assumed same as above if empty)
20718 module_cmds=$lt_module_cmds_RC
20719 module_expsym_cmds=$lt_module_expsym_cmds_RC
20721 # Commands to strip libraries.
20722 old_striplib=$lt_old_striplib
20723 striplib=$lt_striplib
20725 # Dependencies to place before the objects being linked to create a
20727 predep_objects=$lt_predep_objects_RC
20729 # Dependencies to place after the objects being linked to create a
20731 postdep_objects=$lt_postdep_objects_RC
20733 # Dependencies to place before the objects being linked to create a
20735 predeps=$lt_predeps_RC
20737 # Dependencies to place after the objects being linked to create a
20739 postdeps=$lt_postdeps_RC
20741 # The directories searched by this compiler when creating a shared
20743 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20745 # The library search path used internally by the compiler when linking
20746 # a shared library.
20747 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20749 # Method to check whether dependent libraries are shared objects.
20750 deplibs_check_method=$lt_deplibs_check_method
20752 # Command to use when deplibs_check_method == file_magic.
20753 file_magic_cmd=$lt_file_magic_cmd
20755 # Flag that allows shared libraries with undefined symbols to be built.
20756 allow_undefined_flag=$lt_allow_undefined_flag_RC
20758 # Flag that forces no undefined symbols.
20759 no_undefined_flag=$lt_no_undefined_flag_RC
20761 # Commands used to finish a libtool library installation in a directory.
20762 finish_cmds=$lt_finish_cmds
20764 # Same as above, but a single script fragment to be evaled but not shown.
20765 finish_eval=$lt_finish_eval
20767 # Take the output of nm and produce a listing of raw symbols and C names.
20768 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20770 # Transform the output of nm in a proper C declaration
20771 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20773 # Transform the output of nm in a C name address pair
20774 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20776 # This is the shared library runtime path variable.
20777 runpath_var=$runpath_var
20779 # This is the shared library path variable.
20780 shlibpath_var=$shlibpath_var
20782 # Is shlibpath searched before the hard-coded library search path?
20783 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20785 # How to hardcode a shared library path into an executable.
20786 hardcode_action=$hardcode_action_RC
20788 # Whether we should hardcode library paths into libraries.
20789 hardcode_into_libs=$hardcode_into_libs
20791 # Flag to hardcode \$libdir into a binary during linking.
20792 # This must work even if \$libdir does not exist.
20793 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20795 # If ld is used when linking, flag to hardcode \$libdir into
20796 # a binary during linking. This must work even if \$libdir does
20798 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20800 # Whether we need a single -rpath flag with a separated argument.
20801 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20803 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20804 # resulting binary.
20805 hardcode_direct=$hardcode_direct_RC
20807 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20808 # resulting binary.
20809 hardcode_minus_L=$hardcode_minus_L_RC
20811 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20812 # the resulting binary.
20813 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20815 # Set to yes if building a shared library automatically hardcodes DIR into the library
20816 # and all subsequent libraries and executables linked against it.
20817 hardcode_automatic=$hardcode_automatic_RC
20819 # Variables whose values should be saved in libtool wrapper scripts and
20820 # restored at relink time.
20821 variables_saved_for_relink="$variables_saved_for_relink"
20823 # Whether libtool must link a program against all its dependency libraries.
20824 link_all_deplibs=$link_all_deplibs_RC
20826 # Compile-time system search path for libraries
20827 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20829 # Run-time system search path for libraries
20830 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20832 # Fix the shell variable \$srcfile for the compiler.
20833 fix_srcfile_path=$lt_fix_srcfile_path
20835 # Set to yes if exported symbols are required.
20836 always_export_symbols=$always_export_symbols_RC
20838 # The commands to list exported symbols.
20839 export_symbols_cmds=$lt_export_symbols_cmds_RC
20841 # The commands to extract the exported symbol list from a shared archive.
20842 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20844 # Symbols that should not be listed in the preloaded symbols.
20845 exclude_expsyms=$lt_exclude_expsyms_RC
20847 # Symbols that must always be exported.
20848 include_expsyms=$lt_include_expsyms_RC
20850 # ### END LIBTOOL TAG CONFIG: $tagname
20856 # If there is no Makefile yet, we rely on a make rule to execute
20857 # `config.status --recheck' to rerun these tests and create the
20858 # libtool script then.
20859 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20860 if test -f "$ltmain_in"; then
20861 test -f Makefile
&& make "$ltmain"
20867 ac_cpp
='$CPP $CPPFLAGS'
20868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20877 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20878 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20879 { (exit 1); exit 1; }; }
20883 # Append the new tag name to the list of available tags.
20884 if test -n "$tagname" ; then
20885 available_tags
="$available_tags $tagname"
20891 # Now substitute the updated list of available tags.
20892 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20893 mv "${ofile}T" "$ofile"
20897 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20898 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20899 { (exit 1); exit 1; }; }
20905 # This can be used to rebuild libtool when needed
20906 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20908 # Always use our own libtool.
20909 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20911 # Prevent multiple expansion
20933 LIBTOOL
="$LIBTOOL --silent"
20938 cat >>confdefs.h
<<_ACEOF
20943 cat >>confdefs.h
<<_ACEOF
20950 cat >>confdefs.h
<<_ACEOF
20955 cat >>confdefs.h
<<_ACEOF
20959 if test "${ac_cv_header_windows_h+set}" = set; then
20960 { echo "$as_me:$LINENO: checking for windows.h" >&5
20961 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
20962 if test "${ac_cv_header_windows_h+set}" = set; then
20963 echo $ECHO_N "(cached) $ECHO_C" >&6
20965 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20966 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
20968 # Is the header compilable?
20969 { echo "$as_me:$LINENO: checking windows.h usability" >&5
20970 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
20971 cat >conftest.
$ac_ext <<_ACEOF
20974 cat confdefs.h
>>conftest.
$ac_ext
20975 cat >>conftest.
$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 $ac_includes_default
20978 #include <windows.h>
20980 rm -f conftest.
$ac_objext
20981 if { (ac_try
="$ac_compile"
20982 case "(($ac_try" in
20983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20984 *) ac_try_echo=$ac_try;;
20986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987 (eval "$ac_compile") 2>conftest.er1
20989 grep -v '^ *+' conftest.er1 >conftest.err
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } && {
20994 test -z "$ac_c_werror_flag" ||
20995 test ! -s conftest.err
20996 } && test -s conftest.$ac_objext; then
20997 ac_header_compiler=yes
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21002 ac_header_compiler=no
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21007 echo "${ECHO_T}$ac_header_compiler" >&6; }
21009 # Is the header present?
21010 { echo "$as_me:$LINENO: checking windows.h presence" >&5
21011 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
21012 cat >conftest.$ac_ext <<_ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 #include <windows.h>
21020 if { (ac_try="$ac_cpp conftest.$ac_ext"
21021 case "(($ac_try" in
21022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21023 *) ac_try_echo
=$ac_try;;
21025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21028 grep -v '^ *+' conftest.er1
>conftest.err
21030 cat conftest.err
>&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); } >/dev
/null
&& {
21033 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21034 test ! -s conftest.err
21036 ac_header_preproc
=yes
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.
$ac_ext >&5
21041 ac_header_preproc
=no
21044 rm -f conftest.err conftest.
$ac_ext
21045 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21046 echo "${ECHO_T}$ac_header_preproc" >&6; }
21048 # So? What about this header?
21049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21051 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21052 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21053 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21054 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21055 ac_header_preproc
=yes
21058 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21059 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21060 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21061 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21062 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21063 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21064 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21065 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21066 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21067 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21068 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21069 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21073 { echo "$as_me:$LINENO: checking for windows.h" >&5
21074 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
21075 if test "${ac_cv_header_windows_h+set}" = set; then
21076 echo $ECHO_N "(cached) $ECHO_C" >&6
21078 ac_cv_header_windows_h
=$ac_header_preproc
21080 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21081 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
21084 if test $ac_cv_header_windows_h = yes; then
21087 { { echo "$as_me:$LINENO: error: ** MinGW and no windows.h. I give up." >&5
21088 echo "$as_me: error: ** MinGW and no windows.h. I give up." >&2;}
21089 { (exit 1); exit 1; }; }
21093 if test "${ac_cv_header_winsock2_h+set}" = set; then
21094 { echo "$as_me:$LINENO: checking for winsock2.h" >&5
21095 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; }
21096 if test "${ac_cv_header_winsock2_h+set}" = set; then
21097 echo $ECHO_N "(cached) $ECHO_C" >&6
21099 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5
21100 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; }
21102 # Is the header compilable?
21103 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5
21104 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; }
21105 cat >conftest.
$ac_ext <<_ACEOF
21108 cat confdefs.h
>>conftest.
$ac_ext
21109 cat >>conftest.
$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111 $ac_includes_default
21112 #include <winsock2.h>
21114 rm -f conftest.
$ac_objext
21115 if { (ac_try
="$ac_compile"
21116 case "(($ac_try" in
21117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21118 *) ac_try_echo=$ac_try;;
21120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21121 (eval "$ac_compile") 2>conftest.er1
21123 grep -v '^ *+' conftest.er1 >conftest.err
21125 cat conftest.err >&5
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); } && {
21128 test -z "$ac_c_werror_flag" ||
21129 test ! -s conftest.err
21130 } && test -s conftest.$ac_objext; then
21131 ac_header_compiler=yes
21133 echo "$as_me: failed program was:" >&5
21134 sed 's/^/| /' conftest.$ac_ext >&5
21136 ac_header_compiler=no
21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21140 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21141 echo "${ECHO_T}$ac_header_compiler" >&6; }
21143 # Is the header present?
21144 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5
21145 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; }
21146 cat >conftest.$ac_ext <<_ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 #include <winsock2.h>
21154 if { (ac_try="$ac_cpp conftest.$ac_ext"
21155 case "(($ac_try" in
21156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21157 *) ac_try_echo
=$ac_try;;
21159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21162 grep -v '^ *+' conftest.er1
>conftest.err
21164 cat conftest.err
>&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } >/dev
/null
&& {
21167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21168 test ! -s conftest.err
21170 ac_header_preproc
=yes
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.
$ac_ext >&5
21175 ac_header_preproc
=no
21178 rm -f conftest.err conftest.
$ac_ext
21179 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21180 echo "${ECHO_T}$ac_header_preproc" >&6; }
21182 # So? What about this header?
21183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21185 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5
21186 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21187 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5
21188 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;}
21189 ac_header_preproc
=yes
21192 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5
21193 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;}
21194 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5
21195 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;}
21196 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5
21197 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;}
21198 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5
21199 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;}
21200 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5
21201 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;}
21202 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5
21203 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;}
21207 { echo "$as_me:$LINENO: checking for winsock2.h" >&5
21208 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; }
21209 if test "${ac_cv_header_winsock2_h+set}" = set; then
21210 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 ac_cv_header_winsock2_h
=$ac_header_preproc
21214 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5
21215 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; }
21218 if test $ac_cv_header_winsock2_h = yes; then
21221 { { echo "$as_me:$LINENO: error: ** MinGW and no winsock2.h. I give up." >&5
21222 echo "$as_me: error: ** MinGW and no winsock2.h. I give up." >&2;}
21223 { (exit 1); exit 1; }; }
21228 cat >>confdefs.h
<<_ACEOF
21229 #define HAVE_WINSOCK2_H 1
21233 cat >>confdefs.h
<<_ACEOF
21234 #define HAVE_WINSOCK_H 1
21237 LIBS
="$LIBS -lws2_32 -liphlpapi"
21241 CPPFLAGS
="$CFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=500"
21244 CPPFLAGS
="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2 -D__EXTENSIONS__"
21250 if test "$is_mingw" = "yes"; then
21260 # backwards support for IRC_CFLAGS
21261 CFLAGS
="$IRC_CFLAGS $CFLAGS -Wall"
21263 if test "$libexecdir" = '${exec_prefix}/libexec' &&
21264 test "$localstatedir" = '${prefix}/var'; then
21265 libexecdir
='${bindir}'
21266 localstatedir
='${prefix}'
21269 { echo "$as_me:$LINENO: checking for pid_t" >&5
21270 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
21271 if test "${ac_cv_type_pid_t+set}" = set; then
21272 echo $ECHO_N "(cached) $ECHO_C" >&6
21274 cat >conftest.
$ac_ext <<_ACEOF
21277 cat confdefs.h
>>conftest.
$ac_ext
21278 cat >>conftest.
$ac_ext <<_ACEOF
21279 /* end confdefs.h. */
21280 $ac_includes_default
21281 typedef pid_t ac__type_new_;
21285 if ((ac__type_new_ *) 0)
21287 if (sizeof (ac__type_new_))
21293 rm -f conftest.
$ac_objext
21294 if { (ac_try
="$ac_compile"
21295 case "(($ac_try" in
21296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21297 *) ac_try_echo=$ac_try;;
21299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21300 (eval "$ac_compile") 2>conftest.er1
21302 grep -v '^ *+' conftest.er1 >conftest.err
21304 cat conftest.err >&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } && {
21307 test -z "$ac_c_werror_flag" ||
21308 test ! -s conftest.err
21309 } && test -s conftest.$ac_objext; then
21310 ac_cv_type_pid_t=yes
21312 echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.$ac_ext >&5
21315 ac_cv_type_pid_t=no
21318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21320 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
21321 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
21322 if test $ac_cv_type_pid_t = yes; then
21326 cat >>confdefs.h <<_ACEOF
21332 { echo "$as_me:$LINENO: checking for size_t" >&5
21333 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21334 if test "${ac_cv_type_size_t+set}" = set; then
21335 echo $ECHO_N "(cached) $ECHO_C" >&6
21337 cat >conftest.$ac_ext <<_ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 $ac_includes_default
21344 typedef size_t ac__type_new_;
21348 if ((ac__type_new_ *) 0)
21350 if (sizeof (ac__type_new_))
21356 rm -f conftest.$ac_objext
21357 if { (ac_try="$ac_compile"
21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21360 *) ac_try_echo
=$ac_try;;
21362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_compile") 2>conftest.er1
21365 grep -v '^ *+' conftest.er1
>conftest.err
21367 cat conftest.err
>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); } && {
21370 test -z "$ac_c_werror_flag" ||
21371 test ! -s conftest.err
21372 } && test -s conftest.
$ac_objext; then
21373 ac_cv_type_size_t
=yes
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.
$ac_ext >&5
21378 ac_cv_type_size_t
=no
21381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21383 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21384 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21385 if test $ac_cv_type_size_t = yes; then
21389 cat >>confdefs.h
<<_ACEOF
21390 #define size_t unsigned int
21395 { echo "$as_me:$LINENO: checking for ssize_t" >&5
21396 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
21397 if test "${ac_cv_type_ssize_t+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21400 cat >conftest.
$ac_ext <<_ACEOF
21403 cat confdefs.h
>>conftest.
$ac_ext
21404 cat >>conftest.
$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 $ac_includes_default
21407 typedef ssize_t ac__type_new_;
21411 if ((ac__type_new_ *) 0)
21413 if (sizeof (ac__type_new_))
21419 rm -f conftest.
$ac_objext
21420 if { (ac_try
="$ac_compile"
21421 case "(($ac_try" in
21422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_compile") 2>conftest.er1
21428 grep -v '^ *+' conftest.er1 >conftest.err
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } && {
21433 test -z "$ac_c_werror_flag" ||
21434 test ! -s conftest.err
21435 } && test -s conftest.$ac_objext; then
21436 ac_cv_type_ssize_t=yes
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21441 ac_cv_type_ssize_t=no
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
21447 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
21448 if test $ac_cv_type_ssize_t = yes; then
21452 cat >>confdefs.h <<_ACEOF
21453 #define ssize_t int
21458 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
21459 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
21460 if test "${ac_cv_type_uid_t+set}" = set; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 cat >conftest.$ac_ext <<_ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 #include <sys/types.h>
21472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21473 $EGREP "uid_t" >/dev/null 2>&1; then
21474 ac_cv_type_uid_t=yes
21476 ac_cv_type_uid_t=no
21481 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
21482 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
21483 if test $ac_cv_type_uid_t = no; then
21485 cat >>confdefs.h <<\_ACEOF
21490 cat >>confdefs.h <<\_ACEOF
21498 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21499 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21500 if test "${ac_cv_header_stdc+set}" = set; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21503 cat >conftest.$ac_ext <<_ACEOF
21506 cat confdefs.h >>conftest.$ac_ext
21507 cat >>conftest.$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21509 #include <stdlib.h>
21510 #include <stdarg.h>
21511 #include <string.h>
21522 rm -f conftest.$ac_objext
21523 if { (ac_try="$ac_compile"
21524 case "(($ac_try" in
21525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21526 *) ac_try_echo
=$ac_try;;
21528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21529 (eval "$ac_compile") 2>conftest.er1
21531 grep -v '^ *+' conftest.er1
>conftest.err
21533 cat conftest.err
>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); } && {
21536 test -z "$ac_c_werror_flag" ||
21537 test ! -s conftest.err
21538 } && test -s conftest.
$ac_objext; then
21539 ac_cv_header_stdc
=yes
21541 echo "$as_me: failed program was:" >&5
21542 sed 's/^/| /' conftest.
$ac_ext >&5
21544 ac_cv_header_stdc
=no
21547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21549 if test $ac_cv_header_stdc = yes; then
21550 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21551 cat >conftest.
$ac_ext <<_ACEOF
21554 cat confdefs.h
>>conftest.
$ac_ext
21555 cat >>conftest.
$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 #include <string.h>
21560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21561 $EGREP "memchr" >/dev
/null
2>&1; then
21564 ac_cv_header_stdc
=no
21570 if test $ac_cv_header_stdc = yes; then
21571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21572 cat >conftest.
$ac_ext <<_ACEOF
21575 cat confdefs.h
>>conftest.
$ac_ext
21576 cat >>conftest.
$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 #include <stdlib.h>
21581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21582 $EGREP "free" >/dev
/null
2>&1; then
21585 ac_cv_header_stdc
=no
21591 if test $ac_cv_header_stdc = yes; then
21592 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21593 if test "$cross_compiling" = yes; then
21596 cat >conftest.
$ac_ext <<_ACEOF
21599 cat confdefs.h
>>conftest.
$ac_ext
21600 cat >>conftest.
$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21603 #include <stdlib.h>
21604 #if ((' ' & 0x0FF) == 0x020)
21605 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21606 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21608 # define ISLOWER(c) \
21609 (('a' <= (c) && (c) <= 'i') \
21610 || ('j' <= (c) && (c) <= 'r') \
21611 || ('s' <= (c) && (c) <= 'z'))
21612 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21615 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21620 for (i = 0; i < 256; i++)
21621 if (XOR (islower (i), ISLOWER (i))
21622 || toupper (i) != TOUPPER (i))
21627 rm -f conftest
$ac_exeext
21628 if { (ac_try
="$ac_link"
21629 case "(($ac_try" in
21630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21631 *) ac_try_echo=$ac_try;;
21633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21634 (eval "$ac_link") 2>&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21638 { (case "(($ac_try" in
21639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21640 *) ac_try_echo
=$ac_try;;
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_try") 2>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; }; then
21649 echo "$as_me: program exited with status $ac_status" >&5
21650 echo "$as_me: failed program was:" >&5
21651 sed 's/^/| /' conftest.
$ac_ext >&5
21653 ( exit $ac_status )
21654 ac_cv_header_stdc
=no
21656 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21662 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21663 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21664 if test $ac_cv_header_stdc = yes; then
21666 cat >>confdefs.h
<<\_ACEOF
21667 #define STDC_HEADERS 1
21693 for ac_header
in crypt.h unistd.h sys
/socket.h sys
/stat.h sys
/time.h
time.h netinet
/in.h arpa
/inet.h errno.h sys
/uio.h spawn.h sys
/poll.h sys
/epoll.h sys
/select.h sys
/devpoll.h sys
/event.h port.h signal.h sys
/signalfd.h sys
/timerfd.h
21695 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21696 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21699 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21700 echo $ECHO_N "(cached) $ECHO_C" >&6
21702 ac_res
=`eval echo '${'$as_ac_Header'}'`
21703 { echo "$as_me:$LINENO: result: $ac_res" >&5
21704 echo "${ECHO_T}$ac_res" >&6; }
21706 # Is the header compilable?
21707 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21709 cat >conftest.
$ac_ext <<_ACEOF
21712 cat confdefs.h
>>conftest.
$ac_ext
21713 cat >>conftest.
$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 $ac_includes_default
21716 #include <$ac_header>
21718 rm -f conftest.
$ac_objext
21719 if { (ac_try
="$ac_compile"
21720 case "(($ac_try" in
21721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21722 *) ac_try_echo=$ac_try;;
21724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21725 (eval "$ac_compile") 2>conftest.er1
21727 grep -v '^ *+' conftest.er1 >conftest.err
21729 cat conftest.err >&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); } && {
21732 test -z "$ac_c_werror_flag" ||
21733 test ! -s conftest.err
21734 } && test -s conftest.$ac_objext; then
21735 ac_header_compiler=yes
21737 echo "$as_me: failed program was:" >&5
21738 sed 's/^/| /' conftest.$ac_ext >&5
21740 ac_header_compiler=no
21743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21744 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21745 echo "${ECHO_T}$ac_header_compiler" >&6; }
21747 # Is the header present?
21748 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21750 cat >conftest.$ac_ext <<_ACEOF
21753 cat confdefs.h >>conftest.$ac_ext
21754 cat >>conftest.$ac_ext <<_ACEOF
21755 /* end confdefs.h. */
21756 #include <$ac_header>
21758 if { (ac_try="$ac_cpp conftest.$ac_ext"
21759 case "(($ac_try" in
21760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21761 *) ac_try_echo
=$ac_try;;
21763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21766 grep -v '^ *+' conftest.er1
>conftest.err
21768 cat conftest.err
>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } >/dev
/null
&& {
21771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21772 test ! -s conftest.err
21774 ac_header_preproc
=yes
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.
$ac_ext >&5
21779 ac_header_preproc
=no
21782 rm -f conftest.err conftest.
$ac_ext
21783 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21784 echo "${ECHO_T}$ac_header_preproc" >&6; }
21786 # So? What about this header?
21787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21793 ac_header_preproc
=yes
21796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21813 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 eval "$as_ac_Header=\$ac_header_preproc"
21818 ac_res
=`eval echo '${'$as_ac_Header'}'`
21819 { echo "$as_me:$LINENO: result: $ac_res" >&5
21820 echo "${ECHO_T}$ac_res" >&6; }
21823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21824 cat >>confdefs.h
<<_ACEOF
21825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21832 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21833 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
21834 if test "${ac_cv_header_time+set}" = set; then
21835 echo $ECHO_N "(cached) $ECHO_C" >&6
21837 cat >conftest.
$ac_ext <<_ACEOF
21840 cat confdefs.h
>>conftest.
$ac_ext
21841 cat >>conftest.
$ac_ext <<_ACEOF
21842 /* end confdefs.h. */
21843 #include <sys/types.h>
21844 #include <sys/time.h>
21850 if ((struct tm *) 0)
21856 rm -f conftest.
$ac_objext
21857 if { (ac_try
="$ac_compile"
21858 case "(($ac_try" in
21859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21860 *) ac_try_echo=$ac_try;;
21862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21863 (eval "$ac_compile") 2>conftest.er1
21865 grep -v '^ *+' conftest.er1 >conftest.err
21867 cat conftest.err >&5
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); } && {
21870 test -z "$ac_c_werror_flag" ||
21871 test ! -s conftest.err
21872 } && test -s conftest.$ac_objext; then
21873 ac_cv_header_time=yes
21875 echo "$as_me: failed program was:" >&5
21876 sed 's/^/| /' conftest.$ac_ext >&5
21878 ac_cv_header_time=no
21881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21883 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21884 echo "${ECHO_T}$ac_cv_header_time" >&6; }
21885 if test $ac_cv_header_time = yes; then
21887 cat >>confdefs.h <<\_ACEOF
21888 #define TIME_WITH_SYS_TIME 1
21895 { echo "$as_me:$LINENO: checking for library containing socket" >&5
21896 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
21897 if test "${ac_cv_search_socket+set}" = set; then
21898 echo $ECHO_N "(cached) $ECHO_C" >&6
21900 ac_func_search_save_LIBS=$LIBS
21901 cat >conftest.$ac_ext <<_ACEOF
21904 cat confdefs.h >>conftest.$ac_ext
21905 cat >>conftest.$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21908 /* Override any GCC internal prototype to avoid an error.
21909 Use char because int might match the return type of a GCC
21910 builtin and then its argument prototype would still apply. */
21923 for ac_lib in '' socket; do
21924 if test -z "$ac_lib"; then
21925 ac_res="none required"
21928 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21930 rm -f conftest.$ac_objext conftest$ac_exeext
21931 if { (ac_try="$ac_link"
21932 case "(($ac_try" in
21933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21934 *) ac_try_echo
=$ac_try;;
21936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21937 (eval "$ac_link") 2>conftest.er1
21939 grep -v '^ *+' conftest.er1
>conftest.err
21941 cat conftest.err
>&5
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); } && {
21944 test -z "$ac_c_werror_flag" ||
21945 test ! -s conftest.err
21946 } && test -s conftest
$ac_exeext &&
21947 $as_test_x conftest
$ac_exeext; then
21948 ac_cv_search_socket
=$ac_res
21950 echo "$as_me: failed program was:" >&5
21951 sed 's/^/| /' conftest.
$ac_ext >&5
21956 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21958 if test "${ac_cv_search_socket+set}" = set; then
21962 if test "${ac_cv_search_socket+set}" = set; then
21965 ac_cv_search_socket
=no
21967 rm conftest.
$ac_ext
21968 LIBS
=$ac_func_search_save_LIBS
21970 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
21971 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
21972 ac_res
=$ac_cv_search_socket
21973 if test "$ac_res" != no
; then
21974 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21980 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21981 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21982 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21983 echo $ECHO_N "(cached) $ECHO_C" >&6
21985 cat >conftest.
$ac_ext <<_ACEOF
21988 cat confdefs.h
>>conftest.
$ac_ext
21989 cat >>conftest.
$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21992 #ifdef HAVE_SYS_TYPES_H
21993 #include <sys/types.h>
21995 #ifdef HAVE_SYS_SOCKET_H
21996 #include <sys/socket.h>
21998 #ifdef HAVE_WINSOCK2_H
21999 #include <winsock2.h>
22006 static struct sockaddr ac_aggr;
22007 if (ac_aggr.sa_len)
22013 rm -f conftest.
$ac_objext
22014 if { (ac_try
="$ac_compile"
22015 case "(($ac_try" in
22016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22017 *) ac_try_echo=$ac_try;;
22019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22020 (eval "$ac_compile") 2>conftest.er1
22022 grep -v '^ *+' conftest.er1 >conftest.err
22024 cat conftest.err >&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } && {
22027 test -z "$ac_c_werror_flag" ||
22028 test ! -s conftest.err
22029 } && test -s conftest.$ac_objext; then
22030 ac_cv_member_struct_sockaddr_sa_len=yes
22032 echo "$as_me: failed program was:" >&5
22033 sed 's/^/| /' conftest.$ac_ext >&5
22035 cat >conftest.$ac_ext <<_ACEOF
22038 cat confdefs.h >>conftest.$ac_ext
22039 cat >>conftest.$ac_ext <<_ACEOF
22040 /* end confdefs.h. */
22042 #ifdef HAVE_SYS_TYPES_H
22043 #include <sys/types.h>
22045 #ifdef HAVE_SYS_SOCKET_H
22046 #include <sys/socket.h>
22048 #ifdef HAVE_WINSOCK2_H
22049 #include <winsock2.h>
22056 static struct sockaddr ac_aggr;
22057 if (sizeof ac_aggr.sa_len)
22063 rm -f conftest.$ac_objext
22064 if { (ac_try="$ac_compile"
22065 case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22067 *) ac_try_echo
=$ac_try;;
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_compile") 2>conftest.er1
22072 grep -v '^ *+' conftest.er1
>conftest.err
22074 cat conftest.err
>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && {
22077 test -z "$ac_c_werror_flag" ||
22078 test ! -s conftest.err
22079 } && test -s conftest.
$ac_objext; then
22080 ac_cv_member_struct_sockaddr_sa_len
=yes
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.
$ac_ext >&5
22085 ac_cv_member_struct_sockaddr_sa_len
=no
22088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22093 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22094 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22095 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22097 cat >>confdefs.h
<<\_ACEOF
22098 #define SOCKADDR_IN_HAS_LEN 1
22104 { echo "$as_me:$LINENO: checking for socklen_t" >&5
22105 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
22106 if test "${ac_cv_type_socklen_t+set}" = set; then
22107 echo $ECHO_N "(cached) $ECHO_C" >&6
22109 cat >conftest.
$ac_ext <<_ACEOF
22112 cat confdefs.h
>>conftest.
$ac_ext
22113 cat >>conftest.
$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 #include <sys/types.h>
22116 #include <sys/socket.h>
22118 typedef socklen_t ac__type_new_;
22122 if ((ac__type_new_ *) 0)
22124 if (sizeof (ac__type_new_))
22130 rm -f conftest.
$ac_objext
22131 if { (ac_try
="$ac_compile"
22132 case "(($ac_try" in
22133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_compile") 2>conftest.er1
22139 grep -v '^ *+' conftest.er1 >conftest.err
22141 cat conftest.err >&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } && {
22144 test -z "$ac_c_werror_flag" ||
22145 test ! -s conftest.err
22146 } && test -s conftest.$ac_objext; then
22147 ac_cv_type_socklen_t=yes
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22152 ac_cv_type_socklen_t=no
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22157 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
22158 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
22159 if test $ac_cv_type_socklen_t = yes; then
22160 rb_socklen_t=socklen_t
22163 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
22164 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
22165 if test "${rb_socklen_t+set}" = set; then
22166 echo $ECHO_N "(cached) $ECHO_C" >&6
22169 # Systems have either "struct sockaddr *" or
22170 # "void *" as the second argument to getpeername
22172 for arg2 in "struct sockaddr" void; do
22173 for t in int size_t unsigned long "unsigned long"; do
22174 cat >conftest.$ac_ext <<_ACEOF
22177 cat confdefs.h >>conftest.$ac_ext
22178 cat >>conftest.$ac_ext <<_ACEOF
22179 /* end confdefs.h. */
22181 #ifdef HAVE_SYS_TYPES_H
22182 #include <sys/types.h>
22184 #ifdef HAVE_SYS_SOCKET_H
22185 #include <sys/socket.h>
22187 #ifdef HAVE_WINSOCK2_H
22188 #include <winsock2.h>
22190 int getpeername (int, $arg2 *, $t *);
22197 getpeername(0,0,&len);
22203 rm -f conftest.$ac_objext
22204 if { (ac_try="$ac_compile"
22205 case "(($ac_try" in
22206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22207 *) ac_try_echo
=$ac_try;;
22209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22210 (eval "$ac_compile") 2>conftest.er1
22212 grep -v '^ *+' conftest.er1
>conftest.err
22214 cat conftest.err
>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && {
22217 test -z "$ac_c_werror_flag" ||
22218 test ! -s conftest.err
22219 } && test -s conftest.
$ac_objext; then
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.
$ac_ext >&5
22231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22235 if test "x$rb_socklen_t" = x
; then
22236 { echo "$as_me:$LINENO: WARNING: Cannot find a type to use in place of socklen_t using int" >&5
22237 echo "$as_me: WARNING: Cannot find a type to use in place of socklen_t using int" >&2;}
22243 { echo "$as_me:$LINENO: result: $rb_socklen_t" >&5
22244 echo "${ECHO_T}$rb_socklen_t" >&6; }
22252 # Check whether --enable-ipv6 was given.
22253 if test "${enable_ipv6+set}" = set; then
22254 enableval
=$enable_ipv6; ipv6
=$enableval
22260 if test x
$ipv6 != xyes
; then
22266 { echo "$as_me:$LINENO: checking for INET6 protocol support" >&5
22267 echo $ECHO_N "checking for INET6 protocol support... $ECHO_C" >&6; }
22268 if test "${rb_cv_proto_inet6+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22272 cat >conftest.
$ac_ext <<_ACEOF
22275 cat confdefs.h
>>conftest.
$ac_ext
22276 cat >>conftest.
$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22279 #include <sys/types.h>
22280 #include <sys/socket.h>
22283 #error Missing PF_INET6
22286 #error Mlssing AF_INET6
22290 if { (ac_try
="$ac_cpp conftest.$ac_ext"
22291 case "(($ac_try" in
22292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22293 *) ac_try_echo=$ac_try;;
22295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22296 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22298 grep -v '^ *+' conftest.er1 >conftest.err
22300 cat conftest.err >&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); } >/dev/null && {
22303 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22304 test ! -s conftest.err
22307 rb_cv_proto_inet6=yes
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22314 rb_cv_proto_inet6=no
22318 rm -f conftest.err conftest.$ac_ext
22321 { echo "$as_me:$LINENO: result: $rb_cv_proto_inet6" >&5
22322 echo "${ECHO_T}$rb_cv_proto_inet6" >&6; }
22324 if test "X$rb_cv_proto_inet6" = "Xyes"; then :
22328 { echo "$as_me:$LINENO: Disabling IPv6 support: PF_INET6 not found" >&5
22329 echo "$as_me: Disabling IPv6 support: PF_INET6 not found" >&6;}
22335 if test "X$have_v6" = "Xyes"; then
22337 rb_have_sockaddr_in6=
22338 { echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
22339 echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; }
22340 if test "${ac_cv_type_struct_sockaddr_in6+set}" = set; then
22341 echo $ECHO_N "(cached) $ECHO_C" >&6
22343 cat >conftest.$ac_ext <<_ACEOF
22346 cat confdefs.h >>conftest.$ac_ext
22347 cat >>conftest.$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22350 #include <sys/types.h>
22351 #include <sys/socket.h>
22352 #include <netinet/in.h>
22355 typedef struct sockaddr_in6 ac__type_new_;
22359 if ((ac__type_new_ *) 0)
22361 if (sizeof (ac__type_new_))
22367 rm -f conftest.$ac_objext
22368 if { (ac_try="$ac_compile"
22369 case "(($ac_try" in
22370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22371 *) ac_try_echo
=$ac_try;;
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_compile") 2>conftest.er1
22376 grep -v '^ *+' conftest.er1
>conftest.err
22378 cat conftest.err
>&5
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); } && {
22381 test -z "$ac_c_werror_flag" ||
22382 test ! -s conftest.err
22383 } && test -s conftest.
$ac_objext; then
22384 ac_cv_type_struct_sockaddr_in6
=yes
22386 echo "$as_me: failed program was:" >&5
22387 sed 's/^/| /' conftest.
$ac_ext >&5
22389 ac_cv_type_struct_sockaddr_in6
=no
22392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22394 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in6" >&5
22395 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_in6" >&6; }
22396 if test $ac_cv_type_struct_sockaddr_in6 = yes; then
22398 cat >>confdefs.h
<<_ACEOF
22399 #define HAVE_STRUCT_SOCKADDR_IN6 1
22403 rb_have_sockaddr_in6
=yes
22407 rb_have_sockaddr_in6
=no
22412 if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
22416 { echo "$as_me:$LINENO: Disabling IPv6 support: struct sockaddr_in6 not found" >&5
22417 echo "$as_me: Disabling IPv6 support: struct sockaddr_in6 not found" >&6;}
22426 { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
22427 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
22428 if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 cat >conftest.
$ac_ext <<_ACEOF
22434 cat confdefs.h
>>conftest.
$ac_ext
22435 cat >>conftest.
$ac_ext <<_ACEOF
22436 /* end confdefs.h. */
22438 #include <sys/types.h>
22439 #include <sys/socket.h>
22442 typedef struct sockaddr_storage ac__type_new_;
22446 if ((ac__type_new_ *) 0)
22448 if (sizeof (ac__type_new_))
22454 rm -f conftest.
$ac_objext
22455 if { (ac_try
="$ac_compile"
22456 case "(($ac_try" in
22457 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_compile") 2>conftest.er1
22463 grep -v '^ *+' conftest.er1 >conftest.err
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } && {
22468 test -z "$ac_c_werror_flag" ||
22469 test ! -s conftest.err
22470 } && test -s conftest.$ac_objext; then
22471 ac_cv_type_struct_sockaddr_storage=yes
22473 echo "$as_me: failed program was:" >&5
22474 sed 's/^/| /' conftest.$ac_ext >&5
22476 ac_cv_type_struct_sockaddr_storage=no
22479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22481 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
22482 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; }
22483 if test $ac_cv_type_struct_sockaddr_storage = yes; then
22485 cat >>confdefs.h <<_ACEOF
22486 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
22490 rb_have_sockaddr_storage=yes
22497 { echo "$as_me:$LINENO: checking for library containing crypt" >&5
22498 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; }
22499 if test "${ac_cv_search_crypt+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 ac_func_search_save_LIBS=$LIBS
22503 cat >conftest.$ac_ext <<_ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22510 /* Override any GCC internal prototype to avoid an error.
22511 Use char because int might match the return type of a GCC
22512 builtin and then its argument prototype would still apply. */
22525 for ac_lib in '' crypt descrypt; do
22526 if test -z "$ac_lib"; then
22527 ac_res="none required"
22530 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22532 rm -f conftest.$ac_objext conftest$ac_exeext
22533 if { (ac_try="$ac_link"
22534 case "(($ac_try" in
22535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22536 *) ac_try_echo
=$ac_try;;
22538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22539 (eval "$ac_link") 2>conftest.er1
22541 grep -v '^ *+' conftest.er1
>conftest.err
22543 cat conftest.err
>&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); } && {
22546 test -z "$ac_c_werror_flag" ||
22547 test ! -s conftest.err
22548 } && test -s conftest
$ac_exeext &&
22549 $as_test_x conftest
$ac_exeext; then
22550 ac_cv_search_crypt
=$ac_res
22552 echo "$as_me: failed program was:" >&5
22553 sed 's/^/| /' conftest.
$ac_ext >&5
22558 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22560 if test "${ac_cv_search_crypt+set}" = set; then
22564 if test "${ac_cv_search_crypt+set}" = set; then
22567 ac_cv_search_crypt
=no
22569 rm conftest.
$ac_ext
22570 LIBS
=$ac_func_search_save_LIBS
22572 { echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
22573 echo "${ECHO_T}$ac_cv_search_crypt" >&6; }
22574 ac_res
=$ac_cv_search_crypt
22575 if test "$ac_res" != no
; then
22576 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22582 CRYPT_LIB
=$ac_cv_search_crypt
22584 if test "$CRYPT_LIB" = "none required"; then
22586 elif test "$CRYPT_LIB" = no
; then
22589 cat >>confdefs.h
<<\_ACEOF
22590 #define NEED_CRYPT 1
22596 if test x
"$need_crypt" = "xyes"; then
22598 NEED_CRYPT_FALSE
='#'
22600 NEED_CRYPT_TRUE
='#'
22608 if test "${ac_cv_header_stdarg_h+set}" = set; then
22609 { echo "$as_me:$LINENO: checking for stdarg.h" >&5
22610 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; }
22611 if test "${ac_cv_header_stdarg_h+set}" = set; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22614 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
22615 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; }
22617 # Is the header compilable?
22618 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5
22619 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; }
22620 cat >conftest.
$ac_ext <<_ACEOF
22623 cat confdefs.h
>>conftest.
$ac_ext
22624 cat >>conftest.
$ac_ext <<_ACEOF
22625 /* end confdefs.h. */
22626 $ac_includes_default
22627 #include <stdarg.h>
22629 rm -f conftest.
$ac_objext
22630 if { (ac_try
="$ac_compile"
22631 case "(($ac_try" in
22632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22633 *) ac_try_echo=$ac_try;;
22635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22636 (eval "$ac_compile") 2>conftest.er1
22638 grep -v '^ *+' conftest.er1 >conftest.err
22640 cat conftest.err >&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); } && {
22643 test -z "$ac_c_werror_flag" ||
22644 test ! -s conftest.err
22645 } && test -s conftest.$ac_objext; then
22646 ac_header_compiler=yes
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22651 ac_header_compiler=no
22654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22655 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22656 echo "${ECHO_T}$ac_header_compiler" >&6; }
22658 # Is the header present?
22659 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5
22660 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; }
22661 cat >conftest.$ac_ext <<_ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 #include <stdarg.h>
22669 if { (ac_try="$ac_cpp conftest.$ac_ext"
22670 case "(($ac_try" in
22671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22672 *) ac_try_echo
=$ac_try;;
22674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22677 grep -v '^ *+' conftest.er1
>conftest.err
22679 cat conftest.err
>&5
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); } >/dev
/null
&& {
22682 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22683 test ! -s conftest.err
22685 ac_header_preproc
=yes
22687 echo "$as_me: failed program was:" >&5
22688 sed 's/^/| /' conftest.
$ac_ext >&5
22690 ac_header_preproc
=no
22693 rm -f conftest.err conftest.
$ac_ext
22694 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22695 echo "${ECHO_T}$ac_header_preproc" >&6; }
22697 # So? What about this header?
22698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22700 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5
22701 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22702 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5
22703 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;}
22704 ac_header_preproc
=yes
22707 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5
22708 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;}
22709 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5
22710 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;}
22711 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5
22712 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;}
22713 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5
22714 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;}
22715 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5
22716 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;}
22717 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5
22718 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;}
22722 { echo "$as_me:$LINENO: checking for stdarg.h" >&5
22723 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; }
22724 if test "${ac_cv_header_stdarg_h+set}" = set; then
22725 echo $ECHO_N "(cached) $ECHO_C" >&6
22727 ac_cv_header_stdarg_h
=$ac_header_preproc
22729 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
22730 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; }
22733 if test $ac_cv_header_stdarg_h = yes; then
22736 { { echo "$as_me:$LINENO: error: ** stdarg.h could not be found - libratbox will not compile without it **" >&5
22737 echo "$as_me: error: ** stdarg.h could not be found - libratbox will not compile without it **" >&2;}
22738 { (exit 1); exit 1; }; }
22743 { echo "$as_me:$LINENO: checking for sa_family_t" >&5
22744 echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; }
22745 if test "${ac_cv_type_sa_family_t+set}" = set; then
22746 echo $ECHO_N "(cached) $ECHO_C" >&6
22748 cat >conftest.
$ac_ext <<_ACEOF
22751 cat confdefs.h
>>conftest.
$ac_ext
22752 cat >>conftest.
$ac_ext <<_ACEOF
22753 /* end confdefs.h. */
22754 #include <sys/types.h>
22755 #include <sys/socket.h>
22757 typedef sa_family_t ac__type_new_;
22761 if ((ac__type_new_ *) 0)
22763 if (sizeof (ac__type_new_))
22769 rm -f conftest.
$ac_objext
22770 if { (ac_try
="$ac_compile"
22771 case "(($ac_try" in
22772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_compile") 2>conftest.er1
22778 grep -v '^ *+' conftest.er1 >conftest.err
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } && {
22783 test -z "$ac_c_werror_flag" ||
22784 test ! -s conftest.err
22785 } && test -s conftest.$ac_objext; then
22786 ac_cv_type_sa_family_t=yes
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.$ac_ext >&5
22791 ac_cv_type_sa_family_t=no
22794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 { echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
22797 echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6; }
22798 if test $ac_cv_type_sa_family_t = yes; then
22802 cat >>confdefs.h <<\_ACEOF
22803 #define sa_family_t u_int16_t
22831 for ac_func in socketpair gettimeofday writev sendmsg gmtime_r strtok_r usleep posix_spawn strlcpy strlcat strnlen fstat signalfd select poll kevent port_create epoll_ctl arc4random getrusage timerfd_create
22833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22834 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22836 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22837 echo $ECHO_N "(cached) $ECHO_C" >&6
22839 cat >conftest.$ac_ext <<_ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22847 #define $ac_func innocuous_$ac_func
22849 /* System header to define __stub macros and hopefully few prototypes,
22850 which can conflict with char $ac_func (); below.
22851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22852 <limits.h> exists even on freestanding compilers. */
22855 # include <limits.h>
22857 # include <assert.h>
22862 /* Override any GCC internal prototype to avoid an error.
22863 Use char because int might match the return type of a GCC
22864 builtin and then its argument prototype would still apply. */
22869 /* The GNU C library defines this for functions which it implements
22870 to always fail with ENOSYS. Some functions are actually named
22871 something starting with __ and the normal name is an alias. */
22872 #if defined __stub_$ac_func || defined __stub___$ac_func
22879 return $ac_func ();
22884 rm -f conftest.$ac_objext conftest$ac_exeext
22885 if { (ac_try="$ac_link"
22886 case "(($ac_try" in
22887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22888 *) ac_try_echo
=$ac_try;;
22890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22891 (eval "$ac_link") 2>conftest.er1
22893 grep -v '^ *+' conftest.er1
>conftest.err
22895 cat conftest.err
>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } && {
22898 test -z "$ac_c_werror_flag" ||
22899 test ! -s conftest.err
22900 } && test -s conftest
$ac_exeext &&
22901 $as_test_x conftest
$ac_exeext; then
22902 eval "$as_ac_var=yes"
22904 echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.
$ac_ext >&5
22907 eval "$as_ac_var=no"
22910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22911 conftest
$ac_exeext conftest.
$ac_ext
22913 ac_res
=`eval echo '${'$as_ac_var'}'`
22914 { echo "$as_me:$LINENO: result: $ac_res" >&5
22915 echo "${ECHO_T}$ac_res" >&6; }
22916 if test `eval echo '${'$as_ac_var'}'` = yes; then
22917 cat >>confdefs.h
<<_ACEOF
22918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22925 { echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
22926 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; }
22927 if test "${ac_cv_search_nanosleep+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22930 ac_func_search_save_LIBS
=$LIBS
22931 cat >conftest.
$ac_ext <<_ACEOF
22934 cat confdefs.h
>>conftest.
$ac_ext
22935 cat >>conftest.
$ac_ext <<_ACEOF
22936 /* end confdefs.h. */
22938 /* Override any GCC internal prototype to avoid an error.
22939 Use char because int might match the return type of a GCC
22940 builtin and then its argument prototype would still apply. */
22948 return nanosleep ();
22953 for ac_lib
in '' rt posix4
; do
22954 if test -z "$ac_lib"; then
22955 ac_res
="none required"
22958 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22960 rm -f conftest.
$ac_objext conftest
$ac_exeext
22961 if { (ac_try
="$ac_link"
22962 case "(($ac_try" in
22963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22964 *) ac_try_echo=$ac_try;;
22966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22967 (eval "$ac_link") 2>conftest.er1
22969 grep -v '^ *+' conftest.er1 >conftest.err
22971 cat conftest.err >&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); } && {
22974 test -z "$ac_c_werror_flag" ||
22975 test ! -s conftest.err
22976 } && test -s conftest$ac_exeext &&
22977 $as_test_x conftest$ac_exeext; then
22978 ac_cv_search_nanosleep=$ac_res
22980 echo "$as_me: failed program was:" >&5
22981 sed 's/^/| /' conftest.$ac_ext >&5
22986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22988 if test "${ac_cv_search_nanosleep+set}" = set; then
22992 if test "${ac_cv_search_nanosleep+set}" = set; then
22995 ac_cv_search_nanosleep=no
22997 rm conftest.$ac_ext
22998 LIBS=$ac_func_search_save_LIBS
23000 { echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
23001 echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; }
23002 ac_res=$ac_cv_search_nanosleep
23003 if test "$ac_res" != no; then
23004 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23006 cat >>confdefs.h <<\_ACEOF
23007 #define HAVE_NANOSLEEP 1
23012 { echo "$as_me:$LINENO: checking for library containing timer_create" >&5
23013 echo $ECHO_N "checking for library containing timer_create... $ECHO_C" >&6; }
23014 if test "${ac_cv_search_timer_create+set}" = set; then
23015 echo $ECHO_N "(cached) $ECHO_C" >&6
23017 ac_func_search_save_LIBS=$LIBS
23018 cat >conftest.$ac_ext <<_ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23025 /* Override any GCC internal prototype to avoid an error.
23026 Use char because int might match the return type of a GCC
23027 builtin and then its argument prototype would still apply. */
23031 char timer_create ();
23035 return timer_create ();
23040 for ac_lib in '' rt; do
23041 if test -z "$ac_lib"; then
23042 ac_res="none required"
23045 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23047 rm -f conftest.$ac_objext conftest$ac_exeext
23048 if { (ac_try="$ac_link"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23051 *) ac_try_echo
=$ac_try;;
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_link") 2>conftest.er1
23056 grep -v '^ *+' conftest.er1
>conftest.err
23058 cat conftest.err
>&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } && {
23061 test -z "$ac_c_werror_flag" ||
23062 test ! -s conftest.err
23063 } && test -s conftest
$ac_exeext &&
23064 $as_test_x conftest
$ac_exeext; then
23065 ac_cv_search_timer_create
=$ac_res
23067 echo "$as_me: failed program was:" >&5
23068 sed 's/^/| /' conftest.
$ac_ext >&5
23073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23075 if test "${ac_cv_search_timer_create+set}" = set; then
23079 if test "${ac_cv_search_timer_create+set}" = set; then
23082 ac_cv_search_timer_create
=no
23084 rm conftest.
$ac_ext
23085 LIBS
=$ac_func_search_save_LIBS
23087 { echo "$as_me:$LINENO: result: $ac_cv_search_timer_create" >&5
23088 echo "${ECHO_T}$ac_cv_search_timer_create" >&6; }
23089 ac_res
=$ac_cv_search_timer_create
23090 if test "$ac_res" != no
; then
23091 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23093 cat >>confdefs.h
<<\_ACEOF
23094 #define HAVE_TIMER_CREATE 1
23099 { echo "$as_me:$LINENO: checking for a working timer_create(CLOCK_REALTIME)" >&5
23100 echo $ECHO_N "checking for a working timer_create(CLOCK_REALTIME)... $ECHO_C" >&6; }
23101 if test "${rb__cv_timer_create_works+set}" = set; then
23102 echo $ECHO_N "(cached) $ECHO_C" >&6
23104 if test "$cross_compiling" = yes; then
23105 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
23106 See \`config.log' for more details." >&5
23107 echo "$as_me: error: cannot run test program while cross compiling
23108 See \`config.log' for more details." >&2;}
23109 { (exit 1); exit 1; }; }
23111 cat >conftest.
$ac_ext <<_ACEOF
23114 cat confdefs.h
>>conftest.
$ac_ext
23115 cat >>conftest.
$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23121 #ifdef HAVE_SIGNAL_H
23122 #include <signal.h>
23124 #ifdef HAVE_UNISTD_H
23125 #include <unistd.h>
23127 int main(int argc, char *argv[])
23129 #if HAVE_TIMER_CREATE
23130 struct sigevent ev;
23132 ev.sigev_notify = SIGEV_SIGNAL;
23133 ev.sigev_signo = SIGVTALRM;
23134 if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
23144 rm -f conftest
$ac_exeext
23145 if { (ac_try
="$ac_link"
23146 case "(($ac_try" in
23147 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23148 *) ac_try_echo=$ac_try;;
23150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23151 (eval "$ac_link") 2>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23155 { (case "(($ac_try" in
23156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23157 *) ac_try_echo
=$ac_try;;
23159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23160 (eval "$ac_try") 2>&5
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; }; then
23164 rb__cv_timer_create_works
=yes
23166 echo "$as_me: program exited with status $ac_status" >&5
23167 echo "$as_me: failed program was:" >&5
23168 sed 's/^/| /' conftest.
$ac_ext >&5
23170 ( exit $ac_status )
23171 rb__cv_timer_create_works
=no
23173 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23179 { echo "$as_me:$LINENO: result: $rb__cv_timer_create_works" >&5
23180 echo "${ECHO_T}$rb__cv_timer_create_works" >&6; }
23181 case $rb__cv_timer_create_works in
23183 cat >>confdefs.h
<<\_ACEOF
23184 #define USE_TIMER_CREATE 1
23189 { echo "$as_me:$LINENO: checking for a working timerfd_create(CLOCK_REALTIME)" >&5
23190 echo $ECHO_N "checking for a working timerfd_create(CLOCK_REALTIME)... $ECHO_C" >&6; }
23191 if test "${rb__cv_timerfd_create_works+set}" = set; then
23192 echo $ECHO_N "(cached) $ECHO_C" >&6
23194 if test "$cross_compiling" = yes; then
23195 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
23196 See \`config.log' for more details." >&5
23197 echo "$as_me: error: cannot run test program while cross compiling
23198 See \`config.log' for more details." >&2;}
23199 { (exit 1); exit 1; }; }
23201 cat >conftest.
$ac_ext <<_ACEOF
23204 cat confdefs.h
>>conftest.
$ac_ext
23205 cat >>conftest.
$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23211 #ifdef HAVE_SIGNAL_H
23212 #include <signal.h>
23214 #ifdef HAVE_UNISTD_H
23215 #include <unistd.h>
23217 #ifdef HAVE_SYS_TIMERFD_H
23218 #include <sys/timerfd.h>
23220 int main(int argc, char *argv[])
23222 #if defined(HAVE_TIMERFD_CREATE) && defined(HAVE_SYS_TIMERFD_H)
23223 if (timerfd_create(CLOCK_REALTIME, 0) < 0) {
23233 rm -f conftest
$ac_exeext
23234 if { (ac_try
="$ac_link"
23235 case "(($ac_try" in
23236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23237 *) ac_try_echo=$ac_try;;
23239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23240 (eval "$ac_link") 2>&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23244 { (case "(($ac_try" in
23245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23246 *) ac_try_echo
=$ac_try;;
23248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23249 (eval "$ac_try") 2>&5
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); }; }; then
23253 rb__cv_timerfd_create_works
=yes
23255 echo "$as_me: program exited with status $ac_status" >&5
23256 echo "$as_me: failed program was:" >&5
23257 sed 's/^/| /' conftest.
$ac_ext >&5
23259 ( exit $ac_status )
23260 rb__cv_timerfd_create_works
=no
23262 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23268 { echo "$as_me:$LINENO: result: $rb__cv_timerfd_create_works" >&5
23269 echo "${ECHO_T}$rb__cv_timerfd_create_works" >&6; }
23270 case $rb__cv_timerfd_create_works in
23272 cat >>confdefs.h
<<\_ACEOF
23273 #define USE_TIMERFD_CREATE 1
23279 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
23280 # for constant arguments. Useless!
23281 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
23282 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
23283 if test "${ac_cv_working_alloca_h+set}" = set; then
23284 echo $ECHO_N "(cached) $ECHO_C" >&6
23286 cat >conftest.
$ac_ext <<_ACEOF
23289 cat confdefs.h
>>conftest.
$ac_ext
23290 cat >>conftest.
$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 #include <alloca.h>
23296 char *p = (char *) alloca (2 * sizeof (int));
23302 rm -f conftest.
$ac_objext conftest
$ac_exeext
23303 if { (ac_try
="$ac_link"
23304 case "(($ac_try" in
23305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23306 *) ac_try_echo=$ac_try;;
23308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23309 (eval "$ac_link") 2>conftest.er1
23311 grep -v '^ *+' conftest.er1 >conftest.err
23313 cat conftest.err >&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } && {
23316 test -z "$ac_c_werror_flag" ||
23317 test ! -s conftest.err
23318 } && test -s conftest$ac_exeext &&
23319 $as_test_x conftest$ac_exeext; then
23320 ac_cv_working_alloca_h=yes
23322 echo "$as_me: failed program was:" >&5
23323 sed 's/^/| /' conftest.$ac_ext >&5
23325 ac_cv_working_alloca_h=no
23328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23329 conftest$ac_exeext conftest.$ac_ext
23331 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
23332 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
23333 if test $ac_cv_working_alloca_h = yes; then
23335 cat >>confdefs.h <<\_ACEOF
23336 #define HAVE_ALLOCA_H 1
23341 { echo "$as_me:$LINENO: checking for alloca" >&5
23342 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
23343 if test "${ac_cv_func_alloca_works+set}" = set; then
23344 echo $ECHO_N "(cached) $ECHO_C" >&6
23346 cat >conftest.$ac_ext <<_ACEOF
23349 cat confdefs.h >>conftest.$ac_ext
23350 cat >>conftest.$ac_ext <<_ACEOF
23351 /* end confdefs.h. */
23353 # define alloca __builtin_alloca
23356 # include <malloc.h>
23357 # define alloca _alloca
23359 # ifdef HAVE_ALLOCA_H
23360 # include <alloca.h>
23365 # ifndef alloca /* predefined by HP cc +Olibcalls */
23376 char *p = (char *) alloca (1);
23382 rm -f conftest.$ac_objext conftest$ac_exeext
23383 if { (ac_try="$ac_link"
23384 case "(($ac_try" in
23385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23386 *) ac_try_echo
=$ac_try;;
23388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23389 (eval "$ac_link") 2>conftest.er1
23391 grep -v '^ *+' conftest.er1
>conftest.err
23393 cat conftest.err
>&5
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); } && {
23396 test -z "$ac_c_werror_flag" ||
23397 test ! -s conftest.err
23398 } && test -s conftest
$ac_exeext &&
23399 $as_test_x conftest
$ac_exeext; then
23400 ac_cv_func_alloca_works
=yes
23402 echo "$as_me: failed program was:" >&5
23403 sed 's/^/| /' conftest.
$ac_ext >&5
23405 ac_cv_func_alloca_works
=no
23408 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23409 conftest
$ac_exeext conftest.
$ac_ext
23411 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
23412 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
23414 if test $ac_cv_func_alloca_works = yes; then
23416 cat >>confdefs.h
<<\_ACEOF
23417 #define HAVE_ALLOCA 1
23421 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
23422 # that cause trouble. Some versions do not even contain alloca or
23423 # contain a buggy version. If you still want to use their alloca,
23424 # use ar to extract alloca.o from them instead of compiling alloca.c.
23426 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
23428 cat >>confdefs.h
<<\_ACEOF
23433 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
23434 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
23435 if test "${ac_cv_os_cray+set}" = set; then
23436 echo $ECHO_N "(cached) $ECHO_C" >&6
23438 cat >conftest.
$ac_ext <<_ACEOF
23441 cat confdefs.h
>>conftest.
$ac_ext
23442 cat >>conftest.
$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23444 #if defined CRAY && ! defined CRAY2
23451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23452 $EGREP "webecray" >/dev
/null
2>&1; then
23460 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
23461 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
23462 if test $ac_cv_os_cray = yes; then
23463 for ac_func
in _getb67 GETB67 getb67
; do
23464 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23465 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23467 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23468 echo $ECHO_N "(cached) $ECHO_C" >&6
23470 cat >conftest.
$ac_ext <<_ACEOF
23473 cat confdefs.h
>>conftest.
$ac_ext
23474 cat >>conftest.
$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23478 #define $ac_func innocuous_$ac_func
23480 /* System header to define __stub macros and hopefully few prototypes,
23481 which can conflict with char $ac_func (); below.
23482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23483 <limits.h> exists even on freestanding compilers. */
23486 # include <limits.h>
23488 # include <assert.h>
23493 /* Override any GCC internal prototype to avoid an error.
23494 Use char because int might match the return type of a GCC
23495 builtin and then its argument prototype would still apply. */
23500 /* The GNU C library defines this for functions which it implements
23501 to always fail with ENOSYS. Some functions are actually named
23502 something starting with __ and the normal name is an alias. */
23503 #if defined __stub_$ac_func || defined __stub___$ac_func
23510 return $ac_func ();
23515 rm -f conftest.
$ac_objext conftest
$ac_exeext
23516 if { (ac_try
="$ac_link"
23517 case "(($ac_try" in
23518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_link") 2>conftest.er1
23524 grep -v '^ *+' conftest.er1 >conftest.err
23526 cat conftest.err >&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } && {
23529 test -z "$ac_c_werror_flag" ||
23530 test ! -s conftest.err
23531 } && test -s conftest$ac_exeext &&
23532 $as_test_x conftest$ac_exeext; then
23533 eval "$as_ac_var=yes"
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23538 eval "$as_ac_var=no"
23541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23542 conftest$ac_exeext conftest.$ac_ext
23544 ac_res=`eval echo '${'$as_ac_var'}'`
23545 { echo "$as_me:$LINENO: result: $ac_res" >&5
23546 echo "${ECHO_T}$ac_res" >&6; }
23547 if test `eval echo '${'$as_ac_var'}'` = yes; then
23549 cat >>confdefs.h <<_ACEOF
23550 #define CRAY_STACKSEG_END $ac_func
23559 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
23560 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
23561 if test "${ac_cv_c_stack_direction+set}" = set; then
23562 echo $ECHO_N "(cached) $ECHO_C" >&6
23564 if test "$cross_compiling" = yes; then
23565 ac_cv_c_stack_direction=0
23567 cat >conftest.$ac_ext <<_ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23573 $ac_includes_default
23575 find_stack_direction ()
23577 static char *addr = 0;
23582 return find_stack_direction ();
23585 return (&dummy > addr) ? 1 : -1;
23591 return find_stack_direction () < 0;
23594 rm -f conftest$ac_exeext
23595 if { (ac_try="$ac_link"
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_link") 2>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23605 { (case "(($ac_try" in
23606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23607 *) ac_try_echo=$ac_try;;
23609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23610 (eval "$ac_try") 2>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; }; then
23614 ac_cv_c_stack_direction=1
23616 echo "$as_me: program exited with status $ac_status" >&5
23617 echo "$as_me: failed program was:" >&5
23618 sed 's/^/| /' conftest.$ac_ext >&5
23620 ( exit $ac_status )
23621 ac_cv_c_stack_direction=-1
23623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23628 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
23629 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
23631 cat >>confdefs.h <<_ACEOF
23632 #define STACK_DIRECTION $ac_cv_c_stack_direction
23639 for ac_header in vfork.h
23641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23643 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 ac_res=`eval echo '${'$as_ac_Header'}'`
23649 { echo "$as_me:$LINENO: result: $ac_res" >&5
23650 echo "${ECHO_T}$ac_res" >&6; }
23652 # Is the header compilable?
23653 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23655 cat >conftest.$ac_ext <<_ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23661 $ac_includes_default
23662 #include <$ac_header>
23664 rm -f conftest.$ac_objext
23665 if { (ac_try="$ac_compile"
23666 case "(($ac_try" in
23667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23668 *) ac_try_echo
=$ac_try;;
23670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23671 (eval "$ac_compile") 2>conftest.er1
23673 grep -v '^ *+' conftest.er1
>conftest.err
23675 cat conftest.err
>&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } && {
23678 test -z "$ac_c_werror_flag" ||
23679 test ! -s conftest.err
23680 } && test -s conftest.
$ac_objext; then
23681 ac_header_compiler
=yes
23683 echo "$as_me: failed program was:" >&5
23684 sed 's/^/| /' conftest.
$ac_ext >&5
23686 ac_header_compiler
=no
23689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23690 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23691 echo "${ECHO_T}$ac_header_compiler" >&6; }
23693 # Is the header present?
23694 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23696 cat >conftest.
$ac_ext <<_ACEOF
23699 cat confdefs.h
>>conftest.
$ac_ext
23700 cat >>conftest.
$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 #include <$ac_header>
23704 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23705 case "(($ac_try" in
23706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23707 *) ac_try_echo=$ac_try;;
23709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23712 grep -v '^ *+' conftest.er1 >conftest.err
23714 cat conftest.err >&5
23715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 (exit $ac_status); } >/dev/null && {
23717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23718 test ! -s conftest.err
23720 ac_header_preproc=yes
23722 echo "$as_me: failed program was:" >&5
23723 sed 's/^/| /' conftest.$ac_ext >&5
23725 ac_header_preproc=no
23728 rm -f conftest.err conftest.$ac_ext
23729 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23730 echo "${ECHO_T}$ac_header_preproc" >&6; }
23732 # So? What about this header?
23733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23739 ac_header_preproc=yes
23742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23757 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23762 eval "$as_ac_Header=\$ac_header_preproc"
23764 ac_res=`eval echo '${'$as_ac_Header'}'`
23765 { echo "$as_me:$LINENO: result: $ac_res" >&5
23766 echo "${ECHO_T}$ac_res" >&6; }
23769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23770 cat >>confdefs.h <<_ACEOF
23771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23780 for ac_func in fork vfork
23782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23785 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23788 cat >conftest.$ac_ext <<_ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23796 #define $ac_func innocuous_$ac_func
23798 /* System header to define __stub macros and hopefully few prototypes,
23799 which can conflict with char $ac_func (); below.
23800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23801 <limits.h> exists even on freestanding compilers. */
23804 # include <limits.h>
23806 # include <assert.h>
23811 /* Override any GCC internal prototype to avoid an error.
23812 Use char because int might match the return type of a GCC
23813 builtin and then its argument prototype would still apply. */
23818 /* The GNU C library defines this for functions which it implements
23819 to always fail with ENOSYS. Some functions are actually named
23820 something starting with __ and the normal name is an alias. */
23821 #if defined __stub_$ac_func || defined __stub___$ac_func
23828 return $ac_func ();
23833 rm -f conftest.$ac_objext conftest$ac_exeext
23834 if { (ac_try="$ac_link"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23837 *) ac_try_echo
=$ac_try;;
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_link") 2>conftest.er1
23842 grep -v '^ *+' conftest.er1
>conftest.err
23844 cat conftest.err
>&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); } && {
23847 test -z "$ac_c_werror_flag" ||
23848 test ! -s conftest.err
23849 } && test -s conftest
$ac_exeext &&
23850 $as_test_x conftest
$ac_exeext; then
23851 eval "$as_ac_var=yes"
23853 echo "$as_me: failed program was:" >&5
23854 sed 's/^/| /' conftest.
$ac_ext >&5
23856 eval "$as_ac_var=no"
23859 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23860 conftest
$ac_exeext conftest.
$ac_ext
23862 ac_res
=`eval echo '${'$as_ac_var'}'`
23863 { echo "$as_me:$LINENO: result: $ac_res" >&5
23864 echo "${ECHO_T}$ac_res" >&6; }
23865 if test `eval echo '${'$as_ac_var'}'` = yes; then
23866 cat >>confdefs.h
<<_ACEOF
23867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23873 if test "x$ac_cv_func_fork" = xyes
; then
23874 { echo "$as_me:$LINENO: checking for working fork" >&5
23875 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
23876 if test "${ac_cv_func_fork_works+set}" = set; then
23877 echo $ECHO_N "(cached) $ECHO_C" >&6
23879 if test "$cross_compiling" = yes; then
23880 ac_cv_func_fork_works
=cross
23882 cat >conftest.
$ac_ext <<_ACEOF
23885 cat confdefs.h
>>conftest.
$ac_ext
23886 cat >>conftest.
$ac_ext <<_ACEOF
23887 /* end confdefs.h. */
23888 $ac_includes_default
23893 /* By Ruediger Kuhlmann. */
23894 return fork () < 0;
23900 rm -f conftest
$ac_exeext
23901 if { (ac_try
="$ac_link"
23902 case "(($ac_try" in
23903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23904 *) ac_try_echo=$ac_try;;
23906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23907 (eval "$ac_link") 2>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23911 { (case "(($ac_try" in
23912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23913 *) ac_try_echo
=$ac_try;;
23915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23916 (eval "$ac_try") 2>&5
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 ac_cv_func_fork_works
=yes
23922 echo "$as_me: program exited with status $ac_status" >&5
23923 echo "$as_me: failed program was:" >&5
23924 sed 's/^/| /' conftest.
$ac_ext >&5
23926 ( exit $ac_status )
23927 ac_cv_func_fork_works
=no
23929 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23934 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
23935 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
23938 ac_cv_func_fork_works
=$ac_cv_func_fork
23940 if test "x$ac_cv_func_fork_works" = xcross
; then
23942 *-*-amigaos* | *-*-msdosdjgpp*)
23943 # Override, as these systems have only a dummy fork() stub
23944 ac_cv_func_fork_works
=no
23947 ac_cv_func_fork_works
=yes
23950 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
23951 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
23953 ac_cv_func_vfork_works
=$ac_cv_func_vfork
23954 if test "x$ac_cv_func_vfork" = xyes
; then
23955 { echo "$as_me:$LINENO: checking for working vfork" >&5
23956 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
23957 if test "${ac_cv_func_vfork_works+set}" = set; then
23958 echo $ECHO_N "(cached) $ECHO_C" >&6
23960 if test "$cross_compiling" = yes; then
23961 ac_cv_func_vfork_works
=cross
23963 cat >conftest.
$ac_ext <<_ACEOF
23966 cat confdefs.h
>>conftest.
$ac_ext
23967 cat >>conftest.
$ac_ext <<_ACEOF
23968 /* end confdefs.h. */
23969 /* Thanks to Paul Eggert for this test. */
23970 $ac_includes_default
23971 #include <sys/wait.h>
23972 #ifdef HAVE_VFORK_H
23973 # include <vfork.h>
23975 /* On some sparc systems, changes by the child to local and incoming
23976 argument registers are propagated back to the parent. The compiler
23977 is told about this with #include <vfork.h>, but some compilers
23978 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
23979 static variable whose address is put into a register that is
23980 clobbered by the vfork. */
23983 sparc_address_test (int arg)
23985 sparc_address_test (arg) int arg;
23988 static pid_t child;
24006 pid_t parent = getpid ();
24009 sparc_address_test (0);
24014 /* Here is another test for sparc vfork register problems. This
24015 test uses lots of local variables, at least as many local
24016 variables as main has allocated so far including compiler
24017 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
24018 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
24019 reuse the register of parent for one of the local variables,
24020 since it will think that parent can't possibly be used any more
24021 in this routine. Assigning to the local variable will thus
24022 munge parent in the parent process. */
24024 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
24025 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
24026 /* Convince the compiler that p..p7 are live; otherwise, it might
24027 use the same hardware register for all 8 local variables. */
24028 if (p != p1 || p != p2 || p != p3 || p != p4
24029 || p != p5 || p != p6 || p != p7)
24032 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
24033 from child file descriptors. If the child closes a descriptor
24034 before it execs or exits, this munges the parent's descriptor
24035 as well. Test for this by closing stdout in the child. */
24036 _exit(close(fileno(stdout)) != 0);
24041 while (wait(&status) != child)
24044 /* Was there some problem with vforking? */
24047 /* Did the child fail? (This shouldn't happen.) */
24050 /* Did the vfork/compiler bug occur? */
24051 || parent != getpid()
24053 /* Did the file descriptor bug occur? */
24054 || fstat(fileno(stdout), &st) != 0
24059 rm -f conftest
$ac_exeext
24060 if { (ac_try
="$ac_link"
24061 case "(($ac_try" in
24062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24063 *) ac_try_echo=$ac_try;;
24065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24066 (eval "$ac_link") 2>&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24070 { (case "(($ac_try" in
24071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24072 *) ac_try_echo
=$ac_try;;
24074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24075 (eval "$ac_try") 2>&5
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; }; then
24079 ac_cv_func_vfork_works
=yes
24081 echo "$as_me: program exited with status $ac_status" >&5
24082 echo "$as_me: failed program was:" >&5
24083 sed 's/^/| /' conftest.
$ac_ext >&5
24085 ( exit $ac_status )
24086 ac_cv_func_vfork_works
=no
24088 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24093 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
24094 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
24097 if test "x$ac_cv_func_fork_works" = xcross
; then
24098 ac_cv_func_vfork_works
=$ac_cv_func_vfork
24099 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
24100 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
24103 if test "x$ac_cv_func_vfork_works" = xyes
; then
24105 cat >>confdefs.h
<<\_ACEOF
24106 #define HAVE_WORKING_VFORK 1
24111 cat >>confdefs.h
<<\_ACEOF
24116 if test "x$ac_cv_func_fork_works" = xyes
; then
24118 cat >>confdefs.h
<<\_ACEOF
24119 #define HAVE_WORKING_FORK 1
24126 for ac_header
in stdlib.h unistd.h
24128 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24129 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24130 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24132 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24133 echo $ECHO_N "(cached) $ECHO_C" >&6
24135 ac_res
=`eval echo '${'$as_ac_Header'}'`
24136 { echo "$as_me:$LINENO: result: $ac_res" >&5
24137 echo "${ECHO_T}$ac_res" >&6; }
24139 # Is the header compilable?
24140 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24142 cat >conftest.
$ac_ext <<_ACEOF
24145 cat confdefs.h
>>conftest.
$ac_ext
24146 cat >>conftest.
$ac_ext <<_ACEOF
24147 /* end confdefs.h. */
24148 $ac_includes_default
24149 #include <$ac_header>
24151 rm -f conftest.
$ac_objext
24152 if { (ac_try
="$ac_compile"
24153 case "(($ac_try" in
24154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24155 *) ac_try_echo=$ac_try;;
24157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24158 (eval "$ac_compile") 2>conftest.er1
24160 grep -v '^ *+' conftest.er1 >conftest.err
24162 cat conftest.err >&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); } && {
24165 test -z "$ac_c_werror_flag" ||
24166 test ! -s conftest.err
24167 } && test -s conftest.$ac_objext; then
24168 ac_header_compiler=yes
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.$ac_ext >&5
24173 ac_header_compiler=no
24176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24177 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24178 echo "${ECHO_T}$ac_header_compiler" >&6; }
24180 # Is the header present?
24181 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24183 cat >conftest.$ac_ext <<_ACEOF
24186 cat confdefs.h >>conftest.$ac_ext
24187 cat >>conftest.$ac_ext <<_ACEOF
24188 /* end confdefs.h. */
24189 #include <$ac_header>
24191 if { (ac_try="$ac_cpp conftest.$ac_ext"
24192 case "(($ac_try" in
24193 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24194 *) ac_try_echo
=$ac_try;;
24196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24197 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24199 grep -v '^ *+' conftest.er1
>conftest.err
24201 cat conftest.err
>&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); } >/dev
/null
&& {
24204 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24205 test ! -s conftest.err
24207 ac_header_preproc
=yes
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.
$ac_ext >&5
24212 ac_header_preproc
=no
24215 rm -f conftest.err conftest.
$ac_ext
24216 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24217 echo "${ECHO_T}$ac_header_preproc" >&6; }
24219 # So? What about this header?
24220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24222 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24226 ac_header_preproc
=yes
24229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24233 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24234 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24235 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24236 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24239 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24240 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24246 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24247 echo $ECHO_N "(cached) $ECHO_C" >&6
24249 eval "$as_ac_Header=\$ac_header_preproc"
24251 ac_res
=`eval echo '${'$as_ac_Header'}'`
24252 { echo "$as_me:$LINENO: result: $ac_res" >&5
24253 echo "${ECHO_T}$ac_res" >&6; }
24256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24257 cat >>confdefs.h
<<_ACEOF
24258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24266 for ac_func
in getpagesize
24268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24271 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 cat >conftest.
$ac_ext <<_ACEOF
24277 cat confdefs.h
>>conftest.
$ac_ext
24278 cat >>conftest.
$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24282 #define $ac_func innocuous_$ac_func
24284 /* System header to define __stub macros and hopefully few prototypes,
24285 which can conflict with char $ac_func (); below.
24286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24287 <limits.h> exists even on freestanding compilers. */
24290 # include <limits.h>
24292 # include <assert.h>
24297 /* Override any GCC internal prototype to avoid an error.
24298 Use char because int might match the return type of a GCC
24299 builtin and then its argument prototype would still apply. */
24304 /* The GNU C library defines this for functions which it implements
24305 to always fail with ENOSYS. Some functions are actually named
24306 something starting with __ and the normal name is an alias. */
24307 #if defined __stub_$ac_func || defined __stub___$ac_func
24314 return $ac_func ();
24319 rm -f conftest.
$ac_objext conftest
$ac_exeext
24320 if { (ac_try
="$ac_link"
24321 case "(($ac_try" in
24322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24323 *) ac_try_echo=$ac_try;;
24325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24326 (eval "$ac_link") 2>conftest.er1
24328 grep -v '^ *+' conftest.er1 >conftest.err
24330 cat conftest.err >&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } && {
24333 test -z "$ac_c_werror_flag" ||
24334 test ! -s conftest.err
24335 } && test -s conftest$ac_exeext &&
24336 $as_test_x conftest$ac_exeext; then
24337 eval "$as_ac_var=yes"
24339 echo "$as_me: failed program was:" >&5
24340 sed 's/^/| /' conftest.$ac_ext >&5
24342 eval "$as_ac_var=no"
24345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24346 conftest$ac_exeext conftest.$ac_ext
24348 ac_res=`eval echo '${'$as_ac_var'}'`
24349 { echo "$as_me:$LINENO: result: $ac_res" >&5
24350 echo "${ECHO_T}$ac_res" >&6; }
24351 if test `eval echo '${'$as_ac_var'}'` = yes; then
24352 cat >>confdefs.h <<_ACEOF
24353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24359 { echo "$as_me:$LINENO: checking for working mmap" >&5
24360 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
24361 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 if test "$cross_compiling" = yes; then
24365 ac_cv_func_mmap_fixed_mapped=no
24367 cat >conftest.$ac_ext <<_ACEOF
24370 cat confdefs.h >>conftest.$ac_ext
24371 cat >>conftest.$ac_ext <<_ACEOF
24372 /* end confdefs.h. */
24373 $ac_includes_default
24374 /* malloc might have been renamed as rpl_malloc. */
24377 /* Thanks to Mike Haertel and Jim Avera for this test.
24378 Here is a matrix of mmap possibilities:
24379 mmap private not fixed
24380 mmap private fixed at somewhere currently unmapped
24381 mmap private fixed at somewhere already mapped
24382 mmap shared not fixed
24383 mmap shared fixed at somewhere currently unmapped
24384 mmap shared fixed at somewhere already mapped
24385 For private mappings, we should verify that changes cannot be read()
24386 back from the file, nor mmap's back from the file at a different
24387 address. (There have been systems where private was not correctly
24388 implemented like the infamous i386 svr4.0, and systems where the
24389 VM page cache was not coherent with the file system buffer cache
24390 like early versions of FreeBSD and possibly contemporary NetBSD.)
24391 For shared mappings, we should conversely verify that changes get
24392 propagated back to all the places they're supposed to be.
24394 Grep wants private fixed already mapped.
24395 The main things grep needs to know about mmap are:
24396 * does it exist and is it safe to write into the mmap'd area
24397 * how to use it (BSD variants) */
24400 #include <sys/mman.h>
24402 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
24406 /* This mess was copied from the GNU getpagesize.h. */
24407 #ifndef HAVE_GETPAGESIZE
24408 /* Assume that all systems that can run configure have sys/param.h. */
24409 # ifndef HAVE_SYS_PARAM_H
24410 # define HAVE_SYS_PARAM_H 1
24413 # ifdef _SC_PAGESIZE
24414 # define getpagesize() sysconf(_SC_PAGESIZE)
24415 # else /* no _SC_PAGESIZE */
24416 # ifdef HAVE_SYS_PARAM_H
24417 # include <sys/param.h>
24418 # ifdef EXEC_PAGESIZE
24419 # define getpagesize() EXEC_PAGESIZE
24420 # else /* no EXEC_PAGESIZE */
24422 # define getpagesize() NBPG * CLSIZE
24425 # endif /* no CLSIZE */
24426 # else /* no NBPG */
24428 # define getpagesize() NBPC
24429 # else /* no NBPC */
24431 # define getpagesize() PAGESIZE
24432 # endif /* PAGESIZE */
24433 # endif /* no NBPC */
24434 # endif /* no NBPG */
24435 # endif /* no EXEC_PAGESIZE */
24436 # else /* no HAVE_SYS_PARAM_H */
24437 # define getpagesize() 8192 /* punt totally */
24438 # endif /* no HAVE_SYS_PARAM_H */
24439 # endif /* no _SC_PAGESIZE */
24441 #endif /* no HAVE_GETPAGESIZE */
24446 char *data, *data2, *data3;
24450 pagesize = getpagesize ();
24452 /* First, make a file with some known garbage in it. */
24453 data = (char *) malloc (pagesize);
24456 for (i = 0; i < pagesize; ++i)
24457 *(data + i) = rand ();
24459 fd = creat ("conftest.mmap", 0600);
24462 if (write (fd, data, pagesize) != pagesize)
24466 /* Next, try to mmap the file at a fixed address which already has
24467 something else allocated at it. If we can, also make sure that
24468 we see the same garbage. */
24469 fd = open ("conftest.mmap", O_RDWR);
24472 data2 = (char *) malloc (2 * pagesize);
24475 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
24476 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
24477 MAP_PRIVATE | MAP_FIXED, fd, 0L))
24479 for (i = 0; i < pagesize; ++i)
24480 if (*(data + i) != *(data2 + i))
24483 /* Finally, make sure that changes to the mapped area do not
24484 percolate back to the file as seen by read(). (This is a bug on
24485 some variants of i386 svr4.0.) */
24486 for (i = 0; i < pagesize; ++i)
24487 *(data2 + i) = *(data2 + i) + 1;
24488 data3 = (char *) malloc (pagesize);
24491 if (read (fd, data3, pagesize) != pagesize)
24493 for (i = 0; i < pagesize; ++i)
24494 if (*(data + i) != *(data3 + i))
24500 rm -f conftest$ac_exeext
24501 if { (ac_try="$ac_link"
24502 case "(($ac_try" in
24503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24504 *) ac_try_echo
=$ac_try;;
24506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24507 (eval "$ac_link") 2>&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24511 { (case "(($ac_try" in
24512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24513 *) ac_try_echo=$ac_try;;
24515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24516 (eval "$ac_try") 2>&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); }; }; then
24520 ac_cv_func_mmap_fixed_mapped=yes
24522 echo "$as_me: program exited with status $ac_status" >&5
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24526 ( exit $ac_status )
24527 ac_cv_func_mmap_fixed_mapped=no
24529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24534 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
24535 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
24536 if test $ac_cv_func_mmap_fixed_mapped = yes; then
24538 cat >>confdefs.h <<\_ACEOF
24539 #define HAVE_MMAP 1
24543 rm -f conftest.mmap
24546 { echo "$as_me:$LINENO: checking for /dev/poll" >&5
24547 echo $ECHO_N "checking for /dev/poll... $ECHO_C" >&6; }
24548 if test -c "/dev/poll"; then
24549 { echo "$as_me:$LINENO: result: yes" >&5
24550 echo "${ECHO_T}yes" >&6; }
24552 cat >>confdefs.h <<\_ACEOF
24553 #define HAVE_DEVPOLL 1
24557 { echo "$as_me:$LINENO: result: no" >&5
24558 echo "${ECHO_T}no" >&6; }
24562 if test "$is_mingw" = "yes"; then
24564 cat >>confdefs.h <<\_ACEOF
24565 #define HAVE_WIN32 1
24571 { echo "$as_me:$LINENO: checking for OpenSSL" >&5
24572 echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; }
24573 # Check whether --enable-openssl was given.
24574 if test "${enable_openssl+set}" = set; then
24575 enableval=$enable_openssl; cf_enable_openssl=$enableval
24577 cf_enable_openssl="auto"
24581 if test "$cf_enable_openssl" != "no" ; then
24582 cf_openssl_basedir=""
24583 if test "$cf_enable_openssl" != "auto" &&
24584 test "$cf_enable_openssl" != "yes" ; then
24585 cf_openssl_basedir="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
24587 for dirs in /usr/local/ssl /usr/pkg /usr/local \
24588 /usr/local/openssl ; do
24589 if test -f "${dirs}/include/openssl/opensslv.h" ; then
24590 cf_openssl_basedir="${dirs}"
24596 if test ! -z "$cf_openssl_basedir"; then
24597 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
24598 SSL_CFLAGS="-I${cf_openssl_basedir}/include"
24599 SSL_LIBS="-L${cf_openssl_basedir}/lib"
24601 cf_openssl_basedir=""
24604 if test -f "/usr/include/openssl/opensslv.h" ; then
24605 cf_openssl_basedir="/usr"
24609 if test ! -z "$cf_openssl_basedir"; then
24610 { echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5
24611 echo "${ECHO_T}$cf_openssl_basedir" >&6; }
24612 cf_enable_openssl="yes"
24614 { echo "$as_me:$LINENO: result: not found. Specify a correct path?" >&5
24615 echo "${ECHO_T}not found. Specify a correct path?" >&6; }
24616 cf_enable_openssl="no"
24618 unset cf_openssl_basedir
24620 { echo "$as_me:$LINENO: result: disabled" >&5
24621 echo "${ECHO_T}disabled" >&6; }
24624 save_CPPFLAGS="$CPPFLAGS"
24625 CPPFLAGS="$CPPFLAGS $SSL_CFLAGS"
24627 LIBS="$LIBS $SSL_LIBS"
24628 if test "$cf_enable_openssl" != no; then
24629 { echo "$as_me:$LINENO: checking for OpenSSL 0.9.7 or above" >&5
24630 echo $ECHO_N "checking for OpenSSL 0.9.7 or above... $ECHO_C" >&6; }
24631 if test "$cross_compiling" = yes; then
24632 cf_enable_openssl=no
24634 cat >conftest.$ac_ext <<_ACEOF
24637 cat confdefs.h >>conftest.$ac_ext
24638 cat >>conftest.$ac_ext <<_ACEOF
24639 /* end confdefs.h. */
24640 #include <openssl/opensslv.h>
24641 #include <stdlib.h>
24645 if (OPENSSL_VERSION_NUMBER >= 0x00907000)
24646 exit(0); else exit(1);
24651 rm -f conftest$ac_exeext
24652 if { (ac_try="$ac_link"
24653 case "(($ac_try" in
24654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24655 *) ac_try_echo
=$ac_try;;
24657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24658 (eval "$ac_link") 2>&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24662 { (case "(($ac_try" in
24663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24664 *) ac_try_echo=$ac_try;;
24666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24667 (eval "$ac_try") 2>&5
24669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670 (exit $ac_status); }; }; then
24671 cf_enable_openssl=yes
24673 echo "$as_me: program exited with status $ac_status" >&5
24674 echo "$as_me: failed program was:" >&5
24675 sed 's/^/| /' conftest.$ac_ext >&5
24677 ( exit $ac_status )
24678 cf_enable_openssl=no
24680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24685 if test "$cf_enable_openssl" != no; then
24686 { echo "$as_me:$LINENO: result: found" >&5
24687 echo "${ECHO_T}found" >&6; }
24689 { echo "$as_me:$LINENO: result: no - OpenSSL support disabled" >&5
24690 echo "${ECHO_T}no - OpenSSL support disabled" >&6; }
24696 if test "$cf_enable_openssl" != no; then
24697 CPPFLAGS="$CPPFLAGS $SSL_LIBS"
24698 { echo "$as_me:$LINENO: checking for RAND_status in -lcrypto" >&5
24699 echo $ECHO_N "checking for RAND_status in -lcrypto... $ECHO_C" >&6; }
24700 if test "${ac_cv_lib_crypto_RAND_status+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24703 ac_check_lib_save_LIBS=$LIBS
24704 LIBS="-lcrypto $LIBS"
24705 cat >conftest.$ac_ext <<_ACEOF
24708 cat confdefs.h >>conftest.$ac_ext
24709 cat >>conftest.$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24712 /* Override any GCC internal prototype to avoid an error.
24713 Use char because int might match the return type of a GCC
24714 builtin and then its argument prototype would still apply. */
24718 char RAND_status ();
24722 return RAND_status ();
24727 rm -f conftest.$ac_objext conftest$ac_exeext
24728 if { (ac_try="$ac_link"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24731 *) ac_try_echo
=$ac_try;;
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_link") 2>conftest.er1
24736 grep -v '^ *+' conftest.er1
>conftest.err
24738 cat conftest.err
>&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_c_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest
$ac_exeext &&
24744 $as_test_x conftest
$ac_exeext; then
24745 ac_cv_lib_crypto_RAND_status
=yes
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.
$ac_ext >&5
24750 ac_cv_lib_crypto_RAND_status
=no
24753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24754 conftest
$ac_exeext conftest.
$ac_ext
24755 LIBS
=$ac_check_lib_save_LIBS
24757 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RAND_status" >&5
24758 echo "${ECHO_T}$ac_cv_lib_crypto_RAND_status" >&6; }
24759 if test $ac_cv_lib_crypto_RAND_status = yes; then
24760 cf_enable_openssl
=yes
24762 cf_enable_openssl
=no
24767 if test "$cf_enable_openssl" != no
; then
24768 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
24769 { echo "$as_me:$LINENO: checking for SSL_read in -lssl" >&5
24770 echo $ECHO_N "checking for SSL_read in -lssl... $ECHO_C" >&6; }
24771 if test "${ac_cv_lib_ssl_SSL_read+set}" = set; then
24772 echo $ECHO_N "(cached) $ECHO_C" >&6
24774 ac_check_lib_save_LIBS
=$LIBS
24775 LIBS
="-lssl -lcrypto $LIBS"
24776 cat >conftest.
$ac_ext <<_ACEOF
24779 cat confdefs.h
>>conftest.
$ac_ext
24780 cat >>conftest.
$ac_ext <<_ACEOF
24781 /* end confdefs.h. */
24783 /* Override any GCC internal prototype to avoid an error.
24784 Use char because int might match the return type of a GCC
24785 builtin and then its argument prototype would still apply. */
24793 return SSL_read ();
24798 rm -f conftest.
$ac_objext conftest
$ac_exeext
24799 if { (ac_try
="$ac_link"
24800 case "(($ac_try" in
24801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24802 *) ac_try_echo=$ac_try;;
24804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24805 (eval "$ac_link") 2>conftest.er1
24807 grep -v '^ *+' conftest.er1 >conftest.err
24809 cat conftest.err >&5
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); } && {
24812 test -z "$ac_c_werror_flag" ||
24813 test ! -s conftest.err
24814 } && test -s conftest$ac_exeext &&
24815 $as_test_x conftest$ac_exeext; then
24816 ac_cv_lib_ssl_SSL_read=yes
24818 echo "$as_me: failed program was:" >&5
24819 sed 's/^/| /' conftest.$ac_ext >&5
24821 ac_cv_lib_ssl_SSL_read=no
24824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24825 conftest$ac_exeext conftest.$ac_ext
24826 LIBS=$ac_check_lib_save_LIBS
24828 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_read" >&5
24829 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_read" >&6; }
24830 if test $ac_cv_lib_ssl_SSL_read = yes; then
24831 SSL_LIBS="$SSL_LIBS -lssl -lcrypto"
24833 cf_enable_openssl=no
24840 { echo "$as_me:$LINENO: checking for GnuTLS" >&5
24841 echo $ECHO_N "checking for GnuTLS... $ECHO_C" >&6; }
24842 # Check whether --enable-gnutls was given.
24843 if test "${enable_gnutls+set}" = set; then
24844 enableval=$enable_gnutls; cf_enable_gnutls=$enableval
24846 cf_enable_gnutls="auto"
24850 if test "$cf_enable_gnutls" != no; then
24853 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24854 if test -n "$ac_tool_prefix"; then
24855 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24856 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24859 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24860 echo $ECHO_N "(cached) $ECHO_C" >&6
24862 case $PKG_CONFIG in
24864 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24868 for as_dir in $PATH
24871 test -z "$as_dir" && as_dir=.
24872 for ac_exec_ext in '' $ac_executable_extensions; do
24873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24874 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24885 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24886 if test -n "$PKG_CONFIG"; then
24887 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24888 echo "${ECHO_T}$PKG_CONFIG" >&6; }
24890 { echo "$as_me:$LINENO: result: no" >&5
24891 echo "${ECHO_T}no" >&6; }
24896 if test -z "$ac_cv_path_PKG_CONFIG"; then
24897 ac_pt_PKG_CONFIG=$PKG_CONFIG
24898 # Extract the first word of "pkg-config", so it can be a program name with args.
24899 set dummy pkg-config; ac_word=$2
24900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24902 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
24903 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 case $ac_pt_PKG_CONFIG in
24907 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24911 for as_dir in $PATH
24914 test -z "$as_dir" && as_dir=.
24915 for ac_exec_ext in '' $ac_executable_extensions; do
24916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24917 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24928 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24929 if test -n "$ac_pt_PKG_CONFIG"; then
24930 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
24931 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
24933 { echo "$as_me:$LINENO: result: no" >&5
24934 echo "${ECHO_T}no" >&6; }
24937 if test "x$ac_pt_PKG_CONFIG" = x; then
24940 case $cross_compiling:$ac_tool_warned in
24942 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24943 whose name does not start with the host triplet. If you think this
24944 configuration is useful to you, please write to autoconf@gnu.org." >&5
24945 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24946 whose name does not start with the host triplet. If you think this
24947 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24948 ac_tool_warned=yes ;;
24950 PKG_CONFIG=$ac_pt_PKG_CONFIG
24953 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24957 if test -n "$PKG_CONFIG"; then
24958 _pkg_min_version=0.9.0
24959 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
24960 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
24961 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24962 { echo "$as_me:$LINENO: result: yes" >&5
24963 echo "${ECHO_T}yes" >&6; }
24965 { echo "$as_me:$LINENO: result: no" >&5
24966 echo "${ECHO_T}no" >&6; }
24973 { echo "$as_me:$LINENO: checking for GNUTLS" >&5
24974 echo $ECHO_N "checking for GNUTLS... $ECHO_C" >&6; }
24976 if test -n "$PKG_CONFIG"; then
24977 if test -n "$GNUTLS_CFLAGS"; then
24978 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS"
24980 if test -n "$PKG_CONFIG" && \
24981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnutls\"") >&5
24982 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
24984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985 (exit $ac_status); }; then
24986 pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls" 2>/dev
/null
`
24994 if test -n "$PKG_CONFIG"; then
24995 if test -n "$GNUTLS_LIBS"; then
24996 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS"
24998 if test -n "$PKG_CONFIG" && \
24999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnutls\"") >&5
25000 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; then
25004 pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls" 2>/dev
/null
`
25015 if test $pkg_failed = yes; then
25017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25018 _pkg_short_errors_supported=yes
25020 _pkg_short_errors_supported=no
25022 if test $_pkg_short_errors_supported = yes; then
25023 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnutls"`
25025 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls"`
25027 # Put the nasty error message in config.log where it belongs
25028 echo "$GNUTLS_PKG_ERRORS" >&5
25030 { echo "$as_me:$LINENO: result: no" >&5
25031 echo "${ECHO_T}no" >&6; }
25032 cf_enable_gnutls="no"
25033 elif test $pkg_failed = untried; then
25034 cf_enable_gnutls="no"
25036 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS
25037 GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS
25038 { echo "$as_me:$LINENO: result: yes" >&5
25039 echo "${ECHO_T}yes" >&6; }
25041 cf_enable_gnutls="yes"
25046 if test "$cf_enable_gnutls" = "auto" -a "$cf_enable_openssl" = "yes"; then
25047 cf_enable_gnutls="no"
25050 if test x"$cf_enable_openssl" != xno; then
25052 cat >>confdefs.h <<\_ACEOF
25053 #define HAVE_OPENSSL 1
25059 elif test x"$cf_enable_gnutls" != xno; then
25061 cat >>confdefs.h <<\_ACEOF
25062 #define HAVE_GNUTLS 1
25073 CPPFLAGS="$save_CPPFLAGS"
25081 # Check whether --enable-assert was given.
25082 if test "${enable_assert+set}" = set; then
25083 enableval=$enable_assert; assert=$enableval
25089 if test "$assert" = no; then
25091 cat >>confdefs.h <<\_ACEOF
25095 elif test "$assert" = soft; then
25097 cat >>confdefs.h <<\_ACEOF
25098 #define SOFT_ASSERT 1
25102 cat >>confdefs.h <<\_ACEOF
25106 elif test "$assert" = yes; then
25110 { echo "$as_me:$LINENO: checking if you want to do a profile build" >&5
25111 echo $ECHO_N "checking if you want to do a profile build... $ECHO_C" >&6; }
25112 # Check whether --enable-profile was given.
25113 if test "${enable_profile+set}" = set; then
25114 enableval=$enable_profile; profile=$enableval
25120 if test "$profile" = yes; then
25121 if test "$ac_cv_c_compiler_gnu" = yes; then
25122 CFLAGS="$CFLAGS -pg -static"
25123 { echo "$as_me:$LINENO: result: yes, adding -pg -static" >&5
25124 echo "${ECHO_T}yes, adding -pg -static" >&6; }
25126 cat >>confdefs.h <<\_ACEOF
25127 #define RATBOX_PROFILE 1
25131 { echo "$as_me:$LINENO: result: no, profile builds only work with gcc" >&5
25132 echo "${ECHO_T}no, profile builds only work with gcc" >&6; }
25135 { echo "$as_me:$LINENO: result: no" >&5
25136 echo "${ECHO_T}no" >&6; }
25139 # Check whether --enable-balloc was given.
25140 if test "${enable_balloc+set}" = set; then
25141 enableval=$enable_balloc; balloc=$enableval
25147 if test "$balloc" = no; then
25149 cat >>confdefs.h <<\_ACEOF
25155 # Check whether --enable-warnings was given.
25156 if test "${enable_warnings+set}" = set; then
25157 enableval=$enable_warnings; CFLAGS="$CFLAGS -Wall -Werror -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -W -Wno-unused -Wunused-function -Wunused-variable"
25170 if test "$prefix" = "NONE"; then
25172 cat >>confdefs.h <<_ACEOF
25173 #define RB_PREFIX "$ac_default_prefix"
25180 prefix=`echo $prefix | sed 's/\/$//'`
25182 cat >>confdefs.h <<_ACEOF
25183 #define RB_PREFIX "$prefix"
25191 ac_config_commands="$ac_config_commands include/librb-config.h"
25195 ac_config_files="$ac_config_files src/Makefile Makefile libratbox.pc"
25198 cat >confcache <<\_ACEOF
25199 # This file is a shell script that caches the results of configure
25200 # tests run on this system so they can be shared between configure
25201 # scripts and configure runs, see configure's option --config-cache.
25202 # It is not useful on other systems. If it contains results you don't
25203 # want to keep, you may remove or edit it.
25205 # config.status only pays attention to the cache file if you give it
25206 # the --recheck option to rerun configure.
25208 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25210 # following values.
25214 # The following way of writing the cache mishandles newlines in values,
25215 # but we know of no workaround that is simple, portable, and efficient.
25216 # So, we kill variables containing newlines.
25217 # Ultrix sh set writes to stderr and can't be redirected directly,
25218 # and sets the high bit in the cache file unless we assign to the vars.
25220 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25221 eval ac_val
=\$
$ac_var
25225 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25226 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25229 _
| IFS
| as_nl
) ;; #(
25230 *) $as_unset $ac_var ;;
25236 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25237 *${as_nl}ac_space
=\
*)
25238 # `set' does not quote correctly, so add quotes (double-quote
25239 # substitution turns \\\\ into \\, and sed turns \\ into \).
25242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25245 # `set' quotes correctly as required by POSIX, so do not add quotes.
25246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25255 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25257 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25259 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25260 if test -w "$cache_file"; then
25261 test "x$cache_file" != "x/dev/null" &&
25262 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25263 echo "$as_me: updating cache $cache_file" >&6;}
25264 cat confcache
>$cache_file
25266 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25267 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25272 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25273 # Let make expand exec_prefix.
25274 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25276 DEFS
=-DHAVE_CONFIG_H
25280 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25281 # 1. Remove the extension, and $U if already installed.
25282 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25283 ac_i
=`echo "$ac_i" | sed "$ac_script"`
25284 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25285 # will be set to the directory where LIBOBJS objects are built.
25286 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25287 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25289 LIBOBJS
=$ac_libobjs
25291 LTLIBOBJS
=$ac_ltlibobjs
25294 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25295 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25296 Usually this means the macro was only invoked conditionally." >&5
25297 echo "$as_me: error: conditional \"AMDEP\" was never defined.
25298 Usually this means the macro was only invoked conditionally." >&2;}
25299 { (exit 1); exit 1; }; }
25301 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25302 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25303 Usually this means the macro was only invoked conditionally." >&5
25304 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25305 Usually this means the macro was only invoked conditionally." >&2;}
25306 { (exit 1); exit 1; }; }
25308 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25309 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
25310 Usually this means the macro was only invoked conditionally." >&5
25311 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
25312 Usually this means the macro was only invoked conditionally." >&2;}
25313 { (exit 1); exit 1; }; }
25315 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25316 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25317 Usually this means the macro was only invoked conditionally." >&5
25318 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25319 Usually this means the macro was only invoked conditionally." >&2;}
25320 { (exit 1); exit 1; }; }
25322 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
25323 { { echo "$as_me:$LINENO: error: conditional \"MINGW\" was never defined.
25324 Usually this means the macro was only invoked conditionally." >&5
25325 echo "$as_me: error: conditional \"MINGW\" was never defined.
25326 Usually this means the macro was only invoked conditionally." >&2;}
25327 { (exit 1); exit 1; }; }
25329 if test -z "${NEED_CRYPT_TRUE}" && test -z "${NEED_CRYPT_FALSE}"; then
25330 { { echo "$as_me:$LINENO: error: conditional \"NEED_CRYPT\" was never defined.
25331 Usually this means the macro was only invoked conditionally." >&5
25332 echo "$as_me: error: conditional \"NEED_CRYPT\" was never defined.
25333 Usually this means the macro was only invoked conditionally." >&2;}
25334 { (exit 1); exit 1; }; }
25337 : ${CONFIG_STATUS=./config.status}
25338 ac_clean_files_save
=$ac_clean_files
25339 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25340 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25341 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25342 cat >$CONFIG_STATUS <<_ACEOF
25344 # Generated by $as_me.
25345 # Run this file to recreate the current configuration.
25346 # Compiler output produced by configure, useful for debugging
25347 # configure, is in config.log if it exists.
25350 ac_cs_recheck=false
25352 SHELL=\${CONFIG_SHELL-$SHELL}
25355 cat >>$CONFIG_STATUS <<\_ACEOF
25356 ## --------------------- ##
25357 ## M4sh Initialization. ##
25358 ## --------------------- ##
25360 # Be more Bourne compatible
25361 DUALCASE
=1; export DUALCASE
# for MKS sh
25362 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25365 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25366 # is contrary to our usage. Disable this feature.
25367 alias -g '${1+"$@"}'='"$@"'
25368 setopt NO_GLOB_SUBST
25370 case `(set -o) 2>/dev/null` in
25371 *posix
*) set -o posix
;;
25380 # Avoid depending upon Character Ranges.
25381 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25382 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25383 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25384 as_cr_digits
='0123456789'
25385 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25387 # The user is always right.
25388 if test "${PATH_SEPARATOR+set}" != set; then
25389 echo "#! /bin/sh" >conf$$.sh
25390 echo "exit 0" >>conf$$.sh
25392 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
25400 # Support unset when possible.
25401 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
25409 # We need space, tab and new line, in precisely that order. Quoting is
25410 # there to prevent editors from complaining about space-tab.
25411 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25412 # splitting by setting IFS to empty value.)
25417 # Find who we are. Look in the path if we contain no directory separator.
25419 *[\\/]* ) as_myself
=$0 ;;
25420 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25421 for as_dir
in $PATH
25424 test -z "$as_dir" && as_dir
=.
25425 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
25431 # We did not find ourselves, most probably we were run as `sh COMMAND'
25432 # in which case we are not to be found in the path.
25433 if test "x$as_myself" = x
; then
25436 if test ! -f "$as_myself"; then
25437 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25438 { (exit 1); exit 1; }
25441 # Work around bugs in pre-3.0 UWIN ksh.
25442 for as_var
in ENV MAIL MAILPATH
25443 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
25451 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25452 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25453 LC_TELEPHONE LC_TIME
25455 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25456 eval $as_var=C
; export $as_var
25458 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
25462 # Required to use basename.
25463 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25464 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25470 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25471 as_basename
=basename
25477 # Name of the executable.
25478 as_me
=`$as_basename -- "$0" ||
25479 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25480 X"$0" : 'X\(//\)$' \| \
25481 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25483 sed '/^.*\/\([^/][^/]*\)\/*$/{
25502 as_lineno_1
=$LINENO
25503 as_lineno_2
=$LINENO
25504 test "x$as_lineno_1" != "x$as_lineno_2" &&
25505 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
25507 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25508 # uniformly replaced by the line number. The first 'sed' inserts a
25509 # line-number line after each line using $LINENO; the second 'sed'
25510 # does the real work. The second script uses 'N' to pair each
25511 # line-number line with the line containing $LINENO, and appends
25512 # trailing '-' during substitution so that $LINENO is not a special
25513 # case at line end.
25514 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25515 # scripts with optimization help from Paolo Bonzini. Blame Lee
25516 # E. McMahon (1931-1989) for sed's syntax. :-)
25528 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25531 ' >$as_me.lineno
&&
25532 chmod +x
"$as_me.lineno" ||
25533 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25534 { (exit 1); exit 1; }; }
25536 # Don't try to exec as it changes $[0], causing all sort of problems
25537 # (the dirname of $[0] is not the place where we might find the
25538 # original and so on. Autoconf is especially sensitive to this).
25539 .
"./$as_me.lineno"
25540 # Exit status is that of the last command.
25545 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25551 ECHO_C
= ECHO_N
= ECHO_T
=
25552 case `echo -n x` in
25554 case `echo 'x\c'` in
25555 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25562 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25563 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25569 rm -f conf$$ conf$$.exe conf$$.
file
25570 if test -d conf$$.dir
; then
25571 rm -f conf$$.dir
/conf$$.
file
25577 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25579 # ... but there are two gotchas:
25580 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25581 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25582 # In both cases, we have to default to `cp -p'.
25583 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
25585 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25590 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25591 rmdir conf$$.dir
2>/dev
/null
25593 if mkdir -p .
2>/dev
/null
; then
25596 test -d .
/-p && rmdir .
/-p
25600 if test -x / >/dev
/null
2>&1; then
25601 as_test_x
='test -x'
25603 if ls -dL / >/dev
/null
2>&1; then
25610 if test -d "$1"; then
25616 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25617 ???[sx]*):;;*)false;;esac;fi
25621 as_executable_p
=$as_test_x
25623 # Sed expression to map a string onto a valid CPP name.
25624 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25626 # Sed expression to map a string onto a valid variable name.
25627 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25632 # Save the log message, to keep $[0] and so on meaningful, and to
25633 # report actual input values of CONFIG_FILES etc. instead of their
25634 # values after options handling.
25636 This file was extended by libratbox $as_me devel, which was
25637 generated by GNU Autoconf 2.61. Invocation command line was
25639 CONFIG_FILES = $CONFIG_FILES
25640 CONFIG_HEADERS = $CONFIG_HEADERS
25641 CONFIG_LINKS = $CONFIG_LINKS
25642 CONFIG_COMMANDS = $CONFIG_COMMANDS
25645 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25650 cat >>$CONFIG_STATUS <<_ACEOF
25651 # Files that config.status was made for.
25652 config_files="$ac_config_files"
25653 config_headers="$ac_config_headers"
25654 config_commands="$ac_config_commands"
25658 cat >>$CONFIG_STATUS <<\_ACEOF
25660 \`$as_me' instantiates files from templates according to the
25661 current configuration.
25663 Usage: $0 [OPTIONS] [FILE]...
25665 -h, --help print this help, then exit
25666 -V, --version print version number and configuration settings, then exit
25667 -q, --quiet do not print progress messages
25668 -d, --debug don't remove temporary files
25669 --recheck update $as_me by reconfiguring in the same conditions
25670 --file=FILE[:TEMPLATE]
25671 instantiate the configuration file FILE
25672 --header=FILE[:TEMPLATE]
25673 instantiate the configuration header FILE
25675 Configuration files:
25678 Configuration headers:
25681 Configuration commands:
25684 Report bugs to <bug-autoconf@gnu.org>."
25687 cat >>$CONFIG_STATUS <<_ACEOF
25689 libratbox config.status devel
25690 configured by $0, generated by GNU Autoconf 2.61,
25691 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25693 Copyright (C) 2006 Free Software Foundation, Inc.
25694 This config.status script is free software; the Free Software Foundation
25695 gives unlimited permission to copy, distribute and modify it."
25703 cat >>$CONFIG_STATUS <<\_ACEOF
25704 # If no file are specified by the user, then we need to provide default
25705 # value. By we need to know if files were specified by the user.
25711 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25712 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25723 # Handling of the options.
25724 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25726 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25727 echo "$ac_cs_version"; exit ;;
25728 --debug | --debu | --deb | --de | --d | -d )
25730 --file | --fil | --fi | --f )
25732 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
25733 ac_need_defaults
=false
;;
25734 --header | --heade | --head | --hea )
25736 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
25737 ac_need_defaults
=false
;;
25739 # Conflict between --help and --header
25740 { echo "$as_me: error: ambiguous option: $1
25741 Try \`$0 --help' for more information." >&2
25742 { (exit 1); exit 1; }; };;
25743 --help | --hel | -h )
25744 echo "$ac_cs_usage"; exit ;;
25745 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25746 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25749 # This is an error.
25750 -*) { echo "$as_me: error: unrecognized option: $1
25751 Try \`$0 --help' for more information." >&2
25752 { (exit 1); exit 1; }; } ;;
25754 *) ac_config_targets
="$ac_config_targets $1"
25755 ac_need_defaults
=false
;;
25761 ac_configure_extra_args
=
25763 if $ac_cs_silent; then
25765 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25769 cat >>$CONFIG_STATUS <<_ACEOF
25770 if \$ac_cs_recheck; then
25771 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25772 CONFIG_SHELL=$SHELL
25773 export CONFIG_SHELL
25774 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25778 cat >>$CONFIG_STATUS <<\_ACEOF
25782 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25783 ## Running $as_me. ##
25789 cat >>$CONFIG_STATUS <<_ACEOF
25793 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25795 if test x$ac_cv_header_stdc = xyes; then
25798 if test x$ac_cv_header_stdlib_h = xyes; then
25799 rb_header_stdlib_h=yes
25801 if test x$ac_cv_header_string_h = xyes; then
25802 rb_header_string_h=yes
25804 if test x$ac_cv_header_memory_h = xyes; then
25805 rb_header_memory_h=yes
25807 if test "x${ac_cv_working_alloca_h+set}" = xset ; then
25808 rb_alloca_h="$ac_cv_working_alloca_h"
25810 rb_alloc_h="$ac_cv_header_alloca_h"
25812 if test x$ac_cv_member_struct_sockaddr_sa_len = xyes; then
25813 rb_sockaddr_sa_len=yes
25815 if test x$ac_cv_header_sys_socket_h = xyes; then
25816 rb_sys_socket_h=yes
25818 if test x$ac_cv_header_sys_types_h = xyes; then
25821 if test x$ac_cv_header_sys_stat_h = xyes; then
25824 if test x$ac_cv_header_sys_time_h = xyes; then
25827 if test x$ac_cv_header_time = xyes; then
25831 if test x$ac_cv_header_stdint_h = xyes; then
25834 if test x$ac_cv_header_inttypes_h = xyes; then
25837 if test x$ac_cv_header_netinet_in_h = xyes; then
25838 rb_netinet_in_h=yes
25841 if test x$ac_cv_header_crypt_h = xyes; then
25844 if test x$ac_cv_header_errno_h = xyes; then
25847 if test x$ac_cv_header_unistd_h = xyes; then
25850 if test x$ac_cv_header_windows_h = xyes; then
25853 if test x$ac_cv_header_winsock2_h = xyes; then
25857 rb_socklen_t=$rb_socklen_t
25859 if test "x$rb_have_sockaddr_storage" = "xyes"; then
25860 rb_sockaddr_storage="yes"
25862 rb_sockaddr_storage="no"
25865 rb_have_ipv6="$have_v6"
25877 cat >>$CONFIG_STATUS <<\_ACEOF
25879 # Handling of arguments.
25880 for ac_config_target
in $ac_config_targets
25882 case $ac_config_target in
25883 "include/libratbox_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/libratbox_config.h" ;;
25884 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25885 "include/librb-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/librb-config.h" ;;
25886 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
25887 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25888 "libratbox.pc") CONFIG_FILES
="$CONFIG_FILES libratbox.pc" ;;
25890 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25891 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25892 { (exit 1); exit 1; }; };;
25897 # If the user did not use the arguments to specify the items to instantiate,
25898 # then the envvar interface is used. Set only those that are not.
25899 # We use the long form for the default assignment because of an extremely
25900 # bizarre bug on SunOS 4.1.3.
25901 if $ac_need_defaults; then
25902 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25903 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25904 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25907 # Have a temporary directory for convenience. Make it in the build tree
25908 # simply because there is no reason against having it here, and in addition,
25909 # creating and moving files from /tmp can sometimes cause problems.
25910 # Hook for its removal unless debugging.
25911 # Note that there is a small window in which the directory will not be cleaned:
25912 # after its creation but before its name has been assigned to `$tmp'.
25916 trap 'exit_status=$?
25917 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25919 trap '{ (exit 1); exit 1; }' 1 2 13 15
25921 # Create a (secure) tmp directory for tmp files.
25924 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25925 test -n "$tmp" && test -d "$tmp"
25928 tmp
=.
/conf$$
-$RANDOM
25929 (umask 077 && mkdir "$tmp")
25932 echo "$me: cannot create a temporary directory in ." >&2
25933 { (exit 1); exit 1; }
25937 # Set up the sed scripts for CONFIG_FILES section.
25940 # No need to generate the scripts if there are no CONFIG_FILES.
25941 # This happens for instance when ./config.status config.h
25942 if test -n "$CONFIG_FILES"; then
25949 for ac_last_try
in false false false false false
:; do
25950 cat >conf$
$subs.
sed <<_ACEOF
25951 SHELL!$SHELL$ac_delim
25952 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25953 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25954 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25955 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25956 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25957 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25958 exec_prefix!$exec_prefix$ac_delim
25959 prefix!$prefix$ac_delim
25960 program_transform_name!$program_transform_name$ac_delim
25961 bindir!$bindir$ac_delim
25962 sbindir!$sbindir$ac_delim
25963 libexecdir!$libexecdir$ac_delim
25964 datarootdir!$datarootdir$ac_delim
25965 datadir!$datadir$ac_delim
25966 sysconfdir!$sysconfdir$ac_delim
25967 sharedstatedir!$sharedstatedir$ac_delim
25968 localstatedir!$localstatedir$ac_delim
25969 includedir!$includedir$ac_delim
25970 oldincludedir!$oldincludedir$ac_delim
25971 docdir!$docdir$ac_delim
25972 infodir!$infodir$ac_delim
25973 htmldir!$htmldir$ac_delim
25974 dvidir!$dvidir$ac_delim
25975 pdfdir!$pdfdir$ac_delim
25976 psdir!$psdir$ac_delim
25977 libdir!$libdir$ac_delim
25978 localedir!$localedir$ac_delim
25979 mandir!$mandir$ac_delim
25980 DEFS!$DEFS$ac_delim
25981 ECHO_C!$ECHO_C$ac_delim
25982 ECHO_N!$ECHO_N$ac_delim
25983 ECHO_T!$ECHO_T$ac_delim
25984 LIBS!$LIBS$ac_delim
25985 build_alias!$build_alias$ac_delim
25986 host_alias!$host_alias$ac_delim
25987 target_alias!$target_alias$ac_delim
25988 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25989 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25990 INSTALL_DATA!$INSTALL_DATA$ac_delim
25991 am__isrc!$am__isrc$ac_delim
25992 CYGPATH_W!$CYGPATH_W$ac_delim
25993 PACKAGE!$PACKAGE$ac_delim
25994 VERSION!$VERSION$ac_delim
25995 ACLOCAL!$ACLOCAL$ac_delim
25996 AUTOCONF!$AUTOCONF$ac_delim
25997 AUTOMAKE!$AUTOMAKE$ac_delim
25998 AUTOHEADER!$AUTOHEADER$ac_delim
25999 MAKEINFO!$MAKEINFO$ac_delim
26000 install_sh!$install_sh$ac_delim
26001 STRIP!$STRIP$ac_delim
26002 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26003 mkdir_p!$mkdir_p$ac_delim
26005 SET_MAKE!$SET_MAKE$ac_delim
26006 am__leading_dot!$am__leading_dot$ac_delim
26007 AMTAR!$AMTAR$ac_delim
26008 am__tar!$am__tar$ac_delim
26009 am__untar!$am__untar$ac_delim
26011 CFLAGS!$CFLAGS$ac_delim
26012 LDFLAGS!$LDFLAGS$ac_delim
26013 CPPFLAGS!$CPPFLAGS$ac_delim
26014 ac_ct_CC!$ac_ct_CC$ac_delim
26015 EXEEXT!$EXEEXT$ac_delim
26016 OBJEXT!$OBJEXT$ac_delim
26017 DEPDIR!$DEPDIR$ac_delim
26018 am__include!$am__include$ac_delim
26019 am__quote!$am__quote$ac_delim
26020 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26021 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26022 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26023 CCDEPMODE!$CCDEPMODE$ac_delim
26024 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26025 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26026 GREP!$GREP$ac_delim
26027 EGREP!$EGREP$ac_delim
26029 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
26030 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
26031 MAINT!$MAINT$ac_delim
26037 TOUCH!$TOUCH$ac_delim
26038 build!$build$ac_delim
26039 build_cpu!$build_cpu$ac_delim
26040 build_vendor!$build_vendor$ac_delim
26041 build_os!$build_os$ac_delim
26042 host!$host$ac_delim
26043 host_cpu!$host_cpu$ac_delim
26044 host_vendor!$host_vendor$ac_delim
26045 host_os!$host_os$ac_delim
26046 LN_S!$LN_S$ac_delim
26047 ECHO!$ECHO$ac_delim
26050 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26052 elif $ac_last_try; then
26053 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26054 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26055 { (exit 1); exit 1; }; }
26057 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
26061 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26062 if test -n "$ac_eof"; then
26063 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
26064 ac_eof
=`expr $ac_eof + 1`
26067 cat >>$CONFIG_STATUS <<_ACEOF
26068 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26069 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26072 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26073 s/^/s,@/; s/!/@,|#_!!_#|/
26076 s/'"$ac_delim"'$/,g/; t
26078 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26079 ' >>$CONFIG_STATUS <conf$
$subs.
sed
26080 rm -f conf$
$subs.
sed
26081 cat >>$CONFIG_STATUS <<_ACEOF
26087 for ac_last_try
in false false false false false
:; do
26088 cat >conf$
$subs.
sed <<_ACEOF
26090 RANLIB!$RANLIB$ac_delim
26091 DSYMUTIL!$DSYMUTIL$ac_delim
26092 NMEDIT!$NMEDIT$ac_delim
26095 CXXFLAGS!$CXXFLAGS$ac_delim
26096 ac_ct_CXX!$ac_ct_CXX$ac_delim
26097 CXXDEPMODE!$CXXDEPMODE$ac_delim
26098 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26099 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26100 CXXCPP!$CXXCPP$ac_delim
26102 FFLAGS!$FFLAGS$ac_delim
26103 ac_ct_F77!$ac_ct_F77$ac_delim
26104 LIBTOOL!$LIBTOOL$ac_delim
26105 MINGW_TRUE!$MINGW_TRUE$ac_delim
26106 MINGW_FALSE!$MINGW_FALSE$ac_delim
26107 NEED_CRYPT_TRUE!$NEED_CRYPT_TRUE$ac_delim
26108 NEED_CRYPT_FALSE!$NEED_CRYPT_FALSE$ac_delim
26109 CRYPT_LIB!$CRYPT_LIB$ac_delim
26110 ALLOCA!$ALLOCA$ac_delim
26111 PKG_CONFIG!$PKG_CONFIG$ac_delim
26112 GNUTLS_CFLAGS!$GNUTLS_CFLAGS$ac_delim
26113 GNUTLS_LIBS!$GNUTLS_LIBS$ac_delim
26114 PICFLAGS!$PICFLAGS$ac_delim
26115 SEDOBJ!$SEDOBJ$ac_delim
26116 SSL_CFLAGS!$SSL_CFLAGS$ac_delim
26117 SSL_LIBS!$SSL_LIBS$ac_delim
26118 RB_PREFIX!$RB_PREFIX$ac_delim
26119 LIBOBJS!$LIBOBJS$ac_delim
26120 LTLIBOBJS!$LTLIBOBJS$ac_delim
26123 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
26125 elif $ac_last_try; then
26126 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26127 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26128 { (exit 1); exit 1; }; }
26130 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
26134 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26135 if test -n "$ac_eof"; then
26136 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
26137 ac_eof
=`expr $ac_eof + 1`
26140 cat >>$CONFIG_STATUS <<_ACEOF
26141 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26142 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26145 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26146 s/^/s,@/; s/!/@,|#_!!_#|/
26149 s/'"$ac_delim"'$/,g/; t
26151 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26152 ' >>$CONFIG_STATUS <conf$
$subs.
sed
26153 rm -f conf$
$subs.
sed
26154 cat >>$CONFIG_STATUS <<_ACEOF
26161 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26162 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26163 # trailing colons and then remove the whole line if VPATH becomes empty
26164 # (actually we leave an empty line to preserve line numbers).
26165 if test "x$srcdir" = x.
; then
26166 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
26167 s/:*\$(srcdir):*/:/
26168 s/:*\${srcdir}:*/:/
26170 s/^\([^=]*=[ ]*\):*/\1/
26176 cat >>$CONFIG_STATUS <<\_ACEOF
26177 fi # test -n "$CONFIG_FILES"
26180 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
26183 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26185 case $ac_mode$ac_tag in
26187 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26188 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26189 { (exit 1); exit 1; }; };;
26190 :[FH
]-) ac_tag
=-:-;;
26191 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26208 -) ac_f
="$tmp/stdin";;
26209 *) # Look for the file first in the build tree, then in the source tree
26210 # (if the path is not absolute). The absolute path cannot be DOS-style,
26211 # because $ac_f cannot contain `:'.
26215 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26217 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26218 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26219 { (exit 1); exit 1; }; };;
26221 ac_file_inputs
="$ac_file_inputs $ac_f"
26224 # Let's still pretend it is `configure' which instantiates (i.e., don't
26225 # use $as_me), people would be surprised to read:
26226 # /* config.h. Generated by config.status. */
26227 configure_input
="Generated from "`IFS=:
26228 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26229 if test x
"$ac_file" != x
-; then
26230 configure_input
="$ac_file. $configure_input"
26231 { echo "$as_me:$LINENO: creating $ac_file" >&5
26232 echo "$as_me: creating $ac_file" >&6;}
26236 *:-:* | *:-) cat >"$tmp/stdin";;
26241 ac_dir
=`$as_dirname -- "$ac_file" ||
26242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26243 X"$ac_file" : 'X\(//\)[^/]' \| \
26244 X"$ac_file" : 'X\(//\)$' \| \
26245 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26251 /^X\(\/\/\)[^/].*/{
26266 -*) as_dir
=.
/$as_dir;;
26268 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26272 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26273 *) as_qdir
=$as_dir;;
26275 as_dirs
="'$as_qdir' $as_dirs"
26276 as_dir
=`$as_dirname -- "$as_dir" ||
26277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26278 X"$as_dir" : 'X\(//\)[^/]' \| \
26279 X"$as_dir" : 'X\(//\)$' \| \
26280 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26286 /^X\(\/\/\)[^/].*/{
26299 test -d "$as_dir" && break
26301 test -z "$as_dirs" || eval "mkdir $as_dirs"
26302 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26303 echo "$as_me: error: cannot create directory $as_dir" >&2;}
26304 { (exit 1); exit 1; }; }; }
26308 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26310 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26311 # A ".." for each directory in $ac_dir_suffix.
26312 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
26313 case $ac_top_builddir_sub in
26314 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26315 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26318 ac_abs_top_builddir
=$ac_pwd
26319 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26320 # for backward compatibility:
26321 ac_top_builddir
=$ac_top_build_prefix
26324 .
) # We are building in place.
26326 ac_top_srcdir
=$ac_top_builddir_sub
26327 ac_abs_top_srcdir
=$ac_pwd ;;
26328 [\\/]* | ?
:[\\/]* ) # Absolute name.
26329 ac_srcdir
=$srcdir$ac_dir_suffix;
26330 ac_top_srcdir
=$srcdir
26331 ac_abs_top_srcdir
=$srcdir ;;
26332 *) # Relative name.
26333 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26334 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26335 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26337 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26347 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26348 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26350 ac_MKDIR_P
=$MKDIR_P
26352 [\\/$
]* | ?
:[\\/]* ) ;;
26353 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26357 cat >>$CONFIG_STATUS <<\_ACEOF
26358 # If the template does not know about datarootdir, expand it.
26359 # FIXME: This hack should be removed a few years after 2.60.
26360 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26362 case `sed -n '/datarootdir/ {
26371 ' $ac_file_inputs` in
26372 *datarootdir
*) ac_datarootdir_seen
=yes;;
26373 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
26374 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26375 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26377 cat >>$CONFIG_STATUS <<_ACEOF
26378 ac_datarootdir_hack='
26379 s&@datadir@&$datadir&g
26380 s&@docdir@&$docdir&g
26381 s&@infodir@&$infodir&g
26382 s&@localedir@&$localedir&g
26383 s&@mandir@&$mandir&g
26384 s&\\\${datarootdir}&$datarootdir&g' ;;
26388 # Neutralize VPATH when `$srcdir' = `.'.
26389 # Shell code in configure.ac might set extrasub.
26390 # FIXME: do we really want to maintain this feature?
26391 cat >>$CONFIG_STATUS <<_ACEOF
26395 cat >>$CONFIG_STATUS <<\_ACEOF
26397 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
26398 s
&@configure_input@
&$configure_input&;t t
26399 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26400 s
&@srcdir@
&$ac_srcdir&;t t
26401 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26402 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26403 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26404 s
&@builddir@
&$ac_builddir&;t t
26405 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26406 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26407 s
&@INSTALL@
&$ac_INSTALL&;t t
26408 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26409 $ac_datarootdir_hack
26410 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
26412 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26413 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26414 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26415 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26416 which seems to be undefined. Please make sure it is defined." >&5
26417 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26418 which seems to be undefined. Please make sure it is defined." >&2;}
26422 -) cat "$tmp/out"; rm -f "$tmp/out";;
26423 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
26432 # Transform confdefs.h into a sed script `conftest.defines', that
26433 # substitutes the proper values into config.h.in to produce config.h.
26434 rm -f conftest.defines conftest.
tail
26435 # First, append a space to every undef/define line, to ease matching.
26436 echo 's/$/ /' >conftest.defines
26437 # Then, protect against being on the right side of a sed subst, or in
26438 # an unquoted here document, in config.status. If some macros were
26439 # called several times there might be several #defines for the same
26440 # symbol, which is useless. But do not sort them, since the last
26441 # AC_DEFINE must be honored.
26442 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
26443 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
26444 # NAME is the cpp macro being defined, VALUE is the value it is being given.
26445 # PARAMS is the parameter list in the macro definition--in most cases, it's
26446 # just an empty string.
26447 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
26448 ac_dB
='\\)[ (].*,\\1define\\2'
26456 s/^[ ]*#[ ]*define[ ][ ]*//
26461 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
26462 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
26463 ' >>conftest.defines
26465 # Remove the space that was appended to ease matching.
26466 # Then replace #undef with comments. This is necessary, for
26467 # example, in the case of _POSIX_SOURCE, which is predefined and required
26468 # on some systems where configure will not decide to define it.
26469 # (The regexp can be short, since the line contains either #define or #undef.)
26471 s,^[ #]*u.*,/* & */,' >>conftest.defines
26473 # Break up conftest.defines:
26474 ac_max_sed_lines
=50
26476 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
26477 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
26478 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
26480 ac_in
='$ac_file_inputs'
26481 ac_out
='"$tmp/out1"'
26482 ac_nxt
='"$tmp/out2"'
26486 # Write a here document:
26487 cat >>$CONFIG_STATUS <<_ACEOF
26488 # First, check the format of the line:
26489 cat >"\$tmp/defines.sed" <<\\CEOF
26490 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
26491 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
26495 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
26497 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
26498 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
26499 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
26500 grep . conftest.
tail >/dev
/null
|| break
26501 rm -f conftest.defines
26502 mv conftest.
tail conftest.defines
26504 rm -f conftest.defines conftest.
tail
26506 echo "ac_result=$ac_in" >>$CONFIG_STATUS
26507 cat >>$CONFIG_STATUS <<\_ACEOF
26508 if test x
"$ac_file" != x
-; then
26509 echo "/* $configure_input */" >"$tmp/config.h"
26510 cat "$ac_result" >>"$tmp/config.h"
26511 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
26512 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26513 echo "$as_me: $ac_file is unchanged" >&6;}
26516 mv "$tmp/config.h" $ac_file
26519 echo "/* $configure_input */"
26523 # Compute $ac_file's index in $config_headers.
26526 for _am_header
in $config_headers :; do
26527 case $_am_header in
26528 $_am_arg | $_am_arg:* )
26531 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26534 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26535 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26536 X"$_am_arg" : 'X\(//\)[^/]' \| \
26537 X"$_am_arg" : 'X\(//\)$' \| \
26538 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26544 /^X\(\/\/\)[^/].*/{
26556 s/.*/./; q'`/stamp
-h$_am_stamp_count
26559 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
26560 echo "$as_me: executing $ac_file commands" >&6;}
26565 case $ac_file$ac_mode in
26566 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
26567 # Strip MF so we end up with the name of the file.
26568 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26569 # Check whether this is an Automake generated Makefile or not.
26570 # We used to match only the files named `Makefile.in', but
26571 # some people rename them; so instead we look at the file content.
26572 # Grep'ing the first line is not enough: some people post-process
26573 # each Makefile.in and add a new line on top of each file to say so.
26574 # Grep'ing the whole file is not good either: AIX grep has a line
26575 # limit of 2048, but all sed's we know have understand at least 4000.
26576 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
26577 dirpart
=`$as_dirname -- "$mf" ||
26578 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26579 X"$mf" : 'X\(//\)[^/]' \| \
26580 X"$mf" : 'X\(//\)$' \| \
26581 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26587 /^X\(\/\/\)[^/].*/{
26603 # Extract the definition of DEPDIR, am__include, and am__quote
26604 # from the Makefile without running `make'.
26605 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26606 test -z "$DEPDIR" && continue
26607 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26608 test -z "am__include" && continue
26609 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26610 # When using ansi2knr, U may be empty or an underscore; expand it
26611 U
=`sed -n 's/^U = //p' < "$mf"`
26612 # Find all dependency output files, they are included files with
26613 # $(DEPDIR) in their names. We invoke sed twice because it is the
26614 # simplest approach to changing $(DEPDIR) to its actual value in the
26616 for file in `sed -n "
26617 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26618 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26619 # Make sure the directory exists.
26620 test -f "$dirpart/$file" && continue
26621 fdir
=`$as_dirname -- "$file" ||
26622 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26623 X"$file" : 'X\(//\)[^/]' \| \
26624 X"$file" : 'X\(//\)$' \| \
26625 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26631 /^X\(\/\/\)[^/].*/{
26644 { as_dir
=$dirpart/$fdir
26646 -*) as_dir
=.
/$as_dir;;
26648 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26652 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26653 *) as_qdir
=$as_dir;;
26655 as_dirs
="'$as_qdir' $as_dirs"
26656 as_dir
=`$as_dirname -- "$as_dir" ||
26657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26658 X"$as_dir" : 'X\(//\)[^/]' \| \
26659 X"$as_dir" : 'X\(//\)$' \| \
26660 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26666 /^X\(\/\/\)[^/].*/{
26679 test -d "$as_dir" && break
26681 test -z "$as_dirs" || eval "mkdir $as_dirs"
26682 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26683 echo "$as_me: error: cannot create directory $as_dir" >&2;}
26684 { (exit 1); exit 1; }; }; }
26685 # echo "creating $dirpart/$file"
26686 echo '# dummy' > "$dirpart/$file"
26690 "include/librb-config.h":C
)
26691 outfile
=include
/librb
-config.h.tmp
26692 cat > $outfile <<\_______EOF
26694 * librb
-config.h
: libratbox config
file. Please modify configure.ac
26697 #ifndef __LIBRB_CONFIG_H
26698 #define __LIBRB_CONFIG_H
26702 if test "x$rb_have_ipv6" = "xyes"; then
26703 echo "#define RB_IPV6 1" >> $outfile
26706 if test "x$rb_windows_h" = "xyes"; then
26707 echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile
26708 echo '#include <windows.h>' >> $outfile
26709 echo '#include <winsock2.h>' >> $outfile
26710 echo '#include <iphlpapi.h>' >> $outfile
26713 if test "x$rb_alloca_h" = "xyes"; then
26714 echo '#define RB_HAVE_ALLOCA_H 1' >> $outfile
26717 if test "x$rb_header_stdc" = "xyes"; then
26718 echo '#include <stdlib.h>' >> $outfile
26719 echo '#include <stddef.h>' >> $outfile
26720 elif test "x$rb_header_stdlib" = "xyes"; then
26721 echo '#include <stdlib.h>' >> $outfile
26724 if test "x$rb_header_string_h" = "xyes"; then
26725 echo '#include <string.h>' >> $outfile
26728 if test "x$rb_stdint_h" = "xyes"; then
26729 echo '#include <stdint.h>' >> $outfile
26732 if test "x$rb_inttypes_h" = "xyes"; then
26733 echo '#include <inttypes.h>' >> $outfile
26736 if test "x$rb_sys_types_h" = "xyes"; then
26737 echo '#include <sys/types.h>' >> $outfile
26739 if test "x$rb_sys_time_h" = "xyes"; then
26740 echo '#include <sys/time.h>' >> $outfile
26742 if test "x$rb_sys_stat_h" = "xyes"; then
26743 echo '#include <sys/stat.h>' >> $outfile
26745 if test "x$rb_time_h" = "xyes"; then
26746 echo '#include <time.h>' >> $outfile
26749 if test "x$rb_sys_socket_h" = "xyes"; then
26750 echo '#include <sys/socket.h>' >> $outfile
26753 if test "x$rb_netinet_in_h" = "xyes"; then
26754 echo '#include <netinet/in.h>' >> $outfile
26757 if test "x$rb_arpa_inet_h" = "xyes"; then
26758 echo '#include <arpa/inet.h>' >> $outfile
26761 if test "x$rb_unistd_h" = "xyes"; then
26762 echo '#include <unistd.h>' >> $outfile
26765 if test "x$rb_crypt_h" = "xyes"; then
26766 echo '#include <crypt.h>' >> $outfile
26769 if test "x$rb_errno_h" = "xyes"; then
26770 echo '#include <errno.h>' >> $outfile
26773 echo "typedef $rb_socklen_t rb_socklen_t;" >> $outfile
26776 if test "x$rb_sockaddr_sa_len" = "xyes"; then
26777 echo '#define RB_SOCKADDR_HAS_SA_LEN 1' >> $outfile
26780 if test "x$rb_sockaddr_storage" = "xyes"; then
26781 echo '#define rb_sockaddr_storage sockaddr_storage' >> $outfile
26783 echo 'struct rb_sockaddr_storage { uint8_t _padding[128]; };' >> $outfile
26786 cat >> $outfile <<\_______EOF
26787 #endif /* __LIBRB_CONFIG_H */
26790 if cmp -s $outfile include
/librb
-config.h
; then
26791 { echo "$as_me:$LINENO: include/librb-config.h is unchanged" >&5
26792 echo "$as_me: include/librb-config.h is unchanged" >&6;}
26793 ${rb_rm} -f $outfile
26795 ${rb_mv} $outfile include
/librb
-config.h
26804 { (exit 0); exit 0; }
26806 chmod +x
$CONFIG_STATUS
26807 ac_clean_files
=$ac_clean_files_save
26810 # configure is writing to config.log, and then calls config.status.
26811 # config.status does its own redirection, appending to config.log.
26812 # Unfortunately, on DOS this fails, as config.log is still kept open
26813 # by configure, so config.status won't be able to write to it; its
26814 # output is simply discarded. So we exec the FD to /dev/null,
26815 # effectively closing config.log, so it can be properly (re)opened and
26816 # appended to by config.status. When coming back to configure, we
26817 # need to make the FD available again.
26818 if test "$no_create" != yes; then
26820 ac_config_status_args
=
26821 test "$silent" = yes &&
26822 ac_config_status_args
="$ac_config_status_args --quiet"
26824 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26826 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26827 # would make configure fail if this is the last instruction.
26828 $ac_cs_success || { (exit 1); exit 1; }
26834 echo "Compiling $PACKAGE_NAME $PACKAGE_VERSION"
26837 echo "Installing into: $prefix"
26839 echo "IPv6 support ................... $have_v6"
26840 echo "Assert debugging ............... $assert"
26841 echo "Block allocator ................ $balloc"
26842 echo "SSL Type........................ $SSL_TYPE"