2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for libopm 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
25 DUALCASE
=1; export DUALCASE
# for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits
='0123456789'
34 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49 # Support unset when possible.
50 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself
=$0 ;;
69 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir
=.
74 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x
; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var
in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C
; export $as_var
107 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
119 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me
=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x
; then
151 if (eval ":") 2>/dev
/null
; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev
/null
; then
217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
224 for as_base
in sh bash ksh sh5
; do
225 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
232 for as_shell
in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
247 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
248 DUALCASE
=1; export DUALCASE
# for MKS sh
253 CONFIG_SHELL
=$as_shell
255 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
267 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
268 DUALCASE
=1; export DUALCASE
# for MKS sh
280 as_func_ret_success
() {
283 as_func_ret_failure
() {
288 if as_func_success
; then
292 echo as_func_success failed.
295 if as_func_failure
; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success
; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure
; then
309 echo as_func_ret_failure succeeded.
312 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) || { (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x
; then
337 for as_var
in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no
; then
346 echo This
script requires a shell
more modern than all the
347 echo shells that I found on your system. Please
install a
348 echo modern shell
, or manually run the
script under such a
349 echo shell
if you
do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system
,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
466 ECHO_C
= ECHO_N
= ECHO_T
=
470 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir -p .
2>/dev
/null
; then
511 test -d .
/-p && rmdir .
/-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.
file <<_ASEOF
522 if test -x conf$$.
file >/dev
/null
2>&1; then
523 as_executable_p
="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 # Check that we are running under the correct shell.
539 SHELL
=${CONFIG_SHELL-/bin/sh}
543 # Remove one level of quotation (which was required for Make).
544 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
549 if test "X$1" = X
--no-reexec; then
550 # Discard the --no-reexec flag, and continue.
552 elif test "X$1" = X
--fallback-echo; then
553 # Avoid inline document here, it may be left over
555 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
556 # Yippee, $echo works!
559 # Restart under the correct shell.
560 exec $SHELL "$0" --no-reexec ${1+"$@"}
563 if test "X$1" = X
--fallback-echo; then
564 # used as fallback echo
572 # The HP-UX ksh and POSIX shell print the target directory to stdout
574 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
576 if test -z "$ECHO"; then
577 if test "X${echo_test_string+set}" != Xset
; then
578 # find a string as large as possible, as long as the shell can cope with it
579 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
580 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
581 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
582 echo_test_string
=`eval $cmd` &&
583 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
590 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
591 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
592 test "X$echo_testing_string" = "X$echo_test_string"; then
595 # The Solaris, AIX, and Digital Unix default echo programs unquote
596 # backslashes. This makes it impossible to quote backslashes using
597 # echo "$something" | sed 's/\\/\\\\/g'
599 # So, first we look for a working echo in the user's PATH.
601 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
602 for dir
in $PATH /usr
/ucb
; do
604 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
605 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
614 if test "X$echo" = Xecho
; then
615 # We didn't find a better echo, so look for alternatives.
616 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
617 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
618 test "X$echo_testing_string" = "X$echo_test_string"; then
619 # This shell has a builtin print -r that does the trick.
621 elif (test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext) &&
622 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
623 # If we have ksh, try running configure again with it.
624 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
625 export ORIGINAL_CONFIG_SHELL
626 CONFIG_SHELL
=/bin
/ksh
628 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
632 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
633 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
637 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
643 SHELL
="$CONFIG_SHELL"
645 echo="$CONFIG_SHELL $0 --fallback-echo"
646 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
647 test "X$echo_testing_string" = 'X\t' &&
648 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
650 echo="$CONFIG_SHELL $0 --fallback-echo"
652 # maybe with a smaller string...
655 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
656 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
663 if test "$prev" != 'sed 50q "$0"'; then
664 echo_test_string
=`eval $prev`
665 export echo_test_string
666 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
668 # Oops. We lost completely, so just stick with echo.
677 # Copy echo and quote the copy suitably for passing to libtool from
678 # the Makefile, instead of quoting the original, which is used later.
680 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
681 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
687 tagnames
=${tagnames+${tagnames},}CXX
689 tagnames
=${tagnames+${tagnames},}F77
691 exec 7<&0 </dev
/null
6>&1
694 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
695 # so uname gets run too.
696 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
701 ac_default_prefix
=/usr
/local
703 ac_config_libobj_dir
=.
709 SHELL
=${CONFIG_SHELL-/bin/sh}
711 # Identity of this package.
712 PACKAGE_NAME
='libopm'
713 PACKAGE_TARNAME
='libopm'
714 PACKAGE_VERSION
='0.1'
715 PACKAGE_STRING
='libopm 0.1'
718 ac_unique_file
="src/libopm.h"
719 ac_default_prefix
=/usr
/local
/libopm
720 # Factoring default headers for most tests.
721 ac_includes_default
="\
724 # include <sys/types.h>
727 # include <sys/stat.h>
738 # if !STDC_HEADERS && HAVE_MEMORY_H
744 # include <strings.h>
747 # include <inttypes.h>
765 program_transform_name
806 INSTALL_STRIP_PROGRAM
815 MAINTAINER_MODE_FALSE
869 ac_precious_vars
='build_alias
885 # Initialize some variables set by options.
887 ac_init_version
=false
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
897 program_transform_name
=s
,x
,x
,
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir
='${exec_prefix}/bin'
912 sbindir
='${exec_prefix}/sbin'
913 libexecdir
='${exec_prefix}/libexec'
914 datarootdir
='${prefix}/share'
915 datadir
='${datarootdir}'
916 sysconfdir
='${prefix}/etc'
917 sharedstatedir
='${prefix}/com'
918 localstatedir
='${prefix}/var'
919 includedir
='${prefix}/include'
920 oldincludedir
='/usr/include'
921 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
922 infodir
='${datarootdir}/info'
927 libdir
='${exec_prefix}/lib'
928 localedir
='${datarootdir}/locale'
929 mandir
='${datarootdir}/man'
935 # If the previous option needs an argument, assign it.
936 if test -n "$ac_prev"; then
937 eval $ac_prev=\
$ac_option
943 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
947 # Accept the important Cygnus configure options, so we can diagnose typos.
949 case $ac_dashdash$ac_option in
953 -bindir | --bindir | --bindi | --bind | --bin | --bi)
955 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
958 -build | --build | --buil | --bui | --bu)
959 ac_prev
=build_alias
;;
960 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
961 build_alias
=$ac_optarg ;;
963 -cache-file | --cache-file | --cache-fil | --cache-fi \
964 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
965 ac_prev
=cache_file
;;
966 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
967 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
968 cache_file
=$ac_optarg ;;
971 cache_file
=config.cache
;;
973 -datadir | --datadir | --datadi | --datad)
975 -datadir=* | --datadir=* | --datadi=* | --datad=*)
976 datadir
=$ac_optarg ;;
978 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
979 | --dataroo | --dataro | --datar)
980 ac_prev
=datarootdir
;;
981 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
982 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
983 datarootdir
=$ac_optarg ;;
985 -disable-* | --disable-*)
986 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
989 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
990 { (exit 1); exit 1; }; }
991 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
992 eval enable_
$ac_feature=no
;;
994 -docdir | --docdir | --docdi | --doc | --do)
996 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
999 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1001 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1002 dvidir
=$ac_optarg ;;
1004 -enable-* | --enable-*)
1005 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1008 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1009 { (exit 1); exit 1; }; }
1010 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1011 eval enable_
$ac_feature=\
$ac_optarg ;;
1013 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1014 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1015 | --exec | --exe | --ex)
1016 ac_prev
=exec_prefix
;;
1017 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1018 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1019 | --exec=* | --exe=* | --ex=*)
1020 exec_prefix
=$ac_optarg ;;
1022 -gas | --gas | --ga | --g)
1023 # Obsolete; use --with-gas.
1026 -help | --help | --hel | --he | -h)
1027 ac_init_help
=long
;;
1028 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1029 ac_init_help
=recursive
;;
1030 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1031 ac_init_help
=short
;;
1033 -host | --host | --hos | --ho)
1034 ac_prev
=host_alias
;;
1035 -host=* | --host=* | --hos=* | --ho=*)
1036 host_alias
=$ac_optarg ;;
1038 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1040 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1042 htmldir
=$ac_optarg ;;
1044 -includedir | --includedir | --includedi | --included | --include \
1045 | --includ | --inclu | --incl | --inc)
1046 ac_prev
=includedir
;;
1047 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1048 | --includ=* | --inclu=* | --incl=* | --inc=*)
1049 includedir
=$ac_optarg ;;
1051 -infodir | --infodir | --infodi | --infod | --info | --inf)
1053 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1054 infodir
=$ac_optarg ;;
1056 -libdir | --libdir | --libdi | --libd)
1058 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1059 libdir
=$ac_optarg ;;
1061 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1062 | --libexe | --libex | --libe)
1063 ac_prev
=libexecdir
;;
1064 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1065 | --libexe=* | --libex=* | --libe=*)
1066 libexecdir
=$ac_optarg ;;
1068 -localedir | --localedir | --localedi | --localed | --locale)
1069 ac_prev
=localedir
;;
1070 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1071 localedir
=$ac_optarg ;;
1073 -localstatedir | --localstatedir | --localstatedi | --localstated \
1074 | --localstate | --localstat | --localsta | --localst | --locals)
1075 ac_prev
=localstatedir
;;
1076 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1077 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1078 localstatedir
=$ac_optarg ;;
1080 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1082 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1083 mandir
=$ac_optarg ;;
1085 -nfp | --nfp | --nf)
1086 # Obsolete; use --without-fp.
1089 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1090 | --no-cr | --no-c | -n)
1093 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1094 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1097 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1098 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1099 | --oldin | --oldi | --old | --ol | --o)
1100 ac_prev
=oldincludedir
;;
1101 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1102 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1103 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1104 oldincludedir
=$ac_optarg ;;
1106 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1108 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1109 prefix
=$ac_optarg ;;
1111 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1112 | --program-pre | --program-pr | --program-p)
1113 ac_prev
=program_prefix
;;
1114 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1115 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1116 program_prefix
=$ac_optarg ;;
1118 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1119 | --program-suf | --program-su | --program-s)
1120 ac_prev
=program_suffix
;;
1121 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1122 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1123 program_suffix
=$ac_optarg ;;
1125 -program-transform-name | --program-transform-name \
1126 | --program-transform-nam | --program-transform-na \
1127 | --program-transform-n | --program-transform- \
1128 | --program-transform | --program-transfor \
1129 | --program-transfo | --program-transf \
1130 | --program-trans | --program-tran \
1131 | --progr-tra | --program-tr | --program-t)
1132 ac_prev
=program_transform_name
;;
1133 -program-transform-name=* | --program-transform-name=* \
1134 | --program-transform-nam=* | --program-transform-na=* \
1135 | --program-transform-n=* | --program-transform-=* \
1136 | --program-transform=* | --program-transfor=* \
1137 | --program-transfo=* | --program-transf=* \
1138 | --program-trans=* | --program-tran=* \
1139 | --progr-tra=* | --program-tr=* | --program-t=*)
1140 program_transform_name
=$ac_optarg ;;
1142 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1144 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1145 pdfdir
=$ac_optarg ;;
1147 -psdir | --psdir | --psdi | --psd | --ps)
1149 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1153 | -silent | --silent | --silen | --sile | --sil)
1156 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1158 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1160 sbindir
=$ac_optarg ;;
1162 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1163 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1164 | --sharedst | --shareds | --shared | --share | --shar \
1166 ac_prev
=sharedstatedir
;;
1167 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1168 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1169 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1171 sharedstatedir
=$ac_optarg ;;
1173 -site | --site | --sit)
1175 -site=* | --site=* | --sit=*)
1178 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1180 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1181 srcdir
=$ac_optarg ;;
1183 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1184 | --syscon | --sysco | --sysc | --sys | --sy)
1185 ac_prev
=sysconfdir
;;
1186 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1187 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1188 sysconfdir
=$ac_optarg ;;
1190 -target | --target | --targe | --targ | --tar | --ta | --t)
1191 ac_prev
=target_alias
;;
1192 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1193 target_alias
=$ac_optarg ;;
1195 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1198 -version | --version | --versio | --versi | --vers | -V)
1199 ac_init_version
=: ;;
1202 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1205 { echo "$as_me: error: invalid package name: $ac_package" >&2
1206 { (exit 1); exit 1; }; }
1207 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1208 eval with_
$ac_package=\
$ac_optarg ;;
1210 -without-* | --without-*)
1211 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1212 # Reject names that are not valid shell variable names.
1213 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1214 { echo "$as_me: error: invalid package name: $ac_package" >&2
1215 { (exit 1); exit 1; }; }
1216 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1217 eval with_
$ac_package=no
;;
1220 # Obsolete; use --with-x.
1223 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1224 | --x-incl | --x-inc | --x-in | --x-i)
1225 ac_prev
=x_includes
;;
1226 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1227 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1228 x_includes
=$ac_optarg ;;
1230 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1231 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1232 ac_prev
=x_libraries
;;
1233 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1234 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1235 x_libraries
=$ac_optarg ;;
1237 -*) { echo "$as_me: error: unrecognized option: $ac_option
1238 Try \`$0 --help' for more information." >&2
1239 { (exit 1); exit 1; }; }
1243 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1246 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1247 { (exit 1); exit 1; }; }
1248 eval $ac_envvar=\
$ac_optarg
1249 export $ac_envvar ;;
1252 # FIXME: should be removed in autoconf 3.0.
1253 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1254 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1255 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1256 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1262 if test -n "$ac_prev"; then
1263 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1264 { echo "$as_me: error: missing argument to $ac_option" >&2
1265 { (exit 1); exit 1; }; }
1268 # Be sure to have absolute directory names.
1269 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1270 datadir sysconfdir sharedstatedir localstatedir includedir \
1271 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1272 libdir localedir mandir
1274 eval ac_val
=\$
$ac_var
1276 [\\/$
]* | ?
:[\\/]* ) continue;;
1277 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1279 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1280 { (exit 1); exit 1; }; }
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target
=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x
; then
1292 if test "x$build_alias" = x
; then
1293 cross_compiling
=maybe
1294 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1295 If a cross compiler is detected then cross compile mode will be used." >&2
1296 elif test "x$build_alias" != "x$host_alias"; then
1302 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1304 test "$silent" = yes && exec 6>/dev
/null
1307 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di
=`ls -di .` &&
1309 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1310 { echo "$as_me: error: Working directory cannot be determined" >&2
1311 { (exit 1); exit 1; }; }
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 { echo "$as_me: error: pwd does not report name of working directory" >&2
1314 { (exit 1); exit 1; }; }
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted
=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir
=`$as_dirname -- "$0" ||
1322 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$0" : 'X\(//\)[^/]' \| \
1324 X"$0" : 'X\(//\)$' \| \
1325 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted
=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1353 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1354 { (exit 1); exit 1; }; }
1356 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1358 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1359 { (exit 1); exit 1; }; }
1361 # When building in place, set srcdir=.
1362 if test "$ac_abs_confdir" = "$ac_pwd"; then
1365 # Remove unnecessary trailing slashes from srcdir.
1366 # Double slashes in file names in object file debugging info
1367 # mess up M-x gdb in Emacs.
1369 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1371 for ac_var
in $ac_precious_vars; do
1372 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1373 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1374 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1375 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1379 # Report the --help message.
1381 if test "$ac_init_help" = "long"; then
1382 # Omit some internal or obsolete options to make the list less imposing.
1383 # This message is too long to be a string in the A/UX 3.1 sh.
1385 \`configure' configures libopm 0.1 to adapt to many kinds of systems.
1387 Usage: $0 [OPTION]... [VAR=VALUE]...
1389 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1390 VAR=VALUE. See below for descriptions of some of the useful variables.
1392 Defaults for the options are specified in brackets.
1395 -h, --help display this help and exit
1396 --help=short display options specific to this package
1397 --help=recursive display the short help of all the included packages
1398 -V, --version display version information and exit
1399 -q, --quiet, --silent do not print \`checking...' messages
1400 --cache-file=FILE cache test results in FILE [disabled]
1401 -C, --config-cache alias for \`--cache-file=config.cache'
1402 -n, --no-create do not create output files
1403 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1405 Installation directories:
1406 --prefix=PREFIX install architecture-independent files in PREFIX
1407 [$ac_default_prefix]
1408 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1411 By default, \`make install' will install all the files in
1412 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1413 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1414 for instance \`--prefix=\$HOME'.
1416 For better control, use the options below.
1418 Fine tuning of the installation directories:
1419 --bindir=DIR user executables [EPREFIX/bin]
1420 --sbindir=DIR system admin executables [EPREFIX/sbin]
1421 --libexecdir=DIR program executables [EPREFIX/libexec]
1422 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1423 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1424 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1425 --libdir=DIR object code libraries [EPREFIX/lib]
1426 --includedir=DIR C header files [PREFIX/include]
1427 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1428 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1429 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1430 --infodir=DIR info documentation [DATAROOTDIR/info]
1431 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1432 --mandir=DIR man documentation [DATAROOTDIR/man]
1433 --docdir=DIR documentation root [DATAROOTDIR/doc/libopm]
1434 --htmldir=DIR html documentation [DOCDIR]
1435 --dvidir=DIR dvi documentation [DOCDIR]
1436 --pdfdir=DIR pdf documentation [DOCDIR]
1437 --psdir=DIR ps documentation [DOCDIR]
1443 --program-prefix=PREFIX prepend PREFIX to installed program names
1444 --program-suffix=SUFFIX append SUFFIX to installed program names
1445 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1448 --build=BUILD configure
for building on BUILD
[guessed
]
1449 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1453 if test -n "$ac_init_help"; then
1454 case $ac_init_help in
1455 short
| recursive
) echo "Configuration of libopm 0.1:";;
1460 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1461 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1462 --enable-maintainer-mode enable make rules and dependencies not useful
1463 (and sometimes confusing
) to the casual installer
1464 --disable-dependency-tracking speeds up one
-time build
1465 --enable-dependency-tracking do not reject slow dependency extractors
1466 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1467 --enable-static[=PKGS
] build static libraries
[default
=yes]
1468 --enable-fast-install[=PKGS
]
1469 optimize
for fast installation
[default
=yes]
1470 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1473 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1474 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1475 --with-extra-fascism add extra gcc3
-specific warning flags
1476 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1477 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1479 --with-tags[=TAGS
] include additional configurations
[automatic
]
1480 --with-werror use
-Werror to abort compilation on any warning
1482 Some influential environment variables
:
1483 CC C compiler
command
1484 CFLAGS C compiler flags
1485 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1486 nonstandard directory
<lib dir
>
1487 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1488 you have headers
in a nonstandard directory
<include dir
>
1490 CXX C
++ compiler
command
1491 CXXFLAGS C
++ compiler flags
1492 CXXCPP C
++ preprocessor
1493 F77 Fortran
77 compiler
command
1494 FFLAGS Fortran
77 compiler flags
1496 Use these variables to override the choices made by
`configure' or to help
1497 it to find libraries and programs with nonstandard names/locations.
1503 if test "$ac_init_help" = "recursive"; then
1504 # If there are subdirs, report their specific --help.
1505 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1506 test -d "$ac_dir" || continue
1510 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1512 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1513 # A ".." for each directory in $ac_dir_suffix.
1514 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1515 case $ac_top_builddir_sub in
1516 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1520 ac_abs_top_builddir=$ac_pwd
1521 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1522 # for backward compatibility:
1523 ac_top_builddir=$ac_top_build_prefix
1526 .) # We are building in place.
1528 ac_top_srcdir=$ac_top_builddir_sub
1529 ac_abs_top_srcdir=$ac_pwd ;;
1530 [\\/]* | ?:[\\/]* ) # Absolute name.
1531 ac_srcdir=$srcdir$ac_dir_suffix;
1532 ac_top_srcdir=$srcdir
1533 ac_abs_top_srcdir=$srcdir ;;
1535 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1536 ac_top_srcdir=$ac_top_build_prefix$srcdir
1537 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1539 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1541 cd "$ac_dir" || { ac_status=$?; continue; }
1542 # Check for guested configure.
1543 if test -f "$ac_srcdir/configure.gnu"; then
1545 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1546 elif test -f "$ac_srcdir/configure"; then
1548 $SHELL "$ac_srcdir/configure" --help=recursive
1550 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1552 cd "$ac_pwd" || { ac_status=$?; break; }
1556 test -n "$ac_init_help" && exit $ac_status
1557 if $ac_init_version; then
1559 libopm configure 0.1
1560 generated by GNU Autoconf 2.60
1562 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1563 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1564 This configure script is free software; the Free Software Foundation
1565 gives unlimited permission to copy, distribute and modify it.
1569 cat >config.log <<_ACEOF
1570 This file contains any messages produced by compilers while
1571 running configure, to aid debugging if configure makes a mistake.
1573 It was created by libopm $as_me 0.1, which was
1574 generated by GNU Autoconf 2.60. Invocation command line was
1586 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1587 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1588 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1589 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1590 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1592 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1593 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1595 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1596 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1597 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1598 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1599 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1600 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1601 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1609 test -z "$as_dir" && as_dir=.
1610 echo "PATH: $as_dir"
1626 # Keep a trace of the command line.
1627 # Strip out --no-create and --no-recursion so they do not pile up.
1628 # Strip out --silent because we don't want to record it for future runs.
1629 # Also quote any args containing shell meta-characters.
1630 # Make two passes to allow for proper duplicate-argument suppression.
1634 ac_must_keep_next=false
1640 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1642 | -silent | --silent | --silen | --sile | --sil)
1645 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1648 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1650 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1651 if test $ac_must_keep_next = true; then
1652 ac_must_keep_next=false # Got value, back to normal.
1655 *=* | --config-cache | -C | -disable-* | --disable-* \
1656 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1657 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1658 | -with-* | --with-* | -without-* | --without-* | --x)
1659 case "$ac_configure_args0 " in
1660 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1663 -* ) ac_must_keep_next=true ;;
1666 ac_configure_args="$ac_configure_args '$ac_arg'"
1671 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1672 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1674 # When interrupted or exit'd, cleanup temporary files, and complete
1675 # config.log. We remove comments because anyway the quotes in there
1676 # would cause problems or look ugly.
1677 # WARNING: Use '\'' to represent an apostrophe within the trap.
1678 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1679 trap 'exit_status=$?
1680 # Save into config.log some information that might help in debugging.
1685 ## ---------------- ##
1686 ## Cache variables. ##
1687 ## ---------------- ##
1690 # The following way of writing the cache mishandles newlines in values,
1692 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1693 eval ac_val=\$$ac_var
1697 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1698 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1701 _ | IFS | as_nl) ;; #(
1702 *) $as_unset $ac_var ;;
1707 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1708 *${as_nl}ac_space=\ *)
1710 "s/'\''/'\''\\\\'\'''\''/g;
1711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1722 ## ----------------- ##
1723 ## Output variables. ##
1724 ## ----------------- ##
1727 for ac_var in $ac_subst_vars
1729 eval ac_val=\$$ac_var
1731 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1733 echo "$ac_var='\''$ac_val'\''"
1737 if test -n "$ac_subst_files"; then
1739 ## ------------------- ##
1740 ## File substitutions. ##
1741 ## ------------------- ##
1744 for ac_var in $ac_subst_files
1746 eval ac_val=\$$ac_var
1748 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1750 echo "$ac_var='\''$ac_val'\''"
1755 if test -s confdefs.h; then
1765 test "$ac_signal" != 0 &&
1766 echo "$as_me: caught signal $ac_signal"
1767 echo "$as_me: exit $exit_status"
1769 rm -f core *.core core.conftest.* &&
1770 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1773 for ac_signal in 1 2 13 15; do
1774 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1778 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1779 rm -f -r conftest* confdefs.h
1781 # Predefined preprocessor variables.
1783 cat >>confdefs.h <<_ACEOF
1784 #define PACKAGE_NAME "$PACKAGE_NAME"
1788 cat >>confdefs.h <<_ACEOF
1789 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_STRING "$PACKAGE_STRING"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1808 # Let the site file select an alternate cache file if it wants to.
1809 # Prefer explicitly selected file to automatically selected ones.
1810 if test -n "$CONFIG_SITE"; then
1811 set x "$CONFIG_SITE"
1812 elif test "x$prefix" != xNONE; then
1813 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1815 set x "$ac_default_prefix/share/config.site" \
1816 "$ac_default_prefix/etc/config.site"
1821 if test -r "$ac_site_file"; then
1822 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1823 echo "$as_me: loading site script $ac_site_file" >&6;}
1824 sed 's/^/| /' "$ac_site_file" >&5
1829 if test -r "$cache_file"; then
1830 # Some versions of bash will fail to source /dev/null (special
1831 # files actually), so we avoid doing that.
1832 if test -f "$cache_file"; then
1833 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1834 echo "$as_me: loading cache $cache_file" >&6;}
1836 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1837 *) . "./$cache_file";;
1841 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1842 echo "$as_me: creating cache $cache_file" >&6;}
1846 # Check that the precious variables saved in the cache have kept the same
1848 ac_cache_corrupted=false
1849 for ac_var in $ac_precious_vars; do
1850 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1851 eval ac_new_set=\$ac_env_${ac_var}_set
1852 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1853 eval ac_new_val=\$ac_env_${ac_var}_value
1854 case $ac_old_set,$ac_new_set in
1856 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1857 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1858 ac_cache_corrupted=: ;;
1860 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1861 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1862 ac_cache_corrupted=: ;;
1865 if test "x$ac_old_val" != "x$ac_new_val"; then
1866 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1867 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1868 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1869 echo "$as_me: former value
: $ac_old_val" >&2;}
1870 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1871 echo "$as_me: current value
: $ac_new_val" >&2;}
1872 ac_cache_corrupted=:
1875 # Pass precious variables to config.status.
1876 if test "$ac_new_set" = set; then
1878 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1879 *) ac_arg=$ac_var=$ac_new_val ;;
1881 case " $ac_configure_args " in
1882 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1883 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1887 if $ac_cache_corrupted; then
1888 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1889 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1890 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1891 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1892 { (exit 1); exit 1; }; }
1920 ac_cpp='$CPP $CPPFLAGS'
1921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1927 ac_config_headers="$ac_config_headers src/setup.h"
1929 am__api_version="1.9"
1931 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1932 if test -f "$ac_dir/install-sh"; then
1934 ac_install_sh="$ac_aux_dir/install-sh -c"
1936 elif test -f "$ac_dir/install.sh"; then
1938 ac_install_sh="$ac_aux_dir/install.sh -c"
1940 elif test -f "$ac_dir/shtool"; then
1942 ac_install_sh="$ac_aux_dir/shtool install -c"
1946 if test -z "$ac_aux_dir"; then
1947 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1948 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1949 { (exit 1); exit 1; }; }
1952 # These three variables are undocumented and unsupported,
1953 # and are intended to be withdrawn in a future Autoconf release.
1954 # They can cause serious problems if a builder's source tree is in a directory
1955 # whose full name contains unusual characters.
1956 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1957 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1958 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1961 # Find a good install program. We prefer a C program (faster),
1962 # so one script is as good as another. But avoid the broken or
1963 # incompatible versions:
1964 # SysV /etc/install, /usr/sbin/install
1965 # SunOS /usr/etc/install
1966 # IRIX /sbin/install
1968 # AmigaOS /C/install, which installs bootblocks on floppy discs
1969 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1970 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1971 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1972 # OS/2's system install, which has a completely different semantic
1973 # ./install, which can be erroneously created by make from ./install.sh.
1974 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1975 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1976 if test -z "$INSTALL"; then
1977 if test "${ac_cv_path_install+set}" = set; then
1978 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir=.
1985 # Account for people who put trailing slashes in PATH elements.
1987 ./ | .// | /cC/* | \
1988 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1989 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1992 # OSF1 and SCO ODT 3.0 have their own names for install.
1993 # Don't use installbsd from OSF since it installs stuff as root
1995 for ac_prog in ginstall scoinst install; do
1996 for ac_exec_ext in '' $ac_executable_extensions; do
1997 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1998 if test $ac_prog = install &&
1999 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2000 # AIX install. It has an incompatible calling convention.
2002 elif test $ac_prog = install &&
2003 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2004 # program-specific install script used by HP pwplus--don't use.
2007 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2020 if test "${ac_cv_path_install+set}" = set; then
2021 INSTALL=$ac_cv_path_install
2023 # As a last resort, use the slow shell script. Don't cache a
2024 # value for INSTALL within a source directory, because that will
2025 # break other packages using the cache if that directory is
2026 # removed, or if the value is a relative name.
2027 INSTALL=$ac_install_sh
2030 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2031 echo "${ECHO_T}$INSTALL" >&6; }
2033 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2034 # It thinks the first close brace ends the variable substitution.
2035 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2037 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2039 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2041 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2042 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2045 echo timestamp > conftest.file
2046 # Do `set' in a subshell so we don't clobber the current shell
's
2047 # arguments. Must try -L first in case configure is actually a
2048 # symlink; some systems play weird games with the mod time of symlinks
2049 # (eg FreeBSD returns the mod time of the symlink's containing
2052 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2053 if test "$*" = "X"; then
2055 set X
`ls -t $srcdir/configure conftest.file`
2058 if test "$*" != "X $srcdir/configure conftest.file" \
2059 && test "$*" != "X conftest.file $srcdir/configure"; then
2061 # If neither matched, then we have a broken ls. This can happen
2062 # if, for instance, CONFIG_SHELL is bash and it inherits a
2063 # broken ls alias from the environment. This has actually
2064 # happened. Such a system could not be considered "sane".
2065 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2066 alias in your environment" >&5
2067 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2068 alias in your environment" >&2;}
2069 { (exit 1); exit 1; }; }
2072 test "$2" = conftest.
file
2078 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2079 Check your system clock" >&5
2080 echo "$as_me: error: newly created file is older than distributed files!
2081 Check your system clock" >&2;}
2082 { (exit 1); exit 1; }; }
2084 { echo "$as_me:$LINENO: result: yes" >&5
2085 echo "${ECHO_T}yes" >&6; }
2086 test "$program_prefix" != NONE
&&
2087 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2088 # Use a double $ so make ignores it.
2089 test "$program_suffix" != NONE
&&
2090 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2091 # Double any \ or $. echo might interpret backslashes.
2092 # By default was `s,x,x', remove it if useless.
2093 cat <<\_ACEOF
>conftest.
sed
2094 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2096 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2099 # expand $ac_aux_dir to an absolute path
2100 am_aux_dir
=`cd $ac_aux_dir && pwd`
2102 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2103 # Use eval to expand $SHELL
2104 if eval "$MISSING --run true"; then
2105 am_missing_run
="$MISSING --run "
2108 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2109 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2112 if mkdir -p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2113 # We used to keeping the `.' as first argument, in order to
2114 # allow $(mkdir_p) to be used without argument. As in
2115 # $(mkdir_p) $(somedir)
2116 # where $(somedir) is conditionally defined. However this is wrong
2118 # 1. if the package is installed by a user who cannot write `.'
2119 # make install will fail,
2120 # 2. the above comment should most certainly read
2121 # $(mkdir_p) $(DESTDIR)$(somedir)
2122 # so it does not work when $(somedir) is undefined and
2123 # $(DESTDIR) is not.
2124 # To support the latter case, we have to write
2125 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2126 # so the `.' trick is pointless.
2127 mkdir_p
='mkdir -p --'
2129 # On NextStep and OpenStep, the `mkdir' command does not
2130 # recognize any option. It will interpret all options as
2131 # directories to create, and then abort because `.' already
2133 for d
in .
/-p .
/--version;
2135 test -d $d && rmdir $d
2137 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2138 if test -f "$ac_aux_dir/mkinstalldirs"; then
2139 mkdir_p
='$(mkinstalldirs)'
2141 mkdir_p
='$(install_sh) -d'
2145 for ac_prog
in gawk mawk nawk
awk
2147 # Extract the first word of "$ac_prog", so it can be a program name with args.
2148 set dummy
$ac_prog; ac_word
=$2
2149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2151 if test "${ac_cv_prog_AWK+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 if test -n "$AWK"; then
2155 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2161 test -z "$as_dir" && as_dir
=.
2162 for ac_exec_ext
in '' $ac_executable_extensions; do
2163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2164 ac_cv_prog_AWK
="$ac_prog"
2165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 if test -n "$AWK"; then
2176 { echo "$as_me:$LINENO: result: $AWK" >&5
2177 echo "${ECHO_T}$AWK" >&6; }
2179 { echo "$as_me:$LINENO: result: no" >&5
2180 echo "${ECHO_T}no" >&6; }
2184 test -n "$AWK" && break
2187 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2188 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2189 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2190 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 cat >conftest.
make <<\_ACEOF
2196 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2198 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2199 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2201 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2203 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2207 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2208 { echo "$as_me:$LINENO: result: yes" >&5
2209 echo "${ECHO_T}yes" >&6; }
2212 { echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6; }
2214 SET_MAKE
="MAKE=${MAKE-make}"
2217 rm -rf .tst
2>/dev
/null
2218 mkdir .tst
2>/dev
/null
2219 if test -d .tst
; then
2224 rmdir .tst
2>/dev
/null
2226 # test to see if srcdir already configured
2227 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2228 test -f $srcdir/config.status
; then
2229 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2230 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2231 { (exit 1); exit 1; }; }
2234 # test whether we have cygpath
2235 if test -z "$CYGPATH_W"; then
2236 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2237 CYGPATH_W
='cygpath -w'
2244 # Define the identity of the package.
2249 cat >>confdefs.h
<<_ACEOF
2250 #define PACKAGE "$PACKAGE"
2254 cat >>confdefs.h
<<_ACEOF
2255 #define VERSION "$VERSION"
2258 # Some tools Automake needs.
2260 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2263 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2266 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2269 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2272 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2274 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2276 # Installed binaries are usually stripped using `strip' when the user
2277 # run `make install-strip'. However `strip' might not be the right
2278 # tool to use in cross-compilation environments, therefore Automake
2279 # will honor the `STRIP' environment variable to overrule this program.
2280 if test "$cross_compiling" != no
; then
2281 if test -n "$ac_tool_prefix"; then
2282 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2283 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2286 if test "${ac_cv_prog_STRIP+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 if test -n "$STRIP"; then
2290 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2296 test -z "$as_dir" && as_dir
=.
2297 for ac_exec_ext
in '' $ac_executable_extensions; do
2298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2299 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 STRIP
=$ac_cv_prog_STRIP
2310 if test -n "$STRIP"; then
2311 { echo "$as_me:$LINENO: result: $STRIP" >&5
2312 echo "${ECHO_T}$STRIP" >&6; }
2314 { echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6; }
2320 if test -z "$ac_cv_prog_STRIP"; then
2322 # Extract the first word of "strip", so it can be a program name with args.
2323 set dummy strip
; ac_word
=$2
2324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2326 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 if test -n "$ac_ct_STRIP"; then
2330 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2336 test -z "$as_dir" && as_dir
=.
2337 for ac_exec_ext
in '' $ac_executable_extensions; do
2338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2339 ac_cv_prog_ac_ct_STRIP
="strip"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2350 if test -n "$ac_ct_STRIP"; then
2351 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2352 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2354 { echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6; }
2358 if test "x$ac_ct_STRIP" = x
; then
2361 case $cross_compiling:$ac_tool_warned in
2363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2364 whose name does not start with the host triplet. If you think this
2365 configuration is useful to you, please write to autoconf@gnu.org." >&5
2366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2367 whose name does not start with the host triplet. If you think this
2368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2369 ac_tool_warned
=yes ;;
2374 STRIP
="$ac_cv_prog_STRIP"
2378 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2380 # We need awk for the "check" target. The system "awk" is bad on
2382 # Always define AMTAR for backward compatibility.
2384 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2386 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2393 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2394 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2395 # Check whether --enable-maintainer-mode was given.
2396 if test "${enable_maintainer_mode+set}" = set; then
2397 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2399 USE_MAINTAINER_MODE
=no
2402 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2403 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2406 if test $USE_MAINTAINER_MODE = yes; then
2407 MAINTAINER_MODE_TRUE
=
2408 MAINTAINER_MODE_FALSE
='#'
2410 MAINTAINER_MODE_TRUE
='#'
2411 MAINTAINER_MODE_FALSE
=
2414 MAINT
=$MAINTAINER_MODE_TRUE
2418 # for documentation purposes
2428 # Check whether --with-extra-fascism was given.
2429 if test "${with_extra_fascism+set}" = set; then
2430 withval
=$with_extra_fascism; CFLAGS
="$CFLAGS -g -O0 -W -Wall -Wfloat-equal -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"
2436 ac_cpp
='$CPP $CPPFLAGS'
2437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2440 if test -n "$ac_tool_prefix"; then
2441 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2442 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2445 if test "${ac_cv_prog_CC+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 if test -n "$CC"; then
2449 ac_cv_prog_CC
="$CC" # Let the user override the test.
2451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir
=.
2456 for ac_exec_ext
in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CC"; then
2470 { echo "$as_me:$LINENO: result: $CC" >&5
2471 echo "${ECHO_T}$CC" >&6; }
2473 { echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6; }
2479 if test -z "$ac_cv_prog_CC"; then
2481 # Extract the first word of "gcc", so it can be a program name with args.
2482 set dummy gcc
; ac_word
=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$ac_ct_CC"; then
2489 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_ac_ct_CC
="gcc"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2509 if test -n "$ac_ct_CC"; then
2510 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2511 echo "${ECHO_T}$ac_ct_CC" >&6; }
2513 { echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6; }
2517 if test "x$ac_ct_CC" = x
; then
2520 case $cross_compiling:$ac_tool_warned in
2522 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2523 whose name does not start with the host triplet. If you think this
2524 configuration is useful to you, please write to autoconf@gnu.org." >&5
2525 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2526 whose name does not start with the host triplet. If you think this
2527 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2528 ac_tool_warned
=yes ;;
2536 if test -z "$CC"; then
2537 if test -n "$ac_tool_prefix"; then
2538 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2539 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2542 if test "${ac_cv_prog_CC+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if test -n "$CC"; then
2546 ac_cv_prog_CC
="$CC" # Let the user override the test.
2548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir
=.
2553 for ac_exec_ext
in '' $ac_executable_extensions; do
2554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2555 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 if test -n "$CC"; then
2567 { echo "$as_me:$LINENO: result: $CC" >&5
2568 echo "${ECHO_T}$CC" >&6; }
2570 { echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6; }
2577 if test -z "$CC"; then
2578 # Extract the first word of "cc", so it can be a program name with args.
2579 set dummy cc
; ac_word
=$2
2580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2582 if test "${ac_cv_prog_CC+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 if test -n "$CC"; then
2586 ac_cv_prog_CC
="$CC" # Let the user override the test.
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 for ac_exec_ext
in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2597 ac_prog_rejected
=yes
2601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2608 if test $ac_prog_rejected = yes; then
2609 # We found a bogon in the path, so make sure we never use it.
2610 set dummy
$ac_cv_prog_CC
2612 if test $# != 0; then
2613 # We chose a different compiler from the bogus one.
2614 # However, it has the same basename, so the bogon will be chosen
2615 # first if we set CC to just the basename; use the full file name.
2617 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2623 if test -n "$CC"; then
2624 { echo "$as_me:$LINENO: result: $CC" >&5
2625 echo "${ECHO_T}$CC" >&6; }
2627 { echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6; }
2633 if test -z "$CC"; then
2634 if test -n "$ac_tool_prefix"; then
2635 for ac_prog
in cl.exe
2637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2638 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2641 if test "${ac_cv_prog_CC+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2644 if test -n "$CC"; then
2645 ac_cv_prog_CC
="$CC" # Let the user override the test.
2647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir
=.
2652 for ac_exec_ext
in '' $ac_executable_extensions; do
2653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2654 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2665 if test -n "$CC"; then
2666 { echo "$as_me:$LINENO: result: $CC" >&5
2667 echo "${ECHO_T}$CC" >&6; }
2669 { echo "$as_me:$LINENO: result: no" >&5
2670 echo "${ECHO_T}no" >&6; }
2674 test -n "$CC" && break
2677 if test -z "$CC"; then
2679 for ac_prog
in cl.exe
2681 # Extract the first word of "$ac_prog", so it can be a program name with args.
2682 set dummy
$ac_prog; ac_word
=$2
2683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2685 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 if test -n "$ac_ct_CC"; then
2689 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir
=.
2696 for ac_exec_ext
in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2698 ac_cv_prog_ac_ct_CC
="$ac_prog"
2699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2709 if test -n "$ac_ct_CC"; then
2710 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2711 echo "${ECHO_T}$ac_ct_CC" >&6; }
2713 { echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6; }
2718 test -n "$ac_ct_CC" && break
2721 if test "x$ac_ct_CC" = x
; then
2724 case $cross_compiling:$ac_tool_warned in
2726 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2727 whose name does not start with the host triplet. If you think this
2728 configuration is useful to you, please write to autoconf@gnu.org." >&5
2729 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2730 whose name does not start with the host triplet. If you think this
2731 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2732 ac_tool_warned
=yes ;;
2741 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2742 See \`config.log' for more details." >&5
2743 echo "$as_me: error: no acceptable C compiler found in \$PATH
2744 See \`config.log' for more details." >&2;}
2745 { (exit 1); exit 1; }; }
2747 # Provide some information about the compiler.
2748 echo "$as_me:$LINENO: checking for C compiler version" >&5
2749 ac_compiler
=`set X $ac_compile; echo $2`
2750 { (ac_try
="$ac_compiler --version >&5"
2752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compiler --version >&5") 2>&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }
2760 { (ac_try="$ac_compiler -v >&5"
2762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2763 *) ac_try_echo
=$ac_try;;
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_compiler -v >&5") 2>&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }
2770 { (ac_try
="$ac_compiler -V >&5"
2772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2776 (eval "$ac_compiler -V >&5") 2>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }
2781 cat >conftest.$ac_ext <<_ACEOF
2784 cat confdefs.h >>conftest.$ac_ext
2785 cat >>conftest.$ac_ext <<_ACEOF
2786 /* end confdefs.h. */
2796 ac_clean_files_save=$ac_clean_files
2797 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2798 # Try to create an executable without -o first, disregard a.out.
2799 # It will help us diagnose broken compilers, and finding out an intuition
2801 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2802 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2803 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2805 # List of possible output files, starting from the most likely.
2806 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2807 # only as a last resort. b.out is created by i960 compilers.
2808 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2810 # The IRIX 6 linker writes into existing files which may not be
2811 # executable, retaining their permissions. Remove them first so a
2812 # subsequent execution test works.
2814 for ac_file in $ac_files
2817 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2818 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2823 if { (ac_try="$ac_link_default"
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2829 (eval "$ac_link_default") 2>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; then
2833 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2834 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2835 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2836 # so that the user can short-circuit this test for compilers unknown to
2838 for ac_file
in $ac_files
2840 test -f "$ac_file" || continue
2842 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2845 # We found the default executable, but exeext='' is most
2849 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2851 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2853 # We set ac_cv_exeext here because the later test for it is not
2854 # safe: cross compilers may not add the suffix if given an `-o'
2855 # argument, so we may need to know it at that point already.
2856 # Even if this section looks crufty: it has the advantage of
2863 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2866 echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.
$ac_ext >&5
2869 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2870 See \`config.log' for more details." >&5
2871 echo "$as_me: error: C compiler cannot create executables
2872 See \`config.log' for more details." >&2;}
2873 { (exit 77); exit 77; }; }
2876 ac_exeext
=$ac_cv_exeext
2877 { echo "$as_me:$LINENO: result: $ac_file" >&5
2878 echo "${ECHO_T}$ac_file" >&6; }
2880 # Check that the compiler produces executables we can run. If not, either
2881 # the compiler is broken, or we cross compile.
2882 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2883 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2884 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2885 # If not cross compiling, check that we can run a simple program.
2886 if test "$cross_compiling" != yes; then
2887 if { ac_try
='./$ac_file'
2888 { (case "(($ac_try" in
2889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2893 (eval "$ac_try") 2>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; }; then
2899 if test "$cross_compiling" = maybe; then
2902 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2903 If you meant to cross compile, use \`--host'.
2904 See \`config.log' for more details.
" >&5
2905 echo "$as_me: error
: cannot run C compiled programs.
2906 If you meant to cross compile
, use \
`--host'.
2907 See \`config.log
' for more details." >&2;}
2908 { (exit 1); exit 1; }; }
2912 { echo "$as_me:$LINENO: result: yes" >&5
2913 echo "${ECHO_T}yes" >&6; }
2915 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2916 ac_clean_files=$ac_clean_files_save
2917 # Check that the compiler produces executables we can run. If not, either
2918 # the compiler is broken, or we cross compile.
2919 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2920 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2921 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2922 echo "${ECHO_T}$cross_compiling" >&6; }
2924 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2925 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2926 if { (ac_try="$ac_link"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_link") 2>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; then
2936 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2937 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2938 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2940 for ac_file
in conftest.exe conftest conftest.
*; do
2941 test -f "$ac_file" || continue
2943 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
2944 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2950 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2951 See \`config.log' for more details." >&5
2952 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2953 See \`config.log' for more details." >&2;}
2954 { (exit 1); exit 1; }; }
2957 rm -f conftest
$ac_cv_exeext
2958 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2959 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2961 rm -f conftest.
$ac_ext
2962 EXEEXT
=$ac_cv_exeext
2964 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2965 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2966 if test "${ac_cv_objext+set}" = set; then
2967 echo $ECHO_N "(cached) $ECHO_C" >&6
2969 cat >conftest.
$ac_ext <<_ACEOF
2972 cat confdefs.h
>>conftest.
$ac_ext
2973 cat >>conftest.
$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2984 rm -f conftest.o conftest.obj
2985 if { (ac_try
="$ac_compile"
2987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2991 (eval "$ac_compile") 2>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); }; then
2995 for ac_file in conftest.o conftest.obj conftest.*; do
2996 test -f "$ac_file" || continue;
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2999 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3007 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3008 See \`config.log
' for more details." >&5
3009 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3010 See \`config.log' for more details.
" >&2;}
3011 { (exit 1); exit 1; }; }
3014 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3016 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3017 echo "${ECHO_T}$ac_cv_objext" >&6; }
3018 OBJEXT=$ac_cv_objext
3020 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3021 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3022 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3023 echo $ECHO_N "(cached
) $ECHO_C" >&6
3025 cat >conftest.$ac_ext <<_ACEOF
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3043 rm -f conftest.$ac_objext
3044 if { (ac_try="$ac_compile"
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3049 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3050 (eval "$ac_compile") 2>conftest.er1
3052 grep -v '^ *+' conftest.er1 >conftest.err
3054 cat conftest.err >&5
3055 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3056 (exit $ac_status); } &&
3057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3058 { (case "(($ac_try" in
3059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060 *) ac_try_echo=$ac_try;;
3062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3063 (eval "$ac_try") 2>&5
3065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3066 (exit $ac_status); }; } &&
3067 { ac_try='test -s conftest.$ac_objext'
3068 { (case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3073 (eval "$ac_try") 2>&5
3075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3076 (exit $ac_status); }; }; then
3079 echo "$as_me: failed program was
:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3089 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3090 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3091 GCC=`test $ac_compiler_gnu = yes && echo yes`
3092 ac_test_CFLAGS=${CFLAGS+set}
3093 ac_save_CFLAGS=$CFLAGS
3094 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3095 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3096 if test "${ac_cv_prog_cc_g+set}" = set; then
3097 echo $ECHO_N "(cached
) $ECHO_C" >&6
3099 ac_save_c_werror_flag=$ac_c_werror_flag
3100 ac_c_werror_flag=yes
3103 cat >conftest.$ac_ext <<_ACEOF
3106 cat confdefs.h >>conftest.$ac_ext
3107 cat >>conftest.$ac_ext <<_ACEOF
3108 /* end confdefs.h. */
3118 rm -f conftest.$ac_objext
3119 if { (ac_try="$ac_compile"
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3125 (eval "$ac_compile") 2>conftest.er1
3127 grep -v '^ *+' conftest.er1 >conftest.err
3129 cat conftest.err >&5
3130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3131 (exit $ac_status); } &&
3132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3133 { (case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_try") 2>&5
3140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3141 (exit $ac_status); }; } &&
3142 { ac_try='test -s conftest.$ac_objext'
3143 { (case "(($ac_try" in
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3148 (eval "$ac_try") 2>&5
3150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3151 (exit $ac_status); }; }; then
3154 echo "$as_me: failed program was
:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3158 cat >conftest.$ac_ext <<_ACEOF
3161 cat confdefs.h >>conftest.$ac_ext
3162 cat >>conftest.$ac_ext <<_ACEOF
3163 /* end confdefs.h. */
3173 rm -f conftest.$ac_objext
3174 if { (ac_try="$ac_compile"
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3180 (eval "$ac_compile") 2>conftest.er1
3182 grep -v '^ *+' conftest.er1 >conftest.err
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3188 { (case "(($ac_try" in
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_try") 2>&5
3195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3196 (exit $ac_status); }; } &&
3197 { ac_try='test -s conftest.$ac_objext'
3198 { (case "(($ac_try" in
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3203 (eval "$ac_try") 2>&5
3205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3206 (exit $ac_status); }; }; then
3209 echo "$as_me: failed program was
:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3212 ac_c_werror_flag=$ac_save_c_werror_flag
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3229 rm -f conftest.$ac_objext
3230 if { (ac_try="$ac_compile"
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3236 (eval "$ac_compile") 2>conftest.er1
3238 grep -v '^ *+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3244 { (case "(($ac_try" in
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3248 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3249 (eval "$ac_try") 2>&5
3251 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3252 (exit $ac_status); }; } &&
3253 { ac_try='test -s conftest.$ac_objext'
3254 { (case "(($ac_try" in
3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3259 (eval "$ac_try") 2>&5
3261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3262 (exit $ac_status); }; }; then
3265 echo "$as_me: failed program was
:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3278 ac_c_werror_flag=$ac_save_c_werror_flag
3280 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3281 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3282 if test "$ac_test_CFLAGS" = set; then
3283 CFLAGS=$ac_save_CFLAGS
3284 elif test $ac_cv_prog_cc_g = yes; then
3285 if test "$GCC" = yes; then
3291 if test "$GCC" = yes; then
3297 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3298 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3299 if test "${ac_cv_prog_cc_c89+set}" = set; then
3300 echo $ECHO_N "(cached
) $ECHO_C" >&6
3302 ac_cv_prog_cc_c89=no
3304 cat >conftest.$ac_ext <<_ACEOF
3307 cat confdefs.h >>conftest.$ac_ext
3308 cat >>conftest.$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3312 #include <sys/types.h>
3313 #include <sys/stat.h>
3314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3315 struct buf { int x; };
3316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3317 static char *e (p, i)
3323 static char *f (char * (*g) (char **, int), char **p, ...)
3328 s = g (p, va_arg (v,int));
3333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3334 function prototypes and stuff, but not '\xHH' hex character constants.
3335 These don't provoke an error unfortunately, instead are silently treated
3336 as 'x'. The following induces an error, until -std is added to get
3337 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3338 array size at least. It's necessary to write '\x00'==0 to get something
3339 that's true only with -std. */
3340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3343 inside strings and character constants. */
3345 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3347 int test (int i, double x);
3348 struct s1 {int (*f) (int a);};
3349 struct s2 {int (*f) (double a);};
3350 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3356 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3361 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3362 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3364 CC="$ac_save_CC $ac_arg"
3365 rm -f conftest.$ac_objext
3366 if { (ac_try="$ac_compile"
3368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3372 (eval "$ac_compile") 2>conftest.er1
3374 grep -v '^ *+' conftest.er1 >conftest.err
3376 cat conftest.err >&5
3377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3378 (exit $ac_status); } &&
3379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3380 { (case "(($ac_try" in
3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3384 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3385 (eval "$ac_try") 2>&5
3387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3388 (exit $ac_status); }; } &&
3389 { ac_try='test -s conftest.$ac_objext'
3390 { (case "(($ac_try" in
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3395 (eval "$ac_try") 2>&5
3397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3398 (exit $ac_status); }; }; 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
3434 DEPDIR="${am__leading_dot}deps
"
3436 ac_config_commands="$ac_config_commands depfiles
"
3439 am_make=${MAKE-make}
3440 cat > confinc << 'END'
3445 # If we don't find an include directive, just comment out the code.
3446 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3447 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3451 # First try GNU make style include.
3452 echo "include confinc" > confmf
3453 # We grep out `Entering directory' and `Leaving directory'
3454 # messages which can occur if `w' ends up in MAKEFLAGS.
3455 # In particular we don't look at `^make:' because GNU make might
3456 # be invoked under some other name (usually "gmake"), in which
3457 # case it prints its new name instead of `make'.
3458 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3463 # Now try BSD make style include.
3464 if test "$am__include" = "#"; then
3465 echo '.include "confinc"' > confmf
3466 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3467 am__include
=.include
3474 { echo "$as_me:$LINENO: result: $_am_result" >&5
3475 echo "${ECHO_T}$_am_result" >&6; }
3476 rm -f confinc confmf
3478 # Check whether --enable-dependency-tracking was given.
3479 if test "${enable_dependency_tracking+set}" = set; then
3480 enableval
=$enable_dependency_tracking;
3483 if test "x$enable_dependency_tracking" != xno
; then
3484 am_depcomp
="$ac_aux_dir/depcomp"
3489 if test "x$enable_dependency_tracking" != xno; then
3500 depcc
="$CC" am_compiler_list
=
3502 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3503 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3504 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3508 # We make a subdir and do the tests there. Otherwise we can end up
3509 # making bogus files that we don't know about and never remove. For
3510 # instance it was reported that on HP-UX the gcc test will end up
3511 # making a dummy file named `D' -- because `-MD' means `put the output
3514 # Copy depcomp to subdir because otherwise we won't find it if we're
3515 # using a relative directory.
3516 cp "$am_depcomp" conftest.dir
3518 # We will build objects and dependencies in a subdirectory because
3519 # it helps to detect inapplicable dependency modes. For instance
3520 # both Tru64's cc and ICC support -MD to output dependencies as a
3521 # side effect of compilation, but ICC will put the dependencies in
3522 # the current directory while Tru64 will put them in the object
3526 am_cv_CC_dependencies_compiler_type
=none
3527 if test "$am_compiler_list" = ""; then
3528 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3530 for depmode
in $am_compiler_list; do
3531 # Setup a source with many dependencies, because some compilers
3532 # like to wrap large dependency lists on column 80 (with \), and
3533 # we should not choose a depcomp mode which is confused by this.
3535 # We need to recreate these files for each test, as the compiler may
3536 # overwrite some of them when testing with obscure command lines.
3537 # This happens at least with the AIX C compiler.
3539 for i
in 1 2 3 4 5 6; do
3540 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3541 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3542 # Solaris 8's {/usr,}/bin/sh.
3543 touch sub
/conftst
$i.h
3545 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3549 # after this tag, mechanisms are not by side-effect, so they'll
3550 # only be used when explicitly requested
3551 if test "x$enable_dependency_tracking" = xyes
; then
3559 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3560 # mode. It turns out that the SunPro C++ compiler does not properly
3561 # handle `-M -o', and we need to detect this.
3562 if depmode
=$depmode \
3563 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3564 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3565 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3566 >/dev
/null
2>conftest.err
&&
3567 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3568 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3569 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3570 # icc doesn't choke on unknown options, it will just issue warnings
3571 # or remarks (even with -Werror). So we grep stderr for any message
3572 # that says an option was ignored or not supported.
3573 # When given -MP, icc 7.0 and 7.1 complain thusly:
3574 # icc: Command line warning: ignoring option '-M'; no argument required
3575 # The diagnosis changed in icc 8.0:
3576 # icc: Command line remark: option '-MP' not supported
3577 if (grep 'ignoring option' conftest.err
||
3578 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3579 am_cv_CC_dependencies_compiler_type
=$depmode
3588 am_cv_CC_dependencies_compiler_type
=none
3592 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3593 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3594 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3599 test "x$enable_dependency_tracking" != xno \
3600 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3602 am__fastdepCC_FALSE
='#'
3604 am__fastdepCC_TRUE
='#'
3605 am__fastdepCC_FALSE
=
3609 # Check whether --enable-shared was given.
3610 if test "${enable_shared+set}" = set; then
3611 enableval
=$enable_shared; p
=${PACKAGE-default}
3613 yes) enable_shared
=yes ;;
3614 no
) enable_shared
=no
;;
3617 # Look at the argument we got. We use all the common list separators.
3618 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3619 for pkg
in $enableval; do
3621 if test "X$pkg" = "X$p"; then
3633 # Check whether --enable-static was given.
3634 if test "${enable_static+set}" = set; then
3635 enableval
=$enable_static; p
=${PACKAGE-default}
3637 yes) enable_static
=yes ;;
3638 no
) enable_static
=no
;;
3641 # Look at the argument we got. We use all the common list separators.
3642 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3643 for pkg
in $enableval; do
3645 if test "X$pkg" = "X$p"; then
3657 # Check whether --enable-fast-install was given.
3658 if test "${enable_fast_install+set}" = set; then
3659 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3661 yes) enable_fast_install
=yes ;;
3662 no
) enable_fast_install
=no
;;
3664 enable_fast_install
=no
3665 # Look at the argument we got. We use all the common list separators.
3666 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3667 for pkg
in $enableval; do
3669 if test "X$pkg" = "X$p"; then
3670 enable_fast_install
=yes
3677 enable_fast_install
=yes
3681 # Make sure we can run config.sub.
3682 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3683 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3684 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3685 { (exit 1); exit 1; }; }
3687 { echo "$as_me:$LINENO: checking build system type" >&5
3688 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3689 if test "${ac_cv_build+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 ac_build_alias
=$build_alias
3693 test "x$ac_build_alias" = x
&&
3694 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3695 test "x$ac_build_alias" = x
&&
3696 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3697 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3698 { (exit 1); exit 1; }; }
3699 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3700 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3701 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3702 { (exit 1); exit 1; }; }
3705 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3706 echo "${ECHO_T}$ac_cv_build" >&6; }
3707 case $ac_cv_build in
3709 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3710 echo "$as_me: error: invalid value of canonical build" >&2;}
3711 { (exit 1); exit 1; }; };;
3714 ac_save_IFS
=$IFS; IFS
='-'
3720 # Remember, the first character of IFS is used to create $*,
3721 # except with old shells:
3724 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3727 { echo "$as_me:$LINENO: checking host system type" >&5
3728 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3729 if test "${ac_cv_host+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3732 if test "x$host_alias" = x
; then
3733 ac_cv_host
=$ac_cv_build
3735 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3736 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3737 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3738 { (exit 1); exit 1; }; }
3742 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3743 echo "${ECHO_T}$ac_cv_host" >&6; }
3746 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3747 echo "$as_me: error: invalid value of canonical host" >&2;}
3748 { (exit 1); exit 1; }; };;
3751 ac_save_IFS
=$IFS; IFS
='-'
3757 # Remember, the first character of IFS is used to create $*,
3758 # except with old shells:
3761 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3764 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3765 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3766 if test "${lt_cv_path_SED+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 # Loop through the user's path and test for sed and gsed.
3770 # Then use that list of sed's as ones to test for truncation.
3771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 test -z "$as_dir" && as_dir
=.
3776 for lt_ac_prog
in sed gsed
; do
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3779 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3786 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3787 # along with /bin/sed that truncates output.
3788 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3789 test ! -f $lt_ac_sed && continue
3790 cat /dev
/null
> conftest.
in
3792 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3793 # Check for GNU sed and select it if it is found.
3794 if "$lt_ac_sed" --version 2>&1 < /dev
/null
| grep 'GNU' > /dev
/null
; then
3795 lt_cv_path_SED
=$lt_ac_sed
3799 cat conftest.
in conftest.
in >conftest.tmp
3800 mv conftest.tmp conftest.
in
3801 cp conftest.
in conftest.
nl
3803 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out
|| break
3804 cmp -s conftest.out conftest.
nl || break
3805 # 10000 chars as input seems more than enough
3806 test $lt_ac_count -gt 10 && break
3807 lt_ac_count
=`expr $lt_ac_count + 1`
3808 if test $lt_ac_count -gt $lt_ac_max; then
3809 lt_ac_max
=$lt_ac_count
3810 lt_cv_path_SED
=$lt_ac_sed
3818 { echo "$as_me:$LINENO: result: $SED" >&5
3819 echo "${ECHO_T}$SED" >&6; }
3821 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3822 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3823 if test "${ac_cv_path_GREP+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 # Extract the first word of "grep ggrep" to use in msg output
3827 if test -z "$GREP"; then
3828 set dummy
grep ggrep
; ac_prog_name
=$2
3829 if test "${ac_cv_path_GREP+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 ac_path_GREP_found
=false
3833 # Loop through the user's path and test for each of PROGNAME-LIST
3834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3835 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3838 test -z "$as_dir" && as_dir
=.
3839 for ac_prog
in grep ggrep
; do
3840 for ac_exec_ext
in '' $ac_executable_extensions; do
3841 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3842 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3843 # Check for GNU ac_path_GREP and select it if it is found.
3844 # Check for GNU $ac_path_GREP
3845 case `"$ac_path_GREP" --version 2>&1` in
3847 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3850 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3853 cat "conftest.in" "conftest.in" >"conftest.tmp"
3854 mv "conftest.tmp" "conftest.in"
3855 cp "conftest.in" "conftest.nl"
3856 echo 'GREP' >> "conftest.nl"
3857 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3858 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3859 ac_count
=`expr $ac_count + 1`
3860 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3861 # Best one so far, save it but keep looking for a better one
3862 ac_cv_path_GREP
="$ac_path_GREP"
3863 ac_path_GREP_max
=$ac_count
3865 # 10*(2^10) chars as input seems more than enough
3866 test $ac_count -gt 10 && break
3868 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3872 $ac_path_GREP_found && break 3
3882 GREP
="$ac_cv_path_GREP"
3883 if test -z "$GREP"; then
3884 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3885 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3886 { (exit 1); exit 1; }; }
3890 ac_cv_path_GREP
=$GREP
3895 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3896 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3897 GREP
="$ac_cv_path_GREP"
3900 { echo "$as_me:$LINENO: checking for egrep" >&5
3901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3902 if test "${ac_cv_path_EGREP+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3906 then ac_cv_path_EGREP
="$GREP -E"
3908 # Extract the first word of "egrep" to use in msg output
3909 if test -z "$EGREP"; then
3910 set dummy
egrep; ac_prog_name
=$2
3911 if test "${ac_cv_path_EGREP+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 ac_path_EGREP_found
=false
3915 # Loop through the user's path and test for each of PROGNAME-LIST
3916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3917 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3920 test -z "$as_dir" && as_dir
=.
3921 for ac_prog
in egrep; do
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3924 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3925 # Check for GNU ac_path_EGREP and select it if it is found.
3926 # Check for GNU $ac_path_EGREP
3927 case `"$ac_path_EGREP" --version 2>&1` in
3929 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3932 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3935 cat "conftest.in" "conftest.in" >"conftest.tmp"
3936 mv "conftest.tmp" "conftest.in"
3937 cp "conftest.in" "conftest.nl"
3938 echo 'EGREP' >> "conftest.nl"
3939 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3940 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3941 ac_count
=`expr $ac_count + 1`
3942 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3943 # Best one so far, save it but keep looking for a better one
3944 ac_cv_path_EGREP
="$ac_path_EGREP"
3945 ac_path_EGREP_max
=$ac_count
3947 # 10*(2^10) chars as input seems more than enough
3948 test $ac_count -gt 10 && break
3950 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3954 $ac_path_EGREP_found && break 3
3964 EGREP
="$ac_cv_path_EGREP"
3965 if test -z "$EGREP"; then
3966 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3967 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3968 { (exit 1); exit 1; }; }
3972 ac_cv_path_EGREP
=$EGREP
3978 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3979 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3980 EGREP
="$ac_cv_path_EGREP"
3984 # Check whether --with-gnu-ld was given.
3985 if test "${with_gnu_ld+set}" = set; then
3986 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
3992 if test "$GCC" = yes; then
3993 # Check if gcc -print-prog-name=ld gives a path.
3994 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3995 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3998 # gcc leaves a trailing carriage return which upsets mingw
3999 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4001 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4004 # Accept absolute paths.
4006 re_direlt
='/[^/][^/]*/\.\./'
4007 # Canonicalize the pathname of ld
4008 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4009 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
4010 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4012 test -z "$LD" && LD
="$ac_prog"
4015 # If it fails, then pretend we aren't using GCC.
4019 # If it is relative, then search for the first ld in PATH.
4023 elif test "$with_gnu_ld" = yes; then
4024 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4025 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4027 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4028 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4030 if test "${lt_cv_path_LD+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 if test -z "$LD"; then
4034 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4035 for ac_dir
in $PATH; do
4037 test -z "$ac_dir" && ac_dir
=.
4038 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4039 lt_cv_path_LD
="$ac_dir/$ac_prog"
4040 # Check to see if the program is GNU ld. I'd rather use --version,
4041 # but apparently some variants of GNU ld only accept -v.
4042 # Break only if it was the GNU/non-GNU ld that we prefer.
4043 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4044 *GNU
* | *'with BFD'*)
4045 test "$with_gnu_ld" != no
&& break
4048 test "$with_gnu_ld" != yes && break
4055 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4060 if test -n "$LD"; then
4061 { echo "$as_me:$LINENO: result: $LD" >&5
4062 echo "${ECHO_T}$LD" >&6; }
4064 { echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6; }
4067 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4068 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4069 { (exit 1); exit 1; }; }
4070 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4071 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4072 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4076 case `$LD -v 2>&1 </dev/null` in
4077 *GNU
* | *'with BFD'*)
4078 lt_cv_prog_gnu_ld
=yes
4081 lt_cv_prog_gnu_ld
=no
4085 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4086 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4087 with_gnu_ld
=$lt_cv_prog_gnu_ld
4090 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4091 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4092 if test "${lt_cv_ld_reload_flag+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 lt_cv_ld_reload_flag
='-r'
4097 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4098 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4099 reload_flag
=$lt_cv_ld_reload_flag
4100 case $reload_flag in
4102 *) reload_flag
=" $reload_flag" ;;
4104 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4107 if test "$GCC" = yes; then
4108 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4110 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4115 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4116 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4117 if test "${lt_cv_path_NM+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 if test -n "$NM"; then
4121 # Let the user override the test.
4124 lt_nm_to_check
="${ac_tool_prefix}nm"
4125 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4126 lt_nm_to_check
="$lt_nm_to_check nm"
4128 for lt_tmp_nm
in $lt_nm_to_check; do
4129 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4130 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4132 test -z "$ac_dir" && ac_dir
=.
4133 tmp_nm
="$ac_dir/$lt_tmp_nm"
4134 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4135 # Check to see if the nm accepts a BSD-compat flag.
4136 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4137 # nm: unknown option "B" ignored
4138 # Tru64's nm complains that /dev/null is an invalid object file
4139 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4140 */dev
/null
* | *'Invalid file or object type'*)
4141 lt_cv_path_NM
="$tmp_nm -B"
4145 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4147 lt_cv_path_NM
="$tmp_nm -p"
4151 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4152 continue # so that we can try to find one that supports BSD flags
4161 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4164 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4165 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4168 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4169 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4171 if test "$LN_S" = "ln -s"; then
4172 { echo "$as_me:$LINENO: result: yes" >&5
4173 echo "${ECHO_T}yes" >&6; }
4175 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4176 echo "${ECHO_T}no, using $LN_S" >&6; }
4179 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4180 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4181 if test "${lt_cv_deplibs_check_method+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4185 lt_cv_file_magic_test_file
=
4186 lt_cv_deplibs_check_method
='unknown'
4187 # Need to set the preceding variable on all platforms that support
4188 # interlibrary dependencies.
4189 # 'none' -- dependencies not supported.
4190 # `unknown' -- same as none, but documents that we really don't know.
4191 # 'pass_all' -- all dependencies passed with no checks.
4192 # 'test_compile' -- check by making test program.
4193 # 'file_magic [[regex]]' -- check by looking for files in library path
4194 # which responds to the $file_magic_cmd with a given extended regex.
4195 # If you have `file' or equivalent on your system and you're not sure
4196 # whether `pass_all' will *always* work, you probably want this one.
4200 lt_cv_deplibs_check_method
=pass_all
4204 lt_cv_deplibs_check_method
=pass_all
4208 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4209 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4210 lt_cv_file_magic_test_file
=/shlib
/libc.so
4214 # func_win32_libid is a shell function defined in ltmain.sh
4215 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4216 lt_cv_file_magic_cmd
='func_win32_libid'
4220 # Base MSYS/MinGW do not provide the 'file' command needed by
4221 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4222 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4223 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4226 darwin
* | rhapsody
*)
4227 lt_cv_deplibs_check_method
=pass_all
4230 freebsd
* | dragonfly
*)
4231 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
4234 # Not sure whether the presence of OpenBSD here was a mistake.
4235 # Let's accept both of them until this is cleared up.
4236 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4237 lt_cv_file_magic_cmd
=/usr
/bin
/file
4238 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4242 lt_cv_deplibs_check_method
=pass_all
4247 lt_cv_deplibs_check_method
=pass_all
4250 hpux10.20
* | hpux11
*)
4251 lt_cv_file_magic_cmd
=/usr
/bin
/file
4254 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4255 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4258 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]'
4259 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4262 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4263 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4269 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4270 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4273 irix5
* | irix6
* | nonstopux
*)
4275 *-32|*"-32 ") libmagic
=32-bit;;
4276 *-n32|*"-n32 ") libmagic
=N32
;;
4277 *-64|*"-64 ") libmagic
=64-bit;;
4278 *) libmagic
=never
-match;;
4280 lt_cv_deplibs_check_method
=pass_all
4283 # This must be Linux ELF.
4284 linux
* | k
*bsd
*-gnu)
4285 lt_cv_deplibs_check_method
=pass_all
4288 netbsd
* | netbsdelf
*-gnu)
4289 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
4290 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4292 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4297 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4298 lt_cv_file_magic_cmd
=/usr
/bin
/file
4299 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4303 lt_cv_deplibs_check_method
=unknown
4307 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4308 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4310 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4314 osf3
* | osf4
* | osf5
*)
4315 lt_cv_deplibs_check_method
=pass_all
4319 lt_cv_deplibs_check_method
=pass_all
4323 case $host_vendor in
4325 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]'
4326 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4329 lt_cv_deplibs_check_method
=pass_all
4332 lt_cv_file_magic_cmd
='/bin/file'
4333 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4336 lt_cv_file_magic_cmd
='/bin/file'
4337 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4338 lt_cv_file_magic_test_file
=/lib
/libc.so
4341 lt_cv_deplibs_check_method
=pass_all
4344 lt_cv_deplibs_check_method
=pass_all
4349 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4350 lt_cv_deplibs_check_method
=pass_all
4355 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4356 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4357 file_magic_cmd
=$lt_cv_file_magic_cmd
4358 deplibs_check_method
=$lt_cv_deplibs_check_method
4359 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4364 # If no C compiler was specified, use CC.
4367 # If no C compiler flags were specified, use CFLAGS.
4368 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4370 # Allow CC to be a program name with arguments.
4374 # Check whether --enable-libtool-lock was given.
4375 if test "${enable_libtool_lock+set}" = set; then
4376 enableval
=$enable_libtool_lock;
4379 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4381 # Some flags need to be propagated to the compiler or linker for good
4385 # Find out which ABI we are using.
4386 echo 'int i;' > conftest.
$ac_ext
4387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4388 (eval $ac_compile) 2>&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; then
4392 case `/usr/bin/file conftest.$ac_objext` in
4404 # Find out which ABI we are using.
4405 echo '#line 4405 "configure"' > conftest.
$ac_ext
4406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4407 (eval $ac_compile) 2>&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; then
4411 if test "$lt_cv_prog_gnu_ld" = yes; then
4412 case `/usr/bin/file conftest.$ac_objext` in
4414 LD
="${LD-ld} -melf32bsmip"
4417 LD
="${LD-ld} -melf32bmipn32"
4420 LD
="${LD-ld} -melf64bmip"
4424 case `/usr/bin/file conftest.$ac_objext` in
4440 x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4441 # Find out which ABI we are using.
4442 echo 'int i;' > conftest.
$ac_ext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444 (eval $ac_compile) 2>&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; then
4448 case `/usr/bin/file conftest.o` in
4452 LD
="${LD-ld} -m elf_i386"
4454 ppc64
-*linux
*|powerpc64
-*linux
*)
4455 LD
="${LD-ld} -m elf32ppclinux"
4458 LD
="${LD-ld} -m elf_s390"
4461 LD
="${LD-ld} -m elf32_sparc"
4468 LD
="${LD-ld} -m elf_x86_64"
4470 ppc
*-*linux
*|powerpc
*-*linux
*)
4471 LD
="${LD-ld} -m elf64ppc"
4474 LD
="${LD-ld} -m elf64_s390"
4477 LD
="${LD-ld} -m elf64_sparc"
4487 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4488 SAVE_CFLAGS
="$CFLAGS"
4489 CFLAGS
="$CFLAGS -belf"
4490 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4491 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4492 if test "${lt_cv_cc_needs_belf+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 ac_cpp
='$CPP $CPPFLAGS'
4497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4501 cat >conftest.
$ac_ext <<_ACEOF
4504 cat confdefs.h
>>conftest.
$ac_ext
4505 cat >>conftest.
$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4516 rm -f conftest.
$ac_objext conftest
$ac_exeext
4517 if { (ac_try
="$ac_link"
4519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4520 *) ac_try_echo=$ac_try;;
4522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4523 (eval "$ac_link") 2>conftest.er1
4525 grep -v '^ *+' conftest.er1 >conftest.err
4527 cat conftest.err >&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); } &&
4530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4531 { (case "(($ac_try" in
4532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4533 *) ac_try_echo
=$ac_try;;
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_try") 2>&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; } &&
4540 { ac_try
='test -s conftest$ac_exeext'
4541 { (case "(($ac_try" in
4542 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4543 *) ac_try_echo=$ac_try;;
4545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4546 (eval "$ac_try") 2>&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 lt_cv_cc_needs_belf=yes
4552 echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.$ac_ext >&5
4555 lt_cv_cc_needs_belf=no
4558 rm -f core conftest.err conftest.$ac_objext \
4559 conftest$ac_exeext conftest.$ac_ext
4561 ac_cpp='$CPP $CPPFLAGS'
4562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4567 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4568 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4569 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4570 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4571 CFLAGS="$SAVE_CFLAGS"
4575 # Find out which ABI we are using.
4576 echo 'int i;' > conftest.$ac_ext
4577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4578 (eval $ac_compile) 2>&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; then
4582 case `/usr
/bin
/file conftest.o
` in
4584 case $lt_cv_prog_gnu_ld in
4585 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4586 *) LD="${LD-ld} -64" ;;
4597 need_locks="$enable_libtool_lock"
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4606 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4607 # On Suns, sometimes $CPP names a directory.
4608 if test -n "$CPP" && test -d "$CPP"; then
4611 if test -z "$CPP"; then
4612 if test "${ac_cv_prog_CPP+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 # Double quotes because CPP needs to be expanded
4616 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4619 for ac_c_preproc_warn_flag in '' yes
4621 # Use a header file that comes with gcc, so configuring glibc
4622 # with a fresh cross-compiler works.
4623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4624 # <limits.h> exists even on freestanding compilers.
4625 # On the NeXT, cc -E runs the code through the compiler's parser,
4626 # not just through cpp. "Syntax error" is here to catch this case.
4627 cat >conftest.$ac_ext <<_ACEOF
4630 cat confdefs.h >>conftest.$ac_ext
4631 cat >>conftest.$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4634 # include <limits.h>
4636 # include <assert.h>
4640 if { (ac_try="$ac_cpp conftest.$ac_ext"
4642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4643 *) ac_try_echo
=$ac_try;;
4645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4648 grep -v '^ *+' conftest.er1
>conftest.err
4650 cat conftest.err
>&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } >/dev
/null
; then
4653 if test -s conftest.err
; then
4654 ac_cpp_err
=$ac_c_preproc_warn_flag
4655 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4662 if test -z "$ac_cpp_err"; then
4665 echo "$as_me: failed program was:" >&5
4666 sed 's/^/| /' conftest.
$ac_ext >&5
4668 # Broken: fails on valid input.
4672 rm -f conftest.err conftest.
$ac_ext
4674 # OK, works on sane cases. Now check whether nonexistent headers
4675 # can be detected and how.
4676 cat >conftest.
$ac_ext <<_ACEOF
4679 cat confdefs.h
>>conftest.
$ac_ext
4680 cat >>conftest.
$ac_ext <<_ACEOF
4681 /* end confdefs.h. */
4682 #include <ac_nonexistent.h>
4684 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4687 *) ac_try_echo=$ac_try;;
4689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4692 grep -v '^ *+' conftest.er1 >conftest.err
4694 cat conftest.err >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } >/dev/null; then
4697 if test -s conftest.err; then
4698 ac_cpp_err=$ac_c_preproc_warn_flag
4699 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4706 if test -z "$ac_cpp_err"; then
4707 # Broken: success on invalid input.
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4713 # Passes both tests.
4718 rm -f conftest.err conftest.$ac_ext
4721 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4722 rm -f conftest.err conftest.
$ac_ext
4723 if $ac_preproc_ok; then
4735 { echo "$as_me:$LINENO: result: $CPP" >&5
4736 echo "${ECHO_T}$CPP" >&6; }
4738 for ac_c_preproc_warn_flag
in '' yes
4740 # Use a header file that comes with gcc, so configuring glibc
4741 # with a fresh cross-compiler works.
4742 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4743 # <limits.h> exists even on freestanding compilers.
4744 # On the NeXT, cc -E runs the code through the compiler's parser,
4745 # not just through cpp. "Syntax error" is here to catch this case.
4746 cat >conftest.
$ac_ext <<_ACEOF
4749 cat confdefs.h
>>conftest.
$ac_ext
4750 cat >>conftest.
$ac_ext <<_ACEOF
4751 /* end confdefs.h. */
4753 # include <limits.h>
4755 # include <assert.h>
4759 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4762 *) ac_try_echo=$ac_try;;
4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4765 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4767 grep -v '^ *+' conftest.er1 >conftest.err
4769 cat conftest.err >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } >/dev/null; then
4772 if test -s conftest.err; then
4773 ac_cpp_err=$ac_c_preproc_warn_flag
4774 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4781 if test -z "$ac_cpp_err"; then
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4787 # Broken: fails on valid input.
4791 rm -f conftest.err conftest.$ac_ext
4793 # OK, works on sane cases. Now check whether nonexistent headers
4794 # can be detected and how.
4795 cat >conftest.$ac_ext <<_ACEOF
4798 cat confdefs.h >>conftest.$ac_ext
4799 cat >>conftest.$ac_ext <<_ACEOF
4800 /* end confdefs.h. */
4801 #include <ac_nonexistent.h>
4803 if { (ac_try="$ac_cpp conftest.$ac_ext"
4805 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4806 *) ac_try_echo
=$ac_try;;
4808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4811 grep -v '^ *+' conftest.er1
>conftest.err
4813 cat conftest.err
>&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); } >/dev
/null
; then
4816 if test -s conftest.err
; then
4817 ac_cpp_err
=$ac_c_preproc_warn_flag
4818 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4825 if test -z "$ac_cpp_err"; then
4826 # Broken: success on invalid input.
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.
$ac_ext >&5
4832 # Passes both tests.
4837 rm -f conftest.err conftest.
$ac_ext
4840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4841 rm -f conftest.err conftest.
$ac_ext
4842 if $ac_preproc_ok; then
4845 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4846 See \`config.log' for more details." >&5
4847 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4848 See \`config.log' for more details." >&2;}
4849 { (exit 1); exit 1; }; }
4853 ac_cpp
='$CPP $CPPFLAGS'
4854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4859 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4860 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4861 if test "${ac_cv_header_stdc+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.
$ac_ext <<_ACEOF
4867 cat confdefs.h
>>conftest.
$ac_ext
4868 cat >>conftest.
$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4883 rm -f conftest.
$ac_objext
4884 if { (ac_try
="$ac_compile"
4886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4887 *) ac_try_echo=$ac_try;;
4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4890 (eval "$ac_compile") 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } &&
4897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4898 { (case "(($ac_try" in
4899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4900 *) ac_try_echo
=$ac_try;;
4902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4903 (eval "$ac_try") 2>&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); }; } &&
4907 { ac_try
='test -s conftest.$ac_objext'
4908 { (case "(($ac_try" in
4909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4910 *) ac_try_echo=$ac_try;;
4912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4913 (eval "$ac_try") 2>&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); }; }; then
4917 ac_cv_header_stdc=yes
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.$ac_ext >&5
4922 ac_cv_header_stdc=no
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927 if test $ac_cv_header_stdc = yes; then
4928 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4929 cat >conftest.$ac_ext <<_ACEOF
4932 cat confdefs.h >>conftest.$ac_ext
4933 cat >>conftest.$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4939 $EGREP "memchr" >/dev/null 2>&1; then
4942 ac_cv_header_stdc=no
4948 if test $ac_cv_header_stdc = yes; then
4949 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4950 cat >conftest.$ac_ext <<_ACEOF
4953 cat confdefs.h >>conftest.$ac_ext
4954 cat >>conftest.$ac_ext <<_ACEOF
4955 /* end confdefs.h. */
4959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4960 $EGREP "free" >/dev/null 2>&1; then
4963 ac_cv_header_stdc=no
4969 if test $ac_cv_header_stdc = yes; then
4970 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4971 if test "$cross_compiling" = yes; then
4974 cat >conftest.$ac_ext <<_ACEOF
4977 cat confdefs.h >>conftest.$ac_ext
4978 cat >>conftest.$ac_ext <<_ACEOF
4979 /* end confdefs.h. */
4982 #if ((' ' & 0x0FF) == 0x020)
4983 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4984 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4986 # define ISLOWER(c) \
4987 (('a' <= (c) && (c) <= 'i') \
4988 || ('j' <= (c) && (c) <= 'r') \
4989 || ('s' <= (c) && (c) <= 'z'))
4990 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4993 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4998 for (i = 0; i < 256; i++)
4999 if (XOR (islower (i), ISLOWER (i))
5000 || toupper (i) != TOUPPER (i))
5005 rm -f conftest$ac_exeext
5006 if { (ac_try="$ac_link"
5008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5009 *) ac_try_echo
=$ac_try;;
5011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5012 (eval "$ac_link") 2>&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5016 { (case "(($ac_try" in
5017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5018 *) ac_try_echo=$ac_try;;
5020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5021 (eval "$ac_try") 2>&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; }; then
5027 echo "$as_me: program exited with status $ac_status" >&5
5028 echo "$as_me: failed program was:" >&5
5029 sed 's/^/| /' conftest.$ac_ext >&5
5032 ac_cv_header_stdc=no
5034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5040 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5041 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5042 if test $ac_cv_header_stdc = yes; then
5044 cat >>confdefs.h <<\_ACEOF
5045 #define STDC_HEADERS 1
5050 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5060 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5061 inttypes.h stdint.h unistd.h
5063 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5064 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5066 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5069 cat >conftest.$ac_ext <<_ACEOF
5072 cat confdefs.h >>conftest.$ac_ext
5073 cat >>conftest.$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5075 $ac_includes_default
5077 #include <$ac_header>
5079 rm -f conftest.$ac_objext
5080 if { (ac_try="$ac_compile"
5082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5083 *) ac_try_echo
=$ac_try;;
5085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5086 (eval "$ac_compile") 2>conftest.er1
5088 grep -v '^ *+' conftest.er1
>conftest.err
5090 cat conftest.err
>&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); } &&
5093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5094 { (case "(($ac_try" in
5095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5099 (eval "$ac_try") 2>&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); }; } &&
5103 { ac_try='test -s conftest.$ac_objext'
5104 { (case "(($ac_try" in
5105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5106 *) ac_try_echo
=$ac_try;;
5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5109 (eval "$ac_try") 2>&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; }; then
5113 eval "$as_ac_Header=yes"
5115 echo "$as_me: failed program was:" >&5
5116 sed 's/^/| /' conftest.
$ac_ext >&5
5118 eval "$as_ac_Header=no"
5121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5123 ac_res
=`eval echo '${'$as_ac_Header'}'`
5124 { echo "$as_me:$LINENO: result: $ac_res" >&5
5125 echo "${ECHO_T}$ac_res" >&6; }
5126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5127 cat >>confdefs.h
<<_ACEOF
5128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5137 for ac_header
in dlfcn.h
5139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5140 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5141 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5143 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 ac_res
=`eval echo '${'$as_ac_Header'}'`
5147 { echo "$as_me:$LINENO: result: $ac_res" >&5
5148 echo "${ECHO_T}$ac_res" >&6; }
5150 # Is the header compilable?
5151 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5153 cat >conftest.
$ac_ext <<_ACEOF
5156 cat confdefs.h
>>conftest.
$ac_ext
5157 cat >>conftest.
$ac_ext <<_ACEOF
5158 /* end confdefs.h. */
5159 $ac_includes_default
5160 #include <$ac_header>
5162 rm -f conftest.
$ac_objext
5163 if { (ac_try
="$ac_compile"
5165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5166 *) ac_try_echo=$ac_try;;
5168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5169 (eval "$ac_compile") 2>conftest.er1
5171 grep -v '^ *+' conftest.er1 >conftest.err
5173 cat conftest.err >&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); } &&
5176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5177 { (case "(($ac_try" in
5178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5179 *) ac_try_echo
=$ac_try;;
5181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5182 (eval "$ac_try") 2>&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); }; } &&
5186 { ac_try
='test -s conftest.$ac_objext'
5187 { (case "(($ac_try" in
5188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5189 *) ac_try_echo=$ac_try;;
5191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5192 (eval "$ac_try") 2>&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); }; }; then
5196 ac_header_compiler=yes
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.$ac_ext >&5
5201 ac_header_compiler=no
5204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5205 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5206 echo "${ECHO_T}$ac_header_compiler" >&6; }
5208 # Is the header present?
5209 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5211 cat >conftest.$ac_ext <<_ACEOF
5214 cat confdefs.h >>conftest.$ac_ext
5215 cat >>conftest.$ac_ext <<_ACEOF
5216 /* end confdefs.h. */
5217 #include <$ac_header>
5219 if { (ac_try="$ac_cpp conftest.$ac_ext"
5221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5222 *) ac_try_echo
=$ac_try;;
5224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5227 grep -v '^ *+' conftest.er1
>conftest.err
5229 cat conftest.err
>&5
5230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231 (exit $ac_status); } >/dev
/null
; then
5232 if test -s conftest.err
; then
5233 ac_cpp_err
=$ac_c_preproc_warn_flag
5234 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5241 if test -z "$ac_cpp_err"; then
5242 ac_header_preproc
=yes
5244 echo "$as_me: failed program was:" >&5
5245 sed 's/^/| /' conftest.
$ac_ext >&5
5247 ac_header_preproc
=no
5250 rm -f conftest.err conftest.
$ac_ext
5251 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5252 echo "${ECHO_T}$ac_header_preproc" >&6; }
5254 # So? What about this header?
5255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5257 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5258 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5260 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5261 ac_header_preproc
=yes
5264 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5265 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5266 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5267 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5268 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5269 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5270 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5271 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5274 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5275 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5279 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5281 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 eval "$as_ac_Header=\$ac_header_preproc"
5286 ac_res
=`eval echo '${'$as_ac_Header'}'`
5287 { echo "$as_me:$LINENO: result: $ac_res" >&5
5288 echo "${ECHO_T}$ac_res" >&6; }
5291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5292 cat >>confdefs.h
<<_ACEOF
5293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5301 ac_cpp
='$CXXCPP $CPPFLAGS'
5302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5305 if test -z "$CXX"; then
5306 if test -n "$CCC"; then
5309 if test -n "$ac_tool_prefix"; then
5310 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5313 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5316 if test "${ac_cv_prog_CXX+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 if test -n "$CXX"; then
5320 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5326 test -z "$as_dir" && as_dir
=.
5327 for ac_exec_ext
in '' $ac_executable_extensions; do
5328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5329 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 if test -n "$CXX"; then
5341 { echo "$as_me:$LINENO: result: $CXX" >&5
5342 echo "${ECHO_T}$CXX" >&6; }
5344 { echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6; }
5349 test -n "$CXX" && break
5352 if test -z "$CXX"; then
5354 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5356 # Extract the first word of "$ac_prog", so it can be a program name with args.
5357 set dummy
$ac_prog; ac_word
=$2
5358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5360 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 if test -n "$ac_ct_CXX"; then
5364 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5384 if test -n "$ac_ct_CXX"; then
5385 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5386 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5388 { echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6; }
5393 test -n "$ac_ct_CXX" && break
5396 if test "x$ac_ct_CXX" = x
; then
5399 case $cross_compiling:$ac_tool_warned in
5401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5402 whose name does not start with the host triplet. If you think this
5403 configuration is useful to you, please write to autoconf@gnu.org." >&5
5404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5405 whose name does not start with the host triplet. If you think this
5406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5407 ac_tool_warned
=yes ;;
5415 # Provide some information about the compiler.
5416 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5417 ac_compiler
=`set X $ac_compile; echo $2`
5418 { (ac_try
="$ac_compiler --version >&5"
5420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5421 *) ac_try_echo=$ac_try;;
5423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5424 (eval "$ac_compiler --version >&5") 2>&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); }
5428 { (ac_try="$ac_compiler -v >&5"
5430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5431 *) ac_try_echo
=$ac_try;;
5433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5434 (eval "$ac_compiler -v >&5") 2>&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); }
5438 { (ac_try
="$ac_compiler -V >&5"
5440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5441 *) ac_try_echo=$ac_try;;
5443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5444 (eval "$ac_compiler -V >&5") 2>&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); }
5449 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5450 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5451 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 cat >conftest.$ac_ext <<_ACEOF
5457 cat confdefs.h >>conftest.$ac_ext
5458 cat >>conftest.$ac_ext <<_ACEOF
5459 /* end confdefs.h. */
5472 rm -f conftest.$ac_objext
5473 if { (ac_try="$ac_compile"
5475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5476 *) ac_try_echo
=$ac_try;;
5478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5479 (eval "$ac_compile") 2>conftest.er1
5481 grep -v '^ *+' conftest.er1
>conftest.err
5483 cat conftest.err
>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } &&
5486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5487 { (case "(($ac_try" in
5488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5489 *) ac_try_echo=$ac_try;;
5491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5492 (eval "$ac_try") 2>&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); }; } &&
5496 { ac_try='test -s conftest.$ac_objext'
5497 { (case "(($ac_try" in
5498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5499 *) ac_try_echo
=$ac_try;;
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_try") 2>&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; }; then
5508 echo "$as_me: failed program was:" >&5
5509 sed 's/^/| /' conftest.
$ac_ext >&5
5514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5515 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5518 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5519 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5520 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5521 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5522 ac_save_CXXFLAGS
=$CXXFLAGS
5523 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5524 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5525 if test "${ac_cv_prog_cxx_g+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5529 ac_cxx_werror_flag
=yes
5532 cat >conftest.
$ac_ext <<_ACEOF
5535 cat confdefs.h
>>conftest.
$ac_ext
5536 cat >>conftest.
$ac_ext <<_ACEOF
5537 /* end confdefs.h. */
5547 rm -f conftest.
$ac_objext
5548 if { (ac_try
="$ac_compile"
5550 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5551 *) ac_try_echo=$ac_try;;
5553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5554 (eval "$ac_compile") 2>conftest.er1
5556 grep -v '^ *+' conftest.er1 >conftest.err
5558 cat conftest.err >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } &&
5561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5562 { (case "(($ac_try" in
5563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5564 *) ac_try_echo
=$ac_try;;
5566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5567 (eval "$ac_try") 2>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try
='test -s conftest.$ac_objext'
5572 { (case "(($ac_try" in
5573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5574 *) ac_try_echo=$ac_try;;
5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577 (eval "$ac_try") 2>&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; }; then
5581 ac_cv_prog_cxx_g=yes
5583 echo "$as_me: failed program was:" >&5
5584 sed 's/^/| /' conftest.$ac_ext >&5
5587 cat >conftest.$ac_ext <<_ACEOF
5590 cat confdefs.h >>conftest.$ac_ext
5591 cat >>conftest.$ac_ext <<_ACEOF
5592 /* end confdefs.h. */
5602 rm -f conftest.$ac_objext
5603 if { (ac_try="$ac_compile"
5605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5606 *) ac_try_echo
=$ac_try;;
5608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5609 (eval "$ac_compile") 2>conftest.er1
5611 grep -v '^ *+' conftest.er1
>conftest.err
5613 cat conftest.err
>&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } &&
5616 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5617 { (case "(($ac_try" in
5618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5619 *) ac_try_echo=$ac_try;;
5621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5622 (eval "$ac_try") 2>&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); }; } &&
5626 { ac_try='test -s conftest.$ac_objext'
5627 { (case "(($ac_try" in
5628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5629 *) ac_try_echo
=$ac_try;;
5631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5632 (eval "$ac_try") 2>&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); }; }; then
5638 echo "$as_me: failed program was:" >&5
5639 sed 's/^/| /' conftest.
$ac_ext >&5
5641 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5643 cat >conftest.
$ac_ext <<_ACEOF
5646 cat confdefs.h
>>conftest.
$ac_ext
5647 cat >>conftest.
$ac_ext <<_ACEOF
5648 /* end confdefs.h. */
5658 rm -f conftest.
$ac_objext
5659 if { (ac_try
="$ac_compile"
5661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5662 *) ac_try_echo=$ac_try;;
5664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5665 (eval "$ac_compile") 2>conftest.er1
5667 grep -v '^ *+' conftest.er1 >conftest.err
5669 cat conftest.err >&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); } &&
5672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5673 { (case "(($ac_try" in
5674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5675 *) ac_try_echo
=$ac_try;;
5677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5678 (eval "$ac_try") 2>&5
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); }; } &&
5682 { ac_try
='test -s conftest.$ac_objext'
5683 { (case "(($ac_try" in
5684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5685 *) ac_try_echo=$ac_try;;
5687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5688 (eval "$ac_try") 2>&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; }; then
5692 ac_cv_prog_cxx_g=yes
5694 echo "$as_me: failed program was:" >&5
5695 sed 's/^/| /' conftest.$ac_ext >&5
5700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5707 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5709 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5710 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5711 if test "$ac_test_CXXFLAGS" = set; then
5712 CXXFLAGS=$ac_save_CXXFLAGS
5713 elif test $ac_cv_prog_cxx_g = yes; then
5714 if test "$GXX" = yes; then
5720 if test "$GXX" = yes; then
5727 ac_cpp='$CXXCPP $CPPFLAGS'
5728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5732 depcc="$CXX" am_compiler_list=
5734 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5735 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5736 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5740 # We make a subdir and do the tests there. Otherwise we can end up
5741 # making bogus files that we don't know about and never remove. For
5742 # instance it was reported that on HP-UX the gcc test will end up
5743 # making a dummy file named `D
' -- because `-MD' means
`put the output
5746 # Copy depcomp to subdir because otherwise we won't find it if we're
5747 # using a relative directory.
5748 cp "$am_depcomp" conftest.dir
5750 # We will build objects and dependencies in a subdirectory because
5751 # it helps to detect inapplicable dependency modes. For instance
5752 # both Tru64's cc and ICC support -MD to output dependencies as a
5753 # side effect of compilation, but ICC will put the dependencies in
5754 # the current directory while Tru64 will put them in the object
5758 am_cv_CXX_dependencies_compiler_type=none
5759 if test "$am_compiler_list" = ""; then
5760 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5762 for depmode in $am_compiler_list; do
5763 # Setup a source with many dependencies, because some compilers
5764 # like to wrap large dependency lists on column 80 (with \), and
5765 # we should not choose a depcomp mode which is confused by this.
5767 # We need to recreate these files for each test, as the compiler may
5768 # overwrite some of them when testing with obscure command lines.
5769 # This happens at least with the AIX C compiler.
5771 for i in 1 2 3 4 5 6; do
5772 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5773 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5774 # Solaris 8's
{/usr
,}/bin
/sh.
5775 touch sub
/conftst
$i.h
5777 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5781 # after this tag, mechanisms are not by side-effect, so they'll
5782 # only be used when explicitly requested
5783 if test "x$enable_dependency_tracking" = xyes
; then
5791 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5792 # mode. It turns out that the SunPro C++ compiler does not properly
5793 # handle `-M -o', and we need to detect this.
5794 if depmode
=$depmode \
5795 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5796 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5797 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5798 >/dev
/null
2>conftest.err
&&
5799 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5800 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5801 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5802 # icc doesn't choke on unknown options, it will just issue warnings
5803 # or remarks (even with -Werror). So we grep stderr for any message
5804 # that says an option was ignored or not supported.
5805 # When given -MP, icc 7.0 and 7.1 complain thusly:
5806 # icc: Command line warning: ignoring option '-M'; no argument required
5807 # The diagnosis changed in icc 8.0:
5808 # icc: Command line remark: option '-MP' not supported
5809 if (grep 'ignoring option' conftest.err
||
5810 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5811 am_cv_CXX_dependencies_compiler_type
=$depmode
5820 am_cv_CXX_dependencies_compiler_type
=none
5824 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5825 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5826 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5831 test "x$enable_dependency_tracking" != xno \
5832 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5833 am__fastdepCXX_TRUE
=
5834 am__fastdepCXX_FALSE
='#'
5836 am__fastdepCXX_TRUE
='#'
5837 am__fastdepCXX_FALSE
=
5843 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5844 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5845 (test "X$CXX" != "Xg++"))) ; then
5847 ac_cpp
='$CXXCPP $CPPFLAGS'
5848 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5849 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5850 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5851 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5852 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5853 if test -z "$CXXCPP"; then
5854 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5857 # Double quotes because CXXCPP needs to be expanded
5858 for CXXCPP
in "$CXX -E" "/lib/cpp"
5861 for ac_cxx_preproc_warn_flag
in '' yes
5863 # Use a header file that comes with gcc, so configuring glibc
5864 # with a fresh cross-compiler works.
5865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5866 # <limits.h> exists even on freestanding compilers.
5867 # On the NeXT, cc -E runs the code through the compiler's parser,
5868 # not just through cpp. "Syntax error" is here to catch this case.
5869 cat >conftest.
$ac_ext <<_ACEOF
5872 cat confdefs.h
>>conftest.
$ac_ext
5873 cat >>conftest.
$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5876 # include <limits.h>
5878 # include <assert.h>
5882 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5885 *) ac_try_echo=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5890 grep -v '^ *+' conftest.er1 >conftest.err
5892 cat conftest.err >&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); } >/dev/null; then
5895 if test -s conftest.err; then
5896 ac_cpp_err=$ac_cxx_preproc_warn_flag
5897 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5904 if test -z "$ac_cpp_err"; then
5907 echo "$as_me: failed program was:" >&5
5908 sed 's/^/| /' conftest.$ac_ext >&5
5910 # Broken: fails on valid input.
5914 rm -f conftest.err conftest.$ac_ext
5916 # OK, works on sane cases. Now check whether nonexistent headers
5917 # can be detected and how.
5918 cat >conftest.$ac_ext <<_ACEOF
5921 cat confdefs.h >>conftest.$ac_ext
5922 cat >>conftest.$ac_ext <<_ACEOF
5923 /* end confdefs.h. */
5924 #include <ac_nonexistent.h>
5926 if { (ac_try="$ac_cpp conftest.$ac_ext"
5928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5929 *) ac_try_echo
=$ac_try;;
5931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5934 grep -v '^ *+' conftest.er1
>conftest.err
5936 cat conftest.err
>&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); } >/dev
/null
; then
5939 if test -s conftest.err
; then
5940 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5941 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5948 if test -z "$ac_cpp_err"; then
5949 # Broken: success on invalid input.
5952 echo "$as_me: failed program was:" >&5
5953 sed 's/^/| /' conftest.
$ac_ext >&5
5955 # Passes both tests.
5960 rm -f conftest.err conftest.
$ac_ext
5963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5964 rm -f conftest.err conftest.
$ac_ext
5965 if $ac_preproc_ok; then
5970 ac_cv_prog_CXXCPP
=$CXXCPP
5973 CXXCPP
=$ac_cv_prog_CXXCPP
5975 ac_cv_prog_CXXCPP
=$CXXCPP
5977 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5978 echo "${ECHO_T}$CXXCPP" >&6; }
5980 for ac_cxx_preproc_warn_flag
in '' yes
5982 # Use a header file that comes with gcc, so configuring glibc
5983 # with a fresh cross-compiler works.
5984 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5985 # <limits.h> exists even on freestanding compilers.
5986 # On the NeXT, cc -E runs the code through the compiler's parser,
5987 # not just through cpp. "Syntax error" is here to catch this case.
5988 cat >conftest.
$ac_ext <<_ACEOF
5991 cat confdefs.h
>>conftest.
$ac_ext
5992 cat >>conftest.
$ac_ext <<_ACEOF
5993 /* end confdefs.h. */
5995 # include <limits.h>
5997 # include <assert.h>
6001 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6004 *) ac_try_echo=$ac_try;;
6006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6009 grep -v '^ *+' conftest.er1 >conftest.err
6011 cat conftest.err >&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); } >/dev/null; then
6014 if test -s conftest.err; then
6015 ac_cpp_err=$ac_cxx_preproc_warn_flag
6016 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6023 if test -z "$ac_cpp_err"; then
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.$ac_ext >&5
6029 # Broken: fails on valid input.
6033 rm -f conftest.err conftest.$ac_ext
6035 # OK, works on sane cases. Now check whether nonexistent headers
6036 # can be detected and how.
6037 cat >conftest.$ac_ext <<_ACEOF
6040 cat confdefs.h >>conftest.$ac_ext
6041 cat >>conftest.$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6043 #include <ac_nonexistent.h>
6045 if { (ac_try="$ac_cpp conftest.$ac_ext"
6047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6048 *) ac_try_echo
=$ac_try;;
6050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6051 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6053 grep -v '^ *+' conftest.er1
>conftest.err
6055 cat conftest.err
>&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); } >/dev
/null
; then
6058 if test -s conftest.err
; then
6059 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6060 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6067 if test -z "$ac_cpp_err"; then
6068 # Broken: success on invalid input.
6071 echo "$as_me: failed program was:" >&5
6072 sed 's/^/| /' conftest.
$ac_ext >&5
6074 # Passes both tests.
6079 rm -f conftest.err conftest.
$ac_ext
6082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6083 rm -f conftest.err conftest.
$ac_ext
6084 if $ac_preproc_ok; then
6087 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6088 See \`config.log' for more details." >&5
6089 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6090 See \`config.log' for more details." >&2;}
6091 { (exit 1); exit 1; }; }
6095 ac_cpp
='$CXXCPP $CPPFLAGS'
6096 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6097 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6098 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6104 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6105 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6106 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6107 if test -n "$ac_tool_prefix"; then
6108 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6111 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114 if test "${ac_cv_prog_F77+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6117 if test -n "$F77"; then
6118 ac_cv_prog_F77
="$F77" # Let the user override the test.
6120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6124 test -z "$as_dir" && as_dir
=.
6125 for ac_exec_ext
in '' $ac_executable_extensions; do
6126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6127 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 if test -n "$F77"; then
6139 { echo "$as_me:$LINENO: result: $F77" >&5
6140 echo "${ECHO_T}$F77" >&6; }
6142 { echo "$as_me:$LINENO: result: no" >&5
6143 echo "${ECHO_T}no" >&6; }
6147 test -n "$F77" && break
6150 if test -z "$F77"; then
6152 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6154 # Extract the first word of "$ac_prog", so it can be a program name with args.
6155 set dummy
$ac_prog; ac_word
=$2
6156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6158 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 if test -n "$ac_ct_F77"; then
6162 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir
=.
6169 for ac_exec_ext
in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_prog_ac_ct_F77
="$ac_prog"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6182 if test -n "$ac_ct_F77"; then
6183 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6184 echo "${ECHO_T}$ac_ct_F77" >&6; }
6186 { echo "$as_me:$LINENO: result: no" >&5
6187 echo "${ECHO_T}no" >&6; }
6191 test -n "$ac_ct_F77" && break
6194 if test "x$ac_ct_F77" = x
; then
6197 case $cross_compiling:$ac_tool_warned in
6199 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6200 whose name does not start with the host triplet. If you think this
6201 configuration is useful to you, please write to autoconf@gnu.org." >&5
6202 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6203 whose name does not start with the host triplet. If you think this
6204 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6205 ac_tool_warned
=yes ;;
6212 # Provide some information about the compiler.
6213 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6214 ac_compiler
=`set X $ac_compile; echo $2`
6215 { (ac_try
="$ac_compiler --version >&5"
6217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6218 *) ac_try_echo=$ac_try;;
6220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6221 (eval "$ac_compiler --version >&5") 2>&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); }
6225 { (ac_try="$ac_compiler -v >&5"
6227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6228 *) ac_try_echo
=$ac_try;;
6230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6231 (eval "$ac_compiler -v >&5") 2>&5
6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); }
6235 { (ac_try
="$ac_compiler -V >&5"
6237 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6238 *) ac_try_echo=$ac_try;;
6240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6241 (eval "$ac_compiler -V >&5") 2>&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); }
6247 # If we don't use `.F
' as extension, the preprocessor is not run on the
6248 # input file. (Note that this only needs to work for GNU compilers.)
6251 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6252 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6253 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 cat >conftest.$ac_ext <<_ACEOF
6264 rm -f conftest.$ac_objext
6265 if { (ac_try="$ac_compile"
6267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6268 *) ac_try_echo=$ac_try;;
6270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6271 (eval "$ac_compile") 2>conftest.er1
6273 grep -v '^
*+' conftest.er1 >conftest.err
6275 cat conftest.err >&5
6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 (exit $ac_status); } &&
6278 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err
'
6279 { (case "(($ac_try" in
6280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_try") 2>&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; } &&
6288 { ac_try='test -s conftest.
$ac_objext'
6289 { (case "(($ac_try" in
6290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6291 *) ac_try_echo=$ac_try;;
6293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6294 (eval "$ac_try") 2>&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; }; then
6300 echo "$as_me: failed program was:" >&5
6301 sed 's
/^
/| /' conftest.$ac_ext >&5
6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6307 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6310 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6311 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6313 ac_test_FFLAGS=${FFLAGS+set}
6314 ac_save_FFLAGS=$FFLAGS
6316 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6317 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6318 if test "${ac_cv_prog_f77_g+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6322 cat >conftest.$ac_ext <<_ACEOF
6327 rm -f conftest.$ac_objext
6328 if { (ac_try="$ac_compile"
6330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6331 *) ac_try_echo=$ac_try;;
6333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6334 (eval "$ac_compile") 2>conftest.er1
6336 grep -v '^
*+' conftest.er1 >conftest.err
6338 cat conftest.err >&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); } &&
6341 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err
'
6342 { (case "(($ac_try" in
6343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6344 *) ac_try_echo=$ac_try;;
6346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6347 (eval "$ac_try") 2>&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); }; } &&
6351 { ac_try='test -s conftest.
$ac_objext'
6352 { (case "(($ac_try" in
6353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6354 *) ac_try_echo=$ac_try;;
6356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6357 (eval "$ac_try") 2>&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); }; }; then
6361 ac_cv_prog_f77_g=yes
6363 echo "$as_me: failed program was:" >&5
6364 sed 's
/^
/| /' conftest.$ac_ext >&5
6369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6372 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6373 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6374 if test "$ac_test_FFLAGS" = set; then
6375 FFLAGS=$ac_save_FFLAGS
6376 elif test $ac_cv_prog_f77_g = yes; then
6377 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6383 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6390 G77=`test $ac_compiler_gnu = yes && echo yes`
6392 ac_cpp='$CPP $CPPFLAGS'
6393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6394 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6399 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6401 # find the maximum length of command line arguments
6402 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6403 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6404 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6405 echo $ECHO_N "(cached) $ECHO_C" >&6
6412 # On DJGPP, this test can blow up pretty badly due to problems in libc
6413 # (any single argument exceeding 2000 bytes causes a buffer overrun
6414 # during glob expansion). Even if it were fixed, the result of this
6415 # check would be larger than it should be.
6416 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6420 # Under GNU Hurd, this test is not required because there is
6421 # no limit to the length of command line arguments.
6422 # Libtool will interpret -1 as no limit whatsoever
6423 lt_cv_sys_max_cmd_len
=-1;
6427 # On Win9x/ME, this test blows up -- it succeeds, but takes
6428 # about 5 minutes as the teststring grows exponentially.
6429 # Worse, since 9x/ME are not pre-emptively multitasking,
6430 # you end up with a "frozen" computer, even though with patience
6431 # the test eventually succeeds (with a max line length of 256k).
6432 # Instead, let's just punt: use the minimum linelength reported by
6433 # all of the supported platforms: 8192 (on NT/2K/XP).
6434 lt_cv_sys_max_cmd_len
=8192;
6438 # On AmigaOS with pdksh, this test takes hours, literally.
6439 # So we just punt and use a minimum line length of 8192.
6440 lt_cv_sys_max_cmd_len
=8192;
6443 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6444 # This has been around since 386BSD, at least. Likely further.
6445 if test -x /sbin
/sysctl
; then
6446 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6447 elif test -x /usr
/sbin
/sysctl
; then
6448 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6450 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6452 # And add a safety zone
6453 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6454 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6458 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6459 lt_cv_sys_max_cmd_len
=196608
6463 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6464 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6465 # nice to cause kernel panics so lets avoid the loop below.
6466 # First set a reasonable default.
6467 lt_cv_sys_max_cmd_len
=16384
6469 if test -x /sbin
/sysconfig
; then
6470 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6471 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6476 lt_cv_sys_max_cmd_len
=102400
6478 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6479 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6480 if test -n "$kargmax"; then
6481 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6483 lt_cv_sys_max_cmd_len
=32768
6487 # If test is not a shell built-in, we'll probably end up computing a
6488 # maximum length that is only half of the actual maximum length, but
6490 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6491 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6492 = "XX$teststring") >/dev
/null
2>&1 &&
6493 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6494 lt_cv_sys_max_cmd_len
=$new_result &&
6495 test $i != 17 # 1/2 MB should be enough
6498 teststring
=$teststring$teststring
6501 # Add a significant safety factor because C++ compilers can tack on massive
6502 # amounts of additional arguments before passing them to the linker.
6503 # It appears as though 1/2 is a usable value.
6504 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6510 if test -n $lt_cv_sys_max_cmd_len ; then
6511 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6512 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6514 { echo "$as_me:$LINENO: result: none" >&5
6515 echo "${ECHO_T}none" >&6; }
6521 # Check for command to grab the raw symbol name followed by C symbol from nm.
6522 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6523 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6524 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6528 # These are sane defaults that work on at least a few old systems.
6529 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6531 # Character class describing NM global symbol codes.
6532 symcode
='[BCDEGRST]'
6534 # Regexp to match symbols that can be accessed directly from C.
6535 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6537 # Transform an extracted symbol line into a proper C declaration
6538 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6540 # Transform an extracted symbol line into symbol name and symbol address
6541 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'"
6543 # Define system-specific variables.
6548 cygwin
* | mingw
* | pw32
*)
6549 symcode
='[ABCDGISTW]'
6551 hpux
*) # Its linker distinguishes data from code symbols
6552 if test "$host_cpu" = ia64
; then
6553 symcode
='[ABCDEGRST]'
6555 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6556 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'"
6558 linux
* | k
*bsd
*-gnu)
6559 if test "$host_cpu" = ia64
; then
6560 symcode
='[ABCDGIRSTW]'
6561 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6562 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'"
6566 symcode
='[BCDEGRST]'
6569 symcode
='[BCDEGQRST]'
6580 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6588 # Handle CRLF in mingw tool chain
6592 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6596 # If we're using GNU nm, then use its standard symbol codes.
6597 case `$NM -V 2>&1` in
6598 *GNU
* | *'with BFD'*)
6599 symcode
='[ABCDGIRSTW]' ;;
6602 # Try without a prefix undercore, then with it.
6603 for ac_symprfx
in "" "_"; do
6605 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6606 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6608 # Write the raw and C identifiers.
6609 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6611 # Check to see that the pipe works correctly.
6615 cat > conftest.
$ac_ext <<EOF
6620 void nm_test_func(){}
6624 int main(){nm_test_var='a';nm_test_func();return(0);}
6627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6628 (eval $ac_compile) 2>&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; then
6632 # Now try to grab the symbols.
6634 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6635 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } && test -s "$nlist"; then
6639 # Try sorting and uniquifying the output.
6640 if sort "$nlist" | uniq > "$nlist"T
; then
6641 mv -f "$nlist"T
"$nlist"
6646 # Make sure that we snagged all the symbols we need.
6647 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6648 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6649 cat <<EOF > conftest.$ac_ext
6655 # Now generate the symbol file.
6656 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6658 cat <<EOF >> conftest.$ac_ext
6659 #if defined (__STDC__) && __STDC__
6660 # define lt_ptr_t void *
6662 # define lt_ptr_t char *
6666 /* The mapping between symbol names and symbols. */
6671 lt_preloaded_symbols[] =
6674 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main
>> conftest.
$ac_ext
6675 cat <<\EOF
>> conftest.
$ac_ext
6683 # Now try linking the two files.
6684 mv conftest.
$ac_objext conftstm.
$ac_objext
6685 lt_save_LIBS
="$LIBS"
6686 lt_save_CFLAGS
="$CFLAGS"
6687 LIBS
="conftstm.$ac_objext"
6688 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6690 (eval $ac_link) 2>&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6696 LIBS
="$lt_save_LIBS"
6697 CFLAGS
="$lt_save_CFLAGS"
6699 echo "cannot find nm_test_func in $nlist" >&5
6702 echo "cannot find nm_test_var in $nlist" >&5
6705 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6708 echo "$progname: failed program was:" >&5
6709 cat conftest.
$ac_ext >&5
6711 rm -f conftest
* conftst
*
6713 # Do not use the global_symbol_pipe unless it works.
6714 if test "$pipe_works" = yes; then
6717 lt_cv_sys_global_symbol_pipe
=
6723 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6724 lt_cv_sys_global_symbol_to_cdecl
=
6726 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6727 { echo "$as_me:$LINENO: result: failed" >&5
6728 echo "${ECHO_T}failed" >&6; }
6730 { echo "$as_me:$LINENO: result: ok" >&5
6731 echo "${ECHO_T}ok" >&6; }
6734 { echo "$as_me:$LINENO: checking for objdir" >&5
6735 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6736 if test "${lt_cv_objdir+set}" = set; then
6737 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 rm -f .libs
2>/dev
/null
6740 mkdir .libs
2>/dev
/null
6741 if test -d .libs
; then
6744 # MS-DOS does not allow filenames that begin with a dot.
6747 rmdir .libs
2>/dev
/null
6749 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6750 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6751 objdir
=$lt_cv_objdir
6759 # AIX sometimes has problems with the GCC collect2 program. For some
6760 # reason, if we set the COLLECT_NAMES environment variable, the problems
6761 # vanish in a puff of smoke.
6762 if test "X${COLLECT_NAMES+set}" != Xset
; then
6764 export COLLECT_NAMES
6769 # Sed substitution that helps us do robust quoting. It backslashifies
6770 # metacharacters that are still active within double-quoted strings.
6771 Xsed
='sed -e 1s/^X//'
6772 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6774 # Same as above, but do not quote variable references.
6775 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6777 # Sed substitution to delay expansion of an escaped shell variable in a
6778 # double_quote_subst'ed string.
6779 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6781 # Sed substitution to avoid accidental globbing in evaled expressions
6782 no_glob_subst
='s/\*/\\\*/g'
6788 default_ofile
=libtool
6789 can_build_shared
=yes
6791 # All known linkers require a `.a' archive for static linking (except MSVC,
6792 # which needs '.lib').
6794 ltmain
="$ac_aux_dir/ltmain.sh"
6795 ofile
="$default_ofile"
6796 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6798 if test -n "$ac_tool_prefix"; then
6799 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6800 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6803 if test "${ac_cv_prog_AR+set}" = set; then
6804 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 if test -n "$AR"; then
6807 ac_cv_prog_AR
="$AR" # Let the user override the test.
6809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6813 test -z "$as_dir" && as_dir
=.
6814 for ac_exec_ext
in '' $ac_executable_extensions; do
6815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6816 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6827 if test -n "$AR"; then
6828 { echo "$as_me:$LINENO: result: $AR" >&5
6829 echo "${ECHO_T}$AR" >&6; }
6831 { echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6; }
6837 if test -z "$ac_cv_prog_AR"; then
6839 # Extract the first word of "ar", so it can be a program name with args.
6840 set dummy
ar; ac_word
=$2
6841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6843 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6844 echo $ECHO_N "(cached) $ECHO_C" >&6
6846 if test -n "$ac_ct_AR"; then
6847 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir
=.
6854 for ac_exec_ext
in '' $ac_executable_extensions; do
6855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6856 ac_cv_prog_ac_ct_AR
="ar"
6857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6867 if test -n "$ac_ct_AR"; then
6868 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6869 echo "${ECHO_T}$ac_ct_AR" >&6; }
6871 { echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6; }
6875 if test "x$ac_ct_AR" = x
; then
6878 case $cross_compiling:$ac_tool_warned in
6880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6881 whose name does not start with the host triplet. If you think this
6882 configuration is useful to you, please write to autoconf@gnu.org." >&5
6883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6884 whose name does not start with the host triplet. If you think this
6885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6886 ac_tool_warned
=yes ;;
6894 if test -n "$ac_tool_prefix"; then
6895 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6896 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6899 if test "${ac_cv_prog_RANLIB+set}" = set; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6
6902 if test -n "$RANLIB"; then
6903 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir
=.
6910 for ac_exec_ext
in '' $ac_executable_extensions; do
6911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6912 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6922 RANLIB
=$ac_cv_prog_RANLIB
6923 if test -n "$RANLIB"; then
6924 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6925 echo "${ECHO_T}$RANLIB" >&6; }
6927 { echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6; }
6933 if test -z "$ac_cv_prog_RANLIB"; then
6934 ac_ct_RANLIB
=$RANLIB
6935 # Extract the first word of "ranlib", so it can be a program name with args.
6936 set dummy ranlib
; ac_word
=$2
6937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6939 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 if test -n "$ac_ct_RANLIB"; then
6943 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir
=.
6950 for ac_exec_ext
in '' $ac_executable_extensions; do
6951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6952 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6963 if test -n "$ac_ct_RANLIB"; then
6964 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6965 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6967 { echo "$as_me:$LINENO: result: no" >&5
6968 echo "${ECHO_T}no" >&6; }
6971 if test "x$ac_ct_RANLIB" = x
; then
6974 case $cross_compiling:$ac_tool_warned in
6976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6977 whose name does not start with the host triplet. If you think this
6978 configuration is useful to you, please write to autoconf@gnu.org." >&5
6979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6980 whose name does not start with the host triplet. If you think this
6981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6982 ac_tool_warned
=yes ;;
6984 RANLIB
=$ac_ct_RANLIB
6987 RANLIB
="$ac_cv_prog_RANLIB"
6990 if test -n "$ac_tool_prefix"; then
6991 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6992 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6995 if test "${ac_cv_prog_STRIP+set}" = set; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6998 if test -n "$STRIP"; then
6999 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7005 test -z "$as_dir" && as_dir
=.
7006 for ac_exec_ext
in '' $ac_executable_extensions; do
7007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7008 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7018 STRIP
=$ac_cv_prog_STRIP
7019 if test -n "$STRIP"; then
7020 { echo "$as_me:$LINENO: result: $STRIP" >&5
7021 echo "${ECHO_T}$STRIP" >&6; }
7023 { echo "$as_me:$LINENO: result: no" >&5
7024 echo "${ECHO_T}no" >&6; }
7029 if test -z "$ac_cv_prog_STRIP"; then
7031 # Extract the first word of "strip", so it can be a program name with args.
7032 set dummy strip
; ac_word
=$2
7033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7035 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 if test -n "$ac_ct_STRIP"; then
7039 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7045 test -z "$as_dir" && as_dir
=.
7046 for ac_exec_ext
in '' $ac_executable_extensions; do
7047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7048 ac_cv_prog_ac_ct_STRIP
="strip"
7049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7058 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7059 if test -n "$ac_ct_STRIP"; then
7060 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7061 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7063 { echo "$as_me:$LINENO: result: no" >&5
7064 echo "${ECHO_T}no" >&6; }
7067 if test "x$ac_ct_STRIP" = x
; then
7070 case $cross_compiling:$ac_tool_warned in
7072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7073 whose name does not start with the host triplet. If you think this
7074 configuration is useful to you, please write to autoconf@gnu.org." >&5
7075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7076 whose name does not start with the host triplet. If you think this
7077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7078 ac_tool_warned
=yes ;;
7083 STRIP
="$ac_cv_prog_STRIP"
7088 old_CFLAGS
="$CFLAGS"
7090 # Set sane defaults for various variables
7091 test -z "$AR" && AR
=ar
7092 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7093 test -z "$AS" && AS
=as
7094 test -z "$CC" && CC
=cc
7095 test -z "$LTCC" && LTCC
=$CC
7096 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7097 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7098 test -z "$LD" && LD
=ld
7099 test -z "$LN_S" && LN_S
="ln -s"
7100 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7101 test -z "$NM" && NM
=nm
7102 test -z "$SED" && SED
=sed
7103 test -z "$OBJDUMP" && OBJDUMP
=objdump
7104 test -z "$RANLIB" && RANLIB
=:
7105 test -z "$STRIP" && STRIP
=:
7106 test -z "$ac_objext" && ac_objext
=o
7108 # Determine commands to create old-style static archives.
7109 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7110 old_postinstall_cmds
='chmod 644 $oldlib'
7111 old_postuninstall_cmds
=
7113 if test -n "$RANLIB"; then
7116 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7119 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7122 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7125 for cc_temp
in $compiler""; do
7127 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7128 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7133 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7136 # Only perform the check for file, if the check method requires it
7137 case $deplibs_check_method in
7139 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7140 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7141 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7142 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7150 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7151 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7152 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7153 for ac_dir
in $ac_dummy; do
7155 test -z "$ac_dir" && ac_dir
=.
7156 if test -f $ac_dir/${ac_tool_prefix}file; then
7157 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7158 if test -n "$file_magic_test_file"; then
7159 case $deplibs_check_method in
7161 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7162 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7163 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7164 $EGREP "$file_magic_regex" > /dev
/null
; then
7169 *** Warning: the command libtool uses to detect shared libraries,
7170 *** $file_magic_cmd, produces output that libtool cannot recognize.
7171 *** The result is that libtool may fail to recognize shared libraries
7172 *** as such. This will affect the creation of libtool libraries that
7173 *** depend on shared libraries, but programs linked with such libtool
7174 *** libraries will work regardless of this problem. Nevertheless, you
7175 *** may want to report the problem to your system manager and/or to
7176 *** bug-libtool@gnu.org
7186 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7191 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7192 if test -n "$MAGIC_CMD"; then
7193 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7194 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7196 { echo "$as_me:$LINENO: result: no" >&5
7197 echo "${ECHO_T}no" >&6; }
7200 if test -z "$lt_cv_path_MAGIC_CMD"; then
7201 if test -n "$ac_tool_prefix"; then
7202 { echo "$as_me:$LINENO: checking for file" >&5
7203 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7204 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7205 echo $ECHO_N "(cached) $ECHO_C" >&6
7209 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7212 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7213 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7214 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7215 for ac_dir
in $ac_dummy; do
7217 test -z "$ac_dir" && ac_dir
=.
7218 if test -f $ac_dir/file; then
7219 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7220 if test -n "$file_magic_test_file"; then
7221 case $deplibs_check_method in
7223 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7224 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7225 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7226 $EGREP "$file_magic_regex" > /dev
/null
; then
7231 *** Warning: the command libtool uses to detect shared libraries,
7232 *** $file_magic_cmd, produces output that libtool cannot recognize.
7233 *** The result is that libtool may fail to recognize shared libraries
7234 *** as such. This will affect the creation of libtool libraries that
7235 *** depend on shared libraries, but programs linked with such libtool
7236 *** libraries will work regardless of this problem. Nevertheless, you
7237 *** may want to report the problem to your system manager and/or to
7238 *** bug-libtool@gnu.org
7248 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7253 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7254 if test -n "$MAGIC_CMD"; then
7255 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7256 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7258 { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7274 # Check whether --enable-libtool-lock was given.
7275 if test "${enable_libtool_lock+set}" = set; then
7276 enableval
=$enable_libtool_lock;
7279 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7282 # Check whether --with-pic was given.
7283 if test "${with_pic+set}" = set; then
7284 withval
=$with_pic; pic_mode
="$withval"
7289 test -z "$pic_mode" && pic_mode
=default
7291 # Use C for the default configuration in the libtool script
7295 ac_cpp
='$CPP $CPPFLAGS'
7296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7301 # Source file extension for C test sources.
7304 # Object file extension for compiled C test sources.
7308 # Code to be used in simple compile tests
7309 lt_simple_compile_test_code
="int some_variable = 0;\n"
7311 # Code to be used in simple link tests
7312 lt_simple_link_test_code
='int main(){return(0);}\n'
7315 # If no C compiler was specified, use CC.
7318 # If no C compiler flags were specified, use CFLAGS.
7319 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7321 # Allow CC to be a program name with arguments.
7325 # save warnings/boilerplate of simple test code
7326 ac_outfile
=conftest.
$ac_objext
7327 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7328 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7329 _lt_compiler_boilerplate
=`cat conftest.err`
7332 ac_outfile
=conftest.
$ac_objext
7333 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7334 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7335 _lt_linker_boilerplate
=`cat conftest.err`
7340 lt_prog_compiler_no_builtin_flag
=
7342 if test "$GCC" = yes; then
7343 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7346 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7347 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7348 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7349 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 lt_cv_prog_compiler_rtti_exceptions
=no
7352 ac_outfile
=conftest.
$ac_objext
7353 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7354 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7355 # Insert the option either (1) after the last *FLAGS variable, or
7356 # (2) before a word containing "conftest.", or (3) at the end.
7357 # Note that $ac_compile itself does not contain backslashes and begins
7358 # with a dollar sign (not a hyphen), so the echo should work correctly.
7359 # The option is referenced via a variable to avoid confusing sed.
7360 lt_compile
=`echo "$ac_compile" | $SED \
7361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7363 -e 's:$: $lt_compiler_flag:'`
7364 (eval echo "\"\$as_me:7364: $lt_compile\"" >&5)
7365 (eval "$lt_compile" 2>conftest.err
)
7367 cat conftest.err
>&5
7368 echo "$as_me:7368: \$? = $ac_status" >&5
7369 if (exit $ac_status) && test -s "$ac_outfile"; then
7370 # The compiler can only warn and ignore the option if not recognized
7371 # So say no if there are warnings other than the usual output.
7372 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7373 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7374 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7375 lt_cv_prog_compiler_rtti_exceptions
=yes
7381 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7382 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7384 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7385 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7392 lt_prog_compiler_wl
=
7393 lt_prog_compiler_pic
=
7394 lt_prog_compiler_static
=
7396 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7397 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7399 if test "$GCC" = yes; then
7400 lt_prog_compiler_wl
='-Wl,'
7401 lt_prog_compiler_static
='-static'
7405 # All AIX code is PIC.
7406 if test "$host_cpu" = ia64
; then
7407 # AIX 5 now supports IA64 processor
7408 lt_prog_compiler_static
='-Bstatic'
7413 # FIXME: we need at least 68020 code to build shared libraries, but
7414 # adding the `-m68020' flag to GCC prevents building anything better,
7416 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7419 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7420 # PIC is the default for these OSes.
7423 mingw
* | pw32
* | os2
*)
7424 # This hack is so that the source file can tell whether it is being
7425 # built for inclusion in a dll (and should export symbols for example).
7426 lt_prog_compiler_pic
='-DDLL_EXPORT'
7429 darwin
* | rhapsody
*)
7430 # PIC is the default on this platform
7431 # Common symbols not allowed in MH_DYLIB files
7432 lt_prog_compiler_pic
='-fno-common'
7436 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7437 # Instead, we relocate shared libraries at runtime.
7441 # Just because we use GCC doesn't mean we suddenly get shared libraries
7442 # on systems that don't support them.
7443 lt_prog_compiler_can_build_shared
=no
7448 if test -d /usr
/nec
; then
7449 lt_prog_compiler_pic
=-Kconform_pic
7454 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7461 lt_prog_compiler_pic
='-fPIC'
7467 lt_prog_compiler_pic
='-fPIC'
7471 # PORTME Check for flag to pass linker flags through the system compiler.
7474 lt_prog_compiler_wl
='-Wl,'
7475 if test "$host_cpu" = ia64
; then
7476 # AIX 5 now supports IA64 processor
7477 lt_prog_compiler_static
='-Bstatic'
7479 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7483 # PIC is the default on this platform
7484 # Common symbols not allowed in MH_DYLIB files
7485 case $cc_basename in
7487 lt_prog_compiler_pic
='-qnocommon'
7488 lt_prog_compiler_wl
='-Wl,'
7493 mingw
* | pw32
* | os2
*)
7494 # This hack is so that the source file can tell whether it is being
7495 # built for inclusion in a dll (and should export symbols for example).
7496 lt_prog_compiler_pic
='-DDLL_EXPORT'
7499 hpux9
* | hpux10
* | hpux11
*)
7500 lt_prog_compiler_wl
='-Wl,'
7501 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7508 lt_prog_compiler_pic
='+Z'
7511 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7512 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7515 irix5
* | irix6
* | nonstopux
*)
7516 lt_prog_compiler_wl
='-Wl,'
7517 # PIC (with -KPIC) is the default.
7518 lt_prog_compiler_static
='-non_shared'
7522 lt_prog_compiler_pic
='-KPIC'
7523 lt_prog_compiler_static
='-Bstatic'
7526 linux
* | k
*bsd
*-gnu)
7527 case $cc_basename in
7529 lt_prog_compiler_wl
='-Wl,'
7530 lt_prog_compiler_pic
='-KPIC'
7531 lt_prog_compiler_static
='-static'
7533 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7534 # Portland Group compilers (*not* the Pentium gcc compiler,
7535 # which looks to be a dead project)
7536 lt_prog_compiler_wl
='-Wl,'
7537 lt_prog_compiler_pic
='-fpic'
7538 lt_prog_compiler_static
='-Bstatic'
7541 lt_prog_compiler_wl
='-Wl,'
7542 # All Alpha code is PIC.
7543 lt_prog_compiler_static
='-non_shared'
7548 osf3
* | osf4
* | osf5
*)
7549 lt_prog_compiler_wl
='-Wl,'
7550 # All OSF/1 code is PIC.
7551 lt_prog_compiler_static
='-non_shared'
7555 lt_prog_compiler_pic
='-KPIC'
7556 lt_prog_compiler_static
='-Bstatic'
7557 case $cc_basename in
7559 lt_prog_compiler_wl
='-Qoption ld ';;
7561 lt_prog_compiler_wl
='-Wl,';;
7566 lt_prog_compiler_wl
='-Qoption ld '
7567 lt_prog_compiler_pic
='-PIC'
7568 lt_prog_compiler_static
='-Bstatic'
7571 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7572 lt_prog_compiler_wl
='-Wl,'
7573 lt_prog_compiler_pic
='-KPIC'
7574 lt_prog_compiler_static
='-Bstatic'
7578 if test -d /usr
/nec
;then
7579 lt_prog_compiler_pic
='-Kconform_pic'
7580 lt_prog_compiler_static
='-Bstatic'
7584 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7585 lt_prog_compiler_wl
='-Wl,'
7586 lt_prog_compiler_pic
='-KPIC'
7587 lt_prog_compiler_static
='-Bstatic'
7591 lt_prog_compiler_wl
='-Wl,'
7592 lt_prog_compiler_can_build_shared
=no
7596 lt_prog_compiler_pic
='-pic'
7597 lt_prog_compiler_static
='-Bstatic'
7601 lt_prog_compiler_can_build_shared
=no
7606 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7607 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7610 # Check to make sure the PIC flag actually works.
7612 if test -n "$lt_prog_compiler_pic"; then
7614 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7615 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7616 if test "${lt_prog_compiler_pic_works+set}" = set; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 lt_prog_compiler_pic_works
=no
7620 ac_outfile
=conftest.
$ac_objext
7621 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7622 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7623 # Insert the option either (1) after the last *FLAGS variable, or
7624 # (2) before a word containing "conftest.", or (3) at the end.
7625 # Note that $ac_compile itself does not contain backslashes and begins
7626 # with a dollar sign (not a hyphen), so the echo should work correctly.
7627 # The option is referenced via a variable to avoid confusing sed.
7628 lt_compile
=`echo "$ac_compile" | $SED \
7629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7631 -e 's:$: $lt_compiler_flag:'`
7632 (eval echo "\"\$as_me:7632: $lt_compile\"" >&5)
7633 (eval "$lt_compile" 2>conftest.err
)
7635 cat conftest.err
>&5
7636 echo "$as_me:7636: \$? = $ac_status" >&5
7637 if (exit $ac_status) && test -s "$ac_outfile"; then
7638 # The compiler can only warn and ignore the option if not recognized
7639 # So say no if there are warnings other than the usual output.
7640 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7641 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7642 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7643 lt_prog_compiler_pic_works
=yes
7649 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7650 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7652 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7653 case $lt_prog_compiler_pic in
7655 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7658 lt_prog_compiler_pic
=
7659 lt_prog_compiler_can_build_shared
=no
7664 # For platforms which do not support PIC, -DPIC is meaningless:
7666 lt_prog_compiler_pic
=
7669 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7674 # Check to make sure the static flag actually works.
7676 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7677 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7678 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7679 if test "${lt_prog_compiler_static_works+set}" = set; then
7680 echo $ECHO_N "(cached) $ECHO_C" >&6
7682 lt_prog_compiler_static_works
=no
7683 save_LDFLAGS
="$LDFLAGS"
7684 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7685 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7686 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7687 # The linker can only warn and ignore the option if not recognized
7688 # So say no if there are warnings
7689 if test -s conftest.err
; then
7690 # Append any errors to the config.log.
7691 cat conftest.err
1>&5
7692 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7693 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7694 if diff conftest.exp conftest.er2
>/dev
/null
; then
7695 lt_prog_compiler_static_works
=yes
7698 lt_prog_compiler_static_works
=yes
7702 LDFLAGS
="$save_LDFLAGS"
7705 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7706 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7708 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7711 lt_prog_compiler_static
=
7715 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7716 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7717 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 lt_cv_prog_compiler_c_o
=no
7721 $rm -r conftest
2>/dev
/null
7725 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7727 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7728 # Insert the option either (1) after the last *FLAGS variable, or
7729 # (2) before a word containing "conftest.", or (3) at the end.
7730 # Note that $ac_compile itself does not contain backslashes and begins
7731 # with a dollar sign (not a hyphen), so the echo should work correctly.
7732 lt_compile
=`echo "$ac_compile" | $SED \
7733 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7734 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7735 -e 's:$: $lt_compiler_flag:'`
7736 (eval echo "\"\$as_me:7736: $lt_compile\"" >&5)
7737 (eval "$lt_compile" 2>out
/conftest.err
)
7739 cat out
/conftest.err
>&5
7740 echo "$as_me:7740: \$? = $ac_status" >&5
7741 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7743 # The compiler can only warn and ignore the option if not recognized
7744 # So say no if there are warnings
7745 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7746 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7747 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7748 lt_cv_prog_compiler_c_o
=yes
7753 # SGI C++ compiler will create directory out/ii_files/ for
7754 # template instantiation
7755 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7756 $rm out
/* && rmdir out
7762 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7763 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7766 hard_links
="nottested"
7767 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7768 # do not overwrite the value of need_locks provided by the user
7769 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7770 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7773 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7775 ln conftest.a conftest.b
2>&5 || hard_links
=no
7776 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7777 { echo "$as_me:$LINENO: result: $hard_links" >&5
7778 echo "${ECHO_T}$hard_links" >&6; }
7779 if test "$hard_links" = no
; then
7780 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7781 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7788 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7789 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7792 allow_undefined_flag
=
7793 enable_shared_with_static_runtimes
=no
7795 archive_expsym_cmds
=
7796 old_archive_From_new_cmds
=
7797 old_archive_from_expsyms_cmds
=
7798 export_dynamic_flag_spec
=
7799 whole_archive_flag_spec
=
7800 thread_safe_flag_spec
=
7801 hardcode_libdir_flag_spec
=
7802 hardcode_libdir_flag_spec_ld
=
7803 hardcode_libdir_separator
=
7806 hardcode_shlibpath_var
=unsupported
7807 link_all_deplibs
=unknown
7808 hardcode_automatic
=no
7811 always_export_symbols
=no
7812 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7813 # include_expsyms should be a list of space-separated symbols to be *always*
7814 # included in the symbol list
7816 # exclude_expsyms can be an extended regexp of symbols to exclude
7817 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7818 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7819 # as well as any symbol that contains `d'.
7820 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7821 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7822 # platforms (ab)use it in PIC code, but their linkers get confused if
7823 # the symbol is explicitly referenced. Since portable code cannot
7824 # rely on this symbol name, it's probably fine to never include it in
7825 # preloaded symbol tables.
7826 extract_expsyms_cmds
=
7827 # Just being paranoid about ensuring that cc_basename is set.
7828 for cc_temp
in $compiler""; do
7830 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7831 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7836 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7839 cygwin
* | mingw
* | pw32
*)
7840 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7841 # When not using gcc, we currently assume that we are using
7842 # Microsoft Visual C++.
7843 if test "$GCC" != yes; then
7848 # we just hope/assume this is gcc and not c89 (= MSVC++)
7857 if test "$with_gnu_ld" = yes; then
7858 # If archive_cmds runs LD, not CC, wlarc should be empty
7861 # Set some defaults for GNU ld with shared library support. These
7862 # are reset later if shared libraries are not supported. Putting them
7863 # here allows them to be overridden if necessary.
7864 runpath_var
=LD_RUN_PATH
7865 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7866 export_dynamic_flag_spec
='${wl}--export-dynamic'
7867 # ancient GNU ld didn't support --whole-archive et. al.
7868 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
7869 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7871 whole_archive_flag_spec
=
7873 supports_anon_versioning
=no
7874 case `$LD -v 2>/dev/null` in
7875 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7876 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7877 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7878 *\
2.11.
*) ;; # other 2.11 versions
7879 *) supports_anon_versioning
=yes ;;
7882 # See if GNU ld supports shared libraries.
7884 aix3
* | aix4
* | aix5
*)
7885 # On AIX/PPC, the GNU linker is very broken
7886 if test "$host_cpu" != ia64
; then
7890 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7891 *** to be unable to reliably create shared libraries on AIX.
7892 *** Therefore, libtool is disabling shared libraries support. If you
7893 *** really care for shared libraries, you may want to modify your PATH
7894 *** so that a non-GNU linker is found, and then restart.
7901 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)'
7902 hardcode_libdir_flag_spec
='-L$libdir'
7903 hardcode_minus_L
=yes
7905 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7906 # that the semantics of dynamic libraries on AmigaOS, at least up
7907 # to version 4, is to share data among multiple programs linked
7908 # with the same dynamic library. Since this doesn't match the
7909 # behavior of shared libraries on other platforms, we can't use
7915 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
7916 allow_undefined_flag
=unsupported
7917 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7918 # support --undefined. This deserves some investigation. FIXME
7919 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7925 cygwin
* | mingw
* | pw32
*)
7926 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7927 # as there is no search path for DLLs.
7928 hardcode_libdir_flag_spec
='-L$libdir'
7929 allow_undefined_flag
=unsupported
7930 always_export_symbols
=no
7931 enable_shared_with_static_runtimes
=yes
7932 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7934 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
7935 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7936 # If the export-symbols file already is a .def file (1st line
7937 # is EXPORTS), use it as is; otherwise, prepend...
7938 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7939 cp $export_symbols $output_objdir/$soname.def;
7941 echo EXPORTS > $output_objdir/$soname.def;
7942 cat $export_symbols >> $output_objdir/$soname.def;
7944 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7952 hardcode_shlibpath_var
=no
7953 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7954 export_dynamic_flag_spec
='${wl}-E'
7955 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7956 # Instead, shared libraries are loaded at an image base (0x10000000 by
7957 # default) and relocated if they conflict, which is a slow very memory
7958 # consuming and fragmenting process. To avoid this, we pick a random,
7959 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7960 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7961 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7962 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'
7965 linux
* | k
*bsd
*-gnu)
7966 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
7968 case $cc_basename,$host_cpu in
7969 pgcc
*) # Portland Group C compiler
7970 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'
7971 tmp_addflag
=' $pic_flag'
7973 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7974 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'
7975 tmp_addflag
=' $pic_flag -Mnomain' ;;
7976 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7977 tmp_addflag
=' -i_dynamic' ;;
7978 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7979 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7980 ifc
* | ifort
*) # Intel Fortran compiler
7981 tmp_addflag
=' -nofor_main' ;;
7983 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7985 if test $supports_anon_versioning = yes; then
7986 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7987 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7988 $echo "local: *; };" >> $output_objdir/$libname.ver~
7989 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7997 netbsd
* | netbsdelf
*-gnu)
7998 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
7999 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8002 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8003 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8008 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
8012 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8013 *** create shared libraries on Solaris systems. Therefore, libtool
8014 *** is disabling shared libraries support. We urge you to upgrade GNU
8015 *** binutils to release 2.9.1 or newer. Another option is to modify
8016 *** your PATH or compiler configuration so that the native linker is
8017 *** used, and then restart.
8020 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8021 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8022 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8028 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8029 case `$LD -v 2>&1` in
8030 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
8034 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8035 *** reliably create shared libraries on SCO systems. Therefore, libtool
8036 *** is disabling shared libraries support. We urge you to upgrade GNU
8037 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8038 *** your PATH or compiler configuration so that the native linker is
8039 *** used, and then restart.
8044 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8045 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8046 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8047 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8056 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8059 hardcode_shlibpath_var
=no
8063 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8064 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8065 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8072 if test "$ld_shlibs" = no
; then
8074 hardcode_libdir_flag_spec
=
8075 export_dynamic_flag_spec
=
8076 whole_archive_flag_spec
=
8079 # PORTME fill in a description of your system's linker (not GNU ld)
8082 allow_undefined_flag
=unsupported
8083 always_export_symbols
=yes
8084 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'
8085 # Note: this linker hardcodes the directories in LIBPATH if there
8086 # are no directories specified by -L.
8087 hardcode_minus_L
=yes
8088 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8089 # Neither direct hardcoding nor static linking is supported with a
8091 hardcode_direct
=unsupported
8096 if test "$host_cpu" = ia64
; then
8097 # On IA64, the linker does run time linking by default, so we don't
8098 # have to do anything special.
8099 aix_use_runtimelinking
=no
8100 exp_sym_flag
='-Bexport'
8103 # If we're using GNU nm, then we don't want the "-C" option.
8104 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8105 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
8106 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'
8108 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'
8110 aix_use_runtimelinking
=no
8112 # Test if we are trying to use run time linking or normal
8113 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8114 # need to do runtime linking.
8115 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8116 for ld_flag
in $LDFLAGS; do
8117 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8118 aix_use_runtimelinking
=yes
8125 exp_sym_flag
='-bexport'
8126 no_entry_flag
='-bnoentry'
8129 # When large executables or shared objects are built, AIX ld can
8130 # have problems creating the table of contents. If linking a library
8131 # or program results in "error TOC overflow" add -mminimal-toc to
8132 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8133 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8137 hardcode_libdir_separator
=':'
8138 link_all_deplibs
=yes
8140 if test "$GCC" = yes; then
8141 case $host_os in aix4.
[012]|aix4.
[012].
*)
8142 # We only want to do this on AIX 4.2 and lower, the check
8143 # below for broken collect2 doesn't work under 4.3+
8144 collect2name
=`${CC} -print-prog-name=collect2`
8145 if test -f "$collect2name" && \
8146 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
8148 # We have reworked collect2
8151 # We have old collect2
8152 hardcode_direct
=unsupported
8153 # It fails to find uninstalled libraries when the uninstalled
8154 # path is not listed in the libpath. Setting hardcode_minus_L
8155 # to unsupported forces relinking
8156 hardcode_minus_L
=yes
8157 hardcode_libdir_flag_spec
='-L$libdir'
8158 hardcode_libdir_separator
=
8162 shared_flag
='-shared'
8163 if test "$aix_use_runtimelinking" = yes; then
8164 shared_flag
="$shared_flag "'${wl}-G'
8168 if test "$host_cpu" = ia64
; then
8169 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8170 # chokes on -Wl,-G. The following line is correct:
8173 if test "$aix_use_runtimelinking" = yes; then
8174 shared_flag
='${wl}-G'
8176 shared_flag
='${wl}-bM:SRE'
8181 # It seems that -bexpall does not export symbols beginning with
8182 # underscore (_), so it is better to generate a list of symbols to export.
8183 always_export_symbols
=yes
8184 if test "$aix_use_runtimelinking" = yes; then
8185 # Warning - without using the other runtime loading flags (-brtl),
8186 # -berok will link without error, but may produce a broken library.
8187 allow_undefined_flag
='-berok'
8188 # Determine the default libpath from the value encoded in an empty executable.
8189 cat >conftest.
$ac_ext <<_ACEOF
8192 cat confdefs.h
>>conftest.
$ac_ext
8193 cat >>conftest.
$ac_ext <<_ACEOF
8194 /* end confdefs.h. */
8204 rm -f conftest.
$ac_objext conftest
$ac_exeext
8205 if { (ac_try
="$ac_link"
8207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8208 *) ac_try_echo=$ac_try;;
8210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8211 (eval "$ac_link") 2>conftest.er1
8213 grep -v '^ *+' conftest.er1 >conftest.err
8215 cat conftest.err >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); } &&
8218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8219 { (case "(($ac_try" in
8220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8221 *) ac_try_echo
=$ac_try;;
8223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8224 (eval "$ac_try") 2>&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; } &&
8228 { ac_try
='test -s conftest$ac_exeext'
8229 { (case "(($ac_try" in
8230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8231 *) ac_try_echo=$ac_try;;
8233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8234 (eval "$ac_try") 2>&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); }; }; then
8239 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8241 # Check for a 64-bit object if we didn't find anything.
8242 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8245 echo "$as_me: failed program was:" >&5
8246 sed 's/^/| /' conftest.$ac_ext >&5
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8255 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8256 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"
8258 if test "$host_cpu" = ia64; then
8259 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8260 allow_undefined_flag="-z nodefs"
8261 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"
8263 # Determine the default libpath from the value encoded in an empty executable.
8264 cat >conftest.$ac_ext <<_ACEOF
8267 cat confdefs.h >>conftest.$ac_ext
8268 cat >>conftest.$ac_ext <<_ACEOF
8269 /* end confdefs.h. */
8279 rm -f conftest.$ac_objext conftest$ac_exeext
8280 if { (ac_try="$ac_link"
8282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8283 *) ac_try_echo
=$ac_try;;
8285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8286 (eval "$ac_link") 2>conftest.er1
8288 grep -v '^ *+' conftest.er1
>conftest.err
8290 cat conftest.err
>&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); } &&
8293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8294 { (case "(($ac_try" in
8295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8296 *) ac_try_echo=$ac_try;;
8298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8299 (eval "$ac_try") 2>&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; } &&
8303 { ac_try='test -s conftest$ac_exeext'
8304 { (case "(($ac_try" in
8305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8306 *) ac_try_echo
=$ac_try;;
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_try") 2>&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); }; }; then
8314 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8316 # Check for a 64-bit object if we didn't find anything.
8317 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.
$ac_ext >&5
8326 rm -f core conftest.err conftest.
$ac_objext \
8327 conftest
$ac_exeext conftest.
$ac_ext
8328 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8330 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8331 # Warning - without using the other run time loading flags,
8332 # -berok will link without error, but may produce a broken library.
8333 no_undefined_flag
=' ${wl}-bernotok'
8334 allow_undefined_flag
=' ${wl}-berok'
8335 # Exported symbols can be pulled into shared objects from archives
8336 whole_archive_flag_spec
='$convenience'
8337 archive_cmds_need_lc
=yes
8338 # This is similar to how AIX traditionally builds its shared libraries.
8339 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'
8345 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)'
8346 hardcode_libdir_flag_spec
='-L$libdir'
8347 hardcode_minus_L
=yes
8348 # see comment about different semantics on the GNU ld section
8353 export_dynamic_flag_spec
=-rdynamic
8356 cygwin
* | mingw
* | pw32
*)
8357 # When not using gcc, we currently assume that we are using
8358 # Microsoft Visual C++.
8359 # hardcode_libdir_flag_spec is actually meaningless, as there is
8360 # no search path for DLLs.
8361 hardcode_libdir_flag_spec
=' '
8362 allow_undefined_flag
=unsupported
8363 # Tell ltmain to make .lib files, not .a files.
8365 # Tell ltmain to make .dll files, not .so files.
8367 # FIXME: Setting linknames here is a bad hack.
8368 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8369 # The linker will automatically build a .lib file if we build a DLL.
8370 old_archive_From_new_cmds
='true'
8371 # FIXME: Should let the user specify the lib program.
8372 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8373 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8374 enable_shared_with_static_runtimes
=yes
8377 darwin
* | rhapsody
*)
8379 rhapsody
* | darwin1.
[012])
8380 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8383 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8384 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8386 case ${MACOSX_DEPLOYMENT_TARGET} in
8388 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8391 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8397 archive_cmds_need_lc
=no
8399 hardcode_automatic
=yes
8400 hardcode_shlibpath_var
=unsupported
8401 whole_archive_flag_spec
=''
8402 link_all_deplibs
=yes
8403 if test "$GCC" = yes ; then
8404 output_verbose_link_cmd
='echo'
8405 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8406 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8407 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8408 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8409 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}'
8411 case $cc_basename in
8413 output_verbose_link_cmd
='echo'
8414 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8415 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8416 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8417 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8418 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}'
8428 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8429 hardcode_libdir_flag_spec
='-L$libdir'
8430 hardcode_shlibpath_var
=no
8437 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8438 # support. Future versions do this automatically, but an explicit c++rt0.o
8439 # does not break anything, and helps significantly (at the cost of a little
8442 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8443 hardcode_libdir_flag_spec
='-R$libdir'
8445 hardcode_shlibpath_var
=no
8448 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8450 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8452 hardcode_minus_L
=yes
8453 hardcode_shlibpath_var
=no
8456 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8457 freebsd
* | dragonfly
*)
8458 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8459 hardcode_libdir_flag_spec
='-R$libdir'
8461 hardcode_shlibpath_var
=no
8465 if test "$GCC" = yes; then
8466 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'
8468 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'
8470 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8471 hardcode_libdir_separator
=:
8474 # hardcode_minus_L: Not really in the search PATH,
8475 # but as the default location of the library.
8476 hardcode_minus_L
=yes
8477 export_dynamic_flag_spec
='${wl}-E'
8481 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8482 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8484 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8486 if test "$with_gnu_ld" = no
; then
8487 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8488 hardcode_libdir_separator
=:
8491 export_dynamic_flag_spec
='${wl}-E'
8493 # hardcode_minus_L: Not really in the search PATH,
8494 # but as the default location of the library.
8495 hardcode_minus_L
=yes
8500 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8503 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8506 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8509 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8515 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8518 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8521 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8525 if test "$with_gnu_ld" = no
; then
8526 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8527 hardcode_libdir_separator
=:
8531 hardcode_libdir_flag_spec_ld
='+b $libdir'
8533 hardcode_shlibpath_var
=no
8537 export_dynamic_flag_spec
='${wl}-E'
8539 # hardcode_minus_L: Not really in the search PATH,
8540 # but as the default location of the library.
8541 hardcode_minus_L
=yes
8547 irix5
* | irix6
* | nonstopux
*)
8548 if test "$GCC" = yes; then
8549 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'
8551 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'
8552 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8554 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8555 hardcode_libdir_separator
=:
8556 link_all_deplibs
=yes
8559 netbsd
* | netbsdelf
*-gnu)
8560 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
8561 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8563 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8565 hardcode_libdir_flag_spec
='-R$libdir'
8567 hardcode_shlibpath_var
=no
8571 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8573 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8574 hardcode_libdir_separator
=:
8575 hardcode_shlibpath_var
=no
8580 hardcode_shlibpath_var
=no
8581 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8582 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8583 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8584 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8585 export_dynamic_flag_spec
='${wl}-E'
8588 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8589 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8590 hardcode_libdir_flag_spec
='-R$libdir'
8593 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8594 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8601 hardcode_libdir_flag_spec
='-L$libdir'
8602 hardcode_minus_L
=yes
8603 allow_undefined_flag
=unsupported
8604 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'
8605 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8609 if test "$GCC" = yes; then
8610 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8611 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'
8613 allow_undefined_flag
=' -expect_unresolved \*'
8614 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'
8616 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8617 hardcode_libdir_separator
=:
8620 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8621 if test "$GCC" = yes; then
8622 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8623 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'
8624 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8626 allow_undefined_flag
=' -expect_unresolved \*'
8627 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'
8628 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8629 $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'
8631 # Both c and cxx compiler support -rpath directly
8632 hardcode_libdir_flag_spec
='-rpath $libdir'
8634 hardcode_libdir_separator
=:
8638 no_undefined_flag
=' -z text'
8639 if test "$GCC" = yes; then
8641 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8642 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8643 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8646 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8647 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8648 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8650 hardcode_libdir_flag_spec
='-R$libdir'
8651 hardcode_shlibpath_var
=no
8653 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8655 # The compiler driver will combine linker options so we
8656 # cannot just pass the convience library names through
8657 # without $wl, iff we do not link with $LD.
8658 # Luckily, gcc supports the same syntax we need for Sun Studio.
8659 # Supported since Solaris 2.6 (maybe 2.5.1?)
8662 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8664 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8667 link_all_deplibs
=yes
8671 if test "x$host_vendor" = xsequent
; then
8672 # Use $CC to link under sequent, because it throws in some extra .o
8673 # files that make .init and .fini sections work.
8674 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8676 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8678 hardcode_libdir_flag_spec
='-L$libdir'
8680 hardcode_minus_L
=yes
8681 hardcode_shlibpath_var
=no
8685 case $host_vendor in
8687 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8688 hardcode_direct
=yes # is this really true???
8691 ## LD is ld it makes a PLAMLIB
8692 ## CC just makes a GrossModule.
8693 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8694 reload_cmds
='$CC -r -o $output$reload_objs'
8698 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8699 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8702 runpath_var
='LD_RUN_PATH'
8703 hardcode_shlibpath_var
=no
8707 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8708 hardcode_shlibpath_var
=no
8709 export_dynamic_flag_spec
='-Bexport'
8713 if test -d /usr
/nec
; then
8714 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8715 hardcode_shlibpath_var
=no
8716 runpath_var
=LD_RUN_PATH
8717 hardcode_runpath_var
=yes
8722 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8723 no_undefined_flag
='${wl}-z,text'
8724 archive_cmds_need_lc
=no
8725 hardcode_shlibpath_var
=no
8726 runpath_var
='LD_RUN_PATH'
8728 if test "$GCC" = yes; then
8729 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8730 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8732 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8733 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8737 sysv5
* | sco3.2v5
* | sco5v6
*)
8738 # Note: We can NOT use -z defs as we might desire, because we do not
8739 # link with -lc, and that would cause any symbols used from libc to
8740 # always be unresolved, which means just about no library would
8741 # ever link correctly. If we're not using GNU ld we use -z text
8742 # though, which does catch some bad symbols but isn't as heavy-handed
8744 no_undefined_flag
='${wl}-z,text'
8745 allow_undefined_flag
='${wl}-z,nodefs'
8746 archive_cmds_need_lc
=no
8747 hardcode_shlibpath_var
=no
8748 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8749 hardcode_libdir_separator
=':'
8750 link_all_deplibs
=yes
8751 export_dynamic_flag_spec
='${wl}-Bexport'
8752 runpath_var
='LD_RUN_PATH'
8754 if test "$GCC" = yes; then
8755 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8756 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8758 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8759 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8764 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8765 hardcode_libdir_flag_spec
='-L$libdir'
8766 hardcode_shlibpath_var
=no
8775 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8776 echo "${ECHO_T}$ld_shlibs" >&6; }
8777 test "$ld_shlibs" = no
&& can_build_shared
=no
8780 # Do we need to explicitly link libc?
8782 case "x$archive_cmds_need_lc" in
8784 # Assume -lc should be added
8785 archive_cmds_need_lc
=yes
8787 if test "$enable_shared" = yes && test "$GCC" = yes; then
8788 case $archive_cmds in
8790 # FIXME: we may have to deal with multi-command sequences.
8793 # Test whether the compiler implicitly links with -lc since on some
8794 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8795 # to ld, don't add -lc before -lgcc.
8796 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8797 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8799 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8802 (eval $ac_compile) 2>&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } 2>conftest.err
; then
8808 libobjs
=conftest.
$ac_objext
8810 wl
=$lt_prog_compiler_wl
8811 pic_flag
=$lt_prog_compiler_pic
8817 lt_save_allow_undefined_flag
=$allow_undefined_flag
8818 allow_undefined_flag
=
8819 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8820 (eval $archive_cmds 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); }
8825 archive_cmds_need_lc
=no
8827 archive_cmds_need_lc
=yes
8829 allow_undefined_flag
=$lt_save_allow_undefined_flag
8831 cat conftest.err
1>&5
8834 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8835 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8842 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8843 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8845 libname_spec
='lib$name'
8853 shlibpath_overrides_runpath
=unknown
8855 dynamic_linker
="$host_os ld.so"
8856 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8857 if test "$GCC" = yes; then
8858 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8859 if echo "$sys_lib_search_path_spec" | grep ';' >/dev
/null
; then
8860 # if the path contains ";" then we assume it to be the separator
8861 # otherwise default to the standard path separator (i.e. ":") - it is
8862 # assumed that no part of a normal pathname contains ";" but that should
8863 # okay in the real world where ";" in dirpaths is itself problematic.
8864 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8866 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8869 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8871 need_lib_prefix
=unknown
8872 hardcode_into_libs
=no
8874 # when you set need_version to no, make sure it does not cause -set_version
8875 # flags to be left without arguments
8876 need_version
=unknown
8881 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8882 shlibpath_var
=LIBPATH
8884 # AIX 3 has no versioning support, so we append a major version to the name.
8885 soname_spec
='${libname}${release}${shared_ext}$major'
8892 hardcode_into_libs
=yes
8893 if test "$host_cpu" = ia64
; then
8894 # AIX 5 supports IA64
8895 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8896 shlibpath_var
=LD_LIBRARY_PATH
8898 # With GCC up to 2.95.x, collect2 would create an import file
8899 # for dependence libraries. The import file would start with
8900 # the line `#! .'. This would cause the generated library to
8901 # depend on `.', always an invalid library. This was fixed in
8902 # development snapshots of GCC prior to 3.0.
8904 aix4
| aix4.
[01] | aix4.
[01].
*)
8905 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8907 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
8914 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8915 # soname into executable. Probably we can add versioning support to
8916 # collect2, so additional links can be useful in future.
8917 if test "$aix_use_runtimelinking" = yes; then
8918 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8919 # instead of lib<name>.a to let people know that these are not
8920 # typical AIX shared libraries.
8921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8923 # We preserve .a as extension for shared libraries through AIX4.2
8924 # and later when we are not doing run time linking.
8925 library_names_spec
='${libname}${release}.a $libname.a'
8926 soname_spec
='${libname}${release}${shared_ext}$major'
8928 shlibpath_var
=LIBPATH
8933 library_names_spec
='$libname.ixlibrary $libname.a'
8934 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8935 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'
8939 library_names_spec
='${libname}${shared_ext}'
8940 dynamic_linker
="$host_os ld.so"
8941 shlibpath_var
=LIBRARY_PATH
8947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8948 soname_spec
='${libname}${release}${shared_ext}$major'
8949 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8950 shlibpath_var
=LD_LIBRARY_PATH
8951 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8952 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8953 # the default ld.so.conf also contains /usr/contrib/lib and
8954 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8955 # libtool to hard-code these into programs
8958 cygwin
* | mingw
* | pw32
*)
8959 version_type
=windows
8964 case $GCC,$host_os in
8965 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
8966 library_names_spec
='$libname.dll.a'
8967 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8968 postinstall_cmds
='base_file=`basename \${file}`~
8969 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8970 dldir=$destdir/`dirname \$dlpath`~
8971 test -d \$dldir || mkdir -p \$dldir~
8972 $install_prog $dir/$dlname \$dldir/$dlname~
8973 chmod a+x \$dldir/$dlname'
8974 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8975 dlpath=$dir/\$dldll~
8977 shlibpath_overrides_runpath
=yes
8981 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8982 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8983 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8986 # MinGW DLLs use traditional 'lib' prefix
8987 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8988 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8989 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
8990 # It is most probably a Windows format PATH printed by
8991 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8992 # path with ; separators, and with drive letters. We can handle the
8993 # drive letters (cygwin fileutils understands them), so leave them,
8994 # especially as we might pass files found there to a mingw objdump,
8995 # which wouldn't understand a cygwinified path. Ahh.
8996 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8998 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9002 # pw32 DLLs use 'pw' prefix rather than 'lib'
9003 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9009 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
9012 dynamic_linker
='Win32 ld.exe'
9013 # FIXME: first we should search . and the directory the executable is in
9017 darwin
* | rhapsody
*)
9018 dynamic_linker
="$host_os dyld"
9022 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9023 soname_spec
='${libname}${release}${major}$shared_ext'
9024 shlibpath_overrides_runpath
=yes
9025 shlibpath_var
=DYLD_LIBRARY_PATH
9026 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9027 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9028 if test "$GCC" = yes; then
9029 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9031 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
9033 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9041 soname_spec
='${libname}${release}${shared_ext}$major'
9042 shlibpath_var
=LD_LIBRARY_PATH
9049 freebsd
* | dragonfly
*)
9050 # DragonFly does not have aout. When/if they implement a new
9051 # versioning mechanism, adjust this.
9052 if test -x /usr
/bin
/objformat
; then
9053 objformat
=`/usr/bin/objformat`
9056 freebsd
[123]*) objformat
=aout
;;
9060 version_type
=freebsd
-$objformat
9061 case $version_type in
9063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9068 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9072 shlibpath_var
=LD_LIBRARY_PATH
9075 shlibpath_overrides_runpath
=yes
9077 freebsd3.
[01]* | freebsdelf3.
[01]*)
9078 shlibpath_overrides_runpath
=yes
9079 hardcode_into_libs
=yes
9081 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9082 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9083 shlibpath_overrides_runpath
=no
9084 hardcode_into_libs
=yes
9086 freebsd
*) # from 4.6 on
9087 shlibpath_overrides_runpath
=yes
9088 hardcode_into_libs
=yes
9097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9098 soname_spec
='${libname}${release}${shared_ext}$major'
9099 shlibpath_var
=LD_LIBRARY_PATH
9100 hardcode_into_libs
=yes
9103 hpux9
* | hpux10
* | hpux11
*)
9104 # Give a soname corresponding to the major version so that dld.sl refuses to
9105 # link against other versions.
9112 hardcode_into_libs
=yes
9113 dynamic_linker
="$host_os dld.so"
9114 shlibpath_var
=LD_LIBRARY_PATH
9115 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9117 soname_spec
='${libname}${release}${shared_ext}$major'
9118 if test "X$HPUX_IA64_MODE" = X32
; then
9119 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9121 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9123 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9127 hardcode_into_libs
=yes
9128 dynamic_linker
="$host_os dld.sl"
9129 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9130 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9132 soname_spec
='${libname}${release}${shared_ext}$major'
9133 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9134 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9138 dynamic_linker
="$host_os dld.sl"
9139 shlibpath_var
=SHLIB_PATH
9140 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9142 soname_spec
='${libname}${release}${shared_ext}$major'
9145 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9146 postinstall_cmds
='chmod 555 $lib'
9153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9154 soname_spec
='${libname}${release}${shared_ext}$major'
9155 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9156 shlibpath_var
=LD_LIBRARY_PATH
9157 shlibpath_overrides_runpath
=no
9158 hardcode_into_libs
=yes
9161 irix5
* | irix6
* | nonstopux
*)
9163 nonstopux
*) version_type
=nonstopux
;;
9165 if test "$lt_cv_prog_gnu_ld" = yes; then
9173 soname_spec
='${libname}${release}${shared_ext}$major'
9174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9176 irix5
* | nonstopux
*)
9180 case $LD in # libtool.m4 will add one of these switches to LD
9181 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9182 libsuff
= shlibsuff
= libmagic
=32-bit;;
9183 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9184 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9185 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9186 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9187 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9191 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9192 shlibpath_overrides_runpath
=no
9193 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9194 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9195 hardcode_into_libs
=yes
9198 # No shared lib support for Linux oldld, aout, or coff.
9199 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9203 # This must be Linux ELF.
9204 linux
* | k
*bsd
*-gnu)
9208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9209 soname_spec
='${libname}${release}${shared_ext}$major'
9210 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9211 shlibpath_var
=LD_LIBRARY_PATH
9212 shlibpath_overrides_runpath
=no
9213 # This implies no fast_install, which is unacceptable.
9214 # Some rework will be needed to allow for fast_install
9215 # before this can be enabled.
9216 hardcode_into_libs
=yes
9218 # Append ld.so.conf contents to the search path
9219 if test -f /etc
/ld.so.conf
; then
9220 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9221 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9224 # We used to test for /lib/ld.so.1 and disable shared libraries on
9225 # powerpc, because MkLinux only supported shared libraries with the
9226 # GNU dynamic linker. Since this was broken with cross compilers,
9227 # most powerpc-linux boxes support dynamic linking these days and
9228 # people can always --disable-shared, the test was removed, and we
9229 # assume the GNU/Linux dynamic linker is in use.
9230 dynamic_linker
='GNU/Linux ld.so'
9237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9238 soname_spec
='${libname}${release}${shared_ext}$major'
9239 shlibpath_var
=LD_LIBRARY_PATH
9240 shlibpath_overrides_runpath
=no
9241 hardcode_into_libs
=yes
9242 dynamic_linker
='NetBSD ld.elf_so'
9249 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
9250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9251 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9252 dynamic_linker
='NetBSD (a.out) ld.so'
9254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9255 soname_spec
='${libname}${release}${shared_ext}$major'
9256 dynamic_linker
='NetBSD ld.elf_so'
9258 shlibpath_var
=LD_LIBRARY_PATH
9259 shlibpath_overrides_runpath
=yes
9260 hardcode_into_libs
=yes
9265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9266 shlibpath_var
=LD_LIBRARY_PATH
9267 shlibpath_overrides_runpath
=yes
9274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9275 soname_spec
='${libname}${release}${shared_ext}$major'
9276 shlibpath_var
=LD_LIBRARY_PATH
9277 shlibpath_overrides_runpath
=yes
9282 sys_lib_dlsearch_path_spec
="/usr/lib"
9284 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9286 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9287 *) need_version
=no
;;
9289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9290 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9291 shlibpath_var
=LD_LIBRARY_PATH
9292 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9294 openbsd2.
[89] | openbsd2.
[89].
*)
9295 shlibpath_overrides_runpath
=no
9298 shlibpath_overrides_runpath
=yes
9302 shlibpath_overrides_runpath
=yes
9307 libname_spec
='$name'
9310 library_names_spec
='$libname${shared_ext} $libname.a'
9311 dynamic_linker
='OS/2 ld.exe'
9312 shlibpath_var
=LIBPATH
9315 osf3
* | osf4
* | osf5
*)
9319 soname_spec
='${libname}${release}${shared_ext}$major'
9320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9321 shlibpath_var
=LD_LIBRARY_PATH
9322 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9323 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9331 soname_spec
='${libname}${release}${shared_ext}$major'
9332 shlibpath_var
=LD_LIBRARY_PATH
9333 shlibpath_overrides_runpath
=yes
9334 hardcode_into_libs
=yes
9335 # ldd complains unless libraries are executable
9336 postinstall_cmds
='chmod +x $lib'
9341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9342 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9343 shlibpath_var
=LD_LIBRARY_PATH
9344 shlibpath_overrides_runpath
=yes
9345 if test "$with_gnu_ld" = yes; then
9353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9354 soname_spec
='${libname}${release}${shared_ext}$major'
9355 shlibpath_var
=LD_LIBRARY_PATH
9356 case $host_vendor in
9358 shlibpath_overrides_runpath
=no
9360 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9361 runpath_var
=LD_RUN_PATH
9369 shlibpath_overrides_runpath
=no
9370 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9376 if test -d /usr
/nec
;then
9378 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9379 soname_spec
='$libname${shared_ext}.$major'
9380 shlibpath_var
=LD_LIBRARY_PATH
9384 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9385 version_type
=freebsd
-elf
9388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9389 soname_spec
='${libname}${release}${shared_ext}$major'
9390 shlibpath_var
=LD_LIBRARY_PATH
9391 hardcode_into_libs
=yes
9392 if test "$with_gnu_ld" = yes; then
9393 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9394 shlibpath_overrides_runpath
=no
9396 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9397 shlibpath_overrides_runpath
=yes
9400 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9404 sys_lib_dlsearch_path_spec
='/usr/lib'
9409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9410 soname_spec
='${libname}${release}${shared_ext}$major'
9411 shlibpath_var
=LD_LIBRARY_PATH
9418 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9419 echo "${ECHO_T}$dynamic_linker" >&6; }
9420 test "$dynamic_linker" = no
&& can_build_shared
=no
9422 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9423 if test "$GCC" = yes; then
9424 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9427 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9428 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9430 if test -n "$hardcode_libdir_flag_spec" || \
9431 test -n "$runpath_var" || \
9432 test "X$hardcode_automatic" = "Xyes" ; then
9434 # We can hardcode non-existant directories.
9435 if test "$hardcode_direct" != no
&&
9436 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9437 # have to relink, otherwise we might link with an installed library
9438 # when we should be linking with a yet-to-be-installed one
9439 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9440 test "$hardcode_minus_L" != no
; then
9441 # Linking always hardcodes the temporary library directory.
9442 hardcode_action
=relink
9444 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9445 hardcode_action
=immediate
9448 # We cannot hardcode anything, or else we can only hardcode existing
9450 hardcode_action
=unsupported
9452 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9453 echo "${ECHO_T}$hardcode_action" >&6; }
9455 if test "$hardcode_action" = relink
; then
9456 # Fast installation is not supported
9457 enable_fast_install
=no
9458 elif test "$shlibpath_overrides_runpath" = yes ||
9459 test "$enable_shared" = no
; then
9460 # Fast installation is not necessary
9461 enable_fast_install
=needless
9466 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9467 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9468 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev
/null
; then
9469 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9470 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9471 { echo "$as_me:$LINENO: result: yes" >&5
9472 echo "${ECHO_T}yes" >&6; }
9474 # FIXME - insert some real tests, host_os isn't really good enough
9477 if test -n "$STRIP" ; then
9478 striplib
="$STRIP -x"
9479 { echo "$as_me:$LINENO: result: yes" >&5
9480 echo "${ECHO_T}yes" >&6; }
9482 { echo "$as_me:$LINENO: result: no" >&5
9483 echo "${ECHO_T}no" >&6; }
9487 { echo "$as_me:$LINENO: result: no" >&5
9488 echo "${ECHO_T}no" >&6; }
9493 if test "x$enable_dlopen" != xyes
; then
9494 enable_dlopen
=unknown
9495 enable_dlopen_self
=unknown
9496 enable_dlopen_self_static
=unknown
9503 lt_cv_dlopen
="load_add_on"
9505 lt_cv_dlopen_self
=yes
9509 lt_cv_dlopen
="LoadLibrary"
9514 lt_cv_dlopen
="dlopen"
9519 # if libdl is installed we need to link against it
9520 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9521 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9522 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9523 echo $ECHO_N "(cached) $ECHO_C" >&6
9525 ac_check_lib_save_LIBS
=$LIBS
9527 cat >conftest.
$ac_ext <<_ACEOF
9530 cat confdefs.h
>>conftest.
$ac_ext
9531 cat >>conftest.
$ac_ext <<_ACEOF
9532 /* end confdefs.h. */
9534 /* Override any GCC internal prototype to avoid an error.
9535 Use char because int might match the return type of a GCC
9536 builtin and then its argument prototype would still apply. */
9549 rm -f conftest.
$ac_objext conftest
$ac_exeext
9550 if { (ac_try
="$ac_link"
9552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9553 *) ac_try_echo=$ac_try;;
9555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9556 (eval "$ac_link") 2>conftest.er1
9558 grep -v '^ *+' conftest.er1 >conftest.err
9560 cat conftest.err >&5
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); } &&
9563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9564 { (case "(($ac_try" in
9565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9566 *) ac_try_echo
=$ac_try;;
9568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9569 (eval "$ac_try") 2>&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); }; } &&
9573 { ac_try
='test -s conftest$ac_exeext'
9574 { (case "(($ac_try" in
9575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9576 *) ac_try_echo=$ac_try;;
9578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9579 (eval "$ac_try") 2>&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 (exit $ac_status); }; }; then
9583 ac_cv_lib_dl_dlopen=yes
9585 echo "$as_me: failed program was:" >&5
9586 sed 's/^/| /' conftest.$ac_ext >&5
9588 ac_cv_lib_dl_dlopen=no
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 LIBS=$ac_check_lib_save_LIBS
9595 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9596 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9597 if test $ac_cv_lib_dl_dlopen = yes; then
9598 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9603 lt_cv_dlopen_self=yes
9610 { echo "$as_me:$LINENO: checking for shl_load" >&5
9611 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9612 if test "${ac_cv_func_shl_load+set}" = set; then
9613 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 cat >conftest.$ac_ext <<_ACEOF
9618 cat confdefs.h >>conftest.$ac_ext
9619 cat >>conftest.$ac_ext <<_ACEOF
9620 /* end confdefs.h. */
9621 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9623 #define shl_load innocuous_shl_load
9625 /* System header to define __stub macros and hopefully few prototypes,
9626 which can conflict with char shl_load (); below.
9627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9628 <limits.h> exists even on freestanding compilers. */
9631 # include <limits.h>
9633 # include <assert.h>
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9645 /* The GNU C library defines this for functions which it implements
9646 to always fail with ENOSYS. Some functions are actually named
9647 something starting with __ and the normal name is an alias. */
9648 #if defined __stub_shl_load || defined __stub___shl_load
9660 rm -f conftest.$ac_objext conftest$ac_exeext
9661 if { (ac_try="$ac_link"
9663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9664 *) ac_try_echo
=$ac_try;;
9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9667 (eval "$ac_link") 2>conftest.er1
9669 grep -v '^ *+' conftest.er1
>conftest.err
9671 cat conftest.err
>&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } &&
9674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9675 { (case "(($ac_try" in
9676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9677 *) ac_try_echo=$ac_try;;
9679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9680 (eval "$ac_try") 2>&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); }; } &&
9684 { ac_try='test -s conftest$ac_exeext'
9685 { (case "(($ac_try" in
9686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9687 *) ac_try_echo
=$ac_try;;
9689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9690 (eval "$ac_try") 2>&5
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); }; }; then
9694 ac_cv_func_shl_load
=yes
9696 echo "$as_me: failed program was:" >&5
9697 sed 's/^/| /' conftest.
$ac_ext >&5
9699 ac_cv_func_shl_load
=no
9702 rm -f core conftest.err conftest.
$ac_objext \
9703 conftest
$ac_exeext conftest.
$ac_ext
9705 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9706 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9707 if test $ac_cv_func_shl_load = yes; then
9708 lt_cv_dlopen
="shl_load"
9710 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9711 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9712 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 ac_check_lib_save_LIBS
=$LIBS
9717 cat >conftest.
$ac_ext <<_ACEOF
9720 cat confdefs.h
>>conftest.
$ac_ext
9721 cat >>conftest.
$ac_ext <<_ACEOF
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9739 rm -f conftest.
$ac_objext conftest
$ac_exeext
9740 if { (ac_try
="$ac_link"
9742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9743 *) ac_try_echo=$ac_try;;
9745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9746 (eval "$ac_link") 2>conftest.er1
9748 grep -v '^ *+' conftest.er1 >conftest.err
9750 cat conftest.err >&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); } &&
9753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9754 { (case "(($ac_try" in
9755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9756 *) ac_try_echo
=$ac_try;;
9758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9759 (eval "$ac_try") 2>&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; } &&
9763 { ac_try
='test -s conftest$ac_exeext'
9764 { (case "(($ac_try" in
9765 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9766 *) ac_try_echo=$ac_try;;
9768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9769 (eval "$ac_try") 2>&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; }; then
9773 ac_cv_lib_dld_shl_load=yes
9775 echo "$as_me: failed program was:" >&5
9776 sed 's/^/| /' conftest.$ac_ext >&5
9778 ac_cv_lib_dld_shl_load=no
9781 rm -f core conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 LIBS=$ac_check_lib_save_LIBS
9785 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9786 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9787 if test $ac_cv_lib_dld_shl_load = yes; then
9788 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9790 { echo "$as_me:$LINENO: checking for dlopen" >&5
9791 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9792 if test "${ac_cv_func_dlopen+set}" = set; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 cat >conftest.$ac_ext <<_ACEOF
9798 cat confdefs.h >>conftest.$ac_ext
9799 cat >>conftest.$ac_ext <<_ACEOF
9800 /* end confdefs.h. */
9801 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9803 #define dlopen innocuous_dlopen
9805 /* System header to define __stub macros and hopefully few prototypes,
9806 which can conflict with char dlopen (); below.
9807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9808 <limits.h> exists even on freestanding compilers. */
9811 # include <limits.h>
9813 # include <assert.h>
9818 /* Override any GCC internal prototype to avoid an error.
9819 Use char because int might match the return type of a GCC
9820 builtin and then its argument prototype would still apply. */
9825 /* The GNU C library defines this for functions which it implements
9826 to always fail with ENOSYS. Some functions are actually named
9827 something starting with __ and the normal name is an alias. */
9828 #if defined __stub_dlopen || defined __stub___dlopen
9840 rm -f conftest.$ac_objext conftest$ac_exeext
9841 if { (ac_try="$ac_link"
9843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9844 *) ac_try_echo
=$ac_try;;
9846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9847 (eval "$ac_link") 2>conftest.er1
9849 grep -v '^ *+' conftest.er1
>conftest.err
9851 cat conftest.err
>&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); } &&
9854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9855 { (case "(($ac_try" in
9856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9857 *) ac_try_echo=$ac_try;;
9859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9860 (eval "$ac_try") 2>&5
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863 (exit $ac_status); }; } &&
9864 { ac_try='test -s conftest$ac_exeext'
9865 { (case "(($ac_try" in
9866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9867 *) ac_try_echo
=$ac_try;;
9869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9870 (eval "$ac_try") 2>&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); }; }; then
9874 ac_cv_func_dlopen
=yes
9876 echo "$as_me: failed program was:" >&5
9877 sed 's/^/| /' conftest.
$ac_ext >&5
9879 ac_cv_func_dlopen
=no
9882 rm -f core conftest.err conftest.
$ac_objext \
9883 conftest
$ac_exeext conftest.
$ac_ext
9885 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9886 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9887 if test $ac_cv_func_dlopen = yes; then
9888 lt_cv_dlopen
="dlopen"
9890 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9891 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9892 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 ac_check_lib_save_LIBS
=$LIBS
9897 cat >conftest.
$ac_ext <<_ACEOF
9900 cat confdefs.h
>>conftest.
$ac_ext
9901 cat >>conftest.
$ac_ext <<_ACEOF
9902 /* end confdefs.h. */
9904 /* Override any GCC internal prototype to avoid an error.
9905 Use char because int might match the return type of a GCC
9906 builtin and then its argument prototype would still apply. */
9919 rm -f conftest.
$ac_objext conftest
$ac_exeext
9920 if { (ac_try
="$ac_link"
9922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9923 *) ac_try_echo=$ac_try;;
9925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9926 (eval "$ac_link") 2>conftest.er1
9928 grep -v '^ *+' conftest.er1 >conftest.err
9930 cat conftest.err >&5
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); } &&
9933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9934 { (case "(($ac_try" in
9935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9936 *) ac_try_echo
=$ac_try;;
9938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9939 (eval "$ac_try") 2>&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; } &&
9943 { ac_try
='test -s conftest$ac_exeext'
9944 { (case "(($ac_try" in
9945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9946 *) ac_try_echo=$ac_try;;
9948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9949 (eval "$ac_try") 2>&5
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); }; }; then
9953 ac_cv_lib_dl_dlopen=yes
9955 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.$ac_ext >&5
9958 ac_cv_lib_dl_dlopen=no
9961 rm -f core conftest.err conftest.$ac_objext \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_lib_save_LIBS
9965 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9966 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9967 if test $ac_cv_lib_dl_dlopen = yes; then
9968 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9970 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9971 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9972 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9973 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 ac_check_lib_save_LIBS=$LIBS
9977 cat >conftest.$ac_ext <<_ACEOF
9980 cat confdefs.h >>conftest.$ac_ext
9981 cat >>conftest.$ac_ext <<_ACEOF
9982 /* end confdefs.h. */
9984 /* Override any GCC internal prototype to avoid an error.
9985 Use char because int might match the return type of a GCC
9986 builtin and then its argument prototype would still apply. */
9999 rm -f conftest.$ac_objext conftest$ac_exeext
10000 if { (ac_try="$ac_link"
10001 case "(($ac_try" in
10002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10003 *) ac_try_echo
=$ac_try;;
10005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10006 (eval "$ac_link") 2>conftest.er1
10008 grep -v '^ *+' conftest.er1
>conftest.err
10010 cat conftest.err
>&5
10011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 (exit $ac_status); } &&
10013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10014 { (case "(($ac_try" in
10015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10016 *) ac_try_echo=$ac_try;;
10018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10019 (eval "$ac_try") 2>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); }; } &&
10023 { ac_try='test -s conftest$ac_exeext'
10024 { (case "(($ac_try" in
10025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10026 *) ac_try_echo
=$ac_try;;
10028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10029 (eval "$ac_try") 2>&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); }; }; then
10033 ac_cv_lib_svld_dlopen
=yes
10035 echo "$as_me: failed program was:" >&5
10036 sed 's/^/| /' conftest.
$ac_ext >&5
10038 ac_cv_lib_svld_dlopen
=no
10041 rm -f core conftest.err conftest.
$ac_objext \
10042 conftest
$ac_exeext conftest.
$ac_ext
10043 LIBS
=$ac_check_lib_save_LIBS
10045 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10046 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10047 if test $ac_cv_lib_svld_dlopen = yes; then
10048 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10050 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10051 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10052 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10055 ac_check_lib_save_LIBS
=$LIBS
10057 cat >conftest.
$ac_ext <<_ACEOF
10060 cat confdefs.h
>>conftest.
$ac_ext
10061 cat >>conftest.
$ac_ext <<_ACEOF
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10074 return dld_link ();
10079 rm -f conftest.
$ac_objext conftest
$ac_exeext
10080 if { (ac_try
="$ac_link"
10081 case "(($ac_try" in
10082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10083 *) ac_try_echo=$ac_try;;
10085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10086 (eval "$ac_link") 2>conftest.er1
10088 grep -v '^ *+' conftest.er1 >conftest.err
10090 cat conftest.err >&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); } &&
10093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10094 { (case "(($ac_try" in
10095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10096 *) ac_try_echo
=$ac_try;;
10098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10099 (eval "$ac_try") 2>&5
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; } &&
10103 { ac_try
='test -s conftest$ac_exeext'
10104 { (case "(($ac_try" in
10105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10106 *) ac_try_echo=$ac_try;;
10108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10109 (eval "$ac_try") 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; }; then
10113 ac_cv_lib_dld_dld_link=yes
10115 echo "$as_me: failed program was:" >&5
10116 sed 's/^/| /' conftest.$ac_ext >&5
10118 ac_cv_lib_dld_dld_link=no
10121 rm -f core conftest.err conftest.$ac_objext \
10122 conftest$ac_exeext conftest.$ac_ext
10123 LIBS=$ac_check_lib_save_LIBS
10125 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10126 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10127 if test $ac_cv_lib_dld_dld_link = yes; then
10128 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10149 if test "x$lt_cv_dlopen" != xno; then
10155 case $lt_cv_dlopen in
10157 save_CPPFLAGS="$CPPFLAGS"
10158 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10160 save_LDFLAGS="$LDFLAGS"
10161 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10164 LIBS="$lt_cv_dlopen_libs $LIBS"
10166 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10167 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10168 if test "${lt_cv_dlopen_self+set}" = set; then
10169 echo $ECHO_N "(cached) $ECHO_C" >&6
10171 if test "$cross_compiling" = yes; then :
10172 lt_cv_dlopen_self=cross
10174 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10175 lt_status=$lt_dlunknown
10176 cat > conftest.$ac_ext <<EOF
10177 #line 10177 "configure"
10178 #include "confdefs.h"
10187 # define LT_DLGLOBAL RTLD_GLOBAL
10190 # define LT_DLGLOBAL DL_GLOBAL
10192 # define LT_DLGLOBAL 0
10196 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10197 find out it does not work in some platform. */
10198 #ifndef LT_DLLAZY_OR_NOW
10200 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10203 # define LT_DLLAZY_OR_NOW DL_LAZY
10206 # define LT_DLLAZY_OR_NOW RTLD_NOW
10209 # define LT_DLLAZY_OR_NOW DL_NOW
10211 # define LT_DLLAZY_OR_NOW 0
10219 extern "C" void exit (int);
10222 void fnord() { int i=42;}
10225 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10226 int status = $lt_dlunknown;
10230 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10231 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10232 /* dlclose (self); */
10240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10241 (eval $ac_link) 2>&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10245 (./conftest; exit; ) >&5 2>/dev/null
10247 case x$lt_status in
10248 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10249 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10250 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10253 # compilation failed
10254 lt_cv_dlopen_self=no
10261 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10262 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10264 if test "x$lt_cv_dlopen_self" = xyes; then
10265 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10266 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10267 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10268 if test "${lt_cv_dlopen_self_static+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10271 if test "$cross_compiling" = yes; then :
10272 lt_cv_dlopen_self_static=cross
10274 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10275 lt_status=$lt_dlunknown
10276 cat > conftest.$ac_ext <<EOF
10277 #line 10277 "configure"
10278 #include "confdefs.h"
10287 # define LT_DLGLOBAL RTLD_GLOBAL
10290 # define LT_DLGLOBAL DL_GLOBAL
10292 # define LT_DLGLOBAL 0
10296 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10297 find out it does not work in some platform. */
10298 #ifndef LT_DLLAZY_OR_NOW
10300 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10303 # define LT_DLLAZY_OR_NOW DL_LAZY
10306 # define LT_DLLAZY_OR_NOW RTLD_NOW
10309 # define LT_DLLAZY_OR_NOW DL_NOW
10311 # define LT_DLLAZY_OR_NOW 0
10319 extern "C" void exit (int);
10322 void fnord() { int i=42;}
10325 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10326 int status = $lt_dlunknown;
10330 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10331 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10332 /* dlclose (self); */
10340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10341 (eval $ac_link) 2>&5
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10345 (./conftest; exit; ) >&5 2>/dev/null
10347 case x$lt_status in
10348 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10349 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10350 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10353 # compilation failed
10354 lt_cv_dlopen_self_static=no
10361 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10362 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10365 CPPFLAGS="$save_CPPFLAGS"
10366 LDFLAGS="$save_LDFLAGS"
10371 case $lt_cv_dlopen_self in
10372 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10373 *) enable_dlopen_self=unknown ;;
10376 case $lt_cv_dlopen_self_static in
10377 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10378 *) enable_dlopen_self_static=unknown ;;
10383 # Report which library types will actually be built
10384 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10385 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10386 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10387 echo "${ECHO_T}$can_build_shared" >&6; }
10389 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10390 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10391 test "$can_build_shared" = "no" && enable_shared=no
10393 # On AIX, shared libraries and static libraries use the same namespace, and
10394 # are all built from PIC.
10397 test "$enable_shared" = yes && enable_static=no
10398 if test -n "$RANLIB"; then
10399 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10400 postinstall_cmds='$RANLIB $lib'
10405 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10406 test "$enable_shared" = yes && enable_static=no
10410 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10411 echo "${ECHO_T}$enable_shared" >&6; }
10413 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10414 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10415 # Make sure either enable_shared or enable_static is yes.
10416 test "$enable_shared" = yes || enable_static=yes
10417 { echo "$as_me:$LINENO: result: $enable_static" >&5
10418 echo "${ECHO_T}$enable_static" >&6; }
10420 # The else clause should only fire when bootstrapping the
10421 # libtool distribution, otherwise you forgot to ship ltmain.sh
10422 # with your package, and you will get complaints that there are
10423 # no rules to generate ltmain.sh.
10424 if test -f "$ltmain"; then
10425 # See if we are running on zsh, and set the options which allow our commands through
10426 # without removal of \ escapes.
10427 if test -n "${ZSH_VERSION+set}" ; then
10428 setopt NO_GLOB_SUBST
10430 # Now quote all the things that may contain metacharacters while being
10431 # careful not to overquote the AC_SUBSTed values. We take copies of the
10432 # variables and quote the copies for generation of the libtool script.
10433 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10435 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10436 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10437 deplibs_check_method reload_flag reload_cmds need_locks \
10438 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10439 lt_cv_sys_global_symbol_to_c_name_address \
10440 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10441 old_postinstall_cmds old_postuninstall_cmds \
10445 lt_prog_compiler_wl \
10446 lt_prog_compiler_pic \
10447 lt_prog_compiler_static \
10448 lt_prog_compiler_no_builtin_flag \
10449 export_dynamic_flag_spec \
10450 thread_safe_flag_spec \
10451 whole_archive_flag_spec \
10452 enable_shared_with_static_runtimes \
10454 old_archive_from_new_cmds \
10459 compiler_lib_search_path \
10461 archive_expsym_cmds \
10463 postuninstall_cmds \
10464 old_archive_from_expsyms_cmds \
10465 allow_undefined_flag \
10466 no_undefined_flag \
10467 export_symbols_cmds \
10468 hardcode_libdir_flag_spec \
10469 hardcode_libdir_flag_spec_ld \
10470 hardcode_libdir_separator \
10471 hardcode_automatic \
10473 module_expsym_cmds \
10474 lt_cv_prog_compiler_c_o \
10476 include_expsyms; do
10479 old_archive_cmds | \
10480 old_archive_from_new_cmds | \
10482 archive_expsym_cmds | \
10484 module_expsym_cmds | \
10485 old_archive_from_expsyms_cmds | \
10486 export_symbols_cmds | \
10487 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10488 postinstall_cmds | postuninstall_cmds | \
10489 old_postinstall_cmds | old_postuninstall_cmds | \
10490 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10491 # Double-quote double-evaled strings.
10492 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10495 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10501 *'\$0 --fallback-echo"')
10502 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10506 cfgfile="${ofile}T"
10507 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10509 { echo "$as_me:$LINENO: creating $ofile" >&5
10510 echo "$as_me: creating $ofile" >&6;}
10512 cat <<__EOF__ >> "$cfgfile"
10515 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10516 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10517 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10519 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10520 # Free Software Foundation, Inc.
10522 # This file is part of GNU Libtool:
10523 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10525 # This program is free software; you can redistribute it and/or modify
10526 # it under the terms of the GNU General Public License as published by
10527 # the Free Software Foundation; either version 2 of the License, or
10528 # (at your option) any later version.
10530 # This program is distributed in the hope that it will be useful, but
10531 # WITHOUT ANY WARRANTY; without even the implied warranty of
10532 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10533 # General Public License for more details.
10535 # You should have received a copy of the GNU General Public License
10536 # along with this program; if not, write to the Free Software
10537 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10539 # As a special exception to the GNU General Public License, if you
10540 # distribute this file as part of a program that contains a
10541 # configuration script generated by Autoconf, you may include it under
10542 # the same distribution terms that you use for the rest of that program.
10544 # A sed program that does not truncate output.
10547 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10548 Xsed="$SED -e 1s/^X//"
10550 # The HP-UX ksh and POSIX shell print the target directory to stdout
10551 # if CDPATH is set.
10552 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10554 # The names of the tagged configurations supported by this script.
10557 # ### BEGIN LIBTOOL CONFIG
10559 # Libtool was configured on host `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`:
10561 # Shell to use when invoking shell scripts.
10564 # Whether or not to build shared libraries.
10565 build_libtool_libs=$enable_shared
10567 # Whether or not to build static libraries.
10568 build_old_libs=$enable_static
10570 # Whether or not to add -lc for building shared libraries.
10571 build_libtool_need_lc=$archive_cmds_need_lc
10573 # Whether or not to disallow shared libs when runtime libs are static
10574 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10576 # Whether or not to optimize for fast installation.
10577 fast_install=$enable_fast_install
10580 host_alias=$host_alias
10584 # The build system.
10585 build_alias=$build_alias
10589 # An echo program that does not interpret backslashes.
10594 AR_FLAGS=$lt_AR_FLAGS
10599 # LTCC compiler flags.
10600 LTCFLAGS=$lt_LTCFLAGS
10602 # A language-specific compiler.
10605 # Is the compiler the GNU C compiler?
10611 # The linker used to build libraries.
10614 # Whether we need hard or soft links.
10617 # A BSD-compatible nm program.
10620 # A symbol stripping program
10623 # Used to examine libraries when file_magic_cmd begins "file"
10624 MAGIC_CMD=$MAGIC_CMD
10626 # Used on cygwin: DLL creation program.
10629 # Used on cygwin: object dumper.
10632 # Used on cygwin: assembler.
10635 # The name of the directory that contains temporary libtool files.
10638 # How to create reloadable object files.
10639 reload_flag=$lt_reload_flag
10640 reload_cmds=$lt_reload_cmds
10642 # How to pass a linker flag through the compiler.
10643 wl=$lt_lt_prog_compiler_wl
10645 # Object file suffix (normally "o").
10646 objext="$ac_objext"
10648 # Old archive suffix (normally "a").
10651 # Shared library suffix (normally ".so").
10652 shrext_cmds='$shrext_cmds'
10654 # Executable file suffix (normally "").
10657 # Additional compiler flags for building library objects.
10658 pic_flag=$lt_lt_prog_compiler_pic
10661 # What is the maximum length of a command?
10662 max_cmd_len=$lt_cv_sys_max_cmd_len
10664 # Does compiler simultaneously support -c and -o options?
10665 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10667 # Must we lock files when doing compilation?
10668 need_locks=$lt_need_locks
10670 # Do we need the lib prefix for modules?
10671 need_lib_prefix=$need_lib_prefix
10673 # Do we need a version for libraries?
10674 need_version=$need_version
10676 # Whether dlopen is supported.
10677 dlopen_support=$enable_dlopen
10679 # Whether dlopen of programs is supported.
10680 dlopen_self=$enable_dlopen_self
10682 # Whether dlopen of statically linked programs is supported.
10683 dlopen_self_static=$enable_dlopen_self_static
10685 # Compiler flag to prevent dynamic linking.
10686 link_static_flag=$lt_lt_prog_compiler_static
10688 # Compiler flag to turn off builtin functions.
10689 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10691 # Compiler flag to allow reflexive dlopens.
10692 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10694 # Compiler flag to generate shared objects directly from archives.
10695 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10697 # Compiler flag to generate thread-safe objects.
10698 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10700 # Library versioning type.
10701 version_type=$version_type
10703 # Format of library name prefix.
10704 libname_spec=$lt_libname_spec
10706 # List of archive names. First name is the real one, the rest are links.
10707 # The last name is the one that the linker finds with -lNAME.
10708 library_names_spec=$lt_library_names_spec
10710 # The coded name of the library, if different from the real name.
10711 soname_spec=$lt_soname_spec
10713 # Commands used to build and install an old-style archive.
10715 old_archive_cmds=$lt_old_archive_cmds
10716 old_postinstall_cmds=$lt_old_postinstall_cmds
10717 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10719 # Create an old-style archive from a shared archive.
10720 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10722 # Create a temporary old-style archive to link instead of a shared archive.
10723 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10725 # Commands used to build and install a shared archive.
10726 archive_cmds=$lt_archive_cmds
10727 archive_expsym_cmds=$lt_archive_expsym_cmds
10728 postinstall_cmds=$lt_postinstall_cmds
10729 postuninstall_cmds=$lt_postuninstall_cmds
10731 # Commands used to build a loadable module (assumed same as above if empty)
10732 module_cmds=$lt_module_cmds
10733 module_expsym_cmds=$lt_module_expsym_cmds
10735 # Commands to strip libraries.
10736 old_striplib=$lt_old_striplib
10737 striplib=$lt_striplib
10739 # Dependencies to place before the objects being linked to create a
10741 predep_objects=$lt_predep_objects
10743 # Dependencies to place after the objects being linked to create a
10745 postdep_objects=$lt_postdep_objects
10747 # Dependencies to place before the objects being linked to create a
10749 predeps=$lt_predeps
10751 # Dependencies to place after the objects being linked to create a
10753 postdeps=$lt_postdeps
10755 # The library search path used internally by the compiler when linking
10756 # a shared library.
10757 compiler_lib_search_path=$lt_compiler_lib_search_path
10759 # Method to check whether dependent libraries are shared objects.
10760 deplibs_check_method=$lt_deplibs_check_method
10762 # Command to use when deplibs_check_method == file_magic.
10763 file_magic_cmd=$lt_file_magic_cmd
10765 # Flag that allows shared libraries with undefined symbols to be built.
10766 allow_undefined_flag=$lt_allow_undefined_flag
10768 # Flag that forces no undefined symbols.
10769 no_undefined_flag=$lt_no_undefined_flag
10771 # Commands used to finish a libtool library installation in a directory.
10772 finish_cmds=$lt_finish_cmds
10774 # Same as above, but a single script fragment to be evaled but not shown.
10775 finish_eval=$lt_finish_eval
10777 # Take the output of nm and produce a listing of raw symbols and C names.
10778 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10780 # Transform the output of nm in a proper C declaration
10781 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10783 # Transform the output of nm in a C name address pair
10784 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10786 # This is the shared library runtime path variable.
10787 runpath_var=$runpath_var
10789 # This is the shared library path variable.
10790 shlibpath_var=$shlibpath_var
10792 # Is shlibpath searched before the hard-coded library search path?
10793 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10795 # How to hardcode a shared library path into an executable.
10796 hardcode_action=$hardcode_action
10798 # Whether we should hardcode library paths into libraries.
10799 hardcode_into_libs=$hardcode_into_libs
10801 # Flag to hardcode \$libdir into a binary during linking.
10802 # This must work even if \$libdir does not exist.
10803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10805 # If ld is used when linking, flag to hardcode \$libdir into
10806 # a binary during linking. This must work even if \$libdir does
10808 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10810 # Whether we need a single -rpath flag with a separated argument.
10811 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10813 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10814 # resulting binary.
10815 hardcode_direct=$hardcode_direct
10817 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10818 # resulting binary.
10819 hardcode_minus_L=$hardcode_minus_L
10821 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10822 # the resulting binary.
10823 hardcode_shlibpath_var=$hardcode_shlibpath_var
10825 # Set to yes if building a shared library automatically hardcodes DIR into the library
10826 # and all subsequent libraries and executables linked against it.
10827 hardcode_automatic=$hardcode_automatic
10829 # Variables whose values should be saved in libtool wrapper scripts and
10830 # restored at relink time.
10831 variables_saved_for_relink="$variables_saved_for_relink"
10833 # Whether libtool must link a program against all its dependency libraries.
10834 link_all_deplibs=$link_all_deplibs
10836 # Compile-time system search path for libraries
10837 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10839 # Run-time system search path for libraries
10840 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10842 # Fix the shell variable \$srcfile for the compiler.
10843 fix_srcfile_path="$fix_srcfile_path"
10845 # Set to yes if exported symbols are required.
10846 always_export_symbols=$always_export_symbols
10848 # The commands to list exported symbols.
10849 export_symbols_cmds=$lt_export_symbols_cmds
10851 # The commands to extract the exported symbol list from a shared archive.
10852 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10854 # Symbols that should not be listed in the preloaded symbols.
10855 exclude_expsyms=$lt_exclude_expsyms
10857 # Symbols that must always be exported.
10858 include_expsyms=$lt_include_expsyms
10860 # ### END LIBTOOL CONFIG
10867 cat <<\EOF >> "$cfgfile"
10869 # AIX sometimes has problems with the GCC collect2 program. For some
10870 # reason, if we set the COLLECT_NAMES environment variable, the problems
10871 # vanish in a puff of smoke.
10872 if test "X${COLLECT_NAMES+set}" != Xset; then
10874 export COLLECT_NAMES
10880 # We use sed instead of cat because bash on DJGPP gets confused if
10881 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10882 # text mode, it properly converts lines to CR/LF. This bash problem
10883 # is reportedly fixed, but why not run on old versions too?
10884 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10886 mv -f "$cfgfile" "$ofile" || \
10887 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10891 # If there is no Makefile yet, we rely on a make rule to execute
10892 # `config.status
--recheck' to rerun these tests and create the
10893 # libtool script then.
10894 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10895 if test -f "$ltmain_in"; then
10896 test -f Makefile && make "$ltmain"
10902 ac_cpp='$CPP $CPPFLAGS'
10903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10904 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10910 # Check whether --with-tags was given.
10911 if test "${with_tags+set}" = set; then
10912 withval=$with_tags; tagnames="$withval"
10916 if test -f "$ltmain" && test -n "$tagnames"; then
10917 if test ! -f "${ofile}"; then
10918 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10919 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10922 if test -z "$LTCC"; then
10923 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10924 if test -z "$LTCC"; then
10925 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10926 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10928 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10929 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10932 if test -z "$LTCFLAGS"; then
10933 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10936 # Extract list of available tagged configurations in $ofile.
10937 # Note that this assumes the entire list is on one line.
10938 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10940 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10941 for tagname in $tagnames; do
10943 # Check whether tagname contains only valid characters
10944 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10946 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10947 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10948 { (exit 1); exit 1; }; }
10952 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10954 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10955 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10956 { (exit 1); exit 1; }; }
10959 # Update the list of available tags.
10960 if test -n "$tagname"; then
10961 echo appending configuration tag \"$tagname\" to $ofile
10965 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10966 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10967 (test "X$CXX" != "Xg++"))) ; then
10969 ac_cpp='$CXXCPP $CPPFLAGS'
10970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10977 archive_cmds_need_lc_CXX=no
10978 allow_undefined_flag_CXX=
10979 always_export_symbols_CXX=no
10980 archive_expsym_cmds_CXX=
10981 export_dynamic_flag_spec_CXX=
10982 hardcode_direct_CXX=no
10983 hardcode_libdir_flag_spec_CXX=
10984 hardcode_libdir_flag_spec_ld_CXX=
10985 hardcode_libdir_separator_CXX=
10986 hardcode_minus_L_CXX=no
10987 hardcode_shlibpath_var_CXX=unsupported
10988 hardcode_automatic_CXX=no
10990 module_expsym_cmds_CXX=
10991 link_all_deplibs_CXX=unknown
10992 old_archive_cmds_CXX=$old_archive_cmds
10993 no_undefined_flag_CXX=
10994 whole_archive_flag_spec_CXX=
10995 enable_shared_with_static_runtimes_CXX=no
10997 # Dependencies to place before and after the object being linked:
10998 predep_objects_CXX=
10999 postdep_objects_CXX=
11002 compiler_lib_search_path_CXX=
11004 # Source file extension for C++ test sources.
11007 # Object file extension for compiled C++ test sources.
11011 # Code to be used in simple compile tests
11012 lt_simple_compile_test_code="int some_variable = 0;\n"
11014 # Code to be used in simple link tests
11015 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11017 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11019 # If no C compiler was specified, use CC.
11022 # If no C compiler flags were specified, use CFLAGS.
11023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11025 # Allow CC to be a program name with arguments.
11029 # save warnings/boilerplate of simple test code
11030 ac_outfile=conftest.$ac_objext
11031 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11032 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11033 _lt_compiler_boilerplate=`cat conftest.err
`
11036 ac_outfile=conftest.$ac_objext
11037 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11038 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11039 _lt_linker_boilerplate=`cat conftest.err
`
11043 # Allow CC to be a program name with arguments.
11048 lt_save_with_gnu_ld=$with_gnu_ld
11049 lt_save_path_LD=$lt_cv_path_LD
11050 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11051 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11053 $as_unset lt_cv_prog_gnu_ld
11055 if test -n "${lt_cv_path_LDCXX+set}"; then
11056 lt_cv_path_LD=$lt_cv_path_LDCXX
11058 $as_unset lt_cv_path_LD
11060 test -z "${LDCXX+set}" || LD=$LDCXX
11064 for cc_temp in $compiler""; do
11066 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11067 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11072 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11075 # We don't want -fno-exception wen compiling C++ code, so set the
11076 # no_builtin_flag separately
11077 if test "$GXX" = yes; then
11078 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11080 lt_prog_compiler_no_builtin_flag_CXX=
11083 if test "$GXX" = yes; then
11084 # Set up default GNU C++ configuration
11087 # Check whether --with-gnu-ld was given.
11088 if test "${with_gnu_ld+set}" = set; then
11089 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11095 if test "$GCC" = yes; then
11096 # Check if gcc -print-prog-name=ld gives a path.
11097 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11098 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11101 # gcc leaves a trailing carriage return which upsets mingw
11102 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
11104 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11107 # Accept absolute paths.
11109 re_direlt='/[^/][^/]*/\.\./'
11110 # Canonicalize the pathname of ld
11111 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11112 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11113 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11115 test -z "$LD" && LD="$ac_prog"
11118 # If it fails, then pretend we aren't using GCC.
11122 # If it is relative, then search for the first ld in PATH.
11123 with_gnu_ld=unknown
11126 elif test "$with_gnu_ld" = yes; then
11127 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11128 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11130 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11131 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11133 if test "${lt_cv_path_LD+set}" = set; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11136 if test -z "$LD"; then
11137 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11138 for ac_dir in $PATH; do
11140 test -z "$ac_dir" && ac_dir=.
11141 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11142 lt_cv_path_LD="$ac_dir/$ac_prog"
11143 # Check to see if the program is GNU ld. I'd rather use --version,
11144 # but apparently some variants of GNU ld only accept -v.
11145 # Break only if it was the GNU/non-GNU ld that we prefer.
11146 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11147 *GNU* | *'with BFD'*)
11148 test "$with_gnu_ld" != no && break
11151 test "$with_gnu_ld" != yes && break
11158 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11162 LD="$lt_cv_path_LD"
11163 if test -n "$LD"; then
11164 { echo "$as_me:$LINENO: result: $LD" >&5
11165 echo "${ECHO_T}$LD" >&6; }
11167 { echo "$as_me:$LINENO: result: no" >&5
11168 echo "${ECHO_T}no" >&6; }
11170 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11171 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11172 { (exit 1); exit 1; }; }
11173 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11174 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11175 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11176 echo $ECHO_N "(cached) $ECHO_C" >&6
11178 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11179 case `$LD -v 2>&1 </dev
/null
` in
11180 *GNU* | *'with BFD'*)
11181 lt_cv_prog_gnu_ld=yes
11184 lt_cv_prog_gnu_ld=no
11188 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11189 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11190 with_gnu_ld=$lt_cv_prog_gnu_ld
11194 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11195 # archiving commands below assume that GNU ld is being used.
11196 if test "$with_gnu_ld" = yes; then
11197 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11198 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'
11200 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11201 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11203 # If archive_cmds runs LD, not CC, wlarc should be empty
11204 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11205 # investigate it a little bit more. (MM)
11208 # ancient GNU ld didn't support --whole-archive et. al.
11209 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11210 grep 'no-whole-archive' > /dev/null; then
11211 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11213 whole_archive_flag_spec_CXX=
11219 # A generic and very simple default shared library creation
11220 # command for GNU C++ for the case where it uses the native
11221 # linker, instead of GNU ld. If possible, this setting should
11222 # overridden to take advantage of the native linker features on
11223 # the platform it is being used on.
11224 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11227 # Commands to make compiler produce verbose output that lists
11228 # what "hidden" libraries, object files and flags are used when
11229 # linking a shared library.
11230 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11238 # PORTME: fill in a description of your system's C++ link characteristics
11239 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11240 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11244 # FIXME: insert proper C++ library support
11248 if test "$host_cpu" = ia64; then
11249 # On IA64, the linker does run time linking by default, so we don't
11250 # have to do anything special.
11251 aix_use_runtimelinking=no
11252 exp_sym_flag='-Bexport'
11255 aix_use_runtimelinking=no
11257 # Test if we are trying to use run time linking or normal
11258 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11259 # need to do runtime linking.
11260 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11261 for ld_flag in $LDFLAGS; do
11264 aix_use_runtimelinking=yes
11272 exp_sym_flag='-bexport'
11273 no_entry_flag='-bnoentry'
11276 # When large executables or shared objects are built, AIX ld can
11277 # have problems creating the table of contents. If linking a library
11278 # or program results in "error TOC overflow" add -mminimal-toc to
11279 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11280 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11282 archive_cmds_CXX=''
11283 hardcode_direct_CXX=yes
11284 hardcode_libdir_separator_CXX=':'
11285 link_all_deplibs_CXX=yes
11287 if test "$GXX" = yes; then
11288 case $host_os in aix4.[012]|aix4.[012].*)
11289 # We only want to do this on AIX 4.2 and lower, the check
11290 # below for broken collect2 doesn't work under 4.3+
11291 collect2name=`${CC} -print-prog-name=collect2
`
11292 if test -f "$collect2name" && \
11293 strings "$collect2name" | grep resolve_lib_name >/dev/null
11295 # We have reworked collect2
11296 hardcode_direct_CXX=yes
11298 # We have old collect2
11299 hardcode_direct_CXX=unsupported
11300 # It fails to find uninstalled libraries when the uninstalled
11301 # path is not listed in the libpath. Setting hardcode_minus_L
11302 # to unsupported forces relinking
11303 hardcode_minus_L_CXX=yes
11304 hardcode_libdir_flag_spec_CXX='-L$libdir'
11305 hardcode_libdir_separator_CXX=
11309 shared_flag='-shared'
11310 if test "$aix_use_runtimelinking" = yes; then
11311 shared_flag="$shared_flag "'${wl}-G'
11315 if test "$host_cpu" = ia64; then
11316 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11317 # chokes on -Wl,-G. The following line is correct:
11320 if test "$aix_use_runtimelinking" = yes; then
11321 shared_flag='${wl}-G'
11323 shared_flag='${wl}-bM:SRE'
11328 # It seems that -bexpall does not export symbols beginning with
11329 # underscore (_), so it is better to generate a list of symbols to export.
11330 always_export_symbols_CXX=yes
11331 if test "$aix_use_runtimelinking" = yes; then
11332 # Warning - without using the other runtime loading flags (-brtl),
11333 # -berok will link without error, but may produce a broken library.
11334 allow_undefined_flag_CXX='-berok'
11335 # Determine the default libpath from the value encoded in an empty executable.
11336 cat >conftest.$ac_ext <<_ACEOF
11339 cat confdefs.h >>conftest.$ac_ext
11340 cat >>conftest.$ac_ext <<_ACEOF
11341 /* end confdefs.h. */
11351 rm -f conftest.$ac_objext conftest$ac_exeext
11352 if { (ac_try="$ac_link"
11353 case "(($ac_try" in
11354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11355 *) ac_try_echo
=$ac_try;;
11357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11358 (eval "$ac_link") 2>conftest.er1
11360 grep -v '^ *+' conftest.er1
>conftest.err
11362 cat conftest.err
>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); } &&
11365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11366 { (case "(($ac_try" in
11367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11368 *) ac_try_echo=$ac_try;;
11370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11371 (eval "$ac_try") 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try='test -s conftest$ac_exeext'
11376 { (case "(($ac_try" in
11377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11378 *) ac_try_echo
=$ac_try;;
11380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11381 (eval "$ac_try") 2>&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }; }; then
11386 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11388 # Check for a 64-bit object if we didn't find anything.
11389 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11392 echo "$as_me: failed program was:" >&5
11393 sed 's/^/| /' conftest.
$ac_ext >&5
11398 rm -f core conftest.err conftest.
$ac_objext \
11399 conftest
$ac_exeext conftest.
$ac_ext
11400 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11402 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11404 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"
11406 if test "$host_cpu" = ia64
; then
11407 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11408 allow_undefined_flag_CXX
="-z nodefs"
11409 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"
11411 # Determine the default libpath from the value encoded in an empty executable.
11412 cat >conftest.
$ac_ext <<_ACEOF
11415 cat confdefs.h
>>conftest.
$ac_ext
11416 cat >>conftest.
$ac_ext <<_ACEOF
11417 /* end confdefs.h. */
11427 rm -f conftest.
$ac_objext conftest
$ac_exeext
11428 if { (ac_try
="$ac_link"
11429 case "(($ac_try" in
11430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11431 *) ac_try_echo=$ac_try;;
11433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11434 (eval "$ac_link") 2>conftest.er1
11436 grep -v '^ *+' conftest.er1 >conftest.err
11438 cat conftest.err >&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); } &&
11441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11442 { (case "(($ac_try" in
11443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11444 *) ac_try_echo
=$ac_try;;
11446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11447 (eval "$ac_try") 2>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); }; } &&
11451 { ac_try
='test -s conftest$ac_exeext'
11452 { (case "(($ac_try" in
11453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11454 *) ac_try_echo=$ac_try;;
11456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11457 (eval "$ac_try") 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); }; }; then
11462 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11464 # Check for a 64-bit object if we didn't find anything.
11465 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11468 echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.$ac_ext >&5
11474 rm -f core conftest.err conftest.$ac_objext \
11475 conftest$ac_exeext conftest.$ac_ext
11476 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11478 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11479 # Warning - without using the other run time loading flags,
11480 # -berok will link without error, but may produce a broken library.
11481 no_undefined_flag_CXX=' ${wl}-bernotok'
11482 allow_undefined_flag_CXX=' ${wl}-berok'
11483 # Exported symbols can be pulled into shared objects from archives
11484 whole_archive_flag_spec_CXX='$convenience'
11485 archive_cmds_need_lc_CXX=yes
11486 # This is similar to how AIX traditionally builds its shared libraries.
11487 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'
11493 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11494 allow_undefined_flag_CXX=unsupported
11495 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11496 # support --undefined. This deserves some investigation. FIXME
11497 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11504 case $cc_basename in
11506 # FIXME: insert proper C++ library support
11512 cygwin* | mingw* | pw32*)
11513 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11514 # as there is no search path for DLLs.
11515 hardcode_libdir_flag_spec_CXX='-L$libdir'
11516 allow_undefined_flag_CXX=unsupported
11517 always_export_symbols_CXX=no
11518 enable_shared_with_static_runtimes_CXX=yes
11520 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11521 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'
11522 # If the export-symbols file already is a .def file (1st line
11523 # is EXPORTS), use it as is; otherwise, prepend...
11524 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11525 cp $export_symbols $output_objdir/$soname.def;
11527 echo EXPORTS > $output_objdir/$soname.def;
11528 cat $export_symbols >> $output_objdir/$soname.def;
11530 $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'
11535 darwin* | rhapsody*)
11537 rhapsody* | darwin1.[012])
11538 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11541 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11542 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11544 case ${MACOSX_DEPLOYMENT_TARGET} in
11546 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11549 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11555 archive_cmds_need_lc_CXX=no
11556 hardcode_direct_CXX=no
11557 hardcode_automatic_CXX=yes
11558 hardcode_shlibpath_var_CXX=unsupported
11559 whole_archive_flag_spec_CXX=''
11560 link_all_deplibs_CXX=yes
11562 if test "$GXX" = yes ; then
11563 lt_int_apple_cc_single_mod=no
11564 output_verbose_link_cmd='echo'
11565 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11566 lt_int_apple_cc_single_mod=yes
11568 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11569 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11571 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'
11573 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11574 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11575 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11576 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11578 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11580 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}'
11582 case $cc_basename in
11584 output_verbose_link_cmd='echo'
11585 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11586 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11587 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11588 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11589 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}'
11599 case $cc_basename in
11601 # FIXME: insert proper C++ library support
11605 # Green Hills C++ Compiler
11606 # FIXME: insert proper C++ library support
11610 # FIXME: insert proper C++ library support
11616 # C++ shared libraries reported to be fairly broken before switch to ELF
11620 archive_cmds_need_lc_CXX=no
11622 freebsd* | dragonfly*)
11623 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11630 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11631 hardcode_libdir_separator_CXX=:
11632 export_dynamic_flag_spec_CXX='${wl}-E'
11633 hardcode_direct_CXX=yes
11634 hardcode_minus_L_CXX=yes # Not in the search PATH,
11635 # but as the default
11636 # location of the library.
11638 case $cc_basename in
11640 # FIXME: insert proper C++ library support
11644 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'
11645 # Commands to make compiler produce verbose output that lists
11646 # what "hidden" libraries, object files and flags are used when
11647 # linking a shared library.
11649 # There doesn't appear to be a way to prevent this compiler from
11650 # explicitly linking system object files so we need to strip them
11651 # from the output so that they don't get included in the library
11653 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'
11656 if test "$GXX" = yes; then
11657 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'
11659 # FIXME: insert proper C++ library support
11666 if test $with_gnu_ld = no; then
11667 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11668 hardcode_libdir_separator_CXX=:
11672 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11675 export_dynamic_flag_spec_CXX='${wl}-E'
11681 hardcode_direct_CXX=no
11682 hardcode_shlibpath_var_CXX=no
11685 hardcode_direct_CXX=yes
11686 hardcode_minus_L_CXX=yes # Not in the search PATH,
11687 # but as the default
11688 # location of the library.
11692 case $cc_basename in
11694 # FIXME: insert proper C++ library support
11700 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11703 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11706 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11709 # Commands to make compiler produce verbose output that lists
11710 # what "hidden" libraries, object files and flags are used when
11711 # linking a shared library.
11713 # There doesn't appear to be a way to prevent this compiler from
11714 # explicitly linking system object files so we need to strip them
11715 # from the output so that they don't get included in the library
11717 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'
11720 if test "$GXX" = yes; then
11721 if test $with_gnu_ld = no; then
11724 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11727 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11730 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'
11735 # FIXME: insert proper C++ library support
11742 hardcode_direct_CXX=no
11743 hardcode_shlibpath_var_CXX=no
11744 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11745 export_dynamic_flag_spec_CXX='${wl}-E'
11746 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11747 # Instead, shared libraries are loaded at an image base (0x10000000 by
11748 # default) and relocated if they conflict, which is a slow very memory
11749 # consuming and fragmenting process. To avoid this, we pick a random,
11750 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11751 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11752 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'
11753 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'
11756 case $cc_basename in
11759 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'
11761 # Archives containing C++ object files must be created using
11762 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11763 # necessary to make sure instantiated templates are included
11765 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11768 if test "$GXX" = yes; then
11769 if test "$with_gnu_ld" = no; then
11770 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'
11772 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'
11775 link_all_deplibs_CXX=yes
11778 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11779 hardcode_libdir_separator_CXX=:
11781 linux* | k*bsd*-gnu)
11782 case $cc_basename in
11784 # Kuck and Associates, Inc. (KAI) C++ Compiler
11786 # KCC will only create a shared library if the output file
11787 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11788 # to its proper name (with version) after linking.
11789 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'
11790 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'
11791 # Commands to make compiler produce verbose output that lists
11792 # what "hidden" libraries, object files and flags are used when
11793 # linking a shared library.
11795 # There doesn't appear to be a way to prevent this compiler from
11796 # explicitly linking system object files so we need to strip them
11797 # from the output so that they don't get included in the library
11799 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'
11801 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11802 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11804 # Archives containing C++ object files must be created using
11805 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11806 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11811 # version 8.0 and above of icpc choke on multiply defined symbols
11812 # if we add $predep_objects and $postdep_objects, however 7.1 and
11813 # earlier do not add the objects themselves.
11814 case `$CC -V 2>&1` in
11816 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11817 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'
11819 *) # Version 8.0 or newer
11822 ia64*) tmp_idyn=' -i_dynamic';;
11824 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11825 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'
11828 archive_cmds_need_lc_CXX=no
11829 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11830 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11831 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11834 # Portland Group C++ compiler
11835 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11836 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'
11838 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11839 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11840 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'
11844 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11845 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'
11847 runpath_var=LD_RUN_PATH
11848 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11849 hardcode_libdir_separator_CXX=:
11851 # Commands to make compiler produce verbose output that lists
11852 # what "hidden" libraries, object files and flags are used when
11853 # linking a shared library.
11855 # There doesn't appear to be a way to prevent this compiler from
11856 # explicitly linking system object files so we need to strip them
11857 # from the output so that they don't get included in the library
11859 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'
11864 # FIXME: insert proper C++ library support
11868 # FIXME: insert proper C++ library support
11872 case $cc_basename in
11874 # FIXME: insert proper C++ library support
11878 # FIXME: insert proper C++ library support
11883 netbsd* | netbsdelf*-gnu)
11884 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11885 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11887 hardcode_libdir_flag_spec_CXX='-R$libdir'
11888 hardcode_direct_CXX=yes
11889 hardcode_shlibpath_var_CXX=no
11891 # Workaround some broken pre-1.5 toolchains
11892 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11895 # C++ shared libraries are fairly broken
11899 hardcode_direct_CXX=yes
11900 hardcode_shlibpath_var_CXX=no
11901 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11902 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11903 if test -z "`echo __ELF__
| $CC -E - | grep __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11904 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11905 export_dynamic_flag_spec_CXX='${wl}-E'
11906 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11908 output_verbose_link_cmd='echo'
11911 case $cc_basename in
11913 # Kuck and Associates, Inc. (KAI) C++ Compiler
11915 # KCC will only create a shared library if the output file
11916 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11917 # to its proper name (with version) after linking.
11918 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'
11920 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11921 hardcode_libdir_separator_CXX=:
11923 # Archives containing C++ object files must be created using
11924 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11925 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11929 # Rational C++ 2.4.1
11930 # FIXME: insert proper C++ library support
11934 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11935 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'
11937 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11938 hardcode_libdir_separator_CXX=:
11940 # Commands to make compiler produce verbose output that lists
11941 # what "hidden" libraries, object files and flags are used when
11942 # linking a shared library.
11944 # There doesn't appear to be a way to prevent this compiler from
11945 # explicitly linking system object files so we need to strip them
11946 # from the output so that they don't get included in the library
11948 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'
11951 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11952 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11953 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'
11955 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11956 hardcode_libdir_separator_CXX=:
11958 # Commands to make compiler produce verbose output that lists
11959 # what "hidden" libraries, object files and flags are used when
11960 # linking a shared library.
11961 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11964 # FIXME: insert proper C++ library support
11971 case $cc_basename in
11973 # Kuck and Associates, Inc. (KAI) C++ Compiler
11975 # KCC will only create a shared library if the output file
11976 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11977 # to its proper name (with version) after linking.
11978 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'
11980 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11981 hardcode_libdir_separator_CXX=:
11983 # Archives containing C++ object files must be created using
11984 # the KAI C++ compiler.
11985 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11988 # Rational C++ 2.4.1
11989 # FIXME: insert proper C++ library support
11993 allow_undefined_flag_CXX=' -expect_unresolved \*'
11994 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'
11995 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11996 echo "-hidden">> $lib.exp~
11997 $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~
12000 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12001 hardcode_libdir_separator_CXX=:
12003 # Commands to make compiler produce verbose output that lists
12004 # what "hidden" libraries, object files and flags are used when
12005 # linking a shared library.
12007 # There doesn't appear to be a way to prevent this compiler from
12008 # explicitly linking system object files so we need to strip them
12009 # from the output so that they don't get included in the library
12011 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'
12014 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12015 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12016 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'
12018 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12019 hardcode_libdir_separator_CXX=:
12021 # Commands to make compiler produce verbose output that lists
12022 # what "hidden" libraries, object files and flags are used when
12023 # linking a shared library.
12024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12027 # FIXME: insert proper C++ library support
12034 # FIXME: insert proper C++ library support
12038 case $cc_basename in
12041 # FIXME: insert proper C++ library support
12046 # FIXME: insert proper C++ library support
12050 # FIXME: insert proper C++ library support
12056 case $cc_basename in
12058 # Sun C++ 4.2, 5.x and Centerline C++
12059 archive_cmds_need_lc_CXX=yes
12060 no_undefined_flag_CXX=' -zdefs'
12061 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12062 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12063 $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'
12065 hardcode_libdir_flag_spec_CXX='-R$libdir'
12066 hardcode_shlibpath_var_CXX=no
12068 solaris2.[0-5] | solaris2.[0-5].*) ;;
12070 # The C++ compiler is used as linker so we must use $wl
12071 # flag to pass the commands to the underlying system
12072 # linker. We must also pass each convience library through
12073 # to the system linker between allextract/defaultextract.
12074 # The C++ compiler will combine linker options so we
12075 # cannot just pass the convience library names through
12077 # Supported since Solaris 2.6 (maybe 2.5.1?)
12078 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv
in $convenience\"\"; do test -n \"$conv\" && new_convenience
=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
12081 link_all_deplibs_CXX=yes
12083 output_verbose_link_cmd='echo'
12085 # Archives containing C++ object files must be created using
12086 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12087 # necessary to make sure instantiated templates are included
12089 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12092 # Green Hills C++ Compiler
12093 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12095 # The C++ compiler must be used to create the archive.
12096 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12099 # GNU C++ compiler with Solaris linker
12100 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12101 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12102 if $CC --version | grep -v '^2\.7' > /dev/null; then
12103 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12104 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12105 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12107 # Commands to make compiler produce verbose output that lists
12108 # what "hidden" libraries, object files and flags are used when
12109 # linking a shared library.
12110 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12112 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12114 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12115 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12116 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12118 # Commands to make compiler produce verbose output that lists
12119 # what "hidden" libraries, object files and flags are used when
12120 # linking a shared library.
12121 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12124 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12129 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12130 no_undefined_flag_CXX
='${wl}-z,text'
12131 archive_cmds_need_lc_CXX
=no
12132 hardcode_shlibpath_var_CXX
=no
12133 runpath_var
='LD_RUN_PATH'
12135 case $cc_basename in
12137 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12138 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12141 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12142 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12146 sysv5
* | sco3.2v5
* | sco5v6
*)
12147 # Note: We can NOT use -z defs as we might desire, because we do not
12148 # link with -lc, and that would cause any symbols used from libc to
12149 # always be unresolved, which means just about no library would
12150 # ever link correctly. If we're not using GNU ld we use -z text
12151 # though, which does catch some bad symbols but isn't as heavy-handed
12153 # For security reasons, it is highly recommended that you always
12154 # use absolute paths for naming shared libraries, and exclude the
12155 # DT_RUNPATH tag from executables and libraries. But doing so
12156 # requires that you compile everything twice, which is a pain.
12157 # So that behaviour is only enabled if SCOABSPATH is set to a
12158 # non-empty value in the environment. Most likely only useful for
12159 # creating official distributions of packages.
12160 # This is a hack until libtool officially supports absolute path
12161 # names for shared libraries.
12162 no_undefined_flag_CXX
='${wl}-z,text'
12163 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12164 archive_cmds_need_lc_CXX
=no
12165 hardcode_shlibpath_var_CXX
=no
12166 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12167 hardcode_libdir_separator_CXX
=':'
12168 link_all_deplibs_CXX
=yes
12169 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12170 runpath_var
='LD_RUN_PATH'
12172 case $cc_basename in
12174 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12175 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12178 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12179 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12184 case $cc_basename in
12186 # NonStop-UX NCC 3.20
12187 # FIXME: insert proper C++ library support
12191 # FIXME: insert proper C++ library support
12197 # FIXME: insert proper C++ library support
12201 # FIXME: insert proper C++ library support
12205 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12206 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12207 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12213 cat > conftest.
$ac_ext <<EOF
12217 Foo (void) { a = 0; }
12223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12224 (eval $ac_compile) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; then
12228 # Parse the compiler output and extract the necessary
12229 # objects, libraries and library flags.
12231 # Sentinel used to keep track of whether or not we are before
12232 # the conftest object file.
12233 pre_test_object_deps_done
=no
12235 # The `*' in the case matches for architectures that use `case' in
12236 # $output_verbose_cmd can trigger glob expansion during the loop
12237 # eval without this substitution.
12238 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12240 for p
in `eval $output_verbose_link_cmd`; do
12244 # Some compilers place space between "-{L,R}" and the path.
12245 # Remove the space.
12246 if test $p = "-L" \
12247 || test $p = "-R"; then
12254 if test "$pre_test_object_deps_done" = no
; then
12257 # Internal compiler library paths should come after those
12258 # provided the user. The postdeps already come after the
12259 # user supplied libs so there is no need to process them.
12260 if test -z "$compiler_lib_search_path_CXX"; then
12261 compiler_lib_search_path_CXX
="${prev}${p}"
12263 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12266 # The "-l" case would never come before the object being
12267 # linked, so don't bother handling this case.
12270 if test -z "$postdeps_CXX"; then
12271 postdeps_CXX
="${prev}${p}"
12273 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12279 # This assumes that the test object file only shows up
12280 # once in the compiler output.
12281 if test "$p" = "conftest.$objext"; then
12282 pre_test_object_deps_done
=yes
12286 if test "$pre_test_object_deps_done" = no
; then
12287 if test -z "$predep_objects_CXX"; then
12288 predep_objects_CXX
="$p"
12290 predep_objects_CXX
="$predep_objects_CXX $p"
12293 if test -z "$postdep_objects_CXX"; then
12294 postdep_objects_CXX
="$p"
12296 postdep_objects_CXX
="$postdep_objects_CXX $p"
12301 *) ;; # Ignore the rest.
12309 echo "libtool.m4: error: problem compiling CXX test program"
12312 $rm -f confest.
$objext
12314 # PORTME: override above test on systems where it is broken
12317 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12318 # hack all around it, let's just trust "g++" to DTRT.
12319 predep_objects_CXX
=
12320 postdep_objects_CXX
=
12325 case $cc_basename in
12327 # Adding this requires a known-good setup of shared libraries for
12328 # Sun compiler versions before 5.6, else PIC objects from an old
12329 # archive will be linked into the output, leading to subtle bugs.
12330 postdeps_CXX
='-lCstd -lCrun'
12337 case " $postdeps_CXX " in
12338 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12341 lt_prog_compiler_wl_CXX
=
12342 lt_prog_compiler_pic_CXX
=
12343 lt_prog_compiler_static_CXX
=
12345 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12346 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12348 # C++ specific cases for pic, static, wl, etc.
12349 if test "$GXX" = yes; then
12350 lt_prog_compiler_wl_CXX
='-Wl,'
12351 lt_prog_compiler_static_CXX
='-static'
12355 # All AIX code is PIC.
12356 if test "$host_cpu" = ia64
; then
12357 # AIX 5 now supports IA64 processor
12358 lt_prog_compiler_static_CXX
='-Bstatic'
12362 # FIXME: we need at least 68020 code to build shared libraries, but
12363 # adding the `-m68020' flag to GCC prevents building anything better,
12365 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12367 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12368 # PIC is the default for these OSes.
12370 mingw
* | os2
* | pw32
*)
12371 # This hack is so that the source file can tell whether it is being
12372 # built for inclusion in a dll (and should export symbols for example).
12373 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12375 darwin
* | rhapsody
*)
12376 # PIC is the default on this platform
12377 # Common symbols not allowed in MH_DYLIB files
12378 lt_prog_compiler_pic_CXX
='-fno-common'
12381 # DJGPP does not support shared libraries at all
12382 lt_prog_compiler_pic_CXX
=
12385 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12386 # Instead, we relocate shared libraries at runtime.
12389 if test -d /usr
/nec
; then
12390 lt_prog_compiler_pic_CXX
=-Kconform_pic
12394 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12395 # not for PA HP-UX.
12400 lt_prog_compiler_pic_CXX
='-fPIC'
12405 lt_prog_compiler_pic_CXX
='-fPIC'
12411 # All AIX code is PIC.
12412 if test "$host_cpu" = ia64
; then
12413 # AIX 5 now supports IA64 processor
12414 lt_prog_compiler_static_CXX
='-Bstatic'
12416 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12420 case $cc_basename in
12422 # Green Hills C++ Compiler
12423 # _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"
12428 # PIC is the default on this platform
12429 # Common symbols not allowed in MH_DYLIB files
12430 case $cc_basename in
12432 lt_prog_compiler_pic_CXX
='-qnocommon'
12433 lt_prog_compiler_wl_CXX
='-Wl,'
12438 case $cc_basename in
12440 lt_prog_compiler_pic_CXX
='-KPIC'
12443 # Green Hills C++ Compiler
12444 lt_prog_compiler_pic_CXX
='-pic'
12450 freebsd
* | dragonfly
*)
12451 # FreeBSD uses GNU C++
12453 hpux9
* | hpux10
* | hpux11
*)
12454 case $cc_basename in
12456 lt_prog_compiler_wl_CXX
='-Wl,'
12457 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12458 if test "$host_cpu" != ia64
; then
12459 lt_prog_compiler_pic_CXX
='+Z'
12463 lt_prog_compiler_wl_CXX
='-Wl,'
12464 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12470 lt_prog_compiler_pic_CXX
='+Z'
12479 # This is c89, which is MS Visual C++ (no shared libs)
12480 # Anyone wants to do a port?
12482 irix5
* | irix6
* | nonstopux
*)
12483 case $cc_basename in
12485 lt_prog_compiler_wl_CXX
='-Wl,'
12486 lt_prog_compiler_static_CXX
='-non_shared'
12487 # CC pic flag -KPIC is the default.
12493 linux
* | k
*bsd
*-gnu)
12494 case $cc_basename in
12497 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12498 lt_prog_compiler_pic_CXX
='-fPIC'
12502 lt_prog_compiler_wl_CXX
='-Wl,'
12503 lt_prog_compiler_pic_CXX
='-KPIC'
12504 lt_prog_compiler_static_CXX
='-static'
12507 # Portland Group C++ compiler.
12508 lt_prog_compiler_wl_CXX
='-Wl,'
12509 lt_prog_compiler_pic_CXX
='-fpic'
12510 lt_prog_compiler_static_CXX
='-Bstatic'
12514 # Make sure the PIC flag is empty. It appears that all Alpha
12515 # Linux and Compaq Tru64 Unix objects are PIC.
12516 lt_prog_compiler_pic_CXX
=
12517 lt_prog_compiler_static_CXX
='-non_shared'
12528 case $cc_basename in
12530 lt_prog_compiler_pic_CXX
='-W c,exportall'
12536 netbsd
* | netbsdelf
*-gnu)
12538 osf3
* | osf4
* | osf5
*)
12539 case $cc_basename in
12541 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12544 # Rational C++ 2.4.1
12545 lt_prog_compiler_pic_CXX
='-pic'
12548 # Digital/Compaq C++
12549 lt_prog_compiler_wl_CXX
='-Wl,'
12550 # Make sure the PIC flag is empty. It appears that all Alpha
12551 # Linux and Compaq Tru64 Unix objects are PIC.
12552 lt_prog_compiler_pic_CXX
=
12553 lt_prog_compiler_static_CXX
='-non_shared'
12562 case $cc_basename in
12564 # Sun C++ 4.2, 5.x and Centerline C++
12565 lt_prog_compiler_pic_CXX
='-KPIC'
12566 lt_prog_compiler_static_CXX
='-Bstatic'
12567 lt_prog_compiler_wl_CXX
='-Qoption ld '
12570 # Green Hills C++ Compiler
12571 lt_prog_compiler_pic_CXX
='-PIC'
12578 case $cc_basename in
12581 lt_prog_compiler_pic_CXX
='-pic'
12582 lt_prog_compiler_static_CXX
='-Bstatic'
12586 lt_prog_compiler_pic_CXX
='-pic'
12593 case $cc_basename in
12595 # NonStop-UX NCC 3.20
12596 lt_prog_compiler_pic_CXX
='-KPIC'
12602 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12603 case $cc_basename in
12605 lt_prog_compiler_wl_CXX
='-Wl,'
12606 lt_prog_compiler_pic_CXX
='-KPIC'
12607 lt_prog_compiler_static_CXX
='-Bstatic'
12614 lt_prog_compiler_can_build_shared_CXX
=no
12619 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12620 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12623 # Check to make sure the PIC flag actually works.
12625 if test -n "$lt_prog_compiler_pic_CXX"; then
12627 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12628 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12629 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12630 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 lt_prog_compiler_pic_works_CXX
=no
12633 ac_outfile
=conftest.
$ac_objext
12634 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12635 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12636 # Insert the option either (1) after the last *FLAGS variable, or
12637 # (2) before a word containing "conftest.", or (3) at the end.
12638 # Note that $ac_compile itself does not contain backslashes and begins
12639 # with a dollar sign (not a hyphen), so the echo should work correctly.
12640 # The option is referenced via a variable to avoid confusing sed.
12641 lt_compile
=`echo "$ac_compile" | $SED \
12642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12644 -e 's:$: $lt_compiler_flag:'`
12645 (eval echo "\"\$as_me:12645: $lt_compile\"" >&5)
12646 (eval "$lt_compile" 2>conftest.err
)
12648 cat conftest.err
>&5
12649 echo "$as_me:12649: \$? = $ac_status" >&5
12650 if (exit $ac_status) && test -s "$ac_outfile"; then
12651 # The compiler can only warn and ignore the option if not recognized
12652 # So say no if there are warnings other than the usual output.
12653 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12654 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12655 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
12656 lt_prog_compiler_pic_works_CXX
=yes
12662 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12663 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12665 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12666 case $lt_prog_compiler_pic_CXX in
12668 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12671 lt_prog_compiler_pic_CXX
=
12672 lt_prog_compiler_can_build_shared_CXX
=no
12677 # For platforms which do not support PIC, -DPIC is meaningless:
12679 lt_prog_compiler_pic_CXX
=
12682 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12687 # Check to make sure the static flag actually works.
12689 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12690 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12691 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12692 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 lt_prog_compiler_static_works_CXX
=no
12696 save_LDFLAGS
="$LDFLAGS"
12697 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12698 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12699 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12700 # The linker can only warn and ignore the option if not recognized
12701 # So say no if there are warnings
12702 if test -s conftest.err
; then
12703 # Append any errors to the config.log.
12704 cat conftest.err
1>&5
12705 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12706 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12707 if diff conftest.exp conftest.er2
>/dev
/null
; then
12708 lt_prog_compiler_static_works_CXX
=yes
12711 lt_prog_compiler_static_works_CXX
=yes
12715 LDFLAGS
="$save_LDFLAGS"
12718 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12719 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12721 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12724 lt_prog_compiler_static_CXX
=
12728 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12729 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12730 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12733 lt_cv_prog_compiler_c_o_CXX
=no
12734 $rm -r conftest
2>/dev
/null
12738 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12740 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12741 # Insert the option either (1) after the last *FLAGS variable, or
12742 # (2) before a word containing "conftest.", or (3) at the end.
12743 # Note that $ac_compile itself does not contain backslashes and begins
12744 # with a dollar sign (not a hyphen), so the echo should work correctly.
12745 lt_compile
=`echo "$ac_compile" | $SED \
12746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12748 -e 's:$: $lt_compiler_flag:'`
12749 (eval echo "\"\$as_me:12749: $lt_compile\"" >&5)
12750 (eval "$lt_compile" 2>out
/conftest.err
)
12752 cat out
/conftest.err
>&5
12753 echo "$as_me:12753: \$? = $ac_status" >&5
12754 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12756 # The compiler can only warn and ignore the option if not recognized
12757 # So say no if there are warnings
12758 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12759 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12760 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12761 lt_cv_prog_compiler_c_o_CXX
=yes
12766 # SGI C++ compiler will create directory out/ii_files/ for
12767 # template instantiation
12768 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12769 $rm out
/* && rmdir out
12775 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12776 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12779 hard_links
="nottested"
12780 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12781 # do not overwrite the value of need_locks provided by the user
12782 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12783 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12786 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12788 ln conftest.a conftest.b
2>&5 || hard_links
=no
12789 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12790 { echo "$as_me:$LINENO: result: $hard_links" >&5
12791 echo "${ECHO_T}$hard_links" >&6; }
12792 if test "$hard_links" = no
; then
12793 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12794 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12801 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12802 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12804 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12807 # If we're using GNU nm, then we don't want the "-C" option.
12808 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12809 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
12810 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'
12812 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'
12816 export_symbols_cmds_CXX
="$ltdll_cmds"
12819 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'
12821 linux
* | k
*bsd
*-gnu)
12822 link_all_deplibs_CXX
=no
12825 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12829 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12830 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12831 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12834 # Do we need to explicitly link libc?
12836 case "x$archive_cmds_need_lc_CXX" in
12838 # Assume -lc should be added
12839 archive_cmds_need_lc_CXX
=yes
12841 if test "$enable_shared" = yes && test "$GCC" = yes; then
12842 case $archive_cmds_CXX in
12844 # FIXME: we may have to deal with multi-command sequences.
12847 # Test whether the compiler implicitly links with -lc since on some
12848 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12849 # to ld, don't add -lc before -lgcc.
12850 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12851 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12853 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12856 (eval $ac_compile) 2>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } 2>conftest.err
; then
12862 libobjs
=conftest.
$ac_objext
12864 wl
=$lt_prog_compiler_wl_CXX
12865 pic_flag
=$lt_prog_compiler_pic_CXX
12871 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12872 allow_undefined_flag_CXX
=
12873 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12874 (eval $archive_cmds_CXX 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); }
12879 archive_cmds_need_lc_CXX
=no
12881 archive_cmds_need_lc_CXX
=yes
12883 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12885 cat conftest.err
1>&5
12888 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12889 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12896 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12897 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12898 library_names_spec
=
12899 libname_spec
='lib$name'
12903 postuninstall_cmds
=
12907 shlibpath_overrides_runpath
=unknown
12909 dynamic_linker
="$host_os ld.so"
12910 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12911 if test "$GCC" = yes; then
12912 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12913 if echo "$sys_lib_search_path_spec" | grep ';' >/dev
/null
; then
12914 # if the path contains ";" then we assume it to be the separator
12915 # otherwise default to the standard path separator (i.e. ":") - it is
12916 # assumed that no part of a normal pathname contains ";" but that should
12917 # okay in the real world where ";" in dirpaths is itself problematic.
12918 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12920 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12923 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12925 need_lib_prefix
=unknown
12926 hardcode_into_libs
=no
12928 # when you set need_version to no, make sure it does not cause -set_version
12929 # flags to be left without arguments
12930 need_version
=unknown
12935 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12936 shlibpath_var
=LIBPATH
12938 # AIX 3 has no versioning support, so we append a major version to the name.
12939 soname_spec
='${libname}${release}${shared_ext}$major'
12946 hardcode_into_libs
=yes
12947 if test "$host_cpu" = ia64
; then
12948 # AIX 5 supports IA64
12949 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12950 shlibpath_var
=LD_LIBRARY_PATH
12952 # With GCC up to 2.95.x, collect2 would create an import file
12953 # for dependence libraries. The import file would start with
12954 # the line `#! .'. This would cause the generated library to
12955 # depend on `.', always an invalid library. This was fixed in
12956 # development snapshots of GCC prior to 3.0.
12958 aix4
| aix4.
[01] | aix4.
[01].
*)
12959 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12961 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
12964 can_build_shared
=no
12968 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12969 # soname into executable. Probably we can add versioning support to
12970 # collect2, so additional links can be useful in future.
12971 if test "$aix_use_runtimelinking" = yes; then
12972 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12973 # instead of lib<name>.a to let people know that these are not
12974 # typical AIX shared libraries.
12975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12977 # We preserve .a as extension for shared libraries through AIX4.2
12978 # and later when we are not doing run time linking.
12979 library_names_spec
='${libname}${release}.a $libname.a'
12980 soname_spec
='${libname}${release}${shared_ext}$major'
12982 shlibpath_var
=LIBPATH
12987 library_names_spec
='$libname.ixlibrary $libname.a'
12988 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12989 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'
12993 library_names_spec
='${libname}${shared_ext}'
12994 dynamic_linker
="$host_os ld.so"
12995 shlibpath_var
=LIBRARY_PATH
13001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13002 soname_spec
='${libname}${release}${shared_ext}$major'
13003 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13004 shlibpath_var
=LD_LIBRARY_PATH
13005 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13006 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13007 # the default ld.so.conf also contains /usr/contrib/lib and
13008 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13009 # libtool to hard-code these into programs
13012 cygwin
* | mingw
* | pw32
*)
13013 version_type
=windows
13018 case $GCC,$host_os in
13019 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
13020 library_names_spec
='$libname.dll.a'
13021 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13022 postinstall_cmds
='base_file=`basename \${file}`~
13023 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13024 dldir=$destdir/`dirname \$dlpath`~
13025 test -d \$dldir || mkdir -p \$dldir~
13026 $install_prog $dir/$dlname \$dldir/$dlname~
13027 chmod a+x \$dldir/$dlname'
13028 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13029 dlpath=$dir/\$dldll~
13031 shlibpath_overrides_runpath
=yes
13035 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13036 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13037 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13040 # MinGW DLLs use traditional 'lib' prefix
13041 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13042 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13043 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
13044 # It is most probably a Windows format PATH printed by
13045 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13046 # path with ; separators, and with drive letters. We can handle the
13047 # drive letters (cygwin fileutils understands them), so leave them,
13048 # especially as we might pass files found there to a mingw objdump,
13049 # which wouldn't understand a cygwinified path. Ahh.
13050 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13052 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13056 # pw32 DLLs use 'pw' prefix rather than 'lib'
13057 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13063 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13066 dynamic_linker
='Win32 ld.exe'
13067 # FIXME: first we should search . and the directory the executable is in
13071 darwin
* | rhapsody
*)
13072 dynamic_linker
="$host_os dyld"
13073 version_type
=darwin
13076 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13077 soname_spec
='${libname}${release}${major}$shared_ext'
13078 shlibpath_overrides_runpath
=yes
13079 shlibpath_var
=DYLD_LIBRARY_PATH
13080 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13081 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13082 if test "$GCC" = yes; then
13083 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13085 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13087 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13095 soname_spec
='${libname}${release}${shared_ext}$major'
13096 shlibpath_var
=LD_LIBRARY_PATH
13103 freebsd
* | dragonfly
*)
13104 # DragonFly does not have aout. When/if they implement a new
13105 # versioning mechanism, adjust this.
13106 if test -x /usr
/bin
/objformat
; then
13107 objformat
=`/usr/bin/objformat`
13110 freebsd
[123]*) objformat
=aout
;;
13111 *) objformat
=elf
;;
13114 version_type
=freebsd
-$objformat
13115 case $version_type in
13117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13122 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13126 shlibpath_var
=LD_LIBRARY_PATH
13129 shlibpath_overrides_runpath
=yes
13131 freebsd3.
[01]* | freebsdelf3.
[01]*)
13132 shlibpath_overrides_runpath
=yes
13133 hardcode_into_libs
=yes
13135 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13136 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13137 shlibpath_overrides_runpath
=no
13138 hardcode_into_libs
=yes
13140 freebsd
*) # from 4.6 on
13141 shlibpath_overrides_runpath
=yes
13142 hardcode_into_libs
=yes
13151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13152 soname_spec
='${libname}${release}${shared_ext}$major'
13153 shlibpath_var
=LD_LIBRARY_PATH
13154 hardcode_into_libs
=yes
13157 hpux9
* | hpux10
* | hpux11
*)
13158 # Give a soname corresponding to the major version so that dld.sl refuses to
13159 # link against other versions.
13166 hardcode_into_libs
=yes
13167 dynamic_linker
="$host_os dld.so"
13168 shlibpath_var
=LD_LIBRARY_PATH
13169 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13171 soname_spec
='${libname}${release}${shared_ext}$major'
13172 if test "X$HPUX_IA64_MODE" = X32
; then
13173 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13175 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13177 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13181 hardcode_into_libs
=yes
13182 dynamic_linker
="$host_os dld.sl"
13183 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13184 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13186 soname_spec
='${libname}${release}${shared_ext}$major'
13187 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13188 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13192 dynamic_linker
="$host_os dld.sl"
13193 shlibpath_var
=SHLIB_PATH
13194 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13196 soname_spec
='${libname}${release}${shared_ext}$major'
13199 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13200 postinstall_cmds
='chmod 555 $lib'
13207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13208 soname_spec
='${libname}${release}${shared_ext}$major'
13209 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13210 shlibpath_var
=LD_LIBRARY_PATH
13211 shlibpath_overrides_runpath
=no
13212 hardcode_into_libs
=yes
13215 irix5
* | irix6
* | nonstopux
*)
13217 nonstopux
*) version_type
=nonstopux
;;
13219 if test "$lt_cv_prog_gnu_ld" = yes; then
13227 soname_spec
='${libname}${release}${shared_ext}$major'
13228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13230 irix5
* | nonstopux
*)
13231 libsuff
= shlibsuff
=
13234 case $LD in # libtool.m4 will add one of these switches to LD
13235 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13236 libsuff
= shlibsuff
= libmagic
=32-bit;;
13237 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13238 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13239 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13240 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13241 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13245 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13246 shlibpath_overrides_runpath
=no
13247 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13248 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13249 hardcode_into_libs
=yes
13252 # No shared lib support for Linux oldld, aout, or coff.
13253 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13257 # This must be Linux ELF.
13258 linux
* | k
*bsd
*-gnu)
13262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13263 soname_spec
='${libname}${release}${shared_ext}$major'
13264 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13265 shlibpath_var
=LD_LIBRARY_PATH
13266 shlibpath_overrides_runpath
=no
13267 # This implies no fast_install, which is unacceptable.
13268 # Some rework will be needed to allow for fast_install
13269 # before this can be enabled.
13270 hardcode_into_libs
=yes
13272 # Append ld.so.conf contents to the search path
13273 if test -f /etc
/ld.so.conf
; then
13274 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13275 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13278 # We used to test for /lib/ld.so.1 and disable shared libraries on
13279 # powerpc, because MkLinux only supported shared libraries with the
13280 # GNU dynamic linker. Since this was broken with cross compilers,
13281 # most powerpc-linux boxes support dynamic linking these days and
13282 # people can always --disable-shared, the test was removed, and we
13283 # assume the GNU/Linux dynamic linker is in use.
13284 dynamic_linker
='GNU/Linux ld.so'
13291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13292 soname_spec
='${libname}${release}${shared_ext}$major'
13293 shlibpath_var
=LD_LIBRARY_PATH
13294 shlibpath_overrides_runpath
=no
13295 hardcode_into_libs
=yes
13296 dynamic_linker
='NetBSD ld.elf_so'
13303 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
13304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13305 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13306 dynamic_linker
='NetBSD (a.out) ld.so'
13308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13309 soname_spec
='${libname}${release}${shared_ext}$major'
13310 dynamic_linker
='NetBSD ld.elf_so'
13312 shlibpath_var
=LD_LIBRARY_PATH
13313 shlibpath_overrides_runpath
=yes
13314 hardcode_into_libs
=yes
13319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13320 shlibpath_var
=LD_LIBRARY_PATH
13321 shlibpath_overrides_runpath
=yes
13328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13329 soname_spec
='${libname}${release}${shared_ext}$major'
13330 shlibpath_var
=LD_LIBRARY_PATH
13331 shlibpath_overrides_runpath
=yes
13336 sys_lib_dlsearch_path_spec
="/usr/lib"
13338 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13340 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13341 *) need_version
=no
;;
13343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13344 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13345 shlibpath_var
=LD_LIBRARY_PATH
13346 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13348 openbsd2.
[89] | openbsd2.
[89].
*)
13349 shlibpath_overrides_runpath
=no
13352 shlibpath_overrides_runpath
=yes
13356 shlibpath_overrides_runpath
=yes
13361 libname_spec
='$name'
13364 library_names_spec
='$libname${shared_ext} $libname.a'
13365 dynamic_linker
='OS/2 ld.exe'
13366 shlibpath_var
=LIBPATH
13369 osf3
* | osf4
* | osf5
*)
13373 soname_spec
='${libname}${release}${shared_ext}$major'
13374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13375 shlibpath_var
=LD_LIBRARY_PATH
13376 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13377 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13385 soname_spec
='${libname}${release}${shared_ext}$major'
13386 shlibpath_var
=LD_LIBRARY_PATH
13387 shlibpath_overrides_runpath
=yes
13388 hardcode_into_libs
=yes
13389 # ldd complains unless libraries are executable
13390 postinstall_cmds
='chmod +x $lib'
13395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13396 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13397 shlibpath_var
=LD_LIBRARY_PATH
13398 shlibpath_overrides_runpath
=yes
13399 if test "$with_gnu_ld" = yes; then
13407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13408 soname_spec
='${libname}${release}${shared_ext}$major'
13409 shlibpath_var
=LD_LIBRARY_PATH
13410 case $host_vendor in
13412 shlibpath_overrides_runpath
=no
13414 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13415 runpath_var
=LD_RUN_PATH
13423 shlibpath_overrides_runpath
=no
13424 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13430 if test -d /usr
/nec
;then
13432 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13433 soname_spec
='$libname${shared_ext}.$major'
13434 shlibpath_var
=LD_LIBRARY_PATH
13438 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13439 version_type
=freebsd
-elf
13442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13443 soname_spec
='${libname}${release}${shared_ext}$major'
13444 shlibpath_var
=LD_LIBRARY_PATH
13445 hardcode_into_libs
=yes
13446 if test "$with_gnu_ld" = yes; then
13447 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13448 shlibpath_overrides_runpath
=no
13450 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13451 shlibpath_overrides_runpath
=yes
13454 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13458 sys_lib_dlsearch_path_spec
='/usr/lib'
13463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13464 soname_spec
='${libname}${release}${shared_ext}$major'
13465 shlibpath_var
=LD_LIBRARY_PATH
13472 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13473 echo "${ECHO_T}$dynamic_linker" >&6; }
13474 test "$dynamic_linker" = no
&& can_build_shared
=no
13476 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13477 if test "$GCC" = yes; then
13478 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13481 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13482 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13483 hardcode_action_CXX
=
13484 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13485 test -n "$runpath_var_CXX" || \
13486 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13488 # We can hardcode non-existant directories.
13489 if test "$hardcode_direct_CXX" != no
&&
13490 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13491 # have to relink, otherwise we might link with an installed library
13492 # when we should be linking with a yet-to-be-installed one
13493 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13494 test "$hardcode_minus_L_CXX" != no
; then
13495 # Linking always hardcodes the temporary library directory.
13496 hardcode_action_CXX
=relink
13498 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13499 hardcode_action_CXX
=immediate
13502 # We cannot hardcode anything, or else we can only hardcode existing
13504 hardcode_action_CXX
=unsupported
13506 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13507 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13509 if test "$hardcode_action_CXX" = relink
; then
13510 # Fast installation is not supported
13511 enable_fast_install
=no
13512 elif test "$shlibpath_overrides_runpath" = yes ||
13513 test "$enable_shared" = no
; then
13514 # Fast installation is not necessary
13515 enable_fast_install
=needless
13519 # The else clause should only fire when bootstrapping the
13520 # libtool distribution, otherwise you forgot to ship ltmain.sh
13521 # with your package, and you will get complaints that there are
13522 # no rules to generate ltmain.sh.
13523 if test -f "$ltmain"; then
13524 # See if we are running on zsh, and set the options which allow our commands through
13525 # without removal of \ escapes.
13526 if test -n "${ZSH_VERSION+set}" ; then
13527 setopt NO_GLOB_SUBST
13529 # Now quote all the things that may contain metacharacters while being
13530 # careful not to overquote the AC_SUBSTed values. We take copies of the
13531 # variables and quote the copies for generation of the libtool script.
13532 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13534 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13535 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13536 deplibs_check_method reload_flag reload_cmds need_locks \
13537 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13538 lt_cv_sys_global_symbol_to_c_name_address \
13539 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13540 old_postinstall_cmds old_postuninstall_cmds \
13544 lt_prog_compiler_wl_CXX \
13545 lt_prog_compiler_pic_CXX \
13546 lt_prog_compiler_static_CXX \
13547 lt_prog_compiler_no_builtin_flag_CXX \
13548 export_dynamic_flag_spec_CXX \
13549 thread_safe_flag_spec_CXX \
13550 whole_archive_flag_spec_CXX \
13551 enable_shared_with_static_runtimes_CXX \
13552 old_archive_cmds_CXX \
13553 old_archive_from_new_cmds_CXX \
13554 predep_objects_CXX \
13555 postdep_objects_CXX \
13558 compiler_lib_search_path_CXX \
13560 archive_expsym_cmds_CXX \
13561 postinstall_cmds_CXX \
13562 postuninstall_cmds_CXX \
13563 old_archive_from_expsyms_cmds_CXX \
13564 allow_undefined_flag_CXX \
13565 no_undefined_flag_CXX \
13566 export_symbols_cmds_CXX \
13567 hardcode_libdir_flag_spec_CXX \
13568 hardcode_libdir_flag_spec_ld_CXX \
13569 hardcode_libdir_separator_CXX \
13570 hardcode_automatic_CXX \
13572 module_expsym_cmds_CXX \
13573 lt_cv_prog_compiler_c_o_CXX \
13574 exclude_expsyms_CXX \
13575 include_expsyms_CXX
; do
13578 old_archive_cmds_CXX
| \
13579 old_archive_from_new_cmds_CXX
| \
13580 archive_cmds_CXX
| \
13581 archive_expsym_cmds_CXX
| \
13582 module_cmds_CXX
| \
13583 module_expsym_cmds_CXX
| \
13584 old_archive_from_expsyms_cmds_CXX
| \
13585 export_symbols_cmds_CXX
| \
13586 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
13587 postinstall_cmds
| postuninstall_cmds
| \
13588 old_postinstall_cmds
| old_postuninstall_cmds
| \
13589 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
13590 # Double-quote double-evaled strings.
13591 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13594 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13600 *'\$0 --fallback-echo"')
13601 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13607 cat <<__EOF__ >> "$cfgfile"
13608 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13610 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13612 # Shell to use when invoking shell scripts.
13615 # Whether or not to build shared libraries.
13616 build_libtool_libs=$enable_shared
13618 # Whether or not to build static libraries.
13619 build_old_libs=$enable_static
13621 # Whether or not to add -lc for building shared libraries.
13622 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13624 # Whether or not to disallow shared libs when runtime libs are static
13625 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13627 # Whether or not to optimize for fast installation.
13628 fast_install=$enable_fast_install
13631 host_alias=$host_alias
13635 # The build system.
13636 build_alias=$build_alias
13640 # An echo program that does not interpret backslashes.
13645 AR_FLAGS=$lt_AR_FLAGS
13650 # LTCC compiler flags.
13651 LTCFLAGS=$lt_LTCFLAGS
13653 # A language-specific compiler.
13654 CC=$lt_compiler_CXX
13656 # Is the compiler the GNU C compiler?
13662 # The linker used to build libraries.
13665 # Whether we need hard or soft links.
13668 # A BSD-compatible nm program.
13671 # A symbol stripping program
13674 # Used to examine libraries when file_magic_cmd begins "file"
13675 MAGIC_CMD=$MAGIC_CMD
13677 # Used on cygwin: DLL creation program.
13680 # Used on cygwin: object dumper.
13683 # Used on cygwin: assembler.
13686 # The name of the directory that contains temporary libtool files.
13689 # How to create reloadable object files.
13690 reload_flag=$lt_reload_flag
13691 reload_cmds=$lt_reload_cmds
13693 # How to pass a linker flag through the compiler.
13694 wl=$lt_lt_prog_compiler_wl_CXX
13696 # Object file suffix (normally "o").
13697 objext="$ac_objext"
13699 # Old archive suffix (normally "a").
13702 # Shared library suffix (normally ".so").
13703 shrext_cmds='$shrext_cmds'
13705 # Executable file suffix (normally "").
13708 # Additional compiler flags for building library objects.
13709 pic_flag=$lt_lt_prog_compiler_pic_CXX
13712 # What is the maximum length of a command?
13713 max_cmd_len=$lt_cv_sys_max_cmd_len
13715 # Does compiler simultaneously support -c and -o options?
13716 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13718 # Must we lock files when doing compilation?
13719 need_locks=$lt_need_locks
13721 # Do we need the lib prefix for modules?
13722 need_lib_prefix=$need_lib_prefix
13724 # Do we need a version for libraries?
13725 need_version=$need_version
13727 # Whether dlopen is supported.
13728 dlopen_support=$enable_dlopen
13730 # Whether dlopen of programs is supported.
13731 dlopen_self=$enable_dlopen_self
13733 # Whether dlopen of statically linked programs is supported.
13734 dlopen_self_static=$enable_dlopen_self_static
13736 # Compiler flag to prevent dynamic linking.
13737 link_static_flag=$lt_lt_prog_compiler_static_CXX
13739 # Compiler flag to turn off builtin functions.
13740 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13742 # Compiler flag to allow reflexive dlopens.
13743 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13745 # Compiler flag to generate shared objects directly from archives.
13746 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13748 # Compiler flag to generate thread-safe objects.
13749 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13751 # Library versioning type.
13752 version_type=$version_type
13754 # Format of library name prefix.
13755 libname_spec=$lt_libname_spec
13757 # List of archive names. First name is the real one, the rest are links.
13758 # The last name is the one that the linker finds with -lNAME.
13759 library_names_spec=$lt_library_names_spec
13761 # The coded name of the library, if different from the real name.
13762 soname_spec=$lt_soname_spec
13764 # Commands used to build and install an old-style archive.
13766 old_archive_cmds=$lt_old_archive_cmds_CXX
13767 old_postinstall_cmds=$lt_old_postinstall_cmds
13768 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13770 # Create an old-style archive from a shared archive.
13771 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13773 # Create a temporary old-style archive to link instead of a shared archive.
13774 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13776 # Commands used to build and install a shared archive.
13777 archive_cmds=$lt_archive_cmds_CXX
13778 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13779 postinstall_cmds=$lt_postinstall_cmds
13780 postuninstall_cmds=$lt_postuninstall_cmds
13782 # Commands used to build a loadable module (assumed same as above if empty)
13783 module_cmds=$lt_module_cmds_CXX
13784 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13786 # Commands to strip libraries.
13787 old_striplib=$lt_old_striplib
13788 striplib=$lt_striplib
13790 # Dependencies to place before the objects being linked to create a
13792 predep_objects=$lt_predep_objects_CXX
13794 # Dependencies to place after the objects being linked to create a
13796 postdep_objects=$lt_postdep_objects_CXX
13798 # Dependencies to place before the objects being linked to create a
13800 predeps=$lt_predeps_CXX
13802 # Dependencies to place after the objects being linked to create a
13804 postdeps=$lt_postdeps_CXX
13806 # The library search path used internally by the compiler when linking
13807 # a shared library.
13808 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13810 # Method to check whether dependent libraries are shared objects.
13811 deplibs_check_method=$lt_deplibs_check_method
13813 # Command to use when deplibs_check_method == file_magic.
13814 file_magic_cmd=$lt_file_magic_cmd
13816 # Flag that allows shared libraries with undefined symbols to be built.
13817 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13819 # Flag that forces no undefined symbols.
13820 no_undefined_flag=$lt_no_undefined_flag_CXX
13822 # Commands used to finish a libtool library installation in a directory.
13823 finish_cmds=$lt_finish_cmds
13825 # Same as above, but a single script fragment to be evaled but not shown.
13826 finish_eval=$lt_finish_eval
13828 # Take the output of nm and produce a listing of raw symbols and C names.
13829 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13831 # Transform the output of nm in a proper C declaration
13832 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13834 # Transform the output of nm in a C name address pair
13835 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13837 # This is the shared library runtime path variable.
13838 runpath_var=$runpath_var
13840 # This is the shared library path variable.
13841 shlibpath_var=$shlibpath_var
13843 # Is shlibpath searched before the hard-coded library search path?
13844 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13846 # How to hardcode a shared library path into an executable.
13847 hardcode_action=$hardcode_action_CXX
13849 # Whether we should hardcode library paths into libraries.
13850 hardcode_into_libs=$hardcode_into_libs
13852 # Flag to hardcode \$libdir into a binary during linking.
13853 # This must work even if \$libdir does not exist.
13854 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13856 # If ld is used when linking, flag to hardcode \$libdir into
13857 # a binary during linking. This must work even if \$libdir does
13859 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13861 # Whether we need a single -rpath flag with a separated argument.
13862 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13864 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13865 # resulting binary.
13866 hardcode_direct=$hardcode_direct_CXX
13868 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13869 # resulting binary.
13870 hardcode_minus_L=$hardcode_minus_L_CXX
13872 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13873 # the resulting binary.
13874 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13876 # Set to yes if building a shared library automatically hardcodes DIR into the library
13877 # and all subsequent libraries and executables linked against it.
13878 hardcode_automatic=$hardcode_automatic_CXX
13880 # Variables whose values should be saved in libtool wrapper scripts and
13881 # restored at relink time.
13882 variables_saved_for_relink="$variables_saved_for_relink"
13884 # Whether libtool must link a program against all its dependency libraries.
13885 link_all_deplibs=$link_all_deplibs_CXX
13887 # Compile-time system search path for libraries
13888 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13890 # Run-time system search path for libraries
13891 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13893 # Fix the shell variable \$srcfile for the compiler.
13894 fix_srcfile_path="$fix_srcfile_path_CXX"
13896 # Set to yes if exported symbols are required.
13897 always_export_symbols=$always_export_symbols_CXX
13899 # The commands to list exported symbols.
13900 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13902 # The commands to extract the exported symbol list from a shared archive.
13903 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13905 # Symbols that should not be listed in the preloaded symbols.
13906 exclude_expsyms=$lt_exclude_expsyms_CXX
13908 # Symbols that must always be exported.
13909 include_expsyms=$lt_include_expsyms_CXX
13911 # ### END LIBTOOL TAG CONFIG: $tagname
13917 # If there is no Makefile yet, we rely on a make rule to execute
13918 # `config.status --recheck' to rerun these tests and create the
13919 # libtool script then.
13920 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13921 if test -f "$ltmain_in"; then
13922 test -f Makefile
&& make "$ltmain"
13928 ac_cpp
='$CPP $CPPFLAGS'
13929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13937 with_gnu_ldcxx
=$with_gnu_ld
13938 with_gnu_ld
=$lt_save_with_gnu_ld
13939 lt_cv_path_LDCXX
=$lt_cv_path_LD
13940 lt_cv_path_LD
=$lt_save_path_LD
13941 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13942 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13950 if test -n "$F77" && test "X$F77" != "Xno"; then
13953 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13954 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13955 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13958 archive_cmds_need_lc_F77
=no
13959 allow_undefined_flag_F77
=
13960 always_export_symbols_F77
=no
13961 archive_expsym_cmds_F77
=
13962 export_dynamic_flag_spec_F77
=
13963 hardcode_direct_F77
=no
13964 hardcode_libdir_flag_spec_F77
=
13965 hardcode_libdir_flag_spec_ld_F77
=
13966 hardcode_libdir_separator_F77
=
13967 hardcode_minus_L_F77
=no
13968 hardcode_automatic_F77
=no
13970 module_expsym_cmds_F77
=
13971 link_all_deplibs_F77
=unknown
13972 old_archive_cmds_F77
=$old_archive_cmds
13973 no_undefined_flag_F77
=
13974 whole_archive_flag_spec_F77
=
13975 enable_shared_with_static_runtimes_F77
=no
13977 # Source file extension for f77 test sources.
13980 # Object file extension for compiled f77 test sources.
13984 # Code to be used in simple compile tests
13985 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13987 # Code to be used in simple link tests
13988 lt_simple_link_test_code
=" program t\n end\n"
13990 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13992 # If no C compiler was specified, use CC.
13995 # If no C compiler flags were specified, use CFLAGS.
13996 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13998 # Allow CC to be a program name with arguments.
14002 # save warnings/boilerplate of simple test code
14003 ac_outfile
=conftest.
$ac_objext
14004 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
14005 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14006 _lt_compiler_boilerplate
=`cat conftest.err`
14009 ac_outfile
=conftest.
$ac_objext
14010 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
14011 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14012 _lt_linker_boilerplate
=`cat conftest.err`
14016 # Allow CC to be a program name with arguments.
14021 for cc_temp
in $compiler""; do
14023 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
14024 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
14029 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14032 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14033 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14034 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14035 echo "${ECHO_T}$can_build_shared" >&6; }
14037 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14038 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14039 test "$can_build_shared" = "no" && enable_shared
=no
14041 # On AIX, shared libraries and static libraries use the same namespace, and
14042 # are all built from PIC.
14045 test "$enable_shared" = yes && enable_static
=no
14046 if test -n "$RANLIB"; then
14047 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14048 postinstall_cmds
='$RANLIB $lib'
14052 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14053 test "$enable_shared" = yes && enable_static
=no
14057 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14058 echo "${ECHO_T}$enable_shared" >&6; }
14060 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14061 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14062 # Make sure either enable_shared or enable_static is yes.
14063 test "$enable_shared" = yes || enable_static
=yes
14064 { echo "$as_me:$LINENO: result: $enable_static" >&5
14065 echo "${ECHO_T}$enable_static" >&6; }
14070 lt_prog_compiler_wl_F77
=
14071 lt_prog_compiler_pic_F77
=
14072 lt_prog_compiler_static_F77
=
14074 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14075 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14077 if test "$GCC" = yes; then
14078 lt_prog_compiler_wl_F77
='-Wl,'
14079 lt_prog_compiler_static_F77
='-static'
14083 # All AIX code is PIC.
14084 if test "$host_cpu" = ia64
; then
14085 # AIX 5 now supports IA64 processor
14086 lt_prog_compiler_static_F77
='-Bstatic'
14091 # FIXME: we need at least 68020 code to build shared libraries, but
14092 # adding the `-m68020' flag to GCC prevents building anything better,
14094 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14097 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14098 # PIC is the default for these OSes.
14101 mingw
* | pw32
* | os2
*)
14102 # This hack is so that the source file can tell whether it is being
14103 # built for inclusion in a dll (and should export symbols for example).
14104 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14107 darwin
* | rhapsody
*)
14108 # PIC is the default on this platform
14109 # Common symbols not allowed in MH_DYLIB files
14110 lt_prog_compiler_pic_F77
='-fno-common'
14114 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14115 # Instead, we relocate shared libraries at runtime.
14119 # Just because we use GCC doesn't mean we suddenly get shared libraries
14120 # on systems that don't support them.
14121 lt_prog_compiler_can_build_shared_F77
=no
14126 if test -d /usr
/nec
; then
14127 lt_prog_compiler_pic_F77
=-Kconform_pic
14132 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14133 # not for PA HP-UX.
14139 lt_prog_compiler_pic_F77
='-fPIC'
14145 lt_prog_compiler_pic_F77
='-fPIC'
14149 # PORTME Check for flag to pass linker flags through the system compiler.
14152 lt_prog_compiler_wl_F77
='-Wl,'
14153 if test "$host_cpu" = ia64
; then
14154 # AIX 5 now supports IA64 processor
14155 lt_prog_compiler_static_F77
='-Bstatic'
14157 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14161 # PIC is the default on this platform
14162 # Common symbols not allowed in MH_DYLIB files
14163 case $cc_basename in
14165 lt_prog_compiler_pic_F77
='-qnocommon'
14166 lt_prog_compiler_wl_F77
='-Wl,'
14171 mingw
* | pw32
* | os2
*)
14172 # This hack is so that the source file can tell whether it is being
14173 # built for inclusion in a dll (and should export symbols for example).
14174 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14177 hpux9
* | hpux10
* | hpux11
*)
14178 lt_prog_compiler_wl_F77
='-Wl,'
14179 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14180 # not for PA HP-UX.
14186 lt_prog_compiler_pic_F77
='+Z'
14189 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14190 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14193 irix5
* | irix6
* | nonstopux
*)
14194 lt_prog_compiler_wl_F77
='-Wl,'
14195 # PIC (with -KPIC) is the default.
14196 lt_prog_compiler_static_F77
='-non_shared'
14200 lt_prog_compiler_pic_F77
='-KPIC'
14201 lt_prog_compiler_static_F77
='-Bstatic'
14204 linux
* | k
*bsd
*-gnu)
14205 case $cc_basename in
14207 lt_prog_compiler_wl_F77
='-Wl,'
14208 lt_prog_compiler_pic_F77
='-KPIC'
14209 lt_prog_compiler_static_F77
='-static'
14211 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14212 # Portland Group compilers (*not* the Pentium gcc compiler,
14213 # which looks to be a dead project)
14214 lt_prog_compiler_wl_F77
='-Wl,'
14215 lt_prog_compiler_pic_F77
='-fpic'
14216 lt_prog_compiler_static_F77
='-Bstatic'
14219 lt_prog_compiler_wl_F77
='-Wl,'
14220 # All Alpha code is PIC.
14221 lt_prog_compiler_static_F77
='-non_shared'
14226 osf3
* | osf4
* | osf5
*)
14227 lt_prog_compiler_wl_F77
='-Wl,'
14228 # All OSF/1 code is PIC.
14229 lt_prog_compiler_static_F77
='-non_shared'
14233 lt_prog_compiler_pic_F77
='-KPIC'
14234 lt_prog_compiler_static_F77
='-Bstatic'
14235 case $cc_basename in
14236 f77
* | f90
* | f95
*)
14237 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14239 lt_prog_compiler_wl_F77
='-Wl,';;
14244 lt_prog_compiler_wl_F77
='-Qoption ld '
14245 lt_prog_compiler_pic_F77
='-PIC'
14246 lt_prog_compiler_static_F77
='-Bstatic'
14249 sysv4
| sysv4.2uw2
* | sysv4.3
*)
14250 lt_prog_compiler_wl_F77
='-Wl,'
14251 lt_prog_compiler_pic_F77
='-KPIC'
14252 lt_prog_compiler_static_F77
='-Bstatic'
14256 if test -d /usr
/nec
;then
14257 lt_prog_compiler_pic_F77
='-Kconform_pic'
14258 lt_prog_compiler_static_F77
='-Bstatic'
14262 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14263 lt_prog_compiler_wl_F77
='-Wl,'
14264 lt_prog_compiler_pic_F77
='-KPIC'
14265 lt_prog_compiler_static_F77
='-Bstatic'
14269 lt_prog_compiler_wl_F77
='-Wl,'
14270 lt_prog_compiler_can_build_shared_F77
=no
14274 lt_prog_compiler_pic_F77
='-pic'
14275 lt_prog_compiler_static_F77
='-Bstatic'
14279 lt_prog_compiler_can_build_shared_F77
=no
14284 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14285 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14288 # Check to make sure the PIC flag actually works.
14290 if test -n "$lt_prog_compiler_pic_F77"; then
14292 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14293 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14294 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14295 echo $ECHO_N "(cached) $ECHO_C" >&6
14297 lt_prog_compiler_pic_works_F77
=no
14298 ac_outfile
=conftest.
$ac_objext
14299 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14300 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14301 # Insert the option either (1) after the last *FLAGS variable, or
14302 # (2) before a word containing "conftest.", or (3) at the end.
14303 # Note that $ac_compile itself does not contain backslashes and begins
14304 # with a dollar sign (not a hyphen), so the echo should work correctly.
14305 # The option is referenced via a variable to avoid confusing sed.
14306 lt_compile
=`echo "$ac_compile" | $SED \
14307 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14308 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14309 -e 's:$: $lt_compiler_flag:'`
14310 (eval echo "\"\$as_me:14310: $lt_compile\"" >&5)
14311 (eval "$lt_compile" 2>conftest.err
)
14313 cat conftest.err
>&5
14314 echo "$as_me:14314: \$? = $ac_status" >&5
14315 if (exit $ac_status) && test -s "$ac_outfile"; then
14316 # The compiler can only warn and ignore the option if not recognized
14317 # So say no if there are warnings other than the usual output.
14318 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14319 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14320 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14321 lt_prog_compiler_pic_works_F77
=yes
14327 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14328 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14330 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14331 case $lt_prog_compiler_pic_F77 in
14333 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14336 lt_prog_compiler_pic_F77
=
14337 lt_prog_compiler_can_build_shared_F77
=no
14342 # For platforms which do not support PIC, -DPIC is meaningless:
14344 lt_prog_compiler_pic_F77
=
14347 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14352 # Check to make sure the static flag actually works.
14354 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14355 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14356 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14357 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14360 lt_prog_compiler_static_works_F77
=no
14361 save_LDFLAGS
="$LDFLAGS"
14362 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14363 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14364 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14365 # The linker can only warn and ignore the option if not recognized
14366 # So say no if there are warnings
14367 if test -s conftest.err
; then
14368 # Append any errors to the config.log.
14369 cat conftest.err
1>&5
14370 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14371 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14372 if diff conftest.exp conftest.er2
>/dev
/null
; then
14373 lt_prog_compiler_static_works_F77
=yes
14376 lt_prog_compiler_static_works_F77
=yes
14380 LDFLAGS
="$save_LDFLAGS"
14383 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14384 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14386 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14389 lt_prog_compiler_static_F77
=
14393 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14394 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14395 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14398 lt_cv_prog_compiler_c_o_F77
=no
14399 $rm -r conftest
2>/dev
/null
14403 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14405 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14406 # Insert the option either (1) after the last *FLAGS variable, or
14407 # (2) before a word containing "conftest.", or (3) at the end.
14408 # Note that $ac_compile itself does not contain backslashes and begins
14409 # with a dollar sign (not a hyphen), so the echo should work correctly.
14410 lt_compile
=`echo "$ac_compile" | $SED \
14411 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14412 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14413 -e 's:$: $lt_compiler_flag:'`
14414 (eval echo "\"\$as_me:14414: $lt_compile\"" >&5)
14415 (eval "$lt_compile" 2>out
/conftest.err
)
14417 cat out
/conftest.err
>&5
14418 echo "$as_me:14418: \$? = $ac_status" >&5
14419 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14421 # The compiler can only warn and ignore the option if not recognized
14422 # So say no if there are warnings
14423 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
14424 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14425 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14426 lt_cv_prog_compiler_c_o_F77
=yes
14431 # SGI C++ compiler will create directory out/ii_files/ for
14432 # template instantiation
14433 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14434 $rm out
/* && rmdir out
14440 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14441 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14444 hard_links
="nottested"
14445 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14446 # do not overwrite the value of need_locks provided by the user
14447 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14448 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14451 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14453 ln conftest.a conftest.b
2>&5 || hard_links
=no
14454 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14455 { echo "$as_me:$LINENO: result: $hard_links" >&5
14456 echo "${ECHO_T}$hard_links" >&6; }
14457 if test "$hard_links" = no
; then
14458 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14459 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14466 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14467 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14470 allow_undefined_flag_F77
=
14471 enable_shared_with_static_runtimes_F77
=no
14473 archive_expsym_cmds_F77
=
14474 old_archive_From_new_cmds_F77
=
14475 old_archive_from_expsyms_cmds_F77
=
14476 export_dynamic_flag_spec_F77
=
14477 whole_archive_flag_spec_F77
=
14478 thread_safe_flag_spec_F77
=
14479 hardcode_libdir_flag_spec_F77
=
14480 hardcode_libdir_flag_spec_ld_F77
=
14481 hardcode_libdir_separator_F77
=
14482 hardcode_direct_F77
=no
14483 hardcode_minus_L_F77
=no
14484 hardcode_shlibpath_var_F77
=unsupported
14485 link_all_deplibs_F77
=unknown
14486 hardcode_automatic_F77
=no
14488 module_expsym_cmds_F77
=
14489 always_export_symbols_F77
=no
14490 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14491 # include_expsyms should be a list of space-separated symbols to be *always*
14492 # included in the symbol list
14493 include_expsyms_F77
=
14494 # exclude_expsyms can be an extended regexp of symbols to exclude
14495 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14496 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14497 # as well as any symbol that contains `d'.
14498 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14499 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14500 # platforms (ab)use it in PIC code, but their linkers get confused if
14501 # the symbol is explicitly referenced. Since portable code cannot
14502 # rely on this symbol name, it's probably fine to never include it in
14503 # preloaded symbol tables.
14504 extract_expsyms_cmds
=
14505 # Just being paranoid about ensuring that cc_basename is set.
14506 for cc_temp
in $compiler""; do
14508 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
14509 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
14514 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14517 cygwin
* | mingw
* | pw32
*)
14518 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14519 # When not using gcc, we currently assume that we are using
14520 # Microsoft Visual C++.
14521 if test "$GCC" != yes; then
14526 # we just hope/assume this is gcc and not c89 (= MSVC++)
14535 if test "$with_gnu_ld" = yes; then
14536 # If archive_cmds runs LD, not CC, wlarc should be empty
14539 # Set some defaults for GNU ld with shared library support. These
14540 # are reset later if shared libraries are not supported. Putting them
14541 # here allows them to be overridden if necessary.
14542 runpath_var
=LD_RUN_PATH
14543 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14544 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14545 # ancient GNU ld didn't support --whole-archive et. al.
14546 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
14547 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14549 whole_archive_flag_spec_F77
=
14551 supports_anon_versioning
=no
14552 case `$LD -v 2>/dev/null` in
14553 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
14554 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14555 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14556 *\
2.11.
*) ;; # other 2.11 versions
14557 *) supports_anon_versioning
=yes ;;
14560 # See if GNU ld supports shared libraries.
14562 aix3
* | aix4
* | aix5
*)
14563 # On AIX/PPC, the GNU linker is very broken
14564 if test "$host_cpu" != ia64
; then
14568 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14569 *** to be unable to reliably create shared libraries on AIX.
14570 *** Therefore, libtool is disabling shared libraries support. If you
14571 *** really care for shared libraries, you may want to modify your PATH
14572 *** so that a non-GNU linker is found, and then restart.
14579 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)'
14580 hardcode_libdir_flag_spec_F77
='-L$libdir'
14581 hardcode_minus_L_F77
=yes
14583 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14584 # that the semantics of dynamic libraries on AmigaOS, at least up
14585 # to version 4, is to share data among multiple programs linked
14586 # with the same dynamic library. Since this doesn't match the
14587 # behavior of shared libraries on other platforms, we can't use
14593 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14594 allow_undefined_flag_F77
=unsupported
14595 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14596 # support --undefined. This deserves some investigation. FIXME
14597 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14603 cygwin
* | mingw
* | pw32
*)
14604 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14605 # as there is no search path for DLLs.
14606 hardcode_libdir_flag_spec_F77
='-L$libdir'
14607 allow_undefined_flag_F77
=unsupported
14608 always_export_symbols_F77
=no
14609 enable_shared_with_static_runtimes_F77
=yes
14610 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14612 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
14613 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14614 # If the export-symbols file already is a .def file (1st line
14615 # is EXPORTS), use it as is; otherwise, prepend...
14616 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14617 cp $export_symbols $output_objdir/$soname.def;
14619 echo EXPORTS > $output_objdir/$soname.def;
14620 cat $export_symbols >> $output_objdir/$soname.def;
14622 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14629 hardcode_direct_F77
=no
14630 hardcode_shlibpath_var_F77
=no
14631 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14632 export_dynamic_flag_spec_F77
='${wl}-E'
14633 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14634 # Instead, shared libraries are loaded at an image base (0x10000000 by
14635 # default) and relocated if they conflict, which is a slow very memory
14636 # consuming and fragmenting process. To avoid this, we pick a random,
14637 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14638 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14639 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'
14640 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'
14643 linux
* | k
*bsd
*-gnu)
14644 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14646 case $cc_basename,$host_cpu in
14647 pgcc
*) # Portland Group C compiler
14648 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'
14649 tmp_addflag
=' $pic_flag'
14651 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14652 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'
14653 tmp_addflag
=' $pic_flag -Mnomain' ;;
14654 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14655 tmp_addflag
=' -i_dynamic' ;;
14656 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14657 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14658 ifc
* | ifort
*) # Intel Fortran compiler
14659 tmp_addflag
=' -nofor_main' ;;
14661 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14663 if test $supports_anon_versioning = yes; then
14664 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14665 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14666 $echo "local: *; };" >> $output_objdir/$libname.ver~
14667 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14669 link_all_deplibs_F77
=no
14675 netbsd
* | netbsdelf
*-gnu)
14676 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
14677 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14680 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14681 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14686 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
14690 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14691 *** create shared libraries on Solaris systems. Therefore, libtool
14692 *** is disabling shared libraries support. We urge you to upgrade GNU
14693 *** binutils to release 2.9.1 or newer. Another option is to modify
14694 *** your PATH or compiler configuration so that the native linker is
14695 *** used, and then restart.
14698 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14699 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14700 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14706 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14707 case `$LD -v 2>&1` in
14708 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
14712 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14713 *** reliably create shared libraries on SCO systems. Therefore, libtool
14714 *** is disabling shared libraries support. We urge you to upgrade GNU
14715 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14716 *** your PATH or compiler configuration so that the native linker is
14717 *** used, and then restart.
14722 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14723 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14724 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14725 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14734 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14736 hardcode_direct_F77
=yes
14737 hardcode_shlibpath_var_F77
=no
14741 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14742 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14743 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14750 if test "$ld_shlibs_F77" = no
; then
14752 hardcode_libdir_flag_spec_F77
=
14753 export_dynamic_flag_spec_F77
=
14754 whole_archive_flag_spec_F77
=
14757 # PORTME fill in a description of your system's linker (not GNU ld)
14760 allow_undefined_flag_F77
=unsupported
14761 always_export_symbols_F77
=yes
14762 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'
14763 # Note: this linker hardcodes the directories in LIBPATH if there
14764 # are no directories specified by -L.
14765 hardcode_minus_L_F77
=yes
14766 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14767 # Neither direct hardcoding nor static linking is supported with a
14769 hardcode_direct_F77
=unsupported
14774 if test "$host_cpu" = ia64
; then
14775 # On IA64, the linker does run time linking by default, so we don't
14776 # have to do anything special.
14777 aix_use_runtimelinking
=no
14778 exp_sym_flag
='-Bexport'
14781 # If we're using GNU nm, then we don't want the "-C" option.
14782 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14783 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
14784 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'
14786 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'
14788 aix_use_runtimelinking
=no
14790 # Test if we are trying to use run time linking or normal
14791 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14792 # need to do runtime linking.
14793 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14794 for ld_flag
in $LDFLAGS; do
14795 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14796 aix_use_runtimelinking
=yes
14803 exp_sym_flag
='-bexport'
14804 no_entry_flag
='-bnoentry'
14807 # When large executables or shared objects are built, AIX ld can
14808 # have problems creating the table of contents. If linking a library
14809 # or program results in "error TOC overflow" add -mminimal-toc to
14810 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14811 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14813 archive_cmds_F77
=''
14814 hardcode_direct_F77
=yes
14815 hardcode_libdir_separator_F77
=':'
14816 link_all_deplibs_F77
=yes
14818 if test "$GCC" = yes; then
14819 case $host_os in aix4.
[012]|aix4.
[012].
*)
14820 # We only want to do this on AIX 4.2 and lower, the check
14821 # below for broken collect2 doesn't work under 4.3+
14822 collect2name
=`${CC} -print-prog-name=collect2`
14823 if test -f "$collect2name" && \
14824 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
14826 # We have reworked collect2
14827 hardcode_direct_F77
=yes
14829 # We have old collect2
14830 hardcode_direct_F77
=unsupported
14831 # It fails to find uninstalled libraries when the uninstalled
14832 # path is not listed in the libpath. Setting hardcode_minus_L
14833 # to unsupported forces relinking
14834 hardcode_minus_L_F77
=yes
14835 hardcode_libdir_flag_spec_F77
='-L$libdir'
14836 hardcode_libdir_separator_F77
=
14840 shared_flag
='-shared'
14841 if test "$aix_use_runtimelinking" = yes; then
14842 shared_flag
="$shared_flag "'${wl}-G'
14846 if test "$host_cpu" = ia64
; then
14847 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14848 # chokes on -Wl,-G. The following line is correct:
14851 if test "$aix_use_runtimelinking" = yes; then
14852 shared_flag
='${wl}-G'
14854 shared_flag
='${wl}-bM:SRE'
14859 # It seems that -bexpall does not export symbols beginning with
14860 # underscore (_), so it is better to generate a list of symbols to export.
14861 always_export_symbols_F77
=yes
14862 if test "$aix_use_runtimelinking" = yes; then
14863 # Warning - without using the other runtime loading flags (-brtl),
14864 # -berok will link without error, but may produce a broken library.
14865 allow_undefined_flag_F77
='-berok'
14866 # Determine the default libpath from the value encoded in an empty executable.
14867 cat >conftest.
$ac_ext <<_ACEOF
14872 rm -f conftest.
$ac_objext conftest
$ac_exeext
14873 if { (ac_try
="$ac_link"
14874 case "(($ac_try" in
14875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14876 *) ac_try_echo=$ac_try;;
14878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14879 (eval "$ac_link") 2>conftest.er1
14881 grep -v '^ *+' conftest.er1 >conftest.err
14883 cat conftest.err >&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } &&
14886 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14887 { (case "(($ac_try" in
14888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14889 *) ac_try_echo
=$ac_try;;
14891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14892 (eval "$ac_try") 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; } &&
14896 { ac_try
='test -s conftest$ac_exeext'
14897 { (case "(($ac_try" in
14898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14899 *) ac_try_echo=$ac_try;;
14901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14902 (eval "$ac_try") 2>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; }; then
14907 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14909 # Check for a 64-bit object if we didn't find anything.
14910 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14913 echo "$as_me: failed program was:" >&5
14914 sed 's/^/| /' conftest.$ac_ext >&5
14919 rm -f core conftest.err conftest.$ac_objext \
14920 conftest$ac_exeext conftest.$ac_ext
14921 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14923 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14924 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"
14926 if test "$host_cpu" = ia64; then
14927 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14928 allow_undefined_flag_F77="-z nodefs"
14929 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"
14931 # Determine the default libpath from the value encoded in an empty executable.
14932 cat >conftest.$ac_ext <<_ACEOF
14937 rm -f conftest.$ac_objext conftest$ac_exeext
14938 if { (ac_try="$ac_link"
14939 case "(($ac_try" in
14940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14941 *) ac_try_echo
=$ac_try;;
14943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14944 (eval "$ac_link") 2>conftest.er1
14946 grep -v '^ *+' conftest.er1
>conftest.err
14948 cat conftest.err
>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); } &&
14951 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14952 { (case "(($ac_try" in
14953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_try") 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try='test -s conftest$ac_exeext'
14962 { (case "(($ac_try" in
14963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14964 *) ac_try_echo
=$ac_try;;
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_try") 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14972 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14974 # Check for a 64-bit object if we didn't find anything.
14975 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.
$ac_ext >&5
14984 rm -f core conftest.err conftest.
$ac_objext \
14985 conftest
$ac_exeext conftest.
$ac_ext
14986 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14988 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14989 # Warning - without using the other run time loading flags,
14990 # -berok will link without error, but may produce a broken library.
14991 no_undefined_flag_F77
=' ${wl}-bernotok'
14992 allow_undefined_flag_F77
=' ${wl}-berok'
14993 # Exported symbols can be pulled into shared objects from archives
14994 whole_archive_flag_spec_F77
='$convenience'
14995 archive_cmds_need_lc_F77
=yes
14996 # This is similar to how AIX traditionally builds its shared libraries.
14997 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'
15003 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)'
15004 hardcode_libdir_flag_spec_F77
='-L$libdir'
15005 hardcode_minus_L_F77
=yes
15006 # see comment about different semantics on the GNU ld section
15011 export_dynamic_flag_spec_F77
=-rdynamic
15014 cygwin
* | mingw
* | pw32
*)
15015 # When not using gcc, we currently assume that we are using
15016 # Microsoft Visual C++.
15017 # hardcode_libdir_flag_spec is actually meaningless, as there is
15018 # no search path for DLLs.
15019 hardcode_libdir_flag_spec_F77
=' '
15020 allow_undefined_flag_F77
=unsupported
15021 # Tell ltmain to make .lib files, not .a files.
15023 # Tell ltmain to make .dll files, not .so files.
15025 # FIXME: Setting linknames here is a bad hack.
15026 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15027 # The linker will automatically build a .lib file if we build a DLL.
15028 old_archive_From_new_cmds_F77
='true'
15029 # FIXME: Should let the user specify the lib program.
15030 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15031 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15032 enable_shared_with_static_runtimes_F77
=yes
15035 darwin
* | rhapsody
*)
15037 rhapsody
* | darwin1.
[012])
15038 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15041 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15042 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15044 case ${MACOSX_DEPLOYMENT_TARGET} in
15046 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15049 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15055 archive_cmds_need_lc_F77
=no
15056 hardcode_direct_F77
=no
15057 hardcode_automatic_F77
=yes
15058 hardcode_shlibpath_var_F77
=unsupported
15059 whole_archive_flag_spec_F77
=''
15060 link_all_deplibs_F77
=yes
15061 if test "$GCC" = yes ; then
15062 output_verbose_link_cmd
='echo'
15063 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15064 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15065 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15066 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15067 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}'
15069 case $cc_basename in
15071 output_verbose_link_cmd
='echo'
15072 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15073 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15074 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15075 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15076 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}'
15086 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15087 hardcode_libdir_flag_spec_F77
='-L$libdir'
15088 hardcode_shlibpath_var_F77
=no
15095 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15096 # support. Future versions do this automatically, but an explicit c++rt0.o
15097 # does not break anything, and helps significantly (at the cost of a little
15100 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15101 hardcode_libdir_flag_spec_F77
='-R$libdir'
15102 hardcode_direct_F77
=yes
15103 hardcode_shlibpath_var_F77
=no
15106 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15108 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15109 hardcode_direct_F77
=yes
15110 hardcode_minus_L_F77
=yes
15111 hardcode_shlibpath_var_F77
=no
15114 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15115 freebsd
* | dragonfly
*)
15116 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15117 hardcode_libdir_flag_spec_F77
='-R$libdir'
15118 hardcode_direct_F77
=yes
15119 hardcode_shlibpath_var_F77
=no
15123 if test "$GCC" = yes; then
15124 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'
15126 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'
15128 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15129 hardcode_libdir_separator_F77
=:
15130 hardcode_direct_F77
=yes
15132 # hardcode_minus_L: Not really in the search PATH,
15133 # but as the default location of the library.
15134 hardcode_minus_L_F77
=yes
15135 export_dynamic_flag_spec_F77
='${wl}-E'
15139 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15140 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15142 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15144 if test "$with_gnu_ld" = no
; then
15145 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15146 hardcode_libdir_separator_F77
=:
15148 hardcode_direct_F77
=yes
15149 export_dynamic_flag_spec_F77
='${wl}-E'
15151 # hardcode_minus_L: Not really in the search PATH,
15152 # but as the default location of the library.
15153 hardcode_minus_L_F77
=yes
15158 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15161 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15164 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15167 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15173 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15176 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15179 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15183 if test "$with_gnu_ld" = no
; then
15184 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15185 hardcode_libdir_separator_F77
=:
15189 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15190 hardcode_direct_F77
=no
15191 hardcode_shlibpath_var_F77
=no
15194 hardcode_direct_F77
=yes
15195 export_dynamic_flag_spec_F77
='${wl}-E'
15197 # hardcode_minus_L: Not really in the search PATH,
15198 # but as the default location of the library.
15199 hardcode_minus_L_F77
=yes
15205 irix5
* | irix6
* | nonstopux
*)
15206 if test "$GCC" = yes; then
15207 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'
15209 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'
15210 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15212 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15213 hardcode_libdir_separator_F77
=:
15214 link_all_deplibs_F77
=yes
15217 netbsd
* | netbsdelf
*-gnu)
15218 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
15219 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15221 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15223 hardcode_libdir_flag_spec_F77
='-R$libdir'
15224 hardcode_direct_F77
=yes
15225 hardcode_shlibpath_var_F77
=no
15229 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15230 hardcode_direct_F77
=yes
15231 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15232 hardcode_libdir_separator_F77
=:
15233 hardcode_shlibpath_var_F77
=no
15237 hardcode_direct_F77
=yes
15238 hardcode_shlibpath_var_F77
=no
15239 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15240 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15241 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15242 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15243 export_dynamic_flag_spec_F77
='${wl}-E'
15246 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15247 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15248 hardcode_libdir_flag_spec_F77
='-R$libdir'
15251 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15252 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15259 hardcode_libdir_flag_spec_F77
='-L$libdir'
15260 hardcode_minus_L_F77
=yes
15261 allow_undefined_flag_F77
=unsupported
15262 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'
15263 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15267 if test "$GCC" = yes; then
15268 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15269 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'
15271 allow_undefined_flag_F77
=' -expect_unresolved \*'
15272 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'
15274 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15275 hardcode_libdir_separator_F77
=:
15278 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15279 if test "$GCC" = yes; then
15280 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15281 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'
15282 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15284 allow_undefined_flag_F77
=' -expect_unresolved \*'
15285 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'
15286 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~
15287 $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'
15289 # Both c and cxx compiler support -rpath directly
15290 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15292 hardcode_libdir_separator_F77
=:
15296 no_undefined_flag_F77
=' -z text'
15297 if test "$GCC" = yes; then
15299 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15300 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15301 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15304 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15305 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15306 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15308 hardcode_libdir_flag_spec_F77
='-R$libdir'
15309 hardcode_shlibpath_var_F77
=no
15311 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15313 # The compiler driver will combine linker options so we
15314 # cannot just pass the convience library names through
15315 # without $wl, iff we do not link with $LD.
15316 # Luckily, gcc supports the same syntax we need for Sun Studio.
15317 # Supported since Solaris 2.6 (maybe 2.5.1?)
15320 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15322 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15325 link_all_deplibs_F77
=yes
15329 if test "x$host_vendor" = xsequent
; then
15330 # Use $CC to link under sequent, because it throws in some extra .o
15331 # files that make .init and .fini sections work.
15332 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15334 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15336 hardcode_libdir_flag_spec_F77
='-L$libdir'
15337 hardcode_direct_F77
=yes
15338 hardcode_minus_L_F77
=yes
15339 hardcode_shlibpath_var_F77
=no
15343 case $host_vendor in
15345 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15346 hardcode_direct_F77
=yes # is this really true???
15349 ## LD is ld it makes a PLAMLIB
15350 ## CC just makes a GrossModule.
15351 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15352 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15353 hardcode_direct_F77
=no
15356 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15357 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15360 runpath_var
='LD_RUN_PATH'
15361 hardcode_shlibpath_var_F77
=no
15365 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15366 hardcode_shlibpath_var_F77
=no
15367 export_dynamic_flag_spec_F77
='-Bexport'
15371 if test -d /usr
/nec
; then
15372 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15373 hardcode_shlibpath_var_F77
=no
15374 runpath_var
=LD_RUN_PATH
15375 hardcode_runpath_var
=yes
15380 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15381 no_undefined_flag_F77
='${wl}-z,text'
15382 archive_cmds_need_lc_F77
=no
15383 hardcode_shlibpath_var_F77
=no
15384 runpath_var
='LD_RUN_PATH'
15386 if test "$GCC" = yes; then
15387 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15388 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15390 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15391 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15395 sysv5
* | sco3.2v5
* | sco5v6
*)
15396 # Note: We can NOT use -z defs as we might desire, because we do not
15397 # link with -lc, and that would cause any symbols used from libc to
15398 # always be unresolved, which means just about no library would
15399 # ever link correctly. If we're not using GNU ld we use -z text
15400 # though, which does catch some bad symbols but isn't as heavy-handed
15402 no_undefined_flag_F77
='${wl}-z,text'
15403 allow_undefined_flag_F77
='${wl}-z,nodefs'
15404 archive_cmds_need_lc_F77
=no
15405 hardcode_shlibpath_var_F77
=no
15406 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15407 hardcode_libdir_separator_F77
=':'
15408 link_all_deplibs_F77
=yes
15409 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15410 runpath_var
='LD_RUN_PATH'
15412 if test "$GCC" = yes; then
15413 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15414 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15416 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15417 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15422 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15423 hardcode_libdir_flag_spec_F77
='-L$libdir'
15424 hardcode_shlibpath_var_F77
=no
15433 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15434 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15435 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15438 # Do we need to explicitly link libc?
15440 case "x$archive_cmds_need_lc_F77" in
15442 # Assume -lc should be added
15443 archive_cmds_need_lc_F77
=yes
15445 if test "$enable_shared" = yes && test "$GCC" = yes; then
15446 case $archive_cmds_F77 in
15448 # FIXME: we may have to deal with multi-command sequences.
15451 # Test whether the compiler implicitly links with -lc since on some
15452 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15453 # to ld, don't add -lc before -lgcc.
15454 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15455 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15457 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15460 (eval $ac_compile) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } 2>conftest.err
; then
15466 libobjs
=conftest.
$ac_objext
15468 wl
=$lt_prog_compiler_wl_F77
15469 pic_flag
=$lt_prog_compiler_pic_F77
15475 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15476 allow_undefined_flag_F77
=
15477 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15478 (eval $archive_cmds_F77 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); }
15483 archive_cmds_need_lc_F77
=no
15485 archive_cmds_need_lc_F77
=yes
15487 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15489 cat conftest.err
1>&5
15492 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15493 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15500 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15501 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15502 library_names_spec
=
15503 libname_spec
='lib$name'
15507 postuninstall_cmds
=
15511 shlibpath_overrides_runpath
=unknown
15513 dynamic_linker
="$host_os ld.so"
15514 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15515 if test "$GCC" = yes; then
15516 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15517 if echo "$sys_lib_search_path_spec" | grep ';' >/dev
/null
; then
15518 # if the path contains ";" then we assume it to be the separator
15519 # otherwise default to the standard path separator (i.e. ":") - it is
15520 # assumed that no part of a normal pathname contains ";" but that should
15521 # okay in the real world where ";" in dirpaths is itself problematic.
15522 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15524 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15527 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15529 need_lib_prefix
=unknown
15530 hardcode_into_libs
=no
15532 # when you set need_version to no, make sure it does not cause -set_version
15533 # flags to be left without arguments
15534 need_version
=unknown
15539 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15540 shlibpath_var
=LIBPATH
15542 # AIX 3 has no versioning support, so we append a major version to the name.
15543 soname_spec
='${libname}${release}${shared_ext}$major'
15550 hardcode_into_libs
=yes
15551 if test "$host_cpu" = ia64
; then
15552 # AIX 5 supports IA64
15553 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15554 shlibpath_var
=LD_LIBRARY_PATH
15556 # With GCC up to 2.95.x, collect2 would create an import file
15557 # for dependence libraries. The import file would start with
15558 # the line `#! .'. This would cause the generated library to
15559 # depend on `.', always an invalid library. This was fixed in
15560 # development snapshots of GCC prior to 3.0.
15562 aix4
| aix4.
[01] | aix4.
[01].
*)
15563 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15565 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
15568 can_build_shared
=no
15572 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15573 # soname into executable. Probably we can add versioning support to
15574 # collect2, so additional links can be useful in future.
15575 if test "$aix_use_runtimelinking" = yes; then
15576 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15577 # instead of lib<name>.a to let people know that these are not
15578 # typical AIX shared libraries.
15579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15581 # We preserve .a as extension for shared libraries through AIX4.2
15582 # and later when we are not doing run time linking.
15583 library_names_spec
='${libname}${release}.a $libname.a'
15584 soname_spec
='${libname}${release}${shared_ext}$major'
15586 shlibpath_var
=LIBPATH
15591 library_names_spec
='$libname.ixlibrary $libname.a'
15592 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15593 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'
15597 library_names_spec
='${libname}${shared_ext}'
15598 dynamic_linker
="$host_os ld.so"
15599 shlibpath_var
=LIBRARY_PATH
15605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15606 soname_spec
='${libname}${release}${shared_ext}$major'
15607 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15608 shlibpath_var
=LD_LIBRARY_PATH
15609 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15610 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15611 # the default ld.so.conf also contains /usr/contrib/lib and
15612 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15613 # libtool to hard-code these into programs
15616 cygwin
* | mingw
* | pw32
*)
15617 version_type
=windows
15622 case $GCC,$host_os in
15623 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
15624 library_names_spec
='$libname.dll.a'
15625 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15626 postinstall_cmds
='base_file=`basename \${file}`~
15627 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15628 dldir=$destdir/`dirname \$dlpath`~
15629 test -d \$dldir || mkdir -p \$dldir~
15630 $install_prog $dir/$dlname \$dldir/$dlname~
15631 chmod a+x \$dldir/$dlname'
15632 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15633 dlpath=$dir/\$dldll~
15635 shlibpath_overrides_runpath
=yes
15639 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15640 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15641 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15644 # MinGW DLLs use traditional 'lib' prefix
15645 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15646 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15647 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
15648 # It is most probably a Windows format PATH printed by
15649 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15650 # path with ; separators, and with drive letters. We can handle the
15651 # drive letters (cygwin fileutils understands them), so leave them,
15652 # especially as we might pass files found there to a mingw objdump,
15653 # which wouldn't understand a cygwinified path. Ahh.
15654 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15656 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15660 # pw32 DLLs use 'pw' prefix rather than 'lib'
15661 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15667 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15670 dynamic_linker
='Win32 ld.exe'
15671 # FIXME: first we should search . and the directory the executable is in
15675 darwin
* | rhapsody
*)
15676 dynamic_linker
="$host_os dyld"
15677 version_type
=darwin
15680 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15681 soname_spec
='${libname}${release}${major}$shared_ext'
15682 shlibpath_overrides_runpath
=yes
15683 shlibpath_var
=DYLD_LIBRARY_PATH
15684 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15685 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15686 if test "$GCC" = yes; then
15687 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15689 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15691 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15699 soname_spec
='${libname}${release}${shared_ext}$major'
15700 shlibpath_var
=LD_LIBRARY_PATH
15707 freebsd
* | dragonfly
*)
15708 # DragonFly does not have aout. When/if they implement a new
15709 # versioning mechanism, adjust this.
15710 if test -x /usr
/bin
/objformat
; then
15711 objformat
=`/usr/bin/objformat`
15714 freebsd
[123]*) objformat
=aout
;;
15715 *) objformat
=elf
;;
15718 version_type
=freebsd
-$objformat
15719 case $version_type in
15721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15726 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15730 shlibpath_var
=LD_LIBRARY_PATH
15733 shlibpath_overrides_runpath
=yes
15735 freebsd3.
[01]* | freebsdelf3.
[01]*)
15736 shlibpath_overrides_runpath
=yes
15737 hardcode_into_libs
=yes
15739 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15740 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15741 shlibpath_overrides_runpath
=no
15742 hardcode_into_libs
=yes
15744 freebsd
*) # from 4.6 on
15745 shlibpath_overrides_runpath
=yes
15746 hardcode_into_libs
=yes
15755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15756 soname_spec
='${libname}${release}${shared_ext}$major'
15757 shlibpath_var
=LD_LIBRARY_PATH
15758 hardcode_into_libs
=yes
15761 hpux9
* | hpux10
* | hpux11
*)
15762 # Give a soname corresponding to the major version so that dld.sl refuses to
15763 # link against other versions.
15770 hardcode_into_libs
=yes
15771 dynamic_linker
="$host_os dld.so"
15772 shlibpath_var
=LD_LIBRARY_PATH
15773 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15775 soname_spec
='${libname}${release}${shared_ext}$major'
15776 if test "X$HPUX_IA64_MODE" = X32
; then
15777 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15779 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15781 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15785 hardcode_into_libs
=yes
15786 dynamic_linker
="$host_os dld.sl"
15787 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15788 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15790 soname_spec
='${libname}${release}${shared_ext}$major'
15791 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15792 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15796 dynamic_linker
="$host_os dld.sl"
15797 shlibpath_var
=SHLIB_PATH
15798 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15800 soname_spec
='${libname}${release}${shared_ext}$major'
15803 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15804 postinstall_cmds
='chmod 555 $lib'
15811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15812 soname_spec
='${libname}${release}${shared_ext}$major'
15813 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15814 shlibpath_var
=LD_LIBRARY_PATH
15815 shlibpath_overrides_runpath
=no
15816 hardcode_into_libs
=yes
15819 irix5
* | irix6
* | nonstopux
*)
15821 nonstopux
*) version_type
=nonstopux
;;
15823 if test "$lt_cv_prog_gnu_ld" = yes; then
15831 soname_spec
='${libname}${release}${shared_ext}$major'
15832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15834 irix5
* | nonstopux
*)
15835 libsuff
= shlibsuff
=
15838 case $LD in # libtool.m4 will add one of these switches to LD
15839 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15840 libsuff
= shlibsuff
= libmagic
=32-bit;;
15841 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15842 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15843 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15844 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15845 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15849 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15850 shlibpath_overrides_runpath
=no
15851 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15852 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15853 hardcode_into_libs
=yes
15856 # No shared lib support for Linux oldld, aout, or coff.
15857 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15861 # This must be Linux ELF.
15862 linux
* | k
*bsd
*-gnu)
15866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15867 soname_spec
='${libname}${release}${shared_ext}$major'
15868 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15869 shlibpath_var
=LD_LIBRARY_PATH
15870 shlibpath_overrides_runpath
=no
15871 # This implies no fast_install, which is unacceptable.
15872 # Some rework will be needed to allow for fast_install
15873 # before this can be enabled.
15874 hardcode_into_libs
=yes
15876 # Append ld.so.conf contents to the search path
15877 if test -f /etc
/ld.so.conf
; then
15878 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15879 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15882 # We used to test for /lib/ld.so.1 and disable shared libraries on
15883 # powerpc, because MkLinux only supported shared libraries with the
15884 # GNU dynamic linker. Since this was broken with cross compilers,
15885 # most powerpc-linux boxes support dynamic linking these days and
15886 # people can always --disable-shared, the test was removed, and we
15887 # assume the GNU/Linux dynamic linker is in use.
15888 dynamic_linker
='GNU/Linux ld.so'
15895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15896 soname_spec
='${libname}${release}${shared_ext}$major'
15897 shlibpath_var
=LD_LIBRARY_PATH
15898 shlibpath_overrides_runpath
=no
15899 hardcode_into_libs
=yes
15900 dynamic_linker
='NetBSD ld.elf_so'
15907 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
15908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15909 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15910 dynamic_linker
='NetBSD (a.out) ld.so'
15912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15913 soname_spec
='${libname}${release}${shared_ext}$major'
15914 dynamic_linker
='NetBSD ld.elf_so'
15916 shlibpath_var
=LD_LIBRARY_PATH
15917 shlibpath_overrides_runpath
=yes
15918 hardcode_into_libs
=yes
15923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15924 shlibpath_var
=LD_LIBRARY_PATH
15925 shlibpath_overrides_runpath
=yes
15932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15933 soname_spec
='${libname}${release}${shared_ext}$major'
15934 shlibpath_var
=LD_LIBRARY_PATH
15935 shlibpath_overrides_runpath
=yes
15940 sys_lib_dlsearch_path_spec
="/usr/lib"
15942 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15944 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15945 *) need_version
=no
;;
15947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15948 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15949 shlibpath_var
=LD_LIBRARY_PATH
15950 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15952 openbsd2.
[89] | openbsd2.
[89].
*)
15953 shlibpath_overrides_runpath
=no
15956 shlibpath_overrides_runpath
=yes
15960 shlibpath_overrides_runpath
=yes
15965 libname_spec
='$name'
15968 library_names_spec
='$libname${shared_ext} $libname.a'
15969 dynamic_linker
='OS/2 ld.exe'
15970 shlibpath_var
=LIBPATH
15973 osf3
* | osf4
* | osf5
*)
15977 soname_spec
='${libname}${release}${shared_ext}$major'
15978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15979 shlibpath_var
=LD_LIBRARY_PATH
15980 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15981 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15989 soname_spec
='${libname}${release}${shared_ext}$major'
15990 shlibpath_var
=LD_LIBRARY_PATH
15991 shlibpath_overrides_runpath
=yes
15992 hardcode_into_libs
=yes
15993 # ldd complains unless libraries are executable
15994 postinstall_cmds
='chmod +x $lib'
15999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16000 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16001 shlibpath_var
=LD_LIBRARY_PATH
16002 shlibpath_overrides_runpath
=yes
16003 if test "$with_gnu_ld" = yes; then
16011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16012 soname_spec
='${libname}${release}${shared_ext}$major'
16013 shlibpath_var
=LD_LIBRARY_PATH
16014 case $host_vendor in
16016 shlibpath_overrides_runpath
=no
16018 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16019 runpath_var
=LD_RUN_PATH
16027 shlibpath_overrides_runpath
=no
16028 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16034 if test -d /usr
/nec
;then
16036 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16037 soname_spec
='$libname${shared_ext}.$major'
16038 shlibpath_var
=LD_LIBRARY_PATH
16042 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16043 version_type
=freebsd
-elf
16046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16047 soname_spec
='${libname}${release}${shared_ext}$major'
16048 shlibpath_var
=LD_LIBRARY_PATH
16049 hardcode_into_libs
=yes
16050 if test "$with_gnu_ld" = yes; then
16051 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16052 shlibpath_overrides_runpath
=no
16054 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16055 shlibpath_overrides_runpath
=yes
16058 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16062 sys_lib_dlsearch_path_spec
='/usr/lib'
16067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16068 soname_spec
='${libname}${release}${shared_ext}$major'
16069 shlibpath_var
=LD_LIBRARY_PATH
16076 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16077 echo "${ECHO_T}$dynamic_linker" >&6; }
16078 test "$dynamic_linker" = no
&& can_build_shared
=no
16080 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16081 if test "$GCC" = yes; then
16082 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16085 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16086 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16087 hardcode_action_F77
=
16088 if test -n "$hardcode_libdir_flag_spec_F77" || \
16089 test -n "$runpath_var_F77" || \
16090 test "X$hardcode_automatic_F77" = "Xyes" ; then
16092 # We can hardcode non-existant directories.
16093 if test "$hardcode_direct_F77" != no
&&
16094 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16095 # have to relink, otherwise we might link with an installed library
16096 # when we should be linking with a yet-to-be-installed one
16097 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16098 test "$hardcode_minus_L_F77" != no
; then
16099 # Linking always hardcodes the temporary library directory.
16100 hardcode_action_F77
=relink
16102 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16103 hardcode_action_F77
=immediate
16106 # We cannot hardcode anything, or else we can only hardcode existing
16108 hardcode_action_F77
=unsupported
16110 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16111 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16113 if test "$hardcode_action_F77" = relink
; then
16114 # Fast installation is not supported
16115 enable_fast_install
=no
16116 elif test "$shlibpath_overrides_runpath" = yes ||
16117 test "$enable_shared" = no
; then
16118 # Fast installation is not necessary
16119 enable_fast_install
=needless
16123 # The else clause should only fire when bootstrapping the
16124 # libtool distribution, otherwise you forgot to ship ltmain.sh
16125 # with your package, and you will get complaints that there are
16126 # no rules to generate ltmain.sh.
16127 if test -f "$ltmain"; then
16128 # See if we are running on zsh, and set the options which allow our commands through
16129 # without removal of \ escapes.
16130 if test -n "${ZSH_VERSION+set}" ; then
16131 setopt NO_GLOB_SUBST
16133 # Now quote all the things that may contain metacharacters while being
16134 # careful not to overquote the AC_SUBSTed values. We take copies of the
16135 # variables and quote the copies for generation of the libtool script.
16136 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16138 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16139 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16140 deplibs_check_method reload_flag reload_cmds need_locks \
16141 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16142 lt_cv_sys_global_symbol_to_c_name_address \
16143 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16144 old_postinstall_cmds old_postuninstall_cmds \
16148 lt_prog_compiler_wl_F77 \
16149 lt_prog_compiler_pic_F77 \
16150 lt_prog_compiler_static_F77 \
16151 lt_prog_compiler_no_builtin_flag_F77 \
16152 export_dynamic_flag_spec_F77 \
16153 thread_safe_flag_spec_F77 \
16154 whole_archive_flag_spec_F77 \
16155 enable_shared_with_static_runtimes_F77 \
16156 old_archive_cmds_F77 \
16157 old_archive_from_new_cmds_F77 \
16158 predep_objects_F77 \
16159 postdep_objects_F77 \
16162 compiler_lib_search_path_F77 \
16164 archive_expsym_cmds_F77 \
16165 postinstall_cmds_F77 \
16166 postuninstall_cmds_F77 \
16167 old_archive_from_expsyms_cmds_F77 \
16168 allow_undefined_flag_F77 \
16169 no_undefined_flag_F77 \
16170 export_symbols_cmds_F77 \
16171 hardcode_libdir_flag_spec_F77 \
16172 hardcode_libdir_flag_spec_ld_F77 \
16173 hardcode_libdir_separator_F77 \
16174 hardcode_automatic_F77 \
16176 module_expsym_cmds_F77 \
16177 lt_cv_prog_compiler_c_o_F77 \
16178 exclude_expsyms_F77 \
16179 include_expsyms_F77
; do
16182 old_archive_cmds_F77
| \
16183 old_archive_from_new_cmds_F77
| \
16184 archive_cmds_F77
| \
16185 archive_expsym_cmds_F77
| \
16186 module_cmds_F77
| \
16187 module_expsym_cmds_F77
| \
16188 old_archive_from_expsyms_cmds_F77
| \
16189 export_symbols_cmds_F77
| \
16190 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
16191 postinstall_cmds
| postuninstall_cmds
| \
16192 old_postinstall_cmds
| old_postuninstall_cmds
| \
16193 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
16194 # Double-quote double-evaled strings.
16195 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16198 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16204 *'\$0 --fallback-echo"')
16205 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16211 cat <<__EOF__ >> "$cfgfile"
16212 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16214 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16216 # Shell to use when invoking shell scripts.
16219 # Whether or not to build shared libraries.
16220 build_libtool_libs=$enable_shared
16222 # Whether or not to build static libraries.
16223 build_old_libs=$enable_static
16225 # Whether or not to add -lc for building shared libraries.
16226 build_libtool_need_lc=$archive_cmds_need_lc_F77
16228 # Whether or not to disallow shared libs when runtime libs are static
16229 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16231 # Whether or not to optimize for fast installation.
16232 fast_install=$enable_fast_install
16235 host_alias=$host_alias
16239 # The build system.
16240 build_alias=$build_alias
16244 # An echo program that does not interpret backslashes.
16249 AR_FLAGS=$lt_AR_FLAGS
16254 # LTCC compiler flags.
16255 LTCFLAGS=$lt_LTCFLAGS
16257 # A language-specific compiler.
16258 CC=$lt_compiler_F77
16260 # Is the compiler the GNU C compiler?
16266 # The linker used to build libraries.
16269 # Whether we need hard or soft links.
16272 # A BSD-compatible nm program.
16275 # A symbol stripping program
16278 # Used to examine libraries when file_magic_cmd begins "file"
16279 MAGIC_CMD=$MAGIC_CMD
16281 # Used on cygwin: DLL creation program.
16284 # Used on cygwin: object dumper.
16287 # Used on cygwin: assembler.
16290 # The name of the directory that contains temporary libtool files.
16293 # How to create reloadable object files.
16294 reload_flag=$lt_reload_flag
16295 reload_cmds=$lt_reload_cmds
16297 # How to pass a linker flag through the compiler.
16298 wl=$lt_lt_prog_compiler_wl_F77
16300 # Object file suffix (normally "o").
16301 objext="$ac_objext"
16303 # Old archive suffix (normally "a").
16306 # Shared library suffix (normally ".so").
16307 shrext_cmds='$shrext_cmds'
16309 # Executable file suffix (normally "").
16312 # Additional compiler flags for building library objects.
16313 pic_flag=$lt_lt_prog_compiler_pic_F77
16316 # What is the maximum length of a command?
16317 max_cmd_len=$lt_cv_sys_max_cmd_len
16319 # Does compiler simultaneously support -c and -o options?
16320 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16322 # Must we lock files when doing compilation?
16323 need_locks=$lt_need_locks
16325 # Do we need the lib prefix for modules?
16326 need_lib_prefix=$need_lib_prefix
16328 # Do we need a version for libraries?
16329 need_version=$need_version
16331 # Whether dlopen is supported.
16332 dlopen_support=$enable_dlopen
16334 # Whether dlopen of programs is supported.
16335 dlopen_self=$enable_dlopen_self
16337 # Whether dlopen of statically linked programs is supported.
16338 dlopen_self_static=$enable_dlopen_self_static
16340 # Compiler flag to prevent dynamic linking.
16341 link_static_flag=$lt_lt_prog_compiler_static_F77
16343 # Compiler flag to turn off builtin functions.
16344 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16346 # Compiler flag to allow reflexive dlopens.
16347 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16349 # Compiler flag to generate shared objects directly from archives.
16350 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16352 # Compiler flag to generate thread-safe objects.
16353 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16355 # Library versioning type.
16356 version_type=$version_type
16358 # Format of library name prefix.
16359 libname_spec=$lt_libname_spec
16361 # List of archive names. First name is the real one, the rest are links.
16362 # The last name is the one that the linker finds with -lNAME.
16363 library_names_spec=$lt_library_names_spec
16365 # The coded name of the library, if different from the real name.
16366 soname_spec=$lt_soname_spec
16368 # Commands used to build and install an old-style archive.
16370 old_archive_cmds=$lt_old_archive_cmds_F77
16371 old_postinstall_cmds=$lt_old_postinstall_cmds
16372 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16374 # Create an old-style archive from a shared archive.
16375 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16377 # Create a temporary old-style archive to link instead of a shared archive.
16378 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16380 # Commands used to build and install a shared archive.
16381 archive_cmds=$lt_archive_cmds_F77
16382 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16383 postinstall_cmds=$lt_postinstall_cmds
16384 postuninstall_cmds=$lt_postuninstall_cmds
16386 # Commands used to build a loadable module (assumed same as above if empty)
16387 module_cmds=$lt_module_cmds_F77
16388 module_expsym_cmds=$lt_module_expsym_cmds_F77
16390 # Commands to strip libraries.
16391 old_striplib=$lt_old_striplib
16392 striplib=$lt_striplib
16394 # Dependencies to place before the objects being linked to create a
16396 predep_objects=$lt_predep_objects_F77
16398 # Dependencies to place after the objects being linked to create a
16400 postdep_objects=$lt_postdep_objects_F77
16402 # Dependencies to place before the objects being linked to create a
16404 predeps=$lt_predeps_F77
16406 # Dependencies to place after the objects being linked to create a
16408 postdeps=$lt_postdeps_F77
16410 # The library search path used internally by the compiler when linking
16411 # a shared library.
16412 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16414 # Method to check whether dependent libraries are shared objects.
16415 deplibs_check_method=$lt_deplibs_check_method
16417 # Command to use when deplibs_check_method == file_magic.
16418 file_magic_cmd=$lt_file_magic_cmd
16420 # Flag that allows shared libraries with undefined symbols to be built.
16421 allow_undefined_flag=$lt_allow_undefined_flag_F77
16423 # Flag that forces no undefined symbols.
16424 no_undefined_flag=$lt_no_undefined_flag_F77
16426 # Commands used to finish a libtool library installation in a directory.
16427 finish_cmds=$lt_finish_cmds
16429 # Same as above, but a single script fragment to be evaled but not shown.
16430 finish_eval=$lt_finish_eval
16432 # Take the output of nm and produce a listing of raw symbols and C names.
16433 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16435 # Transform the output of nm in a proper C declaration
16436 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16438 # Transform the output of nm in a C name address pair
16439 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16441 # This is the shared library runtime path variable.
16442 runpath_var=$runpath_var
16444 # This is the shared library path variable.
16445 shlibpath_var=$shlibpath_var
16447 # Is shlibpath searched before the hard-coded library search path?
16448 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16450 # How to hardcode a shared library path into an executable.
16451 hardcode_action=$hardcode_action_F77
16453 # Whether we should hardcode library paths into libraries.
16454 hardcode_into_libs=$hardcode_into_libs
16456 # Flag to hardcode \$libdir into a binary during linking.
16457 # This must work even if \$libdir does not exist.
16458 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16460 # If ld is used when linking, flag to hardcode \$libdir into
16461 # a binary during linking. This must work even if \$libdir does
16463 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16465 # Whether we need a single -rpath flag with a separated argument.
16466 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16468 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16469 # resulting binary.
16470 hardcode_direct=$hardcode_direct_F77
16472 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16473 # resulting binary.
16474 hardcode_minus_L=$hardcode_minus_L_F77
16476 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16477 # the resulting binary.
16478 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16480 # Set to yes if building a shared library automatically hardcodes DIR into the library
16481 # and all subsequent libraries and executables linked against it.
16482 hardcode_automatic=$hardcode_automatic_F77
16484 # Variables whose values should be saved in libtool wrapper scripts and
16485 # restored at relink time.
16486 variables_saved_for_relink="$variables_saved_for_relink"
16488 # Whether libtool must link a program against all its dependency libraries.
16489 link_all_deplibs=$link_all_deplibs_F77
16491 # Compile-time system search path for libraries
16492 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16494 # Run-time system search path for libraries
16495 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16497 # Fix the shell variable \$srcfile for the compiler.
16498 fix_srcfile_path="$fix_srcfile_path_F77"
16500 # Set to yes if exported symbols are required.
16501 always_export_symbols=$always_export_symbols_F77
16503 # The commands to list exported symbols.
16504 export_symbols_cmds=$lt_export_symbols_cmds_F77
16506 # The commands to extract the exported symbol list from a shared archive.
16507 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16509 # Symbols that should not be listed in the preloaded symbols.
16510 exclude_expsyms=$lt_exclude_expsyms_F77
16512 # Symbols that must always be exported.
16513 include_expsyms=$lt_include_expsyms_F77
16515 # ### END LIBTOOL TAG CONFIG: $tagname
16521 # If there is no Makefile yet, we rely on a make rule to execute
16522 # `config.status --recheck' to rerun these tests and create the
16523 # libtool script then.
16524 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16525 if test -f "$ltmain_in"; then
16526 test -f Makefile
&& make "$ltmain"
16532 ac_cpp
='$CPP $CPPFLAGS'
16533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16545 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16548 # Source file extension for Java test sources.
16551 # Object file extension for compiled Java test sources.
16555 # Code to be used in simple compile tests
16556 lt_simple_compile_test_code
="class foo {}\n"
16558 # Code to be used in simple link tests
16559 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16561 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16563 # If no C compiler was specified, use CC.
16566 # If no C compiler flags were specified, use CFLAGS.
16567 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16569 # Allow CC to be a program name with arguments.
16573 # save warnings/boilerplate of simple test code
16574 ac_outfile
=conftest.
$ac_objext
16575 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16576 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
16577 _lt_compiler_boilerplate
=`cat conftest.err`
16580 ac_outfile
=conftest.
$ac_objext
16581 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16582 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
16583 _lt_linker_boilerplate
=`cat conftest.err`
16587 # Allow CC to be a program name with arguments.
16592 for cc_temp
in $compiler""; do
16594 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
16595 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
16600 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16603 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16604 archive_cmds_need_lc_GCJ
=no
16606 old_archive_cmds_GCJ
=$old_archive_cmds
16609 lt_prog_compiler_no_builtin_flag_GCJ
=
16611 if test "$GCC" = yes; then
16612 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16615 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16616 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16617 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16618 echo $ECHO_N "(cached) $ECHO_C" >&6
16620 lt_cv_prog_compiler_rtti_exceptions
=no
16621 ac_outfile
=conftest.
$ac_objext
16622 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16623 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16624 # Insert the option either (1) after the last *FLAGS variable, or
16625 # (2) before a word containing "conftest.", or (3) at the end.
16626 # Note that $ac_compile itself does not contain backslashes and begins
16627 # with a dollar sign (not a hyphen), so the echo should work correctly.
16628 # The option is referenced via a variable to avoid confusing sed.
16629 lt_compile
=`echo "$ac_compile" | $SED \
16630 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16631 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16632 -e 's:$: $lt_compiler_flag:'`
16633 (eval echo "\"\$as_me:16633: $lt_compile\"" >&5)
16634 (eval "$lt_compile" 2>conftest.err
)
16636 cat conftest.err
>&5
16637 echo "$as_me:16637: \$? = $ac_status" >&5
16638 if (exit $ac_status) && test -s "$ac_outfile"; then
16639 # The compiler can only warn and ignore the option if not recognized
16640 # So say no if there are warnings other than the usual output.
16641 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16642 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16643 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
16644 lt_cv_prog_compiler_rtti_exceptions
=yes
16650 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16651 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16653 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16654 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16661 lt_prog_compiler_wl_GCJ
=
16662 lt_prog_compiler_pic_GCJ
=
16663 lt_prog_compiler_static_GCJ
=
16665 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16666 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16668 if test "$GCC" = yes; then
16669 lt_prog_compiler_wl_GCJ
='-Wl,'
16670 lt_prog_compiler_static_GCJ
='-static'
16674 # All AIX code is PIC.
16675 if test "$host_cpu" = ia64
; then
16676 # AIX 5 now supports IA64 processor
16677 lt_prog_compiler_static_GCJ
='-Bstatic'
16682 # FIXME: we need at least 68020 code to build shared libraries, but
16683 # adding the `-m68020' flag to GCC prevents building anything better,
16685 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16688 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16689 # PIC is the default for these OSes.
16692 mingw
* | pw32
* | os2
*)
16693 # This hack is so that the source file can tell whether it is being
16694 # built for inclusion in a dll (and should export symbols for example).
16695 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16698 darwin
* | rhapsody
*)
16699 # PIC is the default on this platform
16700 # Common symbols not allowed in MH_DYLIB files
16701 lt_prog_compiler_pic_GCJ
='-fno-common'
16705 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16706 # Instead, we relocate shared libraries at runtime.
16710 # Just because we use GCC doesn't mean we suddenly get shared libraries
16711 # on systems that don't support them.
16712 lt_prog_compiler_can_build_shared_GCJ
=no
16717 if test -d /usr
/nec
; then
16718 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16723 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16724 # not for PA HP-UX.
16730 lt_prog_compiler_pic_GCJ
='-fPIC'
16736 lt_prog_compiler_pic_GCJ
='-fPIC'
16740 # PORTME Check for flag to pass linker flags through the system compiler.
16743 lt_prog_compiler_wl_GCJ
='-Wl,'
16744 if test "$host_cpu" = ia64
; then
16745 # AIX 5 now supports IA64 processor
16746 lt_prog_compiler_static_GCJ
='-Bstatic'
16748 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16752 # PIC is the default on this platform
16753 # Common symbols not allowed in MH_DYLIB files
16754 case $cc_basename in
16756 lt_prog_compiler_pic_GCJ
='-qnocommon'
16757 lt_prog_compiler_wl_GCJ
='-Wl,'
16762 mingw
* | pw32
* | os2
*)
16763 # This hack is so that the source file can tell whether it is being
16764 # built for inclusion in a dll (and should export symbols for example).
16765 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16768 hpux9
* | hpux10
* | hpux11
*)
16769 lt_prog_compiler_wl_GCJ
='-Wl,'
16770 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16771 # not for PA HP-UX.
16777 lt_prog_compiler_pic_GCJ
='+Z'
16780 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16781 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16784 irix5
* | irix6
* | nonstopux
*)
16785 lt_prog_compiler_wl_GCJ
='-Wl,'
16786 # PIC (with -KPIC) is the default.
16787 lt_prog_compiler_static_GCJ
='-non_shared'
16791 lt_prog_compiler_pic_GCJ
='-KPIC'
16792 lt_prog_compiler_static_GCJ
='-Bstatic'
16795 linux
* | k
*bsd
*-gnu)
16796 case $cc_basename in
16798 lt_prog_compiler_wl_GCJ
='-Wl,'
16799 lt_prog_compiler_pic_GCJ
='-KPIC'
16800 lt_prog_compiler_static_GCJ
='-static'
16802 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16803 # Portland Group compilers (*not* the Pentium gcc compiler,
16804 # which looks to be a dead project)
16805 lt_prog_compiler_wl_GCJ
='-Wl,'
16806 lt_prog_compiler_pic_GCJ
='-fpic'
16807 lt_prog_compiler_static_GCJ
='-Bstatic'
16810 lt_prog_compiler_wl_GCJ
='-Wl,'
16811 # All Alpha code is PIC.
16812 lt_prog_compiler_static_GCJ
='-non_shared'
16817 osf3
* | osf4
* | osf5
*)
16818 lt_prog_compiler_wl_GCJ
='-Wl,'
16819 # All OSF/1 code is PIC.
16820 lt_prog_compiler_static_GCJ
='-non_shared'
16824 lt_prog_compiler_pic_GCJ
='-KPIC'
16825 lt_prog_compiler_static_GCJ
='-Bstatic'
16826 case $cc_basename in
16827 f77
* | f90
* | f95
*)
16828 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16830 lt_prog_compiler_wl_GCJ
='-Wl,';;
16835 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16836 lt_prog_compiler_pic_GCJ
='-PIC'
16837 lt_prog_compiler_static_GCJ
='-Bstatic'
16840 sysv4
| sysv4.2uw2
* | sysv4.3
*)
16841 lt_prog_compiler_wl_GCJ
='-Wl,'
16842 lt_prog_compiler_pic_GCJ
='-KPIC'
16843 lt_prog_compiler_static_GCJ
='-Bstatic'
16847 if test -d /usr
/nec
;then
16848 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16849 lt_prog_compiler_static_GCJ
='-Bstatic'
16853 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16854 lt_prog_compiler_wl_GCJ
='-Wl,'
16855 lt_prog_compiler_pic_GCJ
='-KPIC'
16856 lt_prog_compiler_static_GCJ
='-Bstatic'
16860 lt_prog_compiler_wl_GCJ
='-Wl,'
16861 lt_prog_compiler_can_build_shared_GCJ
=no
16865 lt_prog_compiler_pic_GCJ
='-pic'
16866 lt_prog_compiler_static_GCJ
='-Bstatic'
16870 lt_prog_compiler_can_build_shared_GCJ
=no
16875 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16876 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16879 # Check to make sure the PIC flag actually works.
16881 if test -n "$lt_prog_compiler_pic_GCJ"; then
16883 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16884 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16885 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 lt_prog_compiler_pic_works_GCJ
=no
16889 ac_outfile
=conftest.
$ac_objext
16890 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16891 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16892 # Insert the option either (1) after the last *FLAGS variable, or
16893 # (2) before a word containing "conftest.", or (3) at the end.
16894 # Note that $ac_compile itself does not contain backslashes and begins
16895 # with a dollar sign (not a hyphen), so the echo should work correctly.
16896 # The option is referenced via a variable to avoid confusing sed.
16897 lt_compile
=`echo "$ac_compile" | $SED \
16898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16900 -e 's:$: $lt_compiler_flag:'`
16901 (eval echo "\"\$as_me:16901: $lt_compile\"" >&5)
16902 (eval "$lt_compile" 2>conftest.err
)
16904 cat conftest.err
>&5
16905 echo "$as_me:16905: \$? = $ac_status" >&5
16906 if (exit $ac_status) && test -s "$ac_outfile"; then
16907 # The compiler can only warn and ignore the option if not recognized
16908 # So say no if there are warnings other than the usual output.
16909 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16910 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16911 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
16912 lt_prog_compiler_pic_works_GCJ
=yes
16918 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16919 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16921 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16922 case $lt_prog_compiler_pic_GCJ in
16924 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16927 lt_prog_compiler_pic_GCJ
=
16928 lt_prog_compiler_can_build_shared_GCJ
=no
16933 # For platforms which do not support PIC, -DPIC is meaningless:
16935 lt_prog_compiler_pic_GCJ
=
16938 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16943 # Check to make sure the static flag actually works.
16945 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16946 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16947 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16948 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16951 lt_prog_compiler_static_works_GCJ
=no
16952 save_LDFLAGS
="$LDFLAGS"
16953 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16954 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16955 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16956 # The linker can only warn and ignore the option if not recognized
16957 # So say no if there are warnings
16958 if test -s conftest.err
; then
16959 # Append any errors to the config.log.
16960 cat conftest.err
1>&5
16961 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16962 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16963 if diff conftest.exp conftest.er2
>/dev
/null
; then
16964 lt_prog_compiler_static_works_GCJ
=yes
16967 lt_prog_compiler_static_works_GCJ
=yes
16971 LDFLAGS
="$save_LDFLAGS"
16974 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16975 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16977 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16980 lt_prog_compiler_static_GCJ
=
16984 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16985 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16986 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16989 lt_cv_prog_compiler_c_o_GCJ
=no
16990 $rm -r conftest
2>/dev
/null
16994 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16996 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16997 # Insert the option either (1) after the last *FLAGS variable, or
16998 # (2) before a word containing "conftest.", or (3) at the end.
16999 # Note that $ac_compile itself does not contain backslashes and begins
17000 # with a dollar sign (not a hyphen), so the echo should work correctly.
17001 lt_compile
=`echo "$ac_compile" | $SED \
17002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17004 -e 's:$: $lt_compiler_flag:'`
17005 (eval echo "\"\$as_me:17005: $lt_compile\"" >&5)
17006 (eval "$lt_compile" 2>out
/conftest.err
)
17008 cat out
/conftest.err
>&5
17009 echo "$as_me:17009: \$? = $ac_status" >&5
17010 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17012 # The compiler can only warn and ignore the option if not recognized
17013 # So say no if there are warnings
17014 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
17015 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17016 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17017 lt_cv_prog_compiler_c_o_GCJ
=yes
17022 # SGI C++ compiler will create directory out/ii_files/ for
17023 # template instantiation
17024 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17025 $rm out
/* && rmdir out
17031 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17032 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17035 hard_links
="nottested"
17036 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17037 # do not overwrite the value of need_locks provided by the user
17038 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17039 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17042 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17044 ln conftest.a conftest.b
2>&5 || hard_links
=no
17045 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17046 { echo "$as_me:$LINENO: result: $hard_links" >&5
17047 echo "${ECHO_T}$hard_links" >&6; }
17048 if test "$hard_links" = no
; then
17049 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17050 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17057 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17058 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17061 allow_undefined_flag_GCJ
=
17062 enable_shared_with_static_runtimes_GCJ
=no
17064 archive_expsym_cmds_GCJ
=
17065 old_archive_From_new_cmds_GCJ
=
17066 old_archive_from_expsyms_cmds_GCJ
=
17067 export_dynamic_flag_spec_GCJ
=
17068 whole_archive_flag_spec_GCJ
=
17069 thread_safe_flag_spec_GCJ
=
17070 hardcode_libdir_flag_spec_GCJ
=
17071 hardcode_libdir_flag_spec_ld_GCJ
=
17072 hardcode_libdir_separator_GCJ
=
17073 hardcode_direct_GCJ
=no
17074 hardcode_minus_L_GCJ
=no
17075 hardcode_shlibpath_var_GCJ
=unsupported
17076 link_all_deplibs_GCJ
=unknown
17077 hardcode_automatic_GCJ
=no
17079 module_expsym_cmds_GCJ
=
17080 always_export_symbols_GCJ
=no
17081 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17082 # include_expsyms should be a list of space-separated symbols to be *always*
17083 # included in the symbol list
17084 include_expsyms_GCJ
=
17085 # exclude_expsyms can be an extended regexp of symbols to exclude
17086 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17087 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17088 # as well as any symbol that contains `d'.
17089 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17090 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17091 # platforms (ab)use it in PIC code, but their linkers get confused if
17092 # the symbol is explicitly referenced. Since portable code cannot
17093 # rely on this symbol name, it's probably fine to never include it in
17094 # preloaded symbol tables.
17095 extract_expsyms_cmds
=
17096 # Just being paranoid about ensuring that cc_basename is set.
17097 for cc_temp
in $compiler""; do
17099 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
17100 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
17105 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17108 cygwin
* | mingw
* | pw32
*)
17109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17110 # When not using gcc, we currently assume that we are using
17111 # Microsoft Visual C++.
17112 if test "$GCC" != yes; then
17117 # we just hope/assume this is gcc and not c89 (= MSVC++)
17126 if test "$with_gnu_ld" = yes; then
17127 # If archive_cmds runs LD, not CC, wlarc should be empty
17130 # Set some defaults for GNU ld with shared library support. These
17131 # are reset later if shared libraries are not supported. Putting them
17132 # here allows them to be overridden if necessary.
17133 runpath_var
=LD_RUN_PATH
17134 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17135 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17136 # ancient GNU ld didn't support --whole-archive et. al.
17137 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
17138 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17140 whole_archive_flag_spec_GCJ
=
17142 supports_anon_versioning
=no
17143 case `$LD -v 2>/dev/null` in
17144 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
17145 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17146 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17147 *\
2.11.
*) ;; # other 2.11 versions
17148 *) supports_anon_versioning
=yes ;;
17151 # See if GNU ld supports shared libraries.
17153 aix3
* | aix4
* | aix5
*)
17154 # On AIX/PPC, the GNU linker is very broken
17155 if test "$host_cpu" != ia64
; then
17159 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17160 *** to be unable to reliably create shared libraries on AIX.
17161 *** Therefore, libtool is disabling shared libraries support. If you
17162 *** really care for shared libraries, you may want to modify your PATH
17163 *** so that a non-GNU linker is found, and then restart.
17170 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)'
17171 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17172 hardcode_minus_L_GCJ
=yes
17174 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17175 # that the semantics of dynamic libraries on AmigaOS, at least up
17176 # to version 4, is to share data among multiple programs linked
17177 # with the same dynamic library. Since this doesn't match the
17178 # behavior of shared libraries on other platforms, we can't use
17184 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17185 allow_undefined_flag_GCJ
=unsupported
17186 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17187 # support --undefined. This deserves some investigation. FIXME
17188 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17194 cygwin
* | mingw
* | pw32
*)
17195 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17196 # as there is no search path for DLLs.
17197 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17198 allow_undefined_flag_GCJ
=unsupported
17199 always_export_symbols_GCJ
=no
17200 enable_shared_with_static_runtimes_GCJ
=yes
17201 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17203 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
17204 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17205 # If the export-symbols file already is a .def file (1st line
17206 # is EXPORTS), use it as is; otherwise, prepend...
17207 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17208 cp $export_symbols $output_objdir/$soname.def;
17210 echo EXPORTS > $output_objdir/$soname.def;
17211 cat $export_symbols >> $output_objdir/$soname.def;
17213 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17220 hardcode_direct_GCJ
=no
17221 hardcode_shlibpath_var_GCJ
=no
17222 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17223 export_dynamic_flag_spec_GCJ
='${wl}-E'
17224 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17225 # Instead, shared libraries are loaded at an image base (0x10000000 by
17226 # default) and relocated if they conflict, which is a slow very memory
17227 # consuming and fragmenting process. To avoid this, we pick a random,
17228 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17229 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17230 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'
17231 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'
17234 linux
* | k
*bsd
*-gnu)
17235 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17237 case $cc_basename,$host_cpu in
17238 pgcc
*) # Portland Group C compiler
17239 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'
17240 tmp_addflag
=' $pic_flag'
17242 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17243 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'
17244 tmp_addflag
=' $pic_flag -Mnomain' ;;
17245 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17246 tmp_addflag
=' -i_dynamic' ;;
17247 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17248 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17249 ifc
* | ifort
*) # Intel Fortran compiler
17250 tmp_addflag
=' -nofor_main' ;;
17252 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17254 if test $supports_anon_versioning = yes; then
17255 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17256 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17257 $echo "local: *; };" >> $output_objdir/$libname.ver~
17258 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17260 link_all_deplibs_GCJ
=no
17266 netbsd
* | netbsdelf
*-gnu)
17267 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
17268 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17271 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17272 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17277 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
17281 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17282 *** create shared libraries on Solaris systems. Therefore, libtool
17283 *** is disabling shared libraries support. We urge you to upgrade GNU
17284 *** binutils to release 2.9.1 or newer. Another option is to modify
17285 *** your PATH or compiler configuration so that the native linker is
17286 *** used, and then restart.
17289 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17290 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17291 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17297 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17298 case `$LD -v 2>&1` in
17299 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
17303 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17304 *** reliably create shared libraries on SCO systems. Therefore, libtool
17305 *** is disabling shared libraries support. We urge you to upgrade GNU
17306 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17307 *** your PATH or compiler configuration so that the native linker is
17308 *** used, and then restart.
17313 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17314 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17315 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17316 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17325 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17327 hardcode_direct_GCJ
=yes
17328 hardcode_shlibpath_var_GCJ
=no
17332 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17333 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17334 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17341 if test "$ld_shlibs_GCJ" = no
; then
17343 hardcode_libdir_flag_spec_GCJ
=
17344 export_dynamic_flag_spec_GCJ
=
17345 whole_archive_flag_spec_GCJ
=
17348 # PORTME fill in a description of your system's linker (not GNU ld)
17351 allow_undefined_flag_GCJ
=unsupported
17352 always_export_symbols_GCJ
=yes
17353 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'
17354 # Note: this linker hardcodes the directories in LIBPATH if there
17355 # are no directories specified by -L.
17356 hardcode_minus_L_GCJ
=yes
17357 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17358 # Neither direct hardcoding nor static linking is supported with a
17360 hardcode_direct_GCJ
=unsupported
17365 if test "$host_cpu" = ia64
; then
17366 # On IA64, the linker does run time linking by default, so we don't
17367 # have to do anything special.
17368 aix_use_runtimelinking
=no
17369 exp_sym_flag
='-Bexport'
17372 # If we're using GNU nm, then we don't want the "-C" option.
17373 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17374 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
17375 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'
17377 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'
17379 aix_use_runtimelinking
=no
17381 # Test if we are trying to use run time linking or normal
17382 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17383 # need to do runtime linking.
17384 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17385 for ld_flag
in $LDFLAGS; do
17386 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17387 aix_use_runtimelinking
=yes
17394 exp_sym_flag
='-bexport'
17395 no_entry_flag
='-bnoentry'
17398 # When large executables or shared objects are built, AIX ld can
17399 # have problems creating the table of contents. If linking a library
17400 # or program results in "error TOC overflow" add -mminimal-toc to
17401 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17402 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17404 archive_cmds_GCJ
=''
17405 hardcode_direct_GCJ
=yes
17406 hardcode_libdir_separator_GCJ
=':'
17407 link_all_deplibs_GCJ
=yes
17409 if test "$GCC" = yes; then
17410 case $host_os in aix4.
[012]|aix4.
[012].
*)
17411 # We only want to do this on AIX 4.2 and lower, the check
17412 # below for broken collect2 doesn't work under 4.3+
17413 collect2name
=`${CC} -print-prog-name=collect2`
17414 if test -f "$collect2name" && \
17415 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
17417 # We have reworked collect2
17418 hardcode_direct_GCJ
=yes
17420 # We have old collect2
17421 hardcode_direct_GCJ
=unsupported
17422 # It fails to find uninstalled libraries when the uninstalled
17423 # path is not listed in the libpath. Setting hardcode_minus_L
17424 # to unsupported forces relinking
17425 hardcode_minus_L_GCJ
=yes
17426 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17427 hardcode_libdir_separator_GCJ
=
17431 shared_flag
='-shared'
17432 if test "$aix_use_runtimelinking" = yes; then
17433 shared_flag
="$shared_flag "'${wl}-G'
17437 if test "$host_cpu" = ia64
; then
17438 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17439 # chokes on -Wl,-G. The following line is correct:
17442 if test "$aix_use_runtimelinking" = yes; then
17443 shared_flag
='${wl}-G'
17445 shared_flag
='${wl}-bM:SRE'
17450 # It seems that -bexpall does not export symbols beginning with
17451 # underscore (_), so it is better to generate a list of symbols to export.
17452 always_export_symbols_GCJ
=yes
17453 if test "$aix_use_runtimelinking" = yes; then
17454 # Warning - without using the other runtime loading flags (-brtl),
17455 # -berok will link without error, but may produce a broken library.
17456 allow_undefined_flag_GCJ
='-berok'
17457 # Determine the default libpath from the value encoded in an empty executable.
17458 cat >conftest.
$ac_ext <<_ACEOF
17461 cat confdefs.h
>>conftest.
$ac_ext
17462 cat >>conftest.
$ac_ext <<_ACEOF
17463 /* end confdefs.h. */
17473 rm -f conftest.
$ac_objext conftest
$ac_exeext
17474 if { (ac_try
="$ac_link"
17475 case "(($ac_try" in
17476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17477 *) ac_try_echo=$ac_try;;
17479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17480 (eval "$ac_link") 2>conftest.er1
17482 grep -v '^ *+' conftest.er1 >conftest.err
17484 cat conftest.err >&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } &&
17487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17488 { (case "(($ac_try" in
17489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17490 *) ac_try_echo
=$ac_try;;
17492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17493 (eval "$ac_try") 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; } &&
17497 { ac_try
='test -s conftest$ac_exeext'
17498 { (case "(($ac_try" in
17499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_try") 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; }; then
17508 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17510 # Check for a 64-bit object if we didn't find anything.
17511 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17520 rm -f core conftest.err conftest.$ac_objext \
17521 conftest$ac_exeext conftest.$ac_ext
17522 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17524 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17525 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"
17527 if test "$host_cpu" = ia64; then
17528 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17529 allow_undefined_flag_GCJ="-z nodefs"
17530 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"
17532 # Determine the default libpath from the value encoded in an empty executable.
17533 cat >conftest.$ac_ext <<_ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17548 rm -f conftest.$ac_objext conftest$ac_exeext
17549 if { (ac_try="$ac_link"
17550 case "(($ac_try" in
17551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17552 *) ac_try_echo
=$ac_try;;
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_link") 2>conftest.er1
17557 grep -v '^ *+' conftest.er1
>conftest.err
17559 cat conftest.err
>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } &&
17562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17563 { (case "(($ac_try" in
17564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17565 *) ac_try_echo=$ac_try;;
17567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17568 (eval "$ac_try") 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest$ac_exeext'
17573 { (case "(($ac_try" in
17574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17575 *) ac_try_echo
=$ac_try;;
17577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17578 (eval "$ac_try") 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17583 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17585 # Check for a 64-bit object if we didn't find anything.
17586 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17595 rm -f core conftest.err conftest.
$ac_objext \
17596 conftest
$ac_exeext conftest.
$ac_ext
17597 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17599 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17600 # Warning - without using the other run time loading flags,
17601 # -berok will link without error, but may produce a broken library.
17602 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17603 allow_undefined_flag_GCJ
=' ${wl}-berok'
17604 # Exported symbols can be pulled into shared objects from archives
17605 whole_archive_flag_spec_GCJ
='$convenience'
17606 archive_cmds_need_lc_GCJ
=yes
17607 # This is similar to how AIX traditionally builds its shared libraries.
17608 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'
17614 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)'
17615 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17616 hardcode_minus_L_GCJ
=yes
17617 # see comment about different semantics on the GNU ld section
17622 export_dynamic_flag_spec_GCJ
=-rdynamic
17625 cygwin
* | mingw
* | pw32
*)
17626 # When not using gcc, we currently assume that we are using
17627 # Microsoft Visual C++.
17628 # hardcode_libdir_flag_spec is actually meaningless, as there is
17629 # no search path for DLLs.
17630 hardcode_libdir_flag_spec_GCJ
=' '
17631 allow_undefined_flag_GCJ
=unsupported
17632 # Tell ltmain to make .lib files, not .a files.
17634 # Tell ltmain to make .dll files, not .so files.
17636 # FIXME: Setting linknames here is a bad hack.
17637 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17638 # The linker will automatically build a .lib file if we build a DLL.
17639 old_archive_From_new_cmds_GCJ
='true'
17640 # FIXME: Should let the user specify the lib program.
17641 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17642 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17643 enable_shared_with_static_runtimes_GCJ
=yes
17646 darwin
* | rhapsody
*)
17648 rhapsody
* | darwin1.
[012])
17649 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17652 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17653 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17655 case ${MACOSX_DEPLOYMENT_TARGET} in
17657 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17660 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17666 archive_cmds_need_lc_GCJ
=no
17667 hardcode_direct_GCJ
=no
17668 hardcode_automatic_GCJ
=yes
17669 hardcode_shlibpath_var_GCJ
=unsupported
17670 whole_archive_flag_spec_GCJ
=''
17671 link_all_deplibs_GCJ
=yes
17672 if test "$GCC" = yes ; then
17673 output_verbose_link_cmd
='echo'
17674 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17675 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17676 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17677 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17678 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}'
17680 case $cc_basename in
17682 output_verbose_link_cmd
='echo'
17683 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17684 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17685 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17686 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17687 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}'
17697 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17698 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17699 hardcode_shlibpath_var_GCJ
=no
17706 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17707 # support. Future versions do this automatically, but an explicit c++rt0.o
17708 # does not break anything, and helps significantly (at the cost of a little
17711 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17712 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17713 hardcode_direct_GCJ
=yes
17714 hardcode_shlibpath_var_GCJ
=no
17717 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17719 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17720 hardcode_direct_GCJ
=yes
17721 hardcode_minus_L_GCJ
=yes
17722 hardcode_shlibpath_var_GCJ
=no
17725 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17726 freebsd
* | dragonfly
*)
17727 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17728 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17729 hardcode_direct_GCJ
=yes
17730 hardcode_shlibpath_var_GCJ
=no
17734 if test "$GCC" = yes; then
17735 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'
17737 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'
17739 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17740 hardcode_libdir_separator_GCJ
=:
17741 hardcode_direct_GCJ
=yes
17743 # hardcode_minus_L: Not really in the search PATH,
17744 # but as the default location of the library.
17745 hardcode_minus_L_GCJ
=yes
17746 export_dynamic_flag_spec_GCJ
='${wl}-E'
17750 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17751 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17753 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17755 if test "$with_gnu_ld" = no
; then
17756 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17757 hardcode_libdir_separator_GCJ
=:
17759 hardcode_direct_GCJ
=yes
17760 export_dynamic_flag_spec_GCJ
='${wl}-E'
17762 # hardcode_minus_L: Not really in the search PATH,
17763 # but as the default location of the library.
17764 hardcode_minus_L_GCJ
=yes
17769 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17772 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17775 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17778 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17784 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17787 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17790 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17794 if test "$with_gnu_ld" = no
; then
17795 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17796 hardcode_libdir_separator_GCJ
=:
17800 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17801 hardcode_direct_GCJ
=no
17802 hardcode_shlibpath_var_GCJ
=no
17805 hardcode_direct_GCJ
=yes
17806 export_dynamic_flag_spec_GCJ
='${wl}-E'
17808 # hardcode_minus_L: Not really in the search PATH,
17809 # but as the default location of the library.
17810 hardcode_minus_L_GCJ
=yes
17816 irix5
* | irix6
* | nonstopux
*)
17817 if test "$GCC" = yes; then
17818 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'
17820 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'
17821 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17823 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17824 hardcode_libdir_separator_GCJ
=:
17825 link_all_deplibs_GCJ
=yes
17828 netbsd
* | netbsdelf
*-gnu)
17829 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
17830 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17832 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17834 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17835 hardcode_direct_GCJ
=yes
17836 hardcode_shlibpath_var_GCJ
=no
17840 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17841 hardcode_direct_GCJ
=yes
17842 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17843 hardcode_libdir_separator_GCJ
=:
17844 hardcode_shlibpath_var_GCJ
=no
17848 hardcode_direct_GCJ
=yes
17849 hardcode_shlibpath_var_GCJ
=no
17850 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17851 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17852 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17853 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17854 export_dynamic_flag_spec_GCJ
='${wl}-E'
17857 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17858 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17859 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17862 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17863 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17870 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17871 hardcode_minus_L_GCJ
=yes
17872 allow_undefined_flag_GCJ
=unsupported
17873 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'
17874 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17878 if test "$GCC" = yes; then
17879 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17880 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'
17882 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17883 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'
17885 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17886 hardcode_libdir_separator_GCJ
=:
17889 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17890 if test "$GCC" = yes; then
17891 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17892 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'
17893 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17895 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17896 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'
17897 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~
17898 $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'
17900 # Both c and cxx compiler support -rpath directly
17901 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17903 hardcode_libdir_separator_GCJ
=:
17907 no_undefined_flag_GCJ
=' -z text'
17908 if test "$GCC" = yes; then
17910 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17911 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17912 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17915 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17916 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17917 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17919 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17920 hardcode_shlibpath_var_GCJ
=no
17922 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17924 # The compiler driver will combine linker options so we
17925 # cannot just pass the convience library names through
17926 # without $wl, iff we do not link with $LD.
17927 # Luckily, gcc supports the same syntax we need for Sun Studio.
17928 # Supported since Solaris 2.6 (maybe 2.5.1?)
17931 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17933 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17936 link_all_deplibs_GCJ
=yes
17940 if test "x$host_vendor" = xsequent
; then
17941 # Use $CC to link under sequent, because it throws in some extra .o
17942 # files that make .init and .fini sections work.
17943 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17945 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17947 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17948 hardcode_direct_GCJ
=yes
17949 hardcode_minus_L_GCJ
=yes
17950 hardcode_shlibpath_var_GCJ
=no
17954 case $host_vendor in
17956 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17957 hardcode_direct_GCJ
=yes # is this really true???
17960 ## LD is ld it makes a PLAMLIB
17961 ## CC just makes a GrossModule.
17962 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17963 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17964 hardcode_direct_GCJ
=no
17967 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17968 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17971 runpath_var
='LD_RUN_PATH'
17972 hardcode_shlibpath_var_GCJ
=no
17976 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17977 hardcode_shlibpath_var_GCJ
=no
17978 export_dynamic_flag_spec_GCJ
='-Bexport'
17982 if test -d /usr
/nec
; then
17983 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17984 hardcode_shlibpath_var_GCJ
=no
17985 runpath_var
=LD_RUN_PATH
17986 hardcode_runpath_var
=yes
17991 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17992 no_undefined_flag_GCJ
='${wl}-z,text'
17993 archive_cmds_need_lc_GCJ
=no
17994 hardcode_shlibpath_var_GCJ
=no
17995 runpath_var
='LD_RUN_PATH'
17997 if test "$GCC" = yes; then
17998 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17999 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18001 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18002 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18006 sysv5
* | sco3.2v5
* | sco5v6
*)
18007 # Note: We can NOT use -z defs as we might desire, because we do not
18008 # link with -lc, and that would cause any symbols used from libc to
18009 # always be unresolved, which means just about no library would
18010 # ever link correctly. If we're not using GNU ld we use -z text
18011 # though, which does catch some bad symbols but isn't as heavy-handed
18013 no_undefined_flag_GCJ
='${wl}-z,text'
18014 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18015 archive_cmds_need_lc_GCJ
=no
18016 hardcode_shlibpath_var_GCJ
=no
18017 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18018 hardcode_libdir_separator_GCJ
=':'
18019 link_all_deplibs_GCJ
=yes
18020 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18021 runpath_var
='LD_RUN_PATH'
18023 if test "$GCC" = yes; then
18024 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18025 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18027 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18028 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18033 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18034 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18035 hardcode_shlibpath_var_GCJ
=no
18044 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18045 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18046 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18049 # Do we need to explicitly link libc?
18051 case "x$archive_cmds_need_lc_GCJ" in
18053 # Assume -lc should be added
18054 archive_cmds_need_lc_GCJ
=yes
18056 if test "$enable_shared" = yes && test "$GCC" = yes; then
18057 case $archive_cmds_GCJ in
18059 # FIXME: we may have to deal with multi-command sequences.
18062 # Test whether the compiler implicitly links with -lc since on some
18063 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18064 # to ld, don't add -lc before -lgcc.
18065 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18066 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18068 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18071 (eval $ac_compile) 2>&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); } 2>conftest.err
; then
18077 libobjs
=conftest.
$ac_objext
18079 wl
=$lt_prog_compiler_wl_GCJ
18080 pic_flag
=$lt_prog_compiler_pic_GCJ
18086 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18087 allow_undefined_flag_GCJ
=
18088 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18089 (eval $archive_cmds_GCJ 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }
18094 archive_cmds_need_lc_GCJ
=no
18096 archive_cmds_need_lc_GCJ
=yes
18098 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18100 cat conftest.err
1>&5
18103 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18104 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18111 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18112 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18113 library_names_spec
=
18114 libname_spec
='lib$name'
18118 postuninstall_cmds
=
18122 shlibpath_overrides_runpath
=unknown
18124 dynamic_linker
="$host_os ld.so"
18125 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18126 if test "$GCC" = yes; then
18127 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18128 if echo "$sys_lib_search_path_spec" | grep ';' >/dev
/null
; then
18129 # if the path contains ";" then we assume it to be the separator
18130 # otherwise default to the standard path separator (i.e. ":") - it is
18131 # assumed that no part of a normal pathname contains ";" but that should
18132 # okay in the real world where ";" in dirpaths is itself problematic.
18133 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18135 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18138 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18140 need_lib_prefix
=unknown
18141 hardcode_into_libs
=no
18143 # when you set need_version to no, make sure it does not cause -set_version
18144 # flags to be left without arguments
18145 need_version
=unknown
18150 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18151 shlibpath_var
=LIBPATH
18153 # AIX 3 has no versioning support, so we append a major version to the name.
18154 soname_spec
='${libname}${release}${shared_ext}$major'
18161 hardcode_into_libs
=yes
18162 if test "$host_cpu" = ia64
; then
18163 # AIX 5 supports IA64
18164 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18165 shlibpath_var
=LD_LIBRARY_PATH
18167 # With GCC up to 2.95.x, collect2 would create an import file
18168 # for dependence libraries. The import file would start with
18169 # the line `#! .'. This would cause the generated library to
18170 # depend on `.', always an invalid library. This was fixed in
18171 # development snapshots of GCC prior to 3.0.
18173 aix4
| aix4.
[01] | aix4.
[01].
*)
18174 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18176 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
18179 can_build_shared
=no
18183 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18184 # soname into executable. Probably we can add versioning support to
18185 # collect2, so additional links can be useful in future.
18186 if test "$aix_use_runtimelinking" = yes; then
18187 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18188 # instead of lib<name>.a to let people know that these are not
18189 # typical AIX shared libraries.
18190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18192 # We preserve .a as extension for shared libraries through AIX4.2
18193 # and later when we are not doing run time linking.
18194 library_names_spec
='${libname}${release}.a $libname.a'
18195 soname_spec
='${libname}${release}${shared_ext}$major'
18197 shlibpath_var
=LIBPATH
18202 library_names_spec
='$libname.ixlibrary $libname.a'
18203 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18204 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'
18208 library_names_spec
='${libname}${shared_ext}'
18209 dynamic_linker
="$host_os ld.so"
18210 shlibpath_var
=LIBRARY_PATH
18216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18217 soname_spec
='${libname}${release}${shared_ext}$major'
18218 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18219 shlibpath_var
=LD_LIBRARY_PATH
18220 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18221 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18222 # the default ld.so.conf also contains /usr/contrib/lib and
18223 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18224 # libtool to hard-code these into programs
18227 cygwin
* | mingw
* | pw32
*)
18228 version_type
=windows
18233 case $GCC,$host_os in
18234 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
18235 library_names_spec
='$libname.dll.a'
18236 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18237 postinstall_cmds
='base_file=`basename \${file}`~
18238 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18239 dldir=$destdir/`dirname \$dlpath`~
18240 test -d \$dldir || mkdir -p \$dldir~
18241 $install_prog $dir/$dlname \$dldir/$dlname~
18242 chmod a+x \$dldir/$dlname'
18243 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18244 dlpath=$dir/\$dldll~
18246 shlibpath_overrides_runpath
=yes
18250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18251 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
18252 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18255 # MinGW DLLs use traditional 'lib' prefix
18256 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
18257 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18258 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
18259 # It is most probably a Windows format PATH printed by
18260 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18261 # path with ; separators, and with drive letters. We can handle the
18262 # drive letters (cygwin fileutils understands them), so leave them,
18263 # especially as we might pass files found there to a mingw objdump,
18264 # which wouldn't understand a cygwinified path. Ahh.
18265 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18267 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18271 # pw32 DLLs use 'pw' prefix rather than 'lib'
18272 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
18278 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
18281 dynamic_linker
='Win32 ld.exe'
18282 # FIXME: first we should search . and the directory the executable is in
18286 darwin
* | rhapsody
*)
18287 dynamic_linker
="$host_os dyld"
18288 version_type
=darwin
18291 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18292 soname_spec
='${libname}${release}${major}$shared_ext'
18293 shlibpath_overrides_runpath
=yes
18294 shlibpath_var
=DYLD_LIBRARY_PATH
18295 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18296 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18297 if test "$GCC" = yes; then
18298 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18300 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18302 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18310 soname_spec
='${libname}${release}${shared_ext}$major'
18311 shlibpath_var
=LD_LIBRARY_PATH
18318 freebsd
* | dragonfly
*)
18319 # DragonFly does not have aout. When/if they implement a new
18320 # versioning mechanism, adjust this.
18321 if test -x /usr
/bin
/objformat
; then
18322 objformat
=`/usr/bin/objformat`
18325 freebsd
[123]*) objformat
=aout
;;
18326 *) objformat
=elf
;;
18329 version_type
=freebsd
-$objformat
18330 case $version_type in
18332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18337 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18341 shlibpath_var
=LD_LIBRARY_PATH
18344 shlibpath_overrides_runpath
=yes
18346 freebsd3.
[01]* | freebsdelf3.
[01]*)
18347 shlibpath_overrides_runpath
=yes
18348 hardcode_into_libs
=yes
18350 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18351 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18352 shlibpath_overrides_runpath
=no
18353 hardcode_into_libs
=yes
18355 freebsd
*) # from 4.6 on
18356 shlibpath_overrides_runpath
=yes
18357 hardcode_into_libs
=yes
18366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18367 soname_spec
='${libname}${release}${shared_ext}$major'
18368 shlibpath_var
=LD_LIBRARY_PATH
18369 hardcode_into_libs
=yes
18372 hpux9
* | hpux10
* | hpux11
*)
18373 # Give a soname corresponding to the major version so that dld.sl refuses to
18374 # link against other versions.
18381 hardcode_into_libs
=yes
18382 dynamic_linker
="$host_os dld.so"
18383 shlibpath_var
=LD_LIBRARY_PATH
18384 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18386 soname_spec
='${libname}${release}${shared_ext}$major'
18387 if test "X$HPUX_IA64_MODE" = X32
; then
18388 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18390 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18392 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18396 hardcode_into_libs
=yes
18397 dynamic_linker
="$host_os dld.sl"
18398 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18399 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18401 soname_spec
='${libname}${release}${shared_ext}$major'
18402 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18403 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18407 dynamic_linker
="$host_os dld.sl"
18408 shlibpath_var
=SHLIB_PATH
18409 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18411 soname_spec
='${libname}${release}${shared_ext}$major'
18414 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18415 postinstall_cmds
='chmod 555 $lib'
18422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18423 soname_spec
='${libname}${release}${shared_ext}$major'
18424 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18425 shlibpath_var
=LD_LIBRARY_PATH
18426 shlibpath_overrides_runpath
=no
18427 hardcode_into_libs
=yes
18430 irix5
* | irix6
* | nonstopux
*)
18432 nonstopux
*) version_type
=nonstopux
;;
18434 if test "$lt_cv_prog_gnu_ld" = yes; then
18442 soname_spec
='${libname}${release}${shared_ext}$major'
18443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18445 irix5
* | nonstopux
*)
18446 libsuff
= shlibsuff
=
18449 case $LD in # libtool.m4 will add one of these switches to LD
18450 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18451 libsuff
= shlibsuff
= libmagic
=32-bit;;
18452 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18453 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18454 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18455 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18456 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
18460 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18461 shlibpath_overrides_runpath
=no
18462 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18463 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18464 hardcode_into_libs
=yes
18467 # No shared lib support for Linux oldld, aout, or coff.
18468 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18472 # This must be Linux ELF.
18473 linux
* | k
*bsd
*-gnu)
18477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18478 soname_spec
='${libname}${release}${shared_ext}$major'
18479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18480 shlibpath_var
=LD_LIBRARY_PATH
18481 shlibpath_overrides_runpath
=no
18482 # This implies no fast_install, which is unacceptable.
18483 # Some rework will be needed to allow for fast_install
18484 # before this can be enabled.
18485 hardcode_into_libs
=yes
18487 # Append ld.so.conf contents to the search path
18488 if test -f /etc
/ld.so.conf
; then
18489 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18490 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18493 # We used to test for /lib/ld.so.1 and disable shared libraries on
18494 # powerpc, because MkLinux only supported shared libraries with the
18495 # GNU dynamic linker. Since this was broken with cross compilers,
18496 # most powerpc-linux boxes support dynamic linking these days and
18497 # people can always --disable-shared, the test was removed, and we
18498 # assume the GNU/Linux dynamic linker is in use.
18499 dynamic_linker
='GNU/Linux ld.so'
18506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18507 soname_spec
='${libname}${release}${shared_ext}$major'
18508 shlibpath_var
=LD_LIBRARY_PATH
18509 shlibpath_overrides_runpath
=no
18510 hardcode_into_libs
=yes
18511 dynamic_linker
='NetBSD ld.elf_so'
18518 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
18519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18520 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18521 dynamic_linker
='NetBSD (a.out) ld.so'
18523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18524 soname_spec
='${libname}${release}${shared_ext}$major'
18525 dynamic_linker
='NetBSD ld.elf_so'
18527 shlibpath_var
=LD_LIBRARY_PATH
18528 shlibpath_overrides_runpath
=yes
18529 hardcode_into_libs
=yes
18534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18535 shlibpath_var
=LD_LIBRARY_PATH
18536 shlibpath_overrides_runpath
=yes
18543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18544 soname_spec
='${libname}${release}${shared_ext}$major'
18545 shlibpath_var
=LD_LIBRARY_PATH
18546 shlibpath_overrides_runpath
=yes
18551 sys_lib_dlsearch_path_spec
="/usr/lib"
18553 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18555 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
18556 *) need_version
=no
;;
18558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18559 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18560 shlibpath_var
=LD_LIBRARY_PATH
18561 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18563 openbsd2.
[89] | openbsd2.
[89].
*)
18564 shlibpath_overrides_runpath
=no
18567 shlibpath_overrides_runpath
=yes
18571 shlibpath_overrides_runpath
=yes
18576 libname_spec
='$name'
18579 library_names_spec
='$libname${shared_ext} $libname.a'
18580 dynamic_linker
='OS/2 ld.exe'
18581 shlibpath_var
=LIBPATH
18584 osf3
* | osf4
* | osf5
*)
18588 soname_spec
='${libname}${release}${shared_ext}$major'
18589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18590 shlibpath_var
=LD_LIBRARY_PATH
18591 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18592 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18600 soname_spec
='${libname}${release}${shared_ext}$major'
18601 shlibpath_var
=LD_LIBRARY_PATH
18602 shlibpath_overrides_runpath
=yes
18603 hardcode_into_libs
=yes
18604 # ldd complains unless libraries are executable
18605 postinstall_cmds
='chmod +x $lib'
18610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18611 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18612 shlibpath_var
=LD_LIBRARY_PATH
18613 shlibpath_overrides_runpath
=yes
18614 if test "$with_gnu_ld" = yes; then
18622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18623 soname_spec
='${libname}${release}${shared_ext}$major'
18624 shlibpath_var
=LD_LIBRARY_PATH
18625 case $host_vendor in
18627 shlibpath_overrides_runpath
=no
18629 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18630 runpath_var
=LD_RUN_PATH
18638 shlibpath_overrides_runpath
=no
18639 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18645 if test -d /usr
/nec
;then
18647 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18648 soname_spec
='$libname${shared_ext}.$major'
18649 shlibpath_var
=LD_LIBRARY_PATH
18653 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18654 version_type
=freebsd
-elf
18657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18658 soname_spec
='${libname}${release}${shared_ext}$major'
18659 shlibpath_var
=LD_LIBRARY_PATH
18660 hardcode_into_libs
=yes
18661 if test "$with_gnu_ld" = yes; then
18662 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18663 shlibpath_overrides_runpath
=no
18665 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18666 shlibpath_overrides_runpath
=yes
18669 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18673 sys_lib_dlsearch_path_spec
='/usr/lib'
18678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18679 soname_spec
='${libname}${release}${shared_ext}$major'
18680 shlibpath_var
=LD_LIBRARY_PATH
18687 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18688 echo "${ECHO_T}$dynamic_linker" >&6; }
18689 test "$dynamic_linker" = no
&& can_build_shared
=no
18691 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18692 if test "$GCC" = yes; then
18693 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18696 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18697 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18698 hardcode_action_GCJ
=
18699 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18700 test -n "$runpath_var_GCJ" || \
18701 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18703 # We can hardcode non-existant directories.
18704 if test "$hardcode_direct_GCJ" != no
&&
18705 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18706 # have to relink, otherwise we might link with an installed library
18707 # when we should be linking with a yet-to-be-installed one
18708 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18709 test "$hardcode_minus_L_GCJ" != no
; then
18710 # Linking always hardcodes the temporary library directory.
18711 hardcode_action_GCJ
=relink
18713 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18714 hardcode_action_GCJ
=immediate
18717 # We cannot hardcode anything, or else we can only hardcode existing
18719 hardcode_action_GCJ
=unsupported
18721 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18722 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18724 if test "$hardcode_action_GCJ" = relink
; then
18725 # Fast installation is not supported
18726 enable_fast_install
=no
18727 elif test "$shlibpath_overrides_runpath" = yes ||
18728 test "$enable_shared" = no
; then
18729 # Fast installation is not necessary
18730 enable_fast_install
=needless
18734 # The else clause should only fire when bootstrapping the
18735 # libtool distribution, otherwise you forgot to ship ltmain.sh
18736 # with your package, and you will get complaints that there are
18737 # no rules to generate ltmain.sh.
18738 if test -f "$ltmain"; then
18739 # See if we are running on zsh, and set the options which allow our commands through
18740 # without removal of \ escapes.
18741 if test -n "${ZSH_VERSION+set}" ; then
18742 setopt NO_GLOB_SUBST
18744 # Now quote all the things that may contain metacharacters while being
18745 # careful not to overquote the AC_SUBSTed values. We take copies of the
18746 # variables and quote the copies for generation of the libtool script.
18747 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18749 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18750 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18751 deplibs_check_method reload_flag reload_cmds need_locks \
18752 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18753 lt_cv_sys_global_symbol_to_c_name_address \
18754 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18755 old_postinstall_cmds old_postuninstall_cmds \
18759 lt_prog_compiler_wl_GCJ \
18760 lt_prog_compiler_pic_GCJ \
18761 lt_prog_compiler_static_GCJ \
18762 lt_prog_compiler_no_builtin_flag_GCJ \
18763 export_dynamic_flag_spec_GCJ \
18764 thread_safe_flag_spec_GCJ \
18765 whole_archive_flag_spec_GCJ \
18766 enable_shared_with_static_runtimes_GCJ \
18767 old_archive_cmds_GCJ \
18768 old_archive_from_new_cmds_GCJ \
18769 predep_objects_GCJ \
18770 postdep_objects_GCJ \
18773 compiler_lib_search_path_GCJ \
18775 archive_expsym_cmds_GCJ \
18776 postinstall_cmds_GCJ \
18777 postuninstall_cmds_GCJ \
18778 old_archive_from_expsyms_cmds_GCJ \
18779 allow_undefined_flag_GCJ \
18780 no_undefined_flag_GCJ \
18781 export_symbols_cmds_GCJ \
18782 hardcode_libdir_flag_spec_GCJ \
18783 hardcode_libdir_flag_spec_ld_GCJ \
18784 hardcode_libdir_separator_GCJ \
18785 hardcode_automatic_GCJ \
18787 module_expsym_cmds_GCJ \
18788 lt_cv_prog_compiler_c_o_GCJ \
18789 exclude_expsyms_GCJ \
18790 include_expsyms_GCJ
; do
18793 old_archive_cmds_GCJ
| \
18794 old_archive_from_new_cmds_GCJ
| \
18795 archive_cmds_GCJ
| \
18796 archive_expsym_cmds_GCJ
| \
18797 module_cmds_GCJ
| \
18798 module_expsym_cmds_GCJ
| \
18799 old_archive_from_expsyms_cmds_GCJ
| \
18800 export_symbols_cmds_GCJ
| \
18801 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
18802 postinstall_cmds
| postuninstall_cmds
| \
18803 old_postinstall_cmds
| old_postuninstall_cmds
| \
18804 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
18805 # Double-quote double-evaled strings.
18806 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18809 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18815 *'\$0 --fallback-echo"')
18816 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18822 cat <<__EOF__ >> "$cfgfile"
18823 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18825 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18827 # Shell to use when invoking shell scripts.
18830 # Whether or not to build shared libraries.
18831 build_libtool_libs=$enable_shared
18833 # Whether or not to build static libraries.
18834 build_old_libs=$enable_static
18836 # Whether or not to add -lc for building shared libraries.
18837 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18839 # Whether or not to disallow shared libs when runtime libs are static
18840 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18842 # Whether or not to optimize for fast installation.
18843 fast_install=$enable_fast_install
18846 host_alias=$host_alias
18850 # The build system.
18851 build_alias=$build_alias
18855 # An echo program that does not interpret backslashes.
18860 AR_FLAGS=$lt_AR_FLAGS
18865 # LTCC compiler flags.
18866 LTCFLAGS=$lt_LTCFLAGS
18868 # A language-specific compiler.
18869 CC=$lt_compiler_GCJ
18871 # Is the compiler the GNU C compiler?
18877 # The linker used to build libraries.
18880 # Whether we need hard or soft links.
18883 # A BSD-compatible nm program.
18886 # A symbol stripping program
18889 # Used to examine libraries when file_magic_cmd begins "file"
18890 MAGIC_CMD=$MAGIC_CMD
18892 # Used on cygwin: DLL creation program.
18895 # Used on cygwin: object dumper.
18898 # Used on cygwin: assembler.
18901 # The name of the directory that contains temporary libtool files.
18904 # How to create reloadable object files.
18905 reload_flag=$lt_reload_flag
18906 reload_cmds=$lt_reload_cmds
18908 # How to pass a linker flag through the compiler.
18909 wl=$lt_lt_prog_compiler_wl_GCJ
18911 # Object file suffix (normally "o").
18912 objext="$ac_objext"
18914 # Old archive suffix (normally "a").
18917 # Shared library suffix (normally ".so").
18918 shrext_cmds='$shrext_cmds'
18920 # Executable file suffix (normally "").
18923 # Additional compiler flags for building library objects.
18924 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18927 # What is the maximum length of a command?
18928 max_cmd_len=$lt_cv_sys_max_cmd_len
18930 # Does compiler simultaneously support -c and -o options?
18931 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18933 # Must we lock files when doing compilation?
18934 need_locks=$lt_need_locks
18936 # Do we need the lib prefix for modules?
18937 need_lib_prefix=$need_lib_prefix
18939 # Do we need a version for libraries?
18940 need_version=$need_version
18942 # Whether dlopen is supported.
18943 dlopen_support=$enable_dlopen
18945 # Whether dlopen of programs is supported.
18946 dlopen_self=$enable_dlopen_self
18948 # Whether dlopen of statically linked programs is supported.
18949 dlopen_self_static=$enable_dlopen_self_static
18951 # Compiler flag to prevent dynamic linking.
18952 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18954 # Compiler flag to turn off builtin functions.
18955 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18957 # Compiler flag to allow reflexive dlopens.
18958 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18960 # Compiler flag to generate shared objects directly from archives.
18961 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18963 # Compiler flag to generate thread-safe objects.
18964 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18966 # Library versioning type.
18967 version_type=$version_type
18969 # Format of library name prefix.
18970 libname_spec=$lt_libname_spec
18972 # List of archive names. First name is the real one, the rest are links.
18973 # The last name is the one that the linker finds with -lNAME.
18974 library_names_spec=$lt_library_names_spec
18976 # The coded name of the library, if different from the real name.
18977 soname_spec=$lt_soname_spec
18979 # Commands used to build and install an old-style archive.
18981 old_archive_cmds=$lt_old_archive_cmds_GCJ
18982 old_postinstall_cmds=$lt_old_postinstall_cmds
18983 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18985 # Create an old-style archive from a shared archive.
18986 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18988 # Create a temporary old-style archive to link instead of a shared archive.
18989 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18991 # Commands used to build and install a shared archive.
18992 archive_cmds=$lt_archive_cmds_GCJ
18993 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18994 postinstall_cmds=$lt_postinstall_cmds
18995 postuninstall_cmds=$lt_postuninstall_cmds
18997 # Commands used to build a loadable module (assumed same as above if empty)
18998 module_cmds=$lt_module_cmds_GCJ
18999 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19001 # Commands to strip libraries.
19002 old_striplib=$lt_old_striplib
19003 striplib=$lt_striplib
19005 # Dependencies to place before the objects being linked to create a
19007 predep_objects=$lt_predep_objects_GCJ
19009 # Dependencies to place after the objects being linked to create a
19011 postdep_objects=$lt_postdep_objects_GCJ
19013 # Dependencies to place before the objects being linked to create a
19015 predeps=$lt_predeps_GCJ
19017 # Dependencies to place after the objects being linked to create a
19019 postdeps=$lt_postdeps_GCJ
19021 # The library search path used internally by the compiler when linking
19022 # a shared library.
19023 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19025 # Method to check whether dependent libraries are shared objects.
19026 deplibs_check_method=$lt_deplibs_check_method
19028 # Command to use when deplibs_check_method == file_magic.
19029 file_magic_cmd=$lt_file_magic_cmd
19031 # Flag that allows shared libraries with undefined symbols to be built.
19032 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19034 # Flag that forces no undefined symbols.
19035 no_undefined_flag=$lt_no_undefined_flag_GCJ
19037 # Commands used to finish a libtool library installation in a directory.
19038 finish_cmds=$lt_finish_cmds
19040 # Same as above, but a single script fragment to be evaled but not shown.
19041 finish_eval=$lt_finish_eval
19043 # Take the output of nm and produce a listing of raw symbols and C names.
19044 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19046 # Transform the output of nm in a proper C declaration
19047 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19049 # Transform the output of nm in a C name address pair
19050 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19052 # This is the shared library runtime path variable.
19053 runpath_var=$runpath_var
19055 # This is the shared library path variable.
19056 shlibpath_var=$shlibpath_var
19058 # Is shlibpath searched before the hard-coded library search path?
19059 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19061 # How to hardcode a shared library path into an executable.
19062 hardcode_action=$hardcode_action_GCJ
19064 # Whether we should hardcode library paths into libraries.
19065 hardcode_into_libs=$hardcode_into_libs
19067 # Flag to hardcode \$libdir into a binary during linking.
19068 # This must work even if \$libdir does not exist.
19069 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19071 # If ld is used when linking, flag to hardcode \$libdir into
19072 # a binary during linking. This must work even if \$libdir does
19074 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19076 # Whether we need a single -rpath flag with a separated argument.
19077 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19079 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19080 # resulting binary.
19081 hardcode_direct=$hardcode_direct_GCJ
19083 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19084 # resulting binary.
19085 hardcode_minus_L=$hardcode_minus_L_GCJ
19087 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19088 # the resulting binary.
19089 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19091 # Set to yes if building a shared library automatically hardcodes DIR into the library
19092 # and all subsequent libraries and executables linked against it.
19093 hardcode_automatic=$hardcode_automatic_GCJ
19095 # Variables whose values should be saved in libtool wrapper scripts and
19096 # restored at relink time.
19097 variables_saved_for_relink="$variables_saved_for_relink"
19099 # Whether libtool must link a program against all its dependency libraries.
19100 link_all_deplibs=$link_all_deplibs_GCJ
19102 # Compile-time system search path for libraries
19103 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19105 # Run-time system search path for libraries
19106 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19108 # Fix the shell variable \$srcfile for the compiler.
19109 fix_srcfile_path="$fix_srcfile_path_GCJ"
19111 # Set to yes if exported symbols are required.
19112 always_export_symbols=$always_export_symbols_GCJ
19114 # The commands to list exported symbols.
19115 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19117 # The commands to extract the exported symbol list from a shared archive.
19118 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19120 # Symbols that should not be listed in the preloaded symbols.
19121 exclude_expsyms=$lt_exclude_expsyms_GCJ
19123 # Symbols that must always be exported.
19124 include_expsyms=$lt_include_expsyms_GCJ
19126 # ### END LIBTOOL TAG CONFIG: $tagname
19132 # If there is no Makefile yet, we rely on a make rule to execute
19133 # `config.status --recheck' to rerun these tests and create the
19134 # libtool script then.
19135 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19136 if test -f "$ltmain_in"; then
19137 test -f Makefile
&& make "$ltmain"
19143 ac_cpp
='$CPP $CPPFLAGS'
19144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19158 # Source file extension for RC test sources.
19161 # Object file extension for compiled RC test sources.
19165 # Code to be used in simple compile tests
19166 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19168 # Code to be used in simple link tests
19169 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19171 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19173 # If no C compiler was specified, use CC.
19176 # If no C compiler flags were specified, use CFLAGS.
19177 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19179 # Allow CC to be a program name with arguments.
19183 # save warnings/boilerplate of simple test code
19184 ac_outfile
=conftest.
$ac_objext
19185 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19186 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
19187 _lt_compiler_boilerplate
=`cat conftest.err`
19190 ac_outfile
=conftest.
$ac_objext
19191 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19192 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
19193 _lt_linker_boilerplate
=`cat conftest.err`
19197 # Allow CC to be a program name with arguments.
19202 for cc_temp
in $compiler""; do
19204 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
19205 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
19210 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19212 lt_cv_prog_compiler_c_o_RC
=yes
19214 # The else clause should only fire when bootstrapping the
19215 # libtool distribution, otherwise you forgot to ship ltmain.sh
19216 # with your package, and you will get complaints that there are
19217 # no rules to generate ltmain.sh.
19218 if test -f "$ltmain"; then
19219 # See if we are running on zsh, and set the options which allow our commands through
19220 # without removal of \ escapes.
19221 if test -n "${ZSH_VERSION+set}" ; then
19222 setopt NO_GLOB_SUBST
19224 # Now quote all the things that may contain metacharacters while being
19225 # careful not to overquote the AC_SUBSTed values. We take copies of the
19226 # variables and quote the copies for generation of the libtool script.
19227 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19229 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19230 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19231 deplibs_check_method reload_flag reload_cmds need_locks \
19232 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19233 lt_cv_sys_global_symbol_to_c_name_address \
19234 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19235 old_postinstall_cmds old_postuninstall_cmds \
19239 lt_prog_compiler_wl_RC \
19240 lt_prog_compiler_pic_RC \
19241 lt_prog_compiler_static_RC \
19242 lt_prog_compiler_no_builtin_flag_RC \
19243 export_dynamic_flag_spec_RC \
19244 thread_safe_flag_spec_RC \
19245 whole_archive_flag_spec_RC \
19246 enable_shared_with_static_runtimes_RC \
19247 old_archive_cmds_RC \
19248 old_archive_from_new_cmds_RC \
19249 predep_objects_RC \
19250 postdep_objects_RC \
19253 compiler_lib_search_path_RC \
19255 archive_expsym_cmds_RC \
19256 postinstall_cmds_RC \
19257 postuninstall_cmds_RC \
19258 old_archive_from_expsyms_cmds_RC \
19259 allow_undefined_flag_RC \
19260 no_undefined_flag_RC \
19261 export_symbols_cmds_RC \
19262 hardcode_libdir_flag_spec_RC \
19263 hardcode_libdir_flag_spec_ld_RC \
19264 hardcode_libdir_separator_RC \
19265 hardcode_automatic_RC \
19267 module_expsym_cmds_RC \
19268 lt_cv_prog_compiler_c_o_RC \
19269 exclude_expsyms_RC \
19270 include_expsyms_RC
; do
19273 old_archive_cmds_RC
| \
19274 old_archive_from_new_cmds_RC
| \
19275 archive_cmds_RC
| \
19276 archive_expsym_cmds_RC
| \
19278 module_expsym_cmds_RC
| \
19279 old_archive_from_expsyms_cmds_RC
| \
19280 export_symbols_cmds_RC
| \
19281 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
19282 postinstall_cmds
| postuninstall_cmds
| \
19283 old_postinstall_cmds
| old_postuninstall_cmds
| \
19284 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
19285 # Double-quote double-evaled strings.
19286 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19289 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19295 *'\$0 --fallback-echo"')
19296 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19302 cat <<__EOF__ >> "$cfgfile"
19303 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19305 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19307 # Shell to use when invoking shell scripts.
19310 # Whether or not to build shared libraries.
19311 build_libtool_libs=$enable_shared
19313 # Whether or not to build static libraries.
19314 build_old_libs=$enable_static
19316 # Whether or not to add -lc for building shared libraries.
19317 build_libtool_need_lc=$archive_cmds_need_lc_RC
19319 # Whether or not to disallow shared libs when runtime libs are static
19320 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19322 # Whether or not to optimize for fast installation.
19323 fast_install=$enable_fast_install
19326 host_alias=$host_alias
19330 # The build system.
19331 build_alias=$build_alias
19335 # An echo program that does not interpret backslashes.
19340 AR_FLAGS=$lt_AR_FLAGS
19345 # LTCC compiler flags.
19346 LTCFLAGS=$lt_LTCFLAGS
19348 # A language-specific compiler.
19351 # Is the compiler the GNU C compiler?
19357 # The linker used to build libraries.
19360 # Whether we need hard or soft links.
19363 # A BSD-compatible nm program.
19366 # A symbol stripping program
19369 # Used to examine libraries when file_magic_cmd begins "file"
19370 MAGIC_CMD=$MAGIC_CMD
19372 # Used on cygwin: DLL creation program.
19375 # Used on cygwin: object dumper.
19378 # Used on cygwin: assembler.
19381 # The name of the directory that contains temporary libtool files.
19384 # How to create reloadable object files.
19385 reload_flag=$lt_reload_flag
19386 reload_cmds=$lt_reload_cmds
19388 # How to pass a linker flag through the compiler.
19389 wl=$lt_lt_prog_compiler_wl_RC
19391 # Object file suffix (normally "o").
19392 objext="$ac_objext"
19394 # Old archive suffix (normally "a").
19397 # Shared library suffix (normally ".so").
19398 shrext_cmds='$shrext_cmds'
19400 # Executable file suffix (normally "").
19403 # Additional compiler flags for building library objects.
19404 pic_flag=$lt_lt_prog_compiler_pic_RC
19407 # What is the maximum length of a command?
19408 max_cmd_len=$lt_cv_sys_max_cmd_len
19410 # Does compiler simultaneously support -c and -o options?
19411 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19413 # Must we lock files when doing compilation?
19414 need_locks=$lt_need_locks
19416 # Do we need the lib prefix for modules?
19417 need_lib_prefix=$need_lib_prefix
19419 # Do we need a version for libraries?
19420 need_version=$need_version
19422 # Whether dlopen is supported.
19423 dlopen_support=$enable_dlopen
19425 # Whether dlopen of programs is supported.
19426 dlopen_self=$enable_dlopen_self
19428 # Whether dlopen of statically linked programs is supported.
19429 dlopen_self_static=$enable_dlopen_self_static
19431 # Compiler flag to prevent dynamic linking.
19432 link_static_flag=$lt_lt_prog_compiler_static_RC
19434 # Compiler flag to turn off builtin functions.
19435 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19437 # Compiler flag to allow reflexive dlopens.
19438 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19440 # Compiler flag to generate shared objects directly from archives.
19441 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19443 # Compiler flag to generate thread-safe objects.
19444 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19446 # Library versioning type.
19447 version_type=$version_type
19449 # Format of library name prefix.
19450 libname_spec=$lt_libname_spec
19452 # List of archive names. First name is the real one, the rest are links.
19453 # The last name is the one that the linker finds with -lNAME.
19454 library_names_spec=$lt_library_names_spec
19456 # The coded name of the library, if different from the real name.
19457 soname_spec=$lt_soname_spec
19459 # Commands used to build and install an old-style archive.
19461 old_archive_cmds=$lt_old_archive_cmds_RC
19462 old_postinstall_cmds=$lt_old_postinstall_cmds
19463 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19465 # Create an old-style archive from a shared archive.
19466 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19468 # Create a temporary old-style archive to link instead of a shared archive.
19469 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19471 # Commands used to build and install a shared archive.
19472 archive_cmds=$lt_archive_cmds_RC
19473 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19474 postinstall_cmds=$lt_postinstall_cmds
19475 postuninstall_cmds=$lt_postuninstall_cmds
19477 # Commands used to build a loadable module (assumed same as above if empty)
19478 module_cmds=$lt_module_cmds_RC
19479 module_expsym_cmds=$lt_module_expsym_cmds_RC
19481 # Commands to strip libraries.
19482 old_striplib=$lt_old_striplib
19483 striplib=$lt_striplib
19485 # Dependencies to place before the objects being linked to create a
19487 predep_objects=$lt_predep_objects_RC
19489 # Dependencies to place after the objects being linked to create a
19491 postdep_objects=$lt_postdep_objects_RC
19493 # Dependencies to place before the objects being linked to create a
19495 predeps=$lt_predeps_RC
19497 # Dependencies to place after the objects being linked to create a
19499 postdeps=$lt_postdeps_RC
19501 # The library search path used internally by the compiler when linking
19502 # a shared library.
19503 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19505 # Method to check whether dependent libraries are shared objects.
19506 deplibs_check_method=$lt_deplibs_check_method
19508 # Command to use when deplibs_check_method == file_magic.
19509 file_magic_cmd=$lt_file_magic_cmd
19511 # Flag that allows shared libraries with undefined symbols to be built.
19512 allow_undefined_flag=$lt_allow_undefined_flag_RC
19514 # Flag that forces no undefined symbols.
19515 no_undefined_flag=$lt_no_undefined_flag_RC
19517 # Commands used to finish a libtool library installation in a directory.
19518 finish_cmds=$lt_finish_cmds
19520 # Same as above, but a single script fragment to be evaled but not shown.
19521 finish_eval=$lt_finish_eval
19523 # Take the output of nm and produce a listing of raw symbols and C names.
19524 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19526 # Transform the output of nm in a proper C declaration
19527 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19529 # Transform the output of nm in a C name address pair
19530 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19532 # This is the shared library runtime path variable.
19533 runpath_var=$runpath_var
19535 # This is the shared library path variable.
19536 shlibpath_var=$shlibpath_var
19538 # Is shlibpath searched before the hard-coded library search path?
19539 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19541 # How to hardcode a shared library path into an executable.
19542 hardcode_action=$hardcode_action_RC
19544 # Whether we should hardcode library paths into libraries.
19545 hardcode_into_libs=$hardcode_into_libs
19547 # Flag to hardcode \$libdir into a binary during linking.
19548 # This must work even if \$libdir does not exist.
19549 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19551 # If ld is used when linking, flag to hardcode \$libdir into
19552 # a binary during linking. This must work even if \$libdir does
19554 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19556 # Whether we need a single -rpath flag with a separated argument.
19557 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19559 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19560 # resulting binary.
19561 hardcode_direct=$hardcode_direct_RC
19563 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19564 # resulting binary.
19565 hardcode_minus_L=$hardcode_minus_L_RC
19567 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19568 # the resulting binary.
19569 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19571 # Set to yes if building a shared library automatically hardcodes DIR into the library
19572 # and all subsequent libraries and executables linked against it.
19573 hardcode_automatic=$hardcode_automatic_RC
19575 # Variables whose values should be saved in libtool wrapper scripts and
19576 # restored at relink time.
19577 variables_saved_for_relink="$variables_saved_for_relink"
19579 # Whether libtool must link a program against all its dependency libraries.
19580 link_all_deplibs=$link_all_deplibs_RC
19582 # Compile-time system search path for libraries
19583 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19585 # Run-time system search path for libraries
19586 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19588 # Fix the shell variable \$srcfile for the compiler.
19589 fix_srcfile_path="$fix_srcfile_path_RC"
19591 # Set to yes if exported symbols are required.
19592 always_export_symbols=$always_export_symbols_RC
19594 # The commands to list exported symbols.
19595 export_symbols_cmds=$lt_export_symbols_cmds_RC
19597 # The commands to extract the exported symbol list from a shared archive.
19598 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19600 # Symbols that should not be listed in the preloaded symbols.
19601 exclude_expsyms=$lt_exclude_expsyms_RC
19603 # Symbols that must always be exported.
19604 include_expsyms=$lt_include_expsyms_RC
19606 # ### END LIBTOOL TAG CONFIG: $tagname
19612 # If there is no Makefile yet, we rely on a make rule to execute
19613 # `config.status --recheck' to rerun these tests and create the
19614 # libtool script then.
19615 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19616 if test -f "$ltmain_in"; then
19617 test -f Makefile
&& make "$ltmain"
19623 ac_cpp
='$CPP $CPPFLAGS'
19624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19633 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19634 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19635 { (exit 1); exit 1; }; }
19639 # Append the new tag name to the list of available tags.
19640 if test -n "$tagname" ; then
19641 available_tags
="$available_tags $tagname"
19647 # Now substitute the updated list of available tags.
19648 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19649 mv "${ofile}T" "$ofile"
19653 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19654 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19655 { (exit 1); exit 1; }; }
19661 # This can be used to rebuild libtool when needed
19662 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19664 # Always use our own libtool.
19665 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19667 # Prevent multiple expansion
19691 { echo "$as_me:$LINENO: checking for libraries containing socket functions" >&5
19692 echo $ECHO_N "checking for libraries containing socket functions... $ECHO_C" >&6; }
19693 if test "${ac_cv_socket_libs+set}" = set; then
19694 echo $ECHO_N "(cached) $ECHO_C" >&6
19699 cat >conftest.
$ac_ext <<_ACEOF
19702 cat confdefs.h
>>conftest.
$ac_ext
19703 cat >>conftest.
$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19706 #include <sys/types.h>
19707 #include <sys/socket.h>
19708 #include <netinet/in.h>
19709 #include <arpa/inet.h>
19715 struct in_addr add;
19716 int sd = socket(AF_INET, SOCK_STREAM, 0);
19723 rm -f conftest.
$ac_objext conftest
$ac_exeext
19724 if { (ac_try
="$ac_link"
19725 case "(($ac_try" in
19726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19727 *) ac_try_echo=$ac_try;;
19729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 (eval "$ac_link") 2>conftest.er1
19732 grep -v '^ *+' conftest.er1 >conftest.err
19734 cat conftest.err >&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } &&
19737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19738 { (case "(($ac_try" in
19739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19740 *) ac_try_echo
=$ac_try;;
19742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19743 (eval "$ac_try") 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; } &&
19747 { ac_try
='test -s conftest$ac_exeext'
19748 { (case "(($ac_try" in
19749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19750 *) ac_try_echo=$ac_try;;
19752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19753 (eval "$ac_try") 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 ac_cv_socket_libs=-lc
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.$ac_ext >&5
19762 ac_cv_socket_libs=no
19765 rm -f core conftest.err conftest.$ac_objext \
19766 conftest$ac_exeext conftest.$ac_ext
19768 if test x"$ac_cv_socket_libs" = "xno"
19770 CFLAGS="$oCFLAGS -lsocket"
19771 cat >conftest.$ac_ext <<_ACEOF
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19778 #include <sys/types.h>
19779 #include <sys/socket.h>
19780 #include <netinet/in.h>
19781 #include <arpa/inet.h>
19787 struct in_addr add;
19788 int sd = socket(AF_INET, SOCK_STREAM, 0);
19795 rm -f conftest.$ac_objext conftest$ac_exeext
19796 if { (ac_try="$ac_link"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19799 *) ac_try_echo
=$ac_try;;
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_link") 2>conftest.er1
19804 grep -v '^ *+' conftest.er1
>conftest.err
19806 cat conftest.err
>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19810 { (case "(($ac_try" in
19811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19812 *) ac_try_echo=$ac_try;;
19814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19815 (eval "$ac_try") 2>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); }; } &&
19819 { ac_try='test -s conftest$ac_exeext'
19820 { (case "(($ac_try" in
19821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19822 *) ac_try_echo
=$ac_try;;
19824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19825 (eval "$ac_try") 2>&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; }; then
19829 ac_cv_socket_libs
=-lsocket
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.
$ac_ext >&5
19834 ac_cv_socket_libs
=no
19837 rm -f core conftest.err conftest.
$ac_objext \
19838 conftest
$ac_exeext conftest.
$ac_ext
19841 if test x
"$ac_cv_socket_libs" = "xno"
19843 CFLAGS
="$oCFLAGS -lsocket -lnsl"
19844 cat >conftest.
$ac_ext <<_ACEOF
19847 cat confdefs.h
>>conftest.
$ac_ext
19848 cat >>conftest.
$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19851 #include <sys/types.h>
19852 #include <sys/socket.h>
19853 #include <netinet/in.h>
19854 #include <arpa/inet.h>
19860 struct in_addr add;
19861 int sd = socket(AF_INET, SOCK_STREAM, 0);
19868 rm -f conftest.
$ac_objext conftest
$ac_exeext
19869 if { (ac_try
="$ac_link"
19870 case "(($ac_try" in
19871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_link") 2>conftest.er1
19877 grep -v '^ *+' conftest.er1 >conftest.err
19879 cat conftest.err >&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } &&
19882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19883 { (case "(($ac_try" in
19884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19885 *) ac_try_echo
=$ac_try;;
19887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19888 (eval "$ac_try") 2>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; } &&
19892 { ac_try
='test -s conftest$ac_exeext'
19893 { (case "(($ac_try" in
19894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_try") 2>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19902 ac_cv_socket_libs="-lsocket -lnsl"
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19907 ac_cv_socket_libs=no
19910 rm -f core conftest.err conftest.$ac_objext \
19911 conftest$ac_exeext conftest.$ac_ext
19917 { echo "$as_me:$LINENO: result: $ac_cv_socket_libs" >&5
19918 echo "${ECHO_T}$ac_cv_socket_libs" >&6; }
19920 if test x"$ac_cv_socket_libs" = "xno"
19922 { { echo "$as_me:$LINENO: error: Cannot find socket libraries" >&5
19923 echo "$as_me: error: Cannot find socket libraries" >&2;}
19924 { (exit 1); exit 1; }; }
19925 elif test x"$ac_cv_socket_libs" = "x-lc"
19929 ETR_SOCKET_LIBS="$ac_cv_socket_libs"
19935 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19936 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19937 if test "${ac_cv_header_stdc+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 cat >conftest.$ac_ext <<_ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 #include <stdlib.h>
19947 #include <stdarg.h>
19948 #include <string.h>
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19963 *) ac_try_echo
=$ac_try;;
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19968 grep -v '^ *+' conftest.er1
>conftest.err
19970 cat conftest.err
>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } &&
19973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19974 { (case "(($ac_try" in
19975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19976 *) ac_try_echo=$ac_try;;
19978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19979 (eval "$ac_try") 2>&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); }; } &&
19983 { ac_try='test -s conftest.$ac_objext'
19984 { (case "(($ac_try" in
19985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19986 *) ac_try_echo
=$ac_try;;
19988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19989 (eval "$ac_try") 2>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; }; then
19993 ac_cv_header_stdc
=yes
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.
$ac_ext >&5
19998 ac_cv_header_stdc
=no
20001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20003 if test $ac_cv_header_stdc = yes; then
20004 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20005 cat >conftest.
$ac_ext <<_ACEOF
20008 cat confdefs.h
>>conftest.
$ac_ext
20009 cat >>conftest.
$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 #include <string.h>
20014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20015 $EGREP "memchr" >/dev
/null
2>&1; then
20018 ac_cv_header_stdc
=no
20024 if test $ac_cv_header_stdc = yes; then
20025 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20026 cat >conftest.
$ac_ext <<_ACEOF
20029 cat confdefs.h
>>conftest.
$ac_ext
20030 cat >>conftest.
$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20032 #include <stdlib.h>
20035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20036 $EGREP "free" >/dev
/null
2>&1; then
20039 ac_cv_header_stdc
=no
20045 if test $ac_cv_header_stdc = yes; then
20046 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20047 if test "$cross_compiling" = yes; then
20050 cat >conftest.
$ac_ext <<_ACEOF
20053 cat confdefs.h
>>conftest.
$ac_ext
20054 cat >>conftest.
$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20057 #include <stdlib.h>
20058 #if ((' ' & 0x0FF) == 0x020)
20059 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20060 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20062 # define ISLOWER(c) \
20063 (('a' <= (c) && (c) <= 'i') \
20064 || ('j' <= (c) && (c) <= 'r') \
20065 || ('s' <= (c) && (c) <= 'z'))
20066 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20069 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20074 for (i = 0; i < 256; i++)
20075 if (XOR (islower (i), ISLOWER (i))
20076 || toupper (i) != TOUPPER (i))
20081 rm -f conftest
$ac_exeext
20082 if { (ac_try
="$ac_link"
20083 case "(($ac_try" in
20084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20085 *) ac_try_echo=$ac_try;;
20087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20088 (eval "$ac_link") 2>&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20092 { (case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20094 *) ac_try_echo
=$ac_try;;
20096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_try") 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; }; then
20103 echo "$as_me: program exited with status $ac_status" >&5
20104 echo "$as_me: failed program was:" >&5
20105 sed 's/^/| /' conftest.
$ac_ext >&5
20107 ( exit $ac_status )
20108 ac_cv_header_stdc
=no
20110 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20116 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20117 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20118 if test $ac_cv_header_stdc = yes; then
20120 cat >>confdefs.h
<<\_ACEOF
20121 #define STDC_HEADERS 1
20128 for ac_header
in sys
/poll.h
20130 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20131 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20132 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20134 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20135 echo $ECHO_N "(cached) $ECHO_C" >&6
20137 ac_res
=`eval echo '${'$as_ac_Header'}'`
20138 { echo "$as_me:$LINENO: result: $ac_res" >&5
20139 echo "${ECHO_T}$ac_res" >&6; }
20141 # Is the header compilable?
20142 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20144 cat >conftest.
$ac_ext <<_ACEOF
20147 cat confdefs.h
>>conftest.
$ac_ext
20148 cat >>conftest.
$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20150 $ac_includes_default
20151 #include <$ac_header>
20153 rm -f conftest.
$ac_objext
20154 if { (ac_try
="$ac_compile"
20155 case "(($ac_try" in
20156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20157 *) ac_try_echo=$ac_try;;
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_compile") 2>conftest.er1
20162 grep -v '^ *+' conftest.er1 >conftest.err
20164 cat conftest.err >&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } &&
20167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20168 { (case "(($ac_try" in
20169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20170 *) ac_try_echo
=$ac_try;;
20172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20173 (eval "$ac_try") 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; } &&
20177 { ac_try
='test -s conftest.$ac_objext'
20178 { (case "(($ac_try" in
20179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20180 *) ac_try_echo=$ac_try;;
20182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20183 (eval "$ac_try") 2>&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); }; }; then
20187 ac_header_compiler=yes
20189 echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.$ac_ext >&5
20192 ac_header_compiler=no
20195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20196 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20197 echo "${ECHO_T}$ac_header_compiler" >&6; }
20199 # Is the header present?
20200 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20202 cat >conftest.$ac_ext <<_ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 #include <$ac_header>
20210 if { (ac_try="$ac_cpp conftest.$ac_ext"
20211 case "(($ac_try" in
20212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20213 *) ac_try_echo
=$ac_try;;
20215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20218 grep -v '^ *+' conftest.er1
>conftest.err
20220 cat conftest.err
>&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } >/dev
/null
; then
20223 if test -s conftest.err
; then
20224 ac_cpp_err
=$ac_c_preproc_warn_flag
20225 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20232 if test -z "$ac_cpp_err"; then
20233 ac_header_preproc
=yes
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.
$ac_ext >&5
20238 ac_header_preproc
=no
20241 rm -f conftest.err conftest.
$ac_ext
20242 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20243 echo "${ECHO_T}$ac_header_preproc" >&6; }
20245 # So? What about this header?
20246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20252 ac_header_preproc
=yes
20255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20259 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20261 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20262 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20265 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20272 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20273 echo $ECHO_N "(cached) $ECHO_C" >&6
20275 eval "$as_ac_Header=\$ac_header_preproc"
20277 ac_res
=`eval echo '${'$as_ac_Header'}'`
20278 { echo "$as_me:$LINENO: result: $ac_res" >&5
20279 echo "${ECHO_T}$ac_res" >&6; }
20282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20283 cat >>confdefs.h
<<_ACEOF
20284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20286 have_poll_sys_h
=yes
20298 for ac_header
in fcntl.h sys
/time.h unistd.h
strings.h
20300 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20301 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20302 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20304 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20307 ac_res
=`eval echo '${'$as_ac_Header'}'`
20308 { echo "$as_me:$LINENO: result: $ac_res" >&5
20309 echo "${ECHO_T}$ac_res" >&6; }
20311 # Is the header compilable?
20312 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20313 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20314 cat >conftest.
$ac_ext <<_ACEOF
20317 cat confdefs.h
>>conftest.
$ac_ext
20318 cat >>conftest.
$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 $ac_includes_default
20321 #include <$ac_header>
20323 rm -f conftest.
$ac_objext
20324 if { (ac_try
="$ac_compile"
20325 case "(($ac_try" in
20326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20327 *) ac_try_echo=$ac_try;;
20329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 (eval "$ac_compile") 2>conftest.er1
20332 grep -v '^ *+' conftest.er1 >conftest.err
20334 cat conftest.err >&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); } &&
20337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20338 { (case "(($ac_try" in
20339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20340 *) ac_try_echo
=$ac_try;;
20342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_try") 2>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; } &&
20347 { ac_try
='test -s conftest.$ac_objext'
20348 { (case "(($ac_try" in
20349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_try") 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 ac_header_compiler=yes
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20362 ac_header_compiler=no
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20366 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20367 echo "${ECHO_T}$ac_header_compiler" >&6; }
20369 # Is the header present?
20370 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20372 cat >conftest.$ac_ext <<_ACEOF
20375 cat confdefs.h >>conftest.$ac_ext
20376 cat >>conftest.$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 #include <$ac_header>
20380 if { (ac_try="$ac_cpp conftest.$ac_ext"
20381 case "(($ac_try" in
20382 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20383 *) ac_try_echo
=$ac_try;;
20385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20386 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20388 grep -v '^ *+' conftest.er1
>conftest.err
20390 cat conftest.err
>&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); } >/dev
/null
; then
20393 if test -s conftest.err
; then
20394 ac_cpp_err
=$ac_c_preproc_warn_flag
20395 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20402 if test -z "$ac_cpp_err"; then
20403 ac_header_preproc
=yes
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.
$ac_ext >&5
20408 ac_header_preproc
=no
20411 rm -f conftest.err conftest.
$ac_ext
20412 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20413 echo "${ECHO_T}$ac_header_preproc" >&6; }
20415 # So? What about this header?
20416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20418 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20419 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20421 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20422 ac_header_preproc
=yes
20425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20429 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20430 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20431 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20432 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20435 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20436 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20440 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20442 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20445 eval "$as_ac_Header=\$ac_header_preproc"
20447 ac_res
=`eval echo '${'$as_ac_Header'}'`
20448 { echo "$as_me:$LINENO: result: $ac_res" >&5
20449 echo "${ECHO_T}$ac_res" >&6; }
20452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20453 cat >>confdefs.h
<<_ACEOF
20454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20462 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20463 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20464 if test "${ac_cv_c_const+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20467 cat >conftest.
$ac_ext <<_ACEOF
20470 cat confdefs.h
>>conftest.
$ac_ext
20471 cat >>conftest.
$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20477 /* FIXME: Include the comments suggested by Paul. */
20478 #ifndef __cplusplus
20479 /* Ultrix mips cc rejects this. */
20480 typedef int charset[2];
20482 /* SunOS 4.1.1 cc rejects this. */
20483 char const *const *ccp;
20485 /* NEC SVR4.0.2 mips cc rejects this. */
20486 struct point {int x, y;};
20487 static struct point const zero = {0,0};
20488 /* AIX XL C 1.02.0.0 rejects this.
20489 It does not let you subtract one const X* pointer from another in
20490 an arm of an if-expression whose if-part is not a constant
20492 const char *g = "string";
20493 ccp = &g + (g ? g-g : 0);
20494 /* HPUX 7.0 cc rejects these. */
20497 ccp = (char const *const *) p;
20498 { /* SCO 3.2v4 cc rejects this. */
20500 char const *s = 0 ? (char *) 0 : (char const *) 0;
20505 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20506 int x[] = {25, 17};
20507 const int *foo = &x[0];
20510 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20511 typedef const int *iptr;
20515 { /* AIX XL C 1.02.0.0 rejects this saying
20516 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20517 struct s { int j; const int *ap[3]; };
20518 struct s *b; b->j = 5;
20520 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20521 const int foo = 10;
20522 if (!foo) return 0;
20524 return !x[0] && !zero.x;
20531 rm -f conftest.
$ac_objext
20532 if { (ac_try
="$ac_compile"
20533 case "(($ac_try" in
20534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20535 *) ac_try_echo=$ac_try;;
20537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20538 (eval "$ac_compile") 2>conftest.er1
20540 grep -v '^ *+' conftest.er1 >conftest.err
20542 cat conftest.err >&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } &&
20545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20546 { (case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20548 *) ac_try_echo
=$ac_try;;
20550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_try") 2>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; } &&
20555 { ac_try
='test -s conftest.$ac_objext'
20556 { (case "(($ac_try" in
20557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20558 *) ac_try_echo=$ac_try;;
20560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20561 (eval "$ac_try") 2>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); }; }; then
20567 echo "$as_me: failed program was:" >&5
20568 sed 's/^/| /' conftest.$ac_ext >&5
20573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20575 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20576 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20577 if test $ac_cv_c_const = no; then
20579 cat >>confdefs.h <<\_ACEOF
20585 { echo "$as_me:$LINENO: checking for size_t" >&5
20586 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20587 if test "${ac_cv_type_size_t+set}" = set; then
20588 echo $ECHO_N "(cached) $ECHO_C" >&6
20590 cat >conftest.$ac_ext <<_ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596 $ac_includes_default
20597 typedef size_t ac__type_new_;
20601 if ((ac__type_new_ *) 0)
20603 if (sizeof (ac__type_new_))
20609 rm -f conftest.$ac_objext
20610 if { (ac_try="$ac_compile"
20611 case "(($ac_try" in
20612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20613 *) ac_try_echo
=$ac_try;;
20615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20616 (eval "$ac_compile") 2>conftest.er1
20618 grep -v '^ *+' conftest.er1
>conftest.err
20620 cat conftest.err
>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } &&
20623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20624 { (case "(($ac_try" in
20625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20626 *) ac_try_echo=$ac_try;;
20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20629 (eval "$ac_try") 2>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; } &&
20633 { ac_try='test -s conftest.$ac_objext'
20634 { (case "(($ac_try" in
20635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20636 *) ac_try_echo
=$ac_try;;
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_try") 2>&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); }; }; then
20643 ac_cv_type_size_t
=yes
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.
$ac_ext >&5
20648 ac_cv_type_size_t
=no
20651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20653 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20654 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20655 if test $ac_cv_type_size_t = yes; then
20659 cat >>confdefs.h
<<_ACEOF
20660 #define size_t unsigned int
20665 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20666 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
20667 if test "${ac_cv_header_time+set}" = set; then
20668 echo $ECHO_N "(cached) $ECHO_C" >&6
20670 cat >conftest.
$ac_ext <<_ACEOF
20673 cat confdefs.h
>>conftest.
$ac_ext
20674 cat >>conftest.
$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676 #include <sys/types.h>
20677 #include <sys/time.h>
20683 if ((struct tm *) 0)
20689 rm -f conftest.
$ac_objext
20690 if { (ac_try
="$ac_compile"
20691 case "(($ac_try" in
20692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20693 *) ac_try_echo=$ac_try;;
20695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20696 (eval "$ac_compile") 2>conftest.er1
20698 grep -v '^ *+' conftest.er1 >conftest.err
20700 cat conftest.err >&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } &&
20703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20704 { (case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20706 *) ac_try_echo
=$ac_try;;
20708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_try") 2>&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); }; } &&
20713 { ac_try
='test -s conftest.$ac_objext'
20714 { (case "(($ac_try" in
20715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20716 *) ac_try_echo=$ac_try;;
20718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20719 (eval "$ac_try") 2>&5
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); }; }; then
20723 ac_cv_header_time=yes
20725 echo "$as_me: failed program was:" >&5
20726 sed 's/^/| /' conftest.$ac_ext >&5
20728 ac_cv_header_time=no
20731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20733 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20734 echo "${ECHO_T}$ac_cv_header_time" >&6; }
20735 if test $ac_cv_header_time = yes; then
20737 cat >>confdefs.h <<\_ACEOF
20738 #define TIME_WITH_SYS_TIME 1
20746 for ac_func in snprintf vsnprintf
20748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20752 echo $ECHO_N "(cached) $ECHO_C" >&6
20754 cat >conftest.$ac_ext <<_ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20762 #define $ac_func innocuous_$ac_func
20764 /* System header to define __stub macros and hopefully few prototypes,
20765 which can conflict with char $ac_func (); below.
20766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20767 <limits.h> exists even on freestanding compilers. */
20770 # include <limits.h>
20772 # include <assert.h>
20777 /* Override any GCC internal prototype to avoid an error.
20778 Use char because int might match the return type of a GCC
20779 builtin and then its argument prototype would still apply. */
20784 /* The GNU C library defines this for functions which it implements
20785 to always fail with ENOSYS. Some functions are actually named
20786 something starting with __ and the normal name is an alias. */
20787 #if defined __stub_$ac_func || defined __stub___$ac_func
20794 return $ac_func ();
20799 rm -f conftest.$ac_objext conftest$ac_exeext
20800 if { (ac_try="$ac_link"
20801 case "(($ac_try" in
20802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20803 *) ac_try_echo
=$ac_try;;
20805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20806 (eval "$ac_link") 2>conftest.er1
20808 grep -v '^ *+' conftest.er1
>conftest.err
20810 cat conftest.err
>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } &&
20813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20814 { (case "(($ac_try" in
20815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20816 *) ac_try_echo=$ac_try;;
20818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20819 (eval "$ac_try") 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; } &&
20823 { ac_try='test -s conftest$ac_exeext'
20824 { (case "(($ac_try" in
20825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20826 *) ac_try_echo
=$ac_try;;
20828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20829 (eval "$ac_try") 2>&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; }; then
20833 eval "$as_ac_var=yes"
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.
$ac_ext >&5
20838 eval "$as_ac_var=no"
20841 rm -f core conftest.err conftest.
$ac_objext \
20842 conftest
$ac_exeext conftest.
$ac_ext
20844 ac_res
=`eval echo '${'$as_ac_var'}'`
20845 { echo "$as_me:$LINENO: result: $ac_res" >&5
20846 echo "${ECHO_T}$ac_res" >&6; }
20847 if test `eval echo '${'$as_ac_var'}'` = yes; then
20848 cat >>confdefs.h
<<_ACEOF
20849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20855 { echo "$as_me:$LINENO: checking for working snprintf" >&5
20856 echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6; }
20857 if test "${ac_cv_have_working_snprintf+set}" = set; then
20858 echo $ECHO_N "(cached) $ECHO_C" >&6
20860 if test "$cross_compiling" = yes; then
20861 ac_cv_have_working_snprintf
=cross
20863 cat >conftest.
$ac_ext <<_ACEOF
20866 cat confdefs.h
>>conftest.
$ac_ext
20867 cat >>conftest.
$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20873 char bufs[5] = { 'x', 'x', 'x', '\0', '\0' };
20874 char bufd[5] = { 'x', 'x', 'x', '\0', '\0' };
20876 i = snprintf (bufs, 2, "%s", "111");
20877 if (strcmp (bufs, "1")) exit (1);
20878 if (i != 3) exit (1);
20879 i = snprintf (bufd, 2, "%d", 111);
20880 if (strcmp (bufd, "1")) exit (1);
20881 if (i != 3) exit (1);
20885 rm -f conftest
$ac_exeext
20886 if { (ac_try
="$ac_link"
20887 case "(($ac_try" in
20888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20889 *) ac_try_echo=$ac_try;;
20891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20892 (eval "$ac_link") 2>&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20896 { (case "(($ac_try" in
20897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20898 *) ac_try_echo
=$ac_try;;
20900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20901 (eval "$ac_try") 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 ac_cv_have_working_snprintf
=yes
20907 echo "$as_me: program exited with status $ac_status" >&5
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.
$ac_ext >&5
20911 ( exit $ac_status )
20912 ac_cv_have_working_snprintf
=no
20914 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20920 { echo "$as_me:$LINENO: result: $ac_cv_have_working_snprintf" >&5
20921 echo "${ECHO_T}$ac_cv_have_working_snprintf" >&6; }
20922 { echo "$as_me:$LINENO: checking for working vsnprintf" >&5
20923 echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6; }
20924 if test "${ac_cv_have_working_vsnprintf+set}" = set; then
20925 echo $ECHO_N "(cached) $ECHO_C" >&6
20927 if test "$cross_compiling" = yes; then
20928 ac_cv_have_working_vsnprintf
=cross
20930 cat >conftest.
$ac_ext <<_ACEOF
20933 cat confdefs.h
>>conftest.
$ac_ext
20934 cat >>conftest.
$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20937 #include <stdarg.h>
20939 int my_vsnprintf (char *buf, const char *tmpl, ...)
20943 va_start (args, tmpl);
20944 i = vsnprintf (buf, 2, tmpl, args);
20951 char bufs[5] = { 'x', 'x', 'x', '\0', '\0' };
20952 char bufd[5] = { 'x', 'x', 'x', '\0', '\0' };
20954 i = my_vsnprintf (bufs, "%s", "111");
20955 if (strcmp (bufs, "1")) exit (1);
20956 if (i != 3) exit (1);
20957 i = my_vsnprintf (bufd, "%d", 111);
20958 if (strcmp (bufd, "1")) exit (1);
20959 if (i != 3) exit (1);
20963 rm -f conftest
$ac_exeext
20964 if { (ac_try
="$ac_link"
20965 case "(($ac_try" in
20966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20967 *) ac_try_echo=$ac_try;;
20969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20970 (eval "$ac_link") 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20974 { (case "(($ac_try" in
20975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20976 *) ac_try_echo
=$ac_try;;
20978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20979 (eval "$ac_try") 2>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); }; }; then
20983 ac_cv_have_working_vsnprintf
=yes
20985 echo "$as_me: program exited with status $ac_status" >&5
20986 echo "$as_me: failed program was:" >&5
20987 sed 's/^/| /' conftest.
$ac_ext >&5
20989 ( exit $ac_status )
20990 ac_cv_have_working_vsnprintf
=no
20992 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20998 { echo "$as_me:$LINENO: result: $ac_cv_have_working_vsnprintf" >&5
20999 echo "${ECHO_T}$ac_cv_have_working_vsnprintf" >&6; }
21000 if test x
$ac_cv_have_working_snprintf$ac_cv_have_working_vsnprintf != "xyesyes"; then
21001 case " $LIBOBJS " in
21002 *" snprintf.$ac_objext "* ) ;;
21003 *) LIBOBJS
="$LIBOBJS snprintf.$ac_objext"
21007 { echo "$as_me:$LINENO: WARNING: Replacing missing/broken (v)snprintf() with version from http://www.ijs.si/software/snprintf/." >&5
21008 echo "$as_me: WARNING: Replacing missing/broken (v)snprintf() with version from http://www.ijs.si/software/snprintf/." >&2;}
21010 cat >>confdefs.h
<<\_ACEOF
21011 #define PREFER_PORTABLE_SNPRINTF 1
21016 if test "$have_sys_poll_h" = "no"; then
21018 for ac_func
in select
21020 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21023 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21024 echo $ECHO_N "(cached) $ECHO_C" >&6
21026 cat >conftest.
$ac_ext <<_ACEOF
21029 cat confdefs.h
>>conftest.
$ac_ext
21030 cat >>conftest.
$ac_ext <<_ACEOF
21031 /* end confdefs.h. */
21032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21034 #define $ac_func innocuous_$ac_func
21036 /* System header to define __stub macros and hopefully few prototypes,
21037 which can conflict with char $ac_func (); below.
21038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21039 <limits.h> exists even on freestanding compilers. */
21042 # include <limits.h>
21044 # include <assert.h>
21049 /* Override any GCC internal prototype to avoid an error.
21050 Use char because int might match the return type of a GCC
21051 builtin and then its argument prototype would still apply. */
21056 /* The GNU C library defines this for functions which it implements
21057 to always fail with ENOSYS. Some functions are actually named
21058 something starting with __ and the normal name is an alias. */
21059 #if defined __stub_$ac_func || defined __stub___$ac_func
21066 return $ac_func ();
21071 rm -f conftest.
$ac_objext conftest
$ac_exeext
21072 if { (ac_try
="$ac_link"
21073 case "(($ac_try" in
21074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21075 *) ac_try_echo=$ac_try;;
21077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21078 (eval "$ac_link") 2>conftest.er1
21080 grep -v '^ *+' conftest.er1 >conftest.err
21082 cat conftest.err >&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } &&
21085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21086 { (case "(($ac_try" in
21087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21088 *) ac_try_echo
=$ac_try;;
21090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21091 (eval "$ac_try") 2>&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); }; } &&
21095 { ac_try
='test -s conftest$ac_exeext'
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_try") 2>&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; }; then
21105 eval "$as_ac_var=yes"
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21110 eval "$as_ac_var=no"
21113 rm -f core conftest.err conftest.$ac_objext \
21114 conftest$ac_exeext conftest.$ac_ext
21116 ac_res=`eval echo '${'$as_ac_var'}'`
21117 { echo "$as_me:$LINENO: result: $ac_res" >&5
21118 echo "${ECHO_T}$ac_res" >&6; }
21119 if test `eval echo '${'$as_ac_var'}'` = yes; then
21120 cat >>confdefs.h <<_ACEOF
21121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21129 if test "$have_select" = "no"; then
21130 { { echo "$as_me:$LINENO: error: No select() implementation found" >&5
21131 echo "$as_me: error: No select() implementation found" >&2;}
21132 { (exit 1); exit 1; }; }
21138 for ac_func in inet_aton inet_pton
21140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21144 echo $ECHO_N "(cached) $ECHO_C" >&6
21146 cat >conftest.$ac_ext <<_ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21154 #define $ac_func innocuous_$ac_func
21156 /* System header to define __stub macros and hopefully few prototypes,
21157 which can conflict with char $ac_func (); below.
21158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21159 <limits.h> exists even on freestanding compilers. */
21162 # include <limits.h>
21164 # include <assert.h>
21169 /* Override any GCC internal prototype to avoid an error.
21170 Use char because int might match the return type of a GCC
21171 builtin and then its argument prototype would still apply. */
21176 /* The GNU C library defines this for functions which it implements
21177 to always fail with ENOSYS. Some functions are actually named
21178 something starting with __ and the normal name is an alias. */
21179 #if defined __stub_$ac_func || defined __stub___$ac_func
21186 return $ac_func ();
21191 rm -f conftest.$ac_objext conftest$ac_exeext
21192 if { (ac_try="$ac_link"
21193 case "(($ac_try" in
21194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21195 *) ac_try_echo
=$ac_try;;
21197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21198 (eval "$ac_link") 2>conftest.er1
21200 grep -v '^ *+' conftest.er1
>conftest.err
21202 cat conftest.err
>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21206 { (case "(($ac_try" in
21207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21208 *) ac_try_echo=$ac_try;;
21210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21211 (eval "$ac_try") 2>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; } &&
21215 { ac_try='test -s conftest$ac_exeext'
21216 { (case "(($ac_try" in
21217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21218 *) ac_try_echo
=$ac_try;;
21220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21221 (eval "$ac_try") 2>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); }; }; then
21225 eval "$as_ac_var=yes"
21227 echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.
$ac_ext >&5
21230 eval "$as_ac_var=no"
21233 rm -f core conftest.err conftest.
$ac_objext \
21234 conftest
$ac_exeext conftest.
$ac_ext
21236 ac_res
=`eval echo '${'$as_ac_var'}'`
21237 { echo "$as_me:$LINENO: result: $ac_res" >&5
21238 echo "${ECHO_T}$ac_res" >&6; }
21239 if test `eval echo '${'$as_ac_var'}'` = yes; then
21240 cat >>confdefs.h
<<_ACEOF
21241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21250 for ac_func
in gethostbyname gethostbyname2
21252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21255 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21256 echo $ECHO_N "(cached) $ECHO_C" >&6
21258 cat >conftest.
$ac_ext <<_ACEOF
21261 cat confdefs.h
>>conftest.
$ac_ext
21262 cat >>conftest.
$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21266 #define $ac_func innocuous_$ac_func
21268 /* System header to define __stub macros and hopefully few prototypes,
21269 which can conflict with char $ac_func (); below.
21270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21271 <limits.h> exists even on freestanding compilers. */
21274 # include <limits.h>
21276 # include <assert.h>
21281 /* Override any GCC internal prototype to avoid an error.
21282 Use char because int might match the return type of a GCC
21283 builtin and then its argument prototype would still apply. */
21288 /* The GNU C library defines this for functions which it implements
21289 to always fail with ENOSYS. Some functions are actually named
21290 something starting with __ and the normal name is an alias. */
21291 #if defined __stub_$ac_func || defined __stub___$ac_func
21298 return $ac_func ();
21303 rm -f conftest.
$ac_objext conftest
$ac_exeext
21304 if { (ac_try
="$ac_link"
21305 case "(($ac_try" in
21306 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21307 *) ac_try_echo=$ac_try;;
21309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21310 (eval "$ac_link") 2>conftest.er1
21312 grep -v '^ *+' conftest.er1 >conftest.err
21314 cat conftest.err >&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); } &&
21317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21318 { (case "(($ac_try" in
21319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21320 *) ac_try_echo
=$ac_try;;
21322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21323 (eval "$ac_try") 2>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); }; } &&
21327 { ac_try
='test -s conftest$ac_exeext'
21328 { (case "(($ac_try" in
21329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21330 *) ac_try_echo=$ac_try;;
21332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21333 (eval "$ac_try") 2>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); }; }; then
21337 eval "$as_ac_var=yes"
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21342 eval "$as_ac_var=no"
21345 rm -f core conftest.err conftest.$ac_objext \
21346 conftest$ac_exeext conftest.$ac_ext
21348 ac_res=`eval echo '${'$as_ac_var'}'`
21349 { echo "$as_me:$LINENO: result: $ac_res" >&5
21350 echo "${ECHO_T}$ac_res" >&6; }
21351 if test `eval echo '${'$as_ac_var'}'` = yes; then
21352 cat >>confdefs.h <<_ACEOF
21353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21360 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21361 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
21362 if test "${ac_cv_c_bigendian+set}" = set; then
21363 echo $ECHO_N "(cached) $ECHO_C" >&6
21365 # See if sys/param.h defines the BYTE_ORDER macro.
21366 cat >conftest.$ac_ext <<_ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 #include <sys/types.h>
21373 #include <sys/param.h>
21378 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21379 bogus endian macros
21386 rm -f conftest.$ac_objext
21387 if { (ac_try="$ac_compile"
21388 case "(($ac_try" in
21389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21390 *) ac_try_echo
=$ac_try;;
21392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21393 (eval "$ac_compile") 2>conftest.er1
21395 grep -v '^ *+' conftest.er1
>conftest.err
21397 cat conftest.err
>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } &&
21400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); }; } &&
21410 { ac_try='test -s conftest.$ac_objext'
21411 { (case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21413 *) ac_try_echo
=$ac_try;;
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_try") 2>&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); }; }; then
21420 # It does; now see whether it defined to BIG_ENDIAN or not.
21421 cat >conftest.
$ac_ext <<_ACEOF
21424 cat confdefs.h
>>conftest.
$ac_ext
21425 cat >>conftest.
$ac_ext <<_ACEOF
21426 /* end confdefs.h. */
21427 #include <sys/types.h>
21428 #include <sys/param.h>
21433 #if BYTE_ORDER != BIG_ENDIAN
21441 rm -f conftest.
$ac_objext
21442 if { (ac_try
="$ac_compile"
21443 case "(($ac_try" in
21444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21445 *) ac_try_echo=$ac_try;;
21447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21448 (eval "$ac_compile") 2>conftest.er1
21450 grep -v '^ *+' conftest.er1 >conftest.err
21452 cat conftest.err >&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); } &&
21455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21456 { (case "(($ac_try" in
21457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21458 *) ac_try_echo
=$ac_try;;
21460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21461 (eval "$ac_try") 2>&5
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); }; } &&
21465 { ac_try
='test -s conftest.$ac_objext'
21466 { (case "(($ac_try" in
21467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21468 *) ac_try_echo=$ac_try;;
21470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21471 (eval "$ac_try") 2>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); }; }; then
21475 ac_cv_c_bigendian=yes
21477 echo "$as_me: failed program was:" >&5
21478 sed 's/^/| /' conftest.$ac_ext >&5
21480 ac_cv_c_bigendian=no
21483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21488 # It does not; compile a test program.
21489 if test "$cross_compiling" = yes; then
21490 # try to guess the endianness by grepping values into an object file
21491 ac_cv_c_bigendian=unknown
21492 cat >conftest.$ac_ext <<_ACEOF
21495 cat confdefs.h >>conftest.$ac_ext
21496 cat >>conftest.$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21498 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21499 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21500 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
21501 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21502 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21503 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
21507 _ascii (); _ebcdic ();
21512 rm -f conftest.$ac_objext
21513 if { (ac_try="$ac_compile"
21514 case "(($ac_try" in
21515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21516 *) ac_try_echo
=$ac_try;;
21518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_compile") 2>conftest.er1
21521 grep -v '^ *+' conftest.er1
>conftest.err
21523 cat conftest.err
>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } &&
21526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21527 { (case "(($ac_try" in
21528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_try") 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; } &&
21536 { ac_try='test -s conftest.$ac_objext'
21537 { (case "(($ac_try" in
21538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21539 *) ac_try_echo
=$ac_try;;
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_try") 2>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; }; then
21546 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
21547 ac_cv_c_bigendian
=yes
21549 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
21550 if test "$ac_cv_c_bigendian" = unknown
; then
21551 ac_cv_c_bigendian
=no
21553 # finding both strings is unlikely to happen, but who knows?
21554 ac_cv_c_bigendian
=unknown
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.
$ac_ext >&5
21564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21566 cat >conftest.
$ac_ext <<_ACEOF
21569 cat confdefs.h
>>conftest.
$ac_ext
21570 cat >>conftest.
$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21572 $ac_includes_default
21577 /* Are we little or big endian? From Harbison&Steele. */
21581 char c[sizeof (long int)];
21584 return u.c[sizeof (long int) - 1] == 1;
21590 rm -f conftest
$ac_exeext
21591 if { (ac_try
="$ac_link"
21592 case "(($ac_try" in
21593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_link") 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21601 { (case "(($ac_try" in
21602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21603 *) ac_try_echo
=$ac_try;;
21605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21606 (eval "$ac_try") 2>&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; }; then
21610 ac_cv_c_bigendian
=no
21612 echo "$as_me: program exited with status $ac_status" >&5
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.
$ac_ext >&5
21616 ( exit $ac_status )
21617 ac_cv_c_bigendian
=yes
21619 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21627 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21628 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
21629 case $ac_cv_c_bigendian in
21632 cat >>confdefs.h
<<\_ACEOF
21633 #define WORDS_BIGENDIAN 1
21639 { { echo "$as_me:$LINENO: error: unknown endianness
21640 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
21641 echo "$as_me: error: unknown endianness
21642 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
21643 { (exit 1); exit 1; }; } ;;
21647 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
21648 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
21649 if test "${ac_cv_lib_socket_socket+set}" = set; then
21650 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 ac_check_lib_save_LIBS
=$LIBS
21653 LIBS
="-lsocket $LIBS"
21654 cat >conftest.
$ac_ext <<_ACEOF
21657 cat confdefs.h
>>conftest.
$ac_ext
21658 cat >>conftest.
$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21661 /* Override any GCC internal prototype to avoid an error.
21662 Use char because int might match the return type of a GCC
21663 builtin and then its argument prototype would still apply. */
21676 rm -f conftest.
$ac_objext conftest
$ac_exeext
21677 if { (ac_try
="$ac_link"
21678 case "(($ac_try" in
21679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21680 *) ac_try_echo=$ac_try;;
21682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21683 (eval "$ac_link") 2>conftest.er1
21685 grep -v '^ *+' conftest.er1 >conftest.err
21687 cat conftest.err >&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } &&
21690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21691 { (case "(($ac_try" in
21692 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21693 *) ac_try_echo
=$ac_try;;
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_try") 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; } &&
21700 { ac_try
='test -s conftest$ac_exeext'
21701 { (case "(($ac_try" in
21702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21703 *) ac_try_echo=$ac_try;;
21705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21706 (eval "$ac_try") 2>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; }; then
21710 ac_cv_lib_socket_socket=yes
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21715 ac_cv_lib_socket_socket=no
21718 rm -f core conftest.err conftest.$ac_objext \
21719 conftest$ac_exeext conftest.$ac_ext
21720 LIBS=$ac_check_lib_save_LIBS
21722 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
21723 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
21724 if test $ac_cv_lib_socket_socket = yes; then
21729 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21730 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
21731 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21734 ac_check_lib_save_LIBS=$LIBS
21736 cat >conftest.$ac_ext <<_ACEOF
21739 cat confdefs.h >>conftest.$ac_ext
21740 cat >>conftest.$ac_ext <<_ACEOF
21741 /* end confdefs.h. */
21743 /* Override any GCC internal prototype to avoid an error.
21744 Use char because int might match the return type of a GCC
21745 builtin and then its argument prototype would still apply. */
21749 char gethostbyname ();
21753 return gethostbyname ();
21758 rm -f conftest.$ac_objext conftest$ac_exeext
21759 if { (ac_try="$ac_link"
21760 case "(($ac_try" in
21761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21762 *) ac_try_echo
=$ac_try;;
21764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21765 (eval "$ac_link") 2>conftest.er1
21767 grep -v '^ *+' conftest.er1
>conftest.err
21769 cat conftest.err
>&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); } &&
21772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21773 { (case "(($ac_try" in
21774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21775 *) ac_try_echo=$ac_try;;
21777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21778 (eval "$ac_try") 2>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; } &&
21782 { ac_try='test -s conftest$ac_exeext'
21783 { (case "(($ac_try" in
21784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21785 *) ac_try_echo
=$ac_try;;
21787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21788 (eval "$ac_try") 2>&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; }; then
21792 ac_cv_lib_nsl_gethostbyname
=yes
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.
$ac_ext >&5
21797 ac_cv_lib_nsl_gethostbyname
=no
21800 rm -f core conftest.err conftest.
$ac_objext \
21801 conftest
$ac_exeext conftest.
$ac_ext
21802 LIBS
=$ac_check_lib_save_LIBS
21804 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21805 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
21806 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21813 LTLIBOBJS
=`echo "$LIBOBJS" |
21814 sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,'`
21818 # Check whether --with-werror was given.
21819 if test "${with_werror+set}" = set; then
21820 withval
=$with_werror; CFLAGS
="$CFLAGS -Werror"
21824 ac_config_files
="$ac_config_files Makefile src/Makefile doc/Makefile doc/Doxyfile"
21826 cat >confcache
<<\_ACEOF
21827 # This file is a shell script that caches the results of configure
21828 # tests run on this system so they can be shared between configure
21829 # scripts and configure runs, see configure's option --config-cache.
21830 # It is not useful on other systems. If it contains results you don't
21831 # want to keep, you may remove or edit it.
21833 # config.status only pays attention to the cache file if you give it
21834 # the --recheck option to rerun configure.
21836 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21837 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21838 # following values.
21842 # The following way of writing the cache mishandles newlines in values,
21843 # but we know of no workaround that is simple, portable, and efficient.
21844 # So, we kill variables containing newlines.
21845 # Ultrix sh set writes to stderr and can't be redirected directly,
21846 # and sets the high bit in the cache file unless we assign to the vars.
21848 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21849 eval ac_val
=\$
$ac_var
21853 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21854 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21857 _
| IFS
| as_nl
) ;; #(
21858 *) $as_unset $ac_var ;;
21864 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21865 *${as_nl}ac_space
=\
*)
21866 # `set' does not quote correctly, so add quotes (double-quote
21867 # substitution turns \\\\ into \\, and sed turns \\ into \).
21870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21873 # `set' quotes correctly as required by POSIX, so do not add quotes.
21874 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21883 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21885 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21887 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21888 if test -w "$cache_file"; then
21889 test "x$cache_file" != "x/dev/null" &&
21890 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21891 echo "$as_me: updating cache $cache_file" >&6;}
21892 cat confcache
>$cache_file
21894 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21895 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21900 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21901 # Let make expand exec_prefix.
21902 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21904 DEFS
=-DHAVE_CONFIG_H
21908 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21909 # 1. Remove the extension, and $U if already installed.
21910 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21911 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21912 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21913 # will be set to the directory where LIBOBJS objects are built.
21914 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21915 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21917 LIBOBJS
=$ac_libobjs
21919 LTLIBOBJS
=$ac_ltlibobjs
21922 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21923 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21924 Usually this means the macro was only invoked conditionally." >&5
21925 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21926 Usually this means the macro was only invoked conditionally." >&2;}
21927 { (exit 1); exit 1; }; }
21929 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21930 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21931 Usually this means the macro was only invoked conditionally." >&5
21932 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21933 Usually this means the macro was only invoked conditionally." >&2;}
21934 { (exit 1); exit 1; }; }
21936 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21937 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21938 Usually this means the macro was only invoked conditionally." >&5
21939 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21940 Usually this means the macro was only invoked conditionally." >&2;}
21941 { (exit 1); exit 1; }; }
21943 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21944 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21945 Usually this means the macro was only invoked conditionally." >&5
21946 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21947 Usually this means the macro was only invoked conditionally." >&2;}
21948 { (exit 1); exit 1; }; }
21951 : ${CONFIG_STATUS=./config.status}
21952 ac_clean_files_save
=$ac_clean_files
21953 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21954 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21955 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21956 cat >$CONFIG_STATUS <<_ACEOF
21958 # Generated by $as_me.
21959 # Run this file to recreate the current configuration.
21960 # Compiler output produced by configure, useful for debugging
21961 # configure, is in config.log if it exists.
21964 ac_cs_recheck=false
21966 SHELL=\${CONFIG_SHELL-$SHELL}
21969 cat >>$CONFIG_STATUS <<\_ACEOF
21970 ## --------------------- ##
21971 ## M4sh Initialization. ##
21972 ## --------------------- ##
21974 # Be Bourne compatible
21975 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21978 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21979 # is contrary to our usage. Disable this feature.
21980 alias -g '${1+"$@"}'='"$@"'
21981 setopt NO_GLOB_SUBST
21983 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
21985 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
21986 DUALCASE
=1; export DUALCASE
# for MKS sh
21990 # Avoid depending upon Character Ranges.
21991 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21992 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21993 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21994 as_cr_digits
='0123456789'
21995 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21997 # The user is always right.
21998 if test "${PATH_SEPARATOR+set}" != set; then
21999 echo "#! /bin/sh" >conf$$.sh
22000 echo "exit 0" >>conf$$.sh
22002 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22010 # Support unset when possible.
22011 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
22019 # We need space, tab and new line, in precisely that order. Quoting is
22020 # there to prevent editors from complaining about space-tab.
22021 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22022 # splitting by setting IFS to empty value.)
22027 # Find who we are. Look in the path if we contain no directory separator.
22029 *[\\/]* ) as_myself
=$0 ;;
22030 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22031 for as_dir
in $PATH
22034 test -z "$as_dir" && as_dir
=.
22035 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22041 # We did not find ourselves, most probably we were run as `sh COMMAND'
22042 # in which case we are not to be found in the path.
22043 if test "x$as_myself" = x
; then
22046 if test ! -f "$as_myself"; then
22047 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22048 { (exit 1); exit 1; }
22051 # Work around bugs in pre-3.0 UWIN ksh.
22052 for as_var
in ENV MAIL MAILPATH
22053 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22061 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22062 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22063 LC_TELEPHONE LC_TIME
22065 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22066 eval $as_var=C
; export $as_var
22068 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22072 # Required to use basename.
22073 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22074 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22080 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22081 as_basename
=basename
22087 # Name of the executable.
22088 as_me
=`$as_basename -- "$0" ||
22089 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22090 X"$0" : 'X\(//\)$' \| \
22091 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22093 sed '/^.*\/\([^/][^/]*\)\/*$/{
22112 as_lineno_1
=$LINENO
22113 as_lineno_2
=$LINENO
22114 test "x$as_lineno_1" != "x$as_lineno_2" &&
22115 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22117 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22118 # uniformly replaced by the line number. The first 'sed' inserts a
22119 # line-number line after each line using $LINENO; the second 'sed'
22120 # does the real work. The second script uses 'N' to pair each
22121 # line-number line with the line containing $LINENO, and appends
22122 # trailing '-' during substitution so that $LINENO is not a special
22123 # case at line end.
22124 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22125 # scripts with optimization help from Paolo Bonzini. Blame Lee
22126 # E. McMahon (1931-1989) for sed's syntax. :-)
22138 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22141 ' >$as_me.lineno
&&
22142 chmod +x
"$as_me.lineno" ||
22143 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22144 { (exit 1); exit 1; }; }
22146 # Don't try to exec as it changes $[0], causing all sort of problems
22147 # (the dirname of $[0] is not the place where we might find the
22148 # original and so on. Autoconf is especially sensitive to this).
22149 .
"./$as_me.lineno"
22150 # Exit status is that of the last command.
22155 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22161 ECHO_C
= ECHO_N
= ECHO_T
=
22162 case `echo -n x` in
22164 case `echo 'x\c'` in
22165 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22172 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22173 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22179 rm -f conf$$ conf$$.exe conf$$.
file
22180 if test -d conf$$.dir
; then
22181 rm -f conf$$.dir
/conf$$.
file
22187 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22189 # ... but there are two gotchas:
22190 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22191 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22192 # In both cases, we have to default to `cp -p'.
22193 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22195 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22200 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22201 rmdir conf$$.dir
2>/dev
/null
22203 if mkdir -p .
2>/dev
/null
; then
22206 test -d .
/-p && rmdir .
/-p
22210 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
22211 # systems may use methods other than mode bits to determine executability.
22212 cat >conf$$.
file <<_ASEOF
22216 chmod +x conf$$.
file
22217 if test -x conf$$.
file >/dev
/null
2>&1; then
22218 as_executable_p
="test -x"
22224 # Sed expression to map a string onto a valid CPP name.
22225 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22227 # Sed expression to map a string onto a valid variable name.
22228 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22233 # Save the log message, to keep $[0] and so on meaningful, and to
22234 # report actual input values of CONFIG_FILES etc. instead of their
22235 # values after options handling.
22237 This file was extended by libopm $as_me 0.1, which was
22238 generated by GNU Autoconf 2.60. Invocation command line was
22240 CONFIG_FILES = $CONFIG_FILES
22241 CONFIG_HEADERS = $CONFIG_HEADERS
22242 CONFIG_LINKS = $CONFIG_LINKS
22243 CONFIG_COMMANDS = $CONFIG_COMMANDS
22246 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22251 cat >>$CONFIG_STATUS <<_ACEOF
22252 # Files that config.status was made for.
22253 config_files="$ac_config_files"
22254 config_headers="$ac_config_headers"
22255 config_commands="$ac_config_commands"
22259 cat >>$CONFIG_STATUS <<\_ACEOF
22261 \`$as_me' instantiates files from templates according to the
22262 current configuration.
22264 Usage: $0 [OPTIONS] [FILE]...
22266 -h, --help print this help, then exit
22267 -V, --version print version number, then exit
22268 -q, --quiet do not print progress messages
22269 -d, --debug don't remove temporary files
22270 --recheck update $as_me by reconfiguring in the same conditions
22271 --file=FILE[:TEMPLATE]
22272 instantiate the configuration file FILE
22273 --header=FILE[:TEMPLATE]
22274 instantiate the configuration header FILE
22276 Configuration files:
22279 Configuration headers:
22282 Configuration commands:
22285 Report bugs to <bug-autoconf@gnu.org>."
22288 cat >>$CONFIG_STATUS <<_ACEOF
22290 libopm config.status 0.1
22291 configured by $0, generated by GNU Autoconf 2.60,
22292 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22294 Copyright (C) 2006 Free Software Foundation, Inc.
22295 This config.status script is free software; the Free Software Foundation
22296 gives unlimited permission to copy, distribute and modify it."
22303 cat >>$CONFIG_STATUS <<\_ACEOF
22304 # If no file are specified by the user, then we need to provide default
22305 # value. By we need to know if files were specified by the user.
22311 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22312 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22323 # Handling of the options.
22324 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22326 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22327 echo "$ac_cs_version"; exit ;;
22328 --debug | --debu | --deb | --de | --d | -d )
22330 --file | --fil | --fi | --f )
22332 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22333 ac_need_defaults
=false
;;
22334 --header | --heade | --head | --hea )
22336 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22337 ac_need_defaults
=false
;;
22339 # Conflict between --help and --header
22340 { echo "$as_me: error: ambiguous option: $1
22341 Try \`$0 --help' for more information." >&2
22342 { (exit 1); exit 1; }; };;
22343 --help | --hel | -h )
22344 echo "$ac_cs_usage"; exit ;;
22345 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22346 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22349 # This is an error.
22350 -*) { echo "$as_me: error: unrecognized option: $1
22351 Try \`$0 --help' for more information." >&2
22352 { (exit 1); exit 1; }; } ;;
22354 *) ac_config_targets
="$ac_config_targets $1"
22355 ac_need_defaults
=false
;;
22361 ac_configure_extra_args
=
22363 if $ac_cs_silent; then
22365 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22369 cat >>$CONFIG_STATUS <<_ACEOF
22370 if \$ac_cs_recheck; then
22371 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22372 CONFIG_SHELL=$SHELL
22373 export CONFIG_SHELL
22374 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22378 cat >>$CONFIG_STATUS <<\_ACEOF
22382 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22383 ## Running $as_me. ##
22389 cat >>$CONFIG_STATUS <<_ACEOF
22393 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22397 cat >>$CONFIG_STATUS <<\_ACEOF
22399 # Handling of arguments.
22400 for ac_config_target
in $ac_config_targets
22402 case $ac_config_target in
22403 "src/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/setup.h" ;;
22404 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22405 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22406 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
22407 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
22408 "doc/Doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/Doxyfile" ;;
22410 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22411 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22412 { (exit 1); exit 1; }; };;
22417 # If the user did not use the arguments to specify the items to instantiate,
22418 # then the envvar interface is used. Set only those that are not.
22419 # We use the long form for the default assignment because of an extremely
22420 # bizarre bug on SunOS 4.1.3.
22421 if $ac_need_defaults; then
22422 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22423 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22424 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22427 # Have a temporary directory for convenience. Make it in the build tree
22428 # simply because there is no reason against having it here, and in addition,
22429 # creating and moving files from /tmp can sometimes cause problems.
22430 # Hook for its removal unless debugging.
22431 # Note that there is a small window in which the directory will not be cleaned:
22432 # after its creation but before its name has been assigned to `$tmp'.
22436 trap 'exit_status=$?
22437 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22439 trap '{ (exit 1); exit 1; }' 1 2 13 15
22441 # Create a (secure) tmp directory for tmp files.
22444 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22445 test -n "$tmp" && test -d "$tmp"
22448 tmp
=.
/conf$$
-$RANDOM
22449 (umask 077 && mkdir "$tmp")
22452 echo "$me: cannot create a temporary directory in ." >&2
22453 { (exit 1); exit 1; }
22457 # Set up the sed scripts for CONFIG_FILES section.
22460 # No need to generate the scripts if there are no CONFIG_FILES.
22461 # This happens for instance when ./config.status config.h
22462 if test -n "$CONFIG_FILES"; then
22469 for ac_last_try
in false false false false false
:; do
22470 cat >conf$
$subs.
sed <<_ACEOF
22471 SHELL!$SHELL$ac_delim
22472 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22473 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22474 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22475 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22476 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22477 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22478 exec_prefix!$exec_prefix$ac_delim
22479 prefix!$prefix$ac_delim
22480 program_transform_name!$program_transform_name$ac_delim
22481 bindir!$bindir$ac_delim
22482 sbindir!$sbindir$ac_delim
22483 libexecdir!$libexecdir$ac_delim
22484 datarootdir!$datarootdir$ac_delim
22485 datadir!$datadir$ac_delim
22486 sysconfdir!$sysconfdir$ac_delim
22487 sharedstatedir!$sharedstatedir$ac_delim
22488 localstatedir!$localstatedir$ac_delim
22489 includedir!$includedir$ac_delim
22490 oldincludedir!$oldincludedir$ac_delim
22491 docdir!$docdir$ac_delim
22492 infodir!$infodir$ac_delim
22493 htmldir!$htmldir$ac_delim
22494 dvidir!$dvidir$ac_delim
22495 pdfdir!$pdfdir$ac_delim
22496 psdir!$psdir$ac_delim
22497 libdir!$libdir$ac_delim
22498 localedir!$localedir$ac_delim
22499 mandir!$mandir$ac_delim
22500 DEFS!$DEFS$ac_delim
22501 ECHO_C!$ECHO_C$ac_delim
22502 ECHO_N!$ECHO_N$ac_delim
22503 ECHO_T!$ECHO_T$ac_delim
22504 LIBS!$LIBS$ac_delim
22505 build_alias!$build_alias$ac_delim
22506 host_alias!$host_alias$ac_delim
22507 target_alias!$target_alias$ac_delim
22508 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22509 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22510 INSTALL_DATA!$INSTALL_DATA$ac_delim
22511 CYGPATH_W!$CYGPATH_W$ac_delim
22512 PACKAGE!$PACKAGE$ac_delim
22513 VERSION!$VERSION$ac_delim
22514 ACLOCAL!$ACLOCAL$ac_delim
22515 AUTOCONF!$AUTOCONF$ac_delim
22516 AUTOMAKE!$AUTOMAKE$ac_delim
22517 AUTOHEADER!$AUTOHEADER$ac_delim
22518 MAKEINFO!$MAKEINFO$ac_delim
22519 install_sh!$install_sh$ac_delim
22520 STRIP!$STRIP$ac_delim
22521 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22522 mkdir_p!$mkdir_p$ac_delim
22524 SET_MAKE!$SET_MAKE$ac_delim
22525 am__leading_dot!$am__leading_dot$ac_delim
22526 AMTAR!$AMTAR$ac_delim
22527 am__tar!$am__tar$ac_delim
22528 am__untar!$am__untar$ac_delim
22529 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
22530 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
22531 MAINT!$MAINT$ac_delim
22532 DOX_DIR_HTML!$DOX_DIR_HTML$ac_delim
22533 DOX_DIR_LATEX!$DOX_DIR_LATEX$ac_delim
22534 DOX_DIR_MAN!$DOX_DIR_MAN$ac_delim
22536 CFLAGS!$CFLAGS$ac_delim
22537 LDFLAGS!$LDFLAGS$ac_delim
22538 CPPFLAGS!$CPPFLAGS$ac_delim
22539 ac_ct_CC!$ac_ct_CC$ac_delim
22540 EXEEXT!$EXEEXT$ac_delim
22541 OBJEXT!$OBJEXT$ac_delim
22542 DEPDIR!$DEPDIR$ac_delim
22543 am__include!$am__include$ac_delim
22544 am__quote!$am__quote$ac_delim
22545 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22546 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22547 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22548 CCDEPMODE!$CCDEPMODE$ac_delim
22549 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22550 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22551 build!$build$ac_delim
22552 build_cpu!$build_cpu$ac_delim
22553 build_vendor!$build_vendor$ac_delim
22554 build_os!$build_os$ac_delim
22555 host!$host$ac_delim
22556 host_cpu!$host_cpu$ac_delim
22557 host_vendor!$host_vendor$ac_delim
22558 host_os!$host_os$ac_delim
22559 GREP!$GREP$ac_delim
22560 EGREP!$EGREP$ac_delim
22561 LN_S!$LN_S$ac_delim
22562 ECHO!$ECHO$ac_delim
22564 RANLIB!$RANLIB$ac_delim
22567 CXXFLAGS!$CXXFLAGS$ac_delim
22570 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22572 elif $ac_last_try; then
22573 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22574 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22575 { (exit 1); exit 1; }; }
22577 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22581 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22582 if test -n "$ac_eof"; then
22583 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22584 ac_eof
=`expr $ac_eof + 1`
22587 cat >>$CONFIG_STATUS <<_ACEOF
22588 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22589 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22592 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22593 s/^/s,@/; s/!/@,|#_!!_#|/
22596 s/'"$ac_delim"'$/,g/; t
22598 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22599 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22600 rm -f conf$
$subs.
sed
22601 cat >>$CONFIG_STATUS <<_ACEOF
22607 for ac_last_try
in false false false false false
:; do
22608 cat >conf$
$subs.
sed <<_ACEOF
22609 ac_ct_CXX!$ac_ct_CXX$ac_delim
22610 CXXDEPMODE!$CXXDEPMODE$ac_delim
22611 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22612 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22613 CXXCPP!$CXXCPP$ac_delim
22615 FFLAGS!$FFLAGS$ac_delim
22616 ac_ct_F77!$ac_ct_F77$ac_delim
22617 LIBTOOL!$LIBTOOL$ac_delim
22618 LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
22619 ETR_SOCKET_LIBS!$ETR_SOCKET_LIBS$ac_delim
22620 LIBOBJS!$LIBOBJS$ac_delim
22621 LSOCKET!$LSOCKET$ac_delim
22622 LNSL!$LNSL$ac_delim
22623 LTLIBOBJS!$LTLIBOBJS$ac_delim
22626 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
22628 elif $ac_last_try; then
22629 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22630 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22631 { (exit 1); exit 1; }; }
22633 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22637 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22638 if test -n "$ac_eof"; then
22639 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22640 ac_eof
=`expr $ac_eof + 1`
22643 cat >>$CONFIG_STATUS <<_ACEOF
22644 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22648 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22649 s/^/s,@/; s/!/@,|#_!!_#|/
22652 s/'"$ac_delim"'$/,g/; t
22654 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22655 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22656 rm -f conf$
$subs.
sed
22657 cat >>$CONFIG_STATUS <<_ACEOF
22664 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22665 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22666 # trailing colons and then remove the whole line if VPATH becomes empty
22667 # (actually we leave an empty line to preserve line numbers).
22668 if test "x$srcdir" = x.
; then
22669 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22670 s/:*\$(srcdir):*/:/
22671 s/:*\${srcdir}:*/:/
22673 s/^\([^=]*=[ ]*\):*/\1/
22679 cat >>$CONFIG_STATUS <<\_ACEOF
22680 fi # test -n "$CONFIG_FILES"
22683 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22686 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22688 case $ac_mode$ac_tag in
22690 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22691 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22692 { (exit 1); exit 1; }; };;
22693 :[FH
]-) ac_tag
=-:-;;
22694 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22711 -) ac_f
="$tmp/stdin";;
22712 *) # Look for the file first in the build tree, then in the source tree
22713 # (if the path is not absolute). The absolute path cannot be DOS-style,
22714 # because $ac_f cannot contain `:'.
22718 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22720 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22721 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22722 { (exit 1); exit 1; }; };;
22724 ac_file_inputs
="$ac_file_inputs $ac_f"
22727 # Let's still pretend it is `configure' which instantiates (i.e., don't
22728 # use $as_me), people would be surprised to read:
22729 # /* config.h. Generated by config.status. */
22730 configure_input
="Generated from "`IFS=:
22731 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22732 if test x
"$ac_file" != x
-; then
22733 configure_input
="$ac_file. $configure_input"
22734 { echo "$as_me:$LINENO: creating $ac_file" >&5
22735 echo "$as_me: creating $ac_file" >&6;}
22739 *:-:* | *:-) cat >"$tmp/stdin";;
22744 ac_dir
=`$as_dirname -- "$ac_file" ||
22745 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22746 X"$ac_file" : 'X\(//\)[^/]' \| \
22747 X"$ac_file" : 'X\(//\)$' \| \
22748 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22754 /^X\(\/\/\)[^/].*/{
22769 -*) as_dir
=.
/$as_dir;;
22771 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22775 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22776 *) as_qdir
=$as_dir;;
22778 as_dirs
="'$as_qdir' $as_dirs"
22779 as_dir
=`$as_dirname -- "$as_dir" ||
22780 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22781 X"$as_dir" : 'X\(//\)[^/]' \| \
22782 X"$as_dir" : 'X\(//\)$' \| \
22783 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22789 /^X\(\/\/\)[^/].*/{
22802 test -d "$as_dir" && break
22804 test -z "$as_dirs" || eval "mkdir $as_dirs"
22805 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22806 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22807 { (exit 1); exit 1; }; }; }
22811 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22813 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22814 # A ".." for each directory in $ac_dir_suffix.
22815 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22816 case $ac_top_builddir_sub in
22817 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22818 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22821 ac_abs_top_builddir
=$ac_pwd
22822 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22823 # for backward compatibility:
22824 ac_top_builddir
=$ac_top_build_prefix
22827 .
) # We are building in place.
22829 ac_top_srcdir
=$ac_top_builddir_sub
22830 ac_abs_top_srcdir
=$ac_pwd ;;
22831 [\\/]* | ?
:[\\/]* ) # Absolute name.
22832 ac_srcdir
=$srcdir$ac_dir_suffix;
22833 ac_top_srcdir
=$srcdir
22834 ac_abs_top_srcdir
=$srcdir ;;
22835 *) # Relative name.
22836 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22837 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22838 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22840 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22850 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22851 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22855 cat >>$CONFIG_STATUS <<\_ACEOF
22856 # If the template does not know about datarootdir, expand it.
22857 # FIXME: This hack should be removed a few years after 2.60.
22858 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22860 case `sed -n '/datarootdir/ {
22869 ' $ac_file_inputs` in
22870 *datarootdir
*) ac_datarootdir_seen
=yes;;
22871 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22872 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22873 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22875 cat >>$CONFIG_STATUS <<_ACEOF
22876 ac_datarootdir_hack='
22877 s&@datadir@&$datadir&g
22878 s&@docdir@&$docdir&g
22879 s&@infodir@&$infodir&g
22880 s&@localedir@&$localedir&g
22881 s&@mandir@&$mandir&g
22882 s&\\\${datarootdir}&$datarootdir&g' ;;
22886 # Neutralize VPATH when `$srcdir' = `.'.
22887 # Shell code in configure.ac might set extrasub.
22888 # FIXME: do we really want to maintain this feature?
22889 cat >>$CONFIG_STATUS <<_ACEOF
22893 cat >>$CONFIG_STATUS <<\_ACEOF
22895 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22896 s
&@configure_input@
&$configure_input&;t t
22897 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22898 s
&@srcdir@
&$ac_srcdir&;t t
22899 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22900 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22901 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22902 s
&@builddir@
&$ac_builddir&;t t
22903 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22904 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22905 s
&@INSTALL@
&$ac_INSTALL&;t t
22906 $ac_datarootdir_hack
22907 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
22909 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22910 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22911 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22912 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22913 which seems to be undefined. Please make sure it is defined." >&5
22914 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22915 which seems to be undefined. Please make sure it is defined." >&2;}
22919 -) cat "$tmp/out"; rm -f "$tmp/out";;
22920 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22929 # Transform confdefs.h into a sed script `conftest.defines', that
22930 # substitutes the proper values into config.h.in to produce config.h.
22931 rm -f conftest.defines conftest.
tail
22932 # First, append a space to every undef/define line, to ease matching.
22933 echo 's/$/ /' >conftest.defines
22934 # Then, protect against being on the right side of a sed subst, or in
22935 # an unquoted here document, in config.status. If some macros were
22936 # called several times there might be several #defines for the same
22937 # symbol, which is useless. But do not sort them, since the last
22938 # AC_DEFINE must be honored.
22939 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22940 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22941 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22942 # PARAMS is the parameter list in the macro definition--in most cases, it's
22943 # just an empty string.
22944 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22945 ac_dB
='\\)[ (].*,\\1define\\2'
22953 s/^[ ]*#[ ]*define[ ][ ]*//
22958 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22959 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22960 ' >>conftest.defines
22962 # Remove the space that was appended to ease matching.
22963 # Then replace #undef with comments. This is necessary, for
22964 # example, in the case of _POSIX_SOURCE, which is predefined and required
22965 # on some systems where configure will not decide to define it.
22966 # (The regexp can be short, since the line contains either #define or #undef.)
22968 s,^[ #]*u.*,/* & */,' >>conftest.defines
22970 # Break up conftest.defines:
22971 ac_max_sed_lines
=50
22973 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22974 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22975 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22977 ac_in
='$ac_file_inputs'
22978 ac_out
='"$tmp/out1"'
22979 ac_nxt
='"$tmp/out2"'
22983 # Write a here document:
22984 cat >>$CONFIG_STATUS <<_ACEOF
22985 # First, check the format of the line:
22986 cat >"\$tmp/defines.sed" <<\\CEOF
22987 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22988 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22992 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22994 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22995 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22996 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22997 grep . conftest.
tail >/dev
/null
|| break
22998 rm -f conftest.defines
22999 mv conftest.
tail conftest.defines
23001 rm -f conftest.defines conftest.
tail
23003 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23004 cat >>$CONFIG_STATUS <<\_ACEOF
23005 if test x
"$ac_file" != x
-; then
23006 echo "/* $configure_input */" >"$tmp/config.h"
23007 cat "$ac_result" >>"$tmp/config.h"
23008 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23009 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23010 echo "$as_me: $ac_file is unchanged" >&6;}
23013 mv "$tmp/config.h" $ac_file
23016 echo "/* $configure_input */"
23020 # Compute $ac_file's index in $config_headers.
23022 for _am_header
in $config_headers :; do
23023 case $_am_header in
23024 $ac_file | $ac_file:* )
23027 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23030 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23031 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23032 X$ac_file : 'X\(//\)[^/]' \| \
23033 X$ac_file : 'X\(//\)$' \| \
23034 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23040 /^X\(\/\/\)[^/].*/{
23052 s/.*/./; q'`/stamp
-h$_am_stamp_count
23055 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23056 echo "$as_me: executing $ac_file commands" >&6;}
23061 case $ac_file$ac_mode in
23062 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
23063 # Strip MF so we end up with the name of the file.
23064 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23065 # Check whether this is an Automake generated Makefile or not.
23066 # We used to match only the files named `Makefile.in', but
23067 # some people rename them; so instead we look at the file content.
23068 # Grep'ing the first line is not enough: some people post-process
23069 # each Makefile.in and add a new line on top of each file to say so.
23070 # So let's grep whole file.
23071 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23072 dirpart
=`$as_dirname -- "$mf" ||
23073 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23074 X"$mf" : 'X\(//\)[^/]' \| \
23075 X"$mf" : 'X\(//\)$' \| \
23076 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23082 /^X\(\/\/\)[^/].*/{
23098 # Extract the definition of DEPDIR, am__include, and am__quote
23099 # from the Makefile without running `make'.
23100 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23101 test -z "$DEPDIR" && continue
23102 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23103 test -z "am__include" && continue
23104 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23105 # When using ansi2knr, U may be empty or an underscore; expand it
23106 U
=`sed -n 's/^U = //p' < "$mf"`
23107 # Find all dependency output files, they are included files with
23108 # $(DEPDIR) in their names. We invoke sed twice because it is the
23109 # simplest approach to changing $(DEPDIR) to its actual value in the
23111 for file in `sed -n "
23112 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23113 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23114 # Make sure the directory exists.
23115 test -f "$dirpart/$file" && continue
23116 fdir
=`$as_dirname -- "$file" ||
23117 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23118 X"$file" : 'X\(//\)[^/]' \| \
23119 X"$file" : 'X\(//\)$' \| \
23120 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23126 /^X\(\/\/\)[^/].*/{
23139 { as_dir
=$dirpart/$fdir
23141 -*) as_dir
=.
/$as_dir;;
23143 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23147 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23148 *) as_qdir
=$as_dir;;
23150 as_dirs
="'$as_qdir' $as_dirs"
23151 as_dir
=`$as_dirname -- "$as_dir" ||
23152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23153 X"$as_dir" : 'X\(//\)[^/]' \| \
23154 X"$as_dir" : 'X\(//\)$' \| \
23155 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23161 /^X\(\/\/\)[^/].*/{
23174 test -d "$as_dir" && break
23176 test -z "$as_dirs" || eval "mkdir $as_dirs"
23177 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23178 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23179 { (exit 1); exit 1; }; }; }
23180 # echo "creating $dirpart/$file"
23181 echo '# dummy' > "$dirpart/$file"
23190 { (exit 0); exit 0; }
23192 chmod +x
$CONFIG_STATUS
23193 ac_clean_files
=$ac_clean_files_save
23196 # configure is writing to config.log, and then calls config.status.
23197 # config.status does its own redirection, appending to config.log.
23198 # Unfortunately, on DOS this fails, as config.log is still kept open
23199 # by configure, so config.status won't be able to write to it; its
23200 # output is simply discarded. So we exec the FD to /dev/null,
23201 # effectively closing config.log, so it can be properly (re)opened and
23202 # appended to by config.status. When coming back to configure, we
23203 # need to make the FD available again.
23204 if test "$no_create" != yes; then
23206 ac_config_status_args
=
23207 test "$silent" = yes &&
23208 ac_config_status_args
="$ac_config_status_args --quiet"
23210 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23212 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23213 # would make configure fail if this is the last instruction.
23214 $ac_cs_success || { (exit 1); exit 1; }
23218 echo "##############################################################################"
23219 echo "Everything is now configured. To compile libopm now, just type make. It"
23220 echo "requires GNU Make, which may be installed as gmake on your system."
23222 echo "libopm will be installed in ${prefix}. To change this, run:"
23223 echo " ./configure --prefix=DIRECTORY"
23225 echo "##############################################################################"