2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libratbox devel.
5 # $Id: configure.ac 23020 2006-09-01 18:20:19Z 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
901 ac_precious_vars
='build_alias
916 ac_subdirs_all
='libltdl'
918 # Initialize some variables set by options.
920 ac_init_version
=false
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
930 program_transform_name
=s
,x
,x
,
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir
='${exec_prefix}/bin'
945 sbindir
='${exec_prefix}/sbin'
946 libexecdir
='${exec_prefix}/libexec'
947 datarootdir
='${prefix}/share'
948 datadir
='${datarootdir}'
949 sysconfdir
='${prefix}/etc'
950 sharedstatedir
='${prefix}/com'
951 localstatedir
='${prefix}/var'
952 includedir
='${prefix}/include'
953 oldincludedir
='/usr/include'
954 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir
='${datarootdir}/info'
960 libdir
='${exec_prefix}/lib'
961 localedir
='${datarootdir}/locale'
962 mandir
='${datarootdir}/man'
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\
$ac_option
976 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
991 -build | --build | --buil | --bui | --bu)
992 ac_prev
=build_alias
;;
993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
994 build_alias
=$ac_optarg ;;
996 -cache-file | --cache-file | --cache-fil | --cache-fi \
997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998 ac_prev
=cache_file
;;
999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001 cache_file
=$ac_optarg ;;
1003 --config-cache | -C)
1004 cache_file
=config.cache
;;
1006 -datadir | --datadir | --datadi | --datad)
1008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1009 datadir
=$ac_optarg ;;
1011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012 | --dataroo | --dataro | --datar)
1013 ac_prev
=datarootdir
;;
1014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016 datarootdir
=$ac_optarg ;;
1018 -disable-* | --disable-*)
1019 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1022 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1025 eval enable_
$ac_feature=no
;;
1027 -docdir | --docdir | --docdi | --doc | --do)
1029 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1030 docdir
=$ac_optarg ;;
1032 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1034 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1035 dvidir
=$ac_optarg ;;
1037 -enable-* | --enable-*)
1038 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1041 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1042 { (exit 1); exit 1; }; }
1043 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1044 eval enable_
$ac_feature=\
$ac_optarg ;;
1046 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1047 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1048 | --exec | --exe | --ex)
1049 ac_prev
=exec_prefix
;;
1050 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1051 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1052 | --exec=* | --exe=* | --ex=*)
1053 exec_prefix
=$ac_optarg ;;
1055 -gas | --gas | --ga | --g)
1056 # Obsolete; use --with-gas.
1059 -help | --help | --hel | --he | -h)
1060 ac_init_help
=long
;;
1061 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1062 ac_init_help
=recursive
;;
1063 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1064 ac_init_help
=short
;;
1066 -host | --host | --hos | --ho)
1067 ac_prev
=host_alias
;;
1068 -host=* | --host=* | --hos=* | --ho=*)
1069 host_alias
=$ac_optarg ;;
1071 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 htmldir
=$ac_optarg ;;
1077 -includedir | --includedir | --includedi | --included | --include \
1078 | --includ | --inclu | --incl | --inc)
1079 ac_prev
=includedir
;;
1080 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1081 | --includ=* | --inclu=* | --incl=* | --inc=*)
1082 includedir
=$ac_optarg ;;
1084 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1087 infodir
=$ac_optarg ;;
1089 -libdir | --libdir | --libdi | --libd)
1091 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1092 libdir
=$ac_optarg ;;
1094 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1095 | --libexe | --libex | --libe)
1096 ac_prev
=libexecdir
;;
1097 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1098 | --libexe=* | --libex=* | --libe=*)
1099 libexecdir
=$ac_optarg ;;
1101 -localedir | --localedir | --localedi | --localed | --locale)
1102 ac_prev
=localedir
;;
1103 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1104 localedir
=$ac_optarg ;;
1106 -localstatedir | --localstatedir | --localstatedi | --localstated \
1107 | --localstate | --localstat | --localsta | --localst | --locals)
1108 ac_prev
=localstatedir
;;
1109 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1110 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1111 localstatedir
=$ac_optarg ;;
1113 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1116 mandir
=$ac_optarg ;;
1118 -nfp | --nfp | --nf)
1119 # Obsolete; use --without-fp.
1122 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1123 | --no-cr | --no-c | -n)
1126 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1127 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1130 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1131 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1132 | --oldin | --oldi | --old | --ol | --o)
1133 ac_prev
=oldincludedir
;;
1134 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1135 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1136 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1137 oldincludedir
=$ac_optarg ;;
1139 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1142 prefix
=$ac_optarg ;;
1144 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1145 | --program-pre | --program-pr | --program-p)
1146 ac_prev
=program_prefix
;;
1147 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1148 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1149 program_prefix
=$ac_optarg ;;
1151 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1152 | --program-suf | --program-su | --program-s)
1153 ac_prev
=program_suffix
;;
1154 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1155 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1156 program_suffix
=$ac_optarg ;;
1158 -program-transform-name | --program-transform-name \
1159 | --program-transform-nam | --program-transform-na \
1160 | --program-transform-n | --program-transform- \
1161 | --program-transform | --program-transfor \
1162 | --program-transfo | --program-transf \
1163 | --program-trans | --program-tran \
1164 | --progr-tra | --program-tr | --program-t)
1165 ac_prev
=program_transform_name
;;
1166 -program-transform-name=* | --program-transform-name=* \
1167 | --program-transform-nam=* | --program-transform-na=* \
1168 | --program-transform-n=* | --program-transform-=* \
1169 | --program-transform=* | --program-transfor=* \
1170 | --program-transfo=* | --program-transf=* \
1171 | --program-trans=* | --program-tran=* \
1172 | --progr-tra=* | --program-tr=* | --program-t=*)
1173 program_transform_name
=$ac_optarg ;;
1175 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1178 pdfdir
=$ac_optarg ;;
1180 -psdir | --psdir | --psdi | --psd | --ps)
1182 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1186 | -silent | --silent | --silen | --sile | --sil)
1189 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 sbindir
=$ac_optarg ;;
1195 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1196 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1197 | --sharedst | --shareds | --shared | --share | --shar \
1199 ac_prev
=sharedstatedir
;;
1200 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1201 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1202 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 sharedstatedir
=$ac_optarg ;;
1206 -site | --site | --sit)
1208 -site=* | --site=* | --sit=*)
1211 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1214 srcdir
=$ac_optarg ;;
1216 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1217 | --syscon | --sysco | --sysc | --sys | --sy)
1218 ac_prev
=sysconfdir
;;
1219 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1220 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1221 sysconfdir
=$ac_optarg ;;
1223 -target | --target | --targe | --targ | --tar | --ta | --t)
1224 ac_prev
=target_alias
;;
1225 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1226 target_alias
=$ac_optarg ;;
1228 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1231 -version | --version | --versio | --versi | --vers | -V)
1232 ac_init_version
=: ;;
1235 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1238 { echo "$as_me: error: invalid package name: $ac_package" >&2
1239 { (exit 1); exit 1; }; }
1240 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1241 eval with_
$ac_package=\
$ac_optarg ;;
1243 -without-* | --without-*)
1244 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1247 { echo "$as_me: error: invalid package name: $ac_package" >&2
1248 { (exit 1); exit 1; }; }
1249 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1250 eval with_
$ac_package=no
;;
1253 # Obsolete; use --with-x.
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev
=x_includes
;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes
=$ac_optarg ;;
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev
=x_libraries
;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries
=$ac_optarg ;;
1270 -*) { echo "$as_me: error: unrecognized option: $ac_option
1271 Try \`$0 --help' for more information." >&2
1272 { (exit 1); exit 1; }; }
1276 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1277 # Reject names that are not valid shell variable names.
1278 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1279 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1280 { (exit 1); exit 1; }; }
1281 eval $ac_envvar=\
$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1295 if test -n "$ac_prev"; then
1296 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1297 { echo "$as_me: error: missing argument to $ac_option" >&2
1298 { (exit 1); exit 1; }; }
1301 # Be sure to have absolute directory names.
1302 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1303 datadir sysconfdir sharedstatedir localstatedir includedir \
1304 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1305 libdir localedir mandir
1307 eval ac_val
=\$
$ac_var
1309 [\\/$
]* | ?
:[\\/]* ) continue;;
1310 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1312 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1313 { (exit 1); exit 1; }; }
1316 # There might be people who depend on the old broken behavior: `$host'
1317 # used to hold the argument of --host etc.
1318 # FIXME: To remove some day.
1321 target
=$target_alias
1323 # FIXME: To remove some day.
1324 if test "x$host_alias" != x
; then
1325 if test "x$build_alias" = x
; then
1326 cross_compiling
=maybe
1327 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1328 If a cross compiler is detected then cross compile mode will be used." >&2
1329 elif test "x$build_alias" != "x$host_alias"; then
1335 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1337 test "$silent" = yes && exec 6>/dev
/null
1340 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1341 ac_ls_di
=`ls -di .` &&
1342 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1343 { echo "$as_me: error: Working directory cannot be determined" >&2
1344 { (exit 1); exit 1; }; }
1345 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1346 { echo "$as_me: error: pwd does not report name of working directory" >&2
1347 { (exit 1); exit 1; }; }
1350 # Find the source files, if location was not specified.
1351 if test -z "$srcdir"; then
1352 ac_srcdir_defaulted
=yes
1353 # Try the directory containing this script, then the parent directory.
1354 ac_confdir
=`$as_dirname -- "$0" ||
1355 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1356 X"$0" : 'X\(//\)[^/]' \| \
1357 X"$0" : 'X\(//\)$' \| \
1358 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1378 if test ! -r "$srcdir/$ac_unique_file"; then
1382 ac_srcdir_defaulted
=no
1384 if test ! -r "$srcdir/$ac_unique_file"; then
1385 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1386 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1387 { (exit 1); exit 1; }; }
1389 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1391 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1392 { (exit 1); exit 1; }; }
1394 # When building in place, set srcdir=.
1395 if test "$ac_abs_confdir" = "$ac_pwd"; then
1398 # Remove unnecessary trailing slashes from srcdir.
1399 # Double slashes in file names in object file debugging info
1400 # mess up M-x gdb in Emacs.
1402 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1404 for ac_var
in $ac_precious_vars; do
1405 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1406 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1407 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1408 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1412 # Report the --help message.
1414 if test "$ac_init_help" = "long"; then
1415 # Omit some internal or obsolete options to make the list less imposing.
1416 # This message is too long to be a string in the A/UX 3.1 sh.
1418 \`configure' configures libratbox devel to adapt to many kinds of systems.
1420 Usage: $0 [OPTION]... [VAR=VALUE]...
1422 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1423 VAR=VALUE. See below for descriptions of some of the useful variables.
1425 Defaults for the options are specified in brackets.
1428 -h, --help display this help and exit
1429 --help=short display options specific to this package
1430 --help=recursive display the short help of all the included packages
1431 -V, --version display version information and exit
1432 -q, --quiet, --silent do not print \`checking...' messages
1433 --cache-file=FILE cache test results in FILE [disabled]
1434 -C, --config-cache alias for \`--cache-file=config.cache'
1435 -n, --no-create do not create output files
1436 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1438 Installation directories:
1439 --prefix=PREFIX install architecture-independent files in PREFIX
1440 [$ac_default_prefix]
1441 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1444 By default, \`make install' will install all the files in
1445 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1446 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1447 for instance \`--prefix=\$HOME'.
1449 For better control, use the options below.
1451 Fine tuning of the installation directories:
1452 --bindir=DIR user executables [EPREFIX/bin]
1453 --sbindir=DIR system admin executables [EPREFIX/sbin]
1454 --libexecdir=DIR program executables [EPREFIX/libexec]
1455 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1456 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1457 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1458 --libdir=DIR object code libraries [EPREFIX/lib]
1459 --includedir=DIR C header files [PREFIX/include]
1460 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1461 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1462 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1463 --infodir=DIR info documentation [DATAROOTDIR/info]
1464 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1465 --mandir=DIR man documentation [DATAROOTDIR/man]
1466 --docdir=DIR documentation root [DATAROOTDIR/doc/libratbox]
1467 --htmldir=DIR html documentation [DOCDIR]
1468 --dvidir=DIR dvi documentation [DOCDIR]
1469 --pdfdir=DIR pdf documentation [DOCDIR]
1470 --psdir=DIR ps documentation [DOCDIR]
1476 --program-prefix=PREFIX prepend PREFIX to installed program names
1477 --program-suffix=SUFFIX append SUFFIX to installed program names
1478 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1481 --build=BUILD configure
for building on BUILD
[guessed
]
1482 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1486 if test -n "$ac_init_help"; then
1487 case $ac_init_help in
1488 short
| recursive
) echo "Configuration of libratbox devel:";;
1493 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1494 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1495 --disable-dependency-tracking speeds up one
-time build
1496 --enable-dependency-tracking do not reject slow dependency extractors
1497 --enable-static[=PKGS
] build static libraries
[default
=no
]
1498 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1499 --enable-maintainer-mode enable make rules and dependencies not useful
1500 (and sometimes confusing
) to the casual installer
1501 --enable-fast-install[=PKGS
]
1502 optimize
for fast installation
[default
=yes]
1503 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1504 --disable-ipv6 Disable IPv6 support
1505 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1506 --disable-openssl Disable OpenSSL support.
1507 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1508 hard
(aborts the daemon
)
1509 --enable-profile Enable profiling
1510 --disable-balloc Disable the block allocator.
1511 --enable-warnings Enable all sorts of warnings
for debugging.
1514 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1515 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1516 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1517 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1519 --with-tags[=TAGS
] include additional configurations
[automatic
]
1521 Some influential environment variables
:
1522 CC C compiler
command
1523 CFLAGS C compiler flags
1524 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1525 nonstandard directory
<lib dir
>
1526 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1527 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1528 you have headers
in a nonstandard directory
<include dir
>
1530 CXX C
++ compiler
command
1531 CXXFLAGS C
++ compiler flags
1532 CXXCPP C
++ preprocessor
1533 F77 Fortran
77 compiler
command
1534 FFLAGS Fortran
77 compiler flags
1536 Use these variables to override the choices made by
`configure' or to help
1537 it to find libraries and programs with nonstandard names/locations.
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1546 test -d "$ac_dir" || continue
1550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1553 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1555 case $ac_top_builddir_sub in
1556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1560 ac_abs_top_builddir=$ac_pwd
1561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir=$ac_top_build_prefix
1566 .) # We are building in place.
1568 ac_top_srcdir=$ac_top_builddir_sub
1569 ac_abs_top_srcdir=$ac_pwd ;;
1570 [\\/]* | ?:[\\/]* ) # Absolute name.
1571 ac_srcdir=$srcdir$ac_dir_suffix;
1572 ac_top_srcdir=$srcdir
1573 ac_abs_top_srcdir=$srcdir ;;
1575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576 ac_top_srcdir=$ac_top_build_prefix$srcdir
1577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581 cd "$ac_dir" || { ac_status=$?; continue; }
1582 # Check for guested configure.
1583 if test -f "$ac_srcdir/configure.gnu"; then
1585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586 elif test -f "$ac_srcdir/configure"; then
1588 $SHELL "$ac_srcdir/configure" --help=recursive
1590 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 cd "$ac_pwd" || { ac_status=$?; break; }
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1599 libratbox configure devel
1600 generated by GNU Autoconf 2.61
1602 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1603 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1604 This configure script is free software; the Free Software Foundation
1605 gives unlimited permission to copy, distribute and modify it.
1607 $Id: configure.ac 23020 2006-09-01 18:20:19Z androsyn $
1611 cat >config.log <<_ACEOF
1612 This file contains any messages produced by compilers while
1613 running configure, to aid debugging if configure makes a mistake.
1615 It was created by libratbox $as_me devel, which was
1616 generated by GNU Autoconf 2.61. Invocation command line was
1628 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1629 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1630 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1631 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1632 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1634 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1635 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1637 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1638 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1639 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1640 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1641 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1642 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1643 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1651 test -z "$as_dir" && as_dir=.
1652 echo "PATH: $as_dir"
1668 # Keep a trace of the command line.
1669 # Strip out --no-create and --no-recursion so they do not pile up.
1670 # Strip out --silent because we don't want to record it for future runs.
1671 # Also quote any args containing shell meta-characters.
1672 # Make two passes to allow for proper duplicate-argument suppression.
1676 ac_must_keep_next=false
1682 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1683 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1684 | -silent | --silent | --silen | --sile | --sil)
1687 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1690 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1692 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1693 if test $ac_must_keep_next = true; then
1694 ac_must_keep_next=false # Got value, back to normal.
1697 *=* | --config-cache | -C | -disable-* | --disable-* \
1698 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1699 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1700 | -with-* | --with-* | -without-* | --without-* | --x)
1701 case "$ac_configure_args0 " in
1702 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1705 -* ) ac_must_keep_next=true ;;
1708 ac_configure_args="$ac_configure_args '$ac_arg'"
1713 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1714 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1716 # When interrupted or exit'd, cleanup temporary files, and complete
1717 # config.log. We remove comments because anyway the quotes in there
1718 # would cause problems or look ugly.
1719 # WARNING: Use '\'' to represent an apostrophe within the trap.
1720 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1721 trap 'exit_status=$?
1722 # Save into config.log some information that might help in debugging.
1727 ## ---------------- ##
1728 ## Cache variables. ##
1729 ## ---------------- ##
1732 # The following way of writing the cache mishandles newlines in values,
1734 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1735 eval ac_val=\$$ac_var
1739 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1740 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1743 _ | IFS | as_nl) ;; #(
1744 *) $as_unset $ac_var ;;
1749 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1750 *${as_nl}ac_space=\ *)
1752 "s/'\''/'\''\\\\'\'''\''/g;
1753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1764 ## ----------------- ##
1765 ## Output variables. ##
1766 ## ----------------- ##
1769 for ac_var in $ac_subst_vars
1771 eval ac_val=\$$ac_var
1773 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1775 echo "$ac_var='\''$ac_val'\''"
1779 if test -n "$ac_subst_files"; then
1781 ## ------------------- ##
1782 ## File substitutions. ##
1783 ## ------------------- ##
1786 for ac_var in $ac_subst_files
1788 eval ac_val=\$$ac_var
1790 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1792 echo "$ac_var='\''$ac_val'\''"
1797 if test -s confdefs.h; then
1807 test "$ac_signal" != 0 &&
1808 echo "$as_me: caught signal $ac_signal"
1809 echo "$as_me: exit $exit_status"
1811 rm -f core *.core core.conftest.* &&
1812 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1815 for ac_signal in 1 2 13 15; do
1816 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1820 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1821 rm -f -r conftest* confdefs.h
1823 # Predefined preprocessor variables.
1825 cat >>confdefs.h <<_ACEOF
1826 #define PACKAGE_NAME "$PACKAGE_NAME"
1830 cat >>confdefs.h <<_ACEOF
1831 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1835 cat >>confdefs.h <<_ACEOF
1836 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1840 cat >>confdefs.h <<_ACEOF
1841 #define PACKAGE_STRING "$PACKAGE_STRING"
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1850 # Let the site file select an alternate cache file if it wants to.
1851 # Prefer explicitly selected file to automatically selected ones.
1852 if test -n "$CONFIG_SITE"; then
1853 set x "$CONFIG_SITE"
1854 elif test "x$prefix" != xNONE; then
1855 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1857 set x "$ac_default_prefix/share/config.site" \
1858 "$ac_default_prefix/etc/config.site"
1863 if test -r "$ac_site_file"; then
1864 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1865 echo "$as_me: loading site script $ac_site_file" >&6;}
1866 sed 's/^/| /' "$ac_site_file" >&5
1871 if test -r "$cache_file"; then
1872 # Some versions of bash will fail to source /dev/null (special
1873 # files actually), so we avoid doing that.
1874 if test -f "$cache_file"; then
1875 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1876 echo "$as_me: loading cache $cache_file" >&6;}
1878 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1879 *) . "./$cache_file";;
1883 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1884 echo "$as_me: creating cache $cache_file" >&6;}
1888 # Check that the precious variables saved in the cache have kept the same
1890 ac_cache_corrupted=false
1891 for ac_var in $ac_precious_vars; do
1892 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1893 eval ac_new_set=\$ac_env_${ac_var}_set
1894 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1895 eval ac_new_val=\$ac_env_${ac_var}_value
1896 case $ac_old_set,$ac_new_set in
1898 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1899 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1900 ac_cache_corrupted=: ;;
1902 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1903 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1904 ac_cache_corrupted=: ;;
1907 if test "x$ac_old_val" != "x$ac_new_val"; then
1908 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1909 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1910 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1911 echo "$as_me: former value
: $ac_old_val" >&2;}
1912 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1913 echo "$as_me: current value
: $ac_new_val" >&2;}
1914 ac_cache_corrupted=:
1917 # Pass precious variables to config.status.
1918 if test "$ac_new_set" = set; then
1920 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1921 *) ac_arg=$ac_var=$ac_new_val ;;
1923 case " $ac_configure_args " in
1924 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1925 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1929 if $ac_cache_corrupted; then
1930 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1931 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1932 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1933 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1934 { (exit 1); exit 1; }; }
1962 ac_cpp='$CPP $CPPFLAGS'
1963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1968 am__api_version='1.10'
1971 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1972 if test -f "$ac_dir/install-sh"; then
1974 ac_install_sh="$ac_aux_dir/install-sh -c"
1976 elif test -f "$ac_dir/install.sh"; then
1978 ac_install_sh="$ac_aux_dir/install.sh -c"
1980 elif test -f "$ac_dir/shtool"; then
1982 ac_install_sh="$ac_aux_dir/shtool install -c"
1986 if test -z "$ac_aux_dir"; then
1987 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1988 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1989 { (exit 1); exit 1; }; }
1992 # These three variables are undocumented and unsupported,
1993 # and are intended to be withdrawn in a future Autoconf release.
1994 # They can cause serious problems if a builder's source tree is in a directory
1995 # whose full name contains unusual characters.
1996 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1997 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1998 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2001 # Find a good install program. We prefer a C program (faster),
2002 # so one script is as good as another. But avoid the broken or
2003 # incompatible versions:
2004 # SysV /etc/install, /usr/sbin/install
2005 # SunOS /usr/etc/install
2006 # IRIX /sbin/install
2008 # AmigaOS /C/install, which installs bootblocks on floppy discs
2009 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2010 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2011 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2012 # OS/2's system install, which has a completely different semantic
2013 # ./install, which can be erroneously created by make from ./install.sh.
2014 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2015 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2016 if test -z "$INSTALL"; then
2017 if test "${ac_cv_path_install+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 test -z "$as_dir" && as_dir=.
2025 # Account for people who put trailing slashes in PATH elements.
2027 ./ | .// | /cC/* | \
2028 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2029 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2032 # OSF1 and SCO ODT 3.0 have their own names for install.
2033 # Don't use installbsd from OSF since it installs stuff as root
2035 for ac_prog in ginstall scoinst install; do
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2038 if test $ac_prog = install &&
2039 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2040 # AIX install. It has an incompatible calling convention.
2042 elif test $ac_prog = install &&
2043 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2044 # program-specific install script used by HP pwplus--don't use.
2047 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2060 if test "${ac_cv_path_install+set}" = set; then
2061 INSTALL=$ac_cv_path_install
2063 # As a last resort, use the slow shell script. Don't cache a
2064 # value for INSTALL within a source directory, because that will
2065 # break other packages using the cache if that directory is
2066 # removed, or if the value is a relative name.
2067 INSTALL=$ac_install_sh
2070 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2071 echo "${ECHO_T}$INSTALL" >&6; }
2073 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2074 # It thinks the first close brace ends the variable substitution.
2075 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2077 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2079 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2081 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2082 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2085 echo timestamp > conftest.file
2086 # Do `set' in a subshell so we don't clobber the current shell
's
2087 # arguments. Must try -L first in case configure is actually a
2088 # symlink; some systems play weird games with the mod time of symlinks
2089 # (eg FreeBSD returns the mod time of the symlink's containing
2092 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2093 if test "$*" = "X"; then
2095 set X
`ls -t $srcdir/configure conftest.file`
2098 if test "$*" != "X $srcdir/configure conftest.file" \
2099 && test "$*" != "X conftest.file $srcdir/configure"; then
2101 # If neither matched, then we have a broken ls. This can happen
2102 # if, for instance, CONFIG_SHELL is bash and it inherits a
2103 # broken ls alias from the environment. This has actually
2104 # happened. Such a system could not be considered "sane".
2105 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2106 alias in your environment" >&5
2107 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2108 alias in your environment" >&2;}
2109 { (exit 1); exit 1; }; }
2112 test "$2" = conftest.
file
2118 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2119 Check your system clock" >&5
2120 echo "$as_me: error: newly created file is older than distributed files!
2121 Check your system clock" >&2;}
2122 { (exit 1); exit 1; }; }
2124 { echo "$as_me:$LINENO: result: yes" >&5
2125 echo "${ECHO_T}yes" >&6; }
2126 test "$program_prefix" != NONE
&&
2127 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2128 # Use a double $ so make ignores it.
2129 test "$program_suffix" != NONE
&&
2130 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2131 # Double any \ or $. echo might interpret backslashes.
2132 # By default was `s,x,x', remove it if useless.
2133 cat <<\_ACEOF
>conftest.
sed
2134 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2136 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2139 # expand $ac_aux_dir to an absolute path
2140 am_aux_dir
=`cd $ac_aux_dir && pwd`
2142 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2143 # Use eval to expand $SHELL
2144 if eval "$MISSING --run true"; then
2145 am_missing_run
="$MISSING --run "
2148 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2149 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2152 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2153 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2154 if test -z "$MKDIR_P"; then
2155 if test "${ac_cv_path_mkdir+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2159 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2162 test -z "$as_dir" && as_dir
=.
2163 for ac_prog
in mkdir gmkdir
; do
2164 for ac_exec_ext
in '' $ac_executable_extensions; do
2165 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2166 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2167 'mkdir (GNU coreutils) '* | \
2168 'mkdir (coreutils) '* | \
2169 'mkdir (fileutils) '4.1*)
2170 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2180 if test "${ac_cv_path_mkdir+set}" = set; then
2181 MKDIR_P
="$ac_cv_path_mkdir -p"
2183 # As a last resort, use the slow shell script. Don't cache a
2184 # value for MKDIR_P within a source directory, because that will
2185 # break other packages using the cache if that directory is
2186 # removed, or if the value is a relative name.
2187 test -d .
/--version && rmdir .
/--version
2188 MKDIR_P
="$ac_install_sh -d"
2191 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2192 echo "${ECHO_T}$MKDIR_P" >&6; }
2196 [\\/$
]* | ?
:[\\/]*) ;;
2197 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2200 for ac_prog
in gawk mawk nawk
awk
2202 # Extract the first word of "$ac_prog", so it can be a program name with args.
2203 set dummy
$ac_prog; ac_word
=$2
2204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2206 if test "${ac_cv_prog_AWK+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 if test -n "$AWK"; then
2210 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir
=.
2217 for ac_exec_ext
in '' $ac_executable_extensions; do
2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2219 ac_cv_prog_AWK
="$ac_prog"
2220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 if test -n "$AWK"; then
2231 { echo "$as_me:$LINENO: result: $AWK" >&5
2232 echo "${ECHO_T}$AWK" >&6; }
2234 { echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6; }
2239 test -n "$AWK" && break
2242 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2243 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2244 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2245 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 cat >conftest.
make <<\_ACEOF
2251 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2253 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2254 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2256 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2258 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2262 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2263 { echo "$as_me:$LINENO: result: yes" >&5
2264 echo "${ECHO_T}yes" >&6; }
2267 { echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6; }
2269 SET_MAKE
="MAKE=${MAKE-make}"
2272 rm -rf .tst
2>/dev
/null
2273 mkdir .tst
2>/dev
/null
2274 if test -d .tst
; then
2279 rmdir .tst
2>/dev
/null
2281 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2282 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2283 # is not polluted with repeated "-I."
2284 am__isrc
=' -I$(srcdir)'
2285 # test to see if srcdir already configured
2286 if test -f $srcdir/config.status
; then
2287 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2288 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2289 { (exit 1); exit 1; }; }
2293 # test whether we have cygpath
2294 if test -z "$CYGPATH_W"; then
2295 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2296 CYGPATH_W
='cygpath -w'
2303 # Define the identity of the package.
2308 # Some tools Automake needs.
2310 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2313 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2316 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2319 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2322 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2324 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2326 # Installed binaries are usually stripped using `strip' when the user
2327 # run `make install-strip'. However `strip' might not be the right
2328 # tool to use in cross-compilation environments, therefore Automake
2329 # will honor the `STRIP' environment variable to overrule this program.
2330 if test "$cross_compiling" != no
; then
2331 if test -n "$ac_tool_prefix"; then
2332 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2333 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_STRIP+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$STRIP"; then
2340 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 STRIP
=$ac_cv_prog_STRIP
2360 if test -n "$STRIP"; then
2361 { echo "$as_me:$LINENO: result: $STRIP" >&5
2362 echo "${ECHO_T}$STRIP" >&6; }
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2370 if test -z "$ac_cv_prog_STRIP"; then
2372 # Extract the first word of "strip", so it can be a program name with args.
2373 set dummy strip
; ac_word
=$2
2374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2376 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 if test -n "$ac_ct_STRIP"; then
2380 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_ac_ct_STRIP
="strip"
2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2400 if test -n "$ac_ct_STRIP"; then
2401 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2402 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2404 { echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6; }
2408 if test "x$ac_ct_STRIP" = x
; then
2411 case $cross_compiling:$ac_tool_warned in
2413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2414 whose name does not start with the host triplet. If you think this
2415 configuration is useful to you, please write to autoconf@gnu.org." >&5
2416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2417 whose name does not start with the host triplet. If you think this
2418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2419 ac_tool_warned
=yes ;;
2424 STRIP
="$ac_cv_prog_STRIP"
2428 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2430 # We need awk for the "check" target. The system "awk" is bad on
2432 # Always define AMTAR for backward compatibility.
2434 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2436 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2443 ac_config_headers
="$ac_config_headers include/libratbox_config.h"
2448 cat >>confdefs.h
<<\_ACEOF
2449 #define _GNU_SOURCE 1
2454 DEPDIR
="${am__leading_dot}deps"
2456 ac_config_commands
="$ac_config_commands depfiles"
2459 am_make
=${MAKE-make}
2460 cat > confinc
<< 'END'
2465 # If we don't find an include directive, just comment out the code.
2466 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2467 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2471 # First try GNU make style include.
2472 echo "include confinc" > confmf
2473 # We grep out `Entering directory' and `Leaving directory'
2474 # messages which can occur if `w' ends up in MAKEFLAGS.
2475 # In particular we don't look at `^make:' because GNU make might
2476 # be invoked under some other name (usually "gmake"), in which
2477 # case it prints its new name instead of `make'.
2478 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2483 # Now try BSD make style include.
2484 if test "$am__include" = "#"; then
2485 echo '.include "confinc"' > confmf
2486 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2487 am__include
=.include
2494 { echo "$as_me:$LINENO: result: $_am_result" >&5
2495 echo "${ECHO_T}$_am_result" >&6; }
2496 rm -f confinc confmf
2498 # Check whether --enable-dependency-tracking was given.
2499 if test "${enable_dependency_tracking+set}" = set; then
2500 enableval
=$enable_dependency_tracking;
2503 if test "x$enable_dependency_tracking" != xno
; then
2504 am_depcomp
="$ac_aux_dir/depcomp"
2507 if test "x$enable_dependency_tracking" != xno; then
2517 ac_cpp
='$CPP $CPPFLAGS'
2518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2521 if test -n "$ac_tool_prefix"; then
2522 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2523 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC
="$CC" # Let the user override the test.
2532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir
=.
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2539 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 if test -n "$CC"; then
2551 { echo "$as_me:$LINENO: result: $CC" >&5
2552 echo "${ECHO_T}$CC" >&6; }
2554 { echo "$as_me:$LINENO: result: no" >&5
2555 echo "${ECHO_T}no" >&6; }
2560 if test -z "$ac_cv_prog_CC"; then
2562 # Extract the first word of "gcc", so it can be a program name with args.
2563 set dummy gcc
; ac_word
=$2
2564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2566 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2567 echo $ECHO_N "(cached) $ECHO_C" >&6
2569 if test -n "$ac_ct_CC"; then
2570 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir
=.
2577 for ac_exec_ext
in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_ac_ct_CC
="gcc"
2580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2590 if test -n "$ac_ct_CC"; then
2591 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2592 echo "${ECHO_T}$ac_ct_CC" >&6; }
2594 { echo "$as_me:$LINENO: result: no" >&5
2595 echo "${ECHO_T}no" >&6; }
2598 if test "x$ac_ct_CC" = x
; then
2601 case $cross_compiling:$ac_tool_warned in
2603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2604 whose name does not start with the host triplet. If you think this
2605 configuration is useful to you, please write to autoconf@gnu.org." >&5
2606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2607 whose name does not start with the host triplet. If you think this
2608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2609 ac_tool_warned
=yes ;;
2617 if test -z "$CC"; then
2618 if test -n "$ac_tool_prefix"; then
2619 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2620 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2623 if test "${ac_cv_prog_CC+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 if test -n "$CC"; then
2627 ac_cv_prog_CC
="$CC" # Let the user override the test.
2629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir
=.
2634 for ac_exec_ext
in '' $ac_executable_extensions; do
2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$CC"; then
2648 { echo "$as_me:$LINENO: result: $CC" >&5
2649 echo "${ECHO_T}$CC" >&6; }
2651 { echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6; }
2658 if test -z "$CC"; then
2659 # Extract the first word of "cc", so it can be a program name with args.
2660 set dummy cc
; ac_word
=$2
2661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2663 if test "${ac_cv_prog_CC+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 if test -n "$CC"; then
2667 ac_cv_prog_CC
="$CC" # Let the user override the test.
2670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir
=.
2675 for ac_exec_ext
in '' $ac_executable_extensions; do
2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2678 ac_prog_rejected
=yes
2682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 if test $ac_prog_rejected = yes; then
2690 # We found a bogon in the path, so make sure we never use it.
2691 set dummy
$ac_cv_prog_CC
2693 if test $# != 0; then
2694 # We chose a different compiler from the bogus one.
2695 # However, it has the same basename, so the bogon will be chosen
2696 # first if we set CC to just the basename; use the full file name.
2698 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2704 if test -n "$CC"; then
2705 { echo "$as_me:$LINENO: result: $CC" >&5
2706 echo "${ECHO_T}$CC" >&6; }
2708 { echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6; }
2714 if test -z "$CC"; then
2715 if test -n "$ac_tool_prefix"; then
2716 for ac_prog
in cl.exe
2718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2719 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2722 if test "${ac_cv_prog_CC+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 if test -n "$CC"; then
2726 ac_cv_prog_CC
="$CC" # Let the user override the test.
2728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir
=.
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 if test -n "$CC"; then
2747 { echo "$as_me:$LINENO: result: $CC" >&5
2748 echo "${ECHO_T}$CC" >&6; }
2750 { echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6; }
2755 test -n "$CC" && break
2758 if test -z "$CC"; then
2760 for ac_prog
in cl.exe
2762 # Extract the first word of "$ac_prog", so it can be a program name with args.
2763 set dummy
$ac_prog; ac_word
=$2
2764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2766 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2767 echo $ECHO_N "(cached) $ECHO_C" >&6
2769 if test -n "$ac_ct_CC"; then
2770 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir
=.
2777 for ac_exec_ext
in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_ac_ct_CC
="$ac_prog"
2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2790 if test -n "$ac_ct_CC"; then
2791 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2792 echo "${ECHO_T}$ac_ct_CC" >&6; }
2794 { echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6; }
2799 test -n "$ac_ct_CC" && break
2802 if test "x$ac_ct_CC" = x
; then
2805 case $cross_compiling:$ac_tool_warned in
2807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2808 whose name does not start with the host triplet. If you think this
2809 configuration is useful to you, please write to autoconf@gnu.org." >&5
2810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2811 whose name does not start with the host triplet. If you think this
2812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2813 ac_tool_warned
=yes ;;
2822 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2823 See \`config.log' for more details." >&5
2824 echo "$as_me: error: no acceptable C compiler found in \$PATH
2825 See \`config.log' for more details." >&2;}
2826 { (exit 1); exit 1; }; }
2828 # Provide some information about the compiler.
2829 echo "$as_me:$LINENO: checking for C compiler version" >&5
2830 ac_compiler
=`set X $ac_compile; echo $2`
2831 { (ac_try
="$ac_compiler --version >&5"
2833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_compiler --version >&5") 2>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }
2841 { (ac_try="$ac_compiler -v >&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 -v >&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); }
2862 cat >conftest.$ac_ext <<_ACEOF
2865 cat confdefs.h >>conftest.$ac_ext
2866 cat >>conftest.$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2877 ac_clean_files_save=$ac_clean_files
2878 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2879 # Try to create an executable without -o first, disregard a.out.
2880 # It will help us diagnose broken compilers, and finding out an intuition
2882 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2883 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2884 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2886 # List of possible output files, starting from the most likely.
2887 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2888 # only as a last resort. b.out is created by i960 compilers.
2889 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2891 # The IRIX 6 linker writes into existing files which may not be
2892 # executable, retaining their permissions. Remove them first so a
2893 # subsequent execution test works.
2895 for ac_file in $ac_files
2898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2899 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2904 if { (ac_try="$ac_link_default"
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910 (eval "$ac_link_default") 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; then
2914 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2915 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2916 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2917 # so that the user can short-circuit this test for compilers unknown to
2919 for ac_file
in $ac_files ''
2921 test -f "$ac_file" || continue
2923 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2926 # We found the default executable, but exeext='' is most
2930 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2932 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2934 # We set ac_cv_exeext here because the later test for it is not
2935 # safe: cross compilers may not add the suffix if given an `-o'
2936 # argument, so we may need to know it at that point already.
2937 # Even if this section looks crufty: it has the advantage of
2944 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2950 { echo "$as_me:$LINENO: result: $ac_file" >&5
2951 echo "${ECHO_T}$ac_file" >&6; }
2952 if test -z "$ac_file"; then
2953 echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.
$ac_ext >&5
2956 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2957 See \`config.log' for more details." >&5
2958 echo "$as_me: error: C compiler cannot create executables
2959 See \`config.log' for more details." >&2;}
2960 { (exit 77); exit 77; }; }
2963 ac_exeext
=$ac_cv_exeext
2965 # Check that the compiler produces executables we can run. If not, either
2966 # the compiler is broken, or we cross compile.
2967 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2968 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2969 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2970 # If not cross compiling, check that we can run a simple program.
2971 if test "$cross_compiling" != yes; then
2972 if { ac_try
='./$ac_file'
2973 { (case "(($ac_try" in
2974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_try") 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2984 if test "$cross_compiling" = maybe; then
2987 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2988 If you meant to cross compile, use \`--host'.
2989 See \`config.log' for more details.
" >&5
2990 echo "$as_me: error
: cannot run C compiled programs.
2991 If you meant to cross compile
, use \
`--host'.
2992 See \`config.log
' for more details." >&2;}
2993 { (exit 1); exit 1; }; }
2997 { echo "$as_me:$LINENO: result: yes" >&5
2998 echo "${ECHO_T}yes" >&6; }
3000 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3001 ac_clean_files=$ac_clean_files_save
3002 # Check that the compiler produces executables we can run. If not, either
3003 # the compiler is broken, or we cross compile.
3004 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3005 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3006 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3007 echo "${ECHO_T}$cross_compiling" >&6; }
3009 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3010 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3011 if { (ac_try="$ac_link"
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017 (eval "$ac_link") 2>&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); }; then
3021 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3022 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3023 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3025 for ac_file
in conftest.exe conftest conftest.
*; do
3026 test -f "$ac_file" || continue
3028 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
3029 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3035 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3036 See \`config.log' for more details." >&5
3037 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3038 See \`config.log' for more details." >&2;}
3039 { (exit 1); exit 1; }; }
3042 rm -f conftest
$ac_cv_exeext
3043 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3044 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3046 rm -f conftest.
$ac_ext
3047 EXEEXT
=$ac_cv_exeext
3049 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3050 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3051 if test "${ac_cv_objext+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3054 cat >conftest.
$ac_ext <<_ACEOF
3057 cat confdefs.h
>>conftest.
$ac_ext
3058 cat >>conftest.
$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3069 rm -f conftest.o conftest.obj
3070 if { (ac_try
="$ac_compile"
3072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3076 (eval "$ac_compile") 2>&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); }; then
3080 for ac_file in conftest.o conftest.obj conftest.*; do
3081 test -f "$ac_file" || continue;
3083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3084 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3089 echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3092 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3093 See \`config.log
' for more details." >&5
3094 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3095 See \`config.log' for more details.
" >&2;}
3096 { (exit 1); exit 1; }; }
3099 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3101 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3102 echo "${ECHO_T}$ac_cv_objext" >&6; }
3103 OBJEXT=$ac_cv_objext
3105 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3106 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3107 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3108 echo $ECHO_N "(cached
) $ECHO_C" >&6
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3128 rm -f conftest.$ac_objext
3129 if { (ac_try="$ac_compile"
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3135 (eval "$ac_compile") 2>conftest.er1
3137 grep -v '^ *+' conftest.er1 >conftest.err
3139 cat conftest.err >&5
3140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3141 (exit $ac_status); } && {
3142 test -z "$ac_c_werror_flag" ||
3143 test ! -s conftest.err
3144 } && test -s conftest.$ac_objext; then
3147 echo "$as_me: failed program was
:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3157 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3158 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3159 GCC=`test $ac_compiler_gnu = yes && echo yes`
3160 ac_test_CFLAGS=${CFLAGS+set}
3161 ac_save_CFLAGS=$CFLAGS
3162 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3163 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3164 if test "${ac_cv_prog_cc_g+set}" = set; then
3165 echo $ECHO_N "(cached
) $ECHO_C" >&6
3167 ac_save_c_werror_flag=$ac_c_werror_flag
3168 ac_c_werror_flag=yes
3171 cat >conftest.$ac_ext <<_ACEOF
3174 cat confdefs.h >>conftest.$ac_ext
3175 cat >>conftest.$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3186 rm -f conftest.$ac_objext
3187 if { (ac_try="$ac_compile"
3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3193 (eval "$ac_compile") 2>conftest.er1
3195 grep -v '^ *+' conftest.er1 >conftest.err
3197 cat conftest.err >&5
3198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3199 (exit $ac_status); } && {
3200 test -z "$ac_c_werror_flag" ||
3201 test ! -s conftest.err
3202 } && test -s conftest.$ac_objext; then
3205 echo "$as_me: failed program was
:" >&5
3206 sed 's/^/| /' conftest.$ac_ext >&5
3209 cat >conftest.$ac_ext <<_ACEOF
3212 cat confdefs.h >>conftest.$ac_ext
3213 cat >>conftest.$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3224 rm -f conftest.$ac_objext
3225 if { (ac_try="$ac_compile"
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3230 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3231 (eval "$ac_compile") 2>conftest.er1
3233 grep -v '^ *+' conftest.er1 >conftest.err
3235 cat conftest.err >&5
3236 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3237 (exit $ac_status); } && {
3238 test -z "$ac_c_werror_flag" ||
3239 test ! -s conftest.err
3240 } && test -s conftest.$ac_objext; then
3243 echo "$as_me: failed program was
:" >&5
3244 sed 's/^/| /' conftest.$ac_ext >&5
3246 ac_c_werror_flag=$ac_save_c_werror_flag
3248 cat >conftest.$ac_ext <<_ACEOF
3251 cat confdefs.h >>conftest.$ac_ext
3252 cat >>conftest.$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3263 rm -f conftest.$ac_objext
3264 if { (ac_try="$ac_compile"
3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3270 (eval "$ac_compile") 2>conftest.er1
3272 grep -v '^ *+' conftest.er1 >conftest.err
3274 cat conftest.err >&5
3275 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3276 (exit $ac_status); } && {
3277 test -z "$ac_c_werror_flag" ||
3278 test ! -s conftest.err
3279 } && test -s conftest.$ac_objext; then
3282 echo "$as_me: failed program was
:" >&5
3283 sed 's/^/| /' conftest.$ac_ext >&5
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 ac_c_werror_flag=$ac_save_c_werror_flag
3297 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3298 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3299 if test "$ac_test_CFLAGS" = set; then
3300 CFLAGS=$ac_save_CFLAGS
3301 elif test $ac_cv_prog_cc_g = yes; then
3302 if test "$GCC" = yes; then
3308 if test "$GCC" = yes; then
3314 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3315 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3316 if test "${ac_cv_prog_cc_c89+set}" = set; then
3317 echo $ECHO_N "(cached
) $ECHO_C" >&6
3319 ac_cv_prog_cc_c89=no
3321 cat >conftest.$ac_ext <<_ACEOF
3324 cat confdefs.h >>conftest.$ac_ext
3325 cat >>conftest.$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3329 #include <sys/types.h>
3330 #include <sys/stat.h>
3331 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3332 struct buf { int x; };
3333 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3334 static char *e (p, i)
3340 static char *f (char * (*g) (char **, int), char **p, ...)
3345 s = g (p, va_arg (v,int));
3350 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3351 function prototypes and stuff, but not '\xHH' hex character constants.
3352 These don't provoke an error unfortunately, instead are silently treated
3353 as 'x'. The following induces an error, until -std is added to get
3354 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3355 array size at least. It's necessary to write '\x00'==0 to get something
3356 that's true only with -std. */
3357 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3359 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3360 inside strings and character constants. */
3362 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3364 int test (int i, double x);
3365 struct s1 {int (*f) (int a);};
3366 struct s2 {int (*f) (double a);};
3367 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3373 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3378 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3379 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3381 CC="$ac_save_CC $ac_arg"
3382 rm -f conftest.$ac_objext
3383 if { (ac_try="$ac_compile"
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3389 (eval "$ac_compile") 2>conftest.er1
3391 grep -v '^ *+' conftest.er1 >conftest.err
3393 cat conftest.err >&5
3394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3395 (exit $ac_status); } && {
3396 test -z "$ac_c_werror_flag" ||
3397 test ! -s conftest.err
3398 } && test -s conftest.$ac_objext; then
3399 ac_cv_prog_cc_c89=$ac_arg
3401 echo "$as_me: failed program was
:" >&5
3402 sed 's/^/| /' conftest.$ac_ext >&5
3407 rm -f core conftest.err conftest.$ac_objext
3408 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3410 rm -f conftest.$ac_ext
3415 case "x
$ac_cv_prog_cc_c89" in
3417 { echo "$as_me:$LINENO: result
: none needed
" >&5
3418 echo "${ECHO_T}none needed
" >&6; } ;;
3420 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3421 echo "${ECHO_T}unsupported
" >&6; } ;;
3423 CC="$CC $ac_cv_prog_cc_c89"
3424 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3425 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3430 ac_cpp='$CPP $CPPFLAGS'
3431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3435 depcc="$CC" am_compiler_list=
3437 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3438 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3439 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3440 echo $ECHO_N "(cached
) $ECHO_C" >&6
3442 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3443 # We make a subdir and do the tests there. Otherwise we can end up
3444 # making bogus files that we don't know about and never remove. For
3445 # instance it was reported that on HP-UX the gcc test will end up
3446 # making a dummy file named `D' -- because `-MD' means `put the output
3449 # Copy depcomp to subdir because otherwise we won't find it if we're
3450 # using a relative directory.
3451 cp "$am_depcomp" conftest.dir
3453 # We will build objects and dependencies in a subdirectory because
3454 # it helps to detect inapplicable dependency modes. For instance
3455 # both Tru64's cc and ICC support -MD to output dependencies as a
3456 # side effect of compilation, but ICC will put the dependencies in
3457 # the current directory while Tru64 will put them in the object
3461 am_cv_CC_dependencies_compiler_type=none
3462 if test "$am_compiler_list" = ""; then
3463 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3465 for depmode in $am_compiler_list; do
3466 # Setup a source with many dependencies, because some compilers
3467 # like to wrap large dependency lists on column 80 (with \), and
3468 # we should not choose a depcomp mode which is confused by this.
3470 # We need to recreate these files for each test, as the compiler may
3471 # overwrite some of them when testing with obscure command lines.
3472 # This happens at least with the AIX C compiler.
3474 for i in 1 2 3 4 5 6; do
3475 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3476 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3477 # Solaris 8's {/usr,}/bin/sh.
3478 touch sub/conftst$i.h
3480 echo "${am__include} ${am__quote}sub
/conftest.Po
${am__quote}" > confmf
3484 # after this tag, mechanisms are not by side-effect, so they'll
3485 # only be used when explicitly requested
3486 if test "x
$enable_dependency_tracking" = xyes; then
3494 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3495 # mode. It turns out that the SunPro C++ compiler does not properly
3496 # handle `-M -o', and we need to detect this.
3497 if depmode=$depmode \
3498 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3499 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3500 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3501 >/dev/null 2>conftest.err &&
3502 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3503 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3504 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3505 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3506 # icc doesn't choke on unknown options, it will just issue warnings
3507 # or remarks (even with -Werror). So we grep stderr for any message
3508 # that says an option was ignored or not supported.
3509 # When given -MP, icc 7.0 and 7.1 complain thusly:
3510 # icc: Command line warning: ignoring option '-M'; no argument required
3511 # The diagnosis changed in icc 8.0:
3512 # icc: Command line remark: option '-MP' not supported
3513 if (grep 'ignoring option' conftest.err ||
3514 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3515 am_cv_CC_dependencies_compiler_type=$depmode
3524 am_cv_CC_dependencies_compiler_type=none
3528 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3529 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3530 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3533 test "x
$enable_dependency_tracking" != xno \
3534 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3536 am__fastdepCC_FALSE='#'
3538 am__fastdepCC_TRUE='#'
3539 am__fastdepCC_FALSE=
3543 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C99
" >&5
3544 echo $ECHO_N "checking
for $CC option to accept ISO C99...
$ECHO_C" >&6; }
3545 if test "${ac_cv_prog_cc_c99+set}" = set; then
3546 echo $ECHO_N "(cached
) $ECHO_C" >&6
3548 ac_cv_prog_cc_c99=no
3550 cat >conftest.$ac_ext <<_ACEOF
3553 cat confdefs.h >>conftest.$ac_ext
3554 cat >>conftest.$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3557 #include <stdbool.h>
3562 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3563 #define debug(...) fprintf (stderr, __VA_ARGS__)
3564 #define showlist(...) puts (#__VA_ARGS__)
3565 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3567 test_varargs_macros (void)
3572 debug ("X
= %d
\n", x);
3573 showlist (The first, second, and third items.);
3574 report (x>y, "x is
%d but y is
%d
", x, y);
3577 // Check long long types.
3578 #define BIG64 18446744073709551615ull
3579 #define BIG32 4294967295ul
3580 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3582 your preprocessor is broken;
3586 your preprocessor is broken;
3588 static long long int bignum = -9223372036854775807LL;
3589 static unsigned long long int ubignum = BIG64;
3591 struct incomplete_array
3599 const wchar_t *name;
3603 typedef const char *ccp;
3606 test_restrict (ccp restrict text)
3608 // See if C++-style comments work.
3609 // Iterate through items via the restricted pointer.
3610 // Also check for declarations in for loops.
3611 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3616 // Check varargs and va_copy.
3618 test_varargs (const char *format, ...)
3621 va_start (args, format);
3623 va_copy (args_copy, args);
3634 str = va_arg (args_copy, const char *);
3637 number = va_arg (args_copy, int);
3640 fnumber = va_arg (args_copy, double);
3655 _Bool success = false;
3658 if (test_restrict ("String literal
") == 0)
3660 char *restrict newvar = "Another string
";
3663 test_varargs ("s
, d
' f .", "string", 65, 34.234);
3664 test_varargs_macros ();
3666 // Check flexible array members.
3667 struct incomplete_array *ia =
3668 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3670 for (int i = 0; i < ia->datasize; ++i)
3671 ia->data[i] = i * 1.234;
3673 // Check named initializers.
3674 struct named_init ni = {
3676 .name = L"Test wide string",
3677 .average = 543.34343,
3682 int dynamic_array[ni.number];
3683 dynamic_array[ni.number - 1] = 543;
3685 // work around unused variable warnings
3686 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x
'
3687 || dynamic_array[ni.number - 1] != 543);
3693 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
3695 CC="$ac_save_CC $ac_arg"
3696 rm -f conftest.$ac_objext
3697 if { (ac_try="$ac_compile"
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3703 (eval "$ac_compile") 2>conftest.er1
3705 grep -v '^
*+' conftest.er1 >conftest.err
3707 cat conftest.err >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } && {
3710 test -z "$ac_c_werror_flag" ||
3711 test ! -s conftest.err
3712 } && test -s conftest.$ac_objext; then
3713 ac_cv_prog_cc_c99=$ac_arg
3715 echo "$as_me: failed program was:" >&5
3716 sed 's
/^
/| /' conftest.$ac_ext >&5
3721 rm -f core conftest.err conftest.$ac_objext
3722 test "x$ac_cv_prog_cc_c99" != "xno" && break
3724 rm -f conftest.$ac_ext
3729 case "x$ac_cv_prog_cc_c99" in
3731 { echo "$as_me:$LINENO: result: none needed" >&5
3732 echo "${ECHO_T}none needed" >&6; } ;;
3734 { echo "$as_me:$LINENO: result: unsupported" >&5
3735 echo "${ECHO_T}unsupported" >&6; } ;;
3737 CC="$CC $ac_cv_prog_cc_c99"
3738 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3739 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3745 if test x"$ac_cv_prog_cc_c99" = "xno"; then
3746 { { echo "$as_me:$LINENO: error: ircd-ratbox requires a C99 capable compiler" >&5
3747 echo "$as_me: error: ircd-ratbox requires a C99 capable compiler" >&2;}
3748 { (exit 1); exit 1; }; }
3752 # Find a good install program. We prefer a C program (faster),
3753 # so one script is as good as another. But avoid the broken or
3754 # incompatible versions:
3755 # SysV /etc/install, /usr/sbin/install
3756 # SunOS /usr/etc/install
3757 # IRIX /sbin/install
3759 # AmigaOS /C/install, which installs bootblocks on floppy discs
3760 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
3761 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3762 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3763 # OS/2's system install, which has a completely different semantic
3764 # ./install, which can be erroneously created by make from ./install.sh.
3765 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3766 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3767 if test -z "$INSTALL"; then
3768 if test "${ac_cv_path_install+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 test -z "$as_dir" && as_dir
=.
3776 # Account for people who put trailing slashes in PATH elements.
3778 .
/ | .
// | /cC
/* | \
3779 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
3780 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3783 # OSF1 and SCO ODT 3.0 have their own names for install.
3784 # Don't use installbsd from OSF since it installs stuff as root
3786 for ac_prog
in ginstall scoinst
install; do
3787 for ac_exec_ext
in '' $ac_executable_extensions; do
3788 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3789 if test $ac_prog = install &&
3790 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3791 # AIX install. It has an incompatible calling convention.
3793 elif test $ac_prog = install &&
3794 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3795 # program-specific install script used by HP pwplus--don't use.
3798 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3811 if test "${ac_cv_path_install+set}" = set; then
3812 INSTALL
=$ac_cv_path_install
3814 # As a last resort, use the slow shell script. Don't cache a
3815 # value for INSTALL within a source directory, because that will
3816 # break other packages using the cache if that directory is
3817 # removed, or if the value is a relative name.
3818 INSTALL
=$ac_install_sh
3821 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3822 echo "${ECHO_T}$INSTALL" >&6; }
3824 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3825 # It thinks the first close brace ends the variable substitution.
3826 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3828 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3830 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3832 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3833 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3834 if test "${ac_cv_path_GREP+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3837 # Extract the first word of "grep ggrep" to use in msg output
3838 if test -z "$GREP"; then
3839 set dummy
grep ggrep
; ac_prog_name
=$2
3840 if test "${ac_cv_path_GREP+set}" = set; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3843 ac_path_GREP_found
=false
3844 # Loop through the user's path and test for each of PROGNAME-LIST
3845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3846 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3849 test -z "$as_dir" && as_dir
=.
3850 for ac_prog
in grep ggrep
; do
3851 for ac_exec_ext
in '' $ac_executable_extensions; do
3852 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3853 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3854 # Check for GNU ac_path_GREP and select it if it is found.
3855 # Check for GNU $ac_path_GREP
3856 case `"$ac_path_GREP" --version 2>&1` in
3858 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3861 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3864 cat "conftest.in" "conftest.in" >"conftest.tmp"
3865 mv "conftest.tmp" "conftest.in"
3866 cp "conftest.in" "conftest.nl"
3867 echo 'GREP' >> "conftest.nl"
3868 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3869 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3870 ac_count
=`expr $ac_count + 1`
3871 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3872 # Best one so far, save it but keep looking for a better one
3873 ac_cv_path_GREP
="$ac_path_GREP"
3874 ac_path_GREP_max
=$ac_count
3876 # 10*(2^10) chars as input seems more than enough
3877 test $ac_count -gt 10 && break
3879 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3883 $ac_path_GREP_found && break 3
3893 GREP
="$ac_cv_path_GREP"
3894 if test -z "$GREP"; then
3895 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3896 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3897 { (exit 1); exit 1; }; }
3901 ac_cv_path_GREP
=$GREP
3906 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3907 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3908 GREP
="$ac_cv_path_GREP"
3911 { echo "$as_me:$LINENO: checking for egrep" >&5
3912 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3913 if test "${ac_cv_path_EGREP+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3917 then ac_cv_path_EGREP
="$GREP -E"
3919 # Extract the first word of "egrep" to use in msg output
3920 if test -z "$EGREP"; then
3921 set dummy
egrep; ac_prog_name
=$2
3922 if test "${ac_cv_path_EGREP+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3925 ac_path_EGREP_found
=false
3926 # Loop through the user's path and test for each of PROGNAME-LIST
3927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3928 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3931 test -z "$as_dir" && as_dir
=.
3932 for ac_prog
in egrep; do
3933 for ac_exec_ext
in '' $ac_executable_extensions; do
3934 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3935 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3936 # Check for GNU ac_path_EGREP and select it if it is found.
3937 # Check for GNU $ac_path_EGREP
3938 case `"$ac_path_EGREP" --version 2>&1` in
3940 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3943 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3946 cat "conftest.in" "conftest.in" >"conftest.tmp"
3947 mv "conftest.tmp" "conftest.in"
3948 cp "conftest.in" "conftest.nl"
3949 echo 'EGREP' >> "conftest.nl"
3950 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3951 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3952 ac_count
=`expr $ac_count + 1`
3953 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3954 # Best one so far, save it but keep looking for a better one
3955 ac_cv_path_EGREP
="$ac_path_EGREP"
3956 ac_path_EGREP_max
=$ac_count
3958 # 10*(2^10) chars as input seems more than enough
3959 test $ac_count -gt 10 && break
3961 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3965 $ac_path_EGREP_found && break 3
3975 EGREP
="$ac_cv_path_EGREP"
3976 if test -z "$EGREP"; then
3977 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3978 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3979 { (exit 1); exit 1; }; }
3983 ac_cv_path_EGREP
=$EGREP
3989 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3990 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3991 EGREP
="$ac_cv_path_EGREP"
3994 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3995 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3996 if test "${ac_cv_path_SED+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4000 for ac_i
in 1 2 3 4 5 6 7; do
4001 ac_script
="$ac_script$as_nl$ac_script"
4003 echo "$ac_script" | sed 99q
>conftest.
sed
4004 $as_unset ac_script
|| ac_script
=
4005 # Extract the first word of "sed gsed" to use in msg output
4006 if test -z "$SED"; then
4007 set dummy
sed gsed
; ac_prog_name
=$2
4008 if test "${ac_cv_path_SED+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 ac_path_SED_found
=false
4012 # Loop through the user's path and test for each of PROGNAME-LIST
4013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4017 test -z "$as_dir" && as_dir
=.
4018 for ac_prog
in sed gsed
; do
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4021 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4022 # Check for GNU ac_path_SED and select it if it is found.
4023 # Check for GNU $ac_path_SED
4024 case `"$ac_path_SED" --version 2>&1` in
4026 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4029 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4032 cat "conftest.in" "conftest.in" >"conftest.tmp"
4033 mv "conftest.tmp" "conftest.in"
4034 cp "conftest.in" "conftest.nl"
4035 echo '' >> "conftest.nl"
4036 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4037 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4038 ac_count
=`expr $ac_count + 1`
4039 if test $ac_count -gt ${ac_path_SED_max-0}; then
4040 # Best one so far, save it but keep looking for a better one
4041 ac_cv_path_SED
="$ac_path_SED"
4042 ac_path_SED_max
=$ac_count
4044 # 10*(2^10) chars as input seems more than enough
4045 test $ac_count -gt 10 && break
4047 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4051 $ac_path_SED_found && break 3
4061 SED
="$ac_cv_path_SED"
4062 if test -z "$SED"; then
4063 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4064 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4065 { (exit 1); exit 1; }; }
4073 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4074 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4075 SED
="$ac_cv_path_SED"
4083 # Check whether --enable-static was given.
4084 if test "${enable_static+set}" = set; then
4085 enableval
=$enable_static; p
=${PACKAGE-default}
4087 yes) enable_static
=yes ;;
4088 no
) enable_static
=no
;;
4091 # Look at the argument we got. We use all the common list separators.
4092 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4093 for pkg
in $enableval; do
4095 if test "X$pkg" = "X$p"; then
4108 # Check whether --enable-shared was given.
4109 if test "${enable_shared+set}" = set; then
4110 enableval
=$enable_shared; p
=${PACKAGE-default}
4112 yes) enable_shared
=yes ;;
4113 no
) enable_shared
=no
;;
4116 # Look at the argument we got. We use all the common list separators.
4117 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4118 for pkg
in $enableval; do
4120 if test "X$pkg" = "X$p"; then
4132 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4133 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
4134 # Check whether --enable-maintainer-mode was given.
4135 if test "${enable_maintainer_mode+set}" = set; then
4136 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4138 USE_MAINTAINER_MODE
=no
4141 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4142 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
4143 if test $USE_MAINTAINER_MODE = yes; then
4144 MAINTAINER_MODE_TRUE
=
4145 MAINTAINER_MODE_FALSE
='#'
4147 MAINTAINER_MODE_TRUE
='#'
4148 MAINTAINER_MODE_FALSE
=
4151 MAINT
=$MAINTAINER_MODE_TRUE
4156 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
4157 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4158 if test "${ac_cv_search_strerror+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 ac_func_search_save_LIBS
=$LIBS
4162 cat >conftest.
$ac_ext <<_ACEOF
4165 cat confdefs.h
>>conftest.
$ac_ext
4166 cat >>conftest.
$ac_ext <<_ACEOF
4167 /* end confdefs.h. */
4169 /* Override any GCC internal prototype to avoid an error.
4170 Use char because int might match the return type of a GCC
4171 builtin and then its argument prototype would still apply. */
4184 for ac_lib
in '' cposix
; do
4185 if test -z "$ac_lib"; then
4186 ac_res
="none required"
4189 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4191 rm -f conftest.
$ac_objext conftest
$ac_exeext
4192 if { (ac_try
="$ac_link"
4194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198 (eval "$ac_link") 2>conftest.er1
4200 grep -v '^ *+' conftest.er1 >conftest.err
4202 cat conftest.err >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); } && {
4205 test -z "$ac_c_werror_flag" ||
4206 test ! -s conftest.err
4207 } && test -s conftest$ac_exeext &&
4208 $as_test_x conftest$ac_exeext; then
4209 ac_cv_search_strerror=$ac_res
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.$ac_ext >&5
4217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4219 if test "${ac_cv_search_strerror+set}" = set; then
4223 if test "${ac_cv_search_strerror+set}" = set; then
4226 ac_cv_search_strerror=no
4229 LIBS=$ac_func_search_save_LIBS
4231 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4232 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4233 ac_res=$ac_cv_search_strerror
4234 if test "$ac_res" != no; then
4235 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4239 { echo "$as_me:$LINENO: checking for inline" >&5
4240 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4241 if test "${ac_cv_c_inline+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 for ac_kw in inline __inline__ __inline; do
4246 cat >conftest.$ac_ext <<_ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4254 static $ac_kw foo_t static_foo () {return 0; }
4255 $ac_kw foo_t foo () {return 0; }
4259 rm -f conftest.$ac_objext
4260 if { (ac_try="$ac_compile"
4262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4263 *) ac_try_echo
=$ac_try;;
4265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4266 (eval "$ac_compile") 2>conftest.er1
4268 grep -v '^ *+' conftest.er1
>conftest.err
4270 cat conftest.err
>&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); } && {
4273 test -z "$ac_c_werror_flag" ||
4274 test ! -s conftest.err
4275 } && test -s conftest.
$ac_objext; then
4276 ac_cv_c_inline
=$ac_kw
4278 echo "$as_me: failed program was:" >&5
4279 sed 's/^/| /' conftest.
$ac_ext >&5
4284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4285 test "$ac_cv_c_inline" != no
&& break
4289 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4290 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4293 case $ac_cv_c_inline in
4296 case $ac_cv_c_inline in
4298 *) ac_val
=$ac_cv_c_inline;;
4300 cat >>confdefs.h
<<_ACEOF
4302 #define inline $ac_val
4308 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4309 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4310 if test "${ac_cv_c_const+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4313 cat >conftest.
$ac_ext <<_ACEOF
4316 cat confdefs.h
>>conftest.
$ac_ext
4317 cat >>conftest.
$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4323 /* FIXME: Include the comments suggested by Paul. */
4325 /* Ultrix mips cc rejects this. */
4326 typedef int charset[2];
4328 /* SunOS 4.1.1 cc rejects this. */
4329 char const *const *pcpcc;
4331 /* NEC SVR4.0.2 mips cc rejects this. */
4332 struct point {int x, y;};
4333 static struct point const zero = {0,0};
4334 /* AIX XL C 1.02.0.0 rejects this.
4335 It does not let you subtract one const X* pointer from another in
4336 an arm of an if-expression whose if-part is not a constant
4338 const char *g = "string";
4339 pcpcc = &g + (g ? g-g : 0);
4340 /* HPUX 7.0 cc rejects these. */
4342 ppc = (char**) pcpcc;
4343 pcpcc = (char const *const *) ppc;
4344 { /* SCO 3.2v4 cc rejects this. */
4346 char const *s = 0 ? (char *) 0 : (char const *) 0;
4351 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4353 const int *foo = &x[0];
4356 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4357 typedef const int *iptr;
4361 { /* AIX XL C 1.02.0.0 rejects this saying
4362 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4363 struct s { int j; const int *ap[3]; };
4364 struct s *b; b->j = 5;
4366 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4370 return !cs[0] && !zero.x;
4377 rm -f conftest.
$ac_objext
4378 if { (ac_try
="$ac_compile"
4380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4384 (eval "$ac_compile") 2>conftest.er1
4386 grep -v '^ *+' conftest.er1 >conftest.err
4388 cat conftest.err >&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); } && {
4391 test -z "$ac_c_werror_flag" ||
4392 test ! -s conftest.err
4393 } && test -s conftest.$ac_objext; then
4396 echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.$ac_ext >&5
4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4405 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4406 if test $ac_cv_c_const = no; then
4408 cat >>confdefs.h <<\_ACEOF
4414 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4415 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4416 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4417 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 cat >conftest.make <<\_ACEOF
4423 @echo '@@@%%%=$(MAKE)=@@@%%%'
4425 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4426 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4428 eval ac_cv_prog_make_${ac_make}_set=yes;;
4430 eval ac_cv_prog_make_${ac_make}_set=no;;
4434 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4435 { echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6; }
4439 { echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6; }
4441 SET_MAKE="MAKE=${MAKE-make}"
4444 # Find a good install program. We prefer a C program (faster),
4445 # so one script is as good as another. But avoid the broken or
4446 # incompatible versions:
4447 # SysV /etc/install, /usr/sbin/install
4448 # SunOS /usr/etc/install
4449 # IRIX /sbin/install
4451 # AmigaOS /C/install, which installs bootblocks on floppy discs
4452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4455 # OS/2's system install, which has a completely different semantic
4456 # ./install, which can be erroneously created by make from ./install.sh.
4457 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4458 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4459 if test -z "$INSTALL"; then
4460 if test "${ac_cv_path_install+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467 test -z "$as_dir" && as_dir=.
4468 # Account for people who put trailing slashes in PATH elements.
4470 ./ | .// | /cC/* | \
4471 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4472 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4475 # OSF1 and SCO ODT 3.0 have their own names for install.
4476 # Don't use installbsd from OSF since it installs stuff as root
4478 for ac_prog in ginstall scoinst install; do
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4481 if test $ac_prog = install &&
4482 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4483 # AIX install. It has an incompatible calling convention.
4485 elif test $ac_prog = install &&
4486 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4487 # program-specific install script used by HP pwplus--don't use.
4490 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4503 if test "${ac_cv_path_install+set}" = set; then
4504 INSTALL=$ac_cv_path_install
4506 # As a last resort, use the slow shell script. Don't cache a
4507 # value for INSTALL within a source directory, because that will
4508 # break other packages using the cache if that directory is
4509 # removed, or if the value is a relative name.
4510 INSTALL=$ac_install_sh
4513 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4514 echo "${ECHO_T}$INSTALL" >&6; }
4516 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4517 # It thinks the first close brace ends the variable substitution.
4518 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4520 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4522 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4524 # Extract the first word of "automake", so it can be a program name with args.
4525 set dummy automake; ac_word=$2
4526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4528 if test "${ac_cv_path_AUTOMAKE+set}" = set; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 ac_cv_path_AUTOMAKE="$AUTOMAKE" # Let the user override the test with a path.
4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir=.
4541 for ac_exec_ext in '' $ac_executable_extensions; do
4542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4543 ac_cv_path_AUTOMAKE="$as_dir/$ac_word$ac_exec_ext"
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 AUTOMAKE=$ac_cv_path_AUTOMAKE
4555 if test -n "$AUTOMAKE"; then
4556 { echo "$as_me:$LINENO: result: $AUTOMAKE" >&5
4557 echo "${ECHO_T}$AUTOMAKE" >&6; }
4559 { echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6; }
4564 # Extract the first word of "aclocal", so it can be a program name with args.
4565 set dummy aclocal; ac_word=$2
4566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4568 if test "${ac_cv_path_ACLOCAL+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 ac_cv_path_ACLOCAL="$ACLOCAL" # Let the user override the test with a path.
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4583 ac_cv_path_ACLOCAL="$as_dir/$ac_word$ac_exec_ext"
4584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 ACLOCAL=$ac_cv_path_ACLOCAL
4595 if test -n "$ACLOCAL"; then
4596 { echo "$as_me:$LINENO: result: $ACLOCAL" >&5
4597 echo "${ECHO_T}$ACLOCAL" >&6; }
4599 { echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6; }
4604 # Extract the first word of "autoheader", so it can be a program name with args.
4605 set dummy autoheader; ac_word=$2
4606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4608 if test "${ac_cv_path_AUTOHEADER+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 ac_cv_path_AUTOHEADER="$AUTOHEADER" # Let the user override the test with a path.
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4623 ac_cv_path_AUTOHEADER="$as_dir/$ac_word$ac_exec_ext"
4624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 AUTOHEADER=$ac_cv_path_AUTOHEADER
4635 if test -n "$AUTOHEADER"; then
4636 { echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
4637 echo "${ECHO_T}$AUTOHEADER" >&6; }
4639 { echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6; }
4644 # Extract the first word of "as", so it can be a program name with args.
4645 set dummy as; ac_word=$2
4646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4648 if test "${ac_cv_path_AS+set}" = set; then
4649 echo $ECHO_N "(cached) $ECHO_C" >&6
4653 ac_cv_path_AS="$AS" # Let the user override the test with a path.
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4663 ac_cv_path_AS="$as_dir/$ac_word$ac_exec_ext"
4664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 if test -n "$AS"; then
4676 { echo "$as_me:$LINENO: result: $AS" >&5
4677 echo "${ECHO_T}$AS" >&6; }
4679 { echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6; }
4684 # Extract the first word of "rm", so it can be a program name with args.
4685 set dummy rm; ac_word=$2
4686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4688 if test "${ac_cv_path_RM+set}" = set; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 if test -n "$RM"; then
4716 { echo "$as_me:$LINENO: result: $RM" >&5
4717 echo "${ECHO_T}$RM" >&6; }
4719 { echo "$as_me:$LINENO: result: no" >&5
4720 echo "${ECHO_T}no" >&6; }
4724 # Extract the first word of "cp", so it can be a program name with args.
4725 set dummy cp; ac_word=$2
4726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4728 if test "${ac_cv_path_CP+set}" = set; then
4729 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir=.
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4743 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 if test -n "$CP"; then
4756 { echo "$as_me:$LINENO: result: $CP" >&5
4757 echo "${ECHO_T}$CP" >&6; }
4759 { echo "$as_me:$LINENO: result: no" >&5
4760 echo "${ECHO_T}no" >&6; }
4764 # Extract the first word of "mv", so it can be a program name with args.
4765 set dummy mv; ac_word=$2
4766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4768 if test "${ac_cv_path_MV+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 test -z "$as_dir" && as_dir=.
4781 for ac_exec_ext in '' $ac_executable_extensions; do
4782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4783 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 if test -n "$MV"; then
4796 { echo "$as_me:$LINENO: result: $MV" >&5
4797 echo "${ECHO_T}$MV" >&6; }
4799 { echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6; }
4804 # Extract the first word of "ln", so it can be a program name with args.
4805 set dummy ln; ac_word=$2
4806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4808 if test "${ac_cv_path_LN+set}" = set; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 if test -n "$LN"; then
4836 { echo "$as_me:$LINENO: result: $LN" >&5
4837 echo "${ECHO_T}$LN" >&6; }
4839 { echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6; }
4844 # Extract the first word of "ar", so it can be a program name with args.
4845 set dummy ar; ac_word=$2
4846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4848 if test "${ac_cv_path_AR+set}" = set; then
4849 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 ac_cv_path_AR="$AR" # Let the user override the test with a path.
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4863 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
4864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 if test -n "$AR"; then
4876 { echo "$as_me:$LINENO: result: $AR" >&5
4877 echo "${ECHO_T}$AR" >&6; }
4879 { echo "$as_me:$LINENO: result: no" >&5
4880 echo "${ECHO_T}no" >&6; }
4884 # Extract the first word of "ld", so it can be a program name with args.
4885 set dummy ld; ac_word=$2
4886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4888 if test "${ac_cv_path_LD+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 ac_cv_path_LD="$LD" # Let the user override the test with a path.
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900 test -z "$as_dir" && as_dir=.
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4903 ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext"
4904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 if test -n "$LD"; then
4916 { echo "$as_me:$LINENO: result: $LD" >&5
4917 echo "${ECHO_T}$LD" >&6; }
4919 { echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6; }
4924 # Extract the first word of "ranlib", so it can be a program name with args.
4925 set dummy ranlib; ac_word=$2
4926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4928 if test "${ac_cv_path_RANLIB+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4933 ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a path.
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_path_RANLIB="$as_dir/$ac_word$ac_exec_ext"
4944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 RANLIB=$ac_cv_path_RANLIB
4955 if test -n "$RANLIB"; then
4956 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4957 echo "${ECHO_T}$RANLIB" >&6; }
4959 { echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6; }
4964 # Extract the first word of "touch", so it can be a program name with args.
4965 set dummy touch; ac_word=$2
4966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4968 if test "${ac_cv_path_TOUCH+set}" = set; then
4969 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir=.
4981 for ac_exec_ext in '' $ac_executable_extensions; do
4982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
4984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 TOUCH=$ac_cv_path_TOUCH
4995 if test -n "$TOUCH"; then
4996 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4997 echo "${ECHO_T}$TOUCH" >&6; }
4999 { echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6; }
5005 ac_cpp='$CPP $CPPFLAGS'
5006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5011 # Check whether --enable-fast-install was given.
5012 if test "${enable_fast_install+set}" = set; then
5013 enableval=$enable_fast_install; p=${PACKAGE-default}
5015 yes) enable_fast_install=yes ;;
5016 no) enable_fast_install=no ;;
5018 enable_fast_install=no
5019 # Look at the argument we got. We use all the common list separators.
5020 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5021 for pkg in $enableval; do
5023 if test "X$pkg" = "X$p"; then
5024 enable_fast_install=yes
5031 enable_fast_install=yes
5035 # Make sure we can run config.sub.
5036 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5037 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5038 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5039 { (exit 1); exit 1; }; }
5041 { echo "$as_me:$LINENO: checking build system type" >&5
5042 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5043 if test "${ac_cv_build+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 ac_build_alias=$build_alias
5047 test "x$ac_build_alias" = x &&
5048 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5049 test "x$ac_build_alias" = x &&
5050 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5051 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5052 { (exit 1); exit 1; }; }
5053 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5054 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5055 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5056 { (exit 1); exit 1; }; }
5059 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5060 echo "${ECHO_T}$ac_cv_build" >&6; }
5061 case $ac_cv_build in
5063 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5064 echo "$as_me: error: invalid value of canonical build" >&2;}
5065 { (exit 1); exit 1; }; };;
5068 ac_save_IFS=$IFS; IFS='-'
5074 # Remember, the first character of IFS is used to create $*,
5075 # except with old shells:
5078 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5081 { echo "$as_me:$LINENO: checking host system type" >&5
5082 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5083 if test "${ac_cv_host+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 if test "x$host_alias" = x; then
5087 ac_cv_host=$ac_cv_build
5089 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5090 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5091 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5092 { (exit 1); exit 1; }; }
5096 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5097 echo "${ECHO_T}$ac_cv_host" >&6; }
5100 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5101 echo "$as_me: error: invalid value of canonical host" >&2;}
5102 { (exit 1); exit 1; }; };;
5105 ac_save_IFS=$IFS; IFS='-'
5111 # Remember, the first character of IFS is used to create $*,
5112 # except with old shells:
5115 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5118 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5119 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5120 if test "${lt_cv_path_SED+set}" = set; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 # Loop through the user's path and test for sed and gsed.
5124 # Then use that list of sed's as ones to test for truncation.
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 test -z "$as_dir" && as_dir=.
5130 for lt_ac_prog in sed gsed; do
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5133 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5141 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5142 # along with /bin/sed that truncates output.
5143 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5144 test ! -f $lt_ac_sed && continue
5145 cat /dev/null > conftest.in
5147 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5148 # Check for GNU sed and select it if it is found.
5149 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5150 lt_cv_path_SED=$lt_ac_sed
5154 cat conftest.in conftest.in >conftest.tmp
5155 mv conftest.tmp conftest.in
5156 cp conftest.in conftest.nl
5158 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5159 cmp -s conftest.out conftest.nl || break
5160 # 10000 chars as input seems more than enough
5161 test $lt_ac_count -gt 10 && break
5162 lt_ac_count=`expr $lt_ac_count + 1`
5163 if test $lt_ac_count -gt $lt_ac_max; then
5164 lt_ac_max=$lt_ac_count
5165 lt_cv_path_SED=$lt_ac_sed
5174 { echo "$as_me:$LINENO: result: $SED" >&5
5175 echo "${ECHO_T}$SED" >&6; }
5178 # Check whether --with-gnu-ld was given.
5179 if test "${with_gnu_ld+set}" = set; then
5180 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5186 if test "$GCC" = yes; then
5187 # Check if gcc -print-prog-name=ld gives a path.
5188 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5189 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5192 # gcc leaves a trailing carriage return which upsets mingw
5193 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
5195 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5198 # Accept absolute paths.
5200 re_direlt='/[^/][^/]*/\.\./'
5201 # Canonicalize the pathname of ld
5202 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5203 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5204 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5206 test -z "$LD" && LD="$ac_prog"
5209 # If it fails, then pretend we aren't using GCC.
5213 # If it is relative, then search for the first ld in PATH.
5217 elif test "$with_gnu_ld" = yes; then
5218 { echo "$as_me:$LINENO: checking for GNU ld" >&5
5219 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5221 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5222 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5224 if test "${lt_cv_path_LD+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 if test -z "$LD"; then
5228 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5229 for ac_dir in $PATH; do
5231 test -z "$ac_dir" && ac_dir=.
5232 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5233 lt_cv_path_LD="$ac_dir/$ac_prog"
5234 # Check to see if the program is GNU ld. I'd rather use --version,
5235 # but apparently some variants of GNU ld only accept -v.
5236 # Break only if it was the GNU/non-GNU ld that we prefer.
5237 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5238 *GNU* | *'with BFD'*)
5239 test "$with_gnu_ld" != no && break
5242 test "$with_gnu_ld" != yes && break
5249 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5254 if test -n "$LD"; then
5255 { echo "$as_me:$LINENO: result: $LD" >&5
5256 echo "${ECHO_T}$LD" >&6; }
5258 { echo "$as_me:$LINENO: result: no" >&5
5259 echo "${ECHO_T}no" >&6; }
5261 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5262 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5263 { (exit 1); exit 1; }; }
5264 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5265 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5266 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5270 case `$LD -v 2>&1 </dev
/null
` in
5271 *GNU* | *'with BFD'*)
5272 lt_cv_prog_gnu_ld=yes
5275 lt_cv_prog_gnu_ld=no
5279 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5280 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5281 with_gnu_ld=$lt_cv_prog_gnu_ld
5284 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5285 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5286 if test "${lt_cv_ld_reload_flag+set}" = set; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 lt_cv_ld_reload_flag='-r'
5291 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5292 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5293 reload_flag=$lt_cv_ld_reload_flag
5294 case $reload_flag in
5296 *) reload_flag=" $reload_flag" ;;
5298 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5301 if test "$GCC" = yes; then
5302 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5304 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5309 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5310 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5311 if test "${lt_cv_path_NM+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 if test -n "$NM"; then
5315 # Let the user override the test.
5318 lt_nm_to_check="${ac_tool_prefix}nm"
5319 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5320 lt_nm_to_check="$lt_nm_to_check nm"
5322 for lt_tmp_nm in $lt_nm_to_check; do
5323 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5324 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5326 test -z "$ac_dir" && ac_dir=.
5327 tmp_nm="$ac_dir/$lt_tmp_nm"
5328 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5329 # Check to see if the nm accepts a BSD-compat flag.
5330 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5331 # nm: unknown option "B" ignored
5332 # Tru64's nm complains that
/dev
/null is an invalid object
file
5333 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5334 */dev
/null
* | *'Invalid file or object type'*)
5335 lt_cv_path_NM
="$tmp_nm -B"
5339 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5341 lt_cv_path_NM
="$tmp_nm -p"
5345 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5346 continue # so that we can try to find one that supports BSD flags
5355 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5358 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5359 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5362 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5363 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5365 if test "$LN_S" = "ln -s"; then
5366 { echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6; }
5369 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5370 echo "${ECHO_T}no, using $LN_S" >&6; }
5373 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5374 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5375 if test "${lt_cv_deplibs_check_method+set}" = set; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5379 lt_cv_file_magic_test_file
=
5380 lt_cv_deplibs_check_method
='unknown'
5381 # Need to set the preceding variable on all platforms that support
5382 # interlibrary dependencies.
5383 # 'none' -- dependencies not supported.
5384 # `unknown' -- same as none, but documents that we really don't know.
5385 # 'pass_all' -- all dependencies passed with no checks.
5386 # 'test_compile' -- check by making test program.
5387 # 'file_magic [[regex]]' -- check by looking for files in library path
5388 # which responds to the $file_magic_cmd with a given extended regex.
5389 # If you have `file' or equivalent on your system and you're not sure
5390 # whether `pass_all' will *always* work, you probably want this one.
5394 lt_cv_deplibs_check_method
=pass_all
5398 lt_cv_deplibs_check_method
=pass_all
5402 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5403 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5404 lt_cv_file_magic_test_file
=/shlib
/libc.so
5408 # func_win32_libid is a shell function defined in ltmain.sh
5409 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5410 lt_cv_file_magic_cmd
='func_win32_libid'
5414 # Base MSYS/MinGW do not provide the 'file' command needed by
5415 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5416 # unless we find 'file', for example because we are cross-compiling.
5417 if ( file / ) >/dev
/null
2>&1; then
5418 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5419 lt_cv_file_magic_cmd
='func_win32_libid'
5421 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5422 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5426 darwin
* | rhapsody
*)
5427 lt_cv_deplibs_check_method
=pass_all
5430 freebsd
* | dragonfly
*)
5431 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
5434 # Not sure whether the presence of OpenBSD here was a mistake.
5435 # Let's accept both of them until this is cleared up.
5436 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5437 lt_cv_file_magic_cmd
=/usr
/bin
/file
5438 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5442 lt_cv_deplibs_check_method
=pass_all
5447 lt_cv_deplibs_check_method
=pass_all
5450 hpux10.20
* | hpux11
*)
5451 lt_cv_file_magic_cmd
=/usr
/bin
/file
5454 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5455 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
5458 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]'
5459 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
5462 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5463 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5469 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5470 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5473 irix5
* | irix6
* | nonstopux
*)
5475 *-32|*"-32 ") libmagic
=32-bit;;
5476 *-n32|*"-n32 ") libmagic
=N32
;;
5477 *-64|*"-64 ") libmagic
=64-bit;;
5478 *) libmagic
=never
-match;;
5480 lt_cv_deplibs_check_method
=pass_all
5483 # This must be Linux ELF.
5484 linux
* | k
*bsd
*-gnu)
5485 lt_cv_deplibs_check_method
=pass_all
5488 netbsd
* | netbsdelf
*-gnu)
5489 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
5490 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5492 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5497 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5498 lt_cv_file_magic_cmd
=/usr
/bin
/file
5499 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5503 lt_cv_deplibs_check_method
=unknown
5507 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5508 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5510 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5514 osf3
* | osf4
* | osf5
*)
5515 lt_cv_deplibs_check_method
=pass_all
5519 lt_cv_deplibs_check_method
=pass_all
5523 lt_cv_deplibs_check_method
=pass_all
5527 case $host_vendor in
5529 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]'
5530 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5533 lt_cv_deplibs_check_method
=pass_all
5536 lt_cv_file_magic_cmd
='/bin/file'
5537 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5540 lt_cv_file_magic_cmd
='/bin/file'
5541 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5542 lt_cv_file_magic_test_file
=/lib
/libc.so
5545 lt_cv_deplibs_check_method
=pass_all
5548 lt_cv_deplibs_check_method
=pass_all
5553 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5554 lt_cv_deplibs_check_method
=pass_all
5559 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5560 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5561 file_magic_cmd
=$lt_cv_file_magic_cmd
5562 deplibs_check_method
=$lt_cv_deplibs_check_method
5563 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5568 # If no C compiler was specified, use CC.
5571 # If no C compiler flags were specified, use CFLAGS.
5572 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5574 # Allow CC to be a program name with arguments.
5577 # Check whether --enable-libtool-lock was given.
5578 if test "${enable_libtool_lock+set}" = set; then
5579 enableval
=$enable_libtool_lock;
5582 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5584 # Some flags need to be propagated to the compiler or linker for good
5588 # Find out which ABI we are using.
5589 echo 'int i;' > conftest.
$ac_ext
5590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5591 (eval $ac_compile) 2>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; then
5595 case `/usr/bin/file conftest.$ac_objext` in
5607 # Find out which ABI we are using.
5608 echo '#line 5608 "configure"' > conftest.
$ac_ext
5609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5610 (eval $ac_compile) 2>&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; then
5614 if test "$lt_cv_prog_gnu_ld" = yes; then
5615 case `/usr/bin/file conftest.$ac_objext` in
5617 LD
="${LD-ld} -melf32bsmip"
5620 LD
="${LD-ld} -melf32bmipn32"
5623 LD
="${LD-ld} -melf64bmip"
5627 case `/usr/bin/file conftest.$ac_objext` in
5643 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5644 s390
*-*linux
*|sparc
*-*linux
*)
5645 # Find out which ABI we are using.
5646 echo 'int i;' > conftest.
$ac_ext
5647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5648 (eval $ac_compile) 2>&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; then
5652 case `/usr/bin/file conftest.o` in
5655 x86_64
-*kfreebsd
*-gnu)
5656 LD
="${LD-ld} -m elf_i386_fbsd"
5659 LD
="${LD-ld} -m elf_i386"
5661 ppc64
-*linux
*|powerpc64
-*linux
*)
5662 LD
="${LD-ld} -m elf32ppclinux"
5665 LD
="${LD-ld} -m elf_s390"
5668 LD
="${LD-ld} -m elf32_sparc"
5674 x86_64
-*kfreebsd
*-gnu)
5675 LD
="${LD-ld} -m elf_x86_64_fbsd"
5678 LD
="${LD-ld} -m elf_x86_64"
5680 ppc
*-*linux
*|powerpc
*-*linux
*)
5681 LD
="${LD-ld} -m elf64ppc"
5684 LD
="${LD-ld} -m elf64_s390"
5687 LD
="${LD-ld} -m elf64_sparc"
5697 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5698 SAVE_CFLAGS
="$CFLAGS"
5699 CFLAGS
="$CFLAGS -belf"
5700 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5701 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5702 if test "${lt_cv_cc_needs_belf+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 ac_cpp
='$CPP $CPPFLAGS'
5707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5711 cat >conftest.
$ac_ext <<_ACEOF
5714 cat confdefs.h
>>conftest.
$ac_ext
5715 cat >>conftest.
$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5726 rm -f conftest.
$ac_objext conftest
$ac_exeext
5727 if { (ac_try
="$ac_link"
5729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5733 (eval "$ac_link") 2>conftest.er1
5735 grep -v '^ *+' conftest.er1 >conftest.err
5737 cat conftest.err >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } && {
5740 test -z "$ac_c_werror_flag" ||
5741 test ! -s conftest.err
5742 } && test -s conftest$ac_exeext &&
5743 $as_test_x conftest$ac_exeext; then
5744 lt_cv_cc_needs_belf=yes
5746 echo "$as_me: failed program was:" >&5
5747 sed 's/^/| /' conftest.$ac_ext >&5
5749 lt_cv_cc_needs_belf=no
5752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5753 conftest$ac_exeext conftest.$ac_ext
5755 ac_cpp='$CPP $CPPFLAGS'
5756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5761 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5762 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5763 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5764 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5765 CFLAGS="$SAVE_CFLAGS"
5769 # Find out which ABI we are using.
5770 echo 'int i;' > conftest.$ac_ext
5771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5772 (eval $ac_compile) 2>&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); }; then
5776 case `/usr
/bin
/file conftest.o
` in
5778 case $lt_cv_prog_gnu_ld in
5779 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5781 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5795 need_locks="$enable_libtool_lock"
5799 ac_cpp='$CPP $CPPFLAGS'
5800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5803 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5804 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5805 # On Suns, sometimes $CPP names a directory.
5806 if test -n "$CPP" && test -d "$CPP"; then
5809 if test -z "$CPP"; then
5810 if test "${ac_cv_prog_CPP+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 # Double quotes because CPP needs to be expanded
5814 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5817 for ac_c_preproc_warn_flag in '' yes
5819 # Use a header file that comes with gcc, so configuring glibc
5820 # with a fresh cross-compiler works.
5821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5822 # <limits.h> exists even on freestanding compilers.
5823 # On the NeXT, cc -E runs the code through the compiler's parser,
5824 # not just through cpp. "Syntax error" is here to catch this case.
5825 cat >conftest.$ac_ext <<_ACEOF
5828 cat confdefs.h >>conftest.$ac_ext
5829 cat >>conftest.$ac_ext <<_ACEOF
5830 /* end confdefs.h. */
5832 # include <limits.h>
5834 # include <assert.h>
5838 if { (ac_try="$ac_cpp conftest.$ac_ext"
5840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5841 *) ac_try_echo
=$ac_try;;
5843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5846 grep -v '^ *+' conftest.er1
>conftest.err
5848 cat conftest.err
>&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); } >/dev
/null
&& {
5851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5852 test ! -s conftest.err
5856 echo "$as_me: failed program was:" >&5
5857 sed 's/^/| /' conftest.
$ac_ext >&5
5859 # Broken: fails on valid input.
5863 rm -f conftest.err conftest.
$ac_ext
5865 # OK, works on sane cases. Now check whether nonexistent headers
5866 # can be detected and how.
5867 cat >conftest.
$ac_ext <<_ACEOF
5870 cat confdefs.h
>>conftest.
$ac_ext
5871 cat >>conftest.
$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5873 #include <ac_nonexistent.h>
5875 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5878 *) ac_try_echo=$ac_try;;
5880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5881 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5883 grep -v '^ *+' conftest.er1 >conftest.err
5885 cat conftest.err >&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } >/dev/null && {
5888 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5889 test ! -s conftest.err
5891 # Broken: success on invalid input.
5894 echo "$as_me: failed program was:" >&5
5895 sed 's/^/| /' conftest.$ac_ext >&5
5897 # Passes both tests.
5902 rm -f conftest.err conftest.$ac_ext
5905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5906 rm -f conftest.err conftest.
$ac_ext
5907 if $ac_preproc_ok; then
5919 { echo "$as_me:$LINENO: result: $CPP" >&5
5920 echo "${ECHO_T}$CPP" >&6; }
5922 for ac_c_preproc_warn_flag
in '' yes
5924 # Use a header file that comes with gcc, so configuring glibc
5925 # with a fresh cross-compiler works.
5926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5927 # <limits.h> exists even on freestanding compilers.
5928 # On the NeXT, cc -E runs the code through the compiler's parser,
5929 # not just through cpp. "Syntax error" is here to catch this case.
5930 cat >conftest.
$ac_ext <<_ACEOF
5933 cat confdefs.h
>>conftest.
$ac_ext
5934 cat >>conftest.
$ac_ext <<_ACEOF
5935 /* end confdefs.h. */
5937 # include <limits.h>
5939 # include <assert.h>
5943 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5946 *) ac_try_echo=$ac_try;;
5948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5951 grep -v '^ *+' conftest.er1 >conftest.err
5953 cat conftest.err >&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } >/dev/null && {
5956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5957 test ! -s conftest.err
5961 echo "$as_me: failed program was:" >&5
5962 sed 's/^/| /' conftest.$ac_ext >&5
5964 # Broken: fails on valid input.
5968 rm -f conftest.err conftest.$ac_ext
5970 # OK, works on sane cases. Now check whether nonexistent headers
5971 # can be detected and how.
5972 cat >conftest.$ac_ext <<_ACEOF
5975 cat confdefs.h >>conftest.$ac_ext
5976 cat >>conftest.$ac_ext <<_ACEOF
5977 /* end confdefs.h. */
5978 #include <ac_nonexistent.h>
5980 if { (ac_try="$ac_cpp conftest.$ac_ext"
5982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5983 *) ac_try_echo
=$ac_try;;
5985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5988 grep -v '^ *+' conftest.er1
>conftest.err
5990 cat conftest.err
>&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } >/dev
/null
&& {
5993 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5994 test ! -s conftest.err
5996 # Broken: success on invalid input.
5999 echo "$as_me: failed program was:" >&5
6000 sed 's/^/| /' conftest.
$ac_ext >&5
6002 # Passes both tests.
6007 rm -f conftest.err conftest.
$ac_ext
6010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6011 rm -f conftest.err conftest.
$ac_ext
6012 if $ac_preproc_ok; then
6015 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6016 See \`config.log' for more details." >&5
6017 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6018 See \`config.log' for more details." >&2;}
6019 { (exit 1); exit 1; }; }
6023 ac_cpp
='$CPP $CPPFLAGS'
6024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6029 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6030 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6031 if test "${ac_cv_header_stdc+set}" = set; then
6032 echo $ECHO_N "(cached) $ECHO_C" >&6
6034 cat >conftest.
$ac_ext <<_ACEOF
6037 cat confdefs.h
>>conftest.
$ac_ext
6038 cat >>conftest.
$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6053 rm -f conftest.
$ac_objext
6054 if { (ac_try
="$ac_compile"
6056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6057 *) ac_try_echo=$ac_try;;
6059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6060 (eval "$ac_compile") 2>conftest.er1
6062 grep -v '^ *+' conftest.er1 >conftest.err
6064 cat conftest.err >&5
6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); } && {
6067 test -z "$ac_c_werror_flag" ||
6068 test ! -s conftest.err
6069 } && test -s conftest.$ac_objext; then
6070 ac_cv_header_stdc=yes
6072 echo "$as_me: failed program was:" >&5
6073 sed 's/^/| /' conftest.$ac_ext >&5
6075 ac_cv_header_stdc=no
6078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6080 if test $ac_cv_header_stdc = yes; then
6081 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6082 cat >conftest.$ac_ext <<_ACEOF
6085 cat confdefs.h >>conftest.$ac_ext
6086 cat >>conftest.$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6092 $EGREP "memchr" >/dev/null 2>&1; then
6095 ac_cv_header_stdc=no
6101 if test $ac_cv_header_stdc = yes; then
6102 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6103 cat >conftest.$ac_ext <<_ACEOF
6106 cat confdefs.h >>conftest.$ac_ext
6107 cat >>conftest.$ac_ext <<_ACEOF
6108 /* end confdefs.h. */
6112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6113 $EGREP "free" >/dev/null 2>&1; then
6116 ac_cv_header_stdc=no
6122 if test $ac_cv_header_stdc = yes; then
6123 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6124 if test "$cross_compiling" = yes; then
6127 cat >conftest.$ac_ext <<_ACEOF
6130 cat confdefs.h >>conftest.$ac_ext
6131 cat >>conftest.$ac_ext <<_ACEOF
6132 /* end confdefs.h. */
6135 #if ((' ' & 0x0FF) == 0x020)
6136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6139 # define ISLOWER(c) \
6140 (('a' <= (c) && (c) <= 'i') \
6141 || ('j' <= (c) && (c) <= 'r') \
6142 || ('s' <= (c) && (c) <= 'z'))
6143 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6146 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6151 for (i = 0; i < 256; i++)
6152 if (XOR (islower (i), ISLOWER (i))
6153 || toupper (i) != TOUPPER (i))
6158 rm -f conftest$ac_exeext
6159 if { (ac_try="$ac_link"
6161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6162 *) ac_try_echo
=$ac_try;;
6164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6165 (eval "$ac_link") 2>&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6169 { (case "(($ac_try" in
6170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6171 *) ac_try_echo=$ac_try;;
6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6174 (eval "$ac_try") 2>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }; }; then
6180 echo "$as_me: program exited with status $ac_status" >&5
6181 echo "$as_me: failed program was:" >&5
6182 sed 's/^/| /' conftest.$ac_ext >&5
6185 ac_cv_header_stdc=no
6187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6193 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6194 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6195 if test $ac_cv_header_stdc = yes; then
6197 cat >>confdefs.h <<\_ACEOF
6198 #define STDC_HEADERS 1
6203 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6213 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6214 inttypes.h stdint.h unistd.h
6216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 cat >conftest.$ac_ext <<_ACEOF
6225 cat confdefs.h >>conftest.$ac_ext
6226 cat >>conftest.$ac_ext <<_ACEOF
6227 /* end confdefs.h. */
6228 $ac_includes_default
6230 #include <$ac_header>
6232 rm -f conftest.$ac_objext
6233 if { (ac_try="$ac_compile"
6235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6236 *) ac_try_echo
=$ac_try;;
6238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6239 (eval "$ac_compile") 2>conftest.er1
6241 grep -v '^ *+' conftest.er1
>conftest.err
6243 cat conftest.err
>&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } && {
6246 test -z "$ac_c_werror_flag" ||
6247 test ! -s conftest.err
6248 } && test -s conftest.
$ac_objext; then
6249 eval "$as_ac_Header=yes"
6251 echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.
$ac_ext >&5
6254 eval "$as_ac_Header=no"
6257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6259 ac_res
=`eval echo '${'$as_ac_Header'}'`
6260 { echo "$as_me:$LINENO: result: $ac_res" >&5
6261 echo "${ECHO_T}$ac_res" >&6; }
6262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6263 cat >>confdefs.h
<<_ACEOF
6264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6273 for ac_header
in dlfcn.h
6275 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6276 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6277 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6279 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6280 echo $ECHO_N "(cached) $ECHO_C" >&6
6282 ac_res
=`eval echo '${'$as_ac_Header'}'`
6283 { echo "$as_me:$LINENO: result: $ac_res" >&5
6284 echo "${ECHO_T}$ac_res" >&6; }
6286 # Is the header compilable?
6287 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6288 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6289 cat >conftest.
$ac_ext <<_ACEOF
6292 cat confdefs.h
>>conftest.
$ac_ext
6293 cat >>conftest.
$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6295 $ac_includes_default
6296 #include <$ac_header>
6298 rm -f conftest.
$ac_objext
6299 if { (ac_try
="$ac_compile"
6301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6302 *) ac_try_echo=$ac_try;;
6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6305 (eval "$ac_compile") 2>conftest.er1
6307 grep -v '^ *+' conftest.er1 >conftest.err
6309 cat conftest.err >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } && {
6312 test -z "$ac_c_werror_flag" ||
6313 test ! -s conftest.err
6314 } && test -s conftest.$ac_objext; then
6315 ac_header_compiler=yes
6317 echo "$as_me: failed program was:" >&5
6318 sed 's/^/| /' conftest.$ac_ext >&5
6320 ac_header_compiler=no
6323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6324 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6325 echo "${ECHO_T}$ac_header_compiler" >&6; }
6327 # Is the header present?
6328 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6330 cat >conftest.$ac_ext <<_ACEOF
6333 cat confdefs.h >>conftest.$ac_ext
6334 cat >>conftest.$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6336 #include <$ac_header>
6338 if { (ac_try="$ac_cpp conftest.$ac_ext"
6340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6341 *) ac_try_echo
=$ac_try;;
6343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6346 grep -v '^ *+' conftest.er1
>conftest.err
6348 cat conftest.err
>&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); } >/dev
/null
&& {
6351 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6352 test ! -s conftest.err
6354 ac_header_preproc
=yes
6356 echo "$as_me: failed program was:" >&5
6357 sed 's/^/| /' conftest.
$ac_ext >&5
6359 ac_header_preproc
=no
6362 rm -f conftest.err conftest.
$ac_ext
6363 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6364 echo "${ECHO_T}$ac_header_preproc" >&6; }
6366 # So? What about this header?
6367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6369 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6370 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6372 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6373 ac_header_preproc
=yes
6376 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6377 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6378 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6379 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6380 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6381 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6382 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6383 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6386 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6387 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6391 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6393 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6394 echo $ECHO_N "(cached) $ECHO_C" >&6
6396 eval "$as_ac_Header=\$ac_header_preproc"
6398 ac_res
=`eval echo '${'$as_ac_Header'}'`
6399 { echo "$as_me:$LINENO: result: $ac_res" >&5
6400 echo "${ECHO_T}$ac_res" >&6; }
6403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6404 cat >>confdefs.h
<<_ACEOF
6405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6413 ac_cpp
='$CXXCPP $CPPFLAGS'
6414 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6415 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6416 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6417 if test -z "$CXX"; then
6418 if test -n "$CCC"; then
6421 if test -n "$ac_tool_prefix"; then
6422 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6424 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6425 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6428 if test "${ac_cv_prog_CXX+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 if test -n "$CXX"; then
6432 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6438 test -z "$as_dir" && as_dir
=.
6439 for ac_exec_ext
in '' $ac_executable_extensions; do
6440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6441 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6452 if test -n "$CXX"; then
6453 { echo "$as_me:$LINENO: result: $CXX" >&5
6454 echo "${ECHO_T}$CXX" >&6; }
6456 { echo "$as_me:$LINENO: result: no" >&5
6457 echo "${ECHO_T}no" >&6; }
6461 test -n "$CXX" && break
6464 if test -z "$CXX"; then
6466 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6468 # Extract the first word of "$ac_prog", so it can be a program name with args.
6469 set dummy
$ac_prog; ac_word
=$2
6470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6472 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 if test -n "$ac_ct_CXX"; then
6476 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6482 test -z "$as_dir" && as_dir
=.
6483 for ac_exec_ext
in '' $ac_executable_extensions; do
6484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6485 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6496 if test -n "$ac_ct_CXX"; then
6497 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6498 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6500 { echo "$as_me:$LINENO: result: no" >&5
6501 echo "${ECHO_T}no" >&6; }
6505 test -n "$ac_ct_CXX" && break
6508 if test "x$ac_ct_CXX" = x
; then
6511 case $cross_compiling:$ac_tool_warned in
6513 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6514 whose name does not start with the host triplet. If you think this
6515 configuration is useful to you, please write to autoconf@gnu.org." >&5
6516 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6517 whose name does not start with the host triplet. If you think this
6518 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6519 ac_tool_warned
=yes ;;
6527 # Provide some information about the compiler.
6528 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6529 ac_compiler
=`set X $ac_compile; echo $2`
6530 { (ac_try
="$ac_compiler --version >&5"
6532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6533 *) ac_try_echo=$ac_try;;
6535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6536 (eval "$ac_compiler --version >&5") 2>&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); }
6540 { (ac_try="$ac_compiler -v >&5"
6542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6543 *) ac_try_echo
=$ac_try;;
6545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6546 (eval "$ac_compiler -v >&5") 2>&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }
6550 { (ac_try
="$ac_compiler -V >&5"
6552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556 (eval "$ac_compiler -V >&5") 2>&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); }
6561 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6562 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6563 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6564 echo $ECHO_N "(cached) $ECHO_C" >&6
6566 cat >conftest.$ac_ext <<_ACEOF
6569 cat confdefs.h >>conftest.$ac_ext
6570 cat >>conftest.$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6584 rm -f conftest.$ac_objext
6585 if { (ac_try="$ac_compile"
6587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6588 *) ac_try_echo
=$ac_try;;
6590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6591 (eval "$ac_compile") 2>conftest.er1
6593 grep -v '^ *+' conftest.er1
>conftest.err
6595 cat conftest.err
>&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } && {
6598 test -z "$ac_cxx_werror_flag" ||
6599 test ! -s conftest.err
6600 } && test -s conftest.
$ac_objext; then
6603 echo "$as_me: failed program was:" >&5
6604 sed 's/^/| /' conftest.
$ac_ext >&5
6609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6610 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6613 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6614 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6615 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6616 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6617 ac_save_CXXFLAGS
=$CXXFLAGS
6618 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6619 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6620 if test "${ac_cv_prog_cxx_g+set}" = set; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6623 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6624 ac_cxx_werror_flag
=yes
6627 cat >conftest.
$ac_ext <<_ACEOF
6630 cat confdefs.h
>>conftest.
$ac_ext
6631 cat >>conftest.
$ac_ext <<_ACEOF
6632 /* end confdefs.h. */
6642 rm -f conftest.
$ac_objext
6643 if { (ac_try
="$ac_compile"
6645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6646 *) ac_try_echo=$ac_try;;
6648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6649 (eval "$ac_compile") 2>conftest.er1
6651 grep -v '^ *+' conftest.er1 >conftest.err
6653 cat conftest.err >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); } && {
6656 test -z "$ac_cxx_werror_flag" ||
6657 test ! -s conftest.err
6658 } && test -s conftest.$ac_objext; then
6659 ac_cv_prog_cxx_g=yes
6661 echo "$as_me: failed program was:" >&5
6662 sed 's/^/| /' conftest.$ac_ext >&5
6665 cat >conftest.$ac_ext <<_ACEOF
6668 cat confdefs.h >>conftest.$ac_ext
6669 cat >>conftest.$ac_ext <<_ACEOF
6670 /* end confdefs.h. */
6680 rm -f conftest.$ac_objext
6681 if { (ac_try="$ac_compile"
6683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6684 *) ac_try_echo
=$ac_try;;
6686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6687 (eval "$ac_compile") 2>conftest.er1
6689 grep -v '^ *+' conftest.er1
>conftest.err
6691 cat conftest.err
>&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); } && {
6694 test -z "$ac_cxx_werror_flag" ||
6695 test ! -s conftest.err
6696 } && test -s conftest.
$ac_objext; then
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.
$ac_ext >&5
6702 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6704 cat >conftest.
$ac_ext <<_ACEOF
6707 cat confdefs.h
>>conftest.
$ac_ext
6708 cat >>conftest.
$ac_ext <<_ACEOF
6709 /* end confdefs.h. */
6719 rm -f conftest.
$ac_objext
6720 if { (ac_try
="$ac_compile"
6722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6723 *) ac_try_echo=$ac_try;;
6725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6726 (eval "$ac_compile") 2>conftest.er1
6728 grep -v '^ *+' conftest.er1 >conftest.err
6730 cat conftest.err >&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); } && {
6733 test -z "$ac_cxx_werror_flag" ||
6734 test ! -s conftest.err
6735 } && test -s conftest.$ac_objext; then
6736 ac_cv_prog_cxx_g=yes
6738 echo "$as_me: failed program was:" >&5
6739 sed 's/^/| /' conftest.$ac_ext >&5
6744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6751 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6753 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6754 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6755 if test "$ac_test_CXXFLAGS" = set; then
6756 CXXFLAGS=$ac_save_CXXFLAGS
6757 elif test $ac_cv_prog_cxx_g = yes; then
6758 if test "$GXX" = yes; then
6764 if test "$GXX" = yes; then
6771 ac_cpp='$CXXCPP $CPPFLAGS'
6772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6776 depcc="$CXX" am_compiler_list=
6778 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6779 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6780 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6783 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6784 # We make a subdir and do the tests there. Otherwise we can end up
6785 # making bogus files that we don't know about and never remove. For
6786 # instance it was reported that on HP-UX the gcc test will end up
6787 # making a dummy file named `D
' -- because `-MD' means
`put the output
6790 # Copy depcomp to subdir because otherwise we won't find it if we're
6791 # using a relative directory.
6792 cp "$am_depcomp" conftest.dir
6794 # We will build objects and dependencies in a subdirectory because
6795 # it helps to detect inapplicable dependency modes. For instance
6796 # both Tru64's cc and ICC support -MD to output dependencies as a
6797 # side effect of compilation, but ICC will put the dependencies in
6798 # the current directory while Tru64 will put them in the object
6802 am_cv_CXX_dependencies_compiler_type=none
6803 if test "$am_compiler_list" = ""; then
6804 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6806 for depmode in $am_compiler_list; do
6807 # Setup a source with many dependencies, because some compilers
6808 # like to wrap large dependency lists on column 80 (with \), and
6809 # we should not choose a depcomp mode which is confused by this.
6811 # We need to recreate these files for each test, as the compiler may
6812 # overwrite some of them when testing with obscure command lines.
6813 # This happens at least with the AIX C compiler.
6815 for i in 1 2 3 4 5 6; do
6816 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6817 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6818 # Solaris 8's
{/usr
,}/bin
/sh.
6819 touch sub
/conftst
$i.h
6821 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6825 # after this tag, mechanisms are not by side-effect, so they'll
6826 # only be used when explicitly requested
6827 if test "x$enable_dependency_tracking" = xyes
; then
6835 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6836 # mode. It turns out that the SunPro C++ compiler does not properly
6837 # handle `-M -o', and we need to detect this.
6838 if depmode
=$depmode \
6839 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6840 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6841 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6842 >/dev
/null
2>conftest.err
&&
6843 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6844 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6845 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6846 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6847 # icc doesn't choke on unknown options, it will just issue warnings
6848 # or remarks (even with -Werror). So we grep stderr for any message
6849 # that says an option was ignored or not supported.
6850 # When given -MP, icc 7.0 and 7.1 complain thusly:
6851 # icc: Command line warning: ignoring option '-M'; no argument required
6852 # The diagnosis changed in icc 8.0:
6853 # icc: Command line remark: option '-MP' not supported
6854 if (grep 'ignoring option' conftest.err
||
6855 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6856 am_cv_CXX_dependencies_compiler_type
=$depmode
6865 am_cv_CXX_dependencies_compiler_type
=none
6869 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6870 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6871 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6874 test "x$enable_dependency_tracking" != xno \
6875 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6876 am__fastdepCXX_TRUE
=
6877 am__fastdepCXX_FALSE
='#'
6879 am__fastdepCXX_TRUE
='#'
6880 am__fastdepCXX_FALSE
=
6886 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6887 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6888 (test "X$CXX" != "Xg++"))) ; then
6890 ac_cpp
='$CXXCPP $CPPFLAGS'
6891 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6892 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6893 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6894 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6895 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6896 if test -z "$CXXCPP"; then
6897 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6898 echo $ECHO_N "(cached) $ECHO_C" >&6
6900 # Double quotes because CXXCPP needs to be expanded
6901 for CXXCPP
in "$CXX -E" "/lib/cpp"
6904 for ac_cxx_preproc_warn_flag
in '' yes
6906 # Use a header file that comes with gcc, so configuring glibc
6907 # with a fresh cross-compiler works.
6908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6909 # <limits.h> exists even on freestanding compilers.
6910 # On the NeXT, cc -E runs the code through the compiler's parser,
6911 # not just through cpp. "Syntax error" is here to catch this case.
6912 cat >conftest.
$ac_ext <<_ACEOF
6915 cat confdefs.h
>>conftest.
$ac_ext
6916 cat >>conftest.
$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6919 # include <limits.h>
6921 # include <assert.h>
6925 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6928 *) ac_try_echo=$ac_try;;
6930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6933 grep -v '^ *+' conftest.er1 >conftest.err
6935 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } >/dev/null && {
6938 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6939 test ! -s conftest.err
6943 echo "$as_me: failed program was:" >&5
6944 sed 's/^/| /' conftest.$ac_ext >&5
6946 # Broken: fails on valid input.
6950 rm -f conftest.err conftest.$ac_ext
6952 # OK, works on sane cases. Now check whether nonexistent headers
6953 # can be detected and how.
6954 cat >conftest.$ac_ext <<_ACEOF
6957 cat confdefs.h >>conftest.$ac_ext
6958 cat >>conftest.$ac_ext <<_ACEOF
6959 /* end confdefs.h. */
6960 #include <ac_nonexistent.h>
6962 if { (ac_try="$ac_cpp conftest.$ac_ext"
6964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6965 *) ac_try_echo
=$ac_try;;
6967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6970 grep -v '^ *+' conftest.er1
>conftest.err
6972 cat conftest.err
>&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } >/dev
/null
&& {
6975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6976 test ! -s conftest.err
6978 # Broken: success on invalid input.
6981 echo "$as_me: failed program was:" >&5
6982 sed 's/^/| /' conftest.
$ac_ext >&5
6984 # Passes both tests.
6989 rm -f conftest.err conftest.
$ac_ext
6992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6993 rm -f conftest.err conftest.
$ac_ext
6994 if $ac_preproc_ok; then
6999 ac_cv_prog_CXXCPP
=$CXXCPP
7002 CXXCPP
=$ac_cv_prog_CXXCPP
7004 ac_cv_prog_CXXCPP
=$CXXCPP
7006 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7007 echo "${ECHO_T}$CXXCPP" >&6; }
7009 for ac_cxx_preproc_warn_flag
in '' yes
7011 # Use a header file that comes with gcc, so configuring glibc
7012 # with a fresh cross-compiler works.
7013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7014 # <limits.h> exists even on freestanding compilers.
7015 # On the NeXT, cc -E runs the code through the compiler's parser,
7016 # not just through cpp. "Syntax error" is here to catch this case.
7017 cat >conftest.
$ac_ext <<_ACEOF
7020 cat confdefs.h
>>conftest.
$ac_ext
7021 cat >>conftest.
$ac_ext <<_ACEOF
7022 /* end confdefs.h. */
7024 # include <limits.h>
7026 # include <assert.h>
7030 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7033 *) ac_try_echo=$ac_try;;
7035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7038 grep -v '^ *+' conftest.er1 >conftest.err
7040 cat conftest.err >&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); } >/dev/null && {
7043 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7044 test ! -s conftest.err
7048 echo "$as_me: failed program was:" >&5
7049 sed 's/^/| /' conftest.$ac_ext >&5
7051 # Broken: fails on valid input.
7055 rm -f conftest.err conftest.$ac_ext
7057 # OK, works on sane cases. Now check whether nonexistent headers
7058 # can be detected and how.
7059 cat >conftest.$ac_ext <<_ACEOF
7062 cat confdefs.h >>conftest.$ac_ext
7063 cat >>conftest.$ac_ext <<_ACEOF
7064 /* end confdefs.h. */
7065 #include <ac_nonexistent.h>
7067 if { (ac_try="$ac_cpp conftest.$ac_ext"
7069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7070 *) ac_try_echo
=$ac_try;;
7072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7075 grep -v '^ *+' conftest.er1
>conftest.err
7077 cat conftest.err
>&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } >/dev
/null
&& {
7080 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7081 test ! -s conftest.err
7083 # Broken: success on invalid input.
7086 echo "$as_me: failed program was:" >&5
7087 sed 's/^/| /' conftest.
$ac_ext >&5
7089 # Passes both tests.
7094 rm -f conftest.err conftest.
$ac_ext
7097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7098 rm -f conftest.err conftest.
$ac_ext
7099 if $ac_preproc_ok; then
7102 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7103 See \`config.log' for more details." >&5
7104 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7105 See \`config.log' for more details." >&2;}
7106 { (exit 1); exit 1; }; }
7110 ac_cpp
='$CXXCPP $CPPFLAGS'
7111 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7112 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7113 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7119 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7120 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7122 if test -n "$ac_tool_prefix"; then
7123 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
7125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7126 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7129 if test "${ac_cv_prog_F77+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7132 if test -n "$F77"; then
7133 ac_cv_prog_F77
="$F77" # Let the user override the test.
7135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir
=.
7140 for ac_exec_ext
in '' $ac_executable_extensions; do
7141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 if test -n "$F77"; then
7154 { echo "$as_me:$LINENO: result: $F77" >&5
7155 echo "${ECHO_T}$F77" >&6; }
7157 { echo "$as_me:$LINENO: result: no" >&5
7158 echo "${ECHO_T}no" >&6; }
7162 test -n "$F77" && break
7165 if test -z "$F77"; then
7167 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
7169 # Extract the first word of "$ac_prog", so it can be a program name with args.
7170 set dummy
$ac_prog; ac_word
=$2
7171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7173 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7174 echo $ECHO_N "(cached) $ECHO_C" >&6
7176 if test -n "$ac_ct_F77"; then
7177 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir
=.
7184 for ac_exec_ext
in '' $ac_executable_extensions; do
7185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186 ac_cv_prog_ac_ct_F77
="$ac_prog"
7187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7197 if test -n "$ac_ct_F77"; then
7198 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7199 echo "${ECHO_T}$ac_ct_F77" >&6; }
7201 { echo "$as_me:$LINENO: result: no" >&5
7202 echo "${ECHO_T}no" >&6; }
7206 test -n "$ac_ct_F77" && break
7209 if test "x$ac_ct_F77" = x
; then
7212 case $cross_compiling:$ac_tool_warned in
7214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7215 whose name does not start with the host triplet. If you think this
7216 configuration is useful to you, please write to autoconf@gnu.org." >&5
7217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7218 whose name does not start with the host triplet. If you think this
7219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7220 ac_tool_warned
=yes ;;
7227 # Provide some information about the compiler.
7228 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7229 ac_compiler
=`set X $ac_compile; echo $2`
7230 { (ac_try
="$ac_compiler --version >&5"
7232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7233 *) ac_try_echo=$ac_try;;
7235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7236 (eval "$ac_compiler --version >&5") 2>&5
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }
7240 { (ac_try="$ac_compiler -v >&5"
7242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7243 *) ac_try_echo
=$ac_try;;
7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7246 (eval "$ac_compiler -v >&5") 2>&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }
7250 { (ac_try
="$ac_compiler -V >&5"
7252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7253 *) ac_try_echo=$ac_try;;
7255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7256 (eval "$ac_compiler -V >&5") 2>&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); }
7262 # If we don't use `.F
' as extension, the preprocessor is not run on the
7263 # input file. (Note that this only needs to work for GNU compilers.)
7266 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7267 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7268 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7269 echo $ECHO_N "(cached) $ECHO_C" >&6
7271 cat >conftest.$ac_ext <<_ACEOF
7279 rm -f conftest.$ac_objext
7280 if { (ac_try="$ac_compile"
7282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7283 *) ac_try_echo=$ac_try;;
7285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7286 (eval "$ac_compile") 2>conftest.er1
7288 grep -v '^
*+' conftest.er1 >conftest.err
7290 cat conftest.err >&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); } && {
7293 test -z "$ac_f77_werror_flag" ||
7294 test ! -s conftest.err
7295 } && test -s conftest.$ac_objext; then
7298 echo "$as_me: failed program was:" >&5
7299 sed 's
/^
/| /' conftest.$ac_ext >&5
7304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7305 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7308 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7309 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7311 ac_test_FFLAGS=${FFLAGS+set}
7312 ac_save_FFLAGS=$FFLAGS
7314 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7315 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7316 if test "${ac_cv_prog_f77_g+set}" = set; then
7317 echo $ECHO_N "(cached) $ECHO_C" >&6
7320 cat >conftest.$ac_ext <<_ACEOF
7325 rm -f conftest.$ac_objext
7326 if { (ac_try="$ac_compile"
7328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7329 *) ac_try_echo=$ac_try;;
7331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7332 (eval "$ac_compile") 2>conftest.er1
7334 grep -v '^
*+' conftest.er1 >conftest.err
7336 cat conftest.err >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } && {
7339 test -z "$ac_f77_werror_flag" ||
7340 test ! -s conftest.err
7341 } && test -s conftest.$ac_objext; then
7342 ac_cv_prog_f77_g=yes
7344 echo "$as_me: failed program was:" >&5
7345 sed 's
/^
/| /' conftest.$ac_ext >&5
7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7353 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7354 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7355 if test "$ac_test_FFLAGS" = set; then
7356 FFLAGS=$ac_save_FFLAGS
7357 elif test $ac_cv_prog_f77_g = yes; then
7358 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7364 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7371 G77=`test $ac_compiler_gnu = yes && echo yes`
7373 ac_cpp='$CPP $CPPFLAGS'
7374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7375 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7380 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
7381 # find the maximum length of command line arguments
7382 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7383 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7384 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7385 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 # On DJGPP, this test can blow up pretty badly due to problems in libc
7393 # (any single argument exceeding 2000 bytes causes a buffer overrun
7394 # during glob expansion). Even if it were fixed, the result of this
7395 # check would be larger than it should be.
7396 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7400 # Under GNU Hurd, this test is not required because there is
7401 # no limit to the length of command line arguments.
7402 # Libtool will interpret -1 as no limit whatsoever
7403 lt_cv_sys_max_cmd_len
=-1;
7407 # On Win9x/ME, this test blows up -- it succeeds, but takes
7408 # about 5 minutes as the teststring grows exponentially.
7409 # Worse, since 9x/ME are not pre-emptively multitasking,
7410 # you end up with a "frozen" computer, even though with patience
7411 # the test eventually succeeds (with a max line length of 256k).
7412 # Instead, let's just punt: use the minimum linelength reported by
7413 # all of the supported platforms: 8192 (on NT/2K/XP).
7414 lt_cv_sys_max_cmd_len
=8192;
7418 # On AmigaOS with pdksh, this test takes hours, literally.
7419 # So we just punt and use a minimum line length of 8192.
7420 lt_cv_sys_max_cmd_len
=8192;
7423 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7424 # This has been around since 386BSD, at least. Likely further.
7425 if test -x /sbin
/sysctl
; then
7426 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7427 elif test -x /usr
/sbin
/sysctl
; then
7428 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7430 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7432 # And add a safety zone
7433 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7434 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7438 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7439 lt_cv_sys_max_cmd_len
=196608
7443 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7444 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7445 # nice to cause kernel panics so lets avoid the loop below.
7446 # First set a reasonable default.
7447 lt_cv_sys_max_cmd_len
=16384
7449 if test -x /sbin
/sysconfig
; then
7450 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7451 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7456 lt_cv_sys_max_cmd_len
=102400
7458 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7459 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7460 if test -n "$kargmax"; then
7461 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7463 lt_cv_sys_max_cmd_len
=32768
7467 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7468 if test -n "$lt_cv_sys_max_cmd_len"; then
7469 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7470 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7472 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7473 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7474 = "XX$teststring") >/dev
/null
2>&1 &&
7475 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
7476 lt_cv_sys_max_cmd_len
=$new_result &&
7477 test $i != 17 # 1/2 MB should be enough
7480 teststring
=$teststring$teststring
7483 # Add a significant safety factor because C++ compilers can tack on massive
7484 # amounts of additional arguments before passing them to the linker.
7485 # It appears as though 1/2 is a usable value.
7486 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7493 if test -n $lt_cv_sys_max_cmd_len ; then
7494 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7495 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7497 { echo "$as_me:$LINENO: result: none" >&5
7498 echo "${ECHO_T}none" >&6; }
7505 # Check for command to grab the raw symbol name followed by C symbol from nm.
7506 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7507 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7508 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7512 # These are sane defaults that work on at least a few old systems.
7513 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7515 # Character class describing NM global symbol codes.
7516 symcode
='[BCDEGRST]'
7518 # Regexp to match symbols that can be accessed directly from C.
7519 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7521 # Transform an extracted symbol line into a proper C declaration
7522 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7524 # Transform an extracted symbol line into symbol name and symbol address
7525 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'"
7527 # Define system-specific variables.
7532 cygwin
* | mingw
* | pw32
*)
7533 symcode
='[ABCDGISTW]'
7535 hpux
*) # Its linker distinguishes data from code symbols
7536 if test "$host_cpu" = ia64
; then
7537 symcode
='[ABCDEGRST]'
7539 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7540 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'"
7542 linux
* | k
*bsd
*-gnu)
7543 if test "$host_cpu" = ia64
; then
7544 symcode
='[ABCDGIRSTW]'
7545 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7546 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'"
7550 symcode
='[BCDEGRST]'
7553 symcode
='[BCDEGQRST]'
7564 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7572 # Handle CRLF in mingw tool chain
7576 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7580 # If we're using GNU nm, then use its standard symbol codes.
7581 case `$NM -V 2>&1` in
7582 *GNU
* | *'with BFD'*)
7583 symcode
='[ABCDGIRSTW]' ;;
7586 # Try without a prefix undercore, then with it.
7587 for ac_symprfx
in "" "_"; do
7589 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7590 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7592 # Write the raw and C identifiers.
7593 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7595 # Check to see that the pipe works correctly.
7599 cat > conftest.
$ac_ext <<EOF
7604 void nm_test_func(){}
7608 int main(){nm_test_var='a';nm_test_func();return(0);}
7611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7612 (eval $ac_compile) 2>&5
7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 (exit $ac_status); }; then
7616 # Now try to grab the symbols.
7618 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7619 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); } && test -s "$nlist"; then
7623 # Try sorting and uniquifying the output.
7624 if sort "$nlist" | uniq > "$nlist"T
; then
7625 mv -f "$nlist"T
"$nlist"
7630 # Make sure that we snagged all the symbols we need.
7631 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
7632 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
7633 cat <<EOF > conftest.$ac_ext
7639 # Now generate the symbol file.
7640 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7642 cat <<EOF >> conftest.$ac_ext
7643 #if defined (__STDC__) && __STDC__
7644 # define lt_ptr_t void *
7646 # define lt_ptr_t char *
7650 /* The mapping between symbol names and symbols. */
7655 lt_preloaded_symbols[] =
7658 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main
>> conftest.
$ac_ext
7659 cat <<\EOF
>> conftest.
$ac_ext
7667 # Now try linking the two files.
7668 mv conftest.
$ac_objext conftstm.
$ac_objext
7669 lt_save_LIBS
="$LIBS"
7670 lt_save_CFLAGS
="$CFLAGS"
7671 LIBS
="conftstm.$ac_objext"
7672 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7674 (eval $ac_link) 2>&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
7680 LIBS
="$lt_save_LIBS"
7681 CFLAGS
="$lt_save_CFLAGS"
7683 echo "cannot find nm_test_func in $nlist" >&5
7686 echo "cannot find nm_test_var in $nlist" >&5
7689 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7692 echo "$progname: failed program was:" >&5
7693 cat conftest.
$ac_ext >&5
7695 rm -rf conftest
* conftst
*
7697 # Do not use the global_symbol_pipe unless it works.
7698 if test "$pipe_works" = yes; then
7701 lt_cv_sys_global_symbol_pipe
=
7707 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7708 lt_cv_sys_global_symbol_to_cdecl
=
7710 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7711 { echo "$as_me:$LINENO: result: failed" >&5
7712 echo "${ECHO_T}failed" >&6; }
7714 { echo "$as_me:$LINENO: result: ok" >&5
7715 echo "${ECHO_T}ok" >&6; }
7718 { echo "$as_me:$LINENO: checking for objdir" >&5
7719 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7720 if test "${lt_cv_objdir+set}" = set; then
7721 echo $ECHO_N "(cached) $ECHO_C" >&6
7723 rm -f .libs
2>/dev
/null
7724 mkdir .libs
2>/dev
/null
7725 if test -d .libs
; then
7728 # MS-DOS does not allow filenames that begin with a dot.
7731 rmdir .libs
2>/dev
/null
7733 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7734 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7735 objdir
=$lt_cv_objdir
7743 # AIX sometimes has problems with the GCC collect2 program. For some
7744 # reason, if we set the COLLECT_NAMES environment variable, the problems
7745 # vanish in a puff of smoke.
7746 if test "X${COLLECT_NAMES+set}" != Xset
; then
7748 export COLLECT_NAMES
7753 # Sed substitution that helps us do robust quoting. It backslashifies
7754 # metacharacters that are still active within double-quoted strings.
7755 Xsed
='sed -e 1s/^X//'
7756 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
7758 # Same as above, but do not quote variable references.
7759 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
7761 # Sed substitution to delay expansion of an escaped shell variable in a
7762 # double_quote_subst'ed string.
7763 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7765 # Sed substitution to avoid accidental globbing in evaled expressions
7766 no_glob_subst
='s/\*/\\\*/g'
7772 default_ofile
=libtool
7773 can_build_shared
=yes
7775 # All known linkers require a `.a' archive for static linking (except MSVC,
7776 # which needs '.lib').
7778 ltmain
="$ac_aux_dir/ltmain.sh"
7779 ofile
="$default_ofile"
7780 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7782 if test -n "$ac_tool_prefix"; then
7783 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7784 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7787 if test "${ac_cv_prog_AR+set}" = set; then
7788 echo $ECHO_N "(cached) $ECHO_C" >&6
7790 if test -n "$AR"; then
7791 ac_cv_prog_AR
="$AR" # Let the user override the test.
7793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7797 test -z "$as_dir" && as_dir
=.
7798 for ac_exec_ext
in '' $ac_executable_extensions; do
7799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7800 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7811 if test -n "$AR"; then
7812 { echo "$as_me:$LINENO: result: $AR" >&5
7813 echo "${ECHO_T}$AR" >&6; }
7815 { echo "$as_me:$LINENO: result: no" >&5
7816 echo "${ECHO_T}no" >&6; }
7821 if test -z "$ac_cv_prog_AR"; then
7823 # Extract the first word of "ar", so it can be a program name with args.
7824 set dummy
ar; ac_word
=$2
7825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7827 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7828 echo $ECHO_N "(cached) $ECHO_C" >&6
7830 if test -n "$ac_ct_AR"; then
7831 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7837 test -z "$as_dir" && as_dir
=.
7838 for ac_exec_ext
in '' $ac_executable_extensions; do
7839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7840 ac_cv_prog_ac_ct_AR
="ar"
7841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7850 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7851 if test -n "$ac_ct_AR"; then
7852 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7853 echo "${ECHO_T}$ac_ct_AR" >&6; }
7855 { echo "$as_me:$LINENO: result: no" >&5
7856 echo "${ECHO_T}no" >&6; }
7859 if test "x$ac_ct_AR" = x
; then
7862 case $cross_compiling:$ac_tool_warned in
7864 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7865 whose name does not start with the host triplet. If you think this
7866 configuration is useful to you, please write to autoconf@gnu.org." >&5
7867 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7868 whose name does not start with the host triplet. If you think this
7869 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7870 ac_tool_warned
=yes ;;
7878 if test -n "$ac_tool_prefix"; then
7879 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7880 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7883 if test "${ac_cv_prog_RANLIB+set}" = set; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 if test -n "$RANLIB"; then
7887 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7893 test -z "$as_dir" && as_dir
=.
7894 for ac_exec_ext
in '' $ac_executable_extensions; do
7895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7896 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7906 RANLIB
=$ac_cv_prog_RANLIB
7907 if test -n "$RANLIB"; then
7908 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7909 echo "${ECHO_T}$RANLIB" >&6; }
7911 { echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6; }
7917 if test -z "$ac_cv_prog_RANLIB"; then
7918 ac_ct_RANLIB
=$RANLIB
7919 # Extract the first word of "ranlib", so it can be a program name with args.
7920 set dummy ranlib
; ac_word
=$2
7921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7923 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7924 echo $ECHO_N "(cached) $ECHO_C" >&6
7926 if test -n "$ac_ct_RANLIB"; then
7927 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7933 test -z "$as_dir" && as_dir
=.
7934 for ac_exec_ext
in '' $ac_executable_extensions; do
7935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7936 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7946 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7947 if test -n "$ac_ct_RANLIB"; then
7948 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7949 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7951 { echo "$as_me:$LINENO: result: no" >&5
7952 echo "${ECHO_T}no" >&6; }
7955 if test "x$ac_ct_RANLIB" = x
; then
7958 case $cross_compiling:$ac_tool_warned in
7960 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7961 whose name does not start with the host triplet. If you think this
7962 configuration is useful to you, please write to autoconf@gnu.org." >&5
7963 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7964 whose name does not start with the host triplet. If you think this
7965 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7966 ac_tool_warned
=yes ;;
7968 RANLIB
=$ac_ct_RANLIB
7971 RANLIB
="$ac_cv_prog_RANLIB"
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7976 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7979 if test "${ac_cv_prog_STRIP+set}" = set; then
7980 echo $ECHO_N "(cached) $ECHO_C" >&6
7982 if test -n "$STRIP"; then
7983 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir
=.
7990 for ac_exec_ext
in '' $ac_executable_extensions; do
7991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7992 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 STRIP
=$ac_cv_prog_STRIP
8003 if test -n "$STRIP"; then
8004 { echo "$as_me:$LINENO: result: $STRIP" >&5
8005 echo "${ECHO_T}$STRIP" >&6; }
8007 { echo "$as_me:$LINENO: result: no" >&5
8008 echo "${ECHO_T}no" >&6; }
8013 if test -z "$ac_cv_prog_STRIP"; then
8015 # Extract the first word of "strip", so it can be a program name with args.
8016 set dummy strip
; ac_word
=$2
8017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8019 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8020 echo $ECHO_N "(cached) $ECHO_C" >&6
8022 if test -n "$ac_ct_STRIP"; then
8023 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8029 test -z "$as_dir" && as_dir
=.
8030 for ac_exec_ext
in '' $ac_executable_extensions; do
8031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8032 ac_cv_prog_ac_ct_STRIP
="strip"
8033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8043 if test -n "$ac_ct_STRIP"; then
8044 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8045 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8047 { echo "$as_me:$LINENO: result: no" >&5
8048 echo "${ECHO_T}no" >&6; }
8051 if test "x$ac_ct_STRIP" = x
; then
8054 case $cross_compiling:$ac_tool_warned in
8056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8057 whose name does not start with the host triplet. If you think this
8058 configuration is useful to you, please write to autoconf@gnu.org." >&5
8059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8060 whose name does not start with the host triplet. If you think this
8061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8062 ac_tool_warned
=yes ;;
8067 STRIP
="$ac_cv_prog_STRIP"
8072 old_CFLAGS
="$CFLAGS"
8074 # Set sane defaults for various variables
8075 test -z "$AR" && AR
=ar
8076 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8077 test -z "$AS" && AS
=as
8078 test -z "$CC" && CC
=cc
8079 test -z "$LTCC" && LTCC
=$CC
8080 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8081 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8082 test -z "$LD" && LD
=ld
8083 test -z "$LN_S" && LN_S
="ln -s"
8084 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8085 test -z "$NM" && NM
=nm
8086 test -z "$SED" && SED
=sed
8087 test -z "$OBJDUMP" && OBJDUMP
=objdump
8088 test -z "$RANLIB" && RANLIB
=:
8089 test -z "$STRIP" && STRIP
=:
8090 test -z "$ac_objext" && ac_objext
=o
8092 # Determine commands to create old-style static archives.
8093 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8094 old_postinstall_cmds
='chmod 644 $oldlib'
8095 old_postuninstall_cmds
=
8097 if test -n "$RANLIB"; then
8100 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8103 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8106 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8109 for cc_temp
in $compiler""; do
8111 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8112 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8117 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8120 # Only perform the check for file, if the check method requires it
8121 case $deplibs_check_method in
8123 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8124 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8125 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8126 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8131 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8134 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8135 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8136 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8137 for ac_dir
in $ac_dummy; do
8139 test -z "$ac_dir" && ac_dir
=.
8140 if test -f $ac_dir/${ac_tool_prefix}file; then
8141 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8142 if test -n "$file_magic_test_file"; then
8143 case $deplibs_check_method in
8145 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8146 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8147 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8148 $EGREP "$file_magic_regex" > /dev
/null
; then
8153 *** Warning: the command libtool uses to detect shared libraries,
8154 *** $file_magic_cmd, produces output that libtool cannot recognize.
8155 *** The result is that libtool may fail to recognize shared libraries
8156 *** as such. This will affect the creation of libtool libraries that
8157 *** depend on shared libraries, but programs linked with such libtool
8158 *** libraries will work regardless of this problem. Nevertheless, you
8159 *** may want to report the problem to your system manager and/or to
8160 *** bug-libtool@gnu.org
8170 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8175 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8176 if test -n "$MAGIC_CMD"; then
8177 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8178 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8180 { echo "$as_me:$LINENO: result: no" >&5
8181 echo "${ECHO_T}no" >&6; }
8184 if test -z "$lt_cv_path_MAGIC_CMD"; then
8185 if test -n "$ac_tool_prefix"; then
8186 { echo "$as_me:$LINENO: checking for file" >&5
8187 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8188 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8189 echo $ECHO_N "(cached) $ECHO_C" >&6
8193 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8196 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8197 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8198 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8199 for ac_dir
in $ac_dummy; do
8201 test -z "$ac_dir" && ac_dir
=.
8202 if test -f $ac_dir/file; then
8203 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8204 if test -n "$file_magic_test_file"; then
8205 case $deplibs_check_method in
8207 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8208 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8209 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8210 $EGREP "$file_magic_regex" > /dev
/null
; then
8215 *** Warning: the command libtool uses to detect shared libraries,
8216 *** $file_magic_cmd, produces output that libtool cannot recognize.
8217 *** The result is that libtool may fail to recognize shared libraries
8218 *** as such. This will affect the creation of libtool libraries that
8219 *** depend on shared libraries, but programs linked with such libtool
8220 *** libraries will work regardless of this problem. Nevertheless, you
8221 *** may want to report the problem to your system manager and/or to
8222 *** bug-libtool@gnu.org
8232 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8237 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8238 if test -n "$MAGIC_CMD"; then
8239 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8240 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8242 { echo "$as_me:$LINENO: result: no" >&5
8243 echo "${ECHO_T}no" >&6; }
8257 rhapsody
* | darwin
*)
8258 if test -n "$ac_tool_prefix"; then
8259 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8260 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8263 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8264 echo $ECHO_N "(cached) $ECHO_C" >&6
8266 if test -n "$DSYMUTIL"; then
8267 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8273 test -z "$as_dir" && as_dir
=.
8274 for ac_exec_ext
in '' $ac_executable_extensions; do
8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8276 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8286 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8287 if test -n "$DSYMUTIL"; then
8288 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8289 echo "${ECHO_T}$DSYMUTIL" >&6; }
8291 { echo "$as_me:$LINENO: result: no" >&5
8292 echo "${ECHO_T}no" >&6; }
8297 if test -z "$ac_cv_prog_DSYMUTIL"; then
8298 ac_ct_DSYMUTIL
=$DSYMUTIL
8299 # Extract the first word of "dsymutil", so it can be a program name with args.
8300 set dummy dsymutil
; ac_word
=$2
8301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8303 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8304 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 if test -n "$ac_ct_DSYMUTIL"; then
8307 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8313 test -z "$as_dir" && as_dir
=.
8314 for ac_exec_ext
in '' $ac_executable_extensions; do
8315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8316 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8326 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8327 if test -n "$ac_ct_DSYMUTIL"; then
8328 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8329 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
8331 { echo "$as_me:$LINENO: result: no" >&5
8332 echo "${ECHO_T}no" >&6; }
8335 if test "x$ac_ct_DSYMUTIL" = x
; then
8338 case $cross_compiling:$ac_tool_warned in
8340 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8341 whose name does not start with the host triplet. If you think this
8342 configuration is useful to you, please write to autoconf@gnu.org." >&5
8343 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8344 whose name does not start with the host triplet. If you think this
8345 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8346 ac_tool_warned
=yes ;;
8348 DSYMUTIL
=$ac_ct_DSYMUTIL
8351 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8354 if test -n "$ac_tool_prefix"; then
8355 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8356 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8359 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8362 if test -n "$NMEDIT"; then
8363 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir
=.
8370 for ac_exec_ext
in '' $ac_executable_extensions; do
8371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8372 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8382 NMEDIT
=$ac_cv_prog_NMEDIT
8383 if test -n "$NMEDIT"; then
8384 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
8385 echo "${ECHO_T}$NMEDIT" >&6; }
8387 { echo "$as_me:$LINENO: result: no" >&5
8388 echo "${ECHO_T}no" >&6; }
8393 if test -z "$ac_cv_prog_NMEDIT"; then
8394 ac_ct_NMEDIT
=$NMEDIT
8395 # Extract the first word of "nmedit", so it can be a program name with args.
8396 set dummy nmedit
; ac_word
=$2
8397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8399 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8400 echo $ECHO_N "(cached) $ECHO_C" >&6
8402 if test -n "$ac_ct_NMEDIT"; then
8403 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8409 test -z "$as_dir" && as_dir
=.
8410 for ac_exec_ext
in '' $ac_executable_extensions; do
8411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8412 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8422 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8423 if test -n "$ac_ct_NMEDIT"; then
8424 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8425 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
8427 { echo "$as_me:$LINENO: result: no" >&5
8428 echo "${ECHO_T}no" >&6; }
8431 if test "x$ac_ct_NMEDIT" = x
; then
8434 case $cross_compiling:$ac_tool_warned in
8436 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8437 whose name does not start with the host triplet. If you think this
8438 configuration is useful to you, please write to autoconf@gnu.org." >&5
8439 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8440 whose name does not start with the host triplet. If you think this
8441 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8442 ac_tool_warned
=yes ;;
8444 NMEDIT
=$ac_ct_NMEDIT
8447 NMEDIT
="$ac_cv_prog_NMEDIT"
8451 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8452 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
8453 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8454 echo $ECHO_N "(cached) $ECHO_C" >&6
8456 lt_cv_apple_cc_single_mod
=no
8457 if test -z "${LT_MULTI_MODULE}"; then
8458 # By default we will add the -single_module flag. You can override
8459 # by either setting the environment variable LT_MULTI_MODULE
8460 # non-empty at configure time, or by adding -multi_module to the
8462 echo "int foo(void){return 1;}" > conftest.c
8463 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8464 -dynamiclib ${wl}-single_module conftest.c
8465 if test -f libconftest.dylib
; then
8466 lt_cv_apple_cc_single_mod
=yes
8467 rm -rf libconftest.dylib
*
8472 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8473 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8474 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8475 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
8476 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8477 echo $ECHO_N "(cached) $ECHO_C" >&6
8479 lt_cv_ld_exported_symbols_list
=no
8480 save_LDFLAGS
=$LDFLAGS
8481 echo "_main" > conftest.sym
8482 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8483 cat >conftest.
$ac_ext <<_ACEOF
8486 cat confdefs.h
>>conftest.
$ac_ext
8487 cat >>conftest.
$ac_ext <<_ACEOF
8488 /* end confdefs.h. */
8498 rm -f conftest.
$ac_objext conftest
$ac_exeext
8499 if { (ac_try
="$ac_link"
8501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8502 *) ac_try_echo=$ac_try;;
8504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8505 (eval "$ac_link") 2>conftest.er1
8507 grep -v '^ *+' conftest.er1 >conftest.err
8509 cat conftest.err >&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); } && {
8512 test -z "$ac_c_werror_flag" ||
8513 test ! -s conftest.err
8514 } && test -s conftest$ac_exeext &&
8515 $as_test_x conftest$ac_exeext; then
8516 lt_cv_ld_exported_symbols_list=yes
8518 echo "$as_me: failed program was:" >&5
8519 sed 's/^/| /' conftest.$ac_ext >&5
8521 lt_cv_ld_exported_symbols_list=no
8524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8525 conftest$ac_exeext conftest.$ac_ext
8526 LDFLAGS="$save_LDFLAGS"
8529 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8530 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
8532 rhapsody* | darwin1.[0123])
8533 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8535 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8537 # if running on 10.5 or later, the deployment target defaults
8538 # to the OS version, if on x86, and 10.4, the deployment
8539 # target defaults to 10.4. Don't you love it?
8540 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8541 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8542 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8544 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8546 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8550 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8551 _lt_dar_single_mod='$single_module'
8553 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8554 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8556 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
8558 if test "$DSYMUTIL" != ":"; then
8559 _lt_dsymutil="~$DSYMUTIL \$lib || :"
8570 # Check whether --enable-libtool-lock was given.
8571 if test "${enable_libtool_lock+set}" = set; then
8572 enableval=$enable_libtool_lock;
8575 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8578 # Check whether --with-pic was given.
8579 if test "${with_pic+set}" = set; then
8580 withval=$with_pic; pic_mode="$withval"
8585 test -z "$pic_mode" && pic_mode=default
8587 # Use C for the default configuration in the libtool script
8591 ac_cpp='$CPP $CPPFLAGS'
8592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8597 # Source file extension for C test sources.
8600 # Object file extension for compiled C test sources.
8604 # Code to be used in simple compile tests
8605 lt_simple_compile_test_code="int some_variable = 0;"
8607 # Code to be used in simple link tests
8608 lt_simple_link_test_code='int main(){return(0);}'
8611 # If no C compiler was specified, use CC.
8614 # If no C compiler flags were specified, use CFLAGS.
8615 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8617 # Allow CC to be a program name with arguments.
8621 # save warnings/boilerplate of simple test code
8622 ac_outfile=conftest.$ac_objext
8623 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8624 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8625 _lt_compiler_boilerplate=`cat conftest.err
`
8628 ac_outfile=conftest.$ac_objext
8629 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8630 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8631 _lt_linker_boilerplate=`cat conftest.err
`
8636 lt_prog_compiler_no_builtin_flag=
8638 if test "$GCC" = yes; then
8639 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8642 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8643 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8644 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8645 echo $ECHO_N "(cached) $ECHO_C" >&6
8647 lt_cv_prog_compiler_rtti_exceptions=no
8648 ac_outfile=conftest.$ac_objext
8649 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8650 lt_compiler_flag="-fno-rtti -fno-exceptions"
8651 # Insert the option either (1) after the last *FLAGS variable, or
8652 # (2) before a word containing "conftest.", or (3) at the end.
8653 # Note that $ac_compile itself does not contain backslashes and begins
8654 # with a dollar sign (not a hyphen), so the echo should work correctly.
8655 # The option is referenced via a variable to avoid confusing sed.
8656 lt_compile=`echo "$ac_compile" | $SED \
8657 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8659 -e 's:$: $lt_compiler_flag:'`
8660 (eval echo "\"\$as_me:8660: $lt_compile\"" >&5)
8661 (eval "$lt_compile" 2>conftest.err)
8663 cat conftest.err >&5
8664 echo "$as_me:8664: \$? = $ac_status" >&5
8665 if (exit $ac_status) && test -s "$ac_outfile"; then
8666 # The compiler can only warn and ignore the option if not recognized
8667 # So say no if there are warnings other than the usual output.
8668 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8669 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8670 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8671 lt_cv_prog_compiler_rtti_exceptions=yes
8677 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8678 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8680 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8681 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8688 lt_prog_compiler_wl=
8689 lt_prog_compiler_pic=
8690 lt_prog_compiler_static=
8692 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8693 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8695 if test "$GCC" = yes; then
8696 lt_prog_compiler_wl='-Wl,'
8697 lt_prog_compiler_static='-static'
8701 # All AIX code is PIC.
8702 if test "$host_cpu" = ia64; then
8703 # AIX 5 now supports IA64 processor
8704 lt_prog_compiler_static='-Bstatic'
8709 # FIXME: we need at least 68020 code to build shared libraries, but
8710 # adding the `-m68020' flag to GCC prevents building anything better,
8712 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8715 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8716 # PIC is the default for these OSes.
8719 mingw
* | cygwin
* | pw32
* | os2
*)
8720 # This hack is so that the source file can tell whether it is being
8721 # built for inclusion in a dll (and should export symbols for example).
8722 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8723 # (--disable-auto-import) libraries
8724 lt_prog_compiler_pic
='-DDLL_EXPORT'
8727 darwin
* | rhapsody
*)
8728 # PIC is the default on this platform
8729 # Common symbols not allowed in MH_DYLIB files
8730 lt_prog_compiler_pic
='-fno-common'
8734 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8735 # Instead, we relocate shared libraries at runtime.
8739 # Just because we use GCC doesn't mean we suddenly get shared libraries
8740 # on systems that don't support them.
8741 lt_prog_compiler_can_build_shared
=no
8746 if test -d /usr
/nec
; then
8747 lt_prog_compiler_pic
=-Kconform_pic
8752 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8759 lt_prog_compiler_pic
='-fPIC'
8765 lt_prog_compiler_pic
='-fPIC'
8769 # PORTME Check for flag to pass linker flags through the system compiler.
8772 lt_prog_compiler_wl
='-Wl,'
8773 if test "$host_cpu" = ia64
; then
8774 # AIX 5 now supports IA64 processor
8775 lt_prog_compiler_static
='-Bstatic'
8777 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8781 # PIC is the default on this platform
8782 # Common symbols not allowed in MH_DYLIB files
8783 case $cc_basename in
8785 lt_prog_compiler_pic
='-qnocommon'
8786 lt_prog_compiler_wl
='-Wl,'
8791 mingw
* | cygwin
* | pw32
* | os2
*)
8792 # This hack is so that the source file can tell whether it is being
8793 # built for inclusion in a dll (and should export symbols for example).
8794 lt_prog_compiler_pic
='-DDLL_EXPORT'
8797 hpux9
* | hpux10
* | hpux11
*)
8798 lt_prog_compiler_wl
='-Wl,'
8799 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8806 lt_prog_compiler_pic
='+Z'
8809 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8810 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8813 irix5
* | irix6
* | nonstopux
*)
8814 lt_prog_compiler_wl
='-Wl,'
8815 # PIC (with -KPIC) is the default.
8816 lt_prog_compiler_static
='-non_shared'
8820 lt_prog_compiler_pic
='-KPIC'
8821 lt_prog_compiler_static
='-Bstatic'
8824 linux
* | k
*bsd
*-gnu)
8825 case $cc_basename in
8827 lt_prog_compiler_wl
='-Wl,'
8828 lt_prog_compiler_pic
='-KPIC'
8829 lt_prog_compiler_static
='-static'
8831 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8832 # Portland Group compilers (*not* the Pentium gcc compiler,
8833 # which looks to be a dead project)
8834 lt_prog_compiler_wl
='-Wl,'
8835 lt_prog_compiler_pic
='-fpic'
8836 lt_prog_compiler_static
='-Bstatic'
8839 lt_prog_compiler_wl
='-Wl,'
8840 # All Alpha code is PIC.
8841 lt_prog_compiler_static
='-non_shared'
8844 case `$CC -V 2>&1 | sed 5q` in
8847 lt_prog_compiler_pic
='-KPIC'
8848 lt_prog_compiler_static
='-Bstatic'
8849 lt_prog_compiler_wl
='-Wl,'
8852 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8853 lt_prog_compiler_pic
='-KPIC'
8854 lt_prog_compiler_static
='-Bstatic'
8855 lt_prog_compiler_wl
=''
8862 osf3
* | osf4
* | osf5
*)
8863 lt_prog_compiler_wl
='-Wl,'
8864 # All OSF/1 code is PIC.
8865 lt_prog_compiler_static
='-non_shared'
8869 lt_prog_compiler_static
='-non_shared'
8873 lt_prog_compiler_pic
='-KPIC'
8874 lt_prog_compiler_static
='-Bstatic'
8875 case $cc_basename in
8877 lt_prog_compiler_wl
='-Qoption ld ';;
8879 lt_prog_compiler_wl
='-Wl,';;
8884 lt_prog_compiler_wl
='-Qoption ld '
8885 lt_prog_compiler_pic
='-PIC'
8886 lt_prog_compiler_static
='-Bstatic'
8889 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8890 lt_prog_compiler_wl
='-Wl,'
8891 lt_prog_compiler_pic
='-KPIC'
8892 lt_prog_compiler_static
='-Bstatic'
8896 if test -d /usr
/nec
;then
8897 lt_prog_compiler_pic
='-Kconform_pic'
8898 lt_prog_compiler_static
='-Bstatic'
8902 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8903 lt_prog_compiler_wl
='-Wl,'
8904 lt_prog_compiler_pic
='-KPIC'
8905 lt_prog_compiler_static
='-Bstatic'
8909 lt_prog_compiler_wl
='-Wl,'
8910 lt_prog_compiler_can_build_shared
=no
8914 lt_prog_compiler_pic
='-pic'
8915 lt_prog_compiler_static
='-Bstatic'
8919 lt_prog_compiler_can_build_shared
=no
8924 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8925 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8928 # Check to make sure the PIC flag actually works.
8930 if test -n "$lt_prog_compiler_pic"; then
8932 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8933 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8934 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 lt_cv_prog_compiler_pic_works
=no
8938 ac_outfile
=conftest.
$ac_objext
8939 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8940 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 # The option is referenced via a variable to avoid confusing sed.
8946 lt_compile
=`echo "$ac_compile" | $SED \
8947 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8948 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8949 -e 's:$: $lt_compiler_flag:'`
8950 (eval echo "\"\$as_me:8950: $lt_compile\"" >&5)
8951 (eval "$lt_compile" 2>conftest.err
)
8953 cat conftest.err
>&5
8954 echo "$as_me:8954: \$? = $ac_status" >&5
8955 if (exit $ac_status) && test -s "$ac_outfile"; then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings other than the usual output.
8958 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8959 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8960 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8961 lt_cv_prog_compiler_pic_works
=yes
8967 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8968 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8970 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8971 case $lt_prog_compiler_pic in
8973 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8976 lt_prog_compiler_pic
=
8977 lt_prog_compiler_can_build_shared
=no
8982 # For platforms which do not support PIC, -DPIC is meaningless:
8984 lt_prog_compiler_pic
=
8987 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8992 # Check to make sure the static flag actually works.
8994 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8995 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8996 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8997 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8998 echo $ECHO_N "(cached) $ECHO_C" >&6
9000 lt_cv_prog_compiler_static_works
=no
9001 save_LDFLAGS
="$LDFLAGS"
9002 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9003 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9004 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9005 # The linker can only warn and ignore the option if not recognized
9006 # So say no if there are warnings
9007 if test -s conftest.err
; then
9008 # Append any errors to the config.log.
9009 cat conftest.err
1>&5
9010 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9011 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9012 if diff conftest.exp conftest.er2
>/dev
/null
; then
9013 lt_cv_prog_compiler_static_works
=yes
9016 lt_cv_prog_compiler_static_works
=yes
9020 LDFLAGS
="$save_LDFLAGS"
9023 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9024 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
9026 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9029 lt_prog_compiler_static
=
9033 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9034 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9035 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9036 echo $ECHO_N "(cached) $ECHO_C" >&6
9038 lt_cv_prog_compiler_c_o
=no
9039 $rm -r conftest
2>/dev
/null
9043 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9045 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9046 # Insert the option either (1) after the last *FLAGS variable, or
9047 # (2) before a word containing "conftest.", or (3) at the end.
9048 # Note that $ac_compile itself does not contain backslashes and begins
9049 # with a dollar sign (not a hyphen), so the echo should work correctly.
9050 lt_compile
=`echo "$ac_compile" | $SED \
9051 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9052 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9053 -e 's:$: $lt_compiler_flag:'`
9054 (eval echo "\"\$as_me:9054: $lt_compile\"" >&5)
9055 (eval "$lt_compile" 2>out
/conftest.err
)
9057 cat out
/conftest.err
>&5
9058 echo "$as_me:9058: \$? = $ac_status" >&5
9059 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9061 # The compiler can only warn and ignore the option if not recognized
9062 # So say no if there are warnings
9063 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
9064 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9065 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9066 lt_cv_prog_compiler_c_o
=yes
9071 # SGI C++ compiler will create directory out/ii_files/ for
9072 # template instantiation
9073 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
9074 $rm out
/* && rmdir out
9080 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9081 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9084 hard_links
="nottested"
9085 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9086 # do not overwrite the value of need_locks provided by the user
9087 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9088 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9091 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9093 ln conftest.a conftest.b
2>&5 || hard_links
=no
9094 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9095 { echo "$as_me:$LINENO: result: $hard_links" >&5
9096 echo "${ECHO_T}$hard_links" >&6; }
9097 if test "$hard_links" = no
; then
9098 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9099 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9106 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9107 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9110 allow_undefined_flag
=
9111 enable_shared_with_static_runtimes
=no
9113 archive_expsym_cmds
=
9114 old_archive_From_new_cmds
=
9115 old_archive_from_expsyms_cmds
=
9116 export_dynamic_flag_spec
=
9117 whole_archive_flag_spec
=
9118 thread_safe_flag_spec
=
9119 hardcode_libdir_flag_spec
=
9120 hardcode_libdir_flag_spec_ld
=
9121 hardcode_libdir_separator
=
9124 hardcode_shlibpath_var
=unsupported
9125 link_all_deplibs
=unknown
9126 hardcode_automatic
=no
9129 always_export_symbols
=no
9130 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9131 # include_expsyms should be a list of space-separated symbols to be *always*
9132 # included in the symbol list
9134 # exclude_expsyms can be an extended regexp of symbols to exclude
9135 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9136 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9137 # as well as any symbol that contains `d'.
9138 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9139 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9140 # platforms (ab)use it in PIC code, but their linkers get confused if
9141 # the symbol is explicitly referenced. Since portable code cannot
9142 # rely on this symbol name, it's probably fine to never include it in
9143 # preloaded symbol tables.
9144 # Exclude shared library initialization/finalization symbols.
9145 extract_expsyms_cmds
=
9146 # Just being paranoid about ensuring that cc_basename is set.
9147 for cc_temp
in $compiler""; do
9149 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
9150 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
9155 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9158 cygwin
* | mingw
* | pw32
*)
9159 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9160 # When not using gcc, we currently assume that we are using
9161 # Microsoft Visual C++.
9162 if test "$GCC" != yes; then
9167 # we just hope/assume this is gcc and not c89 (= MSVC++)
9176 if test "$with_gnu_ld" = yes; then
9177 # If archive_cmds runs LD, not CC, wlarc should be empty
9180 # Set some defaults for GNU ld with shared library support. These
9181 # are reset later if shared libraries are not supported. Putting them
9182 # here allows them to be overridden if necessary.
9183 runpath_var
=LD_RUN_PATH
9184 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
9185 export_dynamic_flag_spec
='${wl}--export-dynamic'
9186 # ancient GNU ld didn't support --whole-archive et. al.
9187 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
9188 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9190 whole_archive_flag_spec
=
9192 supports_anon_versioning
=no
9193 case `$LD -v 2>/dev/null` in
9194 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9195 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9196 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9197 *\
2.11.
*) ;; # other 2.11 versions
9198 *) supports_anon_versioning
=yes ;;
9201 # See if GNU ld supports shared libraries.
9204 # On AIX/PPC, the GNU linker is very broken
9205 if test "$host_cpu" != ia64
; then
9209 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9210 *** to be unable to reliably create shared libraries on AIX.
9211 *** Therefore, libtool is disabling shared libraries support. If you
9212 *** really care for shared libraries, you may want to modify your PATH
9213 *** so that a non-GNU linker is found, and then restart.
9220 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)'
9221 hardcode_libdir_flag_spec
='-L$libdir'
9222 hardcode_minus_L
=yes
9224 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9225 # that the semantics of dynamic libraries on AmigaOS, at least up
9226 # to version 4, is to share data among multiple programs linked
9227 # with the same dynamic library. Since this doesn't match the
9228 # behavior of shared libraries on other platforms, we can't use
9234 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9235 allow_undefined_flag
=unsupported
9236 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9237 # support --undefined. This deserves some investigation. FIXME
9238 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9244 cygwin
* | mingw
* | pw32
*)
9245 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9246 # as there is no search path for DLLs.
9247 hardcode_libdir_flag_spec
='-L$libdir'
9248 allow_undefined_flag
=unsupported
9249 always_export_symbols
=no
9250 enable_shared_with_static_runtimes
=yes
9251 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9253 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
9254 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9255 # If the export-symbols file already is a .def file (1st line
9256 # is EXPORTS), use it as is; otherwise, prepend...
9257 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9258 cp $export_symbols $output_objdir/$soname.def;
9260 echo EXPORTS > $output_objdir/$soname.def;
9261 cat $export_symbols >> $output_objdir/$soname.def;
9263 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9271 hardcode_shlibpath_var
=no
9272 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9273 export_dynamic_flag_spec
='${wl}-E'
9274 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9275 # Instead, shared libraries are loaded at an image base (0x10000000 by
9276 # default) and relocated if they conflict, which is a slow very memory
9277 # consuming and fragmenting process. To avoid this, we pick a random,
9278 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9279 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9280 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9281 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'
9284 gnu
* | linux
* | k
*bsd
*-gnu)
9285 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9287 case $cc_basename,$host_cpu in
9288 pgcc
*) # Portland Group C compiler
9289 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'
9290 tmp_addflag
=' $pic_flag'
9292 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9293 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'
9294 tmp_addflag
=' $pic_flag -Mnomain' ;;
9295 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9296 tmp_addflag
=' -i_dynamic' ;;
9297 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9298 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9299 ifc
* | ifort
*) # Intel Fortran compiler
9300 tmp_addflag
=' -nofor_main' ;;
9302 case `$CC -V 2>&1 | sed 5q` in
9303 *Sun\ C
*) # Sun C 5.9
9304 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'
9305 tmp_sharedflag
='-G' ;;
9306 *Sun\ F
*) # Sun Fortran 8.3
9307 tmp_sharedflag
='-G' ;;
9309 tmp_sharedflag
='-shared' ;;
9311 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9313 if test $supports_anon_versioning = yes; then
9314 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9315 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9316 $echo "local: *; };" >> $output_objdir/$libname.ver~
9317 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9325 netbsd
* | netbsdelf
*-gnu)
9326 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
9327 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9330 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9336 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
9340 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9341 *** create shared libraries on Solaris systems. Therefore, libtool
9342 *** is disabling shared libraries support. We urge you to upgrade GNU
9343 *** binutils to release 2.9.1 or newer. Another option is to modify
9344 *** your PATH or compiler configuration so that the native linker is
9345 *** used, and then restart.
9348 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9349 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9356 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9357 case `$LD -v 2>&1` in
9358 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9362 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9363 *** reliably create shared libraries on SCO systems. Therefore, libtool
9364 *** is disabling shared libraries support. We urge you to upgrade GNU
9365 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9366 *** your PATH or compiler configuration so that the native linker is
9367 *** used, and then restart.
9372 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9373 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9374 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9375 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9384 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9387 hardcode_shlibpath_var
=no
9391 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9392 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9400 if test "$ld_shlibs" = no
; then
9402 hardcode_libdir_flag_spec
=
9403 export_dynamic_flag_spec
=
9404 whole_archive_flag_spec
=
9407 # PORTME fill in a description of your system's linker (not GNU ld)
9410 allow_undefined_flag
=unsupported
9411 always_export_symbols
=yes
9412 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'
9413 # Note: this linker hardcodes the directories in LIBPATH if there
9414 # are no directories specified by -L.
9415 hardcode_minus_L
=yes
9416 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9417 # Neither direct hardcoding nor static linking is supported with a
9419 hardcode_direct
=unsupported
9424 if test "$host_cpu" = ia64
; then
9425 # On IA64, the linker does run time linking by default, so we don't
9426 # have to do anything special.
9427 aix_use_runtimelinking
=no
9428 exp_sym_flag
='-Bexport'
9431 # If we're using GNU nm, then we don't want the "-C" option.
9432 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9433 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
9434 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'
9436 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'
9438 aix_use_runtimelinking
=no
9440 # Test if we are trying to use run time linking or normal
9441 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9442 # need to do runtime linking.
9443 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9444 for ld_flag
in $LDFLAGS; do
9445 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9446 aix_use_runtimelinking
=yes
9453 exp_sym_flag
='-bexport'
9454 no_entry_flag
='-bnoentry'
9457 # When large executables or shared objects are built, AIX ld can
9458 # have problems creating the table of contents. If linking a library
9459 # or program results in "error TOC overflow" add -mminimal-toc to
9460 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9461 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9465 hardcode_libdir_separator
=':'
9466 link_all_deplibs
=yes
9468 if test "$GCC" = yes; then
9469 case $host_os in aix4.
[012]|aix4.
[012].
*)
9470 # We only want to do this on AIX 4.2 and lower, the check
9471 # below for broken collect2 doesn't work under 4.3+
9472 collect2name
=`${CC} -print-prog-name=collect2`
9473 if test -f "$collect2name" && \
9474 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
9476 # We have reworked collect2
9479 # We have old collect2
9480 hardcode_direct
=unsupported
9481 # It fails to find uninstalled libraries when the uninstalled
9482 # path is not listed in the libpath. Setting hardcode_minus_L
9483 # to unsupported forces relinking
9484 hardcode_minus_L
=yes
9485 hardcode_libdir_flag_spec
='-L$libdir'
9486 hardcode_libdir_separator
=
9490 shared_flag
='-shared'
9491 if test "$aix_use_runtimelinking" = yes; then
9492 shared_flag
="$shared_flag "'${wl}-G'
9496 if test "$host_cpu" = ia64
; then
9497 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9498 # chokes on -Wl,-G. The following line is correct:
9501 if test "$aix_use_runtimelinking" = yes; then
9502 shared_flag
='${wl}-G'
9504 shared_flag
='${wl}-bM:SRE'
9509 # It seems that -bexpall does not export symbols beginning with
9510 # underscore (_), so it is better to generate a list of symbols to export.
9511 always_export_symbols
=yes
9512 if test "$aix_use_runtimelinking" = yes; then
9513 # Warning - without using the other runtime loading flags (-brtl),
9514 # -berok will link without error, but may produce a broken library.
9515 allow_undefined_flag
='-berok'
9516 # Determine the default libpath from the value encoded in an empty executable.
9517 cat >conftest.
$ac_ext <<_ACEOF
9520 cat confdefs.h
>>conftest.
$ac_ext
9521 cat >>conftest.
$ac_ext <<_ACEOF
9522 /* end confdefs.h. */
9532 rm -f conftest.
$ac_objext conftest
$ac_exeext
9533 if { (ac_try
="$ac_link"
9535 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9536 *) ac_try_echo=$ac_try;;
9538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9539 (eval "$ac_link") 2>conftest.er1
9541 grep -v '^ *+' conftest.er1 >conftest.err
9543 cat conftest.err >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } && {
9546 test -z "$ac_c_werror_flag" ||
9547 test ! -s conftest.err
9548 } && test -s conftest$ac_exeext &&
9549 $as_test_x conftest$ac_exeext; then
9551 lt_aix_libpath_sed='
9552 /Import File Strings/,/^$/ {
9558 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
9559 # Check for a 64-bit object if we didn't find anything.
9560 if test -z "$aix_libpath"; then
9561 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
9564 echo "$as_me: failed program was:" >&5
9565 sed 's/^/| /' conftest.$ac_ext >&5
9570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9571 conftest$ac_exeext conftest.$ac_ext
9572 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9574 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9575 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"
9577 if test "$host_cpu" = ia64; then
9578 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9579 allow_undefined_flag="-z nodefs"
9580 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"
9582 # Determine the default libpath from the value encoded in an empty executable.
9583 cat >conftest.$ac_ext <<_ACEOF
9586 cat confdefs.h >>conftest.$ac_ext
9587 cat >>conftest.$ac_ext <<_ACEOF
9588 /* end confdefs.h. */
9598 rm -f conftest.$ac_objext conftest$ac_exeext
9599 if { (ac_try="$ac_link"
9601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9602 *) ac_try_echo
=$ac_try;;
9604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9605 (eval "$ac_link") 2>conftest.er1
9607 grep -v '^ *+' conftest.er1
>conftest.err
9609 cat conftest.err
>&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); } && {
9612 test -z "$ac_c_werror_flag" ||
9613 test ! -s conftest.err
9614 } && test -s conftest
$ac_exeext &&
9615 $as_test_x conftest
$ac_exeext; then
9617 lt_aix_libpath_sed
='
9618 /Import File Strings/,/^$/ {
9624 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9625 # Check for a 64-bit object if we didn't find anything.
9626 if test -z "$aix_libpath"; then
9627 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.
$ac_ext >&5
9636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9640 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9641 # Warning - without using the other run time loading flags,
9642 # -berok will link without error, but may produce a broken library.
9643 no_undefined_flag
=' ${wl}-bernotok'
9644 allow_undefined_flag
=' ${wl}-berok'
9645 # Exported symbols can be pulled into shared objects from archives
9646 whole_archive_flag_spec
='$convenience'
9647 archive_cmds_need_lc
=yes
9648 # This is similar to how AIX traditionally builds its shared libraries.
9649 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'
9655 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)'
9656 hardcode_libdir_flag_spec
='-L$libdir'
9657 hardcode_minus_L
=yes
9658 # see comment about different semantics on the GNU ld section
9663 export_dynamic_flag_spec
=-rdynamic
9666 cygwin
* | mingw
* | pw32
*)
9667 # When not using gcc, we currently assume that we are using
9668 # Microsoft Visual C++.
9669 # hardcode_libdir_flag_spec is actually meaningless, as there is
9670 # no search path for DLLs.
9671 hardcode_libdir_flag_spec
=' '
9672 allow_undefined_flag
=unsupported
9673 # Tell ltmain to make .lib files, not .a files.
9675 # Tell ltmain to make .dll files, not .so files.
9677 # FIXME: Setting linknames here is a bad hack.
9678 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9679 # The linker will automatically build a .lib file if we build a DLL.
9680 old_archive_From_new_cmds
='true'
9681 # FIXME: Should let the user specify the lib program.
9682 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9683 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9684 enable_shared_with_static_runtimes
=yes
9687 darwin
* | rhapsody
*)
9689 rhapsody
* | darwin1.
[012])
9690 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9693 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9694 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9696 case ${MACOSX_DEPLOYMENT_TARGET} in
9698 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9701 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9707 archive_cmds_need_lc
=no
9709 hardcode_automatic
=yes
9710 hardcode_shlibpath_var
=unsupported
9711 whole_archive_flag_spec
=''
9712 link_all_deplibs
=yes
9713 if test "$GCC" = yes ; then
9714 output_verbose_link_cmd
='echo'
9715 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9716 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9717 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}"
9718 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}"
9720 case $cc_basename in
9722 output_verbose_link_cmd
='echo'
9723 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9724 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9725 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9726 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}'
9727 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}'
9737 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9738 hardcode_libdir_flag_spec
='-L$libdir'
9739 hardcode_shlibpath_var
=no
9746 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9747 # support. Future versions do this automatically, but an explicit c++rt0.o
9748 # does not break anything, and helps significantly (at the cost of a little
9751 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9752 hardcode_libdir_flag_spec
='-R$libdir'
9754 hardcode_shlibpath_var
=no
9757 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9759 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9761 hardcode_minus_L
=yes
9762 hardcode_shlibpath_var
=no
9765 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9766 freebsd
* | dragonfly
*)
9767 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9768 hardcode_libdir_flag_spec
='-R$libdir'
9770 hardcode_shlibpath_var
=no
9774 if test "$GCC" = yes; then
9775 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'
9777 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'
9779 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9780 hardcode_libdir_separator
=:
9783 # hardcode_minus_L: Not really in the search PATH,
9784 # but as the default location of the library.
9785 hardcode_minus_L
=yes
9786 export_dynamic_flag_spec
='${wl}-E'
9790 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9791 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9795 if test "$with_gnu_ld" = no
; then
9796 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9797 hardcode_libdir_separator
=:
9800 export_dynamic_flag_spec
='${wl}-E'
9802 # hardcode_minus_L: Not really in the search PATH,
9803 # but as the default location of the library.
9804 hardcode_minus_L
=yes
9809 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9812 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9818 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9824 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9827 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9830 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9834 if test "$with_gnu_ld" = no
; then
9835 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9836 hardcode_libdir_separator
=:
9840 hardcode_libdir_flag_spec_ld
='+b $libdir'
9842 hardcode_shlibpath_var
=no
9846 export_dynamic_flag_spec
='${wl}-E'
9848 # hardcode_minus_L: Not really in the search PATH,
9849 # but as the default location of the library.
9850 hardcode_minus_L
=yes
9856 irix5
* | irix6
* | nonstopux
*)
9857 if test "$GCC" = yes; then
9858 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'
9860 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'
9861 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9863 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9864 hardcode_libdir_separator
=:
9865 link_all_deplibs
=yes
9868 netbsd
* | netbsdelf
*-gnu)
9869 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
9870 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9872 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9874 hardcode_libdir_flag_spec
='-R$libdir'
9876 hardcode_shlibpath_var
=no
9880 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9882 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9883 hardcode_libdir_separator
=:
9884 hardcode_shlibpath_var
=no
9888 if test -f /usr
/libexec
/ld.so
; then
9890 hardcode_shlibpath_var
=no
9891 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9892 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9894 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9895 export_dynamic_flag_spec
='${wl}-E'
9898 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9899 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9900 hardcode_libdir_flag_spec
='-R$libdir'
9903 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9914 hardcode_libdir_flag_spec
='-L$libdir'
9915 hardcode_minus_L
=yes
9916 allow_undefined_flag
=unsupported
9917 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'
9918 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9922 if test "$GCC" = yes; then
9923 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9924 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'
9926 allow_undefined_flag
=' -expect_unresolved \*'
9927 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'
9929 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9930 hardcode_libdir_separator
=:
9933 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9934 if test "$GCC" = yes; then
9935 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9936 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'
9937 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9939 allow_undefined_flag
=' -expect_unresolved \*'
9940 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'
9941 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9942 $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'
9944 # Both c and cxx compiler support -rpath directly
9945 hardcode_libdir_flag_spec
='-rpath $libdir'
9947 hardcode_libdir_separator
=:
9951 no_undefined_flag
=' -z text'
9952 if test "$GCC" = yes; then
9954 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9955 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9956 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9959 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9960 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9961 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9963 hardcode_libdir_flag_spec
='-R$libdir'
9964 hardcode_shlibpath_var
=no
9966 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9968 # The compiler driver will combine and reorder linker options,
9969 # but understands `-z linker_flag'. GCC discards it without `$wl',
9970 # but is careful enough not to reorder.
9971 # Supported since Solaris 2.6 (maybe 2.5.1?)
9972 if test "$GCC" = yes; then
9973 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9975 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9979 link_all_deplibs
=yes
9983 if test "x$host_vendor" = xsequent
; then
9984 # Use $CC to link under sequent, because it throws in some extra .o
9985 # files that make .init and .fini sections work.
9986 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9990 hardcode_libdir_flag_spec
='-L$libdir'
9992 hardcode_minus_L
=yes
9993 hardcode_shlibpath_var
=no
9997 case $host_vendor in
9999 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 hardcode_direct
=yes # is this really true???
10003 ## LD is ld it makes a PLAMLIB
10004 ## CC just makes a GrossModule.
10005 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10006 reload_cmds
='$CC -r -o $output$reload_objs'
10010 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10011 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10014 runpath_var
='LD_RUN_PATH'
10015 hardcode_shlibpath_var
=no
10019 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_shlibpath_var
=no
10021 export_dynamic_flag_spec
='-Bexport'
10025 if test -d /usr
/nec
; then
10026 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_shlibpath_var
=no
10028 runpath_var
=LD_RUN_PATH
10029 hardcode_runpath_var
=yes
10034 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10035 no_undefined_flag
='${wl}-z,text'
10036 archive_cmds_need_lc
=no
10037 hardcode_shlibpath_var
=no
10038 runpath_var
='LD_RUN_PATH'
10040 if test "$GCC" = yes; then
10041 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10049 sysv5
* | sco3.2v5
* | sco5v6
*)
10050 # Note: We can NOT use -z defs as we might desire, because we do not
10051 # link with -lc, and that would cause any symbols used from libc to
10052 # always be unresolved, which means just about no library would
10053 # ever link correctly. If we're not using GNU ld we use -z text
10054 # though, which does catch some bad symbols but isn't as heavy-handed
10056 no_undefined_flag
='${wl}-z,text'
10057 allow_undefined_flag
='${wl}-z,nodefs'
10058 archive_cmds_need_lc
=no
10059 hardcode_shlibpath_var
=no
10060 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10061 hardcode_libdir_separator
=':'
10062 link_all_deplibs
=yes
10063 export_dynamic_flag_spec
='${wl}-Bexport'
10064 runpath_var
='LD_RUN_PATH'
10066 if test "$GCC" = yes; then
10067 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077 hardcode_libdir_flag_spec
='-L$libdir'
10078 hardcode_shlibpath_var
=no
10087 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10088 echo "${ECHO_T}$ld_shlibs" >&6; }
10089 test "$ld_shlibs" = no
&& can_build_shared
=no
10092 # Do we need to explicitly link libc?
10094 case "x$archive_cmds_need_lc" in
10096 # Assume -lc should be added
10097 archive_cmds_need_lc
=yes
10099 if test "$enable_shared" = yes && test "$GCC" = yes; then
10100 case $archive_cmds in
10102 # FIXME: we may have to deal with multi-command sequences.
10105 # Test whether the compiler implicitly links with -lc since on some
10106 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10107 # to ld, don't add -lc before -lgcc.
10108 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10109 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10111 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10114 (eval $ac_compile) 2>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); } 2>conftest.err
; then
10120 libobjs
=conftest.
$ac_objext
10122 wl
=$lt_prog_compiler_wl
10123 pic_flag
=$lt_prog_compiler_pic
10129 lt_save_allow_undefined_flag
=$allow_undefined_flag
10130 allow_undefined_flag
=
10131 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10132 (eval $archive_cmds 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); }
10137 archive_cmds_need_lc
=no
10139 archive_cmds_need_lc
=yes
10141 allow_undefined_flag
=$lt_save_allow_undefined_flag
10143 cat conftest.err
1>&5
10146 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10147 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10154 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10155 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10156 library_names_spec
=
10157 libname_spec
='lib$name'
10161 postuninstall_cmds
=
10165 shlibpath_overrides_runpath
=unknown
10167 dynamic_linker
="$host_os ld.so"
10168 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10170 if test "$GCC" = yes; then
10172 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10173 *) lt_awk_arg
="/^libraries:/" ;;
10175 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10176 if echo "$lt_search_path_spec" | grep ';' >/dev
/null
; then
10177 # if the path contains ";" then we assume it to be the separator
10178 # otherwise default to the standard path separator (i.e. ":") - it is
10179 # assumed that no part of a normal pathname contains ";" but that should
10180 # okay in the real world where ";" in dirpaths is itself problematic.
10181 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10183 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10185 # Ok, now we have the path, separated by spaces, we can step through it
10186 # and add multilib dir if necessary.
10187 lt_tmp_lt_search_path_spec
=
10188 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10189 for lt_sys_path
in $lt_search_path_spec; do
10190 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10191 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10193 test -d "$lt_sys_path" && \
10194 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10197 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
10198 BEGIN {RS=" "; FS="/|\n";} {
10201 for (lt_i = NF; lt_i > 0; lt_i--) {
10202 if ($lt_i != "" && $lt_i != ".") {
10203 if ($lt_i == "..") {
10206 if (lt_count == 0) {
10207 lt_foo="/" $lt_i lt_foo;
10214 if (lt_foo != "") { lt_freq[lt_foo]++; }
10215 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10217 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
10219 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10221 need_lib_prefix
=unknown
10222 hardcode_into_libs
=no
10224 # when you set need_version to no, make sure it does not cause -set_version
10225 # flags to be left without arguments
10226 need_version
=unknown
10231 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10232 shlibpath_var
=LIBPATH
10234 # AIX 3 has no versioning support, so we append a major version to the name.
10235 soname_spec
='${libname}${release}${shared_ext}$major'
10242 hardcode_into_libs
=yes
10243 if test "$host_cpu" = ia64
; then
10244 # AIX 5 supports IA64
10245 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10246 shlibpath_var
=LD_LIBRARY_PATH
10248 # With GCC up to 2.95.x, collect2 would create an import file
10249 # for dependence libraries. The import file would start with
10250 # the line `#! .'. This would cause the generated library to
10251 # depend on `.', always an invalid library. This was fixed in
10252 # development snapshots of GCC prior to 3.0.
10254 aix4
| aix4.
[01] | aix4.
[01].
*)
10255 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10257 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
10260 can_build_shared
=no
10264 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10265 # soname into executable. Probably we can add versioning support to
10266 # collect2, so additional links can be useful in future.
10267 if test "$aix_use_runtimelinking" = yes; then
10268 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10269 # instead of lib<name>.a to let people know that these are not
10270 # typical AIX shared libraries.
10271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10273 # We preserve .a as extension for shared libraries through AIX4.2
10274 # and later when we are not doing run time linking.
10275 library_names_spec
='${libname}${release}.a $libname.a'
10276 soname_spec
='${libname}${release}${shared_ext}$major'
10278 shlibpath_var
=LIBPATH
10283 library_names_spec
='$libname.ixlibrary $libname.a'
10284 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10285 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'
10289 library_names_spec
='${libname}${shared_ext}'
10290 dynamic_linker
="$host_os ld.so"
10291 shlibpath_var
=LIBRARY_PATH
10297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10298 soname_spec
='${libname}${release}${shared_ext}$major'
10299 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10300 shlibpath_var
=LD_LIBRARY_PATH
10301 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10302 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10303 # the default ld.so.conf also contains /usr/contrib/lib and
10304 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10305 # libtool to hard-code these into programs
10308 cygwin
* | mingw
* | pw32
*)
10309 version_type
=windows
10314 case $GCC,$host_os in
10315 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
10316 library_names_spec
='$libname.dll.a'
10317 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10318 postinstall_cmds
='base_file=`basename \${file}`~
10319 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10320 dldir=$destdir/`dirname \$dlpath`~
10321 test -d \$dldir || mkdir -p \$dldir~
10322 $install_prog $dir/$dlname \$dldir/$dlname~
10323 chmod a+x \$dldir/$dlname'
10324 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10325 dlpath=$dir/\$dldll~
10327 shlibpath_overrides_runpath
=yes
10331 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10332 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10333 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10336 # MinGW DLLs use traditional 'lib' prefix
10337 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10338 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10339 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
10340 # It is most probably a Windows format PATH printed by
10341 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10342 # path with ; separators, and with drive letters. We can handle the
10343 # drive letters (cygwin fileutils understands them), so leave them,
10344 # especially as we might pass files found there to a mingw objdump,
10345 # which wouldn't understand a cygwinified path. Ahh.
10346 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10348 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10352 # pw32 DLLs use 'pw' prefix rather than 'lib'
10353 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10359 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10362 dynamic_linker
='Win32 ld.exe'
10363 # FIXME: first we should search . and the directory the executable is in
10367 darwin
* | rhapsody
*)
10368 dynamic_linker
="$host_os dyld"
10369 version_type
=darwin
10372 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10373 soname_spec
='${libname}${release}${major}$shared_ext'
10374 shlibpath_overrides_runpath
=yes
10375 shlibpath_var
=DYLD_LIBRARY_PATH
10376 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10378 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10379 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10387 soname_spec
='${libname}${release}${shared_ext}$major'
10388 shlibpath_var
=LD_LIBRARY_PATH
10395 freebsd
* | dragonfly
*)
10396 # DragonFly does not have aout. When/if they implement a new
10397 # versioning mechanism, adjust this.
10398 if test -x /usr
/bin
/objformat
; then
10399 objformat
=`/usr/bin/objformat`
10402 freebsd
[123]*) objformat
=aout
;;
10403 *) objformat
=elf
;;
10406 version_type
=freebsd
-$objformat
10407 case $version_type in
10409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10414 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10418 shlibpath_var
=LD_LIBRARY_PATH
10421 shlibpath_overrides_runpath
=yes
10423 freebsd3.
[01]* | freebsdelf3.
[01]*)
10424 shlibpath_overrides_runpath
=yes
10425 hardcode_into_libs
=yes
10427 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10428 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10429 shlibpath_overrides_runpath
=no
10430 hardcode_into_libs
=yes
10432 *) # from 4.6 on, and DragonFly
10433 shlibpath_overrides_runpath
=yes
10434 hardcode_into_libs
=yes
10443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10444 soname_spec
='${libname}${release}${shared_ext}$major'
10445 shlibpath_var
=LD_LIBRARY_PATH
10446 hardcode_into_libs
=yes
10449 hpux9
* | hpux10
* | hpux11
*)
10450 # Give a soname corresponding to the major version so that dld.sl refuses to
10451 # link against other versions.
10458 hardcode_into_libs
=yes
10459 dynamic_linker
="$host_os dld.so"
10460 shlibpath_var
=LD_LIBRARY_PATH
10461 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10463 soname_spec
='${libname}${release}${shared_ext}$major'
10464 if test "X$HPUX_IA64_MODE" = X32
; then
10465 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10467 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10469 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10473 hardcode_into_libs
=yes
10474 dynamic_linker
="$host_os dld.sl"
10475 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10476 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10478 soname_spec
='${libname}${release}${shared_ext}$major'
10479 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10480 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10484 dynamic_linker
="$host_os dld.sl"
10485 shlibpath_var
=SHLIB_PATH
10486 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 soname_spec
='${libname}${release}${shared_ext}$major'
10491 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10492 postinstall_cmds
='chmod 555 $lib'
10499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10500 soname_spec
='${libname}${release}${shared_ext}$major'
10501 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10502 shlibpath_var
=LD_LIBRARY_PATH
10503 shlibpath_overrides_runpath
=no
10504 hardcode_into_libs
=yes
10507 irix5
* | irix6
* | nonstopux
*)
10509 nonstopux
*) version_type
=nonstopux
;;
10511 if test "$lt_cv_prog_gnu_ld" = yes; then
10519 soname_spec
='${libname}${release}${shared_ext}$major'
10520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10522 irix5
* | nonstopux
*)
10523 libsuff
= shlibsuff
=
10526 case $LD in # libtool.m4 will add one of these switches to LD
10527 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10528 libsuff
= shlibsuff
= libmagic
=32-bit;;
10529 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10530 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10531 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10532 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10533 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
10537 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10538 shlibpath_overrides_runpath
=no
10539 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10540 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10541 hardcode_into_libs
=yes
10544 # No shared lib support for Linux oldld, aout, or coff.
10545 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10549 # This must be Linux ELF.
10550 linux
* | k
*bsd
*-gnu)
10554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555 soname_spec
='${libname}${release}${shared_ext}$major'
10556 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10557 shlibpath_var
=LD_LIBRARY_PATH
10558 shlibpath_overrides_runpath
=no
10559 # This implies no fast_install, which is unacceptable.
10560 # Some rework will be needed to allow for fast_install
10561 # before this can be enabled.
10562 hardcode_into_libs
=yes
10564 # Append ld.so.conf contents to the search path
10565 if test -f /etc
/ld.so.conf
; then
10566 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' ' '`
10567 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10570 # We used to test for /lib/ld.so.1 and disable shared libraries on
10571 # powerpc, because MkLinux only supported shared libraries with the
10572 # GNU dynamic linker. Since this was broken with cross compilers,
10573 # most powerpc-linux boxes support dynamic linking these days and
10574 # people can always --disable-shared, the test was removed, and we
10575 # assume the GNU/Linux dynamic linker is in use.
10576 dynamic_linker
='GNU/Linux ld.so'
10583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10584 soname_spec
='${libname}${release}${shared_ext}$major'
10585 shlibpath_var
=LD_LIBRARY_PATH
10586 shlibpath_overrides_runpath
=no
10587 hardcode_into_libs
=yes
10588 dynamic_linker
='NetBSD ld.elf_so'
10595 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
10596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10597 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10598 dynamic_linker
='NetBSD (a.out) ld.so'
10600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10601 soname_spec
='${libname}${release}${shared_ext}$major'
10602 dynamic_linker
='NetBSD ld.elf_so'
10604 shlibpath_var
=LD_LIBRARY_PATH
10605 shlibpath_overrides_runpath
=yes
10606 hardcode_into_libs
=yes
10611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612 shlibpath_var
=LD_LIBRARY_PATH
10613 shlibpath_overrides_runpath
=yes
10620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10621 soname_spec
='${libname}${release}${shared_ext}$major'
10622 shlibpath_var
=LD_LIBRARY_PATH
10623 shlibpath_overrides_runpath
=yes
10628 sys_lib_dlsearch_path_spec
="/usr/lib"
10630 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10632 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
10633 *) need_version
=no
;;
10635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10636 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10637 shlibpath_var
=LD_LIBRARY_PATH
10638 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10640 openbsd2.
[89] | openbsd2.
[89].
*)
10641 shlibpath_overrides_runpath
=no
10644 shlibpath_overrides_runpath
=yes
10648 shlibpath_overrides_runpath
=yes
10653 libname_spec
='$name'
10656 library_names_spec
='$libname${shared_ext} $libname.a'
10657 dynamic_linker
='OS/2 ld.exe'
10658 shlibpath_var
=LIBPATH
10661 osf3
* | osf4
* | osf5
*)
10665 soname_spec
='${libname}${release}${shared_ext}$major'
10666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667 shlibpath_var
=LD_LIBRARY_PATH
10668 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10669 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681 soname_spec
='${libname}${release}${shared_ext}$major'
10682 shlibpath_var
=LD_LIBRARY_PATH
10683 shlibpath_overrides_runpath
=yes
10684 hardcode_into_libs
=yes
10685 # ldd complains unless libraries are executable
10686 postinstall_cmds
='chmod +x $lib'
10691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10692 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10693 shlibpath_var
=LD_LIBRARY_PATH
10694 shlibpath_overrides_runpath
=yes
10695 if test "$with_gnu_ld" = yes; then
10703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 soname_spec
='${libname}${release}${shared_ext}$major'
10705 shlibpath_var
=LD_LIBRARY_PATH
10706 case $host_vendor in
10708 shlibpath_overrides_runpath
=no
10710 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10711 runpath_var
=LD_RUN_PATH
10719 shlibpath_overrides_runpath
=no
10720 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10726 if test -d /usr
/nec
;then
10728 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10729 soname_spec
='$libname${shared_ext}.$major'
10730 shlibpath_var
=LD_LIBRARY_PATH
10734 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10735 version_type
=freebsd
-elf
10738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10739 soname_spec
='${libname}${release}${shared_ext}$major'
10740 shlibpath_var
=LD_LIBRARY_PATH
10741 hardcode_into_libs
=yes
10742 if test "$with_gnu_ld" = yes; then
10743 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10744 shlibpath_overrides_runpath
=no
10746 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10747 shlibpath_overrides_runpath
=yes
10750 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10754 sys_lib_dlsearch_path_spec
='/usr/lib'
10759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10760 soname_spec
='${libname}${release}${shared_ext}$major'
10761 shlibpath_var
=LD_LIBRARY_PATH
10768 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10769 echo "${ECHO_T}$dynamic_linker" >&6; }
10770 test "$dynamic_linker" = no
&& can_build_shared
=no
10772 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10773 echo $ECHO_N "(cached) $ECHO_C" >&6
10775 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
10778 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10779 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10780 echo $ECHO_N "(cached) $ECHO_C" >&6
10782 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
10785 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10787 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10788 if test "$GCC" = yes; then
10789 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10792 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10793 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10795 if test -n "$hardcode_libdir_flag_spec" || \
10796 test -n "$runpath_var" || \
10797 test "X$hardcode_automatic" = "Xyes" ; then
10799 # We can hardcode non-existant directories.
10800 if test "$hardcode_direct" != no
&&
10801 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10802 # have to relink, otherwise we might link with an installed library
10803 # when we should be linking with a yet-to-be-installed one
10804 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10805 test "$hardcode_minus_L" != no
; then
10806 # Linking always hardcodes the temporary library directory.
10807 hardcode_action
=relink
10809 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10810 hardcode_action
=immediate
10813 # We cannot hardcode anything, or else we can only hardcode existing
10815 hardcode_action
=unsupported
10817 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10818 echo "${ECHO_T}$hardcode_action" >&6; }
10820 if test "$hardcode_action" = relink
; then
10821 # Fast installation is not supported
10822 enable_fast_install
=no
10823 elif test "$shlibpath_overrides_runpath" = yes ||
10824 test "$enable_shared" = no
; then
10825 # Fast installation is not necessary
10826 enable_fast_install
=needless
10831 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10832 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10833 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev
/null
; then
10834 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10835 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10836 { echo "$as_me:$LINENO: result: yes" >&5
10837 echo "${ECHO_T}yes" >&6; }
10839 # FIXME - insert some real tests, host_os isn't really good enough
10842 if test -n "$STRIP" ; then
10843 striplib
="$STRIP -x"
10844 old_striplib
="$STRIP -S"
10845 { echo "$as_me:$LINENO: result: yes" >&5
10846 echo "${ECHO_T}yes" >&6; }
10848 { echo "$as_me:$LINENO: result: no" >&5
10849 echo "${ECHO_T}no" >&6; }
10853 { echo "$as_me:$LINENO: result: no" >&5
10854 echo "${ECHO_T}no" >&6; }
10859 if test "x$enable_dlopen" != xyes
; then
10860 enable_dlopen
=unknown
10861 enable_dlopen_self
=unknown
10862 enable_dlopen_self_static
=unknown
10869 lt_cv_dlopen
="load_add_on"
10871 lt_cv_dlopen_self
=yes
10875 lt_cv_dlopen
="LoadLibrary"
10880 lt_cv_dlopen
="dlopen"
10885 # if libdl is installed we need to link against it
10886 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10887 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10888 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10889 echo $ECHO_N "(cached) $ECHO_C" >&6
10891 ac_check_lib_save_LIBS
=$LIBS
10893 cat >conftest.
$ac_ext <<_ACEOF
10896 cat confdefs.h
>>conftest.
$ac_ext
10897 cat >>conftest.
$ac_ext <<_ACEOF
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10915 rm -f conftest.
$ac_objext conftest
$ac_exeext
10916 if { (ac_try
="$ac_link"
10917 case "(($ac_try" in
10918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10919 *) ac_try_echo=$ac_try;;
10921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10922 (eval "$ac_link") 2>conftest.er1
10924 grep -v '^ *+' conftest.er1 >conftest.err
10926 cat conftest.err >&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); } && {
10929 test -z "$ac_c_werror_flag" ||
10930 test ! -s conftest.err
10931 } && test -s conftest$ac_exeext &&
10932 $as_test_x conftest$ac_exeext; then
10933 ac_cv_lib_dl_dlopen=yes
10935 echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.$ac_ext >&5
10938 ac_cv_lib_dl_dlopen=no
10941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_lib_save_LIBS
10945 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10946 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10947 if test $ac_cv_lib_dl_dlopen = yes; then
10948 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10951 lt_cv_dlopen="dyld"
10953 lt_cv_dlopen_self=yes
10960 { echo "$as_me:$LINENO: checking for shl_load" >&5
10961 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10962 if test "${ac_cv_func_shl_load+set}" = set; then
10963 echo $ECHO_N "(cached) $ECHO_C" >&6
10965 cat >conftest.$ac_ext <<_ACEOF
10968 cat confdefs.h >>conftest.$ac_ext
10969 cat >>conftest.$ac_ext <<_ACEOF
10970 /* end confdefs.h. */
10971 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10973 #define shl_load innocuous_shl_load
10975 /* System header to define __stub macros and hopefully few prototypes,
10976 which can conflict with char shl_load (); below.
10977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10978 <limits.h> exists even on freestanding compilers. */
10981 # include <limits.h>
10983 # include <assert.h>
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10995 /* The GNU C library defines this for functions which it implements
10996 to always fail with ENOSYS. Some functions are actually named
10997 something starting with __ and the normal name is an alias. */
10998 #if defined __stub_shl_load || defined __stub___shl_load
11005 return shl_load ();
11010 rm -f conftest.$ac_objext conftest$ac_exeext
11011 if { (ac_try="$ac_link"
11012 case "(($ac_try" in
11013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11014 *) ac_try_echo
=$ac_try;;
11016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11017 (eval "$ac_link") 2>conftest.er1
11019 grep -v '^ *+' conftest.er1
>conftest.err
11021 cat conftest.err
>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); } && {
11024 test -z "$ac_c_werror_flag" ||
11025 test ! -s conftest.err
11026 } && test -s conftest
$ac_exeext &&
11027 $as_test_x conftest
$ac_exeext; then
11028 ac_cv_func_shl_load
=yes
11030 echo "$as_me: failed program was:" >&5
11031 sed 's/^/| /' conftest.
$ac_ext >&5
11033 ac_cv_func_shl_load
=no
11036 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11037 conftest
$ac_exeext conftest.
$ac_ext
11039 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11040 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11041 if test $ac_cv_func_shl_load = yes; then
11042 lt_cv_dlopen
="shl_load"
11044 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11045 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11046 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11049 ac_check_lib_save_LIBS
=$LIBS
11051 cat >conftest.
$ac_ext <<_ACEOF
11054 cat confdefs.h
>>conftest.
$ac_ext
11055 cat >>conftest.
$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11068 return shl_load ();
11073 rm -f conftest.
$ac_objext conftest
$ac_exeext
11074 if { (ac_try
="$ac_link"
11075 case "(($ac_try" in
11076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11077 *) ac_try_echo=$ac_try;;
11079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11080 (eval "$ac_link") 2>conftest.er1
11082 grep -v '^ *+' conftest.er1 >conftest.err
11084 cat conftest.err >&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); } && {
11087 test -z "$ac_c_werror_flag" ||
11088 test ! -s conftest.err
11089 } && test -s conftest$ac_exeext &&
11090 $as_test_x conftest$ac_exeext; then
11091 ac_cv_lib_dld_shl_load=yes
11093 echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.$ac_ext >&5
11096 ac_cv_lib_dld_shl_load=no
11099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11100 conftest$ac_exeext conftest.$ac_ext
11101 LIBS=$ac_check_lib_save_LIBS
11103 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11104 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11105 if test $ac_cv_lib_dld_shl_load = yes; then
11106 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11108 { echo "$as_me:$LINENO: checking for dlopen" >&5
11109 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11110 if test "${ac_cv_func_dlopen+set}" = set; then
11111 echo $ECHO_N "(cached) $ECHO_C" >&6
11113 cat >conftest.$ac_ext <<_ACEOF
11116 cat confdefs.h >>conftest.$ac_ext
11117 cat >>conftest.$ac_ext <<_ACEOF
11118 /* end confdefs.h. */
11119 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11121 #define dlopen innocuous_dlopen
11123 /* System header to define __stub macros and hopefully few prototypes,
11124 which can conflict with char dlopen (); below.
11125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11126 <limits.h> exists even on freestanding compilers. */
11129 # include <limits.h>
11131 # include <assert.h>
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11143 /* The GNU C library defines this for functions which it implements
11144 to always fail with ENOSYS. Some functions are actually named
11145 something starting with __ and the normal name is an alias. */
11146 #if defined __stub_dlopen || defined __stub___dlopen
11158 rm -f conftest.$ac_objext conftest$ac_exeext
11159 if { (ac_try="$ac_link"
11160 case "(($ac_try" in
11161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11162 *) ac_try_echo
=$ac_try;;
11164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11165 (eval "$ac_link") 2>conftest.er1
11167 grep -v '^ *+' conftest.er1
>conftest.err
11169 cat conftest.err
>&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); } && {
11172 test -z "$ac_c_werror_flag" ||
11173 test ! -s conftest.err
11174 } && test -s conftest
$ac_exeext &&
11175 $as_test_x conftest
$ac_exeext; then
11176 ac_cv_func_dlopen
=yes
11178 echo "$as_me: failed program was:" >&5
11179 sed 's/^/| /' conftest.
$ac_ext >&5
11181 ac_cv_func_dlopen
=no
11184 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11185 conftest
$ac_exeext conftest.
$ac_ext
11187 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11188 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11189 if test $ac_cv_func_dlopen = yes; then
11190 lt_cv_dlopen
="dlopen"
11192 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11193 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11194 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 ac_check_lib_save_LIBS
=$LIBS
11199 cat >conftest.
$ac_ext <<_ACEOF
11202 cat confdefs.h
>>conftest.
$ac_ext
11203 cat >>conftest.
$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11221 rm -f conftest.
$ac_objext conftest
$ac_exeext
11222 if { (ac_try
="$ac_link"
11223 case "(($ac_try" in
11224 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11225 *) ac_try_echo=$ac_try;;
11227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11228 (eval "$ac_link") 2>conftest.er1
11230 grep -v '^ *+' conftest.er1 >conftest.err
11232 cat conftest.err >&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); } && {
11235 test -z "$ac_c_werror_flag" ||
11236 test ! -s conftest.err
11237 } && test -s conftest$ac_exeext &&
11238 $as_test_x conftest$ac_exeext; then
11239 ac_cv_lib_dl_dlopen=yes
11241 echo "$as_me: failed program was:" >&5
11242 sed 's/^/| /' conftest.$ac_ext >&5
11244 ac_cv_lib_dl_dlopen=no
11247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11252 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11253 if test $ac_cv_lib_dl_dlopen = yes; then
11254 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11256 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11257 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11258 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11259 echo $ECHO_N "(cached) $ECHO_C" >&6
11261 ac_check_lib_save_LIBS=$LIBS
11262 LIBS="-lsvld $LIBS"
11263 cat >conftest.$ac_ext <<_ACEOF
11266 cat confdefs.h >>conftest.$ac_ext
11267 cat >>conftest.$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11285 rm -f conftest.$ac_objext conftest$ac_exeext
11286 if { (ac_try="$ac_link"
11287 case "(($ac_try" in
11288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11289 *) ac_try_echo
=$ac_try;;
11291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11292 (eval "$ac_link") 2>conftest.er1
11294 grep -v '^ *+' conftest.er1
>conftest.err
11296 cat conftest.err
>&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); } && {
11299 test -z "$ac_c_werror_flag" ||
11300 test ! -s conftest.err
11301 } && test -s conftest
$ac_exeext &&
11302 $as_test_x conftest
$ac_exeext; then
11303 ac_cv_lib_svld_dlopen
=yes
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.
$ac_ext >&5
11308 ac_cv_lib_svld_dlopen
=no
11311 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11312 conftest
$ac_exeext conftest.
$ac_ext
11313 LIBS
=$ac_check_lib_save_LIBS
11315 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11316 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11317 if test $ac_cv_lib_svld_dlopen = yes; then
11318 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11320 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11321 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11322 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 ac_check_lib_save_LIBS
=$LIBS
11327 cat >conftest.
$ac_ext <<_ACEOF
11330 cat confdefs.h
>>conftest.
$ac_ext
11331 cat >>conftest.
$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11344 return dld_link ();
11349 rm -f conftest.
$ac_objext conftest
$ac_exeext
11350 if { (ac_try
="$ac_link"
11351 case "(($ac_try" in
11352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11353 *) ac_try_echo=$ac_try;;
11355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11356 (eval "$ac_link") 2>conftest.er1
11358 grep -v '^ *+' conftest.er1 >conftest.err
11360 cat conftest.err >&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } && {
11363 test -z "$ac_c_werror_flag" ||
11364 test ! -s conftest.err
11365 } && test -s conftest$ac_exeext &&
11366 $as_test_x conftest$ac_exeext; then
11367 ac_cv_lib_dld_dld_link=yes
11369 echo "$as_me: failed program was:" >&5
11370 sed 's/^/| /' conftest.$ac_ext >&5
11372 ac_cv_lib_dld_dld_link=no
11375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_lib_save_LIBS
11379 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11380 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11381 if test $ac_cv_lib_dld_dld_link = yes; then
11382 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11403 if test "x$lt_cv_dlopen" != xno; then
11409 case $lt_cv_dlopen in
11411 save_CPPFLAGS="$CPPFLAGS"
11412 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11414 save_LDFLAGS="$LDFLAGS"
11415 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11418 LIBS="$lt_cv_dlopen_libs $LIBS"
11420 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11421 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11422 if test "${lt_cv_dlopen_self+set}" = set; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 if test "$cross_compiling" = yes; then :
11426 lt_cv_dlopen_self=cross
11428 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11429 lt_status=$lt_dlunknown
11430 cat > conftest.$ac_ext <<EOF
11431 #line 11431 "configure"
11432 #include "confdefs.h"
11441 # define LT_DLGLOBAL RTLD_GLOBAL
11444 # define LT_DLGLOBAL DL_GLOBAL
11446 # define LT_DLGLOBAL 0
11450 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11451 find out it does not work in some platform. */
11452 #ifndef LT_DLLAZY_OR_NOW
11454 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11457 # define LT_DLLAZY_OR_NOW DL_LAZY
11460 # define LT_DLLAZY_OR_NOW RTLD_NOW
11463 # define LT_DLLAZY_OR_NOW DL_NOW
11465 # define LT_DLLAZY_OR_NOW 0
11473 extern "C" void exit (int);
11476 void fnord() { int i=42;}
11479 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11480 int status = $lt_dlunknown;
11484 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11485 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11486 /* dlclose (self); */
11494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11495 (eval $ac_link) 2>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11499 (./conftest; exit; ) >&5 2>/dev/null
11501 case x$lt_status in
11502 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11503 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11504 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11507 # compilation failed
11508 lt_cv_dlopen_self=no
11515 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11516 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11518 if test "x$lt_cv_dlopen_self" = xyes; then
11519 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11520 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11521 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11522 if test "${lt_cv_dlopen_self_static+set}" = set; then
11523 echo $ECHO_N "(cached) $ECHO_C" >&6
11525 if test "$cross_compiling" = yes; then :
11526 lt_cv_dlopen_self_static=cross
11528 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11529 lt_status=$lt_dlunknown
11530 cat > conftest.$ac_ext <<EOF
11531 #line 11531 "configure"
11532 #include "confdefs.h"
11541 # define LT_DLGLOBAL RTLD_GLOBAL
11544 # define LT_DLGLOBAL DL_GLOBAL
11546 # define LT_DLGLOBAL 0
11550 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11551 find out it does not work in some platform. */
11552 #ifndef LT_DLLAZY_OR_NOW
11554 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11557 # define LT_DLLAZY_OR_NOW DL_LAZY
11560 # define LT_DLLAZY_OR_NOW RTLD_NOW
11563 # define LT_DLLAZY_OR_NOW DL_NOW
11565 # define LT_DLLAZY_OR_NOW 0
11573 extern "C" void exit (int);
11576 void fnord() { int i=42;}
11579 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580 int status = $lt_dlunknown;
11584 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11586 /* dlclose (self); */
11594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11595 (eval $ac_link) 2>&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11599 (./conftest; exit; ) >&5 2>/dev/null
11601 case x$lt_status in
11602 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11603 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11604 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11607 # compilation failed
11608 lt_cv_dlopen_self_static=no
11615 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11616 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11619 CPPFLAGS="$save_CPPFLAGS"
11620 LDFLAGS="$save_LDFLAGS"
11625 case $lt_cv_dlopen_self in
11626 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11627 *) enable_dlopen_self=unknown ;;
11630 case $lt_cv_dlopen_self_static in
11631 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11632 *) enable_dlopen_self_static=unknown ;;
11637 # Report which library types will actually be built
11638 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11639 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11640 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11641 echo "${ECHO_T}$can_build_shared" >&6; }
11643 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11644 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11645 test "$can_build_shared" = "no" && enable_shared=no
11647 # On AIX, shared libraries and static libraries use the same namespace, and
11648 # are all built from PIC.
11651 test "$enable_shared" = yes && enable_static=no
11652 if test -n "$RANLIB"; then
11653 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11654 postinstall_cmds='$RANLIB $lib'
11659 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11660 test "$enable_shared" = yes && enable_static=no
11664 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11665 echo "${ECHO_T}$enable_shared" >&6; }
11667 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11668 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11669 # Make sure either enable_shared or enable_static is yes.
11670 test "$enable_shared" = yes || enable_static=yes
11671 { echo "$as_me:$LINENO: result: $enable_static" >&5
11672 echo "${ECHO_T}$enable_static" >&6; }
11674 # The else clause should only fire when bootstrapping the
11675 # libtool distribution, otherwise you forgot to ship ltmain.sh
11676 # with your package, and you will get complaints that there are
11677 # no rules to generate ltmain.sh.
11678 if test -f "$ltmain"; then
11679 # See if we are running on zsh, and set the options which allow our commands through
11680 # without removal of \ escapes.
11681 if test -n "${ZSH_VERSION+set}" ; then
11682 setopt NO_GLOB_SUBST
11684 # Now quote all the things that may contain metacharacters while being
11685 # careful not to overquote the AC_SUBSTed values. We take copies of the
11686 # variables and quote the copies for generation of the libtool script.
11687 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11689 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11690 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11691 deplibs_check_method reload_flag reload_cmds need_locks \
11692 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11693 lt_cv_sys_global_symbol_to_c_name_address \
11694 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11695 old_postinstall_cmds old_postuninstall_cmds \
11699 lt_prog_compiler_wl \
11700 lt_prog_compiler_pic \
11701 lt_prog_compiler_static \
11702 lt_prog_compiler_no_builtin_flag \
11703 export_dynamic_flag_spec \
11704 thread_safe_flag_spec \
11705 whole_archive_flag_spec \
11706 enable_shared_with_static_runtimes \
11708 old_archive_from_new_cmds \
11713 compiler_lib_search_path \
11714 compiler_lib_search_dirs \
11716 archive_expsym_cmds \
11718 postuninstall_cmds \
11719 old_archive_from_expsyms_cmds \
11720 allow_undefined_flag \
11721 no_undefined_flag \
11722 export_symbols_cmds \
11723 hardcode_libdir_flag_spec \
11724 hardcode_libdir_flag_spec_ld \
11725 hardcode_libdir_separator \
11726 hardcode_automatic \
11728 module_expsym_cmds \
11729 lt_cv_prog_compiler_c_o \
11732 include_expsyms; do
11735 old_archive_cmds | \
11736 old_archive_from_new_cmds | \
11738 archive_expsym_cmds | \
11740 module_expsym_cmds | \
11741 old_archive_from_expsyms_cmds | \
11742 export_symbols_cmds | \
11743 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11744 postinstall_cmds | postuninstall_cmds | \
11745 old_postinstall_cmds | old_postuninstall_cmds | \
11746 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11747 # Double-quote double-evaled strings.
11748 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
11751 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
11757 *'\$0 --fallback-echo"')
11758 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11762 cfgfile="${ofile}T"
11763 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11765 { echo "$as_me:$LINENO: creating $ofile" >&5
11766 echo "$as_me: creating $ofile" >&6;}
11768 cat <<__EOF__ >> "$cfgfile"
11771 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11772 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11773 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11775 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11776 # Free Software Foundation, Inc.
11778 # This file is part of GNU Libtool:
11779 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11781 # This program is free software; you can redistribute it and/or modify
11782 # it under the terms of the GNU General Public License as published by
11783 # the Free Software Foundation; either version 2 of the License, or
11784 # (at your option) any later version.
11786 # This program is distributed in the hope that it will be useful, but
11787 # WITHOUT ANY WARRANTY; without even the implied warranty of
11788 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11789 # General Public License for more details.
11791 # You should have received a copy of the GNU General Public License
11792 # along with this program; if not, write to the Free Software
11793 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11795 # As a special exception to the GNU General Public License, if you
11796 # distribute this file as part of a program that contains a
11797 # configuration script generated by Autoconf, you may include it under
11798 # the same distribution terms that you use for the rest of that program.
11800 # A sed program that does not truncate output.
11803 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11804 Xsed="$SED -e 1s/^X//"
11806 # The HP-UX ksh and POSIX shell print the target directory to stdout
11807 # if CDPATH is set.
11808 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11810 # The names of the tagged configurations supported by this script.
11813 # ### BEGIN LIBTOOL CONFIG
11815 # Libtool was configured on host `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`:
11817 # Shell to use when invoking shell scripts.
11820 # Whether or not to build shared libraries.
11821 build_libtool_libs=$enable_shared
11823 # Whether or not to build static libraries.
11824 build_old_libs=$enable_static
11826 # Whether or not to add -lc for building shared libraries.
11827 build_libtool_need_lc=$archive_cmds_need_lc
11829 # Whether or not to disallow shared libs when runtime libs are static
11830 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11832 # Whether or not to optimize for fast installation.
11833 fast_install=$enable_fast_install
11836 host_alias=$host_alias
11840 # The build system.
11841 build_alias=$build_alias
11845 # An echo program that does not interpret backslashes.
11850 AR_FLAGS=$lt_AR_FLAGS
11855 # LTCC compiler flags.
11856 LTCFLAGS=$lt_LTCFLAGS
11858 # A language-specific compiler.
11861 # Is the compiler the GNU C compiler?
11867 # The linker used to build libraries.
11870 # Whether we need hard or soft links.
11873 # A BSD-compatible nm program.
11876 # A symbol stripping program
11879 # Used to examine libraries when file_magic_cmd begins "file"
11880 MAGIC_CMD=$MAGIC_CMD
11882 # Used on cygwin: DLL creation program.
11885 # Used on cygwin: object dumper.
11888 # Used on cygwin: assembler.
11891 # The name of the directory that contains temporary libtool files.
11894 # How to create reloadable object files.
11895 reload_flag=$lt_reload_flag
11896 reload_cmds=$lt_reload_cmds
11898 # How to pass a linker flag through the compiler.
11899 wl=$lt_lt_prog_compiler_wl
11901 # Object file suffix (normally "o").
11902 objext="$ac_objext"
11904 # Old archive suffix (normally "a").
11907 # Shared library suffix (normally ".so").
11908 shrext_cmds='$shrext_cmds'
11910 # Executable file suffix (normally "").
11913 # Additional compiler flags for building library objects.
11914 pic_flag=$lt_lt_prog_compiler_pic
11917 # What is the maximum length of a command?
11918 max_cmd_len=$lt_cv_sys_max_cmd_len
11920 # Does compiler simultaneously support -c and -o options?
11921 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11923 # Must we lock files when doing compilation?
11924 need_locks=$lt_need_locks
11926 # Do we need the lib prefix for modules?
11927 need_lib_prefix=$need_lib_prefix
11929 # Do we need a version for libraries?
11930 need_version=$need_version
11932 # Whether dlopen is supported.
11933 dlopen_support=$enable_dlopen
11935 # Whether dlopen of programs is supported.
11936 dlopen_self=$enable_dlopen_self
11938 # Whether dlopen of statically linked programs is supported.
11939 dlopen_self_static=$enable_dlopen_self_static
11941 # Compiler flag to prevent dynamic linking.
11942 link_static_flag=$lt_lt_prog_compiler_static
11944 # Compiler flag to turn off builtin functions.
11945 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11947 # Compiler flag to allow reflexive dlopens.
11948 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11950 # Compiler flag to generate shared objects directly from archives.
11951 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11953 # Compiler flag to generate thread-safe objects.
11954 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11956 # Library versioning type.
11957 version_type=$version_type
11959 # Format of library name prefix.
11960 libname_spec=$lt_libname_spec
11962 # List of archive names. First name is the real one, the rest are links.
11963 # The last name is the one that the linker finds with -lNAME.
11964 library_names_spec=$lt_library_names_spec
11966 # The coded name of the library, if different from the real name.
11967 soname_spec=$lt_soname_spec
11969 # Commands used to build and install an old-style archive.
11971 old_archive_cmds=$lt_old_archive_cmds
11972 old_postinstall_cmds=$lt_old_postinstall_cmds
11973 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11975 # Create an old-style archive from a shared archive.
11976 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11978 # Create a temporary old-style archive to link instead of a shared archive.
11979 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11981 # Commands used to build and install a shared archive.
11982 archive_cmds=$lt_archive_cmds
11983 archive_expsym_cmds=$lt_archive_expsym_cmds
11984 postinstall_cmds=$lt_postinstall_cmds
11985 postuninstall_cmds=$lt_postuninstall_cmds
11987 # Commands used to build a loadable module (assumed same as above if empty)
11988 module_cmds=$lt_module_cmds
11989 module_expsym_cmds=$lt_module_expsym_cmds
11991 # Commands to strip libraries.
11992 old_striplib=$lt_old_striplib
11993 striplib=$lt_striplib
11995 # Dependencies to place before the objects being linked to create a
11997 predep_objects=$lt_predep_objects
11999 # Dependencies to place after the objects being linked to create a
12001 postdep_objects=$lt_postdep_objects
12003 # Dependencies to place before the objects being linked to create a
12005 predeps=$lt_predeps
12007 # Dependencies to place after the objects being linked to create a
12009 postdeps=$lt_postdeps
12011 # The directories searched by this compiler when creating a shared
12013 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12015 # The library search path used internally by the compiler when linking
12016 # a shared library.
12017 compiler_lib_search_path=$lt_compiler_lib_search_path
12019 # Method to check whether dependent libraries are shared objects.
12020 deplibs_check_method=$lt_deplibs_check_method
12022 # Command to use when deplibs_check_method == file_magic.
12023 file_magic_cmd=$lt_file_magic_cmd
12025 # Flag that allows shared libraries with undefined symbols to be built.
12026 allow_undefined_flag=$lt_allow_undefined_flag
12028 # Flag that forces no undefined symbols.
12029 no_undefined_flag=$lt_no_undefined_flag
12031 # Commands used to finish a libtool library installation in a directory.
12032 finish_cmds=$lt_finish_cmds
12034 # Same as above, but a single script fragment to be evaled but not shown.
12035 finish_eval=$lt_finish_eval
12037 # Take the output of nm and produce a listing of raw symbols and C names.
12038 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12040 # Transform the output of nm in a proper C declaration
12041 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12043 # Transform the output of nm in a C name address pair
12044 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12046 # This is the shared library runtime path variable.
12047 runpath_var=$runpath_var
12049 # This is the shared library path variable.
12050 shlibpath_var=$shlibpath_var
12052 # Is shlibpath searched before the hard-coded library search path?
12053 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12055 # How to hardcode a shared library path into an executable.
12056 hardcode_action=$hardcode_action
12058 # Whether we should hardcode library paths into libraries.
12059 hardcode_into_libs=$hardcode_into_libs
12061 # Flag to hardcode \$libdir into a binary during linking.
12062 # This must work even if \$libdir does not exist.
12063 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12065 # If ld is used when linking, flag to hardcode \$libdir into
12066 # a binary during linking. This must work even if \$libdir does
12068 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12070 # Whether we need a single -rpath flag with a separated argument.
12071 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12073 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12074 # resulting binary.
12075 hardcode_direct=$hardcode_direct
12077 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12078 # resulting binary.
12079 hardcode_minus_L=$hardcode_minus_L
12081 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12082 # the resulting binary.
12083 hardcode_shlibpath_var=$hardcode_shlibpath_var
12085 # Set to yes if building a shared library automatically hardcodes DIR into the library
12086 # and all subsequent libraries and executables linked against it.
12087 hardcode_automatic=$hardcode_automatic
12089 # Variables whose values should be saved in libtool wrapper scripts and
12090 # restored at relink time.
12091 variables_saved_for_relink="$variables_saved_for_relink"
12093 # Whether libtool must link a program against all its dependency libraries.
12094 link_all_deplibs=$link_all_deplibs
12096 # Compile-time system search path for libraries
12097 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12099 # Run-time system search path for libraries
12100 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12102 # Fix the shell variable \$srcfile for the compiler.
12103 fix_srcfile_path=$lt_fix_srcfile_path
12105 # Set to yes if exported symbols are required.
12106 always_export_symbols=$always_export_symbols
12108 # The commands to list exported symbols.
12109 export_symbols_cmds=$lt_export_symbols_cmds
12111 # The commands to extract the exported symbol list from a shared archive.
12112 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12114 # Symbols that should not be listed in the preloaded symbols.
12115 exclude_expsyms=$lt_exclude_expsyms
12117 # Symbols that must always be exported.
12118 include_expsyms=$lt_include_expsyms
12120 # ### END LIBTOOL CONFIG
12127 cat <<\EOF >> "$cfgfile"
12129 # AIX sometimes has problems with the GCC collect2 program. For some
12130 # reason, if we set the COLLECT_NAMES environment variable, the problems
12131 # vanish in a puff of smoke.
12132 if test "X${COLLECT_NAMES+set}" != Xset; then
12134 export COLLECT_NAMES
12140 # We use sed instead of cat because bash on DJGPP gets confused if
12141 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12142 # text mode, it properly converts lines to CR/LF. This bash problem
12143 # is reportedly fixed, but why not run on old versions too?
12144 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12146 mv -f "$cfgfile" "$ofile" || \
12147 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12151 # If there is no Makefile yet, we rely on a make rule to execute
12152 # `config.status
--recheck' to rerun these tests and create the
12153 # libtool script then.
12154 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
12155 if test -f "$ltmain_in"; then
12156 test -f Makefile && make "$ltmain"
12162 ac_cpp='$CPP $CPPFLAGS'
12163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12164 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12170 # Check whether --with-tags was given.
12171 if test "${with_tags+set}" = set; then
12172 withval=$with_tags; tagnames="$withval"
12176 if test -f "$ltmain" && test -n "$tagnames"; then
12177 if test ! -f "${ofile}"; then
12178 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
12179 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
12182 if test -z "$LTCC"; then
12183 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12184 if test -z "$LTCC"; then
12185 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12186 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
12188 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
12189 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
12192 if test -z "$LTCFLAGS"; then
12193 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
12196 # Extract list of available tagged configurations in $ofile.
12197 # Note that this assumes the entire list is on one line.
12198 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12200 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12201 for tagname in $tagnames; do
12203 # Check whether tagname contains only valid characters
12204 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12206 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12207 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12208 { (exit 1); exit 1; }; }
12212 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12214 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12215 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12216 { (exit 1); exit 1; }; }
12219 # Update the list of available tags.
12220 if test -n "$tagname"; then
12221 echo appending configuration tag \"$tagname\" to $ofile
12225 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12226 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12227 (test "X$CXX" != "Xg++"))) ; then
12229 ac_cpp='$CXXCPP $CPPFLAGS'
12230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12237 archive_cmds_need_lc_CXX=no
12238 allow_undefined_flag_CXX=
12239 always_export_symbols_CXX=no
12240 archive_expsym_cmds_CXX=
12241 export_dynamic_flag_spec_CXX=
12242 hardcode_direct_CXX=no
12243 hardcode_libdir_flag_spec_CXX=
12244 hardcode_libdir_flag_spec_ld_CXX=
12245 hardcode_libdir_separator_CXX=
12246 hardcode_minus_L_CXX=no
12247 hardcode_shlibpath_var_CXX=unsupported
12248 hardcode_automatic_CXX=no
12250 module_expsym_cmds_CXX=
12251 link_all_deplibs_CXX=unknown
12252 old_archive_cmds_CXX=$old_archive_cmds
12253 no_undefined_flag_CXX=
12254 whole_archive_flag_spec_CXX=
12255 enable_shared_with_static_runtimes_CXX=no
12257 # Dependencies to place before and after the object being linked:
12258 predep_objects_CXX=
12259 postdep_objects_CXX=
12262 compiler_lib_search_path_CXX=
12263 compiler_lib_search_dirs_CXX=
12265 # Source file extension for C++ test sources.
12268 # Object file extension for compiled C++ test sources.
12272 # Code to be used in simple compile tests
12273 lt_simple_compile_test_code="int some_variable = 0;"
12275 # Code to be used in simple link tests
12276 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12278 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12280 # If no C compiler was specified, use CC.
12283 # If no C compiler flags were specified, use CFLAGS.
12284 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12286 # Allow CC to be a program name with arguments.
12290 # save warnings/boilerplate of simple test code
12291 ac_outfile=conftest.$ac_objext
12292 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12293 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12294 _lt_compiler_boilerplate=`cat conftest.err
`
12297 ac_outfile=conftest.$ac_objext
12298 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12299 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12300 _lt_linker_boilerplate=`cat conftest.err
`
12304 # Allow CC to be a program name with arguments.
12309 lt_save_with_gnu_ld=$with_gnu_ld
12310 lt_save_path_LD=$lt_cv_path_LD
12311 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12312 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12314 $as_unset lt_cv_prog_gnu_ld
12316 if test -n "${lt_cv_path_LDCXX+set}"; then
12317 lt_cv_path_LD=$lt_cv_path_LDCXX
12319 $as_unset lt_cv_path_LD
12321 test -z "${LDCXX+set}" || LD=$LDCXX
12325 for cc_temp in $compiler""; do
12327 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12328 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12333 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12336 # We don't want -fno-exception wen compiling C++ code, so set the
12337 # no_builtin_flag separately
12338 if test "$GXX" = yes; then
12339 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12341 lt_prog_compiler_no_builtin_flag_CXX=
12344 if test "$GXX" = yes; then
12345 # Set up default GNU C++ configuration
12348 # Check whether --with-gnu-ld was given.
12349 if test "${with_gnu_ld+set}" = set; then
12350 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12356 if test "$GCC" = yes; then
12357 # Check if gcc -print-prog-name=ld gives a path.
12358 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12359 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12362 # gcc leaves a trailing carriage return which upsets mingw
12363 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
12365 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12368 # Accept absolute paths.
12370 re_direlt='/[^/][^/]*/\.\./'
12371 # Canonicalize the pathname of ld
12372 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12373 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12374 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12376 test -z "$LD" && LD="$ac_prog"
12379 # If it fails, then pretend we aren't using GCC.
12383 # If it is relative, then search for the first ld in PATH.
12384 with_gnu_ld=unknown
12387 elif test "$with_gnu_ld" = yes; then
12388 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12389 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12391 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12392 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12394 if test "${lt_cv_path_LD+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 if test -z "$LD"; then
12398 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12399 for ac_dir in $PATH; do
12401 test -z "$ac_dir" && ac_dir=.
12402 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12403 lt_cv_path_LD="$ac_dir/$ac_prog"
12404 # Check to see if the program is GNU ld. I'd rather use --version,
12405 # but apparently some variants of GNU ld only accept -v.
12406 # Break only if it was the GNU/non-GNU ld that we prefer.
12407 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
12408 *GNU* | *'with BFD'*)
12409 test "$with_gnu_ld" != no && break
12412 test "$with_gnu_ld" != yes && break
12419 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12423 LD="$lt_cv_path_LD"
12424 if test -n "$LD"; then
12425 { echo "$as_me:$LINENO: result: $LD" >&5
12426 echo "${ECHO_T}$LD" >&6; }
12428 { echo "$as_me:$LINENO: result: no" >&5
12429 echo "${ECHO_T}no" >&6; }
12431 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12432 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12433 { (exit 1); exit 1; }; }
12434 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12435 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12436 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12440 case `$LD -v 2>&1 </dev
/null
` in
12441 *GNU* | *'with BFD'*)
12442 lt_cv_prog_gnu_ld=yes
12445 lt_cv_prog_gnu_ld=no
12449 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12450 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12451 with_gnu_ld=$lt_cv_prog_gnu_ld
12455 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12456 # archiving commands below assume that GNU ld is being used.
12457 if test "$with_gnu_ld" = yes; then
12458 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12459 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'
12461 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12462 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12464 # If archive_cmds runs LD, not CC, wlarc should be empty
12465 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12466 # investigate it a little bit more. (MM)
12469 # ancient GNU ld didn't support --whole-archive et. al.
12470 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
12471 grep 'no-whole-archive' > /dev/null; then
12472 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12474 whole_archive_flag_spec_CXX=
12480 # A generic and very simple default shared library creation
12481 # command for GNU C++ for the case where it uses the native
12482 # linker, instead of GNU ld. If possible, this setting should
12483 # overridden to take advantage of the native linker features on
12484 # the platform it is being used on.
12485 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12488 # Commands to make compiler produce verbose output that lists
12489 # what "hidden" libraries, object files and flags are used when
12490 # linking a shared library.
12491 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12499 # PORTME: fill in a description of your system's C++ link characteristics
12500 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12501 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12505 # FIXME: insert proper C++ library support
12509 if test "$host_cpu" = ia64; then
12510 # On IA64, the linker does run time linking by default, so we don't
12511 # have to do anything special.
12512 aix_use_runtimelinking=no
12513 exp_sym_flag='-Bexport'
12516 aix_use_runtimelinking=no
12518 # Test if we are trying to use run time linking or normal
12519 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12520 # need to do runtime linking.
12521 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12522 for ld_flag in $LDFLAGS; do
12525 aix_use_runtimelinking=yes
12533 exp_sym_flag='-bexport'
12534 no_entry_flag='-bnoentry'
12537 # When large executables or shared objects are built, AIX ld can
12538 # have problems creating the table of contents. If linking a library
12539 # or program results in "error TOC overflow" add -mminimal-toc to
12540 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12541 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12543 archive_cmds_CXX=''
12544 hardcode_direct_CXX=yes
12545 hardcode_libdir_separator_CXX=':'
12546 link_all_deplibs_CXX=yes
12548 if test "$GXX" = yes; then
12549 case $host_os in aix4.[012]|aix4.[012].*)
12550 # We only want to do this on AIX 4.2 and lower, the check
12551 # below for broken collect2 doesn't work under 4.3+
12552 collect2name=`${CC} -print-prog-name=collect2
`
12553 if test -f "$collect2name" && \
12554 strings "$collect2name" | grep resolve_lib_name >/dev/null
12556 # We have reworked collect2
12559 # We have old collect2
12560 hardcode_direct_CXX=unsupported
12561 # It fails to find uninstalled libraries when the uninstalled
12562 # path is not listed in the libpath. Setting hardcode_minus_L
12563 # to unsupported forces relinking
12564 hardcode_minus_L_CXX=yes
12565 hardcode_libdir_flag_spec_CXX='-L$libdir'
12566 hardcode_libdir_separator_CXX=
12570 shared_flag='-shared'
12571 if test "$aix_use_runtimelinking" = yes; then
12572 shared_flag="$shared_flag "'${wl}-G'
12576 if test "$host_cpu" = ia64; then
12577 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12578 # chokes on -Wl,-G. The following line is correct:
12581 if test "$aix_use_runtimelinking" = yes; then
12582 shared_flag='${wl}-G'
12584 shared_flag='${wl}-bM:SRE'
12589 # It seems that -bexpall does not export symbols beginning with
12590 # underscore (_), so it is better to generate a list of symbols to export.
12591 always_export_symbols_CXX=yes
12592 if test "$aix_use_runtimelinking" = yes; then
12593 # Warning - without using the other runtime loading flags (-brtl),
12594 # -berok will link without error, but may produce a broken library.
12595 allow_undefined_flag_CXX='-berok'
12596 # Determine the default libpath from the value encoded in an empty executable.
12597 cat >conftest.$ac_ext <<_ACEOF
12600 cat confdefs.h >>conftest.$ac_ext
12601 cat >>conftest.$ac_ext <<_ACEOF
12602 /* end confdefs.h. */
12612 rm -f conftest.$ac_objext conftest$ac_exeext
12613 if { (ac_try="$ac_link"
12614 case "(($ac_try" in
12615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
12616 *) ac_try_echo
=$ac_try;;
12618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12619 (eval "$ac_link") 2>conftest.er1
12621 grep -v '^ *+' conftest.er1
>conftest.err
12623 cat conftest.err
>&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); } && {
12626 test -z "$ac_cxx_werror_flag" ||
12627 test ! -s conftest.err
12628 } && test -s conftest
$ac_exeext &&
12629 $as_test_x conftest
$ac_exeext; then
12631 lt_aix_libpath_sed
='
12632 /Import File Strings/,/^$/ {
12638 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12639 # Check for a 64-bit object if we didn't find anything.
12640 if test -z "$aix_libpath"; then
12641 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12644 echo "$as_me: failed program was:" >&5
12645 sed 's/^/| /' conftest.
$ac_ext >&5
12650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12651 conftest
$ac_exeext conftest.
$ac_ext
12652 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12654 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12656 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"
12658 if test "$host_cpu" = ia64
; then
12659 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12660 allow_undefined_flag_CXX
="-z nodefs"
12661 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"
12663 # Determine the default libpath from the value encoded in an empty executable.
12664 cat >conftest.
$ac_ext <<_ACEOF
12667 cat confdefs.h
>>conftest.
$ac_ext
12668 cat >>conftest.
$ac_ext <<_ACEOF
12669 /* end confdefs.h. */
12679 rm -f conftest.
$ac_objext conftest
$ac_exeext
12680 if { (ac_try
="$ac_link"
12681 case "(($ac_try" in
12682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
12683 *) ac_try_echo=$ac_try;;
12685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12686 (eval "$ac_link") 2>conftest.er1
12688 grep -v '^ *+' conftest.er1 >conftest.err
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } && {
12693 test -z "$ac_cxx_werror_flag" ||
12694 test ! -s conftest.err
12695 } && test -s conftest$ac_exeext &&
12696 $as_test_x conftest$ac_exeext; then
12698 lt_aix_libpath_sed='
12699 /Import File Strings/,/^$/ {
12705 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
12706 # Check for a 64-bit object if we didn't find anything.
12707 if test -z "$aix_libpath"; then
12708 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
12711 echo "$as_me: failed program was:" >&5
12712 sed 's/^/| /' conftest.$ac_ext >&5
12717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12718 conftest$ac_exeext conftest.$ac_ext
12719 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12721 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12722 # Warning - without using the other run time loading flags,
12723 # -berok will link without error, but may produce a broken library.
12724 no_undefined_flag_CXX=' ${wl}-bernotok'
12725 allow_undefined_flag_CXX=' ${wl}-berok'
12726 # Exported symbols can be pulled into shared objects from archives
12727 whole_archive_flag_spec_CXX='$convenience'
12728 archive_cmds_need_lc_CXX=yes
12729 # This is similar to how AIX traditionally builds its shared libraries.
12730 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'
12736 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12737 allow_undefined_flag_CXX=unsupported
12738 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12739 # support --undefined. This deserves some investigation. FIXME
12740 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12747 case $cc_basename in
12749 # FIXME: insert proper C++ library support
12755 cygwin* | mingw* | pw32*)
12756 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12757 # as there is no search path for DLLs.
12758 hardcode_libdir_flag_spec_CXX='-L$libdir'
12759 allow_undefined_flag_CXX=unsupported
12760 always_export_symbols_CXX=no
12761 enable_shared_with_static_runtimes_CXX=yes
12763 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12764 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'
12765 # If the export-symbols file already is a .def file (1st line
12766 # is EXPORTS), use it as is; otherwise, prepend...
12767 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
12768 cp $export_symbols $output_objdir/$soname.def;
12770 echo EXPORTS > $output_objdir/$soname.def;
12771 cat $export_symbols >> $output_objdir/$soname.def;
12773 $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'
12778 darwin* | rhapsody*)
12779 archive_cmds_need_lc_CXX=no
12780 hardcode_direct_CXX=no
12781 hardcode_automatic_CXX=yes
12782 hardcode_shlibpath_var_CXX=unsupported
12783 whole_archive_flag_spec_CXX=''
12784 link_all_deplibs_CXX=yes
12785 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12786 if test "$GXX" = yes ; then
12787 output_verbose_link_cmd='echo'
12788 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}"
12789 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12790 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}"
12791 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}"
12792 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12793 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}"
12794 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}"
12797 case $cc_basename in
12799 output_verbose_link_cmd='echo'
12800 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'
12801 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12802 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12803 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}'
12804 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}'
12814 case $cc_basename in
12816 # FIXME: insert proper C++ library support
12820 # Green Hills C++ Compiler
12821 # FIXME: insert proper C++ library support
12825 # FIXME: insert proper C++ library support
12831 # C++ shared libraries reported to be fairly broken before switch to ELF
12835 archive_cmds_need_lc_CXX=no
12837 freebsd* | dragonfly*)
12838 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12845 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12846 hardcode_libdir_separator_CXX=:
12847 export_dynamic_flag_spec_CXX='${wl}-E'
12848 hardcode_direct_CXX=yes
12849 hardcode_minus_L_CXX=yes # Not in the search PATH,
12850 # but as the default
12851 # location of the library.
12853 case $cc_basename in
12855 # FIXME: insert proper C++ library support
12859 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'
12860 # Commands to make compiler produce verbose output that lists
12861 # what "hidden" libraries, object files and flags are used when
12862 # linking a shared library.
12864 # There doesn't appear to be a way to prevent this compiler from
12865 # explicitly linking system object files so we need to strip them
12866 # from the output so that they don't get included in the library
12868 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'
12871 if test "$GXX" = yes; then
12872 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'
12874 # FIXME: insert proper C++ library support
12881 if test $with_gnu_ld = no; then
12882 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12883 hardcode_libdir_separator_CXX=:
12888 export_dynamic_flag_spec_CXX='${wl}-E'
12894 hardcode_direct_CXX=no
12895 hardcode_shlibpath_var_CXX=no
12898 hardcode_direct_CXX=yes
12899 hardcode_minus_L_CXX=yes # Not in the search PATH,
12900 # but as the default
12901 # location of the library.
12905 case $cc_basename in
12907 # FIXME: insert proper C++ library support
12913 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12916 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12919 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12922 # Commands to make compiler produce verbose output that lists
12923 # what "hidden" libraries, object files and flags are used when
12924 # linking a shared library.
12926 # There doesn't appear to be a way to prevent this compiler from
12927 # explicitly linking system object files so we need to strip them
12928 # from the output so that they don't get included in the library
12930 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'
12933 if test "$GXX" = yes; then
12934 if test $with_gnu_ld = no; then
12937 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12940 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12943 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'
12948 # FIXME: insert proper C++ library support
12955 hardcode_direct_CXX=no
12956 hardcode_shlibpath_var_CXX=no
12957 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12958 export_dynamic_flag_spec_CXX='${wl}-E'
12959 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12960 # Instead, shared libraries are loaded at an image base (0x10000000 by
12961 # default) and relocated if they conflict, which is a slow very memory
12962 # consuming and fragmenting process. To avoid this, we pick a random,
12963 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12964 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12965 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'
12966 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'
12969 case $cc_basename in
12972 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'
12974 # Archives containing C++ object files must be created using
12975 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12976 # necessary to make sure instantiated templates are included
12978 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12981 if test "$GXX" = yes; then
12982 if test "$with_gnu_ld" = no; then
12983 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'
12985 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'
12988 link_all_deplibs_CXX=yes
12991 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12992 hardcode_libdir_separator_CXX=:
12994 linux* | k*bsd*-gnu)
12995 case $cc_basename in
12997 # Kuck and Associates, Inc. (KAI) C++ Compiler
12999 # KCC will only create a shared library if the output file
13000 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13001 # to its proper name (with version) after linking.
13002 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'
13003 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'
13004 # Commands to make compiler produce verbose output that lists
13005 # what "hidden" libraries, object files and flags are used when
13006 # linking a shared library.
13008 # There doesn't appear to be a way to prevent this compiler from
13009 # explicitly linking system object files so we need to strip them
13010 # from the output so that they don't get included in the library
13012 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'
13014 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13015 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13017 # Archives containing C++ object files must be created using
13018 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13019 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13024 # version 8.0 and above of icpc choke on multiply defined symbols
13025 # if we add $predep_objects and $postdep_objects, however 7.1 and
13026 # earlier do not add the objects themselves.
13027 case `$CC -V 2>&1` in
13029 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13030 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'
13032 *) # Version 8.0 or newer
13035 ia64*) tmp_idyn=' -i_dynamic';;
13037 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13038 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'
13041 archive_cmds_need_lc_CXX=no
13042 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13043 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13044 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13047 # Portland Group C++ compiler
13048 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13049 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'
13051 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13052 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13053 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'
13057 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13058 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'
13060 runpath_var=LD_RUN_PATH
13061 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13062 hardcode_libdir_separator_CXX=:
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13068 # There doesn't appear to be a way to prevent this compiler from
13069 # explicitly linking system object files so we need to strip them
13070 # from the output so that they don't get included in the library
13072 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'
13075 case `$CC -V 2>&1 | sed 5q
` in
13078 no_undefined_flag_CXX=' -zdefs'
13079 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13080 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'
13081 hardcode_libdir_flag_spec_CXX='-R$libdir'
13082 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'
13084 # Not sure whether something based on
13085 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13087 output_verbose_link_cmd='echo'
13089 # Archives containing C++ object files must be created using
13090 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13091 # necessary to make sure instantiated templates are included
13093 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13100 # FIXME: insert proper C++ library support
13104 # FIXME: insert proper C++ library support
13108 case $cc_basename in
13110 # FIXME: insert proper C++ library support
13114 # FIXME: insert proper C++ library support
13119 netbsd* | netbsdelf*-gnu)
13120 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13121 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13123 hardcode_libdir_flag_spec_CXX='-R$libdir'
13124 hardcode_direct_CXX=yes
13125 hardcode_shlibpath_var_CXX=no
13127 # Workaround some broken pre-1.5 toolchains
13128 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13131 # C++ shared libraries are fairly broken
13135 if test -f /usr/libexec/ld.so; then
13136 hardcode_direct_CXX=yes
13137 hardcode_shlibpath_var_CXX=no
13138 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13139 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13140 if test -z "`echo __ELF__
| $CC -E - | grep __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13141 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13142 export_dynamic_flag_spec_CXX='${wl}-E'
13143 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13145 output_verbose_link_cmd='echo'
13151 case $cc_basename in
13153 # Kuck and Associates, Inc. (KAI) C++ Compiler
13155 # KCC will only create a shared library if the output file
13156 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13157 # to its proper name (with version) after linking.
13158 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'
13160 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13161 hardcode_libdir_separator_CXX=:
13163 # Archives containing C++ object files must be created using
13164 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13165 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13169 # Rational C++ 2.4.1
13170 # FIXME: insert proper C++ library support
13174 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13175 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'
13177 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13178 hardcode_libdir_separator_CXX=:
13180 # Commands to make compiler produce verbose output that lists
13181 # what "hidden" libraries, object files and flags are used when
13182 # linking a shared library.
13184 # There doesn't appear to be a way to prevent this compiler from
13185 # explicitly linking system object files so we need to strip them
13186 # from the output so that they don't get included in the library
13188 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'
13191 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13192 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13193 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'
13195 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13196 hardcode_libdir_separator_CXX=:
13198 # Commands to make compiler produce verbose output that lists
13199 # what "hidden" libraries, object files and flags are used when
13200 # linking a shared library.
13201 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13204 # FIXME: insert proper C++ library support
13211 case $cc_basename in
13213 # Kuck and Associates, Inc. (KAI) C++ Compiler
13215 # KCC will only create a shared library if the output file
13216 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13217 # to its proper name (with version) after linking.
13218 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'
13220 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13221 hardcode_libdir_separator_CXX=:
13223 # Archives containing C++ object files must be created using
13224 # the KAI C++ compiler.
13225 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13228 # Rational C++ 2.4.1
13229 # FIXME: insert proper C++ library support
13233 allow_undefined_flag_CXX=' -expect_unresolved \*'
13234 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'
13235 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13236 echo "-hidden">> $lib.exp~
13237 $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~
13240 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13241 hardcode_libdir_separator_CXX=:
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.
13247 # There doesn't appear to be a way to prevent this compiler from
13248 # explicitly linking system object files so we need to strip them
13249 # from the output so that they don't get included in the library
13251 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'
13254 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13255 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13256 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'
13258 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13259 hardcode_libdir_separator_CXX=:
13261 # Commands to make compiler produce verbose output that lists
13262 # what "hidden" libraries, object files and flags are used when
13263 # linking a shared library.
13264 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13267 # FIXME: insert proper C++ library support
13274 # FIXME: insert proper C++ library support
13278 case $cc_basename in
13281 # FIXME: insert proper C++ library support
13286 # FIXME: insert proper C++ library support
13290 # FIXME: insert proper C++ library support
13296 case $cc_basename in
13298 # Sun C++ 4.2, 5.x and Centerline C++
13299 archive_cmds_need_lc_CXX=yes
13300 no_undefined_flag_CXX=' -zdefs'
13301 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13302 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13303 $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'
13305 hardcode_libdir_flag_spec_CXX='-R$libdir'
13306 hardcode_shlibpath_var_CXX=no
13308 solaris2.[0-5] | solaris2.[0-5].*) ;;
13310 # The compiler driver will combine and reorder linker options,
13311 # but understands `-z linker_flag
'.
13312 # Supported since Solaris 2.6 (maybe 2.5.1?)
13313 whole_archive_flag_spec_CXX='-z allextract
$convenience -z defaultextract
'
13316 link_all_deplibs_CXX=yes
13318 output_verbose_link_cmd='echo'
13320 # Archives containing C++ object files must be created using
13321 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13322 # necessary to make sure instantiated templates are included
13324 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13327 # Green Hills C++ Compiler
13328 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13330 # The C++ compiler must be used to create the archive.
13331 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13334 # GNU C++ compiler with Solaris linker
13335 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13336 no_undefined_flag_CXX=' ${wl}-z ${wl}defs
'
13337 if $CC --version | grep -v '^
2\
.7' > /dev/null; then
13338 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13339 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~
$echo "local: *; };" >> $lib.exp~
13340 $CC -shared -nostdlib ${wl}-M $wl$lib.exp
-o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~
$rm $lib.exp
'
13342 # Commands to make compiler produce verbose output that lists
13343 # what "hidden" libraries, object files and flags are used when
13344 # linking a shared library.
13345 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13347 # g++ 2.7 appears to require `-G' NOT
`-shared' on this
13349 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13350 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13351 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13353 # Commands to make compiler produce verbose output that lists
13354 # what "hidden" libraries, object files and flags are used when
13355 # linking a shared library.
13356 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13359 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13361 solaris2.[0-5] | solaris2.[0-5].*) ;;
13363 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13370 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13371 no_undefined_flag_CXX='${wl}-z,text'
13372 archive_cmds_need_lc_CXX=no
13373 hardcode_shlibpath_var_CXX=no
13374 runpath_var='LD_RUN_PATH'
13376 case $cc_basename in
13378 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13379 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13382 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13383 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13387 sysv5* | sco3.2v5* | sco5v6*)
13388 # Note: We can NOT use -z defs as we might desire, because we do not
13389 # link with -lc, and that would cause any symbols used from libc to
13390 # always be unresolved, which means just about no library would
13391 # ever link correctly. If we're not using GNU ld we use -z text
13392 # though, which does catch some bad symbols but isn't as heavy-handed
13394 # For security reasons, it is highly recommended that you always
13395 # use absolute paths for naming shared libraries, and exclude the
13396 # DT_RUNPATH tag from executables and libraries. But doing so
13397 # requires that you compile everything twice, which is a pain.
13398 # So that behaviour is only enabled if SCOABSPATH is set to a
13399 # non-empty value in the environment. Most likely only useful for
13400 # creating official distributions of packages.
13401 # This is a hack until libtool officially supports absolute path
13402 # names for shared libraries.
13403 no_undefined_flag_CXX='${wl}-z,text'
13404 allow_undefined_flag_CXX='${wl}-z,nodefs'
13405 archive_cmds_need_lc_CXX=no
13406 hardcode_shlibpath_var_CXX=no
13407 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13408 hardcode_libdir_separator_CXX=':'
13409 link_all_deplibs_CXX=yes
13410 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13411 runpath_var='LD_RUN_PATH'
13413 case $cc_basename in
13415 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13416 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13419 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13420 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13425 case $cc_basename in
13427 # NonStop-UX NCC 3.20
13428 # FIXME: insert proper C++ library support
13432 # FIXME: insert proper C++ library support
13438 # FIXME: insert proper C++ library support
13442 # FIXME: insert proper C++ library support
13446 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13447 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13448 test "$ld_shlibs_CXX" = no && can_build_shared=no
13453 cat > conftest.$ac_ext <<EOF
13457 Foo (void) { a = 0; }
13463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; then
13468 # Parse the compiler output and extract the necessary
13469 # objects, libraries and library flags.
13471 # Sentinel used to keep track of whether or not we are before
13472 # the conftest object file.
13473 pre_test_object_deps_done=no
13475 # The `*' in the case matches for architectures that use `case' in
13476 # $output_verbose_cmd can trigger glob expansion during the loop
13477 # eval without this substitution.
13478 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13480 for p
in `eval $output_verbose_link_cmd`; do
13484 # Some compilers place space between "-{L,R}" and the path.
13485 # Remove the space.
13486 if test $p = "-L" \
13487 || test $p = "-R"; then
13494 if test "$pre_test_object_deps_done" = no
; then
13497 # Internal compiler library paths should come after those
13498 # provided the user. The postdeps already come after the
13499 # user supplied libs so there is no need to process them.
13500 if test -z "$compiler_lib_search_path_CXX"; then
13501 compiler_lib_search_path_CXX
="${prev}${p}"
13503 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13506 # The "-l" case would never come before the object being
13507 # linked, so don't bother handling this case.
13510 if test -z "$postdeps_CXX"; then
13511 postdeps_CXX
="${prev}${p}"
13513 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13519 # This assumes that the test object file only shows up
13520 # once in the compiler output.
13521 if test "$p" = "conftest.$objext"; then
13522 pre_test_object_deps_done
=yes
13526 if test "$pre_test_object_deps_done" = no
; then
13527 if test -z "$predep_objects_CXX"; then
13528 predep_objects_CXX
="$p"
13530 predep_objects_CXX
="$predep_objects_CXX $p"
13533 if test -z "$postdep_objects_CXX"; then
13534 postdep_objects_CXX
="$p"
13536 postdep_objects_CXX
="$postdep_objects_CXX $p"
13541 *) ;; # Ignore the rest.
13549 echo "libtool.m4: error: problem compiling CXX test program"
13552 $rm -f confest.
$objext
13554 compiler_lib_search_dirs_CXX
=
13555 if test -n "$compiler_lib_search_path_CXX"; then
13556 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13559 # PORTME: override above test on systems where it is broken
13562 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13563 # hack all around it, let's just trust "g++" to DTRT.
13564 predep_objects_CXX
=
13565 postdep_objects_CXX
=
13570 case `$CC -V 2>&1 | sed 5q` in
13574 # The more standards-conforming stlport4 library is
13575 # incompatible with the Cstd library. Avoid specifying
13576 # it if it's in CXXFLAGS. Ignore libCrun as
13577 # -library=stlport4 depends on it.
13578 case " $CXX $CXXFLAGS " in
13579 *" -library=stlport4 "*)
13580 solaris_use_stlport4
=yes
13583 if test "$solaris_use_stlport4" != yes; then
13584 postdeps_CXX
='-library=Cstd -library=Crun'
13591 case $cc_basename in
13593 # The more standards-conforming stlport4 library is
13594 # incompatible with the Cstd library. Avoid specifying
13595 # it if it's in CXXFLAGS. Ignore libCrun as
13596 # -library=stlport4 depends on it.
13597 case " $CXX $CXXFLAGS " in
13598 *" -library=stlport4 "*)
13599 solaris_use_stlport4
=yes
13603 # Adding this requires a known-good setup of shared libraries for
13604 # Sun compiler versions before 5.6, else PIC objects from an old
13605 # archive will be linked into the output, leading to subtle bugs.
13606 if test "$solaris_use_stlport4" != yes; then
13607 postdeps_CXX
='-library=Cstd -library=Crun'
13614 case " $postdeps_CXX " in
13615 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13618 lt_prog_compiler_wl_CXX
=
13619 lt_prog_compiler_pic_CXX
=
13620 lt_prog_compiler_static_CXX
=
13622 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13623 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13625 # C++ specific cases for pic, static, wl, etc.
13626 if test "$GXX" = yes; then
13627 lt_prog_compiler_wl_CXX
='-Wl,'
13628 lt_prog_compiler_static_CXX
='-static'
13632 # All AIX code is PIC.
13633 if test "$host_cpu" = ia64
; then
13634 # AIX 5 now supports IA64 processor
13635 lt_prog_compiler_static_CXX
='-Bstatic'
13639 # FIXME: we need at least 68020 code to build shared libraries, but
13640 # adding the `-m68020' flag to GCC prevents building anything better,
13642 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13644 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13645 # PIC is the default for these OSes.
13647 mingw
* | cygwin
* | os2
* | pw32
*)
13648 # This hack is so that the source file can tell whether it is being
13649 # built for inclusion in a dll (and should export symbols for example).
13650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13651 # (--disable-auto-import) libraries
13652 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13654 darwin
* | rhapsody
*)
13655 # PIC is the default on this platform
13656 # Common symbols not allowed in MH_DYLIB files
13657 lt_prog_compiler_pic_CXX
='-fno-common'
13660 # DJGPP does not support shared libraries at all
13661 lt_prog_compiler_pic_CXX
=
13664 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13665 # Instead, we relocate shared libraries at runtime.
13668 if test -d /usr
/nec
; then
13669 lt_prog_compiler_pic_CXX
=-Kconform_pic
13673 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13674 # not for PA HP-UX.
13679 lt_prog_compiler_pic_CXX
='-fPIC'
13684 lt_prog_compiler_pic_CXX
='-fPIC'
13690 # All AIX code is PIC.
13691 if test "$host_cpu" = ia64
; then
13692 # AIX 5 now supports IA64 processor
13693 lt_prog_compiler_static_CXX
='-Bstatic'
13695 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13699 case $cc_basename in
13701 # Green Hills C++ Compiler
13702 # _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"
13707 # PIC is the default on this platform
13708 # Common symbols not allowed in MH_DYLIB files
13709 case $cc_basename in
13711 lt_prog_compiler_pic_CXX
='-qnocommon'
13712 lt_prog_compiler_wl_CXX
='-Wl,'
13717 case $cc_basename in
13719 lt_prog_compiler_pic_CXX
='-KPIC'
13722 # Green Hills C++ Compiler
13723 lt_prog_compiler_pic_CXX
='-pic'
13729 freebsd
* | dragonfly
*)
13730 # FreeBSD uses GNU C++
13732 hpux9
* | hpux10
* | hpux11
*)
13733 case $cc_basename in
13735 lt_prog_compiler_wl_CXX
='-Wl,'
13736 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13737 if test "$host_cpu" != ia64
; then
13738 lt_prog_compiler_pic_CXX
='+Z'
13742 lt_prog_compiler_wl_CXX
='-Wl,'
13743 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13749 lt_prog_compiler_pic_CXX
='+Z'
13758 # This is c89, which is MS Visual C++ (no shared libs)
13759 # Anyone wants to do a port?
13761 irix5
* | irix6
* | nonstopux
*)
13762 case $cc_basename in
13764 lt_prog_compiler_wl_CXX
='-Wl,'
13765 lt_prog_compiler_static_CXX
='-non_shared'
13766 # CC pic flag -KPIC is the default.
13772 linux
* | k
*bsd
*-gnu)
13773 case $cc_basename in
13776 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13777 lt_prog_compiler_pic_CXX
='-fPIC'
13781 lt_prog_compiler_wl_CXX
='-Wl,'
13782 lt_prog_compiler_pic_CXX
='-KPIC'
13783 lt_prog_compiler_static_CXX
='-static'
13786 # Portland Group C++ compiler.
13787 lt_prog_compiler_wl_CXX
='-Wl,'
13788 lt_prog_compiler_pic_CXX
='-fpic'
13789 lt_prog_compiler_static_CXX
='-Bstatic'
13793 # Make sure the PIC flag is empty. It appears that all Alpha
13794 # Linux and Compaq Tru64 Unix objects are PIC.
13795 lt_prog_compiler_pic_CXX
=
13796 lt_prog_compiler_static_CXX
='-non_shared'
13799 case `$CC -V 2>&1 | sed 5q` in
13802 lt_prog_compiler_pic_CXX
='-KPIC'
13803 lt_prog_compiler_static_CXX
='-Bstatic'
13804 lt_prog_compiler_wl_CXX
='-Qoption ld '
13815 case $cc_basename in
13817 lt_prog_compiler_pic_CXX
='-W c,exportall'
13823 netbsd
* | netbsdelf
*-gnu)
13825 osf3
* | osf4
* | osf5
*)
13826 case $cc_basename in
13828 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13831 # Rational C++ 2.4.1
13832 lt_prog_compiler_pic_CXX
='-pic'
13835 # Digital/Compaq C++
13836 lt_prog_compiler_wl_CXX
='-Wl,'
13837 # Make sure the PIC flag is empty. It appears that all Alpha
13838 # Linux and Compaq Tru64 Unix objects are PIC.
13839 lt_prog_compiler_pic_CXX
=
13840 lt_prog_compiler_static_CXX
='-non_shared'
13849 case $cc_basename in
13851 # Sun C++ 4.2, 5.x and Centerline C++
13852 lt_prog_compiler_pic_CXX
='-KPIC'
13853 lt_prog_compiler_static_CXX
='-Bstatic'
13854 lt_prog_compiler_wl_CXX
='-Qoption ld '
13857 # Green Hills C++ Compiler
13858 lt_prog_compiler_pic_CXX
='-PIC'
13865 case $cc_basename in
13868 lt_prog_compiler_pic_CXX
='-pic'
13869 lt_prog_compiler_static_CXX
='-Bstatic'
13873 lt_prog_compiler_pic_CXX
='-pic'
13880 case $cc_basename in
13882 # NonStop-UX NCC 3.20
13883 lt_prog_compiler_pic_CXX
='-KPIC'
13889 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13890 case $cc_basename in
13892 lt_prog_compiler_wl_CXX
='-Wl,'
13893 lt_prog_compiler_pic_CXX
='-KPIC'
13894 lt_prog_compiler_static_CXX
='-Bstatic'
13901 lt_prog_compiler_can_build_shared_CXX
=no
13906 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13907 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13910 # Check to make sure the PIC flag actually works.
13912 if test -n "$lt_prog_compiler_pic_CXX"; then
13914 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13915 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13916 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13917 echo $ECHO_N "(cached) $ECHO_C" >&6
13919 lt_cv_prog_compiler_pic_works_CXX
=no
13920 ac_outfile
=conftest.
$ac_objext
13921 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13922 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13923 # Insert the option either (1) after the last *FLAGS variable, or
13924 # (2) before a word containing "conftest.", or (3) at the end.
13925 # Note that $ac_compile itself does not contain backslashes and begins
13926 # with a dollar sign (not a hyphen), so the echo should work correctly.
13927 # The option is referenced via a variable to avoid confusing sed.
13928 lt_compile
=`echo "$ac_compile" | $SED \
13929 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13930 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13931 -e 's:$: $lt_compiler_flag:'`
13932 (eval echo "\"\$as_me:13932: $lt_compile\"" >&5)
13933 (eval "$lt_compile" 2>conftest.err
)
13935 cat conftest.err
>&5
13936 echo "$as_me:13936: \$? = $ac_status" >&5
13937 if (exit $ac_status) && test -s "$ac_outfile"; then
13938 # The compiler can only warn and ignore the option if not recognized
13939 # So say no if there are warnings other than the usual output.
13940 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13941 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13942 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13943 lt_cv_prog_compiler_pic_works_CXX
=yes
13949 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13950 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13952 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13953 case $lt_prog_compiler_pic_CXX in
13955 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13958 lt_prog_compiler_pic_CXX
=
13959 lt_prog_compiler_can_build_shared_CXX
=no
13964 # For platforms which do not support PIC, -DPIC is meaningless:
13966 lt_prog_compiler_pic_CXX
=
13969 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13974 # Check to make sure the static flag actually works.
13976 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13977 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13978 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13979 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 lt_cv_prog_compiler_static_works_CXX
=no
13983 save_LDFLAGS
="$LDFLAGS"
13984 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13985 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13986 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13987 # The linker can only warn and ignore the option if not recognized
13988 # So say no if there are warnings
13989 if test -s conftest.err
; then
13990 # Append any errors to the config.log.
13991 cat conftest.err
1>&5
13992 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13993 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13994 if diff conftest.exp conftest.er2
>/dev
/null
; then
13995 lt_cv_prog_compiler_static_works_CXX
=yes
13998 lt_cv_prog_compiler_static_works_CXX
=yes
14002 LDFLAGS
="$save_LDFLAGS"
14005 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14006 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14008 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14011 lt_prog_compiler_static_CXX
=
14015 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14016 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14017 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14020 lt_cv_prog_compiler_c_o_CXX
=no
14021 $rm -r conftest
2>/dev
/null
14025 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14027 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14028 # Insert the option either (1) after the last *FLAGS variable, or
14029 # (2) before a word containing "conftest.", or (3) at the end.
14030 # Note that $ac_compile itself does not contain backslashes and begins
14031 # with a dollar sign (not a hyphen), so the echo should work correctly.
14032 lt_compile
=`echo "$ac_compile" | $SED \
14033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14035 -e 's:$: $lt_compiler_flag:'`
14036 (eval echo "\"\$as_me:14036: $lt_compile\"" >&5)
14037 (eval "$lt_compile" 2>out
/conftest.err
)
14039 cat out
/conftest.err
>&5
14040 echo "$as_me:14040: \$? = $ac_status" >&5
14041 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14043 # The compiler can only warn and ignore the option if not recognized
14044 # So say no if there are warnings
14045 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
14046 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14047 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14048 lt_cv_prog_compiler_c_o_CXX
=yes
14053 # SGI C++ compiler will create directory out/ii_files/ for
14054 # template instantiation
14055 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14056 $rm out
/* && rmdir out
14062 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14063 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14066 hard_links
="nottested"
14067 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14068 # do not overwrite the value of need_locks provided by the user
14069 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14070 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14073 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14075 ln conftest.a conftest.b
2>&5 || hard_links
=no
14076 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14077 { echo "$as_me:$LINENO: result: $hard_links" >&5
14078 echo "${ECHO_T}$hard_links" >&6; }
14079 if test "$hard_links" = no
; then
14080 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14081 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14088 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14089 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14091 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14094 # If we're using GNU nm, then we don't want the "-C" option.
14095 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14096 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
14097 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'
14099 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'
14103 export_symbols_cmds_CXX
="$ltdll_cmds"
14106 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'
14108 linux
* | k
*bsd
*-gnu)
14109 link_all_deplibs_CXX
=no
14112 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14115 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14117 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14118 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14119 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14122 # Do we need to explicitly link libc?
14124 case "x$archive_cmds_need_lc_CXX" in
14126 # Assume -lc should be added
14127 archive_cmds_need_lc_CXX
=yes
14129 if test "$enable_shared" = yes && test "$GCC" = yes; then
14130 case $archive_cmds_CXX in
14132 # FIXME: we may have to deal with multi-command sequences.
14135 # Test whether the compiler implicitly links with -lc since on some
14136 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14137 # to ld, don't add -lc before -lgcc.
14138 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14139 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14141 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14144 (eval $ac_compile) 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); } 2>conftest.err
; then
14150 libobjs
=conftest.
$ac_objext
14152 wl
=$lt_prog_compiler_wl_CXX
14153 pic_flag
=$lt_prog_compiler_pic_CXX
14159 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14160 allow_undefined_flag_CXX
=
14161 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14162 (eval $archive_cmds_CXX 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); }
14167 archive_cmds_need_lc_CXX
=no
14169 archive_cmds_need_lc_CXX
=yes
14171 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14173 cat conftest.err
1>&5
14176 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14177 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14184 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14185 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14186 library_names_spec
=
14187 libname_spec
='lib$name'
14191 postuninstall_cmds
=
14195 shlibpath_overrides_runpath
=unknown
14197 dynamic_linker
="$host_os ld.so"
14198 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14200 need_lib_prefix
=unknown
14201 hardcode_into_libs
=no
14203 # when you set need_version to no, make sure it does not cause -set_version
14204 # flags to be left without arguments
14205 need_version
=unknown
14210 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14211 shlibpath_var
=LIBPATH
14213 # AIX 3 has no versioning support, so we append a major version to the name.
14214 soname_spec
='${libname}${release}${shared_ext}$major'
14221 hardcode_into_libs
=yes
14222 if test "$host_cpu" = ia64
; then
14223 # AIX 5 supports IA64
14224 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14225 shlibpath_var
=LD_LIBRARY_PATH
14227 # With GCC up to 2.95.x, collect2 would create an import file
14228 # for dependence libraries. The import file would start with
14229 # the line `#! .'. This would cause the generated library to
14230 # depend on `.', always an invalid library. This was fixed in
14231 # development snapshots of GCC prior to 3.0.
14233 aix4
| aix4.
[01] | aix4.
[01].
*)
14234 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14236 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
14239 can_build_shared
=no
14243 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14244 # soname into executable. Probably we can add versioning support to
14245 # collect2, so additional links can be useful in future.
14246 if test "$aix_use_runtimelinking" = yes; then
14247 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14248 # instead of lib<name>.a to let people know that these are not
14249 # typical AIX shared libraries.
14250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14252 # We preserve .a as extension for shared libraries through AIX4.2
14253 # and later when we are not doing run time linking.
14254 library_names_spec
='${libname}${release}.a $libname.a'
14255 soname_spec
='${libname}${release}${shared_ext}$major'
14257 shlibpath_var
=LIBPATH
14262 library_names_spec
='$libname.ixlibrary $libname.a'
14263 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14264 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'
14268 library_names_spec
='${libname}${shared_ext}'
14269 dynamic_linker
="$host_os ld.so"
14270 shlibpath_var
=LIBRARY_PATH
14276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14277 soname_spec
='${libname}${release}${shared_ext}$major'
14278 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14279 shlibpath_var
=LD_LIBRARY_PATH
14280 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14281 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14282 # the default ld.so.conf also contains /usr/contrib/lib and
14283 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14284 # libtool to hard-code these into programs
14287 cygwin
* | mingw
* | pw32
*)
14288 version_type
=windows
14293 case $GCC,$host_os in
14294 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
14295 library_names_spec
='$libname.dll.a'
14296 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14297 postinstall_cmds
='base_file=`basename \${file}`~
14298 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14299 dldir=$destdir/`dirname \$dlpath`~
14300 test -d \$dldir || mkdir -p \$dldir~
14301 $install_prog $dir/$dlname \$dldir/$dlname~
14302 chmod a+x \$dldir/$dlname'
14303 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14304 dlpath=$dir/\$dldll~
14306 shlibpath_overrides_runpath
=yes
14310 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14311 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14312 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14315 # MinGW DLLs use traditional 'lib' prefix
14316 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14317 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14318 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
14319 # It is most probably a Windows format PATH printed by
14320 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14321 # path with ; separators, and with drive letters. We can handle the
14322 # drive letters (cygwin fileutils understands them), so leave them,
14323 # especially as we might pass files found there to a mingw objdump,
14324 # which wouldn't understand a cygwinified path. Ahh.
14325 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14327 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14331 # pw32 DLLs use 'pw' prefix rather than 'lib'
14332 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14338 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
14341 dynamic_linker
='Win32 ld.exe'
14342 # FIXME: first we should search . and the directory the executable is in
14346 darwin
* | rhapsody
*)
14347 dynamic_linker
="$host_os dyld"
14348 version_type
=darwin
14351 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14352 soname_spec
='${libname}${release}${major}$shared_ext'
14353 shlibpath_overrides_runpath
=yes
14354 shlibpath_var
=DYLD_LIBRARY_PATH
14355 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14357 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14365 soname_spec
='${libname}${release}${shared_ext}$major'
14366 shlibpath_var
=LD_LIBRARY_PATH
14373 freebsd
* | dragonfly
*)
14374 # DragonFly does not have aout. When/if they implement a new
14375 # versioning mechanism, adjust this.
14376 if test -x /usr
/bin
/objformat
; then
14377 objformat
=`/usr/bin/objformat`
14380 freebsd
[123]*) objformat
=aout
;;
14381 *) objformat
=elf
;;
14384 version_type
=freebsd
-$objformat
14385 case $version_type in
14387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14392 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14396 shlibpath_var
=LD_LIBRARY_PATH
14399 shlibpath_overrides_runpath
=yes
14401 freebsd3.
[01]* | freebsdelf3.
[01]*)
14402 shlibpath_overrides_runpath
=yes
14403 hardcode_into_libs
=yes
14405 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14406 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14407 shlibpath_overrides_runpath
=no
14408 hardcode_into_libs
=yes
14410 *) # from 4.6 on, and DragonFly
14411 shlibpath_overrides_runpath
=yes
14412 hardcode_into_libs
=yes
14421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14422 soname_spec
='${libname}${release}${shared_ext}$major'
14423 shlibpath_var
=LD_LIBRARY_PATH
14424 hardcode_into_libs
=yes
14427 hpux9
* | hpux10
* | hpux11
*)
14428 # Give a soname corresponding to the major version so that dld.sl refuses to
14429 # link against other versions.
14436 hardcode_into_libs
=yes
14437 dynamic_linker
="$host_os dld.so"
14438 shlibpath_var
=LD_LIBRARY_PATH
14439 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14441 soname_spec
='${libname}${release}${shared_ext}$major'
14442 if test "X$HPUX_IA64_MODE" = X32
; then
14443 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14445 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14447 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14451 hardcode_into_libs
=yes
14452 dynamic_linker
="$host_os dld.sl"
14453 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14454 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14456 soname_spec
='${libname}${release}${shared_ext}$major'
14457 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14458 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14462 dynamic_linker
="$host_os dld.sl"
14463 shlibpath_var
=SHLIB_PATH
14464 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14466 soname_spec
='${libname}${release}${shared_ext}$major'
14469 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14470 postinstall_cmds
='chmod 555 $lib'
14477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14478 soname_spec
='${libname}${release}${shared_ext}$major'
14479 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14480 shlibpath_var
=LD_LIBRARY_PATH
14481 shlibpath_overrides_runpath
=no
14482 hardcode_into_libs
=yes
14485 irix5
* | irix6
* | nonstopux
*)
14487 nonstopux
*) version_type
=nonstopux
;;
14489 if test "$lt_cv_prog_gnu_ld" = yes; then
14497 soname_spec
='${libname}${release}${shared_ext}$major'
14498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14500 irix5
* | nonstopux
*)
14501 libsuff
= shlibsuff
=
14504 case $LD in # libtool.m4 will add one of these switches to LD
14505 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14506 libsuff
= shlibsuff
= libmagic
=32-bit;;
14507 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14508 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14509 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14510 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14511 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
14515 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14516 shlibpath_overrides_runpath
=no
14517 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14518 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14519 hardcode_into_libs
=yes
14522 # No shared lib support for Linux oldld, aout, or coff.
14523 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14527 # This must be Linux ELF.
14528 linux
* | k
*bsd
*-gnu)
14532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14533 soname_spec
='${libname}${release}${shared_ext}$major'
14534 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14535 shlibpath_var
=LD_LIBRARY_PATH
14536 shlibpath_overrides_runpath
=no
14537 # This implies no fast_install, which is unacceptable.
14538 # Some rework will be needed to allow for fast_install
14539 # before this can be enabled.
14540 hardcode_into_libs
=yes
14542 # Append ld.so.conf contents to the search path
14543 if test -f /etc
/ld.so.conf
; then
14544 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' ' '`
14545 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14548 # We used to test for /lib/ld.so.1 and disable shared libraries on
14549 # powerpc, because MkLinux only supported shared libraries with the
14550 # GNU dynamic linker. Since this was broken with cross compilers,
14551 # most powerpc-linux boxes support dynamic linking these days and
14552 # people can always --disable-shared, the test was removed, and we
14553 # assume the GNU/Linux dynamic linker is in use.
14554 dynamic_linker
='GNU/Linux ld.so'
14561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14562 soname_spec
='${libname}${release}${shared_ext}$major'
14563 shlibpath_var
=LD_LIBRARY_PATH
14564 shlibpath_overrides_runpath
=no
14565 hardcode_into_libs
=yes
14566 dynamic_linker
='NetBSD ld.elf_so'
14573 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
14574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14575 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14576 dynamic_linker
='NetBSD (a.out) ld.so'
14578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14579 soname_spec
='${libname}${release}${shared_ext}$major'
14580 dynamic_linker
='NetBSD ld.elf_so'
14582 shlibpath_var
=LD_LIBRARY_PATH
14583 shlibpath_overrides_runpath
=yes
14584 hardcode_into_libs
=yes
14589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 shlibpath_var
=LD_LIBRARY_PATH
14591 shlibpath_overrides_runpath
=yes
14598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14599 soname_spec
='${libname}${release}${shared_ext}$major'
14600 shlibpath_var
=LD_LIBRARY_PATH
14601 shlibpath_overrides_runpath
=yes
14606 sys_lib_dlsearch_path_spec
="/usr/lib"
14608 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14610 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
14611 *) need_version
=no
;;
14613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14615 shlibpath_var
=LD_LIBRARY_PATH
14616 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14618 openbsd2.
[89] | openbsd2.
[89].
*)
14619 shlibpath_overrides_runpath
=no
14622 shlibpath_overrides_runpath
=yes
14626 shlibpath_overrides_runpath
=yes
14631 libname_spec
='$name'
14634 library_names_spec
='$libname${shared_ext} $libname.a'
14635 dynamic_linker
='OS/2 ld.exe'
14636 shlibpath_var
=LIBPATH
14639 osf3
* | osf4
* | osf5
*)
14643 soname_spec
='${libname}${release}${shared_ext}$major'
14644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14645 shlibpath_var
=LD_LIBRARY_PATH
14646 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14647 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14659 soname_spec
='${libname}${release}${shared_ext}$major'
14660 shlibpath_var
=LD_LIBRARY_PATH
14661 shlibpath_overrides_runpath
=yes
14662 hardcode_into_libs
=yes
14663 # ldd complains unless libraries are executable
14664 postinstall_cmds
='chmod +x $lib'
14669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14670 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14671 shlibpath_var
=LD_LIBRARY_PATH
14672 shlibpath_overrides_runpath
=yes
14673 if test "$with_gnu_ld" = yes; then
14681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14682 soname_spec
='${libname}${release}${shared_ext}$major'
14683 shlibpath_var
=LD_LIBRARY_PATH
14684 case $host_vendor in
14686 shlibpath_overrides_runpath
=no
14688 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14689 runpath_var
=LD_RUN_PATH
14697 shlibpath_overrides_runpath
=no
14698 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14704 if test -d /usr
/nec
;then
14706 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14707 soname_spec
='$libname${shared_ext}.$major'
14708 shlibpath_var
=LD_LIBRARY_PATH
14712 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14713 version_type
=freebsd
-elf
14716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14717 soname_spec
='${libname}${release}${shared_ext}$major'
14718 shlibpath_var
=LD_LIBRARY_PATH
14719 hardcode_into_libs
=yes
14720 if test "$with_gnu_ld" = yes; then
14721 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14722 shlibpath_overrides_runpath
=no
14724 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14725 shlibpath_overrides_runpath
=yes
14728 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14732 sys_lib_dlsearch_path_spec
='/usr/lib'
14737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738 soname_spec
='${libname}${release}${shared_ext}$major'
14739 shlibpath_var
=LD_LIBRARY_PATH
14746 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14747 echo "${ECHO_T}$dynamic_linker" >&6; }
14748 test "$dynamic_linker" = no
&& can_build_shared
=no
14750 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
14756 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14757 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14758 echo $ECHO_N "(cached) $ECHO_C" >&6
14760 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
14763 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14765 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14766 if test "$GCC" = yes; then
14767 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14770 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14771 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14772 hardcode_action_CXX
=
14773 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14774 test -n "$runpath_var_CXX" || \
14775 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14777 # We can hardcode non-existant directories.
14778 if test "$hardcode_direct_CXX" != no
&&
14779 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14780 # have to relink, otherwise we might link with an installed library
14781 # when we should be linking with a yet-to-be-installed one
14782 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14783 test "$hardcode_minus_L_CXX" != no
; then
14784 # Linking always hardcodes the temporary library directory.
14785 hardcode_action_CXX
=relink
14787 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14788 hardcode_action_CXX
=immediate
14791 # We cannot hardcode anything, or else we can only hardcode existing
14793 hardcode_action_CXX
=unsupported
14795 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14796 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14798 if test "$hardcode_action_CXX" = relink
; then
14799 # Fast installation is not supported
14800 enable_fast_install
=no
14801 elif test "$shlibpath_overrides_runpath" = yes ||
14802 test "$enable_shared" = no
; then
14803 # Fast installation is not necessary
14804 enable_fast_install
=needless
14808 # The else clause should only fire when bootstrapping the
14809 # libtool distribution, otherwise you forgot to ship ltmain.sh
14810 # with your package, and you will get complaints that there are
14811 # no rules to generate ltmain.sh.
14812 if test -f "$ltmain"; then
14813 # See if we are running on zsh, and set the options which allow our commands through
14814 # without removal of \ escapes.
14815 if test -n "${ZSH_VERSION+set}" ; then
14816 setopt NO_GLOB_SUBST
14818 # Now quote all the things that may contain metacharacters while being
14819 # careful not to overquote the AC_SUBSTed values. We take copies of the
14820 # variables and quote the copies for generation of the libtool script.
14821 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14823 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14824 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14825 deplibs_check_method reload_flag reload_cmds need_locks \
14826 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14827 lt_cv_sys_global_symbol_to_c_name_address \
14828 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14829 old_postinstall_cmds old_postuninstall_cmds \
14833 lt_prog_compiler_wl_CXX \
14834 lt_prog_compiler_pic_CXX \
14835 lt_prog_compiler_static_CXX \
14836 lt_prog_compiler_no_builtin_flag_CXX \
14837 export_dynamic_flag_spec_CXX \
14838 thread_safe_flag_spec_CXX \
14839 whole_archive_flag_spec_CXX \
14840 enable_shared_with_static_runtimes_CXX \
14841 old_archive_cmds_CXX \
14842 old_archive_from_new_cmds_CXX \
14843 predep_objects_CXX \
14844 postdep_objects_CXX \
14847 compiler_lib_search_path_CXX \
14848 compiler_lib_search_dirs_CXX \
14850 archive_expsym_cmds_CXX \
14851 postinstall_cmds_CXX \
14852 postuninstall_cmds_CXX \
14853 old_archive_from_expsyms_cmds_CXX \
14854 allow_undefined_flag_CXX \
14855 no_undefined_flag_CXX \
14856 export_symbols_cmds_CXX \
14857 hardcode_libdir_flag_spec_CXX \
14858 hardcode_libdir_flag_spec_ld_CXX \
14859 hardcode_libdir_separator_CXX \
14860 hardcode_automatic_CXX \
14862 module_expsym_cmds_CXX \
14863 lt_cv_prog_compiler_c_o_CXX \
14864 fix_srcfile_path_CXX \
14865 exclude_expsyms_CXX \
14866 include_expsyms_CXX
; do
14869 old_archive_cmds_CXX
| \
14870 old_archive_from_new_cmds_CXX
| \
14871 archive_cmds_CXX
| \
14872 archive_expsym_cmds_CXX
| \
14873 module_cmds_CXX
| \
14874 module_expsym_cmds_CXX
| \
14875 old_archive_from_expsyms_cmds_CXX
| \
14876 export_symbols_cmds_CXX
| \
14877 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
14878 postinstall_cmds
| postuninstall_cmds
| \
14879 old_postinstall_cmds
| old_postuninstall_cmds
| \
14880 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
14881 # Double-quote double-evaled strings.
14882 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14885 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14891 *'\$0 --fallback-echo"')
14892 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14898 cat <<__EOF__ >> "$cfgfile"
14899 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14901 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14903 # Shell to use when invoking shell scripts.
14906 # Whether or not to build shared libraries.
14907 build_libtool_libs=$enable_shared
14909 # Whether or not to build static libraries.
14910 build_old_libs=$enable_static
14912 # Whether or not to add -lc for building shared libraries.
14913 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14915 # Whether or not to disallow shared libs when runtime libs are static
14916 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14918 # Whether or not to optimize for fast installation.
14919 fast_install=$enable_fast_install
14922 host_alias=$host_alias
14926 # The build system.
14927 build_alias=$build_alias
14931 # An echo program that does not interpret backslashes.
14936 AR_FLAGS=$lt_AR_FLAGS
14941 # LTCC compiler flags.
14942 LTCFLAGS=$lt_LTCFLAGS
14944 # A language-specific compiler.
14945 CC=$lt_compiler_CXX
14947 # Is the compiler the GNU C compiler?
14953 # The linker used to build libraries.
14956 # Whether we need hard or soft links.
14959 # A BSD-compatible nm program.
14962 # A symbol stripping program
14965 # Used to examine libraries when file_magic_cmd begins "file"
14966 MAGIC_CMD=$MAGIC_CMD
14968 # Used on cygwin: DLL creation program.
14971 # Used on cygwin: object dumper.
14974 # Used on cygwin: assembler.
14977 # The name of the directory that contains temporary libtool files.
14980 # How to create reloadable object files.
14981 reload_flag=$lt_reload_flag
14982 reload_cmds=$lt_reload_cmds
14984 # How to pass a linker flag through the compiler.
14985 wl=$lt_lt_prog_compiler_wl_CXX
14987 # Object file suffix (normally "o").
14988 objext="$ac_objext"
14990 # Old archive suffix (normally "a").
14993 # Shared library suffix (normally ".so").
14994 shrext_cmds='$shrext_cmds'
14996 # Executable file suffix (normally "").
14999 # Additional compiler flags for building library objects.
15000 pic_flag=$lt_lt_prog_compiler_pic_CXX
15003 # What is the maximum length of a command?
15004 max_cmd_len=$lt_cv_sys_max_cmd_len
15006 # Does compiler simultaneously support -c and -o options?
15007 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15009 # Must we lock files when doing compilation?
15010 need_locks=$lt_need_locks
15012 # Do we need the lib prefix for modules?
15013 need_lib_prefix=$need_lib_prefix
15015 # Do we need a version for libraries?
15016 need_version=$need_version
15018 # Whether dlopen is supported.
15019 dlopen_support=$enable_dlopen
15021 # Whether dlopen of programs is supported.
15022 dlopen_self=$enable_dlopen_self
15024 # Whether dlopen of statically linked programs is supported.
15025 dlopen_self_static=$enable_dlopen_self_static
15027 # Compiler flag to prevent dynamic linking.
15028 link_static_flag=$lt_lt_prog_compiler_static_CXX
15030 # Compiler flag to turn off builtin functions.
15031 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15033 # Compiler flag to allow reflexive dlopens.
15034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15036 # Compiler flag to generate shared objects directly from archives.
15037 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15039 # Compiler flag to generate thread-safe objects.
15040 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15042 # Library versioning type.
15043 version_type=$version_type
15045 # Format of library name prefix.
15046 libname_spec=$lt_libname_spec
15048 # List of archive names. First name is the real one, the rest are links.
15049 # The last name is the one that the linker finds with -lNAME.
15050 library_names_spec=$lt_library_names_spec
15052 # The coded name of the library, if different from the real name.
15053 soname_spec=$lt_soname_spec
15055 # Commands used to build and install an old-style archive.
15057 old_archive_cmds=$lt_old_archive_cmds_CXX
15058 old_postinstall_cmds=$lt_old_postinstall_cmds
15059 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15061 # Create an old-style archive from a shared archive.
15062 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15064 # Create a temporary old-style archive to link instead of a shared archive.
15065 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15067 # Commands used to build and install a shared archive.
15068 archive_cmds=$lt_archive_cmds_CXX
15069 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15070 postinstall_cmds=$lt_postinstall_cmds
15071 postuninstall_cmds=$lt_postuninstall_cmds
15073 # Commands used to build a loadable module (assumed same as above if empty)
15074 module_cmds=$lt_module_cmds_CXX
15075 module_expsym_cmds=$lt_module_expsym_cmds_CXX
15077 # Commands to strip libraries.
15078 old_striplib=$lt_old_striplib
15079 striplib=$lt_striplib
15081 # Dependencies to place before the objects being linked to create a
15083 predep_objects=$lt_predep_objects_CXX
15085 # Dependencies to place after the objects being linked to create a
15087 postdep_objects=$lt_postdep_objects_CXX
15089 # Dependencies to place before the objects being linked to create a
15091 predeps=$lt_predeps_CXX
15093 # Dependencies to place after the objects being linked to create a
15095 postdeps=$lt_postdeps_CXX
15097 # The directories searched by this compiler when creating a shared
15099 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
15101 # The library search path used internally by the compiler when linking
15102 # a shared library.
15103 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15105 # Method to check whether dependent libraries are shared objects.
15106 deplibs_check_method=$lt_deplibs_check_method
15108 # Command to use when deplibs_check_method == file_magic.
15109 file_magic_cmd=$lt_file_magic_cmd
15111 # Flag that allows shared libraries with undefined symbols to be built.
15112 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15114 # Flag that forces no undefined symbols.
15115 no_undefined_flag=$lt_no_undefined_flag_CXX
15117 # Commands used to finish a libtool library installation in a directory.
15118 finish_cmds=$lt_finish_cmds
15120 # Same as above, but a single script fragment to be evaled but not shown.
15121 finish_eval=$lt_finish_eval
15123 # Take the output of nm and produce a listing of raw symbols and C names.
15124 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15126 # Transform the output of nm in a proper C declaration
15127 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15129 # Transform the output of nm in a C name address pair
15130 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15132 # This is the shared library runtime path variable.
15133 runpath_var=$runpath_var
15135 # This is the shared library path variable.
15136 shlibpath_var=$shlibpath_var
15138 # Is shlibpath searched before the hard-coded library search path?
15139 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15141 # How to hardcode a shared library path into an executable.
15142 hardcode_action=$hardcode_action_CXX
15144 # Whether we should hardcode library paths into libraries.
15145 hardcode_into_libs=$hardcode_into_libs
15147 # Flag to hardcode \$libdir into a binary during linking.
15148 # This must work even if \$libdir does not exist.
15149 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15151 # If ld is used when linking, flag to hardcode \$libdir into
15152 # a binary during linking. This must work even if \$libdir does
15154 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15156 # Whether we need a single -rpath flag with a separated argument.
15157 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15159 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15160 # resulting binary.
15161 hardcode_direct=$hardcode_direct_CXX
15163 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15164 # resulting binary.
15165 hardcode_minus_L=$hardcode_minus_L_CXX
15167 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15168 # the resulting binary.
15169 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15171 # Set to yes if building a shared library automatically hardcodes DIR into the library
15172 # and all subsequent libraries and executables linked against it.
15173 hardcode_automatic=$hardcode_automatic_CXX
15175 # Variables whose values should be saved in libtool wrapper scripts and
15176 # restored at relink time.
15177 variables_saved_for_relink="$variables_saved_for_relink"
15179 # Whether libtool must link a program against all its dependency libraries.
15180 link_all_deplibs=$link_all_deplibs_CXX
15182 # Compile-time system search path for libraries
15183 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15185 # Run-time system search path for libraries
15186 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15188 # Fix the shell variable \$srcfile for the compiler.
15189 fix_srcfile_path=$lt_fix_srcfile_path
15191 # Set to yes if exported symbols are required.
15192 always_export_symbols=$always_export_symbols_CXX
15194 # The commands to list exported symbols.
15195 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15197 # The commands to extract the exported symbol list from a shared archive.
15198 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15200 # Symbols that should not be listed in the preloaded symbols.
15201 exclude_expsyms=$lt_exclude_expsyms_CXX
15203 # Symbols that must always be exported.
15204 include_expsyms=$lt_include_expsyms_CXX
15206 # ### END LIBTOOL TAG CONFIG: $tagname
15212 # If there is no Makefile yet, we rely on a make rule to execute
15213 # `config.status --recheck' to rerun these tests and create the
15214 # libtool script then.
15215 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15216 if test -f "$ltmain_in"; then
15217 test -f Makefile
&& make "$ltmain"
15223 ac_cpp
='$CPP $CPPFLAGS'
15224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15232 with_gnu_ldcxx
=$with_gnu_ld
15233 with_gnu_ld
=$lt_save_with_gnu_ld
15234 lt_cv_path_LDCXX
=$lt_cv_path_LD
15235 lt_cv_path_LD
=$lt_save_path_LD
15236 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15237 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15245 if test -n "$F77" && test "X$F77" != "Xno"; then
15248 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15249 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15250 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
15253 archive_cmds_need_lc_F77
=no
15254 allow_undefined_flag_F77
=
15255 always_export_symbols_F77
=no
15256 archive_expsym_cmds_F77
=
15257 export_dynamic_flag_spec_F77
=
15258 hardcode_direct_F77
=no
15259 hardcode_libdir_flag_spec_F77
=
15260 hardcode_libdir_flag_spec_ld_F77
=
15261 hardcode_libdir_separator_F77
=
15262 hardcode_minus_L_F77
=no
15263 hardcode_automatic_F77
=no
15265 module_expsym_cmds_F77
=
15266 link_all_deplibs_F77
=unknown
15267 old_archive_cmds_F77
=$old_archive_cmds
15268 no_undefined_flag_F77
=
15269 whole_archive_flag_spec_F77
=
15270 enable_shared_with_static_runtimes_F77
=no
15272 # Source file extension for f77 test sources.
15275 # Object file extension for compiled f77 test sources.
15279 # Code to be used in simple compile tests
15280 lt_simple_compile_test_code
="\
15286 # Code to be used in simple link tests
15287 lt_simple_link_test_code
="\
15292 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15294 # If no C compiler was specified, use CC.
15297 # If no C compiler flags were specified, use CFLAGS.
15298 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15300 # Allow CC to be a program name with arguments.
15304 # save warnings/boilerplate of simple test code
15305 ac_outfile
=conftest.
$ac_objext
15306 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15307 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15308 _lt_compiler_boilerplate
=`cat conftest.err`
15311 ac_outfile
=conftest.
$ac_objext
15312 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15313 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15314 _lt_linker_boilerplate
=`cat conftest.err`
15318 # Allow CC to be a program name with arguments.
15323 for cc_temp
in $compiler""; do
15325 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
15326 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
15331 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15334 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15335 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15336 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15337 echo "${ECHO_T}$can_build_shared" >&6; }
15339 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15340 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15341 test "$can_build_shared" = "no" && enable_shared
=no
15343 # On AIX, shared libraries and static libraries use the same namespace, and
15344 # are all built from PIC.
15347 test "$enable_shared" = yes && enable_static
=no
15348 if test -n "$RANLIB"; then
15349 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15350 postinstall_cmds
='$RANLIB $lib'
15354 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15355 test "$enable_shared" = yes && enable_static
=no
15359 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15360 echo "${ECHO_T}$enable_shared" >&6; }
15362 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15363 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15364 # Make sure either enable_shared or enable_static is yes.
15365 test "$enable_shared" = yes || enable_static
=yes
15366 { echo "$as_me:$LINENO: result: $enable_static" >&5
15367 echo "${ECHO_T}$enable_static" >&6; }
15372 lt_prog_compiler_wl_F77
=
15373 lt_prog_compiler_pic_F77
=
15374 lt_prog_compiler_static_F77
=
15376 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15377 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15379 if test "$GCC" = yes; then
15380 lt_prog_compiler_wl_F77
='-Wl,'
15381 lt_prog_compiler_static_F77
='-static'
15385 # All AIX code is PIC.
15386 if test "$host_cpu" = ia64
; then
15387 # AIX 5 now supports IA64 processor
15388 lt_prog_compiler_static_F77
='-Bstatic'
15393 # FIXME: we need at least 68020 code to build shared libraries, but
15394 # adding the `-m68020' flag to GCC prevents building anything better,
15396 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
15399 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15400 # PIC is the default for these OSes.
15403 mingw
* | cygwin
* | pw32
* | os2
*)
15404 # This hack is so that the source file can tell whether it is being
15405 # built for inclusion in a dll (and should export symbols for example).
15406 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15407 # (--disable-auto-import) libraries
15408 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15411 darwin
* | rhapsody
*)
15412 # PIC is the default on this platform
15413 # Common symbols not allowed in MH_DYLIB files
15414 lt_prog_compiler_pic_F77
='-fno-common'
15418 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15419 # Instead, we relocate shared libraries at runtime.
15423 # Just because we use GCC doesn't mean we suddenly get shared libraries
15424 # on systems that don't support them.
15425 lt_prog_compiler_can_build_shared_F77
=no
15430 if test -d /usr
/nec
; then
15431 lt_prog_compiler_pic_F77
=-Kconform_pic
15436 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15437 # not for PA HP-UX.
15443 lt_prog_compiler_pic_F77
='-fPIC'
15449 lt_prog_compiler_pic_F77
='-fPIC'
15453 # PORTME Check for flag to pass linker flags through the system compiler.
15456 lt_prog_compiler_wl_F77
='-Wl,'
15457 if test "$host_cpu" = ia64
; then
15458 # AIX 5 now supports IA64 processor
15459 lt_prog_compiler_static_F77
='-Bstatic'
15461 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
15465 # PIC is the default on this platform
15466 # Common symbols not allowed in MH_DYLIB files
15467 case $cc_basename in
15469 lt_prog_compiler_pic_F77
='-qnocommon'
15470 lt_prog_compiler_wl_F77
='-Wl,'
15475 mingw
* | cygwin
* | pw32
* | os2
*)
15476 # This hack is so that the source file can tell whether it is being
15477 # built for inclusion in a dll (and should export symbols for example).
15478 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15481 hpux9
* | hpux10
* | hpux11
*)
15482 lt_prog_compiler_wl_F77
='-Wl,'
15483 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15484 # not for PA HP-UX.
15490 lt_prog_compiler_pic_F77
='+Z'
15493 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15494 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
15497 irix5
* | irix6
* | nonstopux
*)
15498 lt_prog_compiler_wl_F77
='-Wl,'
15499 # PIC (with -KPIC) is the default.
15500 lt_prog_compiler_static_F77
='-non_shared'
15504 lt_prog_compiler_pic_F77
='-KPIC'
15505 lt_prog_compiler_static_F77
='-Bstatic'
15508 linux
* | k
*bsd
*-gnu)
15509 case $cc_basename in
15511 lt_prog_compiler_wl_F77
='-Wl,'
15512 lt_prog_compiler_pic_F77
='-KPIC'
15513 lt_prog_compiler_static_F77
='-static'
15515 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15516 # Portland Group compilers (*not* the Pentium gcc compiler,
15517 # which looks to be a dead project)
15518 lt_prog_compiler_wl_F77
='-Wl,'
15519 lt_prog_compiler_pic_F77
='-fpic'
15520 lt_prog_compiler_static_F77
='-Bstatic'
15523 lt_prog_compiler_wl_F77
='-Wl,'
15524 # All Alpha code is PIC.
15525 lt_prog_compiler_static_F77
='-non_shared'
15528 case `$CC -V 2>&1 | sed 5q` in
15531 lt_prog_compiler_pic_F77
='-KPIC'
15532 lt_prog_compiler_static_F77
='-Bstatic'
15533 lt_prog_compiler_wl_F77
='-Wl,'
15536 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15537 lt_prog_compiler_pic_F77
='-KPIC'
15538 lt_prog_compiler_static_F77
='-Bstatic'
15539 lt_prog_compiler_wl_F77
=''
15546 osf3
* | osf4
* | osf5
*)
15547 lt_prog_compiler_wl_F77
='-Wl,'
15548 # All OSF/1 code is PIC.
15549 lt_prog_compiler_static_F77
='-non_shared'
15553 lt_prog_compiler_static_F77
='-non_shared'
15557 lt_prog_compiler_pic_F77
='-KPIC'
15558 lt_prog_compiler_static_F77
='-Bstatic'
15559 case $cc_basename in
15560 f77
* | f90
* | f95
*)
15561 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15563 lt_prog_compiler_wl_F77
='-Wl,';;
15568 lt_prog_compiler_wl_F77
='-Qoption ld '
15569 lt_prog_compiler_pic_F77
='-PIC'
15570 lt_prog_compiler_static_F77
='-Bstatic'
15573 sysv4
| sysv4.2uw2
* | sysv4.3
*)
15574 lt_prog_compiler_wl_F77
='-Wl,'
15575 lt_prog_compiler_pic_F77
='-KPIC'
15576 lt_prog_compiler_static_F77
='-Bstatic'
15580 if test -d /usr
/nec
;then
15581 lt_prog_compiler_pic_F77
='-Kconform_pic'
15582 lt_prog_compiler_static_F77
='-Bstatic'
15586 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15587 lt_prog_compiler_wl_F77
='-Wl,'
15588 lt_prog_compiler_pic_F77
='-KPIC'
15589 lt_prog_compiler_static_F77
='-Bstatic'
15593 lt_prog_compiler_wl_F77
='-Wl,'
15594 lt_prog_compiler_can_build_shared_F77
=no
15598 lt_prog_compiler_pic_F77
='-pic'
15599 lt_prog_compiler_static_F77
='-Bstatic'
15603 lt_prog_compiler_can_build_shared_F77
=no
15608 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15609 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15612 # Check to make sure the PIC flag actually works.
15614 if test -n "$lt_prog_compiler_pic_F77"; then
15616 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15617 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15618 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 lt_cv_prog_compiler_pic_works_F77
=no
15622 ac_outfile
=conftest.
$ac_objext
15623 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15624 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15625 # Insert the option either (1) after the last *FLAGS variable, or
15626 # (2) before a word containing "conftest.", or (3) at the end.
15627 # Note that $ac_compile itself does not contain backslashes and begins
15628 # with a dollar sign (not a hyphen), so the echo should work correctly.
15629 # The option is referenced via a variable to avoid confusing sed.
15630 lt_compile
=`echo "$ac_compile" | $SED \
15631 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15632 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15633 -e 's:$: $lt_compiler_flag:'`
15634 (eval echo "\"\$as_me:15634: $lt_compile\"" >&5)
15635 (eval "$lt_compile" 2>conftest.err
)
15637 cat conftest.err
>&5
15638 echo "$as_me:15638: \$? = $ac_status" >&5
15639 if (exit $ac_status) && test -s "$ac_outfile"; then
15640 # The compiler can only warn and ignore the option if not recognized
15641 # So say no if there are warnings other than the usual output.
15642 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15643 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15644 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15645 lt_cv_prog_compiler_pic_works_F77
=yes
15651 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
15652 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15654 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
15655 case $lt_prog_compiler_pic_F77 in
15657 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15660 lt_prog_compiler_pic_F77
=
15661 lt_prog_compiler_can_build_shared_F77
=no
15666 # For platforms which do not support PIC, -DPIC is meaningless:
15668 lt_prog_compiler_pic_F77
=
15671 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15676 # Check to make sure the static flag actually works.
15678 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15679 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15680 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15681 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15682 echo $ECHO_N "(cached) $ECHO_C" >&6
15684 lt_cv_prog_compiler_static_works_F77
=no
15685 save_LDFLAGS
="$LDFLAGS"
15686 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15687 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15688 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15689 # The linker can only warn and ignore the option if not recognized
15690 # So say no if there are warnings
15691 if test -s conftest.err
; then
15692 # Append any errors to the config.log.
15693 cat conftest.err
1>&5
15694 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15695 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15696 if diff conftest.exp conftest.er2
>/dev
/null
; then
15697 lt_cv_prog_compiler_static_works_F77
=yes
15700 lt_cv_prog_compiler_static_works_F77
=yes
15704 LDFLAGS
="$save_LDFLAGS"
15707 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
15708 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
15710 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
15713 lt_prog_compiler_static_F77
=
15717 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15718 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15719 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 lt_cv_prog_compiler_c_o_F77
=no
15723 $rm -r conftest
2>/dev
/null
15727 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15729 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15730 # Insert the option either (1) after the last *FLAGS variable, or
15731 # (2) before a word containing "conftest.", or (3) at the end.
15732 # Note that $ac_compile itself does not contain backslashes and begins
15733 # with a dollar sign (not a hyphen), so the echo should work correctly.
15734 lt_compile
=`echo "$ac_compile" | $SED \
15735 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15736 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15737 -e 's:$: $lt_compiler_flag:'`
15738 (eval echo "\"\$as_me:15738: $lt_compile\"" >&5)
15739 (eval "$lt_compile" 2>out
/conftest.err
)
15741 cat out
/conftest.err
>&5
15742 echo "$as_me:15742: \$? = $ac_status" >&5
15743 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15745 # The compiler can only warn and ignore the option if not recognized
15746 # So say no if there are warnings
15747 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
15748 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15749 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15750 lt_cv_prog_compiler_c_o_F77
=yes
15755 # SGI C++ compiler will create directory out/ii_files/ for
15756 # template instantiation
15757 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15758 $rm out
/* && rmdir out
15764 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15765 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15768 hard_links
="nottested"
15769 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15770 # do not overwrite the value of need_locks provided by the user
15771 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15772 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15775 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15777 ln conftest.a conftest.b
2>&5 || hard_links
=no
15778 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15779 { echo "$as_me:$LINENO: result: $hard_links" >&5
15780 echo "${ECHO_T}$hard_links" >&6; }
15781 if test "$hard_links" = no
; then
15782 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15783 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15790 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15791 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15794 allow_undefined_flag_F77
=
15795 enable_shared_with_static_runtimes_F77
=no
15797 archive_expsym_cmds_F77
=
15798 old_archive_From_new_cmds_F77
=
15799 old_archive_from_expsyms_cmds_F77
=
15800 export_dynamic_flag_spec_F77
=
15801 whole_archive_flag_spec_F77
=
15802 thread_safe_flag_spec_F77
=
15803 hardcode_libdir_flag_spec_F77
=
15804 hardcode_libdir_flag_spec_ld_F77
=
15805 hardcode_libdir_separator_F77
=
15806 hardcode_direct_F77
=no
15807 hardcode_minus_L_F77
=no
15808 hardcode_shlibpath_var_F77
=unsupported
15809 link_all_deplibs_F77
=unknown
15810 hardcode_automatic_F77
=no
15812 module_expsym_cmds_F77
=
15813 always_export_symbols_F77
=no
15814 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15815 # include_expsyms should be a list of space-separated symbols to be *always*
15816 # included in the symbol list
15817 include_expsyms_F77
=
15818 # exclude_expsyms can be an extended regexp of symbols to exclude
15819 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15820 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15821 # as well as any symbol that contains `d'.
15822 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15823 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15824 # platforms (ab)use it in PIC code, but their linkers get confused if
15825 # the symbol is explicitly referenced. Since portable code cannot
15826 # rely on this symbol name, it's probably fine to never include it in
15827 # preloaded symbol tables.
15828 # Exclude shared library initialization/finalization symbols.
15829 extract_expsyms_cmds
=
15830 # Just being paranoid about ensuring that cc_basename is set.
15831 for cc_temp
in $compiler""; do
15833 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
15834 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
15839 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15842 cygwin
* | mingw
* | pw32
*)
15843 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15844 # When not using gcc, we currently assume that we are using
15845 # Microsoft Visual C++.
15846 if test "$GCC" != yes; then
15851 # we just hope/assume this is gcc and not c89 (= MSVC++)
15860 if test "$with_gnu_ld" = yes; then
15861 # If archive_cmds runs LD, not CC, wlarc should be empty
15864 # Set some defaults for GNU ld with shared library support. These
15865 # are reset later if shared libraries are not supported. Putting them
15866 # here allows them to be overridden if necessary.
15867 runpath_var
=LD_RUN_PATH
15868 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15869 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15870 # ancient GNU ld didn't support --whole-archive et. al.
15871 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
15872 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15874 whole_archive_flag_spec_F77
=
15876 supports_anon_versioning
=no
15877 case `$LD -v 2>/dev/null` in
15878 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
15879 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15880 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15881 *\
2.11.
*) ;; # other 2.11 versions
15882 *) supports_anon_versioning
=yes ;;
15885 # See if GNU ld supports shared libraries.
15888 # On AIX/PPC, the GNU linker is very broken
15889 if test "$host_cpu" != ia64
; then
15893 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15894 *** to be unable to reliably create shared libraries on AIX.
15895 *** Therefore, libtool is disabling shared libraries support. If you
15896 *** really care for shared libraries, you may want to modify your PATH
15897 *** so that a non-GNU linker is found, and then restart.
15904 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)'
15905 hardcode_libdir_flag_spec_F77
='-L$libdir'
15906 hardcode_minus_L_F77
=yes
15908 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15909 # that the semantics of dynamic libraries on AmigaOS, at least up
15910 # to version 4, is to share data among multiple programs linked
15911 # with the same dynamic library. Since this doesn't match the
15912 # behavior of shared libraries on other platforms, we can't use
15918 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15919 allow_undefined_flag_F77
=unsupported
15920 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15921 # support --undefined. This deserves some investigation. FIXME
15922 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15928 cygwin
* | mingw
* | pw32
*)
15929 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15930 # as there is no search path for DLLs.
15931 hardcode_libdir_flag_spec_F77
='-L$libdir'
15932 allow_undefined_flag_F77
=unsupported
15933 always_export_symbols_F77
=no
15934 enable_shared_with_static_runtimes_F77
=yes
15935 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15937 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
15938 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15939 # If the export-symbols file already is a .def file (1st line
15940 # is EXPORTS), use it as is; otherwise, prepend...
15941 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15942 cp $export_symbols $output_objdir/$soname.def;
15944 echo EXPORTS > $output_objdir/$soname.def;
15945 cat $export_symbols >> $output_objdir/$soname.def;
15947 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15954 hardcode_direct_F77
=no
15955 hardcode_shlibpath_var_F77
=no
15956 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15957 export_dynamic_flag_spec_F77
='${wl}-E'
15958 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15959 # Instead, shared libraries are loaded at an image base (0x10000000 by
15960 # default) and relocated if they conflict, which is a slow very memory
15961 # consuming and fragmenting process. To avoid this, we pick a random,
15962 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15963 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15964 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'
15965 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'
15968 gnu
* | linux
* | k
*bsd
*-gnu)
15969 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15971 case $cc_basename,$host_cpu in
15972 pgcc
*) # Portland Group C compiler
15973 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'
15974 tmp_addflag
=' $pic_flag'
15976 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15977 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'
15978 tmp_addflag
=' $pic_flag -Mnomain' ;;
15979 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15980 tmp_addflag
=' -i_dynamic' ;;
15981 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15982 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15983 ifc
* | ifort
*) # Intel Fortran compiler
15984 tmp_addflag
=' -nofor_main' ;;
15986 case `$CC -V 2>&1 | sed 5q` in
15987 *Sun\ C
*) # Sun C 5.9
15988 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'
15989 tmp_sharedflag
='-G' ;;
15990 *Sun\ F
*) # Sun Fortran 8.3
15991 tmp_sharedflag
='-G' ;;
15993 tmp_sharedflag
='-shared' ;;
15995 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15997 if test $supports_anon_versioning = yes; then
15998 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15999 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16000 $echo "local: *; };" >> $output_objdir/$libname.ver~
16001 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16003 link_all_deplibs_F77
=no
16009 netbsd
* | netbsdelf
*-gnu)
16010 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
16011 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16014 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16015 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16020 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
16024 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16025 *** create shared libraries on Solaris systems. Therefore, libtool
16026 *** is disabling shared libraries support. We urge you to upgrade GNU
16027 *** binutils to release 2.9.1 or newer. Another option is to modify
16028 *** your PATH or compiler configuration so that the native linker is
16029 *** used, and then restart.
16032 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
16033 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16034 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16040 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16041 case `$LD -v 2>&1` in
16042 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
16046 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16047 *** reliably create shared libraries on SCO systems. Therefore, libtool
16048 *** is disabling shared libraries support. We urge you to upgrade GNU
16049 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16050 *** your PATH or compiler configuration so that the native linker is
16051 *** used, and then restart.
16056 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
16057 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16058 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16059 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16068 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16070 hardcode_direct_F77
=yes
16071 hardcode_shlibpath_var_F77
=no
16075 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
16076 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16077 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16084 if test "$ld_shlibs_F77" = no
; then
16086 hardcode_libdir_flag_spec_F77
=
16087 export_dynamic_flag_spec_F77
=
16088 whole_archive_flag_spec_F77
=
16091 # PORTME fill in a description of your system's linker (not GNU ld)
16094 allow_undefined_flag_F77
=unsupported
16095 always_export_symbols_F77
=yes
16096 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'
16097 # Note: this linker hardcodes the directories in LIBPATH if there
16098 # are no directories specified by -L.
16099 hardcode_minus_L_F77
=yes
16100 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16101 # Neither direct hardcoding nor static linking is supported with a
16103 hardcode_direct_F77
=unsupported
16108 if test "$host_cpu" = ia64
; then
16109 # On IA64, the linker does run time linking by default, so we don't
16110 # have to do anything special.
16111 aix_use_runtimelinking
=no
16112 exp_sym_flag
='-Bexport'
16115 # If we're using GNU nm, then we don't want the "-C" option.
16116 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16117 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
16118 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'
16120 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'
16122 aix_use_runtimelinking
=no
16124 # Test if we are trying to use run time linking or normal
16125 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16126 # need to do runtime linking.
16127 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16128 for ld_flag
in $LDFLAGS; do
16129 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16130 aix_use_runtimelinking
=yes
16137 exp_sym_flag
='-bexport'
16138 no_entry_flag
='-bnoentry'
16141 # When large executables or shared objects are built, AIX ld can
16142 # have problems creating the table of contents. If linking a library
16143 # or program results in "error TOC overflow" add -mminimal-toc to
16144 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16145 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16147 archive_cmds_F77
=''
16148 hardcode_direct_F77
=yes
16149 hardcode_libdir_separator_F77
=':'
16150 link_all_deplibs_F77
=yes
16152 if test "$GCC" = yes; then
16153 case $host_os in aix4.
[012]|aix4.
[012].
*)
16154 # We only want to do this on AIX 4.2 and lower, the check
16155 # below for broken collect2 doesn't work under 4.3+
16156 collect2name
=`${CC} -print-prog-name=collect2`
16157 if test -f "$collect2name" && \
16158 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
16160 # We have reworked collect2
16163 # We have old collect2
16164 hardcode_direct_F77
=unsupported
16165 # It fails to find uninstalled libraries when the uninstalled
16166 # path is not listed in the libpath. Setting hardcode_minus_L
16167 # to unsupported forces relinking
16168 hardcode_minus_L_F77
=yes
16169 hardcode_libdir_flag_spec_F77
='-L$libdir'
16170 hardcode_libdir_separator_F77
=
16174 shared_flag
='-shared'
16175 if test "$aix_use_runtimelinking" = yes; then
16176 shared_flag
="$shared_flag "'${wl}-G'
16180 if test "$host_cpu" = ia64
; then
16181 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16182 # chokes on -Wl,-G. The following line is correct:
16185 if test "$aix_use_runtimelinking" = yes; then
16186 shared_flag
='${wl}-G'
16188 shared_flag
='${wl}-bM:SRE'
16193 # It seems that -bexpall does not export symbols beginning with
16194 # underscore (_), so it is better to generate a list of symbols to export.
16195 always_export_symbols_F77
=yes
16196 if test "$aix_use_runtimelinking" = yes; then
16197 # Warning - without using the other runtime loading flags (-brtl),
16198 # -berok will link without error, but may produce a broken library.
16199 allow_undefined_flag_F77
='-berok'
16200 # Determine the default libpath from the value encoded in an empty executable.
16201 cat >conftest.
$ac_ext <<_ACEOF
16206 rm -f conftest.
$ac_objext conftest
$ac_exeext
16207 if { (ac_try
="$ac_link"
16208 case "(($ac_try" in
16209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16210 *) ac_try_echo=$ac_try;;
16212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16213 (eval "$ac_link") 2>conftest.er1
16215 grep -v '^ *+' conftest.er1 >conftest.err
16217 cat conftest.err >&5
16218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16219 (exit $ac_status); } && {
16220 test -z "$ac_f77_werror_flag" ||
16221 test ! -s conftest.err
16222 } && test -s conftest$ac_exeext &&
16223 $as_test_x conftest$ac_exeext; then
16225 lt_aix_libpath_sed='
16226 /Import File Strings/,/^$/ {
16232 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
16233 # Check for a 64-bit object if we didn't find anything.
16234 if test -z "$aix_libpath"; then
16235 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.$ac_ext >&5
16244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16245 conftest$ac_exeext conftest.$ac_ext
16246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16248 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16249 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"
16251 if test "$host_cpu" = ia64; then
16252 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16253 allow_undefined_flag_F77="-z nodefs"
16254 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"
16256 # Determine the default libpath from the value encoded in an empty executable.
16257 cat >conftest.$ac_ext <<_ACEOF
16262 rm -f conftest.$ac_objext conftest$ac_exeext
16263 if { (ac_try="$ac_link"
16264 case "(($ac_try" in
16265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16266 *) ac_try_echo
=$ac_try;;
16268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16269 (eval "$ac_link") 2>conftest.er1
16271 grep -v '^ *+' conftest.er1
>conftest.err
16273 cat conftest.err
>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } && {
16276 test -z "$ac_f77_werror_flag" ||
16277 test ! -s conftest.err
16278 } && test -s conftest
$ac_exeext &&
16279 $as_test_x conftest
$ac_exeext; then
16281 lt_aix_libpath_sed
='
16282 /Import File Strings/,/^$/ {
16288 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16289 # Check for a 64-bit object if we didn't find anything.
16290 if test -z "$aix_libpath"; then
16291 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16294 echo "$as_me: failed program was:" >&5
16295 sed 's/^/| /' conftest.
$ac_ext >&5
16300 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16301 conftest
$ac_exeext conftest.
$ac_ext
16302 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16304 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16305 # Warning - without using the other run time loading flags,
16306 # -berok will link without error, but may produce a broken library.
16307 no_undefined_flag_F77
=' ${wl}-bernotok'
16308 allow_undefined_flag_F77
=' ${wl}-berok'
16309 # Exported symbols can be pulled into shared objects from archives
16310 whole_archive_flag_spec_F77
='$convenience'
16311 archive_cmds_need_lc_F77
=yes
16312 # This is similar to how AIX traditionally builds its shared libraries.
16313 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'
16319 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)'
16320 hardcode_libdir_flag_spec_F77
='-L$libdir'
16321 hardcode_minus_L_F77
=yes
16322 # see comment about different semantics on the GNU ld section
16327 export_dynamic_flag_spec_F77
=-rdynamic
16330 cygwin
* | mingw
* | pw32
*)
16331 # When not using gcc, we currently assume that we are using
16332 # Microsoft Visual C++.
16333 # hardcode_libdir_flag_spec is actually meaningless, as there is
16334 # no search path for DLLs.
16335 hardcode_libdir_flag_spec_F77
=' '
16336 allow_undefined_flag_F77
=unsupported
16337 # Tell ltmain to make .lib files, not .a files.
16339 # Tell ltmain to make .dll files, not .so files.
16341 # FIXME: Setting linknames here is a bad hack.
16342 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16343 # The linker will automatically build a .lib file if we build a DLL.
16344 old_archive_From_new_cmds_F77
='true'
16345 # FIXME: Should let the user specify the lib program.
16346 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16347 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
16348 enable_shared_with_static_runtimes_F77
=yes
16351 darwin
* | rhapsody
*)
16353 rhapsody
* | darwin1.
[012])
16354 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
16357 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16358 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16360 case ${MACOSX_DEPLOYMENT_TARGET} in
16362 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16365 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
16371 archive_cmds_need_lc_F77
=no
16372 hardcode_direct_F77
=no
16373 hardcode_automatic_F77
=yes
16374 hardcode_shlibpath_var_F77
=unsupported
16375 whole_archive_flag_spec_F77
=''
16376 link_all_deplibs_F77
=yes
16377 if test "$GCC" = yes ; then
16378 output_verbose_link_cmd
='echo'
16379 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}"
16380 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16381 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}"
16382 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}"
16384 case $cc_basename in
16386 output_verbose_link_cmd
='echo'
16387 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16388 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16389 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16390 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}'
16391 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}'
16401 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16402 hardcode_libdir_flag_spec_F77
='-L$libdir'
16403 hardcode_shlibpath_var_F77
=no
16410 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16411 # support. Future versions do this automatically, but an explicit c++rt0.o
16412 # does not break anything, and helps significantly (at the cost of a little
16415 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16416 hardcode_libdir_flag_spec_F77
='-R$libdir'
16417 hardcode_direct_F77
=yes
16418 hardcode_shlibpath_var_F77
=no
16421 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16423 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16424 hardcode_direct_F77
=yes
16425 hardcode_minus_L_F77
=yes
16426 hardcode_shlibpath_var_F77
=no
16429 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16430 freebsd
* | dragonfly
*)
16431 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16432 hardcode_libdir_flag_spec_F77
='-R$libdir'
16433 hardcode_direct_F77
=yes
16434 hardcode_shlibpath_var_F77
=no
16438 if test "$GCC" = yes; then
16439 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'
16441 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'
16443 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16444 hardcode_libdir_separator_F77
=:
16445 hardcode_direct_F77
=yes
16447 # hardcode_minus_L: Not really in the search PATH,
16448 # but as the default location of the library.
16449 hardcode_minus_L_F77
=yes
16450 export_dynamic_flag_spec_F77
='${wl}-E'
16454 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16455 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16457 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16459 if test "$with_gnu_ld" = no
; then
16460 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16461 hardcode_libdir_separator_F77
=:
16463 hardcode_direct_F77
=yes
16464 export_dynamic_flag_spec_F77
='${wl}-E'
16466 # hardcode_minus_L: Not really in the search PATH,
16467 # but as the default location of the library.
16468 hardcode_minus_L_F77
=yes
16473 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16476 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16479 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16482 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16488 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16491 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16494 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16498 if test "$with_gnu_ld" = no
; then
16499 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16500 hardcode_libdir_separator_F77
=:
16504 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
16505 hardcode_direct_F77
=no
16506 hardcode_shlibpath_var_F77
=no
16509 hardcode_direct_F77
=yes
16510 export_dynamic_flag_spec_F77
='${wl}-E'
16512 # hardcode_minus_L: Not really in the search PATH,
16513 # but as the default location of the library.
16514 hardcode_minus_L_F77
=yes
16520 irix5
* | irix6
* | nonstopux
*)
16521 if test "$GCC" = yes; then
16522 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'
16524 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'
16525 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
16527 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16528 hardcode_libdir_separator_F77
=:
16529 link_all_deplibs_F77
=yes
16532 netbsd
* | netbsdelf
*-gnu)
16533 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
16534 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16536 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16538 hardcode_libdir_flag_spec_F77
='-R$libdir'
16539 hardcode_direct_F77
=yes
16540 hardcode_shlibpath_var_F77
=no
16544 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16545 hardcode_direct_F77
=yes
16546 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16547 hardcode_libdir_separator_F77
=:
16548 hardcode_shlibpath_var_F77
=no
16552 if test -f /usr
/libexec
/ld.so
; then
16553 hardcode_direct_F77
=yes
16554 hardcode_shlibpath_var_F77
=no
16555 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16556 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16557 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16558 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16559 export_dynamic_flag_spec_F77
='${wl}-E'
16562 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16563 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16564 hardcode_libdir_flag_spec_F77
='-R$libdir'
16567 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16568 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16578 hardcode_libdir_flag_spec_F77
='-L$libdir'
16579 hardcode_minus_L_F77
=yes
16580 allow_undefined_flag_F77
=unsupported
16581 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'
16582 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16586 if test "$GCC" = yes; then
16587 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16588 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'
16590 allow_undefined_flag_F77
=' -expect_unresolved \*'
16591 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'
16593 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16594 hardcode_libdir_separator_F77
=:
16597 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16598 if test "$GCC" = yes; then
16599 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16600 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'
16601 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16603 allow_undefined_flag_F77
=' -expect_unresolved \*'
16604 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'
16605 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~
16606 $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'
16608 # Both c and cxx compiler support -rpath directly
16609 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16611 hardcode_libdir_separator_F77
=:
16615 no_undefined_flag_F77
=' -z text'
16616 if test "$GCC" = yes; then
16618 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16619 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16620 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16623 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16624 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16625 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16627 hardcode_libdir_flag_spec_F77
='-R$libdir'
16628 hardcode_shlibpath_var_F77
=no
16630 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16632 # The compiler driver will combine and reorder linker options,
16633 # but understands `-z linker_flag'. GCC discards it without `$wl',
16634 # but is careful enough not to reorder.
16635 # Supported since Solaris 2.6 (maybe 2.5.1?)
16636 if test "$GCC" = yes; then
16637 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16639 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
16643 link_all_deplibs_F77
=yes
16647 if test "x$host_vendor" = xsequent
; then
16648 # Use $CC to link under sequent, because it throws in some extra .o
16649 # files that make .init and .fini sections work.
16650 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16652 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16654 hardcode_libdir_flag_spec_F77
='-L$libdir'
16655 hardcode_direct_F77
=yes
16656 hardcode_minus_L_F77
=yes
16657 hardcode_shlibpath_var_F77
=no
16661 case $host_vendor in
16663 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16664 hardcode_direct_F77
=yes # is this really true???
16667 ## LD is ld it makes a PLAMLIB
16668 ## CC just makes a GrossModule.
16669 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16670 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16671 hardcode_direct_F77
=no
16674 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16675 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16678 runpath_var
='LD_RUN_PATH'
16679 hardcode_shlibpath_var_F77
=no
16683 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16684 hardcode_shlibpath_var_F77
=no
16685 export_dynamic_flag_spec_F77
='-Bexport'
16689 if test -d /usr
/nec
; then
16690 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16691 hardcode_shlibpath_var_F77
=no
16692 runpath_var
=LD_RUN_PATH
16693 hardcode_runpath_var
=yes
16698 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16699 no_undefined_flag_F77
='${wl}-z,text'
16700 archive_cmds_need_lc_F77
=no
16701 hardcode_shlibpath_var_F77
=no
16702 runpath_var
='LD_RUN_PATH'
16704 if test "$GCC" = yes; then
16705 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16706 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16708 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16709 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16713 sysv5
* | sco3.2v5
* | sco5v6
*)
16714 # Note: We can NOT use -z defs as we might desire, because we do not
16715 # link with -lc, and that would cause any symbols used from libc to
16716 # always be unresolved, which means just about no library would
16717 # ever link correctly. If we're not using GNU ld we use -z text
16718 # though, which does catch some bad symbols but isn't as heavy-handed
16720 no_undefined_flag_F77
='${wl}-z,text'
16721 allow_undefined_flag_F77
='${wl}-z,nodefs'
16722 archive_cmds_need_lc_F77
=no
16723 hardcode_shlibpath_var_F77
=no
16724 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16725 hardcode_libdir_separator_F77
=':'
16726 link_all_deplibs_F77
=yes
16727 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16728 runpath_var
='LD_RUN_PATH'
16730 if test "$GCC" = yes; then
16731 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16732 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16734 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16735 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16740 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16741 hardcode_libdir_flag_spec_F77
='-L$libdir'
16742 hardcode_shlibpath_var_F77
=no
16751 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16752 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16753 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16756 # Do we need to explicitly link libc?
16758 case "x$archive_cmds_need_lc_F77" in
16760 # Assume -lc should be added
16761 archive_cmds_need_lc_F77
=yes
16763 if test "$enable_shared" = yes && test "$GCC" = yes; then
16764 case $archive_cmds_F77 in
16766 # FIXME: we may have to deal with multi-command sequences.
16769 # Test whether the compiler implicitly links with -lc since on some
16770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16771 # to ld, don't add -lc before -lgcc.
16772 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16773 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16775 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16778 (eval $ac_compile) 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } 2>conftest.err
; then
16784 libobjs
=conftest.
$ac_objext
16786 wl
=$lt_prog_compiler_wl_F77
16787 pic_flag
=$lt_prog_compiler_pic_F77
16793 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16794 allow_undefined_flag_F77
=
16795 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16796 (eval $archive_cmds_F77 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); }
16801 archive_cmds_need_lc_F77
=no
16803 archive_cmds_need_lc_F77
=yes
16805 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16807 cat conftest.err
1>&5
16810 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16811 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16818 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16819 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16820 library_names_spec
=
16821 libname_spec
='lib$name'
16825 postuninstall_cmds
=
16829 shlibpath_overrides_runpath
=unknown
16831 dynamic_linker
="$host_os ld.so"
16832 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16834 need_lib_prefix
=unknown
16835 hardcode_into_libs
=no
16837 # when you set need_version to no, make sure it does not cause -set_version
16838 # flags to be left without arguments
16839 need_version
=unknown
16844 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16845 shlibpath_var
=LIBPATH
16847 # AIX 3 has no versioning support, so we append a major version to the name.
16848 soname_spec
='${libname}${release}${shared_ext}$major'
16855 hardcode_into_libs
=yes
16856 if test "$host_cpu" = ia64
; then
16857 # AIX 5 supports IA64
16858 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16859 shlibpath_var
=LD_LIBRARY_PATH
16861 # With GCC up to 2.95.x, collect2 would create an import file
16862 # for dependence libraries. The import file would start with
16863 # the line `#! .'. This would cause the generated library to
16864 # depend on `.', always an invalid library. This was fixed in
16865 # development snapshots of GCC prior to 3.0.
16867 aix4
| aix4.
[01] | aix4.
[01].
*)
16868 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16870 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
16873 can_build_shared
=no
16877 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16878 # soname into executable. Probably we can add versioning support to
16879 # collect2, so additional links can be useful in future.
16880 if test "$aix_use_runtimelinking" = yes; then
16881 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16882 # instead of lib<name>.a to let people know that these are not
16883 # typical AIX shared libraries.
16884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16886 # We preserve .a as extension for shared libraries through AIX4.2
16887 # and later when we are not doing run time linking.
16888 library_names_spec
='${libname}${release}.a $libname.a'
16889 soname_spec
='${libname}${release}${shared_ext}$major'
16891 shlibpath_var
=LIBPATH
16896 library_names_spec
='$libname.ixlibrary $libname.a'
16897 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16898 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'
16902 library_names_spec
='${libname}${shared_ext}'
16903 dynamic_linker
="$host_os ld.so"
16904 shlibpath_var
=LIBRARY_PATH
16910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16911 soname_spec
='${libname}${release}${shared_ext}$major'
16912 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16913 shlibpath_var
=LD_LIBRARY_PATH
16914 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16915 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16916 # the default ld.so.conf also contains /usr/contrib/lib and
16917 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16918 # libtool to hard-code these into programs
16921 cygwin
* | mingw
* | pw32
*)
16922 version_type
=windows
16927 case $GCC,$host_os in
16928 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
16929 library_names_spec
='$libname.dll.a'
16930 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16931 postinstall_cmds
='base_file=`basename \${file}`~
16932 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16933 dldir=$destdir/`dirname \$dlpath`~
16934 test -d \$dldir || mkdir -p \$dldir~
16935 $install_prog $dir/$dlname \$dldir/$dlname~
16936 chmod a+x \$dldir/$dlname'
16937 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16938 dlpath=$dir/\$dldll~
16940 shlibpath_overrides_runpath
=yes
16944 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16945 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
16946 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16949 # MinGW DLLs use traditional 'lib' prefix
16950 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
16951 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16952 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
16953 # It is most probably a Windows format PATH printed by
16954 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16955 # path with ; separators, and with drive letters. We can handle the
16956 # drive letters (cygwin fileutils understands them), so leave them,
16957 # especially as we might pass files found there to a mingw objdump,
16958 # which wouldn't understand a cygwinified path. Ahh.
16959 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16961 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16965 # pw32 DLLs use 'pw' prefix rather than 'lib'
16966 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
16972 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
16975 dynamic_linker
='Win32 ld.exe'
16976 # FIXME: first we should search . and the directory the executable is in
16980 darwin
* | rhapsody
*)
16981 dynamic_linker
="$host_os dyld"
16982 version_type
=darwin
16985 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16986 soname_spec
='${libname}${release}${major}$shared_ext'
16987 shlibpath_overrides_runpath
=yes
16988 shlibpath_var
=DYLD_LIBRARY_PATH
16989 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16991 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16999 soname_spec
='${libname}${release}${shared_ext}$major'
17000 shlibpath_var
=LD_LIBRARY_PATH
17007 freebsd
* | dragonfly
*)
17008 # DragonFly does not have aout. When/if they implement a new
17009 # versioning mechanism, adjust this.
17010 if test -x /usr
/bin
/objformat
; then
17011 objformat
=`/usr/bin/objformat`
17014 freebsd
[123]*) objformat
=aout
;;
17015 *) objformat
=elf
;;
17018 version_type
=freebsd
-$objformat
17019 case $version_type in
17021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17026 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17030 shlibpath_var
=LD_LIBRARY_PATH
17033 shlibpath_overrides_runpath
=yes
17035 freebsd3.
[01]* | freebsdelf3.
[01]*)
17036 shlibpath_overrides_runpath
=yes
17037 hardcode_into_libs
=yes
17039 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17040 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17041 shlibpath_overrides_runpath
=no
17042 hardcode_into_libs
=yes
17044 *) # from 4.6 on, and DragonFly
17045 shlibpath_overrides_runpath
=yes
17046 hardcode_into_libs
=yes
17055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17056 soname_spec
='${libname}${release}${shared_ext}$major'
17057 shlibpath_var
=LD_LIBRARY_PATH
17058 hardcode_into_libs
=yes
17061 hpux9
* | hpux10
* | hpux11
*)
17062 # Give a soname corresponding to the major version so that dld.sl refuses to
17063 # link against other versions.
17070 hardcode_into_libs
=yes
17071 dynamic_linker
="$host_os dld.so"
17072 shlibpath_var
=LD_LIBRARY_PATH
17073 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17075 soname_spec
='${libname}${release}${shared_ext}$major'
17076 if test "X$HPUX_IA64_MODE" = X32
; then
17077 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17079 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17081 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17085 hardcode_into_libs
=yes
17086 dynamic_linker
="$host_os dld.sl"
17087 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17088 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17090 soname_spec
='${libname}${release}${shared_ext}$major'
17091 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17092 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17096 dynamic_linker
="$host_os dld.sl"
17097 shlibpath_var
=SHLIB_PATH
17098 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17100 soname_spec
='${libname}${release}${shared_ext}$major'
17103 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17104 postinstall_cmds
='chmod 555 $lib'
17111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17112 soname_spec
='${libname}${release}${shared_ext}$major'
17113 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17114 shlibpath_var
=LD_LIBRARY_PATH
17115 shlibpath_overrides_runpath
=no
17116 hardcode_into_libs
=yes
17119 irix5
* | irix6
* | nonstopux
*)
17121 nonstopux
*) version_type
=nonstopux
;;
17123 if test "$lt_cv_prog_gnu_ld" = yes; then
17131 soname_spec
='${libname}${release}${shared_ext}$major'
17132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17134 irix5
* | nonstopux
*)
17135 libsuff
= shlibsuff
=
17138 case $LD in # libtool.m4 will add one of these switches to LD
17139 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17140 libsuff
= shlibsuff
= libmagic
=32-bit;;
17141 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17142 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17143 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17144 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17145 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
17149 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17150 shlibpath_overrides_runpath
=no
17151 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17152 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17153 hardcode_into_libs
=yes
17156 # No shared lib support for Linux oldld, aout, or coff.
17157 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17161 # This must be Linux ELF.
17162 linux
* | k
*bsd
*-gnu)
17166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17167 soname_spec
='${libname}${release}${shared_ext}$major'
17168 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17169 shlibpath_var
=LD_LIBRARY_PATH
17170 shlibpath_overrides_runpath
=no
17171 # This implies no fast_install, which is unacceptable.
17172 # Some rework will be needed to allow for fast_install
17173 # before this can be enabled.
17174 hardcode_into_libs
=yes
17176 # Append ld.so.conf contents to the search path
17177 if test -f /etc
/ld.so.conf
; then
17178 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' ' '`
17179 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17182 # We used to test for /lib/ld.so.1 and disable shared libraries on
17183 # powerpc, because MkLinux only supported shared libraries with the
17184 # GNU dynamic linker. Since this was broken with cross compilers,
17185 # most powerpc-linux boxes support dynamic linking these days and
17186 # people can always --disable-shared, the test was removed, and we
17187 # assume the GNU/Linux dynamic linker is in use.
17188 dynamic_linker
='GNU/Linux ld.so'
17195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17196 soname_spec
='${libname}${release}${shared_ext}$major'
17197 shlibpath_var
=LD_LIBRARY_PATH
17198 shlibpath_overrides_runpath
=no
17199 hardcode_into_libs
=yes
17200 dynamic_linker
='NetBSD ld.elf_so'
17207 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
17208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17209 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17210 dynamic_linker
='NetBSD (a.out) ld.so'
17212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17213 soname_spec
='${libname}${release}${shared_ext}$major'
17214 dynamic_linker
='NetBSD ld.elf_so'
17216 shlibpath_var
=LD_LIBRARY_PATH
17217 shlibpath_overrides_runpath
=yes
17218 hardcode_into_libs
=yes
17223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17224 shlibpath_var
=LD_LIBRARY_PATH
17225 shlibpath_overrides_runpath
=yes
17232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17233 soname_spec
='${libname}${release}${shared_ext}$major'
17234 shlibpath_var
=LD_LIBRARY_PATH
17235 shlibpath_overrides_runpath
=yes
17240 sys_lib_dlsearch_path_spec
="/usr/lib"
17242 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17244 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
17245 *) need_version
=no
;;
17247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17249 shlibpath_var
=LD_LIBRARY_PATH
17250 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17252 openbsd2.
[89] | openbsd2.
[89].
*)
17253 shlibpath_overrides_runpath
=no
17256 shlibpath_overrides_runpath
=yes
17260 shlibpath_overrides_runpath
=yes
17265 libname_spec
='$name'
17268 library_names_spec
='$libname${shared_ext} $libname.a'
17269 dynamic_linker
='OS/2 ld.exe'
17270 shlibpath_var
=LIBPATH
17273 osf3
* | osf4
* | osf5
*)
17277 soname_spec
='${libname}${release}${shared_ext}$major'
17278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17279 shlibpath_var
=LD_LIBRARY_PATH
17280 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17281 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17293 soname_spec
='${libname}${release}${shared_ext}$major'
17294 shlibpath_var
=LD_LIBRARY_PATH
17295 shlibpath_overrides_runpath
=yes
17296 hardcode_into_libs
=yes
17297 # ldd complains unless libraries are executable
17298 postinstall_cmds
='chmod +x $lib'
17303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17304 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17305 shlibpath_var
=LD_LIBRARY_PATH
17306 shlibpath_overrides_runpath
=yes
17307 if test "$with_gnu_ld" = yes; then
17315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17316 soname_spec
='${libname}${release}${shared_ext}$major'
17317 shlibpath_var
=LD_LIBRARY_PATH
17318 case $host_vendor in
17320 shlibpath_overrides_runpath
=no
17322 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17323 runpath_var
=LD_RUN_PATH
17331 shlibpath_overrides_runpath
=no
17332 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17338 if test -d /usr
/nec
;then
17340 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17341 soname_spec
='$libname${shared_ext}.$major'
17342 shlibpath_var
=LD_LIBRARY_PATH
17346 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17347 version_type
=freebsd
-elf
17350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17351 soname_spec
='${libname}${release}${shared_ext}$major'
17352 shlibpath_var
=LD_LIBRARY_PATH
17353 hardcode_into_libs
=yes
17354 if test "$with_gnu_ld" = yes; then
17355 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17356 shlibpath_overrides_runpath
=no
17358 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17359 shlibpath_overrides_runpath
=yes
17362 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17366 sys_lib_dlsearch_path_spec
='/usr/lib'
17371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17372 soname_spec
='${libname}${release}${shared_ext}$major'
17373 shlibpath_var
=LD_LIBRARY_PATH
17380 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17381 echo "${ECHO_T}$dynamic_linker" >&6; }
17382 test "$dynamic_linker" = no
&& can_build_shared
=no
17384 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
17387 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
17390 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
17391 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17394 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
17397 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
17399 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17400 if test "$GCC" = yes; then
17401 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17404 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17405 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17406 hardcode_action_F77
=
17407 if test -n "$hardcode_libdir_flag_spec_F77" || \
17408 test -n "$runpath_var_F77" || \
17409 test "X$hardcode_automatic_F77" = "Xyes" ; then
17411 # We can hardcode non-existant directories.
17412 if test "$hardcode_direct_F77" != no
&&
17413 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17414 # have to relink, otherwise we might link with an installed library
17415 # when we should be linking with a yet-to-be-installed one
17416 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17417 test "$hardcode_minus_L_F77" != no
; then
17418 # Linking always hardcodes the temporary library directory.
17419 hardcode_action_F77
=relink
17421 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17422 hardcode_action_F77
=immediate
17425 # We cannot hardcode anything, or else we can only hardcode existing
17427 hardcode_action_F77
=unsupported
17429 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17430 echo "${ECHO_T}$hardcode_action_F77" >&6; }
17432 if test "$hardcode_action_F77" = relink
; then
17433 # Fast installation is not supported
17434 enable_fast_install
=no
17435 elif test "$shlibpath_overrides_runpath" = yes ||
17436 test "$enable_shared" = no
; then
17437 # Fast installation is not necessary
17438 enable_fast_install
=needless
17442 # The else clause should only fire when bootstrapping the
17443 # libtool distribution, otherwise you forgot to ship ltmain.sh
17444 # with your package, and you will get complaints that there are
17445 # no rules to generate ltmain.sh.
17446 if test -f "$ltmain"; then
17447 # See if we are running on zsh, and set the options which allow our commands through
17448 # without removal of \ escapes.
17449 if test -n "${ZSH_VERSION+set}" ; then
17450 setopt NO_GLOB_SUBST
17452 # Now quote all the things that may contain metacharacters while being
17453 # careful not to overquote the AC_SUBSTed values. We take copies of the
17454 # variables and quote the copies for generation of the libtool script.
17455 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17457 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17458 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17459 deplibs_check_method reload_flag reload_cmds need_locks \
17460 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17461 lt_cv_sys_global_symbol_to_c_name_address \
17462 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17463 old_postinstall_cmds old_postuninstall_cmds \
17467 lt_prog_compiler_wl_F77 \
17468 lt_prog_compiler_pic_F77 \
17469 lt_prog_compiler_static_F77 \
17470 lt_prog_compiler_no_builtin_flag_F77 \
17471 export_dynamic_flag_spec_F77 \
17472 thread_safe_flag_spec_F77 \
17473 whole_archive_flag_spec_F77 \
17474 enable_shared_with_static_runtimes_F77 \
17475 old_archive_cmds_F77 \
17476 old_archive_from_new_cmds_F77 \
17477 predep_objects_F77 \
17478 postdep_objects_F77 \
17481 compiler_lib_search_path_F77 \
17482 compiler_lib_search_dirs_F77 \
17484 archive_expsym_cmds_F77 \
17485 postinstall_cmds_F77 \
17486 postuninstall_cmds_F77 \
17487 old_archive_from_expsyms_cmds_F77 \
17488 allow_undefined_flag_F77 \
17489 no_undefined_flag_F77 \
17490 export_symbols_cmds_F77 \
17491 hardcode_libdir_flag_spec_F77 \
17492 hardcode_libdir_flag_spec_ld_F77 \
17493 hardcode_libdir_separator_F77 \
17494 hardcode_automatic_F77 \
17496 module_expsym_cmds_F77 \
17497 lt_cv_prog_compiler_c_o_F77 \
17498 fix_srcfile_path_F77 \
17499 exclude_expsyms_F77 \
17500 include_expsyms_F77
; do
17503 old_archive_cmds_F77
| \
17504 old_archive_from_new_cmds_F77
| \
17505 archive_cmds_F77
| \
17506 archive_expsym_cmds_F77
| \
17507 module_cmds_F77
| \
17508 module_expsym_cmds_F77
| \
17509 old_archive_from_expsyms_cmds_F77
| \
17510 export_symbols_cmds_F77
| \
17511 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
17512 postinstall_cmds
| postuninstall_cmds
| \
17513 old_postinstall_cmds
| old_postuninstall_cmds
| \
17514 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
17515 # Double-quote double-evaled strings.
17516 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17519 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17525 *'\$0 --fallback-echo"')
17526 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17532 cat <<__EOF__ >> "$cfgfile"
17533 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17535 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17537 # Shell to use when invoking shell scripts.
17540 # Whether or not to build shared libraries.
17541 build_libtool_libs=$enable_shared
17543 # Whether or not to build static libraries.
17544 build_old_libs=$enable_static
17546 # Whether or not to add -lc for building shared libraries.
17547 build_libtool_need_lc=$archive_cmds_need_lc_F77
17549 # Whether or not to disallow shared libs when runtime libs are static
17550 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17552 # Whether or not to optimize for fast installation.
17553 fast_install=$enable_fast_install
17556 host_alias=$host_alias
17560 # The build system.
17561 build_alias=$build_alias
17565 # An echo program that does not interpret backslashes.
17570 AR_FLAGS=$lt_AR_FLAGS
17575 # LTCC compiler flags.
17576 LTCFLAGS=$lt_LTCFLAGS
17578 # A language-specific compiler.
17579 CC=$lt_compiler_F77
17581 # Is the compiler the GNU C compiler?
17587 # The linker used to build libraries.
17590 # Whether we need hard or soft links.
17593 # A BSD-compatible nm program.
17596 # A symbol stripping program
17599 # Used to examine libraries when file_magic_cmd begins "file"
17600 MAGIC_CMD=$MAGIC_CMD
17602 # Used on cygwin: DLL creation program.
17605 # Used on cygwin: object dumper.
17608 # Used on cygwin: assembler.
17611 # The name of the directory that contains temporary libtool files.
17614 # How to create reloadable object files.
17615 reload_flag=$lt_reload_flag
17616 reload_cmds=$lt_reload_cmds
17618 # How to pass a linker flag through the compiler.
17619 wl=$lt_lt_prog_compiler_wl_F77
17621 # Object file suffix (normally "o").
17622 objext="$ac_objext"
17624 # Old archive suffix (normally "a").
17627 # Shared library suffix (normally ".so").
17628 shrext_cmds='$shrext_cmds'
17630 # Executable file suffix (normally "").
17633 # Additional compiler flags for building library objects.
17634 pic_flag=$lt_lt_prog_compiler_pic_F77
17637 # What is the maximum length of a command?
17638 max_cmd_len=$lt_cv_sys_max_cmd_len
17640 # Does compiler simultaneously support -c and -o options?
17641 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17643 # Must we lock files when doing compilation?
17644 need_locks=$lt_need_locks
17646 # Do we need the lib prefix for modules?
17647 need_lib_prefix=$need_lib_prefix
17649 # Do we need a version for libraries?
17650 need_version=$need_version
17652 # Whether dlopen is supported.
17653 dlopen_support=$enable_dlopen
17655 # Whether dlopen of programs is supported.
17656 dlopen_self=$enable_dlopen_self
17658 # Whether dlopen of statically linked programs is supported.
17659 dlopen_self_static=$enable_dlopen_self_static
17661 # Compiler flag to prevent dynamic linking.
17662 link_static_flag=$lt_lt_prog_compiler_static_F77
17664 # Compiler flag to turn off builtin functions.
17665 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17667 # Compiler flag to allow reflexive dlopens.
17668 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17670 # Compiler flag to generate shared objects directly from archives.
17671 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17673 # Compiler flag to generate thread-safe objects.
17674 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17676 # Library versioning type.
17677 version_type=$version_type
17679 # Format of library name prefix.
17680 libname_spec=$lt_libname_spec
17682 # List of archive names. First name is the real one, the rest are links.
17683 # The last name is the one that the linker finds with -lNAME.
17684 library_names_spec=$lt_library_names_spec
17686 # The coded name of the library, if different from the real name.
17687 soname_spec=$lt_soname_spec
17689 # Commands used to build and install an old-style archive.
17691 old_archive_cmds=$lt_old_archive_cmds_F77
17692 old_postinstall_cmds=$lt_old_postinstall_cmds
17693 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17695 # Create an old-style archive from a shared archive.
17696 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17698 # Create a temporary old-style archive to link instead of a shared archive.
17699 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17701 # Commands used to build and install a shared archive.
17702 archive_cmds=$lt_archive_cmds_F77
17703 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17704 postinstall_cmds=$lt_postinstall_cmds
17705 postuninstall_cmds=$lt_postuninstall_cmds
17707 # Commands used to build a loadable module (assumed same as above if empty)
17708 module_cmds=$lt_module_cmds_F77
17709 module_expsym_cmds=$lt_module_expsym_cmds_F77
17711 # Commands to strip libraries.
17712 old_striplib=$lt_old_striplib
17713 striplib=$lt_striplib
17715 # Dependencies to place before the objects being linked to create a
17717 predep_objects=$lt_predep_objects_F77
17719 # Dependencies to place after the objects being linked to create a
17721 postdep_objects=$lt_postdep_objects_F77
17723 # Dependencies to place before the objects being linked to create a
17725 predeps=$lt_predeps_F77
17727 # Dependencies to place after the objects being linked to create a
17729 postdeps=$lt_postdeps_F77
17731 # The directories searched by this compiler when creating a shared
17733 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
17735 # The library search path used internally by the compiler when linking
17736 # a shared library.
17737 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17739 # Method to check whether dependent libraries are shared objects.
17740 deplibs_check_method=$lt_deplibs_check_method
17742 # Command to use when deplibs_check_method == file_magic.
17743 file_magic_cmd=$lt_file_magic_cmd
17745 # Flag that allows shared libraries with undefined symbols to be built.
17746 allow_undefined_flag=$lt_allow_undefined_flag_F77
17748 # Flag that forces no undefined symbols.
17749 no_undefined_flag=$lt_no_undefined_flag_F77
17751 # Commands used to finish a libtool library installation in a directory.
17752 finish_cmds=$lt_finish_cmds
17754 # Same as above, but a single script fragment to be evaled but not shown.
17755 finish_eval=$lt_finish_eval
17757 # Take the output of nm and produce a listing of raw symbols and C names.
17758 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17760 # Transform the output of nm in a proper C declaration
17761 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17763 # Transform the output of nm in a C name address pair
17764 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17766 # This is the shared library runtime path variable.
17767 runpath_var=$runpath_var
17769 # This is the shared library path variable.
17770 shlibpath_var=$shlibpath_var
17772 # Is shlibpath searched before the hard-coded library search path?
17773 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17775 # How to hardcode a shared library path into an executable.
17776 hardcode_action=$hardcode_action_F77
17778 # Whether we should hardcode library paths into libraries.
17779 hardcode_into_libs=$hardcode_into_libs
17781 # Flag to hardcode \$libdir into a binary during linking.
17782 # This must work even if \$libdir does not exist.
17783 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17785 # If ld is used when linking, flag to hardcode \$libdir into
17786 # a binary during linking. This must work even if \$libdir does
17788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17790 # Whether we need a single -rpath flag with a separated argument.
17791 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17793 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17794 # resulting binary.
17795 hardcode_direct=$hardcode_direct_F77
17797 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17798 # resulting binary.
17799 hardcode_minus_L=$hardcode_minus_L_F77
17801 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17802 # the resulting binary.
17803 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17805 # Set to yes if building a shared library automatically hardcodes DIR into the library
17806 # and all subsequent libraries and executables linked against it.
17807 hardcode_automatic=$hardcode_automatic_F77
17809 # Variables whose values should be saved in libtool wrapper scripts and
17810 # restored at relink time.
17811 variables_saved_for_relink="$variables_saved_for_relink"
17813 # Whether libtool must link a program against all its dependency libraries.
17814 link_all_deplibs=$link_all_deplibs_F77
17816 # Compile-time system search path for libraries
17817 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17819 # Run-time system search path for libraries
17820 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17822 # Fix the shell variable \$srcfile for the compiler.
17823 fix_srcfile_path=$lt_fix_srcfile_path
17825 # Set to yes if exported symbols are required.
17826 always_export_symbols=$always_export_symbols_F77
17828 # The commands to list exported symbols.
17829 export_symbols_cmds=$lt_export_symbols_cmds_F77
17831 # The commands to extract the exported symbol list from a shared archive.
17832 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17834 # Symbols that should not be listed in the preloaded symbols.
17835 exclude_expsyms=$lt_exclude_expsyms_F77
17837 # Symbols that must always be exported.
17838 include_expsyms=$lt_include_expsyms_F77
17840 # ### END LIBTOOL TAG CONFIG: $tagname
17846 # If there is no Makefile yet, we rely on a make rule to execute
17847 # `config.status --recheck' to rerun these tests and create the
17848 # libtool script then.
17849 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17850 if test -f "$ltmain_in"; then
17851 test -f Makefile
&& make "$ltmain"
17857 ac_cpp
='$CPP $CPPFLAGS'
17858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17870 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17873 # Source file extension for Java test sources.
17876 # Object file extension for compiled Java test sources.
17880 # Code to be used in simple compile tests
17881 lt_simple_compile_test_code
="class foo {}"
17883 # Code to be used in simple link tests
17884 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
17886 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17888 # If no C compiler was specified, use CC.
17891 # If no C compiler flags were specified, use CFLAGS.
17892 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17894 # Allow CC to be a program name with arguments.
17898 # save warnings/boilerplate of simple test code
17899 ac_outfile
=conftest.
$ac_objext
17900 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17901 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
17902 _lt_compiler_boilerplate
=`cat conftest.err`
17905 ac_outfile
=conftest.
$ac_objext
17906 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17907 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
17908 _lt_linker_boilerplate
=`cat conftest.err`
17912 # Allow CC to be a program name with arguments.
17917 for cc_temp
in $compiler""; do
17919 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
17920 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
17925 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17928 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17929 archive_cmds_need_lc_GCJ
=no
17931 old_archive_cmds_GCJ
=$old_archive_cmds
17934 lt_prog_compiler_no_builtin_flag_GCJ
=
17936 if test "$GCC" = yes; then
17937 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17940 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17941 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17942 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17943 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 lt_cv_prog_compiler_rtti_exceptions
=no
17946 ac_outfile
=conftest.
$ac_objext
17947 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17948 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17949 # Insert the option either (1) after the last *FLAGS variable, or
17950 # (2) before a word containing "conftest.", or (3) at the end.
17951 # Note that $ac_compile itself does not contain backslashes and begins
17952 # with a dollar sign (not a hyphen), so the echo should work correctly.
17953 # The option is referenced via a variable to avoid confusing sed.
17954 lt_compile
=`echo "$ac_compile" | $SED \
17955 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17956 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17957 -e 's:$: $lt_compiler_flag:'`
17958 (eval echo "\"\$as_me:17958: $lt_compile\"" >&5)
17959 (eval "$lt_compile" 2>conftest.err
)
17961 cat conftest.err
>&5
17962 echo "$as_me:17962: \$? = $ac_status" >&5
17963 if (exit $ac_status) && test -s "$ac_outfile"; then
17964 # The compiler can only warn and ignore the option if not recognized
17965 # So say no if there are warnings other than the usual output.
17966 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17967 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17968 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
17969 lt_cv_prog_compiler_rtti_exceptions
=yes
17975 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17976 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17978 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17979 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17986 lt_prog_compiler_wl_GCJ
=
17987 lt_prog_compiler_pic_GCJ
=
17988 lt_prog_compiler_static_GCJ
=
17990 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17991 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17993 if test "$GCC" = yes; then
17994 lt_prog_compiler_wl_GCJ
='-Wl,'
17995 lt_prog_compiler_static_GCJ
='-static'
17999 # All AIX code is PIC.
18000 if test "$host_cpu" = ia64
; then
18001 # AIX 5 now supports IA64 processor
18002 lt_prog_compiler_static_GCJ
='-Bstatic'
18007 # FIXME: we need at least 68020 code to build shared libraries, but
18008 # adding the `-m68020' flag to GCC prevents building anything better,
18010 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
18013 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18014 # PIC is the default for these OSes.
18017 mingw
* | cygwin
* | pw32
* | os2
*)
18018 # This hack is so that the source file can tell whether it is being
18019 # built for inclusion in a dll (and should export symbols for example).
18020 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18021 # (--disable-auto-import) libraries
18025 darwin
* | rhapsody
*)
18026 # PIC is the default on this platform
18027 # Common symbols not allowed in MH_DYLIB files
18028 lt_prog_compiler_pic_GCJ
='-fno-common'
18032 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18033 # Instead, we relocate shared libraries at runtime.
18037 # Just because we use GCC doesn't mean we suddenly get shared libraries
18038 # on systems that don't support them.
18039 lt_prog_compiler_can_build_shared_GCJ
=no
18044 if test -d /usr
/nec
; then
18045 lt_prog_compiler_pic_GCJ
=-Kconform_pic
18050 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18051 # not for PA HP-UX.
18057 lt_prog_compiler_pic_GCJ
='-fPIC'
18063 lt_prog_compiler_pic_GCJ
='-fPIC'
18067 # PORTME Check for flag to pass linker flags through the system compiler.
18070 lt_prog_compiler_wl_GCJ
='-Wl,'
18071 if test "$host_cpu" = ia64
; then
18072 # AIX 5 now supports IA64 processor
18073 lt_prog_compiler_static_GCJ
='-Bstatic'
18075 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
18079 # PIC is the default on this platform
18080 # Common symbols not allowed in MH_DYLIB files
18081 case $cc_basename in
18083 lt_prog_compiler_pic_GCJ
='-qnocommon'
18084 lt_prog_compiler_wl_GCJ
='-Wl,'
18089 mingw
* | cygwin
* | pw32
* | os2
*)
18090 # This hack is so that the source file can tell whether it is being
18091 # built for inclusion in a dll (and should export symbols for example).
18095 hpux9
* | hpux10
* | hpux11
*)
18096 lt_prog_compiler_wl_GCJ
='-Wl,'
18097 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18098 # not for PA HP-UX.
18104 lt_prog_compiler_pic_GCJ
='+Z'
18107 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18108 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
18111 irix5
* | irix6
* | nonstopux
*)
18112 lt_prog_compiler_wl_GCJ
='-Wl,'
18113 # PIC (with -KPIC) is the default.
18114 lt_prog_compiler_static_GCJ
='-non_shared'
18118 lt_prog_compiler_pic_GCJ
='-KPIC'
18119 lt_prog_compiler_static_GCJ
='-Bstatic'
18122 linux
* | k
*bsd
*-gnu)
18123 case $cc_basename in
18125 lt_prog_compiler_wl_GCJ
='-Wl,'
18126 lt_prog_compiler_pic_GCJ
='-KPIC'
18127 lt_prog_compiler_static_GCJ
='-static'
18129 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
18130 # Portland Group compilers (*not* the Pentium gcc compiler,
18131 # which looks to be a dead project)
18132 lt_prog_compiler_wl_GCJ
='-Wl,'
18133 lt_prog_compiler_pic_GCJ
='-fpic'
18134 lt_prog_compiler_static_GCJ
='-Bstatic'
18137 lt_prog_compiler_wl_GCJ
='-Wl,'
18138 # All Alpha code is PIC.
18139 lt_prog_compiler_static_GCJ
='-non_shared'
18142 case `$CC -V 2>&1 | sed 5q` in
18145 lt_prog_compiler_pic_GCJ
='-KPIC'
18146 lt_prog_compiler_static_GCJ
='-Bstatic'
18147 lt_prog_compiler_wl_GCJ
='-Wl,'
18150 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18151 lt_prog_compiler_pic_GCJ
='-KPIC'
18152 lt_prog_compiler_static_GCJ
='-Bstatic'
18153 lt_prog_compiler_wl_GCJ
=''
18160 osf3
* | osf4
* | osf5
*)
18161 lt_prog_compiler_wl_GCJ
='-Wl,'
18162 # All OSF/1 code is PIC.
18163 lt_prog_compiler_static_GCJ
='-non_shared'
18167 lt_prog_compiler_static_GCJ
='-non_shared'
18171 lt_prog_compiler_pic_GCJ
='-KPIC'
18172 lt_prog_compiler_static_GCJ
='-Bstatic'
18173 case $cc_basename in
18174 f77
* | f90
* | f95
*)
18175 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
18177 lt_prog_compiler_wl_GCJ
='-Wl,';;
18182 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18183 lt_prog_compiler_pic_GCJ
='-PIC'
18184 lt_prog_compiler_static_GCJ
='-Bstatic'
18187 sysv4
| sysv4.2uw2
* | sysv4.3
*)
18188 lt_prog_compiler_wl_GCJ
='-Wl,'
18189 lt_prog_compiler_pic_GCJ
='-KPIC'
18190 lt_prog_compiler_static_GCJ
='-Bstatic'
18194 if test -d /usr
/nec
;then
18195 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18196 lt_prog_compiler_static_GCJ
='-Bstatic'
18200 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18201 lt_prog_compiler_wl_GCJ
='-Wl,'
18202 lt_prog_compiler_pic_GCJ
='-KPIC'
18203 lt_prog_compiler_static_GCJ
='-Bstatic'
18207 lt_prog_compiler_wl_GCJ
='-Wl,'
18208 lt_prog_compiler_can_build_shared_GCJ
=no
18212 lt_prog_compiler_pic_GCJ
='-pic'
18213 lt_prog_compiler_static_GCJ
='-Bstatic'
18217 lt_prog_compiler_can_build_shared_GCJ
=no
18222 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18223 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18226 # Check to make sure the PIC flag actually works.
18228 if test -n "$lt_prog_compiler_pic_GCJ"; then
18230 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18231 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18232 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 lt_cv_prog_compiler_pic_works_GCJ
=no
18236 ac_outfile
=conftest.
$ac_objext
18237 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18238 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18239 # Insert the option either (1) after the last *FLAGS variable, or
18240 # (2) before a word containing "conftest.", or (3) at the end.
18241 # Note that $ac_compile itself does not contain backslashes and begins
18242 # with a dollar sign (not a hyphen), so the echo should work correctly.
18243 # The option is referenced via a variable to avoid confusing sed.
18244 lt_compile
=`echo "$ac_compile" | $SED \
18245 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18246 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18247 -e 's:$: $lt_compiler_flag:'`
18248 (eval echo "\"\$as_me:18248: $lt_compile\"" >&5)
18249 (eval "$lt_compile" 2>conftest.err
)
18251 cat conftest.err
>&5
18252 echo "$as_me:18252: \$? = $ac_status" >&5
18253 if (exit $ac_status) && test -s "$ac_outfile"; then
18254 # The compiler can only warn and ignore the option if not recognized
18255 # So say no if there are warnings other than the usual output.
18256 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18257 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18258 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
18259 lt_cv_prog_compiler_pic_works_GCJ
=yes
18265 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18266 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18268 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
18269 case $lt_prog_compiler_pic_GCJ in
18271 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18274 lt_prog_compiler_pic_GCJ
=
18275 lt_prog_compiler_can_build_shared_GCJ
=no
18280 # For platforms which do not support PIC, -DPIC is meaningless:
18282 lt_prog_compiler_pic_GCJ
=
18285 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18290 # Check to make sure the static flag actually works.
18292 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
18293 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18294 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18295 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18298 lt_cv_prog_compiler_static_works_GCJ
=no
18299 save_LDFLAGS
="$LDFLAGS"
18300 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18301 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18302 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18303 # The linker can only warn and ignore the option if not recognized
18304 # So say no if there are warnings
18305 if test -s conftest.err
; then
18306 # Append any errors to the config.log.
18307 cat conftest.err
1>&5
18308 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18309 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18310 if diff conftest.exp conftest.er2
>/dev
/null
; then
18311 lt_cv_prog_compiler_static_works_GCJ
=yes
18314 lt_cv_prog_compiler_static_works_GCJ
=yes
18318 LDFLAGS
="$save_LDFLAGS"
18321 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18322 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18324 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
18327 lt_prog_compiler_static_GCJ
=
18331 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18332 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18333 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18334 echo $ECHO_N "(cached) $ECHO_C" >&6
18336 lt_cv_prog_compiler_c_o_GCJ
=no
18337 $rm -r conftest
2>/dev
/null
18341 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18343 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18344 # Insert the option either (1) after the last *FLAGS variable, or
18345 # (2) before a word containing "conftest.", or (3) at the end.
18346 # Note that $ac_compile itself does not contain backslashes and begins
18347 # with a dollar sign (not a hyphen), so the echo should work correctly.
18348 lt_compile
=`echo "$ac_compile" | $SED \
18349 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18350 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18351 -e 's:$: $lt_compiler_flag:'`
18352 (eval echo "\"\$as_me:18352: $lt_compile\"" >&5)
18353 (eval "$lt_compile" 2>out
/conftest.err
)
18355 cat out
/conftest.err
>&5
18356 echo "$as_me:18356: \$? = $ac_status" >&5
18357 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18359 # The compiler can only warn and ignore the option if not recognized
18360 # So say no if there are warnings
18361 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
18362 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18363 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18364 lt_cv_prog_compiler_c_o_GCJ
=yes
18369 # SGI C++ compiler will create directory out/ii_files/ for
18370 # template instantiation
18371 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18372 $rm out
/* && rmdir out
18378 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18379 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18382 hard_links
="nottested"
18383 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
18384 # do not overwrite the value of need_locks provided by the user
18385 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18386 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18389 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18391 ln conftest.a conftest.b
2>&5 || hard_links
=no
18392 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18393 { echo "$as_me:$LINENO: result: $hard_links" >&5
18394 echo "${ECHO_T}$hard_links" >&6; }
18395 if test "$hard_links" = no
; then
18396 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18397 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18404 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18405 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18408 allow_undefined_flag_GCJ
=
18409 enable_shared_with_static_runtimes_GCJ
=no
18411 archive_expsym_cmds_GCJ
=
18412 old_archive_From_new_cmds_GCJ
=
18413 old_archive_from_expsyms_cmds_GCJ
=
18414 export_dynamic_flag_spec_GCJ
=
18415 whole_archive_flag_spec_GCJ
=
18416 thread_safe_flag_spec_GCJ
=
18417 hardcode_libdir_flag_spec_GCJ
=
18418 hardcode_libdir_flag_spec_ld_GCJ
=
18419 hardcode_libdir_separator_GCJ
=
18420 hardcode_direct_GCJ
=no
18421 hardcode_minus_L_GCJ
=no
18422 hardcode_shlibpath_var_GCJ
=unsupported
18423 link_all_deplibs_GCJ
=unknown
18424 hardcode_automatic_GCJ
=no
18426 module_expsym_cmds_GCJ
=
18427 always_export_symbols_GCJ
=no
18428 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18429 # include_expsyms should be a list of space-separated symbols to be *always*
18430 # included in the symbol list
18431 include_expsyms_GCJ
=
18432 # exclude_expsyms can be an extended regexp of symbols to exclude
18433 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18434 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18435 # as well as any symbol that contains `d'.
18436 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18437 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18438 # platforms (ab)use it in PIC code, but their linkers get confused if
18439 # the symbol is explicitly referenced. Since portable code cannot
18440 # rely on this symbol name, it's probably fine to never include it in
18441 # preloaded symbol tables.
18442 # Exclude shared library initialization/finalization symbols.
18443 extract_expsyms_cmds
=
18444 # Just being paranoid about ensuring that cc_basename is set.
18445 for cc_temp
in $compiler""; do
18447 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
18448 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
18453 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18456 cygwin
* | mingw
* | pw32
*)
18457 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18458 # When not using gcc, we currently assume that we are using
18459 # Microsoft Visual C++.
18460 if test "$GCC" != yes; then
18465 # we just hope/assume this is gcc and not c89 (= MSVC++)
18474 if test "$with_gnu_ld" = yes; then
18475 # If archive_cmds runs LD, not CC, wlarc should be empty
18478 # Set some defaults for GNU ld with shared library support. These
18479 # are reset later if shared libraries are not supported. Putting them
18480 # here allows them to be overridden if necessary.
18481 runpath_var
=LD_RUN_PATH
18482 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
18483 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
18484 # ancient GNU ld didn't support --whole-archive et. al.
18485 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
18486 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18488 whole_archive_flag_spec_GCJ
=
18490 supports_anon_versioning
=no
18491 case `$LD -v 2>/dev/null` in
18492 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
18493 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
18494 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
18495 *\
2.11.
*) ;; # other 2.11 versions
18496 *) supports_anon_versioning
=yes ;;
18499 # See if GNU ld supports shared libraries.
18502 # On AIX/PPC, the GNU linker is very broken
18503 if test "$host_cpu" != ia64
; then
18507 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18508 *** to be unable to reliably create shared libraries on AIX.
18509 *** Therefore, libtool is disabling shared libraries support. If you
18510 *** really care for shared libraries, you may want to modify your PATH
18511 *** so that a non-GNU linker is found, and then restart.
18518 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)'
18519 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18520 hardcode_minus_L_GCJ
=yes
18522 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18523 # that the semantics of dynamic libraries on AmigaOS, at least up
18524 # to version 4, is to share data among multiple programs linked
18525 # with the same dynamic library. Since this doesn't match the
18526 # behavior of shared libraries on other platforms, we can't use
18532 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18533 allow_undefined_flag_GCJ
=unsupported
18534 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18535 # support --undefined. This deserves some investigation. FIXME
18536 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18542 cygwin
* | mingw
* | pw32
*)
18543 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18544 # as there is no search path for DLLs.
18545 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18546 allow_undefined_flag_GCJ
=unsupported
18547 always_export_symbols_GCJ
=no
18548 enable_shared_with_static_runtimes_GCJ
=yes
18549 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18551 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
18552 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18553 # If the export-symbols file already is a .def file (1st line
18554 # is EXPORTS), use it as is; otherwise, prepend...
18555 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18556 cp $export_symbols $output_objdir/$soname.def;
18558 echo EXPORTS > $output_objdir/$soname.def;
18559 cat $export_symbols >> $output_objdir/$soname.def;
18561 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18568 hardcode_direct_GCJ
=no
18569 hardcode_shlibpath_var_GCJ
=no
18570 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18571 export_dynamic_flag_spec_GCJ
='${wl}-E'
18572 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18573 # Instead, shared libraries are loaded at an image base (0x10000000 by
18574 # default) and relocated if they conflict, which is a slow very memory
18575 # consuming and fragmenting process. To avoid this, we pick a random,
18576 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18577 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18578 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'
18579 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'
18582 gnu
* | linux
* | k
*bsd
*-gnu)
18583 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18585 case $cc_basename,$host_cpu in
18586 pgcc
*) # Portland Group C compiler
18587 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'
18588 tmp_addflag
=' $pic_flag'
18590 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18591 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'
18592 tmp_addflag
=' $pic_flag -Mnomain' ;;
18593 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18594 tmp_addflag
=' -i_dynamic' ;;
18595 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18596 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18597 ifc
* | ifort
*) # Intel Fortran compiler
18598 tmp_addflag
=' -nofor_main' ;;
18600 case `$CC -V 2>&1 | sed 5q` in
18601 *Sun\ C
*) # Sun C 5.9
18602 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'
18603 tmp_sharedflag
='-G' ;;
18604 *Sun\ F
*) # Sun Fortran 8.3
18605 tmp_sharedflag
='-G' ;;
18607 tmp_sharedflag
='-shared' ;;
18609 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18611 if test $supports_anon_versioning = yes; then
18612 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
18613 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18614 $echo "local: *; };" >> $output_objdir/$libname.ver~
18615 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18617 link_all_deplibs_GCJ
=no
18623 netbsd
* | netbsdelf
*-gnu)
18624 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
18625 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18628 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18629 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18634 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
18638 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18639 *** create shared libraries on Solaris systems. Therefore, libtool
18640 *** is disabling shared libraries support. We urge you to upgrade GNU
18641 *** binutils to release 2.9.1 or newer. Another option is to modify
18642 *** your PATH or compiler configuration so that the native linker is
18643 *** used, and then restart.
18646 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18647 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18648 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18654 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18655 case `$LD -v 2>&1` in
18656 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
18660 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18661 *** reliably create shared libraries on SCO systems. Therefore, libtool
18662 *** is disabling shared libraries support. We urge you to upgrade GNU
18663 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18664 *** your PATH or compiler configuration so that the native linker is
18665 *** used, and then restart.
18670 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18671 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18672 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18673 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18682 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18684 hardcode_direct_GCJ
=yes
18685 hardcode_shlibpath_var_GCJ
=no
18689 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18690 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18691 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18698 if test "$ld_shlibs_GCJ" = no
; then
18700 hardcode_libdir_flag_spec_GCJ
=
18701 export_dynamic_flag_spec_GCJ
=
18702 whole_archive_flag_spec_GCJ
=
18705 # PORTME fill in a description of your system's linker (not GNU ld)
18708 allow_undefined_flag_GCJ
=unsupported
18709 always_export_symbols_GCJ
=yes
18710 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'
18711 # Note: this linker hardcodes the directories in LIBPATH if there
18712 # are no directories specified by -L.
18713 hardcode_minus_L_GCJ
=yes
18714 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18715 # Neither direct hardcoding nor static linking is supported with a
18717 hardcode_direct_GCJ
=unsupported
18722 if test "$host_cpu" = ia64
; then
18723 # On IA64, the linker does run time linking by default, so we don't
18724 # have to do anything special.
18725 aix_use_runtimelinking
=no
18726 exp_sym_flag
='-Bexport'
18729 # If we're using GNU nm, then we don't want the "-C" option.
18730 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18731 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
18732 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'
18734 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'
18736 aix_use_runtimelinking
=no
18738 # Test if we are trying to use run time linking or normal
18739 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18740 # need to do runtime linking.
18741 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18742 for ld_flag
in $LDFLAGS; do
18743 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18744 aix_use_runtimelinking
=yes
18751 exp_sym_flag
='-bexport'
18752 no_entry_flag
='-bnoentry'
18755 # When large executables or shared objects are built, AIX ld can
18756 # have problems creating the table of contents. If linking a library
18757 # or program results in "error TOC overflow" add -mminimal-toc to
18758 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18759 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18761 archive_cmds_GCJ
=''
18762 hardcode_direct_GCJ
=yes
18763 hardcode_libdir_separator_GCJ
=':'
18764 link_all_deplibs_GCJ
=yes
18766 if test "$GCC" = yes; then
18767 case $host_os in aix4.
[012]|aix4.
[012].
*)
18768 # We only want to do this on AIX 4.2 and lower, the check
18769 # below for broken collect2 doesn't work under 4.3+
18770 collect2name
=`${CC} -print-prog-name=collect2`
18771 if test -f "$collect2name" && \
18772 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
18774 # We have reworked collect2
18777 # We have old collect2
18778 hardcode_direct_GCJ
=unsupported
18779 # It fails to find uninstalled libraries when the uninstalled
18780 # path is not listed in the libpath. Setting hardcode_minus_L
18781 # to unsupported forces relinking
18782 hardcode_minus_L_GCJ
=yes
18783 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18784 hardcode_libdir_separator_GCJ
=
18788 shared_flag
='-shared'
18789 if test "$aix_use_runtimelinking" = yes; then
18790 shared_flag
="$shared_flag "'${wl}-G'
18794 if test "$host_cpu" = ia64
; then
18795 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18796 # chokes on -Wl,-G. The following line is correct:
18799 if test "$aix_use_runtimelinking" = yes; then
18800 shared_flag
='${wl}-G'
18802 shared_flag
='${wl}-bM:SRE'
18807 # It seems that -bexpall does not export symbols beginning with
18808 # underscore (_), so it is better to generate a list of symbols to export.
18809 always_export_symbols_GCJ
=yes
18810 if test "$aix_use_runtimelinking" = yes; then
18811 # Warning - without using the other runtime loading flags (-brtl),
18812 # -berok will link without error, but may produce a broken library.
18813 allow_undefined_flag_GCJ
='-berok'
18814 # Determine the default libpath from the value encoded in an empty executable.
18815 cat >conftest.
$ac_ext <<_ACEOF
18818 cat confdefs.h
>>conftest.
$ac_ext
18819 cat >>conftest.
$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18830 rm -f conftest.
$ac_objext conftest
$ac_exeext
18831 if { (ac_try
="$ac_link"
18832 case "(($ac_try" in
18833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;;
18836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18837 (eval "$ac_link") 2>conftest.er1
18839 grep -v '^ *+' conftest.er1 >conftest.err
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } && {
18844 test -z "$ac_c_werror_flag" ||
18845 test ! -s conftest.err
18846 } && test -s conftest$ac_exeext &&
18847 $as_test_x conftest$ac_exeext; then
18849 lt_aix_libpath_sed='
18850 /Import File Strings/,/^$/ {
18856 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
18857 # Check for a 64-bit object if we didn't find anything.
18858 if test -z "$aix_libpath"; then
18859 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
18862 echo "$as_me: failed program was:" >&5
18863 sed 's/^/| /' conftest.$ac_ext >&5
18868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18869 conftest$ac_exeext conftest.$ac_ext
18870 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18872 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18873 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"
18875 if test "$host_cpu" = ia64; then
18876 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18877 allow_undefined_flag_GCJ="-z nodefs"
18878 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"
18880 # Determine the default libpath from the value encoded in an empty executable.
18881 cat >conftest.$ac_ext <<_ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18896 rm -f conftest.$ac_objext conftest$ac_exeext
18897 if { (ac_try="$ac_link"
18898 case "(($ac_try" in
18899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18900 *) ac_try_echo
=$ac_try;;
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_link") 2>conftest.er1
18905 grep -v '^ *+' conftest.er1
>conftest.err
18907 cat conftest.err
>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } && {
18910 test -z "$ac_c_werror_flag" ||
18911 test ! -s conftest.err
18912 } && test -s conftest
$ac_exeext &&
18913 $as_test_x conftest
$ac_exeext; then
18915 lt_aix_libpath_sed
='
18916 /Import File Strings/,/^$/ {
18922 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18923 # Check for a 64-bit object if we didn't find anything.
18924 if test -z "$aix_libpath"; then
18925 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18928 echo "$as_me: failed program was:" >&5
18929 sed 's/^/| /' conftest.
$ac_ext >&5
18934 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18935 conftest
$ac_exeext conftest.
$ac_ext
18936 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18938 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18939 # Warning - without using the other run time loading flags,
18940 # -berok will link without error, but may produce a broken library.
18941 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18942 allow_undefined_flag_GCJ
=' ${wl}-berok'
18943 # Exported symbols can be pulled into shared objects from archives
18944 whole_archive_flag_spec_GCJ
='$convenience'
18945 archive_cmds_need_lc_GCJ
=yes
18946 # This is similar to how AIX traditionally builds its shared libraries.
18947 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'
18953 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)'
18954 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18955 hardcode_minus_L_GCJ
=yes
18956 # see comment about different semantics on the GNU ld section
18961 export_dynamic_flag_spec_GCJ
=-rdynamic
18964 cygwin
* | mingw
* | pw32
*)
18965 # When not using gcc, we currently assume that we are using
18966 # Microsoft Visual C++.
18967 # hardcode_libdir_flag_spec is actually meaningless, as there is
18968 # no search path for DLLs.
18969 hardcode_libdir_flag_spec_GCJ
=' '
18970 allow_undefined_flag_GCJ
=unsupported
18971 # Tell ltmain to make .lib files, not .a files.
18973 # Tell ltmain to make .dll files, not .so files.
18975 # FIXME: Setting linknames here is a bad hack.
18976 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18977 # The linker will automatically build a .lib file if we build a DLL.
18978 old_archive_From_new_cmds_GCJ
='true'
18979 # FIXME: Should let the user specify the lib program.
18980 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18981 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18982 enable_shared_with_static_runtimes_GCJ
=yes
18985 darwin
* | rhapsody
*)
18987 rhapsody
* | darwin1.
[012])
18988 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18991 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18992 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18994 case ${MACOSX_DEPLOYMENT_TARGET} in
18996 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18999 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
19005 archive_cmds_need_lc_GCJ
=no
19006 hardcode_direct_GCJ
=no
19007 hardcode_automatic_GCJ
=yes
19008 hardcode_shlibpath_var_GCJ
=unsupported
19009 whole_archive_flag_spec_GCJ
=''
19010 link_all_deplibs_GCJ
=yes
19011 if test "$GCC" = yes ; then
19012 output_verbose_link_cmd
='echo'
19013 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}"
19014 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19015 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}"
19016 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}"
19018 case $cc_basename in
19020 output_verbose_link_cmd
='echo'
19021 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19022 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19023 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19024 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}'
19025 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}'
19035 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19036 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19037 hardcode_shlibpath_var_GCJ
=no
19044 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19045 # support. Future versions do this automatically, but an explicit c++rt0.o
19046 # does not break anything, and helps significantly (at the cost of a little
19049 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19050 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19051 hardcode_direct_GCJ
=yes
19052 hardcode_shlibpath_var_GCJ
=no
19055 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19057 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19058 hardcode_direct_GCJ
=yes
19059 hardcode_minus_L_GCJ
=yes
19060 hardcode_shlibpath_var_GCJ
=no
19063 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19064 freebsd
* | dragonfly
*)
19065 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19066 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19067 hardcode_direct_GCJ
=yes
19068 hardcode_shlibpath_var_GCJ
=no
19072 if test "$GCC" = yes; then
19073 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'
19075 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'
19077 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19078 hardcode_libdir_separator_GCJ
=:
19079 hardcode_direct_GCJ
=yes
19081 # hardcode_minus_L: Not really in the search PATH,
19082 # but as the default location of the library.
19083 hardcode_minus_L_GCJ
=yes
19084 export_dynamic_flag_spec_GCJ
='${wl}-E'
19088 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19089 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19091 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19093 if test "$with_gnu_ld" = no
; then
19094 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19095 hardcode_libdir_separator_GCJ
=:
19097 hardcode_direct_GCJ
=yes
19098 export_dynamic_flag_spec_GCJ
='${wl}-E'
19100 # hardcode_minus_L: Not really in the search PATH,
19101 # but as the default location of the library.
19102 hardcode_minus_L_GCJ
=yes
19107 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19110 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19113 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19116 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19122 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19125 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19128 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19132 if test "$with_gnu_ld" = no
; then
19133 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19134 hardcode_libdir_separator_GCJ
=:
19138 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
19139 hardcode_direct_GCJ
=no
19140 hardcode_shlibpath_var_GCJ
=no
19143 hardcode_direct_GCJ
=yes
19144 export_dynamic_flag_spec_GCJ
='${wl}-E'
19146 # hardcode_minus_L: Not really in the search PATH,
19147 # but as the default location of the library.
19148 hardcode_minus_L_GCJ
=yes
19154 irix5
* | irix6
* | nonstopux
*)
19155 if test "$GCC" = yes; then
19156 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'
19158 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'
19159 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
19161 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19162 hardcode_libdir_separator_GCJ
=:
19163 link_all_deplibs_GCJ
=yes
19166 netbsd
* | netbsdelf
*-gnu)
19167 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
19168 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19170 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19172 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19173 hardcode_direct_GCJ
=yes
19174 hardcode_shlibpath_var_GCJ
=no
19178 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19179 hardcode_direct_GCJ
=yes
19180 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19181 hardcode_libdir_separator_GCJ
=:
19182 hardcode_shlibpath_var_GCJ
=no
19186 if test -f /usr
/libexec
/ld.so
; then
19187 hardcode_direct_GCJ
=yes
19188 hardcode_shlibpath_var_GCJ
=no
19189 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19190 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19191 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19192 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19193 export_dynamic_flag_spec_GCJ
='${wl}-E'
19196 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19197 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19198 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19201 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19202 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19212 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19213 hardcode_minus_L_GCJ
=yes
19214 allow_undefined_flag_GCJ
=unsupported
19215 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'
19216 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19220 if test "$GCC" = yes; then
19221 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19222 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'
19224 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19225 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'
19227 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19228 hardcode_libdir_separator_GCJ
=:
19231 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19232 if test "$GCC" = yes; then
19233 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19234 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'
19235 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19237 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19238 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'
19239 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~
19240 $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'
19242 # Both c and cxx compiler support -rpath directly
19243 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19245 hardcode_libdir_separator_GCJ
=:
19249 no_undefined_flag_GCJ
=' -z text'
19250 if test "$GCC" = yes; then
19252 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19253 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19254 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19257 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19258 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19259 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19261 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19262 hardcode_shlibpath_var_GCJ
=no
19264 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19266 # The compiler driver will combine and reorder linker options,
19267 # but understands `-z linker_flag'. GCC discards it without `$wl',
19268 # but is careful enough not to reorder.
19269 # Supported since Solaris 2.6 (maybe 2.5.1?)
19270 if test "$GCC" = yes; then
19271 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19273 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
19277 link_all_deplibs_GCJ
=yes
19281 if test "x$host_vendor" = xsequent
; then
19282 # Use $CC to link under sequent, because it throws in some extra .o
19283 # files that make .init and .fini sections work.
19284 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19286 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19288 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19289 hardcode_direct_GCJ
=yes
19290 hardcode_minus_L_GCJ
=yes
19291 hardcode_shlibpath_var_GCJ
=no
19295 case $host_vendor in
19297 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19298 hardcode_direct_GCJ
=yes # is this really true???
19301 ## LD is ld it makes a PLAMLIB
19302 ## CC just makes a GrossModule.
19303 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19304 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19305 hardcode_direct_GCJ
=no
19308 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19309 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19312 runpath_var
='LD_RUN_PATH'
19313 hardcode_shlibpath_var_GCJ
=no
19317 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19318 hardcode_shlibpath_var_GCJ
=no
19319 export_dynamic_flag_spec_GCJ
='-Bexport'
19323 if test -d /usr
/nec
; then
19324 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19325 hardcode_shlibpath_var_GCJ
=no
19326 runpath_var
=LD_RUN_PATH
19327 hardcode_runpath_var
=yes
19332 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19333 no_undefined_flag_GCJ
='${wl}-z,text'
19334 archive_cmds_need_lc_GCJ
=no
19335 hardcode_shlibpath_var_GCJ
=no
19336 runpath_var
='LD_RUN_PATH'
19338 if test "$GCC" = yes; then
19339 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19340 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19342 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19343 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19347 sysv5
* | sco3.2v5
* | sco5v6
*)
19348 # Note: We can NOT use -z defs as we might desire, because we do not
19349 # link with -lc, and that would cause any symbols used from libc to
19350 # always be unresolved, which means just about no library would
19351 # ever link correctly. If we're not using GNU ld we use -z text
19352 # though, which does catch some bad symbols but isn't as heavy-handed
19354 no_undefined_flag_GCJ
='${wl}-z,text'
19355 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
19356 archive_cmds_need_lc_GCJ
=no
19357 hardcode_shlibpath_var_GCJ
=no
19358 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19359 hardcode_libdir_separator_GCJ
=':'
19360 link_all_deplibs_GCJ
=yes
19361 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19362 runpath_var
='LD_RUN_PATH'
19364 if test "$GCC" = yes; then
19365 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19366 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19368 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19369 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19374 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19375 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19376 hardcode_shlibpath_var_GCJ
=no
19385 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19386 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19387 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
19390 # Do we need to explicitly link libc?
19392 case "x$archive_cmds_need_lc_GCJ" in
19394 # Assume -lc should be added
19395 archive_cmds_need_lc_GCJ
=yes
19397 if test "$enable_shared" = yes && test "$GCC" = yes; then
19398 case $archive_cmds_GCJ in
19400 # FIXME: we may have to deal with multi-command sequences.
19403 # Test whether the compiler implicitly links with -lc since on some
19404 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19405 # to ld, don't add -lc before -lgcc.
19406 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19407 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19409 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
19411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19412 (eval $ac_compile) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); } 2>conftest.err
; then
19418 libobjs
=conftest.
$ac_objext
19420 wl
=$lt_prog_compiler_wl_GCJ
19421 pic_flag
=$lt_prog_compiler_pic_GCJ
19427 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
19428 allow_undefined_flag_GCJ
=
19429 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19430 (eval $archive_cmds_GCJ 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }
19435 archive_cmds_need_lc_GCJ
=no
19437 archive_cmds_need_lc_GCJ
=yes
19439 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
19441 cat conftest.err
1>&5
19444 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19445 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19452 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19453 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19454 library_names_spec
=
19455 libname_spec
='lib$name'
19459 postuninstall_cmds
=
19463 shlibpath_overrides_runpath
=unknown
19465 dynamic_linker
="$host_os ld.so"
19466 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19468 need_lib_prefix
=unknown
19469 hardcode_into_libs
=no
19471 # when you set need_version to no, make sure it does not cause -set_version
19472 # flags to be left without arguments
19473 need_version
=unknown
19478 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19479 shlibpath_var
=LIBPATH
19481 # AIX 3 has no versioning support, so we append a major version to the name.
19482 soname_spec
='${libname}${release}${shared_ext}$major'
19489 hardcode_into_libs
=yes
19490 if test "$host_cpu" = ia64
; then
19491 # AIX 5 supports IA64
19492 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19493 shlibpath_var
=LD_LIBRARY_PATH
19495 # With GCC up to 2.95.x, collect2 would create an import file
19496 # for dependence libraries. The import file would start with
19497 # the line `#! .'. This would cause the generated library to
19498 # depend on `.', always an invalid library. This was fixed in
19499 # development snapshots of GCC prior to 3.0.
19501 aix4
| aix4.
[01] | aix4.
[01].
*)
19502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19504 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
19507 can_build_shared
=no
19511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19512 # soname into executable. Probably we can add versioning support to
19513 # collect2, so additional links can be useful in future.
19514 if test "$aix_use_runtimelinking" = yes; then
19515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19516 # instead of lib<name>.a to let people know that these are not
19517 # typical AIX shared libraries.
19518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19520 # We preserve .a as extension for shared libraries through AIX4.2
19521 # and later when we are not doing run time linking.
19522 library_names_spec
='${libname}${release}.a $libname.a'
19523 soname_spec
='${libname}${release}${shared_ext}$major'
19525 shlibpath_var
=LIBPATH
19530 library_names_spec
='$libname.ixlibrary $libname.a'
19531 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19532 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'
19536 library_names_spec
='${libname}${shared_ext}'
19537 dynamic_linker
="$host_os ld.so"
19538 shlibpath_var
=LIBRARY_PATH
19544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19545 soname_spec
='${libname}${release}${shared_ext}$major'
19546 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19547 shlibpath_var
=LD_LIBRARY_PATH
19548 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19549 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19550 # the default ld.so.conf also contains /usr/contrib/lib and
19551 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19552 # libtool to hard-code these into programs
19555 cygwin
* | mingw
* | pw32
*)
19556 version_type
=windows
19561 case $GCC,$host_os in
19562 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
19563 library_names_spec
='$libname.dll.a'
19564 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19565 postinstall_cmds
='base_file=`basename \${file}`~
19566 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19567 dldir=$destdir/`dirname \$dlpath`~
19568 test -d \$dldir || mkdir -p \$dldir~
19569 $install_prog $dir/$dlname \$dldir/$dlname~
19570 chmod a+x \$dldir/$dlname'
19571 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19572 dlpath=$dir/\$dldll~
19574 shlibpath_overrides_runpath
=yes
19578 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19579 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19580 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19583 # MinGW DLLs use traditional 'lib' prefix
19584 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19585 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19586 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
19587 # It is most probably a Windows format PATH printed by
19588 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19589 # path with ; separators, and with drive letters. We can handle the
19590 # drive letters (cygwin fileutils understands them), so leave them,
19591 # especially as we might pass files found there to a mingw objdump,
19592 # which wouldn't understand a cygwinified path. Ahh.
19593 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19595 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19599 # pw32 DLLs use 'pw' prefix rather than 'lib'
19600 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19606 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
19609 dynamic_linker
='Win32 ld.exe'
19610 # FIXME: first we should search . and the directory the executable is in
19614 darwin
* | rhapsody
*)
19615 dynamic_linker
="$host_os dyld"
19616 version_type
=darwin
19619 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19620 soname_spec
='${libname}${release}${major}$shared_ext'
19621 shlibpath_overrides_runpath
=yes
19622 shlibpath_var
=DYLD_LIBRARY_PATH
19623 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19625 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19633 soname_spec
='${libname}${release}${shared_ext}$major'
19634 shlibpath_var
=LD_LIBRARY_PATH
19641 freebsd
* | dragonfly
*)
19642 # DragonFly does not have aout. When/if they implement a new
19643 # versioning mechanism, adjust this.
19644 if test -x /usr
/bin
/objformat
; then
19645 objformat
=`/usr/bin/objformat`
19648 freebsd
[123]*) objformat
=aout
;;
19649 *) objformat
=elf
;;
19652 version_type
=freebsd
-$objformat
19653 case $version_type in
19655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19660 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19664 shlibpath_var
=LD_LIBRARY_PATH
19667 shlibpath_overrides_runpath
=yes
19669 freebsd3.
[01]* | freebsdelf3.
[01]*)
19670 shlibpath_overrides_runpath
=yes
19671 hardcode_into_libs
=yes
19673 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19674 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19675 shlibpath_overrides_runpath
=no
19676 hardcode_into_libs
=yes
19678 *) # from 4.6 on, and DragonFly
19679 shlibpath_overrides_runpath
=yes
19680 hardcode_into_libs
=yes
19689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19690 soname_spec
='${libname}${release}${shared_ext}$major'
19691 shlibpath_var
=LD_LIBRARY_PATH
19692 hardcode_into_libs
=yes
19695 hpux9
* | hpux10
* | hpux11
*)
19696 # Give a soname corresponding to the major version so that dld.sl refuses to
19697 # link against other versions.
19704 hardcode_into_libs
=yes
19705 dynamic_linker
="$host_os dld.so"
19706 shlibpath_var
=LD_LIBRARY_PATH
19707 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19709 soname_spec
='${libname}${release}${shared_ext}$major'
19710 if test "X$HPUX_IA64_MODE" = X32
; then
19711 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19713 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19715 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19719 hardcode_into_libs
=yes
19720 dynamic_linker
="$host_os dld.sl"
19721 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19722 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19724 soname_spec
='${libname}${release}${shared_ext}$major'
19725 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19726 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19730 dynamic_linker
="$host_os dld.sl"
19731 shlibpath_var
=SHLIB_PATH
19732 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19734 soname_spec
='${libname}${release}${shared_ext}$major'
19737 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19738 postinstall_cmds
='chmod 555 $lib'
19745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19746 soname_spec
='${libname}${release}${shared_ext}$major'
19747 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19748 shlibpath_var
=LD_LIBRARY_PATH
19749 shlibpath_overrides_runpath
=no
19750 hardcode_into_libs
=yes
19753 irix5
* | irix6
* | nonstopux
*)
19755 nonstopux
*) version_type
=nonstopux
;;
19757 if test "$lt_cv_prog_gnu_ld" = yes; then
19765 soname_spec
='${libname}${release}${shared_ext}$major'
19766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19768 irix5
* | nonstopux
*)
19769 libsuff
= shlibsuff
=
19772 case $LD in # libtool.m4 will add one of these switches to LD
19773 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19774 libsuff
= shlibsuff
= libmagic
=32-bit;;
19775 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19776 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19777 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19778 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19779 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
19783 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19784 shlibpath_overrides_runpath
=no
19785 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19786 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19787 hardcode_into_libs
=yes
19790 # No shared lib support for Linux oldld, aout, or coff.
19791 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19795 # This must be Linux ELF.
19796 linux
* | k
*bsd
*-gnu)
19800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19801 soname_spec
='${libname}${release}${shared_ext}$major'
19802 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19803 shlibpath_var
=LD_LIBRARY_PATH
19804 shlibpath_overrides_runpath
=no
19805 # This implies no fast_install, which is unacceptable.
19806 # Some rework will be needed to allow for fast_install
19807 # before this can be enabled.
19808 hardcode_into_libs
=yes
19810 # Append ld.so.conf contents to the search path
19811 if test -f /etc
/ld.so.conf
; then
19812 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' ' '`
19813 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19816 # We used to test for /lib/ld.so.1 and disable shared libraries on
19817 # powerpc, because MkLinux only supported shared libraries with the
19818 # GNU dynamic linker. Since this was broken with cross compilers,
19819 # most powerpc-linux boxes support dynamic linking these days and
19820 # people can always --disable-shared, the test was removed, and we
19821 # assume the GNU/Linux dynamic linker is in use.
19822 dynamic_linker
='GNU/Linux ld.so'
19829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19830 soname_spec
='${libname}${release}${shared_ext}$major'
19831 shlibpath_var
=LD_LIBRARY_PATH
19832 shlibpath_overrides_runpath
=no
19833 hardcode_into_libs
=yes
19834 dynamic_linker
='NetBSD ld.elf_so'
19841 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
19842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19843 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19844 dynamic_linker
='NetBSD (a.out) ld.so'
19846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19847 soname_spec
='${libname}${release}${shared_ext}$major'
19848 dynamic_linker
='NetBSD ld.elf_so'
19850 shlibpath_var
=LD_LIBRARY_PATH
19851 shlibpath_overrides_runpath
=yes
19852 hardcode_into_libs
=yes
19857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19858 shlibpath_var
=LD_LIBRARY_PATH
19859 shlibpath_overrides_runpath
=yes
19866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19867 soname_spec
='${libname}${release}${shared_ext}$major'
19868 shlibpath_var
=LD_LIBRARY_PATH
19869 shlibpath_overrides_runpath
=yes
19874 sys_lib_dlsearch_path_spec
="/usr/lib"
19876 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19878 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
19879 *) need_version
=no
;;
19881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19882 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19883 shlibpath_var
=LD_LIBRARY_PATH
19884 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19886 openbsd2.
[89] | openbsd2.
[89].
*)
19887 shlibpath_overrides_runpath
=no
19890 shlibpath_overrides_runpath
=yes
19894 shlibpath_overrides_runpath
=yes
19899 libname_spec
='$name'
19902 library_names_spec
='$libname${shared_ext} $libname.a'
19903 dynamic_linker
='OS/2 ld.exe'
19904 shlibpath_var
=LIBPATH
19907 osf3
* | osf4
* | osf5
*)
19911 soname_spec
='${libname}${release}${shared_ext}$major'
19912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19913 shlibpath_var
=LD_LIBRARY_PATH
19914 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19915 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19927 soname_spec
='${libname}${release}${shared_ext}$major'
19928 shlibpath_var
=LD_LIBRARY_PATH
19929 shlibpath_overrides_runpath
=yes
19930 hardcode_into_libs
=yes
19931 # ldd complains unless libraries are executable
19932 postinstall_cmds
='chmod +x $lib'
19937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19938 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19939 shlibpath_var
=LD_LIBRARY_PATH
19940 shlibpath_overrides_runpath
=yes
19941 if test "$with_gnu_ld" = yes; then
19949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19950 soname_spec
='${libname}${release}${shared_ext}$major'
19951 shlibpath_var
=LD_LIBRARY_PATH
19952 case $host_vendor in
19954 shlibpath_overrides_runpath
=no
19956 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19957 runpath_var
=LD_RUN_PATH
19965 shlibpath_overrides_runpath
=no
19966 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19972 if test -d /usr
/nec
;then
19974 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19975 soname_spec
='$libname${shared_ext}.$major'
19976 shlibpath_var
=LD_LIBRARY_PATH
19980 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19981 version_type
=freebsd
-elf
19984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19985 soname_spec
='${libname}${release}${shared_ext}$major'
19986 shlibpath_var
=LD_LIBRARY_PATH
19987 hardcode_into_libs
=yes
19988 if test "$with_gnu_ld" = yes; then
19989 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19990 shlibpath_overrides_runpath
=no
19992 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19993 shlibpath_overrides_runpath
=yes
19996 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20000 sys_lib_dlsearch_path_spec
='/usr/lib'
20005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20006 soname_spec
='${libname}${release}${shared_ext}$major'
20007 shlibpath_var
=LD_LIBRARY_PATH
20014 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20015 echo "${ECHO_T}$dynamic_linker" >&6; }
20016 test "$dynamic_linker" = no
&& can_build_shared
=no
20018 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
20024 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
20025 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20026 echo $ECHO_N "(cached) $ECHO_C" >&6
20028 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
20031 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
20033 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20034 if test "$GCC" = yes; then
20035 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20038 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20039 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20040 hardcode_action_GCJ
=
20041 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20042 test -n "$runpath_var_GCJ" || \
20043 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20045 # We can hardcode non-existant directories.
20046 if test "$hardcode_direct_GCJ" != no
&&
20047 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20048 # have to relink, otherwise we might link with an installed library
20049 # when we should be linking with a yet-to-be-installed one
20050 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20051 test "$hardcode_minus_L_GCJ" != no
; then
20052 # Linking always hardcodes the temporary library directory.
20053 hardcode_action_GCJ
=relink
20055 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20056 hardcode_action_GCJ
=immediate
20059 # We cannot hardcode anything, or else we can only hardcode existing
20061 hardcode_action_GCJ
=unsupported
20063 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20064 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20066 if test "$hardcode_action_GCJ" = relink
; then
20067 # Fast installation is not supported
20068 enable_fast_install
=no
20069 elif test "$shlibpath_overrides_runpath" = yes ||
20070 test "$enable_shared" = no
; then
20071 # Fast installation is not necessary
20072 enable_fast_install
=needless
20076 # The else clause should only fire when bootstrapping the
20077 # libtool distribution, otherwise you forgot to ship ltmain.sh
20078 # with your package, and you will get complaints that there are
20079 # no rules to generate ltmain.sh.
20080 if test -f "$ltmain"; then
20081 # See if we are running on zsh, and set the options which allow our commands through
20082 # without removal of \ escapes.
20083 if test -n "${ZSH_VERSION+set}" ; then
20084 setopt NO_GLOB_SUBST
20086 # Now quote all the things that may contain metacharacters while being
20087 # careful not to overquote the AC_SUBSTed values. We take copies of the
20088 # variables and quote the copies for generation of the libtool script.
20089 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20091 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20092 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20093 deplibs_check_method reload_flag reload_cmds need_locks \
20094 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20095 lt_cv_sys_global_symbol_to_c_name_address \
20096 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20097 old_postinstall_cmds old_postuninstall_cmds \
20101 lt_prog_compiler_wl_GCJ \
20102 lt_prog_compiler_pic_GCJ \
20103 lt_prog_compiler_static_GCJ \
20104 lt_prog_compiler_no_builtin_flag_GCJ \
20105 export_dynamic_flag_spec_GCJ \
20106 thread_safe_flag_spec_GCJ \
20107 whole_archive_flag_spec_GCJ \
20108 enable_shared_with_static_runtimes_GCJ \
20109 old_archive_cmds_GCJ \
20110 old_archive_from_new_cmds_GCJ \
20111 predep_objects_GCJ \
20112 postdep_objects_GCJ \
20115 compiler_lib_search_path_GCJ \
20116 compiler_lib_search_dirs_GCJ \
20118 archive_expsym_cmds_GCJ \
20119 postinstall_cmds_GCJ \
20120 postuninstall_cmds_GCJ \
20121 old_archive_from_expsyms_cmds_GCJ \
20122 allow_undefined_flag_GCJ \
20123 no_undefined_flag_GCJ \
20124 export_symbols_cmds_GCJ \
20125 hardcode_libdir_flag_spec_GCJ \
20126 hardcode_libdir_flag_spec_ld_GCJ \
20127 hardcode_libdir_separator_GCJ \
20128 hardcode_automatic_GCJ \
20130 module_expsym_cmds_GCJ \
20131 lt_cv_prog_compiler_c_o_GCJ \
20132 fix_srcfile_path_GCJ \
20133 exclude_expsyms_GCJ \
20134 include_expsyms_GCJ
; do
20137 old_archive_cmds_GCJ
| \
20138 old_archive_from_new_cmds_GCJ
| \
20139 archive_cmds_GCJ
| \
20140 archive_expsym_cmds_GCJ
| \
20141 module_cmds_GCJ
| \
20142 module_expsym_cmds_GCJ
| \
20143 old_archive_from_expsyms_cmds_GCJ
| \
20144 export_symbols_cmds_GCJ
| \
20145 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
20146 postinstall_cmds
| postuninstall_cmds
| \
20147 old_postinstall_cmds
| old_postuninstall_cmds
| \
20148 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
20149 # Double-quote double-evaled strings.
20150 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20153 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20159 *'\$0 --fallback-echo"')
20160 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20166 cat <<__EOF__ >> "$cfgfile"
20167 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20169 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20171 # Shell to use when invoking shell scripts.
20174 # Whether or not to build shared libraries.
20175 build_libtool_libs=$enable_shared
20177 # Whether or not to build static libraries.
20178 build_old_libs=$enable_static
20180 # Whether or not to add -lc for building shared libraries.
20181 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20183 # Whether or not to disallow shared libs when runtime libs are static
20184 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20186 # Whether or not to optimize for fast installation.
20187 fast_install=$enable_fast_install
20190 host_alias=$host_alias
20194 # The build system.
20195 build_alias=$build_alias
20199 # An echo program that does not interpret backslashes.
20204 AR_FLAGS=$lt_AR_FLAGS
20209 # LTCC compiler flags.
20210 LTCFLAGS=$lt_LTCFLAGS
20212 # A language-specific compiler.
20213 CC=$lt_compiler_GCJ
20215 # Is the compiler the GNU C compiler?
20221 # The linker used to build libraries.
20224 # Whether we need hard or soft links.
20227 # A BSD-compatible nm program.
20230 # A symbol stripping program
20233 # Used to examine libraries when file_magic_cmd begins "file"
20234 MAGIC_CMD=$MAGIC_CMD
20236 # Used on cygwin: DLL creation program.
20239 # Used on cygwin: object dumper.
20242 # Used on cygwin: assembler.
20245 # The name of the directory that contains temporary libtool files.
20248 # How to create reloadable object files.
20249 reload_flag=$lt_reload_flag
20250 reload_cmds=$lt_reload_cmds
20252 # How to pass a linker flag through the compiler.
20253 wl=$lt_lt_prog_compiler_wl_GCJ
20255 # Object file suffix (normally "o").
20256 objext="$ac_objext"
20258 # Old archive suffix (normally "a").
20261 # Shared library suffix (normally ".so").
20262 shrext_cmds='$shrext_cmds'
20264 # Executable file suffix (normally "").
20267 # Additional compiler flags for building library objects.
20268 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20271 # What is the maximum length of a command?
20272 max_cmd_len=$lt_cv_sys_max_cmd_len
20274 # Does compiler simultaneously support -c and -o options?
20275 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20277 # Must we lock files when doing compilation?
20278 need_locks=$lt_need_locks
20280 # Do we need the lib prefix for modules?
20281 need_lib_prefix=$need_lib_prefix
20283 # Do we need a version for libraries?
20284 need_version=$need_version
20286 # Whether dlopen is supported.
20287 dlopen_support=$enable_dlopen
20289 # Whether dlopen of programs is supported.
20290 dlopen_self=$enable_dlopen_self
20292 # Whether dlopen of statically linked programs is supported.
20293 dlopen_self_static=$enable_dlopen_self_static
20295 # Compiler flag to prevent dynamic linking.
20296 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20298 # Compiler flag to turn off builtin functions.
20299 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20301 # Compiler flag to allow reflexive dlopens.
20302 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20304 # Compiler flag to generate shared objects directly from archives.
20305 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20307 # Compiler flag to generate thread-safe objects.
20308 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20310 # Library versioning type.
20311 version_type=$version_type
20313 # Format of library name prefix.
20314 libname_spec=$lt_libname_spec
20316 # List of archive names. First name is the real one, the rest are links.
20317 # The last name is the one that the linker finds with -lNAME.
20318 library_names_spec=$lt_library_names_spec
20320 # The coded name of the library, if different from the real name.
20321 soname_spec=$lt_soname_spec
20323 # Commands used to build and install an old-style archive.
20325 old_archive_cmds=$lt_old_archive_cmds_GCJ
20326 old_postinstall_cmds=$lt_old_postinstall_cmds
20327 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20329 # Create an old-style archive from a shared archive.
20330 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20332 # Create a temporary old-style archive to link instead of a shared archive.
20333 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20335 # Commands used to build and install a shared archive.
20336 archive_cmds=$lt_archive_cmds_GCJ
20337 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20338 postinstall_cmds=$lt_postinstall_cmds
20339 postuninstall_cmds=$lt_postuninstall_cmds
20341 # Commands used to build a loadable module (assumed same as above if empty)
20342 module_cmds=$lt_module_cmds_GCJ
20343 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20345 # Commands to strip libraries.
20346 old_striplib=$lt_old_striplib
20347 striplib=$lt_striplib
20349 # Dependencies to place before the objects being linked to create a
20351 predep_objects=$lt_predep_objects_GCJ
20353 # Dependencies to place after the objects being linked to create a
20355 postdep_objects=$lt_postdep_objects_GCJ
20357 # Dependencies to place before the objects being linked to create a
20359 predeps=$lt_predeps_GCJ
20361 # Dependencies to place after the objects being linked to create a
20363 postdeps=$lt_postdeps_GCJ
20365 # The directories searched by this compiler when creating a shared
20367 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20369 # The library search path used internally by the compiler when linking
20370 # a shared library.
20371 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20373 # Method to check whether dependent libraries are shared objects.
20374 deplibs_check_method=$lt_deplibs_check_method
20376 # Command to use when deplibs_check_method == file_magic.
20377 file_magic_cmd=$lt_file_magic_cmd
20379 # Flag that allows shared libraries with undefined symbols to be built.
20380 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20382 # Flag that forces no undefined symbols.
20383 no_undefined_flag=$lt_no_undefined_flag_GCJ
20385 # Commands used to finish a libtool library installation in a directory.
20386 finish_cmds=$lt_finish_cmds
20388 # Same as above, but a single script fragment to be evaled but not shown.
20389 finish_eval=$lt_finish_eval
20391 # Take the output of nm and produce a listing of raw symbols and C names.
20392 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20394 # Transform the output of nm in a proper C declaration
20395 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20397 # Transform the output of nm in a C name address pair
20398 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20400 # This is the shared library runtime path variable.
20401 runpath_var=$runpath_var
20403 # This is the shared library path variable.
20404 shlibpath_var=$shlibpath_var
20406 # Is shlibpath searched before the hard-coded library search path?
20407 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20409 # How to hardcode a shared library path into an executable.
20410 hardcode_action=$hardcode_action_GCJ
20412 # Whether we should hardcode library paths into libraries.
20413 hardcode_into_libs=$hardcode_into_libs
20415 # Flag to hardcode \$libdir into a binary during linking.
20416 # This must work even if \$libdir does not exist.
20417 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20419 # If ld is used when linking, flag to hardcode \$libdir into
20420 # a binary during linking. This must work even if \$libdir does
20422 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20424 # Whether we need a single -rpath flag with a separated argument.
20425 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20427 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20428 # resulting binary.
20429 hardcode_direct=$hardcode_direct_GCJ
20431 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20432 # resulting binary.
20433 hardcode_minus_L=$hardcode_minus_L_GCJ
20435 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20436 # the resulting binary.
20437 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20439 # Set to yes if building a shared library automatically hardcodes DIR into the library
20440 # and all subsequent libraries and executables linked against it.
20441 hardcode_automatic=$hardcode_automatic_GCJ
20443 # Variables whose values should be saved in libtool wrapper scripts and
20444 # restored at relink time.
20445 variables_saved_for_relink="$variables_saved_for_relink"
20447 # Whether libtool must link a program against all its dependency libraries.
20448 link_all_deplibs=$link_all_deplibs_GCJ
20450 # Compile-time system search path for libraries
20451 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20453 # Run-time system search path for libraries
20454 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20456 # Fix the shell variable \$srcfile for the compiler.
20457 fix_srcfile_path=$lt_fix_srcfile_path
20459 # Set to yes if exported symbols are required.
20460 always_export_symbols=$always_export_symbols_GCJ
20462 # The commands to list exported symbols.
20463 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20465 # The commands to extract the exported symbol list from a shared archive.
20466 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20468 # Symbols that should not be listed in the preloaded symbols.
20469 exclude_expsyms=$lt_exclude_expsyms_GCJ
20471 # Symbols that must always be exported.
20472 include_expsyms=$lt_include_expsyms_GCJ
20474 # ### END LIBTOOL TAG CONFIG: $tagname
20480 # If there is no Makefile yet, we rely on a make rule to execute
20481 # `config.status --recheck' to rerun these tests and create the
20482 # libtool script then.
20483 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20484 if test -f "$ltmain_in"; then
20485 test -f Makefile
&& make "$ltmain"
20491 ac_cpp
='$CPP $CPPFLAGS'
20492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20506 # Source file extension for RC test sources.
20509 # Object file extension for compiled RC test sources.
20513 # Code to be used in simple compile tests
20514 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20516 # Code to be used in simple link tests
20517 lt_simple_link_test_code
="$lt_simple_compile_test_code"
20519 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20521 # If no C compiler was specified, use CC.
20524 # If no C compiler flags were specified, use CFLAGS.
20525 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20527 # Allow CC to be a program name with arguments.
20531 # save warnings/boilerplate of simple test code
20532 ac_outfile
=conftest.
$ac_objext
20533 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
20534 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
20535 _lt_compiler_boilerplate
=`cat conftest.err`
20538 ac_outfile
=conftest.
$ac_objext
20539 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
20540 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
20541 _lt_linker_boilerplate
=`cat conftest.err`
20545 # Allow CC to be a program name with arguments.
20550 for cc_temp
in $compiler""; do
20552 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
20553 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
20558 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20560 lt_cv_prog_compiler_c_o_RC
=yes
20562 # The else clause should only fire when bootstrapping the
20563 # libtool distribution, otherwise you forgot to ship ltmain.sh
20564 # with your package, and you will get complaints that there are
20565 # no rules to generate ltmain.sh.
20566 if test -f "$ltmain"; then
20567 # See if we are running on zsh, and set the options which allow our commands through
20568 # without removal of \ escapes.
20569 if test -n "${ZSH_VERSION+set}" ; then
20570 setopt NO_GLOB_SUBST
20572 # Now quote all the things that may contain metacharacters while being
20573 # careful not to overquote the AC_SUBSTed values. We take copies of the
20574 # variables and quote the copies for generation of the libtool script.
20575 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20577 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20578 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20579 deplibs_check_method reload_flag reload_cmds need_locks \
20580 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20581 lt_cv_sys_global_symbol_to_c_name_address \
20582 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20583 old_postinstall_cmds old_postuninstall_cmds \
20587 lt_prog_compiler_wl_RC \
20588 lt_prog_compiler_pic_RC \
20589 lt_prog_compiler_static_RC \
20590 lt_prog_compiler_no_builtin_flag_RC \
20591 export_dynamic_flag_spec_RC \
20592 thread_safe_flag_spec_RC \
20593 whole_archive_flag_spec_RC \
20594 enable_shared_with_static_runtimes_RC \
20595 old_archive_cmds_RC \
20596 old_archive_from_new_cmds_RC \
20597 predep_objects_RC \
20598 postdep_objects_RC \
20601 compiler_lib_search_path_RC \
20602 compiler_lib_search_dirs_RC \
20604 archive_expsym_cmds_RC \
20605 postinstall_cmds_RC \
20606 postuninstall_cmds_RC \
20607 old_archive_from_expsyms_cmds_RC \
20608 allow_undefined_flag_RC \
20609 no_undefined_flag_RC \
20610 export_symbols_cmds_RC \
20611 hardcode_libdir_flag_spec_RC \
20612 hardcode_libdir_flag_spec_ld_RC \
20613 hardcode_libdir_separator_RC \
20614 hardcode_automatic_RC \
20616 module_expsym_cmds_RC \
20617 lt_cv_prog_compiler_c_o_RC \
20618 fix_srcfile_path_RC \
20619 exclude_expsyms_RC \
20620 include_expsyms_RC
; do
20623 old_archive_cmds_RC
| \
20624 old_archive_from_new_cmds_RC
| \
20625 archive_cmds_RC
| \
20626 archive_expsym_cmds_RC
| \
20628 module_expsym_cmds_RC
| \
20629 old_archive_from_expsyms_cmds_RC
| \
20630 export_symbols_cmds_RC
| \
20631 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
20632 postinstall_cmds
| postuninstall_cmds
| \
20633 old_postinstall_cmds
| old_postuninstall_cmds
| \
20634 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
20635 # Double-quote double-evaled strings.
20636 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20639 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20645 *'\$0 --fallback-echo"')
20646 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20652 cat <<__EOF__ >> "$cfgfile"
20653 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20655 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20657 # Shell to use when invoking shell scripts.
20660 # Whether or not to build shared libraries.
20661 build_libtool_libs=$enable_shared
20663 # Whether or not to build static libraries.
20664 build_old_libs=$enable_static
20666 # Whether or not to add -lc for building shared libraries.
20667 build_libtool_need_lc=$archive_cmds_need_lc_RC
20669 # Whether or not to disallow shared libs when runtime libs are static
20670 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20672 # Whether or not to optimize for fast installation.
20673 fast_install=$enable_fast_install
20676 host_alias=$host_alias
20680 # The build system.
20681 build_alias=$build_alias
20685 # An echo program that does not interpret backslashes.
20690 AR_FLAGS=$lt_AR_FLAGS
20695 # LTCC compiler flags.
20696 LTCFLAGS=$lt_LTCFLAGS
20698 # A language-specific compiler.
20701 # Is the compiler the GNU C compiler?
20707 # The linker used to build libraries.
20710 # Whether we need hard or soft links.
20713 # A BSD-compatible nm program.
20716 # A symbol stripping program
20719 # Used to examine libraries when file_magic_cmd begins "file"
20720 MAGIC_CMD=$MAGIC_CMD
20722 # Used on cygwin: DLL creation program.
20725 # Used on cygwin: object dumper.
20728 # Used on cygwin: assembler.
20731 # The name of the directory that contains temporary libtool files.
20734 # How to create reloadable object files.
20735 reload_flag=$lt_reload_flag
20736 reload_cmds=$lt_reload_cmds
20738 # How to pass a linker flag through the compiler.
20739 wl=$lt_lt_prog_compiler_wl_RC
20741 # Object file suffix (normally "o").
20742 objext="$ac_objext"
20744 # Old archive suffix (normally "a").
20747 # Shared library suffix (normally ".so").
20748 shrext_cmds='$shrext_cmds'
20750 # Executable file suffix (normally "").
20753 # Additional compiler flags for building library objects.
20754 pic_flag=$lt_lt_prog_compiler_pic_RC
20757 # What is the maximum length of a command?
20758 max_cmd_len=$lt_cv_sys_max_cmd_len
20760 # Does compiler simultaneously support -c and -o options?
20761 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20763 # Must we lock files when doing compilation?
20764 need_locks=$lt_need_locks
20766 # Do we need the lib prefix for modules?
20767 need_lib_prefix=$need_lib_prefix
20769 # Do we need a version for libraries?
20770 need_version=$need_version
20772 # Whether dlopen is supported.
20773 dlopen_support=$enable_dlopen
20775 # Whether dlopen of programs is supported.
20776 dlopen_self=$enable_dlopen_self
20778 # Whether dlopen of statically linked programs is supported.
20779 dlopen_self_static=$enable_dlopen_self_static
20781 # Compiler flag to prevent dynamic linking.
20782 link_static_flag=$lt_lt_prog_compiler_static_RC
20784 # Compiler flag to turn off builtin functions.
20785 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20787 # Compiler flag to allow reflexive dlopens.
20788 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20790 # Compiler flag to generate shared objects directly from archives.
20791 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20793 # Compiler flag to generate thread-safe objects.
20794 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20796 # Library versioning type.
20797 version_type=$version_type
20799 # Format of library name prefix.
20800 libname_spec=$lt_libname_spec
20802 # List of archive names. First name is the real one, the rest are links.
20803 # The last name is the one that the linker finds with -lNAME.
20804 library_names_spec=$lt_library_names_spec
20806 # The coded name of the library, if different from the real name.
20807 soname_spec=$lt_soname_spec
20809 # Commands used to build and install an old-style archive.
20811 old_archive_cmds=$lt_old_archive_cmds_RC
20812 old_postinstall_cmds=$lt_old_postinstall_cmds
20813 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20815 # Create an old-style archive from a shared archive.
20816 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20818 # Create a temporary old-style archive to link instead of a shared archive.
20819 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20821 # Commands used to build and install a shared archive.
20822 archive_cmds=$lt_archive_cmds_RC
20823 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20824 postinstall_cmds=$lt_postinstall_cmds
20825 postuninstall_cmds=$lt_postuninstall_cmds
20827 # Commands used to build a loadable module (assumed same as above if empty)
20828 module_cmds=$lt_module_cmds_RC
20829 module_expsym_cmds=$lt_module_expsym_cmds_RC
20831 # Commands to strip libraries.
20832 old_striplib=$lt_old_striplib
20833 striplib=$lt_striplib
20835 # Dependencies to place before the objects being linked to create a
20837 predep_objects=$lt_predep_objects_RC
20839 # Dependencies to place after the objects being linked to create a
20841 postdep_objects=$lt_postdep_objects_RC
20843 # Dependencies to place before the objects being linked to create a
20845 predeps=$lt_predeps_RC
20847 # Dependencies to place after the objects being linked to create a
20849 postdeps=$lt_postdeps_RC
20851 # The directories searched by this compiler when creating a shared
20853 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20855 # The library search path used internally by the compiler when linking
20856 # a shared library.
20857 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20859 # Method to check whether dependent libraries are shared objects.
20860 deplibs_check_method=$lt_deplibs_check_method
20862 # Command to use when deplibs_check_method == file_magic.
20863 file_magic_cmd=$lt_file_magic_cmd
20865 # Flag that allows shared libraries with undefined symbols to be built.
20866 allow_undefined_flag=$lt_allow_undefined_flag_RC
20868 # Flag that forces no undefined symbols.
20869 no_undefined_flag=$lt_no_undefined_flag_RC
20871 # Commands used to finish a libtool library installation in a directory.
20872 finish_cmds=$lt_finish_cmds
20874 # Same as above, but a single script fragment to be evaled but not shown.
20875 finish_eval=$lt_finish_eval
20877 # Take the output of nm and produce a listing of raw symbols and C names.
20878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20880 # Transform the output of nm in a proper C declaration
20881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20883 # Transform the output of nm in a C name address pair
20884 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20886 # This is the shared library runtime path variable.
20887 runpath_var=$runpath_var
20889 # This is the shared library path variable.
20890 shlibpath_var=$shlibpath_var
20892 # Is shlibpath searched before the hard-coded library search path?
20893 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20895 # How to hardcode a shared library path into an executable.
20896 hardcode_action=$hardcode_action_RC
20898 # Whether we should hardcode library paths into libraries.
20899 hardcode_into_libs=$hardcode_into_libs
20901 # Flag to hardcode \$libdir into a binary during linking.
20902 # This must work even if \$libdir does not exist.
20903 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20905 # If ld is used when linking, flag to hardcode \$libdir into
20906 # a binary during linking. This must work even if \$libdir does
20908 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20910 # Whether we need a single -rpath flag with a separated argument.
20911 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20913 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20914 # resulting binary.
20915 hardcode_direct=$hardcode_direct_RC
20917 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20918 # resulting binary.
20919 hardcode_minus_L=$hardcode_minus_L_RC
20921 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20922 # the resulting binary.
20923 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20925 # Set to yes if building a shared library automatically hardcodes DIR into the library
20926 # and all subsequent libraries and executables linked against it.
20927 hardcode_automatic=$hardcode_automatic_RC
20929 # Variables whose values should be saved in libtool wrapper scripts and
20930 # restored at relink time.
20931 variables_saved_for_relink="$variables_saved_for_relink"
20933 # Whether libtool must link a program against all its dependency libraries.
20934 link_all_deplibs=$link_all_deplibs_RC
20936 # Compile-time system search path for libraries
20937 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20939 # Run-time system search path for libraries
20940 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20942 # Fix the shell variable \$srcfile for the compiler.
20943 fix_srcfile_path=$lt_fix_srcfile_path
20945 # Set to yes if exported symbols are required.
20946 always_export_symbols=$always_export_symbols_RC
20948 # The commands to list exported symbols.
20949 export_symbols_cmds=$lt_export_symbols_cmds_RC
20951 # The commands to extract the exported symbol list from a shared archive.
20952 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20954 # Symbols that should not be listed in the preloaded symbols.
20955 exclude_expsyms=$lt_exclude_expsyms_RC
20957 # Symbols that must always be exported.
20958 include_expsyms=$lt_include_expsyms_RC
20960 # ### END LIBTOOL TAG CONFIG: $tagname
20966 # If there is no Makefile yet, we rely on a make rule to execute
20967 # `config.status --recheck' to rerun these tests and create the
20968 # libtool script then.
20969 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20970 if test -f "$ltmain_in"; then
20971 test -f Makefile
&& make "$ltmain"
20977 ac_cpp
='$CPP $CPPFLAGS'
20978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20987 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20988 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20989 { (exit 1); exit 1; }; }
20993 # Append the new tag name to the list of available tags.
20994 if test -n "$tagname" ; then
20995 available_tags
="$available_tags $tagname"
21001 # Now substitute the updated list of available tags.
21002 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21003 mv "${ofile}T" "$ofile"
21007 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21008 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21009 { (exit 1); exit 1; }; }
21015 # This can be used to rebuild libtool when needed
21016 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
21018 # Always use our own libtool.
21019 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
21021 # Prevent multiple expansion
21043 LIBTOOL
="$LIBTOOL --silent"
21045 subdirs
="$subdirs libltdl"
21052 cat >>confdefs.h
<<_ACEOF
21057 cat >>confdefs.h
<<_ACEOF
21064 cat >>confdefs.h
<<_ACEOF
21069 cat >>confdefs.h
<<_ACEOF
21073 if test "${ac_cv_header_windows_h+set}" = set; then
21074 { echo "$as_me:$LINENO: checking for windows.h" >&5
21075 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
21076 if test "${ac_cv_header_windows_h+set}" = set; then
21077 echo $ECHO_N "(cached) $ECHO_C" >&6
21079 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21080 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
21082 # Is the header compilable?
21083 { echo "$as_me:$LINENO: checking windows.h usability" >&5
21084 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
21085 cat >conftest.
$ac_ext <<_ACEOF
21088 cat confdefs.h
>>conftest.
$ac_ext
21089 cat >>conftest.
$ac_ext <<_ACEOF
21090 /* end confdefs.h. */
21091 $ac_includes_default
21092 #include <windows.h>
21094 rm -f conftest.
$ac_objext
21095 if { (ac_try
="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21103 grep -v '^ *+' conftest.er1 >conftest.err
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && {
21108 test -z "$ac_c_werror_flag" ||
21109 test ! -s conftest.err
21110 } && test -s conftest.$ac_objext; then
21111 ac_header_compiler=yes
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21116 ac_header_compiler=no
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21121 echo "${ECHO_T}$ac_header_compiler" >&6; }
21123 # Is the header present?
21124 { echo "$as_me:$LINENO: checking windows.h presence" >&5
21125 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
21126 cat >conftest.$ac_ext <<_ACEOF
21129 cat confdefs.h >>conftest.$ac_ext
21130 cat >>conftest.$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21132 #include <windows.h>
21134 if { (ac_try="$ac_cpp conftest.$ac_ext"
21135 case "(($ac_try" in
21136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21137 *) ac_try_echo
=$ac_try;;
21139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21142 grep -v '^ *+' conftest.er1
>conftest.err
21144 cat conftest.err
>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); } >/dev
/null
&& {
21147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21148 test ! -s conftest.err
21150 ac_header_preproc
=yes
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.
$ac_ext >&5
21155 ac_header_preproc
=no
21158 rm -f conftest.err conftest.
$ac_ext
21159 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21160 echo "${ECHO_T}$ac_header_preproc" >&6; }
21162 # So? What about this header?
21163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21165 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21166 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21167 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21168 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21169 ac_header_preproc
=yes
21172 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21173 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21174 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21175 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21176 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21177 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21178 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21179 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21180 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21181 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21182 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21183 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21187 { echo "$as_me:$LINENO: checking for windows.h" >&5
21188 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
21189 if test "${ac_cv_header_windows_h+set}" = set; then
21190 echo $ECHO_N "(cached) $ECHO_C" >&6
21192 ac_cv_header_windows_h
=$ac_header_preproc
21194 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21195 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
21198 if test $ac_cv_header_windows_h = yes; then
21201 { { echo "$as_me:$LINENO: error: ** MinGW and no windows.h. I give up." >&5
21202 echo "$as_me: error: ** MinGW and no windows.h. I give up." >&2;}
21203 { (exit 1); exit 1; }; }
21207 if test "${ac_cv_header_winsock2_h+set}" = set; then
21208 { echo "$as_me:$LINENO: checking for winsock2.h" >&5
21209 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; }
21210 if test "${ac_cv_header_winsock2_h+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5
21214 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; }
21216 # Is the header compilable?
21217 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5
21218 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; }
21219 cat >conftest.
$ac_ext <<_ACEOF
21222 cat confdefs.h
>>conftest.
$ac_ext
21223 cat >>conftest.
$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 $ac_includes_default
21226 #include <winsock2.h>
21228 rm -f conftest.
$ac_objext
21229 if { (ac_try
="$ac_compile"
21230 case "(($ac_try" in
21231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21232 *) ac_try_echo=$ac_try;;
21234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235 (eval "$ac_compile") 2>conftest.er1
21237 grep -v '^ *+' conftest.er1 >conftest.err
21239 cat conftest.err >&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } && {
21242 test -z "$ac_c_werror_flag" ||
21243 test ! -s conftest.err
21244 } && test -s conftest.$ac_objext; then
21245 ac_header_compiler=yes
21247 echo "$as_me: failed program was:" >&5
21248 sed 's/^/| /' conftest.$ac_ext >&5
21250 ac_header_compiler=no
21253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21254 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21255 echo "${ECHO_T}$ac_header_compiler" >&6; }
21257 # Is the header present?
21258 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5
21259 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; }
21260 cat >conftest.$ac_ext <<_ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21266 #include <winsock2.h>
21268 if { (ac_try="$ac_cpp conftest.$ac_ext"
21269 case "(($ac_try" in
21270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21271 *) ac_try_echo
=$ac_try;;
21273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21276 grep -v '^ *+' conftest.er1
>conftest.err
21278 cat conftest.err
>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } >/dev
/null
&& {
21281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21282 test ! -s conftest.err
21284 ac_header_preproc
=yes
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.
$ac_ext >&5
21289 ac_header_preproc
=no
21292 rm -f conftest.err conftest.
$ac_ext
21293 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21294 echo "${ECHO_T}$ac_header_preproc" >&6; }
21296 # So? What about this header?
21297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21299 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5
21300 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21301 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5
21302 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;}
21303 ac_header_preproc
=yes
21306 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5
21307 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;}
21308 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5
21309 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;}
21310 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5
21311 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;}
21312 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5
21313 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;}
21314 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5
21315 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;}
21316 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5
21317 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;}
21321 { echo "$as_me:$LINENO: checking for winsock2.h" >&5
21322 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; }
21323 if test "${ac_cv_header_winsock2_h+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 ac_cv_header_winsock2_h
=$ac_header_preproc
21328 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5
21329 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; }
21332 if test $ac_cv_header_winsock2_h = yes; then
21335 { { echo "$as_me:$LINENO: error: ** MinGW and no winsock2.h. I give up." >&5
21336 echo "$as_me: error: ** MinGW and no winsock2.h. I give up." >&2;}
21337 { (exit 1); exit 1; }; }
21341 LIBS
="$LIBS -lws2_32 -liphlpapi"
21345 CPPFLAGS
="$CFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=500"
21348 CPPFLAGS
="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
21354 if test "$is_mingw" = "yes"; then
21364 # backwards support for IRC_CFLAGS
21365 CFLAGS
="$IRC_CFLAGS $CFLAGS -O0 -Wall"
21367 if test "$libexecdir" = '${exec_prefix}/libexec' &&
21368 test "$localstatedir" = '${prefix}/var'; then
21369 libexecdir
='${bindir}'
21370 localstatedir
='${prefix}'
21374 { echo "$as_me:$LINENO: checking for int8_t" >&5
21375 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6; }
21376 if test "${ac_cv_c_int8_t+set}" = set; then
21377 echo $ECHO_N "(cached) $ECHO_C" >&6
21380 for ac_type
in 'int8_t' 'int' 'long int' \
21381 'long long int' 'short int' 'signed char'; do
21382 cat >conftest.
$ac_ext <<_ACEOF
21385 cat confdefs.h
>>conftest.
$ac_ext
21386 cat >>conftest.
$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 $ac_includes_default
21392 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];
21399 rm -f conftest.
$ac_objext
21400 if { (ac_try
="$ac_compile"
21401 case "(($ac_try" in
21402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21403 *) ac_try_echo=$ac_try;;
21405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21406 (eval "$ac_compile") 2>conftest.er1
21408 grep -v '^ *+' conftest.er1 >conftest.err
21410 cat conftest.err >&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); } && {
21413 test -z "$ac_c_werror_flag" ||
21414 test ! -s conftest.err
21415 } && test -s conftest.$ac_objext; then
21416 cat >conftest.$ac_ext <<_ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 $ac_includes_default
21426 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)
21427 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];
21434 rm -f conftest.$ac_objext
21435 if { (ac_try="$ac_compile"
21436 case "(($ac_try" in
21437 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21438 *) ac_try_echo
=$ac_try;;
21440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21441 (eval "$ac_compile") 2>conftest.er1
21443 grep -v '^ *+' conftest.er1
>conftest.err
21445 cat conftest.err
>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } && {
21448 test -z "$ac_c_werror_flag" ||
21449 test ! -s conftest.err
21450 } && test -s conftest.
$ac_objext; then
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.
$ac_ext >&5
21457 int8_t
) ac_cv_c_int8_t
=yes ;;
21458 *) ac_cv_c_int8_t
=$ac_type ;;
21463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21465 echo "$as_me: failed program was:" >&5
21466 sed 's/^/| /' conftest.
$ac_ext >&5
21471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21472 test "$ac_cv_c_int8_t" != no
&& break
21475 { echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5
21476 echo "${ECHO_T}$ac_cv_c_int8_t" >&6; }
21477 case $ac_cv_c_int8_t in #(
21481 cat >>confdefs.h
<<_ACEOF
21482 #define int8_t $ac_cv_c_int8_t
21488 { echo "$as_me:$LINENO: checking for int16_t" >&5
21489 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
21490 if test "${ac_cv_c_int16_t+set}" = set; then
21491 echo $ECHO_N "(cached) $ECHO_C" >&6
21494 for ac_type
in 'int16_t' 'int' 'long int' \
21495 'long long int' 'short int' 'signed char'; do
21496 cat >conftest.
$ac_ext <<_ACEOF
21499 cat confdefs.h
>>conftest.
$ac_ext
21500 cat >>conftest.
$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21502 $ac_includes_default
21506 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
21513 rm -f conftest.
$ac_objext
21514 if { (ac_try
="$ac_compile"
21515 case "(($ac_try" in
21516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21517 *) ac_try_echo=$ac_try;;
21519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21520 (eval "$ac_compile") 2>conftest.er1
21522 grep -v '^ *+' conftest.er1 >conftest.err
21524 cat conftest.err >&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } && {
21527 test -z "$ac_c_werror_flag" ||
21528 test ! -s conftest.err
21529 } && test -s conftest.$ac_objext; then
21530 cat >conftest.$ac_ext <<_ACEOF
21533 cat confdefs.h >>conftest.$ac_ext
21534 cat >>conftest.$ac_ext <<_ACEOF
21535 /* end confdefs.h. */
21536 $ac_includes_default
21540 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
21541 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
21548 rm -f conftest.$ac_objext
21549 if { (ac_try="$ac_compile"
21550 case "(($ac_try" in
21551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21552 *) ac_try_echo
=$ac_try;;
21554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21555 (eval "$ac_compile") 2>conftest.er1
21557 grep -v '^ *+' conftest.er1
>conftest.err
21559 cat conftest.err
>&5
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); } && {
21562 test -z "$ac_c_werror_flag" ||
21563 test ! -s conftest.err
21564 } && test -s conftest.
$ac_objext; then
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.
$ac_ext >&5
21571 int16_t
) ac_cv_c_int16_t
=yes ;;
21572 *) ac_cv_c_int16_t
=$ac_type ;;
21577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21579 echo "$as_me: failed program was:" >&5
21580 sed 's/^/| /' conftest.
$ac_ext >&5
21585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21586 test "$ac_cv_c_int16_t" != no
&& break
21589 { echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
21590 echo "${ECHO_T}$ac_cv_c_int16_t" >&6; }
21591 case $ac_cv_c_int16_t in #(
21595 cat >>confdefs.h
<<_ACEOF
21596 #define int16_t $ac_cv_c_int16_t
21602 { echo "$as_me:$LINENO: checking for int32_t" >&5
21603 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
21604 if test "${ac_cv_c_int32_t+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21608 for ac_type
in 'int32_t' 'int' 'long int' \
21609 'long long int' 'short int' 'signed char'; do
21610 cat >conftest.
$ac_ext <<_ACEOF
21613 cat confdefs.h
>>conftest.
$ac_ext
21614 cat >>conftest.
$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21616 $ac_includes_default
21620 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
21627 rm -f conftest.
$ac_objext
21628 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
21636 grep -v '^ *+' conftest.er1 >conftest.err
21638 cat conftest.err >&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } && {
21641 test -z "$ac_c_werror_flag" ||
21642 test ! -s conftest.err
21643 } && test -s conftest.$ac_objext; then
21644 cat >conftest.$ac_ext <<_ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 $ac_includes_default
21654 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
21655 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
21662 rm -f conftest.$ac_objext
21663 if { (ac_try="$ac_compile"
21664 case "(($ac_try" in
21665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21666 *) ac_try_echo
=$ac_try;;
21668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21669 (eval "$ac_compile") 2>conftest.er1
21671 grep -v '^ *+' conftest.er1
>conftest.err
21673 cat conftest.err
>&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); } && {
21676 test -z "$ac_c_werror_flag" ||
21677 test ! -s conftest.err
21678 } && test -s conftest.
$ac_objext; then
21681 echo "$as_me: failed program was:" >&5
21682 sed 's/^/| /' conftest.
$ac_ext >&5
21685 int32_t
) ac_cv_c_int32_t
=yes ;;
21686 *) ac_cv_c_int32_t
=$ac_type ;;
21691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.
$ac_ext >&5
21699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21700 test "$ac_cv_c_int32_t" != no
&& break
21703 { echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
21704 echo "${ECHO_T}$ac_cv_c_int32_t" >&6; }
21705 case $ac_cv_c_int32_t in #(
21709 cat >>confdefs.h
<<_ACEOF
21710 #define int32_t $ac_cv_c_int32_t
21716 { echo "$as_me:$LINENO: checking for int64_t" >&5
21717 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
21718 if test "${ac_cv_c_int64_t+set}" = set; then
21719 echo $ECHO_N "(cached) $ECHO_C" >&6
21722 for ac_type
in 'int64_t' 'int' 'long int' \
21723 'long long int' 'short int' 'signed char'; do
21724 cat >conftest.
$ac_ext <<_ACEOF
21727 cat confdefs.h
>>conftest.
$ac_ext
21728 cat >>conftest.
$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21730 $ac_includes_default
21734 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
21741 rm -f conftest.
$ac_objext
21742 if { (ac_try
="$ac_compile"
21743 case "(($ac_try" in
21744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21745 *) ac_try_echo=$ac_try;;
21747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21748 (eval "$ac_compile") 2>conftest.er1
21750 grep -v '^ *+' conftest.er1 >conftest.err
21752 cat conftest.err >&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); } && {
21755 test -z "$ac_c_werror_flag" ||
21756 test ! -s conftest.err
21757 } && test -s conftest.$ac_objext; then
21758 cat >conftest.$ac_ext <<_ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 $ac_includes_default
21768 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
21769 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
21776 rm -f conftest.$ac_objext
21777 if { (ac_try="$ac_compile"
21778 case "(($ac_try" in
21779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21780 *) ac_try_echo
=$ac_try;;
21782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21783 (eval "$ac_compile") 2>conftest.er1
21785 grep -v '^ *+' conftest.er1
>conftest.err
21787 cat conftest.err
>&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); } && {
21790 test -z "$ac_c_werror_flag" ||
21791 test ! -s conftest.err
21792 } && test -s conftest.
$ac_objext; then
21795 echo "$as_me: failed program was:" >&5
21796 sed 's/^/| /' conftest.
$ac_ext >&5
21799 int64_t
) ac_cv_c_int64_t
=yes ;;
21800 *) ac_cv_c_int64_t
=$ac_type ;;
21805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.
$ac_ext >&5
21813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21814 test "$ac_cv_c_int64_t" != no
&& break
21817 { echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
21818 echo "${ECHO_T}$ac_cv_c_int64_t" >&6; }
21819 case $ac_cv_c_int64_t in #(
21823 cat >>confdefs.h
<<_ACEOF
21824 #define int64_t $ac_cv_c_int64_t
21830 { echo "$as_me:$LINENO: checking for uint8_t" >&5
21831 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
21832 if test "${ac_cv_c_uint8_t+set}" = set; then
21833 echo $ECHO_N "(cached) $ECHO_C" >&6
21836 for ac_type
in 'uint8_t' 'unsigned int' 'unsigned long int' \
21837 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
21838 cat >conftest.
$ac_ext <<_ACEOF
21841 cat confdefs.h
>>conftest.
$ac_ext
21842 cat >>conftest.
$ac_ext <<_ACEOF
21843 /* end confdefs.h. */
21844 $ac_includes_default
21848 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
21855 rm -f conftest.
$ac_objext
21856 if { (ac_try
="$ac_compile"
21857 case "(($ac_try" in
21858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21859 *) ac_try_echo=$ac_try;;
21861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862 (eval "$ac_compile") 2>conftest.er1
21864 grep -v '^ *+' conftest.er1 >conftest.err
21866 cat conftest.err >&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } && {
21869 test -z "$ac_c_werror_flag" ||
21870 test ! -s conftest.err
21871 } && test -s conftest.$ac_objext; then
21873 uint8_t) ac_cv_c_uint8_t=yes ;;
21874 *) ac_cv_c_uint8_t=$ac_type ;;
21878 echo "$as_me: failed program was:" >&5
21879 sed 's/^/| /' conftest.$ac_ext >&5
21884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21885 test "$ac_cv_c_uint8_t" != no && break
21888 { echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
21889 echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; }
21890 case $ac_cv_c_uint8_t in #(
21894 cat >>confdefs.h <<\_ACEOF
21899 cat >>confdefs.h <<_ACEOF
21900 #define uint8_t $ac_cv_c_uint8_t
21906 { echo "$as_me:$LINENO: checking for uint16_t" >&5
21907 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
21908 if test "${ac_cv_c_uint16_t+set}" = set; then
21909 echo $ECHO_N "(cached) $ECHO_C" >&6
21911 ac_cv_c_uint16_t=no
21912 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
21913 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
21914 cat >conftest.$ac_ext <<_ACEOF
21917 cat confdefs.h >>conftest.$ac_ext
21918 cat >>conftest.$ac_ext <<_ACEOF
21919 /* end confdefs.h. */
21920 $ac_includes_default
21924 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
21931 rm -f conftest.$ac_objext
21932 if { (ac_try="$ac_compile"
21933 case "(($ac_try" in
21934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21935 *) ac_try_echo
=$ac_try;;
21937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21938 (eval "$ac_compile") 2>conftest.er1
21940 grep -v '^ *+' conftest.er1
>conftest.err
21942 cat conftest.err
>&5
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); } && {
21945 test -z "$ac_c_werror_flag" ||
21946 test ! -s conftest.err
21947 } && test -s conftest.
$ac_objext; then
21949 uint16_t
) ac_cv_c_uint16_t
=yes ;;
21950 *) ac_cv_c_uint16_t
=$ac_type ;;
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.
$ac_ext >&5
21960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21961 test "$ac_cv_c_uint16_t" != no
&& break
21964 { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
21965 echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
21966 case $ac_cv_c_uint16_t in #(
21971 cat >>confdefs.h
<<_ACEOF
21972 #define uint16_t $ac_cv_c_uint16_t
21978 { echo "$as_me:$LINENO: checking for uint32_t" >&5
21979 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
21980 if test "${ac_cv_c_uint32_t+set}" = set; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21983 ac_cv_c_uint32_t
=no
21984 for ac_type
in 'uint32_t' 'unsigned int' 'unsigned long int' \
21985 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
21986 cat >conftest.
$ac_ext <<_ACEOF
21989 cat confdefs.h
>>conftest.
$ac_ext
21990 cat >>conftest.
$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 $ac_includes_default
21996 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
22003 rm -f conftest.
$ac_objext
22004 if { (ac_try
="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22012 grep -v '^ *+' conftest.er1 >conftest.err
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22021 uint32_t) ac_cv_c_uint32_t=yes ;;
22022 *) ac_cv_c_uint32_t=$ac_type ;;
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22033 test "$ac_cv_c_uint32_t" != no && break
22036 { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
22037 echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
22038 case $ac_cv_c_uint32_t in #(
22042 cat >>confdefs.h <<\_ACEOF
22043 #define _UINT32_T 1
22047 cat >>confdefs.h <<_ACEOF
22048 #define uint32_t $ac_cv_c_uint32_t
22054 { echo "$as_me:$LINENO: checking for uint64_t" >&5
22055 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
22056 if test "${ac_cv_c_uint64_t+set}" = set; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22059 ac_cv_c_uint64_t=no
22060 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
22061 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
22062 cat >conftest.$ac_ext <<_ACEOF
22065 cat confdefs.h >>conftest.$ac_ext
22066 cat >>conftest.$ac_ext <<_ACEOF
22067 /* end confdefs.h. */
22068 $ac_includes_default
22072 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
22079 rm -f conftest.$ac_objext
22080 if { (ac_try="$ac_compile"
22081 case "(($ac_try" in
22082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22083 *) ac_try_echo
=$ac_try;;
22085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22086 (eval "$ac_compile") 2>conftest.er1
22088 grep -v '^ *+' conftest.er1
>conftest.err
22090 cat conftest.err
>&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && {
22093 test -z "$ac_c_werror_flag" ||
22094 test ! -s conftest.err
22095 } && test -s conftest.
$ac_objext; then
22097 uint64_t
) ac_cv_c_uint64_t
=yes ;;
22098 *) ac_cv_c_uint64_t
=$ac_type ;;
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.
$ac_ext >&5
22108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22109 test "$ac_cv_c_uint64_t" != no
&& break
22112 { echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
22113 echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; }
22114 case $ac_cv_c_uint64_t in #(
22118 cat >>confdefs.h
<<\_ACEOF
22119 #define _UINT64_T 1
22123 cat >>confdefs.h
<<_ACEOF
22124 #define uint64_t $ac_cv_c_uint64_t
22131 { echo "$as_me:$LINENO: checking for intptr_t" >&5
22132 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
22133 if test "${ac_cv_type_intptr_t+set}" = set; then
22134 echo $ECHO_N "(cached) $ECHO_C" >&6
22136 cat >conftest.
$ac_ext <<_ACEOF
22139 cat confdefs.h
>>conftest.
$ac_ext
22140 cat >>conftest.
$ac_ext <<_ACEOF
22141 /* end confdefs.h. */
22142 $ac_includes_default
22143 typedef intptr_t ac__type_new_;
22147 if ((ac__type_new_ *) 0)
22149 if (sizeof (ac__type_new_))
22155 rm -f conftest.
$ac_objext
22156 if { (ac_try
="$ac_compile"
22157 case "(($ac_try" in
22158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22159 *) ac_try_echo=$ac_try;;
22161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22162 (eval "$ac_compile") 2>conftest.er1
22164 grep -v '^ *+' conftest.er1 >conftest.err
22166 cat conftest.err >&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } && {
22169 test -z "$ac_c_werror_flag" ||
22170 test ! -s conftest.err
22171 } && test -s conftest.$ac_objext; then
22172 ac_cv_type_intptr_t=yes
22174 echo "$as_me: failed program was:" >&5
22175 sed 's/^/| /' conftest.$ac_ext >&5
22177 ac_cv_type_intptr_t=no
22180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22182 { echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
22183 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
22184 if test $ac_cv_type_intptr_t = yes; then
22186 cat >>confdefs.h <<\_ACEOF
22187 #define HAVE_INTPTR_T 1
22189 ac_cv_c_intptr_t=yes
22191 for ac_type in 'int' 'long int' 'long long int'; do
22192 cat >conftest.$ac_ext <<_ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 $ac_includes_default
22202 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
22209 rm -f conftest.$ac_objext
22210 if { (ac_try="$ac_compile"
22211 case "(($ac_try" in
22212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22213 *) ac_try_echo
=$ac_try;;
22215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22216 (eval "$ac_compile") 2>conftest.er1
22218 grep -v '^ *+' conftest.er1
>conftest.err
22220 cat conftest.err
>&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); } && {
22223 test -z "$ac_c_werror_flag" ||
22224 test ! -s conftest.err
22225 } && test -s conftest.
$ac_objext; then
22227 cat >>confdefs.h
<<_ACEOF
22228 #define intptr_t $ac_type
22230 ac_cv_c_intptr_t
="$ac_type"
22233 echo "$as_me: failed program was:" >&5
22234 sed 's/^/| /' conftest.
$ac_ext >&5
22239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22240 test -z "$ac_type" && break
22246 { echo "$as_me:$LINENO: checking for long long int" >&5
22247 echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
22248 if test "${ac_cv_type_long_long_int+set}" = set; then
22249 echo $ECHO_N "(cached) $ECHO_C" >&6
22251 cat >conftest.
$ac_ext <<_ACEOF
22255 cat confdefs.h
>>conftest.
$ac_ext
22256 cat >>conftest.
$ac_ext <<_ACEOF
22257 /* end confdefs.h. */
22258 /* Test preprocessor. */
22259 #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
22260 error in preprocessor;
22262 #if ! (18446744073709551615ULL <= -1ull)
22263 error in preprocessor;
22265 /* Test literals. */
22266 long long int ll = 9223372036854775807ll;
22267 long long int nll = -9223372036854775807LL;
22268 unsigned long long int ull = 18446744073709551615ULL;
22269 /* Test constant expressions. */
22270 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
22272 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
22278 /* Test availability of runtime routines for shift and division. */
22279 long long int llmax = 9223372036854775807ll;
22280 unsigned long long int ullmax = 18446744073709551615ull;
22281 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
22282 | (llmax / ll) | (llmax % ll)
22283 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
22284 | (ullmax / ull) | (ullmax % ull));
22290 rm -f conftest.
$ac_objext conftest
$ac_exeext
22291 if { (ac_try
="$ac_link"
22292 case "(($ac_try" in
22293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_link") 2>conftest.er1
22299 grep -v '^ *+' conftest.er1 >conftest.err
22301 cat conftest.err >&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } && {
22304 test -z "$ac_c_werror_flag" ||
22305 test ! -s conftest.err
22306 } && test -s conftest$ac_exeext &&
22307 $as_test_x conftest$ac_exeext; then
22308 if test "$cross_compiling" = yes; then
22309 ac_cv_type_long_long_int=yes
22311 cat >conftest.$ac_ext <<_ACEOF
22314 cat confdefs.h >>conftest.$ac_ext
22315 cat >>conftest.$ac_ext <<_ACEOF
22316 /* end confdefs.h. */
22317 #include <limits.h>
22320 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
22321 # define LLONG_MAX (HALF - 1 + HALF)
22326 long long int n = 1;
22330 long long int m = n << i;
22333 if (LLONG_MAX / 2 < m)
22341 rm -f conftest$ac_exeext
22342 if { (ac_try="$ac_link"
22343 case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22345 *) ac_try_echo
=$ac_try;;
22347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22348 (eval "$ac_link") 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22352 { (case "(($ac_try" in
22353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22354 *) ac_try_echo=$ac_try;;
22356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22357 (eval "$ac_try") 2>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); }; }; then
22361 ac_cv_type_long_long_int=yes
22363 echo "$as_me: program exited with status $ac_status" >&5
22364 echo "$as_me: failed program was:" >&5
22365 sed 's/^/| /' conftest.$ac_ext >&5
22367 ( exit $ac_status )
22368 ac_cv_type_long_long_int=no
22370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.$ac_ext >&5
22378 ac_cv_type_long_long_int=no
22381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22382 conftest$ac_exeext conftest.$ac_ext
22384 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
22385 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
22386 if test $ac_cv_type_long_long_int = yes; then
22388 cat >>confdefs.h <<\_ACEOF
22389 #define HAVE_LONG_LONG_INT 1
22396 { echo "$as_me:$LINENO: checking for intmax_t" >&5
22397 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
22398 if test "${ac_cv_type_intmax_t+set}" = set; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6
22401 cat >conftest.$ac_ext <<_ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 $ac_includes_default
22408 typedef intmax_t ac__type_new_;
22412 if ((ac__type_new_ *) 0)
22414 if (sizeof (ac__type_new_))
22420 rm -f conftest.$ac_objext
22421 if { (ac_try="$ac_compile"
22422 case "(($ac_try" in
22423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22424 *) ac_try_echo
=$ac_try;;
22426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22427 (eval "$ac_compile") 2>conftest.er1
22429 grep -v '^ *+' conftest.er1
>conftest.err
22431 cat conftest.err
>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } && {
22434 test -z "$ac_c_werror_flag" ||
22435 test ! -s conftest.err
22436 } && test -s conftest.
$ac_objext; then
22437 ac_cv_type_intmax_t
=yes
22439 echo "$as_me: failed program was:" >&5
22440 sed 's/^/| /' conftest.
$ac_ext >&5
22442 ac_cv_type_intmax_t
=no
22445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22447 { echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
22448 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6; }
22449 if test $ac_cv_type_intmax_t = yes; then
22451 cat >>confdefs.h
<<\_ACEOF
22452 #define HAVE_INTMAX_T 1
22454 ac_cv_c_intmax_t
=yes
22456 test $ac_cv_type_long_long_int = yes \
22457 && ac_type
='long long int' \
22458 || ac_type
='long int'
22460 cat >>confdefs.h
<<_ACEOF
22461 #define intmax_t $ac_type
22463 ac_cv_c_intmax_t
="$ac_type"
22468 { echo "$as_me:$LINENO: checking for unsigned long long int" >&5
22469 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6; }
22470 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
22471 echo $ECHO_N "(cached) $ECHO_C" >&6
22473 cat >conftest.
$ac_ext <<_ACEOF
22477 cat confdefs.h
>>conftest.
$ac_ext
22478 cat >>conftest.
$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22480 /* Test preprocessor. */
22481 #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
22482 error in preprocessor;
22484 #if ! (18446744073709551615ULL <= -1ull)
22485 error in preprocessor;
22487 /* Test literals. */
22488 long long int ll = 9223372036854775807ll;
22489 long long int nll = -9223372036854775807LL;
22490 unsigned long long int ull = 18446744073709551615ULL;
22491 /* Test constant expressions. */
22492 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
22494 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
22500 /* Test availability of runtime routines for shift and division. */
22501 long long int llmax = 9223372036854775807ll;
22502 unsigned long long int ullmax = 18446744073709551615ull;
22503 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
22504 | (llmax / ll) | (llmax % ll)
22505 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
22506 | (ullmax / ull) | (ullmax % ull));
22512 rm -f conftest.
$ac_objext conftest
$ac_exeext
22513 if { (ac_try
="$ac_link"
22514 case "(($ac_try" in
22515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_link") 2>conftest.er1
22521 grep -v '^ *+' conftest.er1 >conftest.err
22523 cat conftest.err >&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && {
22526 test -z "$ac_c_werror_flag" ||
22527 test ! -s conftest.err
22528 } && test -s conftest$ac_exeext &&
22529 $as_test_x conftest$ac_exeext; then
22530 ac_cv_type_unsigned_long_long_int=yes
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.$ac_ext >&5
22535 ac_cv_type_unsigned_long_long_int=no
22538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22539 conftest$ac_exeext conftest.$ac_ext
22541 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
22542 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6; }
22543 if test $ac_cv_type_unsigned_long_long_int = yes; then
22545 cat >>confdefs.h <<\_ACEOF
22546 #define HAVE_UNSIGNED_LONG_LONG_INT 1
22553 { echo "$as_me:$LINENO: checking for uintmax_t" >&5
22554 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6; }
22555 if test "${ac_cv_type_uintmax_t+set}" = set; then
22556 echo $ECHO_N "(cached) $ECHO_C" >&6
22558 cat >conftest.$ac_ext <<_ACEOF
22561 cat confdefs.h >>conftest.$ac_ext
22562 cat >>conftest.$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22564 $ac_includes_default
22565 typedef uintmax_t ac__type_new_;
22569 if ((ac__type_new_ *) 0)
22571 if (sizeof (ac__type_new_))
22577 rm -f conftest.$ac_objext
22578 if { (ac_try="$ac_compile"
22579 case "(($ac_try" in
22580 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22581 *) ac_try_echo
=$ac_try;;
22583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22584 (eval "$ac_compile") 2>conftest.er1
22586 grep -v '^ *+' conftest.er1
>conftest.err
22588 cat conftest.err
>&5
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } && {
22591 test -z "$ac_c_werror_flag" ||
22592 test ! -s conftest.err
22593 } && test -s conftest.
$ac_objext; then
22594 ac_cv_type_uintmax_t
=yes
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.
$ac_ext >&5
22599 ac_cv_type_uintmax_t
=no
22602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22604 { echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
22605 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6; }
22606 if test $ac_cv_type_uintmax_t = yes; then
22608 cat >>confdefs.h
<<\_ACEOF
22609 #define HAVE_UINTMAX_T 1
22611 ac_cv_c_uintmax_t
=yes
22613 test $ac_cv_type_unsigned_long_long_int = yes \
22614 && ac_type
='unsigned long long int' \
22615 || ac_type
='unsigned long int'
22617 cat >>confdefs.h
<<_ACEOF
22618 #define uintmax_t $ac_type
22620 ac_cv_c_uintmax_t
="$ac_type"
22625 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
22626 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
22627 if test "${ac_cv_type_uintptr_t+set}" = set; then
22628 echo $ECHO_N "(cached) $ECHO_C" >&6
22630 cat >conftest.
$ac_ext <<_ACEOF
22633 cat confdefs.h
>>conftest.
$ac_ext
22634 cat >>conftest.
$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 $ac_includes_default
22637 typedef uintptr_t ac__type_new_;
22641 if ((ac__type_new_ *) 0)
22643 if (sizeof (ac__type_new_))
22649 rm -f conftest.
$ac_objext
22650 if { (ac_try
="$ac_compile"
22651 case "(($ac_try" in
22652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22653 *) ac_try_echo=$ac_try;;
22655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22656 (eval "$ac_compile") 2>conftest.er1
22658 grep -v '^ *+' conftest.er1 >conftest.err
22660 cat conftest.err >&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } && {
22663 test -z "$ac_c_werror_flag" ||
22664 test ! -s conftest.err
22665 } && test -s conftest.$ac_objext; then
22666 ac_cv_type_uintptr_t=yes
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.$ac_ext >&5
22671 ac_cv_type_uintptr_t=no
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
22677 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
22678 if test $ac_cv_type_uintptr_t = yes; then
22680 cat >>confdefs.h <<\_ACEOF
22681 #define HAVE_UINTPTR_T 1
22683 ac_cv_c_uintptr_t=yes
22685 for ac_type in 'unsigned int' 'unsigned long int' \
22686 'unsigned long long int'; do
22687 cat >conftest.$ac_ext <<_ACEOF
22690 cat confdefs.h >>conftest.$ac_ext
22691 cat >>conftest.$ac_ext <<_ACEOF
22692 /* end confdefs.h. */
22693 $ac_includes_default
22697 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
22704 rm -f conftest.$ac_objext
22705 if { (ac_try="$ac_compile"
22706 case "(($ac_try" in
22707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22708 *) ac_try_echo
=$ac_try;;
22710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22711 (eval "$ac_compile") 2>conftest.er1
22713 grep -v '^ *+' conftest.er1
>conftest.err
22715 cat conftest.err
>&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } && {
22718 test -z "$ac_c_werror_flag" ||
22719 test ! -s conftest.err
22720 } && test -s conftest.
$ac_objext; then
22722 cat >>confdefs.h
<<_ACEOF
22723 #define uintptr_t $ac_type
22725 ac_cv_c_uintptr_t
="$ac_type"
22728 echo "$as_me: failed program was:" >&5
22729 sed 's/^/| /' conftest.
$ac_ext >&5
22734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22735 test -z "$ac_type" && break
22741 { echo "$as_me:$LINENO: checking for pid_t" >&5
22742 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
22743 if test "${ac_cv_type_pid_t+set}" = set; then
22744 echo $ECHO_N "(cached) $ECHO_C" >&6
22746 cat >conftest.
$ac_ext <<_ACEOF
22749 cat confdefs.h
>>conftest.
$ac_ext
22750 cat >>conftest.
$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22752 $ac_includes_default
22753 typedef pid_t ac__type_new_;
22757 if ((ac__type_new_ *) 0)
22759 if (sizeof (ac__type_new_))
22765 rm -f conftest.
$ac_objext
22766 if { (ac_try
="$ac_compile"
22767 case "(($ac_try" in
22768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22769 *) ac_try_echo=$ac_try;;
22771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22772 (eval "$ac_compile") 2>conftest.er1
22774 grep -v '^ *+' conftest.er1 >conftest.err
22776 cat conftest.err >&5
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); } && {
22779 test -z "$ac_c_werror_flag" ||
22780 test ! -s conftest.err
22781 } && test -s conftest.$ac_objext; then
22782 ac_cv_type_pid_t=yes
22784 echo "$as_me: failed program was:" >&5
22785 sed 's/^/| /' conftest.$ac_ext >&5
22787 ac_cv_type_pid_t=no
22790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22792 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
22793 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
22794 if test $ac_cv_type_pid_t = yes; then
22798 cat >>confdefs.h <<_ACEOF
22804 { echo "$as_me:$LINENO: checking for size_t" >&5
22805 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22806 if test "${ac_cv_type_size_t+set}" = set; then
22807 echo $ECHO_N "(cached) $ECHO_C" >&6
22809 cat >conftest.$ac_ext <<_ACEOF
22812 cat confdefs.h >>conftest.$ac_ext
22813 cat >>conftest.$ac_ext <<_ACEOF
22814 /* end confdefs.h. */
22815 $ac_includes_default
22816 typedef size_t ac__type_new_;
22820 if ((ac__type_new_ *) 0)
22822 if (sizeof (ac__type_new_))
22828 rm -f conftest.$ac_objext
22829 if { (ac_try="$ac_compile"
22830 case "(($ac_try" in
22831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22832 *) ac_try_echo
=$ac_try;;
22834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22835 (eval "$ac_compile") 2>conftest.er1
22837 grep -v '^ *+' conftest.er1
>conftest.err
22839 cat conftest.err
>&5
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); } && {
22842 test -z "$ac_c_werror_flag" ||
22843 test ! -s conftest.err
22844 } && test -s conftest.
$ac_objext; then
22845 ac_cv_type_size_t
=yes
22847 echo "$as_me: failed program was:" >&5
22848 sed 's/^/| /' conftest.
$ac_ext >&5
22850 ac_cv_type_size_t
=no
22853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22855 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22856 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22857 if test $ac_cv_type_size_t = yes; then
22861 cat >>confdefs.h
<<_ACEOF
22862 #define size_t unsigned int
22867 { echo "$as_me:$LINENO: checking for ssize_t" >&5
22868 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
22869 if test "${ac_cv_type_ssize_t+set}" = set; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22872 cat >conftest.
$ac_ext <<_ACEOF
22875 cat confdefs.h
>>conftest.
$ac_ext
22876 cat >>conftest.
$ac_ext <<_ACEOF
22877 /* end confdefs.h. */
22878 $ac_includes_default
22879 typedef ssize_t ac__type_new_;
22883 if ((ac__type_new_ *) 0)
22885 if (sizeof (ac__type_new_))
22891 rm -f conftest.
$ac_objext
22892 if { (ac_try
="$ac_compile"
22893 case "(($ac_try" in
22894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22895 *) ac_try_echo=$ac_try;;
22897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22898 (eval "$ac_compile") 2>conftest.er1
22900 grep -v '^ *+' conftest.er1 >conftest.err
22902 cat conftest.err >&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && {
22905 test -z "$ac_c_werror_flag" ||
22906 test ! -s conftest.err
22907 } && test -s conftest.$ac_objext; then
22908 ac_cv_type_ssize_t=yes
22910 echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.$ac_ext >&5
22913 ac_cv_type_ssize_t=no
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
22919 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
22920 if test $ac_cv_type_ssize_t = yes; then
22924 cat >>confdefs.h <<_ACEOF
22925 #define ssize_t int
22930 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
22931 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
22932 if test "${ac_cv_type_uid_t+set}" = set; then
22933 echo $ECHO_N "(cached) $ECHO_C" >&6
22935 cat >conftest.$ac_ext <<_ACEOF
22938 cat confdefs.h >>conftest.$ac_ext
22939 cat >>conftest.$ac_ext <<_ACEOF
22940 /* end confdefs.h. */
22941 #include <sys/types.h>
22944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22945 $EGREP "uid_t" >/dev/null 2>&1; then
22946 ac_cv_type_uid_t=yes
22948 ac_cv_type_uid_t=no
22953 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
22954 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
22955 if test $ac_cv_type_uid_t = no; then
22957 cat >>confdefs.h <<\_ACEOF
22962 cat >>confdefs.h <<\_ACEOF
22970 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22971 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
22972 if test "${ac_cv_header_stdc+set}" = set; then
22973 echo $ECHO_N "(cached) $ECHO_C" >&6
22975 cat >conftest.$ac_ext <<_ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 #include <stdlib.h>
22982 #include <stdarg.h>
22983 #include <string.h>
22994 rm -f conftest.$ac_objext
22995 if { (ac_try="$ac_compile"
22996 case "(($ac_try" in
22997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22998 *) ac_try_echo
=$ac_try;;
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_compile") 2>conftest.er1
23003 grep -v '^ *+' conftest.er1
>conftest.err
23005 cat conftest.err
>&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } && {
23008 test -z "$ac_c_werror_flag" ||
23009 test ! -s conftest.err
23010 } && test -s conftest.
$ac_objext; then
23011 ac_cv_header_stdc
=yes
23013 echo "$as_me: failed program was:" >&5
23014 sed 's/^/| /' conftest.
$ac_ext >&5
23016 ac_cv_header_stdc
=no
23019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23021 if test $ac_cv_header_stdc = yes; then
23022 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
23023 cat >conftest.
$ac_ext <<_ACEOF
23026 cat confdefs.h
>>conftest.
$ac_ext
23027 cat >>conftest.
$ac_ext <<_ACEOF
23028 /* end confdefs.h. */
23029 #include <string.h>
23032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23033 $EGREP "memchr" >/dev
/null
2>&1; then
23036 ac_cv_header_stdc
=no
23042 if test $ac_cv_header_stdc = yes; then
23043 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
23044 cat >conftest.
$ac_ext <<_ACEOF
23047 cat confdefs.h
>>conftest.
$ac_ext
23048 cat >>conftest.
$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050 #include <stdlib.h>
23053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23054 $EGREP "free" >/dev
/null
2>&1; then
23057 ac_cv_header_stdc
=no
23063 if test $ac_cv_header_stdc = yes; then
23064 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
23065 if test "$cross_compiling" = yes; then
23068 cat >conftest.
$ac_ext <<_ACEOF
23071 cat confdefs.h
>>conftest.
$ac_ext
23072 cat >>conftest.
$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23075 #include <stdlib.h>
23076 #if ((' ' & 0x0FF) == 0x020)
23077 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
23078 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
23080 # define ISLOWER(c) \
23081 (('a' <= (c) && (c) <= 'i') \
23082 || ('j' <= (c) && (c) <= 'r') \
23083 || ('s' <= (c) && (c) <= 'z'))
23084 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
23087 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
23092 for (i = 0; i < 256; i++)
23093 if (XOR (islower (i), ISLOWER (i))
23094 || toupper (i) != TOUPPER (i))
23099 rm -f conftest
$ac_exeext
23100 if { (ac_try
="$ac_link"
23101 case "(($ac_try" in
23102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23103 *) ac_try_echo=$ac_try;;
23105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23106 (eval "$ac_link") 2>&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23110 { (case "(($ac_try" in
23111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23112 *) ac_try_echo
=$ac_try;;
23114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23115 (eval "$ac_try") 2>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; }; then
23121 echo "$as_me: program exited with status $ac_status" >&5
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.
$ac_ext >&5
23125 ( exit $ac_status )
23126 ac_cv_header_stdc
=no
23128 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23134 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
23135 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
23136 if test $ac_cv_header_stdc = yes; then
23138 cat >>confdefs.h
<<\_ACEOF
23139 #define STDC_HEADERS 1
23164 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
23166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23167 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23168 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23170 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23171 echo $ECHO_N "(cached) $ECHO_C" >&6
23173 ac_res
=`eval echo '${'$as_ac_Header'}'`
23174 { echo "$as_me:$LINENO: result: $ac_res" >&5
23175 echo "${ECHO_T}$ac_res" >&6; }
23177 # Is the header compilable?
23178 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23180 cat >conftest.
$ac_ext <<_ACEOF
23183 cat confdefs.h
>>conftest.
$ac_ext
23184 cat >>conftest.
$ac_ext <<_ACEOF
23185 /* end confdefs.h. */
23186 $ac_includes_default
23187 #include <$ac_header>
23189 rm -f conftest.
$ac_objext
23190 if { (ac_try
="$ac_compile"
23191 case "(($ac_try" in
23192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23193 *) ac_try_echo=$ac_try;;
23195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23196 (eval "$ac_compile") 2>conftest.er1
23198 grep -v '^ *+' conftest.er1 >conftest.err
23200 cat conftest.err >&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } && {
23203 test -z "$ac_c_werror_flag" ||
23204 test ! -s conftest.err
23205 } && test -s conftest.$ac_objext; then
23206 ac_header_compiler=yes
23208 echo "$as_me: failed program was:" >&5
23209 sed 's/^/| /' conftest.$ac_ext >&5
23211 ac_header_compiler=no
23214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23215 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23216 echo "${ECHO_T}$ac_header_compiler" >&6; }
23218 # Is the header present?
23219 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23221 cat >conftest.$ac_ext <<_ACEOF
23224 cat confdefs.h >>conftest.$ac_ext
23225 cat >>conftest.$ac_ext <<_ACEOF
23226 /* end confdefs.h. */
23227 #include <$ac_header>
23229 if { (ac_try="$ac_cpp conftest.$ac_ext"
23230 case "(($ac_try" in
23231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23232 *) ac_try_echo
=$ac_try;;
23234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23237 grep -v '^ *+' conftest.er1
>conftest.err
23239 cat conftest.err
>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } >/dev
/null
&& {
23242 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23243 test ! -s conftest.err
23245 ac_header_preproc
=yes
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.
$ac_ext >&5
23250 ac_header_preproc
=no
23253 rm -f conftest.err conftest.
$ac_ext
23254 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23255 echo "${ECHO_T}$ac_header_preproc" >&6; }
23257 # So? What about this header?
23258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23264 ac_header_preproc
=yes
23267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23284 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23285 echo $ECHO_N "(cached) $ECHO_C" >&6
23287 eval "$as_ac_Header=\$ac_header_preproc"
23289 ac_res
=`eval echo '${'$as_ac_Header'}'`
23290 { echo "$as_me:$LINENO: result: $ac_res" >&5
23291 echo "${ECHO_T}$ac_res" >&6; }
23294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23295 cat >>confdefs.h
<<_ACEOF
23296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23303 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23304 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
23305 if test "${ac_cv_header_time+set}" = set; then
23306 echo $ECHO_N "(cached) $ECHO_C" >&6
23308 cat >conftest.
$ac_ext <<_ACEOF
23311 cat confdefs.h
>>conftest.
$ac_ext
23312 cat >>conftest.
$ac_ext <<_ACEOF
23313 /* end confdefs.h. */
23314 #include <sys/types.h>
23315 #include <sys/time.h>
23321 if ((struct tm *) 0)
23327 rm -f conftest.
$ac_objext
23328 if { (ac_try
="$ac_compile"
23329 case "(($ac_try" in
23330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23331 *) ac_try_echo=$ac_try;;
23333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23334 (eval "$ac_compile") 2>conftest.er1
23336 grep -v '^ *+' conftest.er1 >conftest.err
23338 cat conftest.err >&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); } && {
23341 test -z "$ac_c_werror_flag" ||
23342 test ! -s conftest.err
23343 } && test -s conftest.$ac_objext; then
23344 ac_cv_header_time=yes
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23349 ac_cv_header_time=no
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23354 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23355 echo "${ECHO_T}$ac_cv_header_time" >&6; }
23356 if test $ac_cv_header_time = yes; then
23358 cat >>confdefs.h <<\_ACEOF
23359 #define TIME_WITH_SYS_TIME 1
23366 { echo "$as_me:$LINENO: checking for library containing socket" >&5
23367 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
23368 if test "${ac_cv_search_socket+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 ac_func_search_save_LIBS=$LIBS
23372 cat >conftest.$ac_ext <<_ACEOF
23375 cat confdefs.h >>conftest.$ac_ext
23376 cat >>conftest.$ac_ext <<_ACEOF
23377 /* end confdefs.h. */
23379 /* Override any GCC internal prototype to avoid an error.
23380 Use char because int might match the return type of a GCC
23381 builtin and then its argument prototype would still apply. */
23394 for ac_lib in '' socket; do
23395 if test -z "$ac_lib"; then
23396 ac_res="none required"
23399 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23401 rm -f conftest.$ac_objext conftest$ac_exeext
23402 if { (ac_try="$ac_link"
23403 case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23405 *) ac_try_echo
=$ac_try;;
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_link") 2>conftest.er1
23410 grep -v '^ *+' conftest.er1
>conftest.err
23412 cat conftest.err
>&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && {
23415 test -z "$ac_c_werror_flag" ||
23416 test ! -s conftest.err
23417 } && test -s conftest
$ac_exeext &&
23418 $as_test_x conftest
$ac_exeext; then
23419 ac_cv_search_socket
=$ac_res
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.
$ac_ext >&5
23427 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23429 if test "${ac_cv_search_socket+set}" = set; then
23433 if test "${ac_cv_search_socket+set}" = set; then
23436 ac_cv_search_socket
=no
23438 rm conftest.
$ac_ext
23439 LIBS
=$ac_func_search_save_LIBS
23441 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
23442 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
23443 ac_res
=$ac_cv_search_socket
23444 if test "$ac_res" != no
; then
23445 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23451 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
23452 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
23453 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 cat >conftest.
$ac_ext <<_ACEOF
23459 cat confdefs.h
>>conftest.
$ac_ext
23460 cat >>conftest.
$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23463 #ifdef HAVE_SYS_TYPES_H
23464 #include <sys/types.h>
23466 #ifdef HAVE_SYS_SOCKET_H
23467 #include <sys/socket.h>
23469 #ifdef HAVE_WINSOCK2_H
23470 #include <winsock2.h>
23477 static struct sockaddr ac_aggr;
23478 if (ac_aggr.sa_len)
23484 rm -f conftest.
$ac_objext
23485 if { (ac_try
="$ac_compile"
23486 case "(($ac_try" in
23487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23488 *) ac_try_echo=$ac_try;;
23490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23491 (eval "$ac_compile") 2>conftest.er1
23493 grep -v '^ *+' conftest.er1 >conftest.err
23495 cat conftest.err >&5
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); } && {
23498 test -z "$ac_c_werror_flag" ||
23499 test ! -s conftest.err
23500 } && test -s conftest.$ac_objext; then
23501 ac_cv_member_struct_sockaddr_sa_len=yes
23503 echo "$as_me: failed program was:" >&5
23504 sed 's/^/| /' conftest.$ac_ext >&5
23506 cat >conftest.$ac_ext <<_ACEOF
23509 cat confdefs.h >>conftest.$ac_ext
23510 cat >>conftest.$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23513 #ifdef HAVE_SYS_TYPES_H
23514 #include <sys/types.h>
23516 #ifdef HAVE_SYS_SOCKET_H
23517 #include <sys/socket.h>
23519 #ifdef HAVE_WINSOCK2_H
23520 #include <winsock2.h>
23527 static struct sockaddr ac_aggr;
23528 if (sizeof ac_aggr.sa_len)
23534 rm -f conftest.$ac_objext
23535 if { (ac_try="$ac_compile"
23536 case "(($ac_try" in
23537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23538 *) ac_try_echo
=$ac_try;;
23540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23541 (eval "$ac_compile") 2>conftest.er1
23543 grep -v '^ *+' conftest.er1
>conftest.err
23545 cat conftest.err
>&5
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); } && {
23548 test -z "$ac_c_werror_flag" ||
23549 test ! -s conftest.err
23550 } && test -s conftest.
$ac_objext; then
23551 ac_cv_member_struct_sockaddr_sa_len
=yes
23553 echo "$as_me: failed program was:" >&5
23554 sed 's/^/| /' conftest.
$ac_ext >&5
23556 ac_cv_member_struct_sockaddr_sa_len
=no
23559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23564 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
23565 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
23566 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
23568 cat >>confdefs.h
<<\_ACEOF
23569 #define SOCKADDR_IN_HAS_LEN 1
23575 { echo "$as_me:$LINENO: checking for socklen_t" >&5
23576 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
23577 if test "${ac_cv_type_socklen_t+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23580 cat >conftest.
$ac_ext <<_ACEOF
23583 cat confdefs.h
>>conftest.
$ac_ext
23584 cat >>conftest.
$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23587 #ifdef HAVE_SYS_TYPES_H
23588 #include <sys/types.h>
23590 #ifdef HAVE_SYS_SOCKET_H
23591 #include <sys/socket.h>
23593 #ifdef HAVE_WINSOCK2_H
23594 #include <winsock2.h>
23599 typedef socklen_t ac__type_new_;
23603 if ((ac__type_new_ *) 0)
23605 if (sizeof (ac__type_new_))
23611 rm -f conftest.
$ac_objext
23612 if { (ac_try
="$ac_compile"
23613 case "(($ac_try" in
23614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23615 *) ac_try_echo=$ac_try;;
23617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23618 (eval "$ac_compile") 2>conftest.er1
23620 grep -v '^ *+' conftest.er1 >conftest.err
23622 cat conftest.err >&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } && {
23625 test -z "$ac_c_werror_flag" ||
23626 test ! -s conftest.err
23627 } && test -s conftest.$ac_objext; then
23628 ac_cv_type_socklen_t=yes
23630 echo "$as_me: failed program was:" >&5
23631 sed 's/^/| /' conftest.$ac_ext >&5
23633 ac_cv_type_socklen_t=no
23636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23638 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
23639 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
23640 if test $ac_cv_type_socklen_t = yes; then
23644 cat >>confdefs.h <<\_ACEOF
23645 #define socklen_t unsigned int
23651 # Check whether --enable-ipv6 was given.
23652 if test "${enable_ipv6+set}" = set; then
23653 enableval=$enable_ipv6; ipv6=$enableval
23659 if test x$ipv6 != xyes; then
23665 { echo "$as_me:$LINENO: checking for INET6 protocol support" >&5
23666 echo $ECHO_N "checking for INET6 protocol support... $ECHO_C" >&6; }
23667 if test "${rb_cv_proto_inet6+set}" = set; then
23668 echo $ECHO_N "(cached) $ECHO_C" >&6
23671 cat >conftest.$ac_ext <<_ACEOF
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23678 #include <sys/types.h>
23679 #include <sys/socket.h>
23682 #error Missing PF_INET6
23685 #error Mlssing AF_INET6
23689 if { (ac_try="$ac_cpp conftest.$ac_ext"
23690 case "(($ac_try" in
23691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23692 *) ac_try_echo
=$ac_try;;
23694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23697 grep -v '^ *+' conftest.er1
>conftest.err
23699 cat conftest.err
>&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); } >/dev
/null
&& {
23702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23703 test ! -s conftest.err
23706 rb_cv_proto_inet6
=yes
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.
$ac_ext >&5
23713 rb_cv_proto_inet6
=no
23717 rm -f conftest.err conftest.
$ac_ext
23720 { echo "$as_me:$LINENO: result: $rb_cv_proto_inet6" >&5
23721 echo "${ECHO_T}$rb_cv_proto_inet6" >&6; }
23723 if test "X$rb_cv_proto_inet6" = "Xyes"; then :
23727 { echo "$as_me:$LINENO: Disabling IPv6 support: PF_INET6 not found" >&5
23728 echo "$as_me: Disabling IPv6 support: PF_INET6 not found" >&6;}
23734 if test "X$have_v6" = "Xyes"; then
23736 rb_have_sockaddr_in6
=
23737 { echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
23738 echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; }
23739 if test "${ac_cv_type_struct_sockaddr_in6+set}" = set; then
23740 echo $ECHO_N "(cached) $ECHO_C" >&6
23742 cat >conftest.
$ac_ext <<_ACEOF
23745 cat confdefs.h
>>conftest.
$ac_ext
23746 cat >>conftest.
$ac_ext <<_ACEOF
23747 /* end confdefs.h. */
23749 #include <sys/types.h>
23750 #include <sys/socket.h>
23751 #include <netinet/in.h>
23754 typedef struct sockaddr_in6 ac__type_new_;
23758 if ((ac__type_new_ *) 0)
23760 if (sizeof (ac__type_new_))
23766 rm -f conftest.
$ac_objext
23767 if { (ac_try
="$ac_compile"
23768 case "(($ac_try" in
23769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23770 *) ac_try_echo=$ac_try;;
23772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23773 (eval "$ac_compile") 2>conftest.er1
23775 grep -v '^ *+' conftest.er1 >conftest.err
23777 cat conftest.err >&5
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); } && {
23780 test -z "$ac_c_werror_flag" ||
23781 test ! -s conftest.err
23782 } && test -s conftest.$ac_objext; then
23783 ac_cv_type_struct_sockaddr_in6=yes
23785 echo "$as_me: failed program was:" >&5
23786 sed 's/^/| /' conftest.$ac_ext >&5
23788 ac_cv_type_struct_sockaddr_in6=no
23791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23793 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in6" >&5
23794 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_in6" >&6; }
23795 if test $ac_cv_type_struct_sockaddr_in6 = yes; then
23797 cat >>confdefs.h <<_ACEOF
23798 #define HAVE_STRUCT_SOCKADDR_IN6 1
23802 rb_have_sockaddr_in6=yes
23806 rb_have_sockaddr_in6=no
23811 if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
23815 { echo "$as_me:$LINENO: Disabling IPv6 support: struct sockaddr_in6 not found" >&5
23816 echo "$as_me: Disabling IPv6 support: struct sockaddr_in6 not found" >&6;}
23825 { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
23826 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
23827 if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
23828 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 cat >conftest.$ac_ext <<_ACEOF
23833 cat confdefs.h >>conftest.$ac_ext
23834 cat >>conftest.$ac_ext <<_ACEOF
23835 /* end confdefs.h. */
23837 #include <sys/types.h>
23838 #include <sys/socket.h>
23841 typedef struct sockaddr_storage ac__type_new_;
23845 if ((ac__type_new_ *) 0)
23847 if (sizeof (ac__type_new_))
23853 rm -f conftest.$ac_objext
23854 if { (ac_try="$ac_compile"
23855 case "(($ac_try" in
23856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23857 *) ac_try_echo
=$ac_try;;
23859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23860 (eval "$ac_compile") 2>conftest.er1
23862 grep -v '^ *+' conftest.er1
>conftest.err
23864 cat conftest.err
>&5
23865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866 (exit $ac_status); } && {
23867 test -z "$ac_c_werror_flag" ||
23868 test ! -s conftest.err
23869 } && test -s conftest.
$ac_objext; then
23870 ac_cv_type_struct_sockaddr_storage
=yes
23872 echo "$as_me: failed program was:" >&5
23873 sed 's/^/| /' conftest.
$ac_ext >&5
23875 ac_cv_type_struct_sockaddr_storage
=no
23878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23880 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
23881 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; }
23882 if test $ac_cv_type_struct_sockaddr_storage = yes; then
23884 cat >>confdefs.h
<<_ACEOF
23885 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
23889 rb_have_sockaddr_storage
=yes
23896 { echo "$as_me:$LINENO: checking for library containing crypt" >&5
23897 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; }
23898 if test "${ac_cv_search_crypt+set}" = set; then
23899 echo $ECHO_N "(cached) $ECHO_C" >&6
23901 ac_func_search_save_LIBS
=$LIBS
23902 cat >conftest.
$ac_ext <<_ACEOF
23905 cat confdefs.h
>>conftest.
$ac_ext
23906 cat >>conftest.
$ac_ext <<_ACEOF
23907 /* end confdefs.h. */
23909 /* Override any GCC internal prototype to avoid an error.
23910 Use char because int might match the return type of a GCC
23911 builtin and then its argument prototype would still apply. */
23924 for ac_lib
in '' crypt descrypt
; do
23925 if test -z "$ac_lib"; then
23926 ac_res
="none required"
23929 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23931 rm -f conftest.
$ac_objext conftest
$ac_exeext
23932 if { (ac_try
="$ac_link"
23933 case "(($ac_try" in
23934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23935 *) ac_try_echo=$ac_try;;
23937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23938 (eval "$ac_link") 2>conftest.er1
23940 grep -v '^ *+' conftest.er1 >conftest.err
23942 cat conftest.err >&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); } && {
23945 test -z "$ac_c_werror_flag" ||
23946 test ! -s conftest.err
23947 } && test -s conftest$ac_exeext &&
23948 $as_test_x conftest$ac_exeext; then
23949 ac_cv_search_crypt=$ac_res
23951 echo "$as_me: failed program was:" >&5
23952 sed 's/^/| /' conftest.$ac_ext >&5
23957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23959 if test "${ac_cv_search_crypt+set}" = set; then
23963 if test "${ac_cv_search_crypt+set}" = set; then
23966 ac_cv_search_crypt=no
23968 rm conftest.$ac_ext
23969 LIBS=$ac_func_search_save_LIBS
23971 { echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
23972 echo "${ECHO_T}$ac_cv_search_crypt" >&6; }
23973 ac_res=$ac_cv_search_crypt
23974 if test "$ac_res" != no; then
23975 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23981 CRYPT_LIB=$ac_cv_search_crypt
23983 if test "$CRYPT_LIB" = "none required"; then
23985 elif test "$CRYPT_LIB" = no; then
23988 cat >>confdefs.h <<\_ACEOF
23989 #define NEED_CRYPT 1
23995 if test x"$need_crypt" == "xyes"; then
23997 NEED_CRYPT_FALSE='#'
23999 NEED_CRYPT_TRUE='#'
24007 if test "${ac_cv_header_stdarg_h+set}" = set; then
24008 { echo "$as_me:$LINENO: checking for stdarg.h" >&5
24009 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; }
24010 if test "${ac_cv_header_stdarg_h+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
24014 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; }
24016 # Is the header compilable?
24017 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5
24018 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; }
24019 cat >conftest.$ac_ext <<_ACEOF
24022 cat confdefs.h >>conftest.$ac_ext
24023 cat >>conftest.$ac_ext <<_ACEOF
24024 /* end confdefs.h. */
24025 $ac_includes_default
24026 #include <stdarg.h>
24028 rm -f conftest.$ac_objext
24029 if { (ac_try="$ac_compile"
24030 case "(($ac_try" in
24031 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24032 *) ac_try_echo
=$ac_try;;
24034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24035 (eval "$ac_compile") 2>conftest.er1
24037 grep -v '^ *+' conftest.er1
>conftest.err
24039 cat conftest.err
>&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); } && {
24042 test -z "$ac_c_werror_flag" ||
24043 test ! -s conftest.err
24044 } && test -s conftest.
$ac_objext; then
24045 ac_header_compiler
=yes
24047 echo "$as_me: failed program was:" >&5
24048 sed 's/^/| /' conftest.
$ac_ext >&5
24050 ac_header_compiler
=no
24053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24054 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24055 echo "${ECHO_T}$ac_header_compiler" >&6; }
24057 # Is the header present?
24058 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5
24059 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; }
24060 cat >conftest.
$ac_ext <<_ACEOF
24063 cat confdefs.h
>>conftest.
$ac_ext
24064 cat >>conftest.
$ac_ext <<_ACEOF
24065 /* end confdefs.h. */
24066 #include <stdarg.h>
24068 if { (ac_try
="$ac_cpp conftest.$ac_ext"
24069 case "(($ac_try" in
24070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24071 *) ac_try_echo=$ac_try;;
24073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24074 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24076 grep -v '^ *+' conftest.er1 >conftest.err
24078 cat conftest.err >&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } >/dev/null && {
24081 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24082 test ! -s conftest.err
24084 ac_header_preproc=yes
24086 echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.$ac_ext >&5
24089 ac_header_preproc=no
24092 rm -f conftest.err conftest.$ac_ext
24093 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24094 echo "${ECHO_T}$ac_header_preproc" >&6; }
24096 # So? What about this header?
24097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24099 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5
24100 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24101 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5
24102 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;}
24103 ac_header_preproc=yes
24106 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5
24107 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;}
24108 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5
24109 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;}
24110 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5
24111 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;}
24112 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5
24113 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;}
24114 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5
24115 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;}
24116 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5
24117 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;}
24121 { echo "$as_me:$LINENO: checking for stdarg.h" >&5
24122 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; }
24123 if test "${ac_cv_header_stdarg_h+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24126 ac_cv_header_stdarg_h=$ac_header_preproc
24128 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
24129 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; }
24132 if test $ac_cv_header_stdarg_h = yes; then
24135 { { echo "$as_me:$LINENO: error: ** stdarg.h could not be found - libratbox will not compile without it **" >&5
24136 echo "$as_me: error: ** stdarg.h could not be found - libratbox will not compile without it **" >&2;}
24137 { (exit 1); exit 1; }; }
24142 { echo "$as_me:$LINENO: checking for sa_family_t" >&5
24143 echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; }
24144 if test "${ac_cv_type_sa_family_t+set}" = set; then
24145 echo $ECHO_N "(cached) $ECHO_C" >&6
24147 cat >conftest.$ac_ext <<_ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24153 #include <sys/types.h>
24154 #include <sys/socket.h>
24156 typedef sa_family_t ac__type_new_;
24160 if ((ac__type_new_ *) 0)
24162 if (sizeof (ac__type_new_))
24168 rm -f conftest.$ac_objext
24169 if { (ac_try="$ac_compile"
24170 case "(($ac_try" in
24171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24172 *) ac_try_echo
=$ac_try;;
24174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24175 (eval "$ac_compile") 2>conftest.er1
24177 grep -v '^ *+' conftest.er1
>conftest.err
24179 cat conftest.err
>&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); } && {
24182 test -z "$ac_c_werror_flag" ||
24183 test ! -s conftest.err
24184 } && test -s conftest.
$ac_objext; then
24185 ac_cv_type_sa_family_t
=yes
24187 echo "$as_me: failed program was:" >&5
24188 sed 's/^/| /' conftest.
$ac_ext >&5
24190 ac_cv_type_sa_family_t
=no
24193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24195 { echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
24196 echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6; }
24197 if test $ac_cv_type_sa_family_t = yes; then
24201 cat >>confdefs.h
<<\_ACEOF
24202 #define sa_family_t u_int16_t
24227 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
24229 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24232 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24235 cat >conftest.
$ac_ext <<_ACEOF
24238 cat confdefs.h
>>conftest.
$ac_ext
24239 cat >>conftest.
$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24243 #define $ac_func innocuous_$ac_func
24245 /* System header to define __stub macros and hopefully few prototypes,
24246 which can conflict with char $ac_func (); below.
24247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24248 <limits.h> exists even on freestanding compilers. */
24251 # include <limits.h>
24253 # include <assert.h>
24258 /* Override any GCC internal prototype to avoid an error.
24259 Use char because int might match the return type of a GCC
24260 builtin and then its argument prototype would still apply. */
24265 /* The GNU C library defines this for functions which it implements
24266 to always fail with ENOSYS. Some functions are actually named
24267 something starting with __ and the normal name is an alias. */
24268 #if defined __stub_$ac_func || defined __stub___$ac_func
24275 return $ac_func ();
24280 rm -f conftest.
$ac_objext conftest
$ac_exeext
24281 if { (ac_try
="$ac_link"
24282 case "(($ac_try" in
24283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24284 *) ac_try_echo=$ac_try;;
24286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24287 (eval "$ac_link") 2>conftest.er1
24289 grep -v '^ *+' conftest.er1 >conftest.err
24291 cat conftest.err >&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); } && {
24294 test -z "$ac_c_werror_flag" ||
24295 test ! -s conftest.err
24296 } && test -s conftest$ac_exeext &&
24297 $as_test_x conftest$ac_exeext; then
24298 eval "$as_ac_var=yes"
24300 echo "$as_me: failed program was:" >&5
24301 sed 's/^/| /' conftest.$ac_ext >&5
24303 eval "$as_ac_var=no"
24306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24307 conftest$ac_exeext conftest.$ac_ext
24309 ac_res=`eval echo '${'$as_ac_var'}'`
24310 { echo "$as_me:$LINENO: result: $ac_res" >&5
24311 echo "${ECHO_T}$ac_res" >&6; }
24312 if test `eval echo '${'$as_ac_var'}'` = yes; then
24313 cat >>confdefs.h <<_ACEOF
24314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24321 { echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
24322 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; }
24323 if test "${ac_cv_search_nanosleep+set}" = set; then
24324 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 ac_func_search_save_LIBS=$LIBS
24327 cat >conftest.$ac_ext <<_ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24334 /* Override any GCC internal prototype to avoid an error.
24335 Use char because int might match the return type of a GCC
24336 builtin and then its argument prototype would still apply. */
24344 return nanosleep ();
24349 for ac_lib in '' rt posix4; do
24350 if test -z "$ac_lib"; then
24351 ac_res="none required"
24354 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24356 rm -f conftest.$ac_objext conftest$ac_exeext
24357 if { (ac_try="$ac_link"
24358 case "(($ac_try" in
24359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24360 *) ac_try_echo
=$ac_try;;
24362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24363 (eval "$ac_link") 2>conftest.er1
24365 grep -v '^ *+' conftest.er1
>conftest.err
24367 cat conftest.err
>&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } && {
24370 test -z "$ac_c_werror_flag" ||
24371 test ! -s conftest.err
24372 } && test -s conftest
$ac_exeext &&
24373 $as_test_x conftest
$ac_exeext; then
24374 ac_cv_search_nanosleep
=$ac_res
24376 echo "$as_me: failed program was:" >&5
24377 sed 's/^/| /' conftest.
$ac_ext >&5
24382 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24384 if test "${ac_cv_search_nanosleep+set}" = set; then
24388 if test "${ac_cv_search_nanosleep+set}" = set; then
24391 ac_cv_search_nanosleep
=no
24393 rm conftest.
$ac_ext
24394 LIBS
=$ac_func_search_save_LIBS
24396 { echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
24397 echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; }
24398 ac_res
=$ac_cv_search_nanosleep
24399 if test "$ac_res" != no
; then
24400 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
24402 cat >>confdefs.h
<<\_ACEOF
24403 #define HAVE_NANOSLEEP 1
24408 { echo "$as_me:$LINENO: checking for library containing timer_create" >&5
24409 echo $ECHO_N "checking for library containing timer_create... $ECHO_C" >&6; }
24410 if test "${ac_cv_search_timer_create+set}" = set; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 ac_func_search_save_LIBS
=$LIBS
24414 cat >conftest.
$ac_ext <<_ACEOF
24417 cat confdefs.h
>>conftest.
$ac_ext
24418 cat >>conftest.
$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24421 /* Override any GCC internal prototype to avoid an error.
24422 Use char because int might match the return type of a GCC
24423 builtin and then its argument prototype would still apply. */
24427 char timer_create ();
24431 return timer_create ();
24436 for ac_lib
in '' rt
; do
24437 if test -z "$ac_lib"; then
24438 ac_res
="none required"
24441 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24443 rm -f conftest.
$ac_objext conftest
$ac_exeext
24444 if { (ac_try
="$ac_link"
24445 case "(($ac_try" in
24446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24447 *) ac_try_echo=$ac_try;;
24449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24450 (eval "$ac_link") 2>conftest.er1
24452 grep -v '^ *+' conftest.er1 >conftest.err
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } && {
24457 test -z "$ac_c_werror_flag" ||
24458 test ! -s conftest.err
24459 } && test -s conftest$ac_exeext &&
24460 $as_test_x conftest$ac_exeext; then
24461 ac_cv_search_timer_create=$ac_res
24463 echo "$as_me: failed program was:" >&5
24464 sed 's/^/| /' conftest.$ac_ext >&5
24469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24471 if test "${ac_cv_search_timer_create+set}" = set; then
24475 if test "${ac_cv_search_timer_create+set}" = set; then
24478 ac_cv_search_timer_create=no
24480 rm conftest.$ac_ext
24481 LIBS=$ac_func_search_save_LIBS
24483 { echo "$as_me:$LINENO: result: $ac_cv_search_timer_create" >&5
24484 echo "${ECHO_T}$ac_cv_search_timer_create" >&6; }
24485 ac_res=$ac_cv_search_timer_create
24486 if test "$ac_res" != no; then
24487 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
24489 cat >>confdefs.h <<\_ACEOF
24490 #define HAVE_TIMER_CREATE 1
24495 { echo "$as_me:$LINENO: checking for a working timer_create(CLOCK_REALTIME)" >&5
24496 echo $ECHO_N "checking for a working timer_create(CLOCK_REALTIME)... $ECHO_C" >&6; }
24497 if test "${rb__cv_timer_create_works+set}" = set; then
24498 echo $ECHO_N "(cached) $ECHO_C" >&6
24500 if test "$cross_compiling" = yes; then
24501 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24502 See \`config.log
' for more details." >&5
24503 echo "$as_me: error: cannot run test program while cross compiling
24504 See \`config.log' for more details.
" >&2;}
24505 { (exit 1); exit 1; }; }
24507 cat >conftest.$ac_ext <<_ACEOF
24510 cat confdefs.h >>conftest.$ac_ext
24511 cat >>conftest.$ac_ext <<_ACEOF
24512 /* end confdefs.h. */
24517 #ifdef HAVE_SIGNAL_H
24518 #include <signal.h>
24520 #ifdef HAVE_UNISTD_H
24521 #include <unistd.h>
24523 int main(int argc, char *argv[])
24525 #if HAVE_TIMER_CREATE
24526 struct sigevent ev;
24528 ev.sigev_notify = SIGEV_SIGNAL;
24529 ev.sigev_signo = SIGVTALRM;
24530 if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
24540 rm -f conftest$ac_exeext
24541 if { (ac_try="$ac_link"
24542 case "(($ac_try" in
24543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24544 *) ac_try_echo=$ac_try;;
24546 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24547 (eval "$ac_link") 2>&5
24549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24551 { (case "(($ac_try" in
24552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24553 *) ac_try_echo=$ac_try;;
24555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24556 (eval "$ac_try") 2>&5
24558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24559 (exit $ac_status); }; }; then
24560 rb__cv_timer_create_works=yes
24562 echo "$as_me: program exited with status
$ac_status" >&5
24563 echo "$as_me: failed program was
:" >&5
24564 sed 's/^/| /' conftest.$ac_ext >&5
24566 ( exit $ac_status )
24567 rb__cv_timer_create_works=no
24569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24575 { echo "$as_me:$LINENO: result
: $rb__cv_timer_create_works" >&5
24576 echo "${ECHO_T}$rb__cv_timer_create_works" >&6; }
24577 case $rb__cv_timer_create_works in
24579 cat >>confdefs.h <<\_ACEOF
24580 #define USE_TIMER_CREATE 1
24586 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
24587 # for constant arguments. Useless!
24588 { echo "$as_me:$LINENO: checking
for working alloca.h
" >&5
24589 echo $ECHO_N "checking
for working alloca.h...
$ECHO_C" >&6; }
24590 if test "${ac_cv_working_alloca_h+set}" = set; then
24591 echo $ECHO_N "(cached
) $ECHO_C" >&6
24593 cat >conftest.$ac_ext <<_ACEOF
24596 cat confdefs.h >>conftest.$ac_ext
24597 cat >>conftest.$ac_ext <<_ACEOF
24598 /* end confdefs.h. */
24599 #include <alloca.h>
24603 char *p = (char *) alloca (2 * sizeof (int));
24609 rm -f conftest.$ac_objext conftest$ac_exeext
24610 if { (ac_try="$ac_link"
24611 case "(($ac_try" in
24612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24613 *) ac_try_echo=$ac_try;;
24615 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24616 (eval "$ac_link") 2>conftest.er1
24618 grep -v '^ *+' conftest.er1 >conftest.err
24620 cat conftest.err >&5
24621 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24622 (exit $ac_status); } && {
24623 test -z "$ac_c_werror_flag" ||
24624 test ! -s conftest.err
24625 } && test -s conftest$ac_exeext &&
24626 $as_test_x conftest$ac_exeext; then
24627 ac_cv_working_alloca_h=yes
24629 echo "$as_me: failed program was
:" >&5
24630 sed 's/^/| /' conftest.$ac_ext >&5
24632 ac_cv_working_alloca_h=no
24635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24636 conftest$ac_exeext conftest.$ac_ext
24638 { echo "$as_me:$LINENO: result
: $ac_cv_working_alloca_h" >&5
24639 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
24640 if test $ac_cv_working_alloca_h = yes; then
24642 cat >>confdefs.h <<\_ACEOF
24643 #define HAVE_ALLOCA_H 1
24648 { echo "$as_me:$LINENO: checking
for alloca
" >&5
24649 echo $ECHO_N "checking
for alloca...
$ECHO_C" >&6; }
24650 if test "${ac_cv_func_alloca_works+set}" = set; then
24651 echo $ECHO_N "(cached
) $ECHO_C" >&6
24653 cat >conftest.$ac_ext <<_ACEOF
24656 cat confdefs.h >>conftest.$ac_ext
24657 cat >>conftest.$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24660 # define alloca __builtin_alloca
24663 # include <malloc.h>
24664 # define alloca _alloca
24666 # ifdef HAVE_ALLOCA_H
24667 # include <alloca.h>
24672 # ifndef alloca /* predefined by HP cc +Olibcalls */
24683 char *p = (char *) alloca (1);
24689 rm -f conftest.$ac_objext conftest$ac_exeext
24690 if { (ac_try="$ac_link"
24691 case "(($ac_try" in
24692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24693 *) ac_try_echo=$ac_try;;
24695 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24696 (eval "$ac_link") 2>conftest.er1
24698 grep -v '^ *+' conftest.er1 >conftest.err
24700 cat conftest.err >&5
24701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24702 (exit $ac_status); } && {
24703 test -z "$ac_c_werror_flag" ||
24704 test ! -s conftest.err
24705 } && test -s conftest$ac_exeext &&
24706 $as_test_x conftest$ac_exeext; then
24707 ac_cv_func_alloca_works=yes
24709 echo "$as_me: failed program was
:" >&5
24710 sed 's/^/| /' conftest.$ac_ext >&5
24712 ac_cv_func_alloca_works=no
24715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24716 conftest$ac_exeext conftest.$ac_ext
24718 { echo "$as_me:$LINENO: result
: $ac_cv_func_alloca_works" >&5
24719 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
24721 if test $ac_cv_func_alloca_works = yes; then
24723 cat >>confdefs.h <<\_ACEOF
24724 #define HAVE_ALLOCA 1
24728 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
24729 # that cause trouble. Some versions do not even contain alloca or
24730 # contain a buggy version. If you still want to use their alloca,
24731 # use ar to extract alloca.o from them instead of compiling alloca.c.
24733 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
24735 cat >>confdefs.h <<\_ACEOF
24740 { echo "$as_me:$LINENO: checking whether \
`alloca.c' needs Cray hooks" >&5
24741 echo $ECHO_N "checking whether \`alloca.c
' needs Cray hooks... $ECHO_C" >&6; }
24742 if test "${ac_cv_os_cray+set}" = set; then
24743 echo $ECHO_N "(cached) $ECHO_C" >&6
24745 cat >conftest.$ac_ext <<_ACEOF
24748 cat confdefs.h >>conftest.$ac_ext
24749 cat >>conftest.$ac_ext <<_ACEOF
24750 /* end confdefs.h. */
24751 #if defined CRAY && ! defined CRAY2
24758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24759 $EGREP "webecray" >/dev/null 2>&1; then
24767 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
24768 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
24769 if test $ac_cv_os_cray = yes; then
24770 for ac_func in _getb67 GETB67 getb67; do
24771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24774 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24775 echo $ECHO_N "(cached) $ECHO_C" >&6
24777 cat >conftest.$ac_ext <<_ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24785 #define $ac_func innocuous_$ac_func
24787 /* System header to define __stub macros and hopefully few prototypes,
24788 which can conflict with char $ac_func (); below.
24789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24790 <limits.h> exists even on freestanding compilers. */
24793 # include <limits.h>
24795 # include <assert.h>
24800 /* Override any GCC internal prototype to avoid an error.
24801 Use char because int might match the return type of a GCC
24802 builtin and then its argument prototype would still apply. */
24807 /* The GNU C library defines this for functions which it implements
24808 to always fail with ENOSYS. Some functions are actually named
24809 something starting with __ and the normal name is an alias. */
24810 #if defined __stub_$ac_func || defined __stub___$ac_func
24817 return $ac_func ();
24822 rm -f conftest.$ac_objext conftest$ac_exeext
24823 if { (ac_try="$ac_link"
24824 case "(($ac_try" in
24825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24826 *) ac_try_echo=$ac_try;;
24828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24829 (eval "$ac_link") 2>conftest.er1
24831 grep -v '^
*+' conftest.er1 >conftest.err
24833 cat conftest.err >&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && {
24836 test -z "$ac_c_werror_flag" ||
24837 test ! -s conftest.err
24838 } && test -s conftest$ac_exeext &&
24839 $as_test_x conftest$ac_exeext; then
24840 eval "$as_ac_var=yes"
24842 echo "$as_me: failed program was:" >&5
24843 sed 's
/^
/| /' conftest.$ac_ext >&5
24845 eval "$as_ac_var=no"
24848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24849 conftest$ac_exeext conftest.$ac_ext
24851 ac_res=`eval echo '${'$as_ac_var'}'`
24852 { echo "$as_me:$LINENO: result: $ac_res" >&5
24853 echo "${ECHO_T}$ac_res" >&6; }
24854 if test `eval echo '${'$as_ac_var'}'` = yes; then
24856 cat >>confdefs.h <<_ACEOF
24857 #define CRAY_STACKSEG_END $ac_func
24866 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
24867 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
24868 if test "${ac_cv_c_stack_direction+set}" = set; then
24869 echo $ECHO_N "(cached) $ECHO_C" >&6
24871 if test "$cross_compiling" = yes; then
24872 ac_cv_c_stack_direction=0
24874 cat >conftest.$ac_ext <<_ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880 $ac_includes_default
24882 find_stack_direction ()
24884 static char *addr = 0;
24889 return find_stack_direction ();
24892 return (&dummy > addr) ? 1 : -1;
24898 return find_stack_direction () < 0;
24901 rm -f conftest$ac_exeext
24902 if { (ac_try="$ac_link"
24903 case "(($ac_try" in
24904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24905 *) ac_try_echo=$ac_try;;
24907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24908 (eval "$ac_link") 2>&5
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24912 { (case "(($ac_try" in
24913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24914 *) ac_try_echo=$ac_try;;
24916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24917 (eval "$ac_try") 2>&5
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); }; }; then
24921 ac_cv_c_stack_direction=1
24923 echo "$as_me: program exited with status $ac_status" >&5
24924 echo "$as_me: failed program was:" >&5
24925 sed 's
/^
/| /' conftest.$ac_ext >&5
24927 ( exit $ac_status )
24928 ac_cv_c_stack_direction=-1
24930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24935 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
24936 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
24938 cat >>confdefs.h <<_ACEOF
24939 #define STACK_DIRECTION $ac_cv_c_stack_direction
24946 for ac_header in vfork.h
24948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24950 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24955 ac_res=`eval echo '${'$as_ac_Header'}'`
24956 { echo "$as_me:$LINENO: result: $ac_res" >&5
24957 echo "${ECHO_T}$ac_res" >&6; }
24959 # Is the header compilable?
24960 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24962 cat >conftest.$ac_ext <<_ACEOF
24965 cat confdefs.h >>conftest.$ac_ext
24966 cat >>conftest.$ac_ext <<_ACEOF
24967 /* end confdefs.h. */
24968 $ac_includes_default
24969 #include <$ac_header>
24971 rm -f conftest.$ac_objext
24972 if { (ac_try="$ac_compile"
24973 case "(($ac_try" in
24974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24975 *) ac_try_echo=$ac_try;;
24977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24978 (eval "$ac_compile") 2>conftest.er1
24980 grep -v '^
*+' conftest.er1 >conftest.err
24982 cat conftest.err >&5
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); } && {
24985 test -z "$ac_c_werror_flag" ||
24986 test ! -s conftest.err
24987 } && test -s conftest.$ac_objext; then
24988 ac_header_compiler=yes
24990 echo "$as_me: failed program was:" >&5
24991 sed 's
/^
/| /' conftest.$ac_ext >&5
24993 ac_header_compiler=no
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24997 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24998 echo "${ECHO_T}$ac_header_compiler" >&6; }
25000 # Is the header present?
25001 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25003 cat >conftest.$ac_ext <<_ACEOF
25006 cat confdefs.h >>conftest.$ac_ext
25007 cat >>conftest.$ac_ext <<_ACEOF
25008 /* end confdefs.h. */
25009 #include <$ac_header>
25011 if { (ac_try="$ac_cpp conftest.$ac_ext"
25012 case "(($ac_try" in
25013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25014 *) ac_try_echo=$ac_try;;
25016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25019 grep -v '^
*+' conftest.er1 >conftest.err
25021 cat conftest.err >&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); } >/dev/null && {
25024 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25025 test ! -s conftest.err
25027 ac_header_preproc=yes
25029 echo "$as_me: failed program was:" >&5
25030 sed 's
/^
/| /' conftest.$ac_ext >&5
25032 ac_header_preproc=no
25035 rm -f conftest.err conftest.$ac_ext
25036 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25037 echo "${ECHO_T}$ac_header_preproc" >&6; }
25039 # So? What about this header?
25040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
25045 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
25046 ac_header_preproc=yes
25049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
25058 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
25059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25064 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25066 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25069 eval "$as_ac_Header=\$ac_header_preproc"
25071 ac_res=`eval echo '${'$as_ac_Header'}'`
25072 { echo "$as_me:$LINENO: result: $ac_res" >&5
25073 echo "${ECHO_T}$ac_res" >&6; }
25076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25077 cat >>confdefs.h <<_ACEOF
25078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25087 for ac_func in fork vfork
25089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25090 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25092 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25093 echo $ECHO_N "(cached) $ECHO_C" >&6
25095 cat >conftest.$ac_ext <<_ACEOF
25098 cat confdefs.h >>conftest.$ac_ext
25099 cat >>conftest.$ac_ext <<_ACEOF
25100 /* end confdefs.h. */
25101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25103 #define $ac_func innocuous_$ac_func
25105 /* System header to define __stub macros and hopefully few prototypes,
25106 which can conflict with char $ac_func (); below.
25107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25108 <limits.h> exists even on freestanding compilers. */
25111 # include <limits.h>
25113 # include <assert.h>
25118 /* Override any GCC internal prototype to avoid an error.
25119 Use char because int might match the return type of a GCC
25120 builtin and then its argument prototype would still apply. */
25125 /* The GNU C library defines this for functions which it implements
25126 to always fail with ENOSYS. Some functions are actually named
25127 something starting with __ and the normal name is an alias. */
25128 #if defined __stub_$ac_func || defined __stub___$ac_func
25135 return $ac_func ();
25140 rm -f conftest.$ac_objext conftest$ac_exeext
25141 if { (ac_try="$ac_link"
25142 case "(($ac_try" in
25143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25144 *) ac_try_echo=$ac_try;;
25146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25147 (eval "$ac_link") 2>conftest.er1
25149 grep -v '^
*+' conftest.er1 >conftest.err
25151 cat conftest.err >&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); } && {
25154 test -z "$ac_c_werror_flag" ||
25155 test ! -s conftest.err
25156 } && test -s conftest$ac_exeext &&
25157 $as_test_x conftest$ac_exeext; then
25158 eval "$as_ac_var=yes"
25160 echo "$as_me: failed program was:" >&5
25161 sed 's
/^
/| /' conftest.$ac_ext >&5
25163 eval "$as_ac_var=no"
25166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25167 conftest$ac_exeext conftest.$ac_ext
25169 ac_res=`eval echo '${'$as_ac_var'}'`
25170 { echo "$as_me:$LINENO: result: $ac_res" >&5
25171 echo "${ECHO_T}$ac_res" >&6; }
25172 if test `eval echo '${'$as_ac_var'}'` = yes; then
25173 cat >>confdefs.h <<_ACEOF
25174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25180 if test "x$ac_cv_func_fork" = xyes; then
25181 { echo "$as_me:$LINENO: checking for working fork" >&5
25182 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
25183 if test "${ac_cv_func_fork_works+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 if test "$cross_compiling" = yes; then
25187 ac_cv_func_fork_works=cross
25189 cat >conftest.$ac_ext <<_ACEOF
25192 cat confdefs.h >>conftest.$ac_ext
25193 cat >>conftest.$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25195 $ac_includes_default
25200 /* By Ruediger Kuhlmann. */
25201 return fork () < 0;
25207 rm -f conftest$ac_exeext
25208 if { (ac_try="$ac_link"
25209 case "(($ac_try" in
25210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25211 *) ac_try_echo=$ac_try;;
25213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25214 (eval "$ac_link") 2>&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25218 { (case "(($ac_try" in
25219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25220 *) ac_try_echo=$ac_try;;
25222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25223 (eval "$ac_try") 2>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); }; }; then
25227 ac_cv_func_fork_works=yes
25229 echo "$as_me: program exited with status $ac_status" >&5
25230 echo "$as_me: failed program was:" >&5
25231 sed 's
/^
/| /' conftest.$ac_ext >&5
25233 ( exit $ac_status )
25234 ac_cv_func_fork_works=no
25236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25241 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
25242 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
25245 ac_cv_func_fork_works=$ac_cv_func_fork
25247 if test "x$ac_cv_func_fork_works" = xcross; then
25249 *-*-amigaos* | *-*-msdosdjgpp*)
25250 # Override, as these systems have only a dummy fork() stub
25251 ac_cv_func_fork_works=no
25254 ac_cv_func_fork_works=yes
25257 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
25258 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
25260 ac_cv_func_vfork_works=$ac_cv_func_vfork
25261 if test "x$ac_cv_func_vfork" = xyes; then
25262 { echo "$as_me:$LINENO: checking for working vfork" >&5
25263 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
25264 if test "${ac_cv_func_vfork_works+set}" = set; then
25265 echo $ECHO_N "(cached) $ECHO_C" >&6
25267 if test "$cross_compiling" = yes; then
25268 ac_cv_func_vfork_works=cross
25270 cat >conftest.$ac_ext <<_ACEOF
25273 cat confdefs.h >>conftest.$ac_ext
25274 cat >>conftest.$ac_ext <<_ACEOF
25275 /* end confdefs.h. */
25276 /* Thanks to Paul Eggert for this test. */
25277 $ac_includes_default
25278 #include <sys/wait.h>
25279 #ifdef HAVE_VFORK_H
25280 # include <vfork.h>
25282 /* On some sparc systems, changes by the child to local and incoming
25283 argument registers are propagated back to the parent. The compiler
25284 is told about this with #include <vfork.h>, but some compilers
25285 (e.g. gcc -O) don't grok
<vfork.h
>. Test
for this by using a
25286 static variable whose address is put into a register that is
25287 clobbered by the vfork.
*/
25290 sparc_address_test
(int arg
)
25292 sparc_address_test
(arg
) int arg
;
25295 static pid_t child
;
25313 pid_t parent
= getpid
();
25316 sparc_address_test
(0);
25321 /* Here is another
test for sparc vfork register problems. This
25322 test uses lots of
local variables
, at least as many
local
25323 variables as main has allocated so far including compiler
25324 temporaries.
4 locals are enough
for gcc
1.40.3 on a Solaris
25325 4.1.3 sparc
, but we use
8 to be safe. A buggy compiler should
25326 reuse the register of parent
for one of the
local variables
,
25327 since it will think that parent can
't possibly be used any more
25328 in this routine. Assigning to the local variable will thus
25329 munge parent in the parent process. */
25331 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
25332 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
25333 /* Convince the compiler that p..p7 are live; otherwise, it might
25334 use the same hardware register for all 8 local variables. */
25335 if (p != p1 || p != p2 || p != p3 || p != p4
25336 || p != p5 || p != p6 || p != p7)
25339 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
25340 from child
file descriptors. If the child closes a descriptor
25341 before it execs or exits
, this munges the parent
's descriptor
25342 as well. Test for this by closing stdout in the child. */
25343 _exit(close(fileno(stdout)) != 0);
25348 while (wait(&status) != child)
25351 /* Was there some problem with vforking? */
25354 /* Did the child fail? (This shouldn't happen.
) */
25357 /* Did the vfork
/compiler bug occur?
*/
25358 || parent
!= getpid
()
25360 /* Did the
file descriptor bug occur?
*/
25361 || fstat
(fileno
(stdout
), &st
) != 0
25366 rm -f conftest
$ac_exeext
25367 if { (ac_try
="$ac_link"
25368 case "(($ac_try" in
25369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25370 *) ac_try_echo=$ac_try;;
25372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25373 (eval "$ac_link") 2>&5
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25377 { (case "(($ac_try" in
25378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25379 *) ac_try_echo
=$ac_try;;
25381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25382 (eval "$ac_try") 2>&5
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; }; then
25386 ac_cv_func_vfork_works
=yes
25388 echo "$as_me: program exited with status $ac_status" >&5
25389 echo "$as_me: failed program was:" >&5
25390 sed 's/^/| /' conftest.
$ac_ext >&5
25392 ( exit $ac_status )
25393 ac_cv_func_vfork_works
=no
25395 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25400 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
25401 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
25404 if test "x$ac_cv_func_fork_works" = xcross
; then
25405 ac_cv_func_vfork_works
=$ac_cv_func_vfork
25406 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
25407 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
25410 if test "x$ac_cv_func_vfork_works" = xyes
; then
25412 cat >>confdefs.h
<<\_ACEOF
25413 #define HAVE_WORKING_VFORK 1
25418 cat >>confdefs.h
<<\_ACEOF
25423 if test "x$ac_cv_func_fork_works" = xyes
; then
25425 cat >>confdefs.h
<<\_ACEOF
25426 #define HAVE_WORKING_FORK 1
25433 for ac_header
in stdlib.h unistd.h
25435 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25436 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25439 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 ac_res
=`eval echo '${'$as_ac_Header'}'`
25443 { echo "$as_me:$LINENO: result: $ac_res" >&5
25444 echo "${ECHO_T}$ac_res" >&6; }
25446 # Is the header compilable?
25447 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
25448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25449 cat >conftest.
$ac_ext <<_ACEOF
25452 cat confdefs.h
>>conftest.
$ac_ext
25453 cat >>conftest.
$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455 $ac_includes_default
25456 #include <$ac_header>
25458 rm -f conftest.
$ac_objext
25459 if { (ac_try
="$ac_compile"
25460 case "(($ac_try" in
25461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25462 *) ac_try_echo=$ac_try;;
25464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25465 (eval "$ac_compile") 2>conftest.er1
25467 grep -v '^ *+' conftest.er1 >conftest.err
25469 cat conftest.err >&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } && {
25472 test -z "$ac_c_werror_flag" ||
25473 test ! -s conftest.err
25474 } && test -s conftest.$ac_objext; then
25475 ac_header_compiler=yes
25477 echo "$as_me: failed program was:" >&5
25478 sed 's/^/| /' conftest.$ac_ext >&5
25480 ac_header_compiler=no
25483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25484 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25485 echo "${ECHO_T}$ac_header_compiler" >&6; }
25487 # Is the header present?
25488 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25490 cat >conftest.$ac_ext <<_ACEOF
25493 cat confdefs.h >>conftest.$ac_ext
25494 cat >>conftest.$ac_ext <<_ACEOF
25495 /* end confdefs.h. */
25496 #include <$ac_header>
25498 if { (ac_try="$ac_cpp conftest.$ac_ext"
25499 case "(($ac_try" in
25500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25501 *) ac_try_echo
=$ac_try;;
25503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25504 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25506 grep -v '^ *+' conftest.er1
>conftest.err
25508 cat conftest.err
>&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); } >/dev
/null
&& {
25511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25512 test ! -s conftest.err
25514 ac_header_preproc
=yes
25516 echo "$as_me: failed program was:" >&5
25517 sed 's/^/| /' conftest.
$ac_ext >&5
25519 ac_header_preproc
=no
25522 rm -f conftest.err conftest.
$ac_ext
25523 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25524 echo "${ECHO_T}$ac_header_preproc" >&6; }
25526 # So? What about this header?
25527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25533 ac_header_preproc
=yes
25536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25553 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25554 echo $ECHO_N "(cached) $ECHO_C" >&6
25556 eval "$as_ac_Header=\$ac_header_preproc"
25558 ac_res
=`eval echo '${'$as_ac_Header'}'`
25559 { echo "$as_me:$LINENO: result: $ac_res" >&5
25560 echo "${ECHO_T}$ac_res" >&6; }
25563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25564 cat >>confdefs.h
<<_ACEOF
25565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25573 for ac_func
in getpagesize
25575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25576 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25578 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 cat >conftest.
$ac_ext <<_ACEOF
25584 cat confdefs.h
>>conftest.
$ac_ext
25585 cat >>conftest.
$ac_ext <<_ACEOF
25586 /* end confdefs.h. */
25587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25589 #define $ac_func innocuous_$ac_func
25591 /* System header to define __stub macros and hopefully few prototypes,
25592 which can conflict with char $ac_func (); below.
25593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25594 <limits.h> exists even on freestanding compilers. */
25597 # include <limits.h>
25599 # include <assert.h>
25604 /* Override any GCC internal prototype to avoid an error.
25605 Use char because int might match the return type of a GCC
25606 builtin and then its argument prototype would still apply. */
25611 /* The GNU C library defines this for functions which it implements
25612 to always fail with ENOSYS. Some functions are actually named
25613 something starting with __ and the normal name is an alias. */
25614 #if defined __stub_$ac_func || defined __stub___$ac_func
25621 return $ac_func ();
25626 rm -f conftest.
$ac_objext conftest
$ac_exeext
25627 if { (ac_try
="$ac_link"
25628 case "(($ac_try" in
25629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25630 *) ac_try_echo=$ac_try;;
25632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25633 (eval "$ac_link") 2>conftest.er1
25635 grep -v '^ *+' conftest.er1 >conftest.err
25637 cat conftest.err >&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } && {
25640 test -z "$ac_c_werror_flag" ||
25641 test ! -s conftest.err
25642 } && test -s conftest$ac_exeext &&
25643 $as_test_x conftest$ac_exeext; then
25644 eval "$as_ac_var=yes"
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.$ac_ext >&5
25649 eval "$as_ac_var=no"
25652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25653 conftest$ac_exeext conftest.$ac_ext
25655 ac_res=`eval echo '${'$as_ac_var'}'`
25656 { echo "$as_me:$LINENO: result: $ac_res" >&5
25657 echo "${ECHO_T}$ac_res" >&6; }
25658 if test `eval echo '${'$as_ac_var'}'` = yes; then
25659 cat >>confdefs.h <<_ACEOF
25660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25666 { echo "$as_me:$LINENO: checking for working mmap" >&5
25667 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
25668 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25671 if test "$cross_compiling" = yes; then
25672 ac_cv_func_mmap_fixed_mapped=no
25674 cat >conftest.$ac_ext <<_ACEOF
25677 cat confdefs.h >>conftest.$ac_ext
25678 cat >>conftest.$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 $ac_includes_default
25681 /* malloc might have been renamed as rpl_malloc. */
25684 /* Thanks to Mike Haertel and Jim Avera for this test.
25685 Here is a matrix of mmap possibilities:
25686 mmap private not fixed
25687 mmap private fixed at somewhere currently unmapped
25688 mmap private fixed at somewhere already mapped
25689 mmap shared not fixed
25690 mmap shared fixed at somewhere currently unmapped
25691 mmap shared fixed at somewhere already mapped
25692 For private mappings, we should verify that changes cannot be read()
25693 back from the file, nor mmap's back from the file at a different
25694 address. (There have been systems where private was not correctly
25695 implemented like the infamous i386 svr4.0, and systems where the
25696 VM page cache was not coherent with the file system buffer cache
25697 like early versions of FreeBSD and possibly contemporary NetBSD.)
25698 For shared mappings, we should conversely verify that changes get
25699 propagated back to all the places they're supposed to be.
25701 Grep wants private fixed already mapped.
25702 The main things grep needs to know about mmap are:
25703 * does it exist and is it safe to write into the mmap'd area
25704 * how to use it (BSD variants) */
25707 #include <sys/mman.h>
25709 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
25713 /* This mess was copied from the GNU getpagesize.h. */
25714 #ifndef HAVE_GETPAGESIZE
25715 /* Assume that all systems that can run configure have sys/param.h. */
25716 # ifndef HAVE_SYS_PARAM_H
25717 # define HAVE_SYS_PARAM_H 1
25720 # ifdef _SC_PAGESIZE
25721 # define getpagesize() sysconf(_SC_PAGESIZE)
25722 # else /* no _SC_PAGESIZE */
25723 # ifdef HAVE_SYS_PARAM_H
25724 # include <sys/param.h>
25725 # ifdef EXEC_PAGESIZE
25726 # define getpagesize() EXEC_PAGESIZE
25727 # else /* no EXEC_PAGESIZE */
25729 # define getpagesize() NBPG * CLSIZE
25732 # endif /* no CLSIZE */
25733 # else /* no NBPG */
25735 # define getpagesize() NBPC
25736 # else /* no NBPC */
25738 # define getpagesize() PAGESIZE
25739 # endif /* PAGESIZE */
25740 # endif /* no NBPC */
25741 # endif /* no NBPG */
25742 # endif /* no EXEC_PAGESIZE */
25743 # else /* no HAVE_SYS_PARAM_H */
25744 # define getpagesize() 8192 /* punt totally */
25745 # endif /* no HAVE_SYS_PARAM_H */
25746 # endif /* no _SC_PAGESIZE */
25748 #endif /* no HAVE_GETPAGESIZE */
25753 char *data, *data2, *data3;
25757 pagesize = getpagesize ();
25759 /* First, make a file with some known garbage in it. */
25760 data = (char *) malloc (pagesize);
25763 for (i = 0; i < pagesize; ++i)
25764 *(data + i) = rand ();
25766 fd = creat ("conftest.mmap", 0600);
25769 if (write (fd, data, pagesize) != pagesize)
25773 /* Next, try to mmap the file at a fixed address which already has
25774 something else allocated at it. If we can, also make sure that
25775 we see the same garbage. */
25776 fd = open ("conftest.mmap", O_RDWR);
25779 data2 = (char *) malloc (2 * pagesize);
25782 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
25783 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
25784 MAP_PRIVATE | MAP_FIXED, fd, 0L))
25786 for (i = 0; i < pagesize; ++i)
25787 if (*(data + i) != *(data2 + i))
25790 /* Finally, make sure that changes to the mapped area do not
25791 percolate back to the file as seen by read(). (This is a bug on
25792 some variants of i386 svr4.0.) */
25793 for (i = 0; i < pagesize; ++i)
25794 *(data2 + i) = *(data2 + i) + 1;
25795 data3 = (char *) malloc (pagesize);
25798 if (read (fd, data3, pagesize) != pagesize)
25800 for (i = 0; i < pagesize; ++i)
25801 if (*(data + i) != *(data3 + i))
25807 rm -f conftest$ac_exeext
25808 if { (ac_try="$ac_link"
25809 case "(($ac_try" in
25810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25811 *) ac_try_echo
=$ac_try;;
25813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25814 (eval "$ac_link") 2>&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25818 { (case "(($ac_try" in
25819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25820 *) ac_try_echo=$ac_try;;
25822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25823 (eval "$ac_try") 2>&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); }; }; then
25827 ac_cv_func_mmap_fixed_mapped=yes
25829 echo "$as_me: program exited with status $ac_status" >&5
25830 echo "$as_me: failed program was:" >&5
25831 sed 's/^/| /' conftest.$ac_ext >&5
25833 ( exit $ac_status )
25834 ac_cv_func_mmap_fixed_mapped=no
25836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25841 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
25842 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
25843 if test $ac_cv_func_mmap_fixed_mapped = yes; then
25845 cat >>confdefs.h <<\_ACEOF
25846 #define HAVE_MMAP 1
25850 rm -f conftest.mmap
25853 { echo "$as_me:$LINENO: checking for /dev/poll" >&5
25854 echo $ECHO_N "checking for /dev/poll... $ECHO_C" >&6; }
25855 if test -c "/dev/poll"; then
25856 { echo "$as_me:$LINENO: result: yes" >&5
25857 echo "${ECHO_T}yes" >&6; }
25859 cat >>confdefs.h <<\_ACEOF
25860 #define HAVE_DEVPOLL 1
25864 { echo "$as_me:$LINENO: result: no" >&5
25865 echo "${ECHO_T}no" >&6; }
25869 if test "$is_mingw" = "yes"; then
25871 cat >>confdefs.h <<\_ACEOF
25872 #define HAVE_WIN32 1
25878 { echo "$as_me:$LINENO: checking for OpenSSL" >&5
25879 echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; }
25880 # Check whether --enable-openssl was given.
25881 if test "${enable_openssl+set}" = set; then
25882 enableval=$enable_openssl; cf_enable_openssl=$enableval
25884 cf_enable_openssl="auto"
25888 if test "$cf_enable_openssl" != "no" ; then
25889 cf_openssl_basedir=""
25890 if test "$cf_enable_openssl" != "auto" &&
25891 test "$cf_enable_openssl" != "yes" ; then
25892 cf_openssl_basedir="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
25894 for dirs in /usr/local/ssl /usr/pkg /usr/local \
25895 /usr/local/openssl ; do
25896 if test -f "${dirs}/include/openssl/opensslv.h" ; then
25897 cf_openssl_basedir="${dirs}"
25903 if test ! -z "$cf_openssl_basedir"; then
25904 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
25905 SSL_INCLUDES="-I${cf_openssl_basedir}/include"
25906 SSL_LIBS="-L${cf_openssl_basedir}/lib"
25908 cf_openssl_basedir=""
25911 if test -f "/usr/include/openssl/opensslv.h" ; then
25912 cf_openssl_basedir="/usr"
25916 if test ! -z "$cf_openssl_basedir"; then
25917 { echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5
25918 echo "${ECHO_T}$cf_openssl_basedir" >&6; }
25919 cf_enable_openssl="yes"
25921 { echo "$as_me:$LINENO: result: not found. Specify a correct path?" >&5
25922 echo "${ECHO_T}not found. Specify a correct path?" >&6; }
25923 cf_enable_openssl="no"
25925 unset cf_openssl_basedir
25927 { echo "$as_me:$LINENO: result: disabled" >&5
25928 echo "${ECHO_T}disabled" >&6; }
25931 save_CPPFLAGS="$CPPFLAGS"
25932 CPPFLAGS="$CPPFLAGS $SSL_INCLUDES"
25934 LIBS="$LIBS $SSL_LIBS"
25935 if test "$cf_enable_openssl" != no; then
25936 { echo "$as_me:$LINENO: checking for OpenSSL 0.9.7 or above" >&5
25937 echo $ECHO_N "checking for OpenSSL 0.9.7 or above... $ECHO_C" >&6; }
25938 if test "$cross_compiling" = yes; then
25939 cf_enable_openssl=no
25941 cat >conftest.$ac_ext <<_ACEOF
25944 cat confdefs.h >>conftest.$ac_ext
25945 cat >>conftest.$ac_ext <<_ACEOF
25946 /* end confdefs.h. */
25947 #include <openssl/opensslv.h>
25948 #include <stdlib.h>
25952 if (OPENSSL_VERSION_NUMBER >= 0x00907000)
25953 exit(0); else exit(1);
25958 rm -f conftest$ac_exeext
25959 if { (ac_try="$ac_link"
25960 case "(($ac_try" in
25961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25962 *) ac_try_echo
=$ac_try;;
25964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25965 (eval "$ac_link") 2>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25969 { (case "(($ac_try" in
25970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25971 *) ac_try_echo=$ac_try;;
25973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25974 (eval "$ac_try") 2>&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); }; }; then
25978 cf_enable_openssl=yes
25980 echo "$as_me: program exited with status $ac_status" >&5
25981 echo "$as_me: failed program was:" >&5
25982 sed 's/^/| /' conftest.$ac_ext >&5
25984 ( exit $ac_status )
25985 cf_enable_openssl=no
25987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25992 if test "$cf_enable_openssl" != no; then
25993 { echo "$as_me:$LINENO: result: found" >&5
25994 echo "${ECHO_T}found" >&6; }
25996 { echo "$as_me:$LINENO: result: no - OpenSSL support disabled" >&5
25997 echo "${ECHO_T}no - OpenSSL support disabled" >&6; }
26003 if test "$cf_enable_openssl" != no; then
26004 CPPFLAGS="$CPPFLAGS $SSL_LIBS"
26005 { echo "$as_me:$LINENO: checking for RAND_status in -lcrypto" >&5
26006 echo $ECHO_N "checking for RAND_status in -lcrypto... $ECHO_C" >&6; }
26007 if test "${ac_cv_lib_crypto_RAND_status+set}" = set; then
26008 echo $ECHO_N "(cached) $ECHO_C" >&6
26010 ac_check_lib_save_LIBS=$LIBS
26011 LIBS="-lcrypto $LIBS"
26012 cat >conftest.$ac_ext <<_ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26019 /* Override any GCC internal prototype to avoid an error.
26020 Use char because int might match the return type of a GCC
26021 builtin and then its argument prototype would still apply. */
26025 char RAND_status ();
26029 return RAND_status ();
26034 rm -f conftest.$ac_objext conftest$ac_exeext
26035 if { (ac_try="$ac_link"
26036 case "(($ac_try" in
26037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26038 *) ac_try_echo
=$ac_try;;
26040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26041 (eval "$ac_link") 2>conftest.er1
26043 grep -v '^ *+' conftest.er1
>conftest.err
26045 cat conftest.err
>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); } && {
26048 test -z "$ac_c_werror_flag" ||
26049 test ! -s conftest.err
26050 } && test -s conftest
$ac_exeext &&
26051 $as_test_x conftest
$ac_exeext; then
26052 ac_cv_lib_crypto_RAND_status
=yes
26054 echo "$as_me: failed program was:" >&5
26055 sed 's/^/| /' conftest.
$ac_ext >&5
26057 ac_cv_lib_crypto_RAND_status
=no
26060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26061 conftest
$ac_exeext conftest.
$ac_ext
26062 LIBS
=$ac_check_lib_save_LIBS
26064 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RAND_status" >&5
26065 echo "${ECHO_T}$ac_cv_lib_crypto_RAND_status" >&6; }
26066 if test $ac_cv_lib_crypto_RAND_status = yes; then
26067 cf_enable_openssl
=yes
26069 cf_enable_openssl
=no
26075 if test "$cf_enable_openssl" != no
; then
26076 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
26077 { echo "$as_me:$LINENO: checking for SSL_read in -lssl" >&5
26078 echo $ECHO_N "checking for SSL_read in -lssl... $ECHO_C" >&6; }
26079 if test "${ac_cv_lib_ssl_SSL_read+set}" = set; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26082 ac_check_lib_save_LIBS
=$LIBS
26083 LIBS
="-lssl -lcrypto $LIBS"
26084 cat >conftest.
$ac_ext <<_ACEOF
26087 cat confdefs.h
>>conftest.
$ac_ext
26088 cat >>conftest.
$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26091 /* Override any GCC internal prototype to avoid an error.
26092 Use char because int might match the return type of a GCC
26093 builtin and then its argument prototype would still apply. */
26101 return SSL_read ();
26106 rm -f conftest.
$ac_objext conftest
$ac_exeext
26107 if { (ac_try
="$ac_link"
26108 case "(($ac_try" in
26109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26110 *) ac_try_echo=$ac_try;;
26112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26113 (eval "$ac_link") 2>conftest.er1
26115 grep -v '^ *+' conftest.er1 >conftest.err
26117 cat conftest.err >&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); } && {
26120 test -z "$ac_c_werror_flag" ||
26121 test ! -s conftest.err
26122 } && test -s conftest$ac_exeext &&
26123 $as_test_x conftest$ac_exeext; then
26124 ac_cv_lib_ssl_SSL_read=yes
26126 echo "$as_me: failed program was:" >&5
26127 sed 's/^/| /' conftest.$ac_ext >&5
26129 ac_cv_lib_ssl_SSL_read=no
26132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26133 conftest$ac_exeext conftest.$ac_ext
26134 LIBS=$ac_check_lib_save_LIBS
26136 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_read" >&5
26137 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_read" >&6; }
26138 if test $ac_cv_lib_ssl_SSL_read = yes; then
26139 SSL_LIBS="-lssl -lcrypto"
26141 cf_enable_openssl=no
26146 if test "$cf_enable_openssl" != no; then
26148 cat >>confdefs.h <<\_ACEOF
26149 #define HAVE_OPENSSL 1
26155 CPPFLAGS="$save_CPPFLAGS"
26163 # Check whether --enable-assert was given.
26164 if test "${enable_assert+set}" = set; then
26165 enableval=$enable_assert; assert=$enableval
26171 if test "$assert" = no; then
26173 cat >>confdefs.h <<\_ACEOF
26177 elif test "$assert" = soft; then
26179 cat >>confdefs.h <<\_ACEOF
26180 #define SOFT_ASSERT 1
26184 cat >>confdefs.h <<\_ACEOF
26188 elif test "$assert" = yes; then
26192 { echo "$as_me:$LINENO: checking if you want to do a profile build" >&5
26193 echo $ECHO_N "checking if you want to do a profile build... $ECHO_C" >&6; }
26194 # Check whether --enable-profile was given.
26195 if test "${enable_profile+set}" = set; then
26196 enableval=$enable_profile; profile=$enableval
26202 if test "$profile" = yes; then
26203 if test "$ac_cv_c_compiler_gnu" = yes; then
26204 CFLAGS="$CFLAGS -pg -static"
26205 { echo "$as_me:$LINENO: result: yes, adding -pg -static" >&5
26206 echo "${ECHO_T}yes, adding -pg -static" >&6; }
26208 cat >>confdefs.h <<\_ACEOF
26209 #define RATBOX_PROFILE 1
26213 { echo "$as_me:$LINENO: result: no, profile builds only work with gcc" >&5
26214 echo "${ECHO_T}no, profile builds only work with gcc" >&6; }
26217 { echo "$as_me:$LINENO: result: no" >&5
26218 echo "${ECHO_T}no" >&6; }
26221 # Check whether --enable-balloc was given.
26222 if test "${enable_balloc+set}" = set; then
26223 enableval=$enable_balloc; balloc=$enableval
26229 if test "$balloc" = no; then
26231 cat >>confdefs.h <<\_ACEOF
26237 # Check whether --enable-warnings was given.
26238 if test "${enable_warnings+set}" = set; then
26239 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"
26251 if test "$prefix" = "NONE"; then
26253 cat >>confdefs.h <<_ACEOF
26254 #define RB_PREFIX "$ac_default_prefix"
26261 prefix=`echo $prefix | sed 's/\/$//'`
26263 cat >>confdefs.h <<_ACEOF
26264 #define RB_PREFIX "$prefix"
26272 for dtype in uint64_t uint32_t uint16_t uint8_t int64_t int32_t int16_t int8_t intmax_t intptr_t uintmax_t uintptr_t
26274 var="\$ac_cv_c_${dtype}"
26275 t_type=$(eval echo $var);
26276 if test "x$t_type" = "xyes"; then
26277 eval rb_$dtype="\"$dtype\""
26279 eval rb_$dtype="\"$t_type\""
26283 ac_config_commands="$ac_config_commands include/librb-config.h"
26287 ac_config_files="$ac_config_files src/Makefile Makefile"
26290 cat >confcache <<\_ACEOF
26291 # This file is a shell script that caches the results of configure
26292 # tests run on this system so they can be shared between configure
26293 # scripts and configure runs, see configure's option --config-cache.
26294 # It is not useful on other systems. If it contains results you don't
26295 # want to keep, you may remove or edit it.
26297 # config.status only pays attention to the cache file if you give it
26298 # the --recheck option to rerun configure.
26300 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
26301 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26302 # following values.
26306 # The following way of writing the cache mishandles newlines in values,
26307 # but we know of no workaround that is simple, portable, and efficient.
26308 # So, we kill variables containing newlines.
26309 # Ultrix sh set writes to stderr and can't be redirected directly,
26310 # and sets the high bit in the cache file unless we assign to the vars.
26312 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26313 eval ac_val
=\$
$ac_var
26317 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26318 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26321 _
| IFS
| as_nl
) ;; #(
26322 *) $as_unset $ac_var ;;
26328 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26329 *${as_nl}ac_space
=\
*)
26330 # `set' does not quote correctly, so add quotes (double-quote
26331 # substitution turns \\\\ into \\, and sed turns \\ into \).
26334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26337 # `set' quotes correctly as required by POSIX, so do not add quotes.
26338 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26347 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26349 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26351 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26352 if test -w "$cache_file"; then
26353 test "x$cache_file" != "x/dev/null" &&
26354 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26355 echo "$as_me: updating cache $cache_file" >&6;}
26356 cat confcache
>$cache_file
26358 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26359 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26364 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26365 # Let make expand exec_prefix.
26366 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26368 DEFS
=-DHAVE_CONFIG_H
26372 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26373 # 1. Remove the extension, and $U if already installed.
26374 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26375 ac_i
=`echo "$ac_i" | sed "$ac_script"`
26376 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26377 # will be set to the directory where LIBOBJS objects are built.
26378 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26379 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
26381 LIBOBJS
=$ac_libobjs
26383 LTLIBOBJS
=$ac_ltlibobjs
26386 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26387 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
26388 Usually this means the macro was only invoked conditionally." >&5
26389 echo "$as_me: error: conditional \"AMDEP\" was never defined.
26390 Usually this means the macro was only invoked conditionally." >&2;}
26391 { (exit 1); exit 1; }; }
26393 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26394 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26395 Usually this means the macro was only invoked conditionally." >&5
26396 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26397 Usually this means the macro was only invoked conditionally." >&2;}
26398 { (exit 1); exit 1; }; }
26400 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26401 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
26402 Usually this means the macro was only invoked conditionally." >&5
26403 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
26404 Usually this means the macro was only invoked conditionally." >&2;}
26405 { (exit 1); exit 1; }; }
26407 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26408 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
26409 Usually this means the macro was only invoked conditionally." >&5
26410 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
26411 Usually this means the macro was only invoked conditionally." >&2;}
26412 { (exit 1); exit 1; }; }
26414 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
26415 { { echo "$as_me:$LINENO: error: conditional \"MINGW\" was never defined.
26416 Usually this means the macro was only invoked conditionally." >&5
26417 echo "$as_me: error: conditional \"MINGW\" was never defined.
26418 Usually this means the macro was only invoked conditionally." >&2;}
26419 { (exit 1); exit 1; }; }
26421 if test -z "${NEED_CRYPT_TRUE}" && test -z "${NEED_CRYPT_FALSE}"; then
26422 { { echo "$as_me:$LINENO: error: conditional \"NEED_CRYPT\" was never defined.
26423 Usually this means the macro was only invoked conditionally." >&5
26424 echo "$as_me: error: conditional \"NEED_CRYPT\" was never defined.
26425 Usually this means the macro was only invoked conditionally." >&2;}
26426 { (exit 1); exit 1; }; }
26429 : ${CONFIG_STATUS=./config.status}
26430 ac_clean_files_save
=$ac_clean_files
26431 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26432 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
26433 echo "$as_me: creating $CONFIG_STATUS" >&6;}
26434 cat >$CONFIG_STATUS <<_ACEOF
26436 # Generated by $as_me.
26437 # Run this file to recreate the current configuration.
26438 # Compiler output produced by configure, useful for debugging
26439 # configure, is in config.log if it exists.
26442 ac_cs_recheck=false
26444 SHELL=\${CONFIG_SHELL-$SHELL}
26447 cat >>$CONFIG_STATUS <<\_ACEOF
26448 ## --------------------- ##
26449 ## M4sh Initialization. ##
26450 ## --------------------- ##
26452 # Be more Bourne compatible
26453 DUALCASE
=1; export DUALCASE
# for MKS sh
26454 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
26457 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26458 # is contrary to our usage. Disable this feature.
26459 alias -g '${1+"$@"}'='"$@"'
26460 setopt NO_GLOB_SUBST
26462 case `(set -o) 2>/dev/null` in
26463 *posix
*) set -o posix
;;
26472 # Avoid depending upon Character Ranges.
26473 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26474 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26475 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26476 as_cr_digits
='0123456789'
26477 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26479 # The user is always right.
26480 if test "${PATH_SEPARATOR+set}" != set; then
26481 echo "#! /bin/sh" >conf$$.sh
26482 echo "exit 0" >>conf$$.sh
26484 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
26492 # Support unset when possible.
26493 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
26501 # We need space, tab and new line, in precisely that order. Quoting is
26502 # there to prevent editors from complaining about space-tab.
26503 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26504 # splitting by setting IFS to empty value.)
26509 # Find who we are. Look in the path if we contain no directory separator.
26511 *[\\/]* ) as_myself
=$0 ;;
26512 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26513 for as_dir
in $PATH
26516 test -z "$as_dir" && as_dir
=.
26517 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
26523 # We did not find ourselves, most probably we were run as `sh COMMAND'
26524 # in which case we are not to be found in the path.
26525 if test "x$as_myself" = x
; then
26528 if test ! -f "$as_myself"; then
26529 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26530 { (exit 1); exit 1; }
26533 # Work around bugs in pre-3.0 UWIN ksh.
26534 for as_var
in ENV MAIL MAILPATH
26535 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
26543 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26544 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26545 LC_TELEPHONE LC_TIME
26547 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26548 eval $as_var=C
; export $as_var
26550 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
26554 # Required to use basename.
26555 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26556 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26562 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26563 as_basename
=basename
26569 # Name of the executable.
26570 as_me
=`$as_basename -- "$0" ||
26571 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26572 X"$0" : 'X\(//\)$' \| \
26573 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26575 sed '/^.*\/\([^/][^/]*\)\/*$/{
26594 as_lineno_1
=$LINENO
26595 as_lineno_2
=$LINENO
26596 test "x$as_lineno_1" != "x$as_lineno_2" &&
26597 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26599 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26600 # uniformly replaced by the line number. The first 'sed' inserts a
26601 # line-number line after each line using $LINENO; the second 'sed'
26602 # does the real work. The second script uses 'N' to pair each
26603 # line-number line with the line containing $LINENO, and appends
26604 # trailing '-' during substitution so that $LINENO is not a special
26605 # case at line end.
26606 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26607 # scripts with optimization help from Paolo Bonzini. Blame Lee
26608 # E. McMahon (1931-1989) for sed's syntax. :-)
26620 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26623 ' >$as_me.lineno
&&
26624 chmod +x
"$as_me.lineno" ||
26625 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26626 { (exit 1); exit 1; }; }
26628 # Don't try to exec as it changes $[0], causing all sort of problems
26629 # (the dirname of $[0] is not the place where we might find the
26630 # original and so on. Autoconf is especially sensitive to this).
26631 .
"./$as_me.lineno"
26632 # Exit status is that of the last command.
26637 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26643 ECHO_C
= ECHO_N
= ECHO_T
=
26644 case `echo -n x` in
26646 case `echo 'x\c'` in
26647 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26654 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26655 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26661 rm -f conf$$ conf$$.exe conf$$.
file
26662 if test -d conf$$.dir
; then
26663 rm -f conf$$.dir
/conf$$.
file
26669 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26671 # ... but there are two gotchas:
26672 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26673 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26674 # In both cases, we have to default to `cp -p'.
26675 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
26677 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26682 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26683 rmdir conf$$.dir
2>/dev
/null
26685 if mkdir -p .
2>/dev
/null
; then
26688 test -d .
/-p && rmdir .
/-p
26692 if test -x / >/dev
/null
2>&1; then
26693 as_test_x
='test -x'
26695 if ls -dL / >/dev
/null
2>&1; then
26702 if test -d "$1"; then
26708 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26709 ???[sx]*):;;*)false;;esac;fi
26713 as_executable_p
=$as_test_x
26715 # Sed expression to map a string onto a valid CPP name.
26716 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26718 # Sed expression to map a string onto a valid variable name.
26719 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26724 # Save the log message, to keep $[0] and so on meaningful, and to
26725 # report actual input values of CONFIG_FILES etc. instead of their
26726 # values after options handling.
26728 This file was extended by libratbox $as_me devel, which was
26729 generated by GNU Autoconf 2.61. Invocation command line was
26731 CONFIG_FILES = $CONFIG_FILES
26732 CONFIG_HEADERS = $CONFIG_HEADERS
26733 CONFIG_LINKS = $CONFIG_LINKS
26734 CONFIG_COMMANDS = $CONFIG_COMMANDS
26737 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26742 cat >>$CONFIG_STATUS <<_ACEOF
26743 # Files that config.status was made for.
26744 config_files="$ac_config_files"
26745 config_headers="$ac_config_headers"
26746 config_commands="$ac_config_commands"
26750 cat >>$CONFIG_STATUS <<\_ACEOF
26752 \`$as_me' instantiates files from templates according to the
26753 current configuration.
26755 Usage: $0 [OPTIONS] [FILE]...
26757 -h, --help print this help, then exit
26758 -V, --version print version number and configuration settings, then exit
26759 -q, --quiet do not print progress messages
26760 -d, --debug don't remove temporary files
26761 --recheck update $as_me by reconfiguring in the same conditions
26762 --file=FILE[:TEMPLATE]
26763 instantiate the configuration file FILE
26764 --header=FILE[:TEMPLATE]
26765 instantiate the configuration header FILE
26767 Configuration files:
26770 Configuration headers:
26773 Configuration commands:
26776 Report bugs to <bug-autoconf@gnu.org>."
26779 cat >>$CONFIG_STATUS <<_ACEOF
26781 libratbox config.status devel
26782 configured by $0, generated by GNU Autoconf 2.61,
26783 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26785 Copyright (C) 2006 Free Software Foundation, Inc.
26786 This config.status script is free software; the Free Software Foundation
26787 gives unlimited permission to copy, distribute and modify it."
26795 cat >>$CONFIG_STATUS <<\_ACEOF
26796 # If no file are specified by the user, then we need to provide default
26797 # value. By we need to know if files were specified by the user.
26803 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
26804 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
26815 # Handling of the options.
26816 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26818 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26819 echo "$ac_cs_version"; exit ;;
26820 --debug | --debu | --deb | --de | --d | -d )
26822 --file | --fil | --fi | --f )
26824 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
26825 ac_need_defaults
=false
;;
26826 --header | --heade | --head | --hea )
26828 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
26829 ac_need_defaults
=false
;;
26831 # Conflict between --help and --header
26832 { echo "$as_me: error: ambiguous option: $1
26833 Try \`$0 --help' for more information." >&2
26834 { (exit 1); exit 1; }; };;
26835 --help | --hel | -h )
26836 echo "$ac_cs_usage"; exit ;;
26837 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26838 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26841 # This is an error.
26842 -*) { echo "$as_me: error: unrecognized option: $1
26843 Try \`$0 --help' for more information." >&2
26844 { (exit 1); exit 1; }; } ;;
26846 *) ac_config_targets
="$ac_config_targets $1"
26847 ac_need_defaults
=false
;;
26853 ac_configure_extra_args
=
26855 if $ac_cs_silent; then
26857 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26861 cat >>$CONFIG_STATUS <<_ACEOF
26862 if \$ac_cs_recheck; then
26863 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26864 CONFIG_SHELL=$SHELL
26865 export CONFIG_SHELL
26866 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26870 cat >>$CONFIG_STATUS <<\_ACEOF
26874 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26875 ## Running $as_me. ##
26881 cat >>$CONFIG_STATUS <<_ACEOF
26885 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26887 rb_uint64_t="$rb_uint64_t"
26888 rb_uint32_t="$rb_uint32_t"
26889 rb_uint16_t="$rb_uint16_t"
26890 rb_uint8_t="$rb_uint8_t"
26891 rb_int64_t="$rb_int64_t"
26892 rb_int32_t="$rb_int32_t"
26893 rb_int16_t="$rb_int16_t"
26894 rb_int8_t="$rb_int8_t"
26895 rb_intmax_t="$rb_intmax_t"
26896 rb_intptr_t="$rb_intptr_t"
26897 rb_uintmax_t="$rb_uintmax_t"
26898 rb_uintptr_t="$rb_uintptr_t"
26899 if test x$ac_cv_header_stdc = xyes; then
26902 if test x$ac_cv_header_stdlib_h = xyes; then
26903 rb_header_stdlib_h=yes
26905 if test x$ac_cv_header_string_h = xyes; then
26906 rb_header_string_h=yes
26908 if test x$ac_cv_header_memory_h = xyes; then
26909 rb_header_memory_h=yes
26911 if test "x${ac_cv_working_alloca_h+set}" = xset ; then
26912 rb_alloca_h="$ac_cv_working_alloca_h"
26914 rb_alloc_h="$ac_cv_header_alloca_h"
26916 if test x$ac_cv_member_struct_sockaddr_sa_len = xyes; then
26917 rb_sockaddr_sa_len=yes
26919 if test x$ac_cv_header_sys_socket_h = xyes; then
26920 rb_sys_socket_h=yes
26922 if test x$ac_cv_header_sys_types_h = xyes; then
26925 if test x$ac_cv_header_sys_stat_h = xyes; then
26928 if test x$ac_cv_header_sys_time_h = xyes; then
26931 if test x$ac_cv_header_time = xyes; then
26935 if test x$ac_cv_header_stdint_h = xyes; then
26938 if test x$ac_cv_header_inttypes_h = xyes; then
26941 if test x$ac_cv_header_netinet_in_h = xyes; then
26942 rb_netinet_in_h=yes
26945 if test x$ac_cv_header_crypt_h = xyes; then
26948 if test x$ac_cv_header_errno_h = xyes; then
26951 if test x$ac_cv_header_unistd_h = xyes; then
26954 if test x$ac_cv_header_windows_h = xyes; then
26957 if test x$ac_cv_header_winsock2_h = xyes; then
26960 if test x$ac_cv_type_socklen_t = xyes; then
26961 rb_socklen_t="socklen_t"
26963 rb_socklen_t="unsigned int"
26965 if test "x$rb_have_sockaddr_storage" = "xyes"; then
26966 rb_sockaddr_storage="yes"
26968 rb_sockaddr_storage="no"
26971 rb_have_ipv6="$have_v6"
26983 cat >>$CONFIG_STATUS <<\_ACEOF
26985 # Handling of arguments.
26986 for ac_config_target
in $ac_config_targets
26988 case $ac_config_target in
26989 "include/libratbox_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/libratbox_config.h" ;;
26990 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26991 "include/librb-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/librb-config.h" ;;
26992 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
26993 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26995 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26996 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26997 { (exit 1); exit 1; }; };;
27002 # If the user did not use the arguments to specify the items to instantiate,
27003 # then the envvar interface is used. Set only those that are not.
27004 # We use the long form for the default assignment because of an extremely
27005 # bizarre bug on SunOS 4.1.3.
27006 if $ac_need_defaults; then
27007 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27008 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27009 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27012 # Have a temporary directory for convenience. Make it in the build tree
27013 # simply because there is no reason against having it here, and in addition,
27014 # creating and moving files from /tmp can sometimes cause problems.
27015 # Hook for its removal unless debugging.
27016 # Note that there is a small window in which the directory will not be cleaned:
27017 # after its creation but before its name has been assigned to `$tmp'.
27021 trap 'exit_status=$?
27022 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27024 trap '{ (exit 1); exit 1; }' 1 2 13 15
27026 # Create a (secure) tmp directory for tmp files.
27029 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27030 test -n "$tmp" && test -d "$tmp"
27033 tmp
=.
/conf$$
-$RANDOM
27034 (umask 077 && mkdir "$tmp")
27037 echo "$me: cannot create a temporary directory in ." >&2
27038 { (exit 1); exit 1; }
27042 # Set up the sed scripts for CONFIG_FILES section.
27045 # No need to generate the scripts if there are no CONFIG_FILES.
27046 # This happens for instance when ./config.status config.h
27047 if test -n "$CONFIG_FILES"; then
27054 for ac_last_try
in false false false false false
:; do
27055 cat >conf$
$subs.
sed <<_ACEOF
27056 SHELL!$SHELL$ac_delim
27057 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
27058 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
27059 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
27060 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
27061 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
27062 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
27063 exec_prefix!$exec_prefix$ac_delim
27064 prefix!$prefix$ac_delim
27065 program_transform_name!$program_transform_name$ac_delim
27066 bindir!$bindir$ac_delim
27067 sbindir!$sbindir$ac_delim
27068 libexecdir!$libexecdir$ac_delim
27069 datarootdir!$datarootdir$ac_delim
27070 datadir!$datadir$ac_delim
27071 sysconfdir!$sysconfdir$ac_delim
27072 sharedstatedir!$sharedstatedir$ac_delim
27073 localstatedir!$localstatedir$ac_delim
27074 includedir!$includedir$ac_delim
27075 oldincludedir!$oldincludedir$ac_delim
27076 docdir!$docdir$ac_delim
27077 infodir!$infodir$ac_delim
27078 htmldir!$htmldir$ac_delim
27079 dvidir!$dvidir$ac_delim
27080 pdfdir!$pdfdir$ac_delim
27081 psdir!$psdir$ac_delim
27082 libdir!$libdir$ac_delim
27083 localedir!$localedir$ac_delim
27084 mandir!$mandir$ac_delim
27085 DEFS!$DEFS$ac_delim
27086 ECHO_C!$ECHO_C$ac_delim
27087 ECHO_N!$ECHO_N$ac_delim
27088 ECHO_T!$ECHO_T$ac_delim
27089 LIBS!$LIBS$ac_delim
27090 build_alias!$build_alias$ac_delim
27091 host_alias!$host_alias$ac_delim
27092 target_alias!$target_alias$ac_delim
27093 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
27094 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
27095 INSTALL_DATA!$INSTALL_DATA$ac_delim
27096 am__isrc!$am__isrc$ac_delim
27097 CYGPATH_W!$CYGPATH_W$ac_delim
27098 PACKAGE!$PACKAGE$ac_delim
27099 VERSION!$VERSION$ac_delim
27100 ACLOCAL!$ACLOCAL$ac_delim
27101 AUTOCONF!$AUTOCONF$ac_delim
27102 AUTOMAKE!$AUTOMAKE$ac_delim
27103 AUTOHEADER!$AUTOHEADER$ac_delim
27104 MAKEINFO!$MAKEINFO$ac_delim
27105 install_sh!$install_sh$ac_delim
27106 STRIP!$STRIP$ac_delim
27107 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
27108 mkdir_p!$mkdir_p$ac_delim
27110 SET_MAKE!$SET_MAKE$ac_delim
27111 am__leading_dot!$am__leading_dot$ac_delim
27112 AMTAR!$AMTAR$ac_delim
27113 am__tar!$am__tar$ac_delim
27114 am__untar!$am__untar$ac_delim
27116 CFLAGS!$CFLAGS$ac_delim
27117 LDFLAGS!$LDFLAGS$ac_delim
27118 CPPFLAGS!$CPPFLAGS$ac_delim
27119 ac_ct_CC!$ac_ct_CC$ac_delim
27120 EXEEXT!$EXEEXT$ac_delim
27121 OBJEXT!$OBJEXT$ac_delim
27122 DEPDIR!$DEPDIR$ac_delim
27123 am__include!$am__include$ac_delim
27124 am__quote!$am__quote$ac_delim
27125 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
27126 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
27127 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
27128 CCDEPMODE!$CCDEPMODE$ac_delim
27129 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
27130 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
27131 GREP!$GREP$ac_delim
27132 EGREP!$EGREP$ac_delim
27134 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
27135 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
27136 MAINT!$MAINT$ac_delim
27144 RANLIB!$RANLIB$ac_delim
27145 TOUCH!$TOUCH$ac_delim
27146 build!$build$ac_delim
27147 build_cpu!$build_cpu$ac_delim
27148 build_vendor!$build_vendor$ac_delim
27149 build_os!$build_os$ac_delim
27150 host!$host$ac_delim
27151 host_cpu!$host_cpu$ac_delim
27152 host_vendor!$host_vendor$ac_delim
27155 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
27157 elif $ac_last_try; then
27158 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27159 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27160 { (exit 1); exit 1; }; }
27162 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
27166 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27167 if test -n "$ac_eof"; then
27168 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
27169 ac_eof
=`expr $ac_eof + 1`
27172 cat >>$CONFIG_STATUS <<_ACEOF
27173 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
27174 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27177 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27178 s/^/s,@/; s/!/@,|#_!!_#|/
27181 s/'"$ac_delim"'$/,g/; t
27183 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27184 ' >>$CONFIG_STATUS <conf$
$subs.
sed
27185 rm -f conf$
$subs.
sed
27186 cat >>$CONFIG_STATUS <<_ACEOF
27192 for ac_last_try
in false false false false false
:; do
27193 cat >conf$
$subs.
sed <<_ACEOF
27194 host_os!$host_os$ac_delim
27195 LN_S!$LN_S$ac_delim
27196 ECHO!$ECHO$ac_delim
27197 DSYMUTIL!$DSYMUTIL$ac_delim
27198 NMEDIT!$NMEDIT$ac_delim
27201 CXXFLAGS!$CXXFLAGS$ac_delim
27202 ac_ct_CXX!$ac_ct_CXX$ac_delim
27203 CXXDEPMODE!$CXXDEPMODE$ac_delim
27204 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
27205 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
27206 CXXCPP!$CXXCPP$ac_delim
27208 FFLAGS!$FFLAGS$ac_delim
27209 ac_ct_F77!$ac_ct_F77$ac_delim
27210 LIBTOOL!$LIBTOOL$ac_delim
27211 subdirs!$subdirs$ac_delim
27212 MINGW_TRUE!$MINGW_TRUE$ac_delim
27213 MINGW_FALSE!$MINGW_FALSE$ac_delim
27214 NEED_CRYPT_TRUE!$NEED_CRYPT_TRUE$ac_delim
27215 NEED_CRYPT_FALSE!$NEED_CRYPT_FALSE$ac_delim
27216 CRYPT_LIB!$CRYPT_LIB$ac_delim
27217 ALLOCA!$ALLOCA$ac_delim
27218 PICFLAGS!$PICFLAGS$ac_delim
27219 SEDOBJ!$SEDOBJ$ac_delim
27220 SSL_INCLUDES!$SSL_INCLUDES$ac_delim
27221 SSL_LIBS!$SSL_LIBS$ac_delim
27222 RB_PREFIX!$RB_PREFIX$ac_delim
27223 LIBOBJS!$LIBOBJS$ac_delim
27224 LTLIBOBJS!$LTLIBOBJS$ac_delim
27227 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then
27229 elif $ac_last_try; then
27230 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27231 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27232 { (exit 1); exit 1; }; }
27234 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
27238 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27239 if test -n "$ac_eof"; then
27240 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
27241 ac_eof
=`expr $ac_eof + 1`
27244 cat >>$CONFIG_STATUS <<_ACEOF
27245 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
27246 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
27249 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27250 s/^/s,@/; s/!/@,|#_!!_#|/
27253 s/'"$ac_delim"'$/,g/; t
27255 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27256 ' >>$CONFIG_STATUS <conf$
$subs.
sed
27257 rm -f conf$
$subs.
sed
27258 cat >>$CONFIG_STATUS <<_ACEOF
27265 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27266 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27267 # trailing colons and then remove the whole line if VPATH becomes empty
27268 # (actually we leave an empty line to preserve line numbers).
27269 if test "x$srcdir" = x.
; then
27270 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
27271 s/:*\$(srcdir):*/:/
27272 s/:*\${srcdir}:*/:/
27274 s/^\([^=]*=[ ]*\):*/\1/
27280 cat >>$CONFIG_STATUS <<\_ACEOF
27281 fi # test -n "$CONFIG_FILES"
27284 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
27287 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27289 case $ac_mode$ac_tag in
27291 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27292 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27293 { (exit 1); exit 1; }; };;
27294 :[FH
]-) ac_tag
=-:-;;
27295 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27312 -) ac_f
="$tmp/stdin";;
27313 *) # Look for the file first in the build tree, then in the source tree
27314 # (if the path is not absolute). The absolute path cannot be DOS-style,
27315 # because $ac_f cannot contain `:'.
27319 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27321 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27322 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27323 { (exit 1); exit 1; }; };;
27325 ac_file_inputs
="$ac_file_inputs $ac_f"
27328 # Let's still pretend it is `configure' which instantiates (i.e., don't
27329 # use $as_me), people would be surprised to read:
27330 # /* config.h. Generated by config.status. */
27331 configure_input
="Generated from "`IFS=:
27332 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27333 if test x
"$ac_file" != x
-; then
27334 configure_input
="$ac_file. $configure_input"
27335 { echo "$as_me:$LINENO: creating $ac_file" >&5
27336 echo "$as_me: creating $ac_file" >&6;}
27340 *:-:* | *:-) cat >"$tmp/stdin";;
27345 ac_dir
=`$as_dirname -- "$ac_file" ||
27346 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27347 X"$ac_file" : 'X\(//\)[^/]' \| \
27348 X"$ac_file" : 'X\(//\)$' \| \
27349 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27355 /^X\(\/\/\)[^/].*/{
27370 -*) as_dir
=.
/$as_dir;;
27372 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27376 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27377 *) as_qdir
=$as_dir;;
27379 as_dirs
="'$as_qdir' $as_dirs"
27380 as_dir
=`$as_dirname -- "$as_dir" ||
27381 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27382 X"$as_dir" : 'X\(//\)[^/]' \| \
27383 X"$as_dir" : 'X\(//\)$' \| \
27384 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27390 /^X\(\/\/\)[^/].*/{
27403 test -d "$as_dir" && break
27405 test -z "$as_dirs" || eval "mkdir $as_dirs"
27406 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27407 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27408 { (exit 1); exit 1; }; }; }
27412 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27414 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27415 # A ".." for each directory in $ac_dir_suffix.
27416 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27417 case $ac_top_builddir_sub in
27418 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27419 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27422 ac_abs_top_builddir
=$ac_pwd
27423 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27424 # for backward compatibility:
27425 ac_top_builddir
=$ac_top_build_prefix
27428 .
) # We are building in place.
27430 ac_top_srcdir
=$ac_top_builddir_sub
27431 ac_abs_top_srcdir
=$ac_pwd ;;
27432 [\\/]* | ?
:[\\/]* ) # Absolute name.
27433 ac_srcdir
=$srcdir$ac_dir_suffix;
27434 ac_top_srcdir
=$srcdir
27435 ac_abs_top_srcdir
=$srcdir ;;
27436 *) # Relative name.
27437 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27438 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27439 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27441 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27451 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27452 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
27454 ac_MKDIR_P
=$MKDIR_P
27456 [\\/$
]* | ?
:[\\/]* ) ;;
27457 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
27461 cat >>$CONFIG_STATUS <<\_ACEOF
27462 # If the template does not know about datarootdir, expand it.
27463 # FIXME: This hack should be removed a few years after 2.60.
27464 ac_datarootdir_hack
=; ac_datarootdir_seen
=
27466 case `sed -n '/datarootdir/ {
27475 ' $ac_file_inputs` in
27476 *datarootdir
*) ac_datarootdir_seen
=yes;;
27477 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
27478 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27479 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27481 cat >>$CONFIG_STATUS <<_ACEOF
27482 ac_datarootdir_hack='
27483 s&@datadir@&$datadir&g
27484 s&@docdir@&$docdir&g
27485 s&@infodir@&$infodir&g
27486 s&@localedir@&$localedir&g
27487 s&@mandir@&$mandir&g
27488 s&\\\${datarootdir}&$datarootdir&g' ;;
27492 # Neutralize VPATH when `$srcdir' = `.'.
27493 # Shell code in configure.ac might set extrasub.
27494 # FIXME: do we really want to maintain this feature?
27495 cat >>$CONFIG_STATUS <<_ACEOF
27499 cat >>$CONFIG_STATUS <<\_ACEOF
27501 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
27502 s
&@configure_input@
&$configure_input&;t t
27503 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
27504 s
&@srcdir@
&$ac_srcdir&;t t
27505 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
27506 s
&@top_srcdir@
&$ac_top_srcdir&;t t
27507 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
27508 s
&@builddir@
&$ac_builddir&;t t
27509 s
&@abs_builddir@
&$ac_abs_builddir&;t t
27510 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
27511 s
&@INSTALL@
&$ac_INSTALL&;t t
27512 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
27513 $ac_datarootdir_hack
27514 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
27516 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27517 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
27518 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
27519 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
27520 which seems to be undefined. Please make sure it is defined." >&5
27521 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
27522 which seems to be undefined. Please make sure it is defined." >&2;}
27526 -) cat "$tmp/out"; rm -f "$tmp/out";;
27527 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27536 # Transform confdefs.h into a sed script `conftest.defines', that
27537 # substitutes the proper values into config.h.in to produce config.h.
27538 rm -f conftest.defines conftest.
tail
27539 # First, append a space to every undef/define line, to ease matching.
27540 echo 's/$/ /' >conftest.defines
27541 # Then, protect against being on the right side of a sed subst, or in
27542 # an unquoted here document, in config.status. If some macros were
27543 # called several times there might be several #defines for the same
27544 # symbol, which is useless. But do not sort them, since the last
27545 # AC_DEFINE must be honored.
27546 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
27547 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27548 # NAME is the cpp macro being defined, VALUE is the value it is being given.
27549 # PARAMS is the parameter list in the macro definition--in most cases, it's
27550 # just an empty string.
27551 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27552 ac_dB
='\\)[ (].*,\\1define\\2'
27560 s/^[ ]*#[ ]*define[ ][ ]*//
27565 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27566 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27567 ' >>conftest.defines
27569 # Remove the space that was appended to ease matching.
27570 # Then replace #undef with comments. This is necessary, for
27571 # example, in the case of _POSIX_SOURCE, which is predefined and required
27572 # on some systems where configure will not decide to define it.
27573 # (The regexp can be short, since the line contains either #define or #undef.)
27575 s,^[ #]*u.*,/* & */,' >>conftest.defines
27577 # Break up conftest.defines:
27578 ac_max_sed_lines
=50
27580 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27581 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27582 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27584 ac_in
='$ac_file_inputs'
27585 ac_out
='"$tmp/out1"'
27586 ac_nxt
='"$tmp/out2"'
27590 # Write a here document:
27591 cat >>$CONFIG_STATUS <<_ACEOF
27592 # First, check the format of the line:
27593 cat >"\$tmp/defines.sed" <<\\CEOF
27594 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
27595 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
27599 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
27601 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27602 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
27603 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
27604 grep . conftest.
tail >/dev
/null
|| break
27605 rm -f conftest.defines
27606 mv conftest.
tail conftest.defines
27608 rm -f conftest.defines conftest.
tail
27610 echo "ac_result=$ac_in" >>$CONFIG_STATUS
27611 cat >>$CONFIG_STATUS <<\_ACEOF
27612 if test x
"$ac_file" != x
-; then
27613 echo "/* $configure_input */" >"$tmp/config.h"
27614 cat "$ac_result" >>"$tmp/config.h"
27615 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
27616 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27617 echo "$as_me: $ac_file is unchanged" >&6;}
27620 mv "$tmp/config.h" $ac_file
27623 echo "/* $configure_input */"
27627 # Compute $ac_file's index in $config_headers.
27630 for _am_header
in $config_headers :; do
27631 case $_am_header in
27632 $_am_arg | $_am_arg:* )
27635 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27638 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27639 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27640 X"$_am_arg" : 'X\(//\)[^/]' \| \
27641 X"$_am_arg" : 'X\(//\)$' \| \
27642 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27648 /^X\(\/\/\)[^/].*/{
27660 s/.*/./; q'`/stamp
-h$_am_stamp_count
27663 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27664 echo "$as_me: executing $ac_file commands" >&6;}
27669 case $ac_file$ac_mode in
27670 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
27671 # Strip MF so we end up with the name of the file.
27672 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27673 # Check whether this is an Automake generated Makefile or not.
27674 # We used to match only the files named `Makefile.in', but
27675 # some people rename them; so instead we look at the file content.
27676 # Grep'ing the first line is not enough: some people post-process
27677 # each Makefile.in and add a new line on top of each file to say so.
27678 # Grep'ing the whole file is not good either: AIX grep has a line
27679 # limit of 2048, but all sed's we know have understand at least 4000.
27680 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
27681 dirpart
=`$as_dirname -- "$mf" ||
27682 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27683 X"$mf" : 'X\(//\)[^/]' \| \
27684 X"$mf" : 'X\(//\)$' \| \
27685 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27691 /^X\(\/\/\)[^/].*/{
27707 # Extract the definition of DEPDIR, am__include, and am__quote
27708 # from the Makefile without running `make'.
27709 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27710 test -z "$DEPDIR" && continue
27711 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27712 test -z "am__include" && continue
27713 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27714 # When using ansi2knr, U may be empty or an underscore; expand it
27715 U
=`sed -n 's/^U = //p' < "$mf"`
27716 # Find all dependency output files, they are included files with
27717 # $(DEPDIR) in their names. We invoke sed twice because it is the
27718 # simplest approach to changing $(DEPDIR) to its actual value in the
27720 for file in `sed -n "
27721 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27722 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27723 # Make sure the directory exists.
27724 test -f "$dirpart/$file" && continue
27725 fdir
=`$as_dirname -- "$file" ||
27726 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27727 X"$file" : 'X\(//\)[^/]' \| \
27728 X"$file" : 'X\(//\)$' \| \
27729 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27735 /^X\(\/\/\)[^/].*/{
27748 { as_dir
=$dirpart/$fdir
27750 -*) as_dir
=.
/$as_dir;;
27752 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27756 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27757 *) as_qdir
=$as_dir;;
27759 as_dirs
="'$as_qdir' $as_dirs"
27760 as_dir
=`$as_dirname -- "$as_dir" ||
27761 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27762 X"$as_dir" : 'X\(//\)[^/]' \| \
27763 X"$as_dir" : 'X\(//\)$' \| \
27764 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27770 /^X\(\/\/\)[^/].*/{
27783 test -d "$as_dir" && break
27785 test -z "$as_dirs" || eval "mkdir $as_dirs"
27786 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27787 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27788 { (exit 1); exit 1; }; }; }
27789 # echo "creating $dirpart/$file"
27790 echo '# dummy' > "$dirpart/$file"
27794 "include/librb-config.h":C
)
27795 outfile
=include
/librb
-config.h.tmp
27796 cat > $outfile <<\_______EOF
27798 * librb
-config.h
: libratbox config
file. Please modify configure.ac
27801 #ifndef __LIBRB_CONFIG_H
27802 #define __LIBRB_CONFIG_H
27806 if test "x$rb_have_ipv6" = "xyes"; then
27807 echo "#define RB_IPV6 1" >> $outfile
27810 if test "x$rb_windows_h" = "xyes"; then
27811 echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile
27812 echo '#include <windows.h>' >> $outfile
27813 echo '#include <winsock2.h>' >> $outfile
27814 echo '#include <iphlpapi.h>' >> $outfile
27817 if test "x$rb_alloca_h" = "xyes"; then
27818 echo '#define RB_HAVE_ALLOCA_H 1' >> $outfile
27821 if test "x$rb_header_stdc" = "xyes"; then
27822 echo '#include <stdlib.h>' >> $outfile
27823 echo '#include <stddef.h>' >> $outfile
27824 elif test "x$rb_header_stdlib" = "xyes"; then
27825 echo '#include <stdlib.h>' >> $outfile
27828 if test "x$rb_header_string_h" = "xyes"; then
27829 echo '#include <string.h>' >> $outfile
27832 if test "x$rb_stdint_h" = "xyes"; then
27833 echo '#include <stdint.h>' >> $outfile
27836 if test "x$rb_inttypes_h" = "xyes"; then
27837 echo '#include <inttypes.h>' >> $outfile
27840 if test "x$rb_sys_types_h" = "xyes"; then
27841 echo '#include <sys/types.h>' >> $outfile
27843 if test "x$rb_sys_time_h" = "xyes"; then
27844 echo '#include <sys/time.h>' >> $outfile
27846 if test "x$rb_sys_stat_h" = "xyes"; then
27847 echo '#include <sys/stat.h>' >> $outfile
27849 if test "x$rb_time_h" = "xyes"; then
27850 echo '#include <time.h>' >> $outfile
27853 if test "x$rb_sys_socket_h" = "xyes"; then
27854 echo '#include <sys/socket.h>' >> $outfile
27857 if test "x$rb_netinet_in_h" = "xyes"; then
27858 echo '#include <netinet/in.h>' >> $outfile
27861 if test "x$rb_arpa_inet_h" = "xyes"; then
27862 echo '#include <arpa/inet.h>' >> $outfile
27865 if test "x$rb_unistd_h" = "xyes"; then
27866 echo '#include <unistd.h>' >> $outfile
27869 if test "x$rb_crypt_h" = "xyes"; then
27870 echo '#include <crypt.h>' >> $outfile
27873 if test "x$rb_errno_h" = "xyes"; then
27874 echo '#include <errno.h>' >> $outfile
27877 if test "x$rb_sockaddr_sa_len" = "xyes"; then
27878 echo '#define RB_SOCKADDR_HAS_SA_LEN 1' >> $outfile
27881 echo "typedef $rb_uint64_t rb_uint64_t;" >> $outfile
27882 echo "typedef $rb_uint32_t rb_uint32_t;" >> $outfile
27883 echo "typedef $rb_uint16_t rb_uint16_t;" >> $outfile
27884 echo "typedef $rb_uint8_t rb_uint8_t;" >> $outfile
27885 echo "typedef $rb_int64_t rb_int64_t;" >> $outfile
27886 echo "typedef $rb_int32_t rb_int32_t;" >> $outfile
27887 echo "typedef $rb_int16_t rb_int16_t;" >> $outfile
27888 echo "typedef $rb_int8_t rb_int8_t;" >> $outfile
27889 echo "typedef $rb_intmax_t rb_intmax_t;" >> $outfile
27890 echo "typedef $rb_intptr_t rb_intptr_t;" >> $outfile
27891 echo "typedef $rb_uintmax_t rb_uintmax_t;" >> $outfile
27892 echo "typedef $rb_uintptr_t rb_uintptr_t;" >> $outfile
27893 echo "typedef $rb_socklen_t rb_socklen_t;" >> $outfile
27895 if test "x$rb_sockaddr_storage" = "xyes"; then
27896 echo '#define rb_sockaddr_storage sockaddr_storage' >> $outfile
27898 echo 'struct rb_sockaddr_storage { rb_uint8_t _padding128; };' >> $outfile
27901 cat >> $outfile <<\_______EOF
27902 #endif /* __LIBRB_CONFIG_H */
27905 if cmp -s $outfile include
/librb
-config.h
; then
27906 { echo "$as_me:$LINENO: include/librb-config.h is unchanged" >&5
27907 echo "$as_me: include/librb-config.h is unchanged" >&6;}
27908 ${rb_rm} -f $outfile
27910 ${rb_mv} $outfile include
/librb
-config.h
27919 { (exit 0); exit 0; }
27921 chmod +x
$CONFIG_STATUS
27922 ac_clean_files
=$ac_clean_files_save
27925 # configure is writing to config.log, and then calls config.status.
27926 # config.status does its own redirection, appending to config.log.
27927 # Unfortunately, on DOS this fails, as config.log is still kept open
27928 # by configure, so config.status won't be able to write to it; its
27929 # output is simply discarded. So we exec the FD to /dev/null,
27930 # effectively closing config.log, so it can be properly (re)opened and
27931 # appended to by config.status. When coming back to configure, we
27932 # need to make the FD available again.
27933 if test "$no_create" != yes; then
27935 ac_config_status_args
=
27936 test "$silent" = yes &&
27937 ac_config_status_args
="$ac_config_status_args --quiet"
27939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27942 # would make configure fail if this is the last instruction.
27943 $ac_cs_success || { (exit 1); exit 1; }
27947 # CONFIG_SUBDIRS section.
27949 if test "$no_recursion" != yes; then
27951 # Remove --cache-file and --srcdir arguments so they do not pile up.
27952 ac_sub_configure_args
=
27954 eval "set x $ac_configure_args"
27958 if test -n "$ac_prev"; then
27963 -cache-file | --cache-file | --cache-fil | --cache-fi \
27964 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
27965 ac_prev
=cache_file
;;
27966 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
27967 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
27970 --config-cache | -C)
27972 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
27974 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
27976 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
27978 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
27982 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27984 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
27988 # Always prepend --prefix to ensure using the same prefix
27989 # in subdir configurations.
27990 ac_arg
="--prefix=$prefix"
27992 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27994 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
27997 if test "$silent" = yes; then
27998 ac_sub_configure_args
="--silent $ac_sub_configure_args"
28002 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
28004 # Do not complain, so a configure script can configure whichever
28005 # parts of a large source tree are present.
28006 test -d "$srcdir/$ac_dir" || continue
28008 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
28009 echo "$as_me:$LINENO: $ac_msg" >&5
28013 -*) as_dir
=.
/$as_dir;;
28015 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
28019 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
28020 *) as_qdir
=$as_dir;;
28022 as_dirs
="'$as_qdir' $as_dirs"
28023 as_dir
=`$as_dirname -- "$as_dir" ||
28024 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28025 X"$as_dir" : 'X\(//\)[^/]' \| \
28026 X"$as_dir" : 'X\(//\)$' \| \
28027 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28033 /^X\(\/\/\)[^/].*/{
28046 test -d "$as_dir" && break
28048 test -z "$as_dirs" || eval "mkdir $as_dirs"
28049 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
28050 echo "$as_me: error: cannot create directory $as_dir" >&2;}
28051 { (exit 1); exit 1; }; }; }
28055 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28057 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28058 # A ".." for each directory in $ac_dir_suffix.
28059 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
28060 case $ac_top_builddir_sub in
28061 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28062 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28065 ac_abs_top_builddir
=$ac_pwd
28066 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28067 # for backward compatibility:
28068 ac_top_builddir
=$ac_top_build_prefix
28071 .
) # We are building in place.
28073 ac_top_srcdir
=$ac_top_builddir_sub
28074 ac_abs_top_srcdir
=$ac_pwd ;;
28075 [\\/]* | ?
:[\\/]* ) # Absolute name.
28076 ac_srcdir
=$srcdir$ac_dir_suffix;
28077 ac_top_srcdir
=$srcdir
28078 ac_abs_top_srcdir
=$srcdir ;;
28079 *) # Relative name.
28080 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28081 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28082 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28084 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28089 # Check for guested configure; otherwise get Cygnus style configure.
28090 if test -f "$ac_srcdir/configure.gnu"; then
28091 ac_sub_configure
=$ac_srcdir/configure.gnu
28092 elif test -f "$ac_srcdir/configure"; then
28093 ac_sub_configure
=$ac_srcdir/configure
28094 elif test -f "$ac_srcdir/configure.in"; then
28095 # This should be Cygnus configure.
28096 ac_sub_configure
=$ac_aux_dir/configure
28098 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
28099 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
28103 # The recursion is here.
28104 if test -n "$ac_sub_configure"; then
28105 # Make the cache file name correct relative to the subdirectory.
28106 case $cache_file in
28107 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
28108 *) # Relative name.
28109 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
28112 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
28113 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
28114 # The eval makes quoting arguments work.
28115 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
28116 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
28117 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
28118 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
28119 { (exit 1); exit 1; }; }
28129 echo "Compiling $PACKAGE_NAME $PACKAGE_VERSION"
28132 echo "Installing into: $prefix"
28134 echo "IPv6 support ................... $have_v6"
28135 echo "Assert debugging ............... $assert"
28136 echo "Block allocator ................ $balloc"
28137 echo "OpenSSL ........................ $cf_enable_openssl"